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 |
|---|---|---|---|---|---|---|---|---|
[
74,
60,
64,
18
] | 68 | [
"74-60=14",
"64+18=82",
"82-14=68"
] | Current State: 68:[74, 60, 64, 18], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [64, 18, 14]
Generated Node #2: [64, 18, 14] from Operation: 74-60=14
Current State: 68:[64, 18, 14], Operations: ['74-60=14']
Exploring Operation: 64+18=82, Resulting Numbers: [14, 82]
Generated Node #3: [14, 82] from Operation: 64+18=82
Current State: 68:[14, 82], Operations: ['74-60=14', '64+18=82']
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[74, 60, 64, 18], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [64, 18, 14]
Generated Node #0,0: 68:[64, 18, 14] Operation: 74-60=14
Exploring Operation: 64-60=4, Resulting Numbers: [74, 18, 4]
Generated Node #0,1: 68:[74, 18, 4] Operation: 64-60=4
Exploring Operation: 74-64=10, Resulting Numbers: [60, 18, 10]
Generated Node #0,2: 68:[60, 18, 10] Operation: 74-64=10
Moving to Node #0,1
Current State: 68:[74, 18, 4], Operations: ['64-60=4']
Exploring Operation: 18*4=72, Resulting Numbers: [74, 72]
Generated Node #0,1,0: 68:[74, 72] Operation: 18*4=72
Exploring Operation: 74-4=70, Resulting Numbers: [18, 70]
Generated Node #0,1,1: 68:[18, 70] Operation: 74-4=70
Exploring Operation: 18-4=14, Resulting Numbers: [74, 14]
Generated Node #0,1,2: 68:[74, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[18, 70], Operations: ['64-60=4', '74-4=70']
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,68 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 18*70=1260, Resulting Numbers: [1260]
1260,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[74, 14], Operations: ['64-60=4', '18-4=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,68 unequal: No Solution
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,68 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[74, 72], Operations: ['64-60=4', '18*4=72']
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,68 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 68:[64, 18, 14], Operations: ['74-60=14']
Exploring Operation: 64+14=78, Resulting Numbers: [18, 78]
Generated Node #0,0,0: 68:[18, 78] Operation: 64+14=78
Exploring Operation: 18-14=4, Resulting Numbers: [64, 4]
Generated Node #0,0,1: 68:[64, 4] Operation: 18-14=4
Exploring Operation: 18+14=32, Resulting Numbers: [64, 32]
Generated Node #0,0,2: 68:[64, 32] Operation: 18+14=32
Moving to Node #0,2
Current State: 68:[60, 18, 10], Operations: ['74-64=10']
Exploring Operation: 60+10=70, Resulting Numbers: [18, 70]
Generated Node #0,2,0: 68:[18, 70] Operation: 60+10=70
Exploring Operation: 60/10=6, Resulting Numbers: [18, 6]
Generated Node #0,2,1: 68:[18, 6] Operation: 60/10=6
Exploring Operation: 18-10=8, Resulting Numbers: [60, 8]
Generated Node #0,2,2: 68:[60, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[18, 70], Operations: ['74-64=10', '60+10=70']
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 18*70=1260, Resulting Numbers: [1260]
1260,68 unequal: No Solution
Exploring Operation: 18+70=88, Resulting Numbers: [88]
88,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[18, 6], Operations: ['74-64=10', '60/10=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[60, 8], Operations: ['74-64=10', '18-10=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[74, 60, 64, 18], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [60, 18, 10]
Generated Node #0,2: 68:[60, 18, 10] Operation: 74-64=10
Moving to Node #0,2
Current State: 68:[60, 18, 10], Operations: ['74-64=10']
Exploring Operation: 18-10=8, Resulting Numbers: [60, 8]
Generated Node #0,2,2: 68:[60, 8] Operation: 18-10=8
Moving to Node #0,2,2
Current State: 68:[60, 8], Operations: ['74-64=10', '18-10=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_3 | sum_heuristic |
[
54,
53,
11,
17
] | 80 | [
"54+53=107",
"11*17=187",
"187-107=80"
] | Current State: 80:[54, 53, 11, 17], Operations: []
Exploring Operation: 54+53=107, Resulting Numbers: [11, 17, 107]
Generated Node #2: [11, 17, 107] from Operation: 54+53=107
Current State: 80:[11, 17, 107], Operations: ['54+53=107']
Exploring Operation: 11*17=187, Resulting Numbers: [107, 187]
Generated Node #3: [107, 187] from Operation: 11*17=187
Current State: 80:[107, 187], Operations: ['54+53=107', '11*17=187']
Exploring Operation: 187-107=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[54, 53, 11, 17], Operations: []
Exploring Operation: 54-17=37, Resulting Numbers: [53, 11, 37]
Generated Node #0,0: 80:[53, 11, 37] Operation: 54-17=37
Exploring Operation: 54-11=43, Resulting Numbers: [53, 17, 43]
Generated Node #0,1: 80:[53, 17, 43] Operation: 54-11=43
Exploring Operation: 54-53=1, Resulting Numbers: [11, 17, 1]
Generated Node #0,2: 80:[11, 17, 1] Operation: 54-53=1
Moving to Node #0,2
Current State: 80:[11, 17, 1], Operations: ['54-53=1']
Exploring Operation: 17-1=16, Resulting Numbers: [11, 16]
Generated Node #0,2,0: 80:[11, 16] Operation: 17-1=16
Exploring Operation: 11-1=10, Resulting Numbers: [17, 10]
Generated Node #0,2,1: 80:[17, 10] Operation: 11-1=10
Exploring Operation: 17-11=6, Resulting Numbers: [1, 6]
Generated Node #0,2,2: 80:[1, 6] Operation: 17-11=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[11, 16], Operations: ['54-53=1', '17-1=16']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,80 unequal: No Solution
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[17, 10], Operations: ['54-53=1', '11-1=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,80 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[1, 6], Operations: ['54-53=1', '17-11=6']
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,80 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: 80:[53, 11, 37], Operations: ['54-17=37']
Exploring Operation: 53-11=42, Resulting Numbers: [37, 42]
Generated Node #0,0,0: 80:[37, 42] Operation: 53-11=42
Exploring Operation: 53+37=90, Resulting Numbers: [11, 90]
Generated Node #0,0,1: 80:[11, 90] Operation: 53+37=90
Exploring Operation: 53-37=16, Resulting Numbers: [11, 16]
Generated Node #0,0,2: 80:[11, 16] Operation: 53-37=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[11, 16], Operations: ['54-17=37', '53-37=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[37, 42], Operations: ['54-17=37', '53-11=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,80 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[11, 90], Operations: ['54-17=37', '53+37=90']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 80:[53, 17, 43], Operations: ['54-11=43']
Exploring Operation: 53-43=10, Resulting Numbers: [17, 10]
Generated Node #0,1,0: 80:[17, 10] Operation: 53-43=10
Exploring Operation: 53+17=70, Resulting Numbers: [43, 70]
Generated Node #0,1,1: 80:[43, 70] Operation: 53+17=70
Exploring Operation: 53-17=36, Resulting Numbers: [43, 36]
Generated Node #0,1,2: 80:[43, 36] Operation: 53-17=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[17, 10], Operations: ['54-11=43', '53-43=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,80 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[43, 36], Operations: ['54-11=43', '53-17=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,80 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[43, 70], Operations: ['54-11=43', '53+17=70']
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,80 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,80 unequal: No Solution
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
42,
72,
31,
30
] | 91 | [
"72-42=30",
"31+30=61",
"30+61=91"
] | Current State: 91:[42, 72, 31, 30], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [31, 30, 30]
Generated Node #2: [31, 30, 30] from Operation: 72-42=30
Current State: 91:[31, 30, 30], Operations: ['72-42=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,91 equal: Goal Reached
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[42, 72, 31, 30], Operations: []
Exploring Operation: 42-31=11, Resulting Numbers: [72, 30, 11]
Generated Node #0,0: 91:[72, 30, 11] Operation: 42-31=11
Exploring Operation: 42+31=73, Resulting Numbers: [72, 30, 73]
Generated Node #0,1: 91:[72, 30, 73] Operation: 42+31=73
Exploring Operation: 31-30=1, Resulting Numbers: [42, 72, 1]
Generated Node #0,2: 91:[42, 72, 1] Operation: 31-30=1
Exploring Operation: 42-30=12, Resulting Numbers: [72, 31, 12]
Generated Node #0,3: 91:[72, 31, 12] Operation: 42-30=12
Exploring Operation: 72-42=30, Resulting Numbers: [31, 30, 30]
Generated Node #0,4: 91:[31, 30, 30] Operation: 72-42=30
Moving to Node #0,0
Current State: 91:[72, 30, 11], Operations: ['42-31=11']
Exploring Operation: 72+30=102, Resulting Numbers: [11, 102]
Generated Node #0,0,0: 91:[11, 102] Operation: 72+30=102
Exploring Operation: 72-11=61, Resulting Numbers: [30, 61]
Generated Node #0,0,1: 91:[30, 61] Operation: 72-11=61
Exploring Operation: 30-11=19, Resulting Numbers: [72, 19]
Generated Node #0,0,2: 91:[72, 19] Operation: 30-11=19
Exploring Operation: 72-30=42, Resulting Numbers: [11, 42]
Generated Node #0,0,3: 91:[11, 42] Operation: 72-30=42
Exploring Operation: 72+11=83, Resulting Numbers: [30, 83]
Generated Node #0,0,4: 91:[30, 83] Operation: 72+11=83
Moving to Node #0,3
Current State: 91:[72, 31, 12], Operations: ['42-30=12']
Exploring Operation: 72+12=84, Resulting Numbers: [31, 84]
Generated Node #0,3,0: 91:[31, 84] Operation: 72+12=84
Exploring Operation: 72+31=103, Resulting Numbers: [12, 103]
Generated Node #0,3,1: 91:[12, 103] Operation: 72+31=103
Exploring Operation: 72/12=6, Resulting Numbers: [31, 6]
Generated Node #0,3,2: 91:[31, 6] Operation: 72/12=6
Exploring Operation: 72-31=41, Resulting Numbers: [12, 41]
Generated Node #0,3,3: 91:[12, 41] Operation: 72-31=41
Exploring Operation: 31-12=19, Resulting Numbers: [72, 19]
Generated Node #0,3,4: 91:[72, 19] Operation: 31-12=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[12, 103], Operations: ['42-30=12', '72+31=103']
Exploring Operation: 12*103=1236, Resulting Numbers: [1236]
1236,91 unequal: No Solution
Exploring Operation: 103-12=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[42, 72, 31, 30], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [72, 31, 12]
Generated Node #0,3: 91:[72, 31, 12] Operation: 42-30=12
Moving to Node #0,3
Current State: 91:[72, 31, 12], Operations: ['42-30=12']
Exploring Operation: 72+31=103, Resulting Numbers: [12, 103]
Generated Node #0,3,1: 91:[12, 103] Operation: 72+31=103
Moving to Node #0,3,1
Current State: 91:[12, 103], Operations: ['42-30=12', '72+31=103']
Exploring Operation: 103-12=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
27,
99,
15,
8
] | 79 | [
"99-27=72",
"15-8=7",
"72+7=79"
] | Current State: 79:[27, 99, 15, 8], Operations: []
Exploring Operation: 99-27=72, Resulting Numbers: [15, 8, 72]
Generated Node #2: [15, 8, 72] from Operation: 99-27=72
Current State: 79:[15, 8, 72], Operations: ['99-27=72']
Exploring Operation: 15-8=7, Resulting Numbers: [72, 7]
Generated Node #3: [72, 7] from Operation: 15-8=7
Current State: 79:[72, 7], Operations: ['99-27=72', '15-8=7']
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[27, 99, 15, 8], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [27, 8, 84]
Generated Node #0,0: 79:[27, 8, 84] Operation: 99-15=84
Exploring Operation: 27+8=35, Resulting Numbers: [99, 15, 35]
Generated Node #0,1: 79:[99, 15, 35] Operation: 27+8=35
Exploring Operation: 15*8=120, Resulting Numbers: [27, 99, 120]
Generated Node #0,2: 79:[27, 99, 120] Operation: 15*8=120
Exploring Operation: 27+15=42, Resulting Numbers: [99, 8, 42]
Generated Node #0,3: 79:[99, 8, 42] Operation: 27+15=42
Moving to Node #0,2
Current State: 79:[27, 99, 120], Operations: ['15*8=120']
Exploring Operation: 120-27=93, Resulting Numbers: [99, 93]
Generated Node #0,2,0: 79:[99, 93] Operation: 120-27=93
Exploring Operation: 27+120=147, Resulting Numbers: [99, 147]
Generated Node #0,2,1: 79:[99, 147] Operation: 27+120=147
Exploring Operation: 99-27=72, Resulting Numbers: [120, 72]
Generated Node #0,2,2: 79:[120, 72] Operation: 99-27=72
Exploring Operation: 27+99=126, Resulting Numbers: [120, 126]
Generated Node #0,2,3: 79:[120, 126] Operation: 27+99=126
Moving to Node #0,1
Current State: 79:[99, 15, 35], Operations: ['27+8=35']
Exploring Operation: 99-15=84, Resulting Numbers: [35, 84]
Generated Node #0,1,0: 79:[35, 84] Operation: 99-15=84
Exploring Operation: 99+15=114, Resulting Numbers: [35, 114]
Generated Node #0,1,1: 79:[35, 114] Operation: 99+15=114
Exploring Operation: 99-35=64, Resulting Numbers: [15, 64]
Generated Node #0,1,2: 79:[15, 64] Operation: 99-35=64
Exploring Operation: 15+35=50, Resulting Numbers: [99, 50]
Generated Node #0,1,3: 79:[99, 50] Operation: 15+35=50
Moving to Node #0,0
Current State: 79:[27, 8, 84], Operations: ['99-15=84']
Exploring Operation: 27+8=35, Resulting Numbers: [84, 35]
Generated Node #0,0,0: 79:[84, 35] Operation: 27+8=35
Exploring Operation: 27-8=19, Resulting Numbers: [84, 19]
Generated Node #0,0,1: 79:[84, 19] Operation: 27-8=19
Exploring Operation: 8+84=92, Resulting Numbers: [27, 92]
Generated Node #0,0,2: 79:[27, 92] Operation: 8+84=92
Exploring Operation: 84-8=76, Resulting Numbers: [27, 76]
Generated Node #0,0,3: 79:[27, 76] Operation: 84-8=76
Moving to Node #0,3
Current State: 79:[99, 8, 42], Operations: ['27+15=42']
Exploring Operation: 8+42=50, Resulting Numbers: [99, 50]
Generated Node #0,3,0: 79:[99, 50] Operation: 8+42=50
Exploring Operation: 99-8=91, Resulting Numbers: [42, 91]
Generated Node #0,3,1: 79:[42, 91] Operation: 99-8=91
Exploring Operation: 99+8=107, Resulting Numbers: [42, 107]
Generated Node #0,3,2: 79:[42, 107] Operation: 99+8=107
Exploring Operation: 42-8=34, Resulting Numbers: [99, 34]
Generated Node #0,3,3: 79:[99, 34] Operation: 42-8=34
Moving to Node #0,2,0
Current State: 79:[99, 93], Operations: ['15*8=120', '120-27=93']
Exploring Operation: 99+93=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 99-93=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 99*93=9207, Resulting Numbers: [9207]
9207,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[120, 72], Operations: ['15*8=120', '99-27=72']
Exploring Operation: 120*72=8640, Resulting Numbers: [8640]
8640,79 unequal: No Solution
Exploring Operation: 120+72=192, Resulting Numbers: [192]
192,79 unequal: No Solution
Exploring Operation: 120-72=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[99, 50], Operations: ['27+8=35', '15+35=50']
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,79 unequal: No Solution
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[42, 91], Operations: ['27+15=42', '99-8=91']
Exploring Operation: 42*91=3822, Resulting Numbers: [3822]
3822,79 unequal: No Solution
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 42+91=133, Resulting Numbers: [133]
133,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[99, 50], Operations: ['27+15=42', '8+42=50']
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[35, 84], Operations: ['27+8=35', '99-15=84']
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,79 unequal: No Solution
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[84, 35], Operations: ['99-15=84', '27+8=35']
Exploring Operation: 84*35=2940, Resulting Numbers: [2940]
2940,79 unequal: No Solution
Exploring Operation: 84+35=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[27, 76], Operations: ['99-15=84', '84-8=76']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,79 unequal: No Solution
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[42, 107], Operations: ['27+15=42', '99+8=107']
Exploring Operation: 42*107=4494, Resulting Numbers: [4494]
4494,79 unequal: No Solution
Exploring Operation: 107-42=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 42+107=149, Resulting Numbers: [149]
149,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[27, 92], Operations: ['99-15=84', '8+84=92']
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[84, 19], Operations: ['99-15=84', '27-8=19']
Exploring Operation: 84*19=1596, Resulting Numbers: [1596]
1596,79 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[99, 34], Operations: ['27+15=42', '42-8=34']
Exploring Operation: 99*34=3366, Resulting Numbers: [3366]
3366,79 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 99+34=133, Resulting Numbers: [133]
133,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[35, 114], Operations: ['27+8=35', '99+15=114']
Exploring Operation: 114-35=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[27, 99, 15, 8], Operations: []
Exploring Operation: 27+8=35, Resulting Numbers: [99, 15, 35]
Generated Node #0,1: 79:[99, 15, 35] Operation: 27+8=35
Moving to Node #0,1
Current State: 79:[99, 15, 35], Operations: ['27+8=35']
Exploring Operation: 99+15=114, Resulting Numbers: [35, 114]
Generated Node #0,1,1: 79:[35, 114] Operation: 99+15=114
Moving to Node #0,1,1
Current State: 79:[35, 114], Operations: ['27+8=35', '99+15=114']
Exploring Operation: 114-35=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.947049 | hs_4 | mult_heuristic |
[
84,
40,
32,
21
] | 33 | [
"84-40=44",
"32-21=11",
"44-11=33"
] | Current State: 33:[84, 40, 32, 21], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [32, 21, 44]
Generated Node #2: [32, 21, 44] from Operation: 84-40=44
Current State: 33:[32, 21, 44], Operations: ['84-40=44']
Exploring Operation: 32-21=11, Resulting Numbers: [44, 11]
Generated Node #3: [44, 11] from Operation: 32-21=11
Current State: 33:[44, 11], Operations: ['84-40=44', '32-21=11']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[84, 40, 32, 21], Operations: []
Exploring Operation: 84-32=52, Resulting Numbers: [40, 21, 52]
Generated Node #0,0: 33:[40, 21, 52] Operation: 84-32=52
Exploring Operation: 84/21=4, Resulting Numbers: [40, 32, 4]
Generated Node #0,1: 33:[40, 32, 4] Operation: 84/21=4
Exploring Operation: 84-40=44, Resulting Numbers: [32, 21, 44]
Generated Node #0,2: 33:[32, 21, 44] Operation: 84-40=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[40, 32, 4], Operations: ['84/21=4']
Exploring Operation: 40-32=8, Resulting Numbers: [4, 8]
Generated Node #0,1,0: 33:[4, 8] Operation: 40-32=8
Exploring Operation: 40-4=36, Resulting Numbers: [32, 36]
Generated Node #0,1,1: 33:[32, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [32, 10]
Generated Node #0,1,2: 33:[32, 10] Operation: 40/4=10
Moving to Node #0,1,2
Current State: 33:[32, 10], Operations: ['84/21=4', '40/4=10']
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,33 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[4, 8], Operations: ['84/21=4', '40-32=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[32, 36], Operations: ['84/21=4', '40-4=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[32, 21, 44], Operations: ['84-40=44']
Exploring Operation: 44-32=12, Resulting Numbers: [21, 12]
Generated Node #0,2,0: 33:[21, 12] Operation: 44-32=12
Exploring Operation: 44-21=23, Resulting Numbers: [32, 23]
Generated Node #0,2,1: 33:[32, 23] Operation: 44-21=23
Exploring Operation: 32-21=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 33:[44, 11] Operation: 32-21=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[21, 12], Operations: ['84-40=44', '44-32=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[84, 40, 32, 21], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [32, 21, 44]
Generated Node #0,2: 33:[32, 21, 44] Operation: 84-40=44
Moving to Node #0,2
Current State: 33:[32, 21, 44], Operations: ['84-40=44']
Exploring Operation: 44-32=12, Resulting Numbers: [21, 12]
Generated Node #0,2,0: 33:[21, 12] Operation: 44-32=12
Moving to Node #0,2,0
Current State: 33:[21, 12], Operations: ['84-40=44', '44-32=12']
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
42,
75,
20,
49
] | 48 | [
"42+75=117",
"20+49=69",
"117-69=48"
] | Current State: 48:[42, 75, 20, 49], Operations: []
Exploring Operation: 42+75=117, Resulting Numbers: [20, 49, 117]
Generated Node #2: [20, 49, 117] from Operation: 42+75=117
Current State: 48:[20, 49, 117], Operations: ['42+75=117']
Exploring Operation: 20+49=69, Resulting Numbers: [117, 69]
Generated Node #3: [117, 69] from Operation: 20+49=69
Current State: 48:[117, 69], Operations: ['42+75=117', '20+49=69']
Exploring Operation: 117-69=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[42, 75, 20, 49], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [42, 20, 26]
Generated Node #0,0: 48:[42, 20, 26] Operation: 75-49=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[42, 20, 26], Operations: ['75-49=26']
Exploring Operation: 42-20=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 48:[26, 22] Operation: 42-20=22
Moving to Node #0,0,0
Current State: 48:[26, 22], Operations: ['75-49=26', '42-20=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[42, 75, 20, 49], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [42, 20, 26]
Generated Node #0,0: 48:[42, 20, 26] Operation: 75-49=26
Moving to Node #0,0
Current State: 48:[42, 20, 26], Operations: ['75-49=26']
Exploring Operation: 42-20=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 48:[26, 22] Operation: 42-20=22
Moving to Node #0,0,0
Current State: 48:[26, 22], Operations: ['75-49=26', '42-20=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
10,
55,
35,
51
] | 81 | [
"10+55=65",
"51-35=16",
"65+16=81"
] | Current State: 81:[10, 55, 35, 51], Operations: []
Exploring Operation: 10+55=65, Resulting Numbers: [35, 51, 65]
Generated Node #2: [35, 51, 65] from Operation: 10+55=65
Current State: 81:[35, 51, 65], Operations: ['10+55=65']
Exploring Operation: 51-35=16, Resulting Numbers: [65, 16]
Generated Node #3: [65, 16] from Operation: 51-35=16
Current State: 81:[65, 16], Operations: ['10+55=65', '51-35=16']
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[10, 55, 35, 51], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [10, 35, 4]
Generated Node #0,0: 81:[10, 35, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 81:[10, 35, 4], Operations: ['55-51=4']
Exploring Operation: 35-10=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 81:[4, 25] Operation: 35-10=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[4, 25], Operations: ['55-51=4', '35-10=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,81 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 |
[
55,
4,
41,
15
] | 25 | [
"55-4=51",
"41-15=26",
"51-26=25"
] | Current State: 25:[55, 4, 41, 15], Operations: []
Exploring Operation: 55-4=51, Resulting Numbers: [41, 15, 51]
Generated Node #2: [41, 15, 51] from Operation: 55-4=51
Current State: 25:[41, 15, 51], Operations: ['55-4=51']
Exploring Operation: 41-15=26, Resulting Numbers: [51, 26]
Generated Node #3: [51, 26] from Operation: 41-15=26
Current State: 25:[51, 26], Operations: ['55-4=51', '41-15=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[55, 4, 41, 15], Operations: []
Exploring Operation: 55-4=51, Resulting Numbers: [41, 15, 51]
Generated Node #0,0: 25:[41, 15, 51] Operation: 55-4=51
Exploring Operation: 55-41=14, Resulting Numbers: [4, 15, 14]
Generated Node #0,1: 25:[4, 15, 14] Operation: 55-41=14
Exploring Operation: 41-15=26, Resulting Numbers: [55, 4, 26]
Generated Node #0,2: 25:[55, 4, 26] Operation: 41-15=26
Exploring Operation: 55-15=40, Resulting Numbers: [4, 41, 40]
Generated Node #0,3: 25:[4, 41, 40] Operation: 55-15=40
Moving to Node #0,1
Current State: 25:[4, 15, 14], Operations: ['55-41=14']
Exploring Operation: 15+14=29, Resulting Numbers: [4, 29]
Generated Node #0,1,0: 25:[4, 29] Operation: 15+14=29
Exploring Operation: 15-14=1, Resulting Numbers: [4, 1]
Generated Node #0,1,1: 25:[4, 1] Operation: 15-14=1
Exploring Operation: 4+15=19, Resulting Numbers: [14, 19]
Generated Node #0,1,2: 25:[14, 19] Operation: 4+15=19
Exploring Operation: 15-4=11, Resulting Numbers: [14, 11]
Generated Node #0,1,3: 25:[14, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[4, 29], Operations: ['55-41=14', '15+14=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[55, 4, 41, 15], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [4, 15, 14]
Generated Node #0,1: 25:[4, 15, 14] Operation: 55-41=14
Moving to Node #0,1
Current State: 25:[4, 15, 14], Operations: ['55-41=14']
Exploring Operation: 15+14=29, Resulting Numbers: [4, 29]
Generated Node #0,1,0: 25:[4, 29] Operation: 15+14=29
Moving to Node #0,1,0
Current State: 25:[4, 29], Operations: ['55-41=14', '15+14=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
42,
21,
11,
2
] | 94 | [
"42*2=84",
"21-11=10",
"84+10=94"
] | Current State: 94:[42, 21, 11, 2], Operations: []
Exploring Operation: 42*2=84, Resulting Numbers: [21, 11, 84]
Generated Node #2: [21, 11, 84] from Operation: 42*2=84
Current State: 94:[21, 11, 84], Operations: ['42*2=84']
Exploring Operation: 21-11=10, Resulting Numbers: [84, 10]
Generated Node #3: [84, 10] from Operation: 21-11=10
Current State: 94:[84, 10], Operations: ['42*2=84', '21-11=10']
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[42, 21, 11, 2], Operations: []
Exploring Operation: 21*2=42, Resulting Numbers: [42, 11, 42]
Generated Node #0,0: 94:[42, 11, 42] Operation: 21*2=42
Exploring Operation: 21+11=32, Resulting Numbers: [42, 2, 32]
Generated Node #0,1: 94:[42, 2, 32] Operation: 21+11=32
Exploring Operation: 21-11=10, Resulting Numbers: [42, 2, 10]
Generated Node #0,2: 94:[42, 2, 10] Operation: 21-11=10
Exploring Operation: 42/21=2, Resulting Numbers: [11, 2, 2]
Generated Node #0,3: 94:[11, 2, 2] Operation: 42/21=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[11, 2, 2], Operations: ['42/21=2']
Exploring Operation: 11-2=9, Resulting Numbers: [2, 9]
Generated Node #0,3,0: 94:[2, 9] Operation: 11-2=9
Exploring Operation: 2/2=1, Resulting Numbers: [11, 1]
Generated Node #0,3,1: 94:[11, 1] Operation: 2/2=1
Exploring Operation: 11-2=9, Resulting Numbers: [2, 9]
Generated Node #0,3,2: 94:[2, 9] Operation: 11-2=9
Exploring Operation: 11+2=13, Resulting Numbers: [2, 13]
Generated Node #0,3,3: 94:[2, 13] Operation: 11+2=13
Moving to Node #0,3,0
Current State: 94:[2, 9], Operations: ['42/21=2', '11-2=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[2, 9], Operations: ['42/21=2', '11-2=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[11, 1], Operations: ['42/21=2', '2/2=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Moving to Node #0,3,3
Current State: 94:[2, 13], Operations: ['42/21=2', '11+2=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[42, 2, 10], Operations: ['21-11=10']
Exploring Operation: 10-2=8, Resulting Numbers: [42, 8]
Generated Node #0,2,0: 94:[42, 8] Operation: 10-2=8
Exploring Operation: 10/2=5, Resulting Numbers: [42, 5]
Generated Node #0,2,1: 94:[42, 5] Operation: 10/2=5
Exploring Operation: 42+10=52, Resulting Numbers: [2, 52]
Generated Node #0,2,2: 94:[2, 52] Operation: 42+10=52
Exploring Operation: 42+2=44, Resulting Numbers: [10, 44]
Generated Node #0,2,3: 94:[10, 44] Operation: 42+2=44
Moving to Node #0,2,2
Current State: 94:[2, 52], Operations: ['21-11=10', '42+10=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[42, 5], Operations: ['21-11=10', '10/2=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,94 unequal: No Solution
Exploring Operation: 42*5=210, Resulting Numbers: [210]
210,94 unequal: No Solution
Exploring Operation: 42+5=47, Resulting Numbers: [47]
47,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[10, 44], Operations: ['21-11=10', '42+2=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[42, 8], Operations: ['21-11=10', '10-2=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,94 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[42, 11, 42], Operations: ['21*2=42']
Exploring Operation: 42+11=53, Resulting Numbers: [42, 53]
Generated Node #0,0,0: 94:[42, 53] Operation: 42+11=53
Exploring Operation: 11+42=53, Resulting Numbers: [42, 53]
Generated Node #0,0,1: 94:[42, 53] Operation: 11+42=53
Exploring Operation: 42/42=1, Resulting Numbers: [11, 1]
Generated Node #0,0,2: 94:[11, 1] Operation: 42/42=1
Exploring Operation: 42-42=0, Resulting Numbers: [11, 0]
Generated Node #0,0,3: 94:[11, 0] Operation: 42-42=0
Moving to Node #0,0,2
Current State: 94:[11, 1], Operations: ['21*2=42', '42/42=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[42, 53], Operations: ['21*2=42', '11+42=53']
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[42, 53], Operations: ['21*2=42', '42+11=53']
Exploring Operation: 42*53=2226, Resulting Numbers: [2226]
2226,94 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 42+53=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Moving to Node #0,0,3
Current State: 94:[11, 0], Operations: ['21*2=42', '42-42=0']
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[42, 2, 32], Operations: ['21+11=32']
Exploring Operation: 2+32=34, Resulting Numbers: [42, 34]
Generated Node #0,1,0: 94:[42, 34] Operation: 2+32=34
Exploring Operation: 32/2=16, Resulting Numbers: [42, 16]
Generated Node #0,1,1: 94:[42, 16] Operation: 32/2=16
Exploring Operation: 42-32=10, Resulting Numbers: [2, 10]
Generated Node #0,1,2: 94:[2, 10] Operation: 42-32=10
Exploring Operation: 42+2=44, Resulting Numbers: [32, 44]
Generated Node #0,1,3: 94:[32, 44] Operation: 42+2=44
Moving to Node #0,1,2
Current State: 94:[2, 10], Operations: ['21+11=32', '42-32=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[32, 44], Operations: ['21+11=32', '42+2=44']
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,94 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[42, 34], Operations: ['21+11=32', '2+32=34']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,94 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[42, 16], Operations: ['21+11=32', '32/2=16']
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,94 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,94 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 |
[
6,
27,
22,
56
] | 69 | [
"27*56=1512",
"6+1512=1518",
"1518/22=69"
] | Current State: 69:[6, 27, 22, 56], Operations: []
Exploring Operation: 27*56=1512, Resulting Numbers: [6, 22, 1512]
Generated Node #2: [6, 22, 1512] from Operation: 27*56=1512
Current State: 69:[6, 22, 1512], Operations: ['27*56=1512']
Exploring Operation: 6+1512=1518, Resulting Numbers: [22, 1518]
Generated Node #3: [22, 1518] from Operation: 6+1512=1518
Current State: 69:[22, 1518], Operations: ['27*56=1512', '6+1512=1518']
Exploring Operation: 1518/22=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[6, 27, 22, 56], Operations: []
Exploring Operation: 27-6=21, Resulting Numbers: [22, 56, 21]
Generated Node #0,0: 69:[22, 56, 21] Operation: 27-6=21
Exploring Operation: 22+56=78, Resulting Numbers: [6, 27, 78]
Generated Node #0,1: 69:[6, 27, 78] Operation: 22+56=78
Exploring Operation: 56-27=29, Resulting Numbers: [6, 22, 29]
Generated Node #0,2: 69:[6, 22, 29] Operation: 56-27=29
Exploring Operation: 6+56=62, Resulting Numbers: [27, 22, 62]
Generated Node #0,3: 69:[27, 22, 62] Operation: 6+56=62
Moving to Node #0,2
Current State: 69:[6, 22, 29], Operations: ['56-27=29']
Exploring Operation: 29-22=7, Resulting Numbers: [6, 7]
Generated Node #0,2,0: 69:[6, 7] Operation: 29-22=7
Exploring Operation: 29-6=23, Resulting Numbers: [22, 23]
Generated Node #0,2,1: 69:[22, 23] Operation: 29-6=23
Exploring Operation: 22-6=16, Resulting Numbers: [29, 16]
Generated Node #0,2,2: 69:[29, 16] Operation: 22-6=16
Exploring Operation: 6+22=28, Resulting Numbers: [29, 28]
Generated Node #0,2,3: 69:[29, 28] Operation: 6+22=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[22, 23], Operations: ['56-27=29', '29-6=23']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,69 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,69 unequal: No Solution
No 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: 69:[6, 7], Operations: ['56-27=29', '29-22=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,69 unequal: No Solution
No 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: 69:[29, 28], Operations: ['56-27=29', '6+22=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,69 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,69 unequal: No Solution
No 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: 69:[29, 16], Operations: ['56-27=29', '22-6=16']
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,69 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,69 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: 69:[27, 22, 62], Operations: ['6+56=62']
Exploring Operation: 22+62=84, Resulting Numbers: [27, 84]
Generated Node #0,3,0: 69:[27, 84] Operation: 22+62=84
Exploring Operation: 27-22=5, Resulting Numbers: [62, 5]
Generated Node #0,3,1: 69:[62, 5] Operation: 27-22=5
Exploring Operation: 62-27=35, Resulting Numbers: [22, 35]
Generated Node #0,3,2: 69:[22, 35] Operation: 62-27=35
Exploring Operation: 27+62=89, Resulting Numbers: [22, 89]
Generated Node #0,3,3: 69:[22, 89] Operation: 27+62=89
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[62, 5], Operations: ['6+56=62', '27-22=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,69 unequal: No Solution
No 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: 69:[22, 35], Operations: ['6+56=62', '62-27=35']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,69 unequal: No Solution
No 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: 69:[27, 84], Operations: ['6+56=62', '22+62=84']
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,69 unequal: No Solution
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,69 unequal: No Solution
No 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: 69:[22, 89], Operations: ['6+56=62', '27+62=89']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,69 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,69 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: 69:[6, 27, 78], Operations: ['22+56=78']
Exploring Operation: 27-6=21, Resulting Numbers: [78, 21]
Generated Node #0,1,0: 69:[78, 21] Operation: 27-6=21
Exploring Operation: 6+27=33, Resulting Numbers: [78, 33]
Generated Node #0,1,1: 69:[78, 33] Operation: 6+27=33
Exploring Operation: 78/6=13, Resulting Numbers: [27, 13]
Generated Node #0,1,2: 69:[27, 13] Operation: 78/6=13
Exploring Operation: 78-6=72, Resulting Numbers: [27, 72]
Generated Node #0,1,3: 69:[27, 72] Operation: 78-6=72
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 69:[27, 72], Operations: ['22+56=78', '78-6=72']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 27*72=1944, Resulting Numbers: [1944]
1944,69 unequal: No Solution
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,69 unequal: No Solution
No 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: 69:[78, 21], Operations: ['22+56=78', '27-6=21']
Exploring Operation: 78+21=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 78*21=1638, Resulting Numbers: [1638]
1638,69 unequal: No Solution
No 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: 69:[27, 13], Operations: ['22+56=78', '78/6=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,69 unequal: No Solution
No 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: 69:[78, 33], Operations: ['22+56=78', '6+27=33']
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,69 unequal: No Solution
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,69 unequal: No Solution
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,69 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: 69:[22, 56, 21], Operations: ['27-6=21']
Exploring Operation: 56-21=35, Resulting Numbers: [22, 35]
Generated Node #0,0,0: 69:[22, 35] Operation: 56-21=35
Exploring Operation: 56-22=34, Resulting Numbers: [21, 34]
Generated Node #0,0,1: 69:[21, 34] Operation: 56-22=34
Exploring Operation: 56+21=77, Resulting Numbers: [22, 77]
Generated Node #0,0,2: 69:[22, 77] Operation: 56+21=77
Exploring Operation: 22+56=78, Resulting Numbers: [21, 78]
Generated Node #0,0,3: 69:[21, 78] Operation: 22+56=78
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[22, 77], Operations: ['27-6=21', '56+21=77']
Exploring Operation: 22+77=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 22*77=1694, Resulting Numbers: [1694]
1694,69 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,69 unequal: No Solution
No 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: 69:[21, 78], Operations: ['27-6=21', '22+56=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,69 unequal: No Solution
No 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: 69:[22, 35], Operations: ['27-6=21', '56-21=35']
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,69 unequal: No Solution
No 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: 69:[21, 34], Operations: ['27-6=21', '56-22=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
39,
37,
63,
9
] | 27 | [
"39-37=2",
"63-9=54",
"54/2=27"
] | Current State: 27:[39, 37, 63, 9], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [63, 9, 2]
Generated Node #2: [63, 9, 2] from Operation: 39-37=2
Current State: 27:[63, 9, 2], Operations: ['39-37=2']
Exploring Operation: 63-9=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 63-9=54
Current State: 27:[2, 54], Operations: ['39-37=2', '63-9=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[39, 37, 63, 9], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [39, 37, 7]
Generated Node #0,0: 27:[39, 37, 7] Operation: 63/9=7
Exploring Operation: 63-39=24, Resulting Numbers: [37, 9, 24]
Generated Node #0,1: 27:[37, 9, 24] Operation: 63-39=24
Exploring Operation: 63-37=26, Resulting Numbers: [39, 9, 26]
Generated Node #0,2: 27:[39, 9, 26] Operation: 63-37=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[37, 9, 24], Operations: ['63-39=24']
Exploring Operation: 9+24=33, Resulting Numbers: [37, 33]
Generated Node #0,1,0: 27:[37, 33] Operation: 9+24=33
Exploring Operation: 37-9=28, Resulting Numbers: [24, 28]
Generated Node #0,1,1: 27:[24, 28] Operation: 37-9=28
Exploring Operation: 37-24=13, Resulting Numbers: [9, 13]
Generated Node #0,1,2: 27:[9, 13] Operation: 37-24=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[24, 28], Operations: ['63-39=24', '37-9=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,27 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[9, 13], Operations: ['63-39=24', '37-24=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[37, 33], Operations: ['63-39=24', '9+24=33']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,27 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[39, 9, 26], Operations: ['63-37=26']
Exploring Operation: 39-9=30, Resulting Numbers: [26, 30]
Generated Node #0,2,0: 27:[26, 30] Operation: 39-9=30
Exploring Operation: 39-26=13, Resulting Numbers: [9, 13]
Generated Node #0,2,1: 27:[9, 13] Operation: 39-26=13
Exploring Operation: 9+26=35, Resulting Numbers: [39, 35]
Generated Node #0,2,2: 27:[39, 35] Operation: 9+26=35
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[26, 30], Operations: ['63-37=26', '39-9=30']
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,27 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[9, 13], Operations: ['63-37=26', '39-26=13']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,27 unequal: No Solution
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 27:[39, 35], Operations: ['63-37=26', '9+26=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,27 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[39, 37, 7], Operations: ['63/9=7']
Exploring Operation: 39-37=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 27:[7, 2] Operation: 39-37=2
Exploring Operation: 37-7=30, Resulting Numbers: [39, 30]
Generated Node #0,0,1: 27:[39, 30] Operation: 37-7=30
Exploring Operation: 39-7=32, Resulting Numbers: [37, 32]
Generated Node #0,0,2: 27:[37, 32] Operation: 39-7=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[7, 2], Operations: ['63/9=7', '39-37=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[39, 30], Operations: ['63/9=7', '37-7=30']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,27 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[37, 32], Operations: ['63/9=7', '39-7=32']
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,27 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
40,
59,
16
] | 92 | [
"57-40=17",
"59+16=75",
"17+75=92"
] | Current State: 92:[57, 40, 59, 16], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [59, 16, 17]
Generated Node #2: [59, 16, 17] from Operation: 57-40=17
Current State: 92:[59, 16, 17], Operations: ['57-40=17']
Exploring Operation: 59+16=75, Resulting Numbers: [17, 75]
Generated Node #3: [17, 75] from Operation: 59+16=75
Current State: 92:[17, 75], Operations: ['57-40=17', '59+16=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[57, 40, 59, 16], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [40, 16, 2]
Generated Node #0,0: 92:[40, 16, 2] Operation: 59-57=2
Exploring Operation: 59-16=43, Resulting Numbers: [57, 40, 43]
Generated Node #0,1: 92:[57, 40, 43] Operation: 59-16=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[40, 16, 2], Operations: ['59-57=2']
Exploring Operation: 40-16=24, Resulting Numbers: [2, 24]
Generated Node #0,0,0: 92:[2, 24] Operation: 40-16=24
Exploring Operation: 40+16=56, Resulting Numbers: [2, 56]
Generated Node #0,0,1: 92:[2, 56] Operation: 40+16=56
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[2, 24], Operations: ['59-57=2', '40-16=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[2, 56], Operations: ['59-57=2', '40+16=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[57, 40, 43], Operations: ['59-16=43']
Exploring Operation: 57-40=17, Resulting Numbers: [43, 17]
Generated Node #0,1,0: 92:[43, 17] Operation: 57-40=17
Exploring Operation: 57+40=97, Resulting Numbers: [43, 97]
Generated Node #0,1,1: 92:[43, 97] Operation: 57+40=97
Moving to Node #0,1,1
Current State: 92:[43, 97], Operations: ['59-16=43', '57+40=97']
Exploring Operation: 43+97=140, Resulting Numbers: [140]
140,92 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[43, 17], Operations: ['59-16=43', '57-40=17']
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
61,
55,
84
] | 99 | [
"9+61=70",
"84-55=29",
"70+29=99"
] | Current State: 99:[9, 61, 55, 84], Operations: []
Exploring Operation: 9+61=70, Resulting Numbers: [55, 84, 70]
Generated Node #2: [55, 84, 70] from Operation: 9+61=70
Current State: 99:[55, 84, 70], Operations: ['9+61=70']
Exploring Operation: 84-55=29, Resulting Numbers: [70, 29]
Generated Node #3: [70, 29] from Operation: 84-55=29
Current State: 99:[70, 29], Operations: ['9+61=70', '84-55=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[9, 61, 55, 84], Operations: []
Exploring Operation: 61-55=6, Resulting Numbers: [9, 84, 6]
Generated Node #0,0: 99:[9, 84, 6] Operation: 61-55=6
Moving to Node #0,0
Current State: 99:[9, 84, 6], Operations: ['61-55=6']
Exploring Operation: 84/6=14, Resulting Numbers: [9, 14]
Generated Node #0,0,0: 99:[9, 14] Operation: 84/6=14
Moving to Node #0,0,0
Current State: 99:[9, 14], Operations: ['61-55=6', '84/6=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,99 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
69,
68,
31
] | 71 | [
"68-31=37",
"74/37=2",
"69+2=71"
] | Current State: 71:[74, 69, 68, 31], Operations: []
Exploring Operation: 68-31=37, Resulting Numbers: [74, 69, 37]
Generated Node #2: [74, 69, 37] from Operation: 68-31=37
Current State: 71:[74, 69, 37], Operations: ['68-31=37']
Exploring Operation: 74/37=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 74/37=2
Current State: 71:[69, 2], Operations: ['68-31=37', '74/37=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[74, 69, 68, 31], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [69, 68, 43]
Generated Node #0,0: 71:[69, 68, 43] Operation: 74-31=43
Exploring Operation: 74+31=105, Resulting Numbers: [69, 68, 105]
Generated Node #0,1: 71:[69, 68, 105] Operation: 74+31=105
Exploring Operation: 68+31=99, Resulting Numbers: [74, 69, 99]
Generated Node #0,2: 71:[74, 69, 99] Operation: 68+31=99
Exploring Operation: 69+31=100, Resulting Numbers: [74, 68, 100]
Generated Node #0,3: 71:[74, 68, 100] Operation: 69+31=100
Moving to Node #0,0
Current State: 71:[69, 68, 43], Operations: ['74-31=43']
Exploring Operation: 68+43=111, Resulting Numbers: [69, 111]
Generated Node #0,0,0: 71:[69, 111] Operation: 68+43=111
Exploring Operation: 69+43=112, Resulting Numbers: [68, 112]
Generated Node #0,0,1: 71:[68, 112] Operation: 69+43=112
Exploring Operation: 69-43=26, Resulting Numbers: [68, 26]
Generated Node #0,0,2: 71:[68, 26] Operation: 69-43=26
Exploring Operation: 68-43=25, Resulting Numbers: [69, 25]
Generated Node #0,0,3: 71:[69, 25] Operation: 68-43=25
Moving to Node #0,2
Current State: 71:[74, 69, 99], Operations: ['68+31=99']
Exploring Operation: 74-69=5, Resulting Numbers: [99, 5]
Generated Node #0,2,0: 71:[99, 5] Operation: 74-69=5
Exploring Operation: 99-74=25, Resulting Numbers: [69, 25]
Generated Node #0,2,1: 71:[69, 25] Operation: 99-74=25
Exploring Operation: 74+69=143, Resulting Numbers: [99, 143]
Generated Node #0,2,2: 71:[99, 143] Operation: 74+69=143
Exploring Operation: 99-69=30, Resulting Numbers: [74, 30]
Generated Node #0,2,3: 71:[74, 30] Operation: 99-69=30
Moving to Node #0,3
Current State: 71:[74, 68, 100], Operations: ['69+31=100']
Exploring Operation: 100-68=32, Resulting Numbers: [74, 32]
Generated Node #0,3,0: 71:[74, 32] Operation: 100-68=32
Exploring Operation: 74-68=6, Resulting Numbers: [100, 6]
Generated Node #0,3,1: 71:[100, 6] Operation: 74-68=6
Exploring Operation: 74+68=142, Resulting Numbers: [100, 142]
Generated Node #0,3,2: 71:[100, 142] Operation: 74+68=142
Exploring Operation: 100-74=26, Resulting Numbers: [68, 26]
Generated Node #0,3,3: 71:[68, 26] Operation: 100-74=26
Moving to Node #0,1
Current State: 71:[69, 68, 105], Operations: ['74+31=105']
Exploring Operation: 105-68=37, Resulting Numbers: [69, 37]
Generated Node #0,1,0: 71:[69, 37] Operation: 105-68=37
Exploring Operation: 69-68=1, Resulting Numbers: [105, 1]
Generated Node #0,1,1: 71:[105, 1] Operation: 69-68=1
Exploring Operation: 105-69=36, Resulting Numbers: [68, 36]
Generated Node #0,1,2: 71:[68, 36] Operation: 105-69=36
Exploring Operation: 69+68=137, Resulting Numbers: [105, 137]
Generated Node #0,1,3: 71:[105, 137] Operation: 69+68=137
Moving to Node #0,1,0
Current State: 71:[69, 37], Operations: ['74+31=105', '105-68=37']
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[68, 36], Operations: ['74+31=105', '105-69=36']
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,71 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[69, 111], Operations: ['74-31=43', '68+43=111']
Exploring Operation: 69*111=7659, Resulting Numbers: [7659]
7659,71 unequal: No Solution
Exploring Operation: 69+111=180, Resulting Numbers: [180]
180,71 unequal: No Solution
Exploring Operation: 111-69=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[74, 32], Operations: ['69+31=100', '100-68=32']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,71 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[74, 30], Operations: ['68+31=99', '99-69=30']
Exploring Operation: 74+30=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 74*30=2220, Resulting Numbers: [2220]
2220,71 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[68, 112], Operations: ['74-31=43', '69+43=112']
Exploring Operation: 68+112=180, Resulting Numbers: [180]
180,71 unequal: No Solution
Exploring Operation: 68*112=7616, Resulting Numbers: [7616]
7616,71 unequal: No Solution
Exploring Operation: 112-68=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[68, 26], Operations: ['74-31=43', '69-43=26']
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,71 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[69, 25], Operations: ['68+31=99', '99-74=25']
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[68, 26], Operations: ['69+31=100', '100-74=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[69, 25], Operations: ['74-31=43', '68-43=25']
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,71 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[99, 5], Operations: ['68+31=99', '74-69=5']
Exploring Operation: 99*5=495, Resulting Numbers: [495]
495,71 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[100, 6], Operations: ['69+31=100', '74-68=6']
Exploring Operation: 100*6=600, Resulting Numbers: [600]
600,71 unequal: No Solution
Exploring Operation: 100-6=94, Resulting Numbers: [94]
94,71 unequal: No Solution
Exploring Operation: 100+6=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[100, 142], Operations: ['69+31=100', '74+68=142']
Exploring Operation: 100+142=242, Resulting Numbers: [242]
242,71 unequal: No Solution
Exploring Operation: 142-100=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 100*142=14200, Resulting Numbers: [14200]
14200,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[105, 137], Operations: ['74+31=105', '69+68=137']
Exploring Operation: 105+137=242, Resulting Numbers: [242]
242,71 unequal: No Solution
Exploring Operation: 105*137=14385, Resulting Numbers: [14385]
14385,71 unequal: No Solution
Exploring Operation: 137-105=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[99, 143], Operations: ['68+31=99', '74+69=143']
Exploring Operation: 143-99=44, Resulting Numbers: [44]
44,71 unequal: No Solution
Exploring Operation: 99*143=14157, Resulting Numbers: [14157]
14157,71 unequal: No Solution
Exploring Operation: 99+143=242, Resulting Numbers: [242]
242,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[105, 1], Operations: ['74+31=105', '69-68=1']
Exploring Operation: 105/1=105, Resulting Numbers: [105]
105,71 unequal: No Solution
Exploring Operation: 105-1=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 105+1=106, Resulting Numbers: [106]
106,71 unequal: No Solution
Exploring Operation: 105*1=105, Resulting Numbers: [105]
105,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
21,
43,
14
] | 23 | [
"71-43=28",
"28/14=2",
"21+2=23"
] | Current State: 23:[71, 21, 43, 14], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [21, 14, 28]
Generated Node #2: [21, 14, 28] from Operation: 71-43=28
Current State: 23:[21, 14, 28], Operations: ['71-43=28']
Exploring Operation: 28/14=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 28/14=2
Current State: 23:[21, 2], Operations: ['71-43=28', '28/14=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[71, 21, 43, 14], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [21, 43, 57]
Generated Node #0,0: 23:[21, 43, 57] Operation: 71-14=57
Exploring Operation: 71-43=28, Resulting Numbers: [21, 14, 28]
Generated Node #0,1: 23:[21, 14, 28] Operation: 71-43=28
Exploring Operation: 71-21=50, Resulting Numbers: [43, 14, 50]
Generated Node #0,2: 23:[43, 14, 50] Operation: 71-21=50
Moving to Node #0,1
Current State: 23:[21, 14, 28], Operations: ['71-43=28']
Exploring Operation: 21+14=35, Resulting Numbers: [28, 35]
Generated Node #0,1,0: 23:[28, 35] Operation: 21+14=35
Exploring Operation: 28-14=14, Resulting Numbers: [21, 14]
Generated Node #0,1,1: 23:[21, 14] Operation: 28-14=14
Exploring Operation: 21-14=7, Resulting Numbers: [28, 7]
Generated Node #0,1,2: 23:[28, 7] Operation: 21-14=7
Moving to Node #0,0
Current State: 23:[21, 43, 57], Operations: ['71-14=57']
Exploring Operation: 43-21=22, Resulting Numbers: [57, 22]
Generated Node #0,0,0: 23:[57, 22] Operation: 43-21=22
Exploring Operation: 57-43=14, Resulting Numbers: [21, 14]
Generated Node #0,0,1: 23:[21, 14] Operation: 57-43=14
Exploring Operation: 57-21=36, Resulting Numbers: [43, 36]
Generated Node #0,0,2: 23:[43, 36] Operation: 57-21=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[21, 14], Operations: ['71-14=57', '57-43=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[43, 36], Operations: ['71-14=57', '57-21=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[57, 22], Operations: ['71-14=57', '43-21=22']
Exploring Operation: 57+22=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 57*22=1254, Resulting Numbers: [1254]
1254,23 unequal: No Solution
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[43, 14, 50], Operations: ['71-21=50']
Exploring Operation: 50-14=36, Resulting Numbers: [43, 36]
Generated Node #0,2,0: 23:[43, 36] Operation: 50-14=36
Exploring Operation: 50-43=7, Resulting Numbers: [14, 7]
Generated Node #0,2,1: 23:[14, 7] Operation: 50-43=7
Exploring Operation: 43-14=29, Resulting Numbers: [50, 29]
Generated Node #0,2,2: 23:[50, 29] Operation: 43-14=29
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[14, 7], Operations: ['71-21=50', '50-43=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[43, 36], Operations: ['71-21=50', '50-14=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,23 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,23 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[50, 29], Operations: ['71-21=50', '43-14=29']
Exploring Operation: 50*29=1450, Resulting Numbers: [1450]
1450,23 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,23 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: 23:[21, 14], Operations: ['71-43=28', '28-14=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,23 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[28, 35], Operations: ['71-43=28', '21+14=35']
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,23 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[28, 7], Operations: ['71-43=28', '21-14=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
85,
9,
94
] | 53 | [
"85-35=50",
"9+94=103",
"103-50=53"
] | Current State: 53:[35, 85, 9, 94], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [9, 94, 50]
Generated Node #2: [9, 94, 50] from Operation: 85-35=50
Current State: 53:[9, 94, 50], Operations: ['85-35=50']
Exploring Operation: 9+94=103, Resulting Numbers: [50, 103]
Generated Node #3: [50, 103] from Operation: 9+94=103
Current State: 53:[50, 103], Operations: ['85-35=50', '9+94=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[35, 85, 9, 94], Operations: []
Exploring Operation: 35+9=44, Resulting Numbers: [85, 94, 44]
Generated Node #0,0: 53:[85, 94, 44] Operation: 35+9=44
Moving to Node #0,0
Current State: 53:[85, 94, 44], Operations: ['35+9=44']
Exploring Operation: 94-44=50, Resulting Numbers: [85, 50]
Generated Node #0,0,0: 53:[85, 50] Operation: 94-44=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[85, 50], Operations: ['35+9=44', '94-44=50']
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
32,
56,
12
] | 17 | [
"19+32=51",
"56+12=68",
"68-51=17"
] | Current State: 17:[19, 32, 56, 12], Operations: []
Exploring Operation: 19+32=51, Resulting Numbers: [56, 12, 51]
Generated Node #2: [56, 12, 51] from Operation: 19+32=51
Current State: 17:[56, 12, 51], Operations: ['19+32=51']
Exploring Operation: 56+12=68, Resulting Numbers: [51, 68]
Generated Node #3: [51, 68] from Operation: 56+12=68
Current State: 17:[51, 68], Operations: ['19+32=51', '56+12=68']
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[19, 32, 56, 12], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [19, 12, 24]
Generated Node #0,0: 17:[19, 12, 24] Operation: 56-32=24
Moving to Node #0,0
Current State: 17:[19, 12, 24], Operations: ['56-32=24']
Exploring Operation: 24-12=12, Resulting Numbers: [19, 12]
Generated Node #0,0,0: 17:[19, 12] Operation: 24-12=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[19, 12], Operations: ['56-32=24', '24-12=12']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
65,
93,
5
] | 64 | [
"98-93=5",
"5/5=1",
"65-1=64"
] | Current State: 64:[98, 65, 93, 5], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [65, 5, 5]
Generated Node #2: [65, 5, 5] from Operation: 98-93=5
Current State: 64:[65, 5, 5], Operations: ['98-93=5']
Exploring Operation: 5/5=1, Resulting Numbers: [65, 1]
Generated Node #3: [65, 1] from Operation: 5/5=1
Current State: 64:[65, 1], Operations: ['98-93=5', '5/5=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[98, 65, 93, 5], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [65, 93, 93]
Generated Node #0,0: 64:[65, 93, 93] Operation: 98-5=93
Exploring Operation: 93-65=28, Resulting Numbers: [98, 5, 28]
Generated Node #0,1: 64:[98, 5, 28] Operation: 93-65=28
Exploring Operation: 98-65=33, Resulting Numbers: [93, 5, 33]
Generated Node #0,2: 64:[93, 5, 33] Operation: 98-65=33
Exploring Operation: 98-93=5, Resulting Numbers: [65, 5, 5]
Generated Node #0,3: 64:[65, 5, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[65, 5, 5], Operations: ['98-93=5']
Exploring Operation: 65/5=13, Resulting Numbers: [5, 13]
Generated Node #0,3,0: 64:[5, 13] Operation: 65/5=13
Exploring Operation: 5-5=0, Resulting Numbers: [65, 0]
Generated Node #0,3,1: 64:[65, 0] Operation: 5-5=0
Exploring Operation: 5+5=10, Resulting Numbers: [65, 10]
Generated Node #0,3,2: 64:[65, 10] Operation: 5+5=10
Exploring Operation: 5/5=1, Resulting Numbers: [65, 1]
Generated Node #0,3,3: 64:[65, 1] Operation: 5/5=1
Moving to Node #0,3,3
Current State: 64:[65, 1], Operations: ['98-93=5', '5/5=1']
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[98, 65, 93, 5], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [65, 5, 5]
Generated Node #0,3: 64:[65, 5, 5] Operation: 98-93=5
Moving to Node #0,3
Current State: 64:[65, 5, 5], Operations: ['98-93=5']
Exploring Operation: 5/5=1, Resulting Numbers: [65, 1]
Generated Node #0,3,3: 64:[65, 1] Operation: 5/5=1
Moving to Node #0,3,3
Current State: 64:[65, 1], Operations: ['98-93=5', '5/5=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
53,
30,
91,
43
] | 94 | [
"53-43=10",
"30/10=3",
"91+3=94"
] | Current State: 94:[53, 30, 91, 43], Operations: []
Exploring Operation: 53-43=10, Resulting Numbers: [30, 91, 10]
Generated Node #2: [30, 91, 10] from Operation: 53-43=10
Current State: 94:[30, 91, 10], Operations: ['53-43=10']
Exploring Operation: 30/10=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 30/10=3
Current State: 94:[91, 3], Operations: ['53-43=10', '30/10=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[53, 30, 91, 43], Operations: []
Exploring Operation: 53+30=83, Resulting Numbers: [91, 43, 83]
Generated Node #0,0: 94:[91, 43, 83] Operation: 53+30=83
Exploring Operation: 43-30=13, Resulting Numbers: [53, 91, 13]
Generated Node #0,1: 94:[53, 91, 13] Operation: 43-30=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[91, 43, 83], Operations: ['53+30=83']
Exploring Operation: 83-43=40, Resulting Numbers: [91, 40]
Generated Node #0,0,0: 94:[91, 40] Operation: 83-43=40
Exploring Operation: 91-83=8, Resulting Numbers: [43, 8]
Generated Node #0,0,1: 94:[43, 8] Operation: 91-83=8
Moving to Node #0,0,0
Current State: 94:[91, 40], Operations: ['53+30=83', '83-43=40']
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[43, 8], Operations: ['53+30=83', '91-83=8']
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[53, 91, 13], Operations: ['43-30=13']
Exploring Operation: 53-13=40, Resulting Numbers: [91, 40]
Generated Node #0,1,0: 94:[91, 40] Operation: 53-13=40
Exploring Operation: 91/13=7, Resulting Numbers: [53, 7]
Generated Node #0,1,1: 94:[53, 7] Operation: 91/13=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[91, 40], Operations: ['43-30=13', '53-13=40']
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,94 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[53, 7], Operations: ['43-30=13', '91/13=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
62,
40,
95
] | 97 | [
"62-20=42",
"95-40=55",
"42+55=97"
] | Current State: 97:[20, 62, 40, 95], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [40, 95, 42]
Generated Node #2: [40, 95, 42] from Operation: 62-20=42
Current State: 97:[40, 95, 42], Operations: ['62-20=42']
Exploring Operation: 95-40=55, Resulting Numbers: [42, 55]
Generated Node #3: [42, 55] from Operation: 95-40=55
Current State: 97:[42, 55], Operations: ['62-20=42', '95-40=55']
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[20, 62, 40, 95], Operations: []
Exploring Operation: 20+40=60, Resulting Numbers: [62, 95, 60]
Generated Node #0,0: 97:[62, 95, 60] Operation: 20+40=60
Exploring Operation: 20+62=82, Resulting Numbers: [40, 95, 82]
Generated Node #0,1: 97:[40, 95, 82] Operation: 20+62=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[62, 95, 60], Operations: ['20+40=60']
Exploring Operation: 95+60=155, Resulting Numbers: [62, 155]
Generated Node #0,0,0: 97:[62, 155] Operation: 95+60=155
Exploring Operation: 62+60=122, Resulting Numbers: [95, 122]
Generated Node #0,0,1: 97:[95, 122] Operation: 62+60=122
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[95, 122], Operations: ['20+40=60', '62+60=122']
Exploring Operation: 95+122=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 122-95=27, Resulting Numbers: [27]
27,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[62, 155], Operations: ['20+40=60', '95+60=155']
Exploring Operation: 62+155=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 155-62=93, Resulting Numbers: [93]
93,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[40, 95, 82], Operations: ['20+62=82']
Exploring Operation: 40+95=135, Resulting Numbers: [82, 135]
Generated Node #0,1,0: 97:[82, 135] Operation: 40+95=135
Exploring Operation: 40+82=122, Resulting Numbers: [95, 122]
Generated Node #0,1,1: 97:[95, 122] Operation: 40+82=122
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[95, 122], Operations: ['20+62=82', '40+82=122']
Exploring Operation: 122-95=27, Resulting Numbers: [27]
27,97 unequal: No Solution
Exploring Operation: 95+122=217, Resulting Numbers: [217]
217,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[82, 135], Operations: ['20+62=82', '40+95=135']
Exploring Operation: 82+135=217, Resulting Numbers: [217]
217,97 unequal: No Solution
Exploring Operation: 135-82=53, Resulting Numbers: [53]
53,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
86,
51,
31
] | 32 | [
"86-35=51",
"51/51=1",
"31+1=32"
] | Current State: 32:[35, 86, 51, 31], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [51, 31, 51]
Generated Node #2: [51, 31, 51] from Operation: 86-35=51
Current State: 32:[51, 31, 51], Operations: ['86-35=51']
Exploring Operation: 51/51=1, Resulting Numbers: [31, 1]
Generated Node #3: [31, 1] from Operation: 51/51=1
Current State: 32:[31, 1], Operations: ['86-35=51', '51/51=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[35, 86, 51, 31], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [35, 31, 35]
Generated Node #0,0: 32:[35, 31, 35] Operation: 86-51=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[35, 31, 35], Operations: ['86-51=35']
Exploring Operation: 35/35=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 32:[31, 1] Operation: 35/35=1
Moving to Node #0,0,0
Current State: 32:[31, 1], Operations: ['86-51=35', '35/35=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[35, 86, 51, 31], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [35, 31, 35]
Generated Node #0,0: 32:[35, 31, 35] Operation: 86-51=35
Moving to Node #0,0
Current State: 32:[35, 31, 35], Operations: ['86-51=35']
Exploring Operation: 35/35=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 32:[31, 1] Operation: 35/35=1
Moving to Node #0,0,0
Current State: 32:[31, 1], Operations: ['86-51=35', '35/35=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
18,
57,
6,
53
] | 12 | [
"18/6=3",
"57-53=4",
"3*4=12"
] | Current State: 12:[18, 57, 6, 53], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [57, 53, 3]
Generated Node #2: [57, 53, 3] from Operation: 18/6=3
Current State: 12:[57, 53, 3], Operations: ['18/6=3']
Exploring Operation: 57-53=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 57-53=4
Current State: 12:[3, 4], Operations: ['18/6=3', '57-53=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[18, 57, 6, 53], Operations: []
Exploring Operation: 53-18=35, Resulting Numbers: [57, 6, 35]
Generated Node #0,0: 12:[57, 6, 35] Operation: 53-18=35
Exploring Operation: 57-53=4, Resulting Numbers: [18, 6, 4]
Generated Node #0,1: 12:[18, 6, 4] Operation: 57-53=4
Exploring Operation: 57-18=39, Resulting Numbers: [6, 53, 39]
Generated Node #0,2: 12:[6, 53, 39] Operation: 57-18=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[18, 6, 4], Operations: ['57-53=4']
Exploring Operation: 18-6=12, Resulting Numbers: [4, 12]
Generated Node #0,1,0: 12:[4, 12] Operation: 18-6=12
Exploring Operation: 18-4=14, Resulting Numbers: [6, 14]
Generated Node #0,1,1: 12:[6, 14] Operation: 18-4=14
Exploring Operation: 18/6=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 12:[4, 3] Operation: 18/6=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[4, 12], Operations: ['57-53=4', '18-6=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,12 unequal: No Solution
No 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: 12:[4, 3], Operations: ['57-53=4', '18/6=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[18, 57, 6, 53], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [18, 6, 4]
Generated Node #0,1: 12:[18, 6, 4] Operation: 57-53=4
Moving to Node #0,1
Current State: 12:[18, 6, 4], Operations: ['57-53=4']
Exploring Operation: 18/6=3, Resulting Numbers: [4, 3]
Generated Node #0,1,2: 12:[4, 3] Operation: 18/6=3
Moving to Node #0,1,2
Current State: 12:[4, 3], Operations: ['57-53=4', '18/6=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
74,
18,
71,
60
] | 38 | [
"74-71=3",
"60/3=20",
"18+20=38"
] | Current State: 38:[74, 18, 71, 60], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [18, 60, 3]
Generated Node #2: [18, 60, 3] from Operation: 74-71=3
Current State: 38:[18, 60, 3], Operations: ['74-71=3']
Exploring Operation: 60/3=20, Resulting Numbers: [18, 20]
Generated Node #3: [18, 20] from Operation: 60/3=20
Current State: 38:[18, 20], Operations: ['74-71=3', '60/3=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[74, 18, 71, 60], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [74, 18, 11]
Generated Node #0,0: 38:[74, 18, 11] Operation: 71-60=11
Exploring Operation: 74-71=3, Resulting Numbers: [18, 60, 3]
Generated Node #0,1: 38:[18, 60, 3] Operation: 74-71=3
Exploring Operation: 74-60=14, Resulting Numbers: [18, 71, 14]
Generated Node #0,2: 38:[18, 71, 14] Operation: 74-60=14
Moving to Node #0,1
Current State: 38:[18, 60, 3], Operations: ['74-71=3']
Exploring Operation: 60/3=20, Resulting Numbers: [18, 20]
Generated Node #0,1,0: 38:[18, 20] Operation: 60/3=20
Exploring Operation: 60-3=57, Resulting Numbers: [18, 57]
Generated Node #0,1,1: 38:[18, 57] Operation: 60-3=57
Exploring Operation: 60-18=42, Resulting Numbers: [3, 42]
Generated Node #0,1,2: 38:[3, 42] Operation: 60-18=42
Moving to Node #0,2
Current State: 38:[18, 71, 14], Operations: ['74-60=14']
Exploring Operation: 71-14=57, Resulting Numbers: [18, 57]
Generated Node #0,2,0: 38:[18, 57] Operation: 71-14=57
Exploring Operation: 18-14=4, Resulting Numbers: [71, 4]
Generated Node #0,2,1: 38:[71, 4] Operation: 18-14=4
Exploring Operation: 71-18=53, Resulting Numbers: [14, 53]
Generated Node #0,2,2: 38:[14, 53] Operation: 71-18=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[18, 57], Operations: ['74-60=14', '71-14=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,38 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,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,2,2
Current State: 38:[14, 53], Operations: ['74-60=14', '71-18=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,38 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,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,2,1
Current State: 38:[71, 4], Operations: ['74-60=14', '18-14=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,38 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,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:[74, 18, 11], Operations: ['71-60=11']
Exploring Operation: 74-11=63, Resulting Numbers: [18, 63]
Generated Node #0,0,0: 38:[18, 63] Operation: 74-11=63
Exploring Operation: 74-18=56, Resulting Numbers: [11, 56]
Generated Node #0,0,1: 38:[11, 56] Operation: 74-18=56
Exploring Operation: 18-11=7, Resulting Numbers: [74, 7]
Generated Node #0,0,2: 38:[74, 7] Operation: 18-11=7
Moving to Node #0,1,0
Current State: 38:[18, 20], Operations: ['74-71=3', '60/3=20']
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,38 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[74, 18, 71, 60], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [18, 60, 3]
Generated Node #0,1: 38:[18, 60, 3] Operation: 74-71=3
Moving to Node #0,1
Current State: 38:[18, 60, 3], Operations: ['74-71=3']
Exploring Operation: 60/3=20, Resulting Numbers: [18, 20]
Generated Node #0,1,0: 38:[18, 20] Operation: 60/3=20
Moving to Node #0,1,0
Current State: 38:[18, 20], Operations: ['74-71=3', '60/3=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
80,
88,
69,
47
] | 55 | [
"80-69=11",
"88/11=8",
"47+8=55"
] | Current State: 55:[80, 88, 69, 47], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [88, 47, 11]
Generated Node #2: [88, 47, 11] from Operation: 80-69=11
Current State: 55:[88, 47, 11], Operations: ['80-69=11']
Exploring Operation: 88/11=8, Resulting Numbers: [47, 8]
Generated Node #3: [47, 8] from Operation: 88/11=8
Current State: 55:[47, 8], Operations: ['80-69=11', '88/11=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[80, 88, 69, 47], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [80, 47, 19]
Generated Node #0,0: 55:[80, 47, 19] Operation: 88-69=19
Exploring Operation: 80-69=11, Resulting Numbers: [88, 47, 11]
Generated Node #0,1: 55:[88, 47, 11] Operation: 80-69=11
Exploring Operation: 80-47=33, Resulting Numbers: [88, 69, 33]
Generated Node #0,2: 55:[88, 69, 33] Operation: 80-47=33
Exploring Operation: 88-47=41, Resulting Numbers: [80, 69, 41]
Generated Node #0,3: 55:[80, 69, 41] Operation: 88-47=41
Exploring Operation: 88-80=8, Resulting Numbers: [69, 47, 8]
Generated Node #0,4: 55:[69, 47, 8] Operation: 88-80=8
Moving to Node #0,4
Current State: 55:[69, 47, 8], Operations: ['88-80=8']
Exploring Operation: 47-8=39, Resulting Numbers: [69, 39]
Generated Node #0,4,0: 55:[69, 39] Operation: 47-8=39
Exploring Operation: 47+8=55, Resulting Numbers: [69, 55]
Generated Node #0,4,1: 55:[69, 55] Operation: 47+8=55
Exploring Operation: 69-47=22, Resulting Numbers: [8, 22]
Generated Node #0,4,2: 55:[8, 22] Operation: 69-47=22
Exploring Operation: 69+8=77, Resulting Numbers: [47, 77]
Generated Node #0,4,3: 55:[47, 77] Operation: 69+8=77
Exploring Operation: 69-8=61, Resulting Numbers: [47, 61]
Generated Node #0,4,4: 55:[47, 61] Operation: 69-8=61
Moving to Node #0,1
Current State: 55:[88, 47, 11], Operations: ['80-69=11']
Exploring Operation: 88-11=77, Resulting Numbers: [47, 77]
Generated Node #0,1,0: 55:[47, 77] Operation: 88-11=77
Exploring Operation: 88-47=41, Resulting Numbers: [11, 41]
Generated Node #0,1,1: 55:[11, 41] Operation: 88-47=41
Exploring Operation: 88/11=8, Resulting Numbers: [47, 8]
Generated Node #0,1,2: 55:[47, 8] Operation: 88/11=8
Exploring Operation: 88+11=99, Resulting Numbers: [47, 99]
Generated Node #0,1,3: 55:[47, 99] Operation: 88+11=99
Exploring Operation: 47+11=58, Resulting Numbers: [88, 58]
Generated Node #0,1,4: 55:[88, 58] Operation: 47+11=58
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[47, 8], Operations: ['80-69=11', '88/11=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,55 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[80, 88, 69, 47], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [88, 47, 11]
Generated Node #0,1: 55:[88, 47, 11] Operation: 80-69=11
Moving to Node #0,1
Current State: 55:[88, 47, 11], Operations: ['80-69=11']
Exploring Operation: 88/11=8, Resulting Numbers: [47, 8]
Generated Node #0,1,2: 55:[47, 8] Operation: 88/11=8
Moving to Node #0,1,2
Current State: 55:[47, 8], Operations: ['80-69=11', '88/11=8']
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
89,
42,
34,
85
] | 12 | [
"89+42=131",
"34+85=119",
"131-119=12"
] | Current State: 12:[89, 42, 34, 85], Operations: []
Exploring Operation: 89+42=131, Resulting Numbers: [34, 85, 131]
Generated Node #2: [34, 85, 131] from Operation: 89+42=131
Current State: 12:[34, 85, 131], Operations: ['89+42=131']
Exploring Operation: 34+85=119, Resulting Numbers: [131, 119]
Generated Node #3: [131, 119] from Operation: 34+85=119
Current State: 12:[131, 119], Operations: ['89+42=131', '34+85=119']
Exploring Operation: 131-119=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[89, 42, 34, 85], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [42, 34, 4]
Generated Node #0,0: 12:[42, 34, 4] Operation: 89-85=4
Exploring Operation: 85-42=43, Resulting Numbers: [89, 34, 43]
Generated Node #0,1: 12:[89, 34, 43] Operation: 85-42=43
Exploring Operation: 89-42=47, Resulting Numbers: [34, 85, 47]
Generated Node #0,2: 12:[34, 85, 47] Operation: 89-42=47
Exploring Operation: 85-34=51, Resulting Numbers: [89, 42, 51]
Generated Node #0,3: 12:[89, 42, 51] Operation: 85-34=51
Exploring Operation: 89-34=55, Resulting Numbers: [42, 85, 55]
Generated Node #0,4: 12:[42, 85, 55] Operation: 89-34=55
Moving to Node #0,0
Current State: 12:[42, 34, 4], Operations: ['89-85=4']
Exploring Operation: 34+4=38, Resulting Numbers: [42, 38]
Generated Node #0,0,0: 12:[42, 38] Operation: 34+4=38
Exploring Operation: 34-4=30, Resulting Numbers: [42, 30]
Generated Node #0,0,1: 12:[42, 30] Operation: 34-4=30
Exploring Operation: 42-4=38, Resulting Numbers: [34, 38]
Generated Node #0,0,2: 12:[34, 38] Operation: 42-4=38
Exploring Operation: 42+4=46, Resulting Numbers: [34, 46]
Generated Node #0,0,3: 12:[34, 46] Operation: 42+4=46
Exploring Operation: 42-34=8, Resulting Numbers: [4, 8]
Generated Node #0,0,4: 12:[4, 8] Operation: 42-34=8
Moving to Node #0,2
Current State: 12:[34, 85, 47], Operations: ['89-42=47']
Exploring Operation: 34+85=119, Resulting Numbers: [47, 119]
Generated Node #0,2,0: 12:[47, 119] Operation: 34+85=119
Exploring Operation: 85-34=51, Resulting Numbers: [47, 51]
Generated Node #0,2,1: 12:[47, 51] Operation: 85-34=51
Exploring Operation: 85-47=38, Resulting Numbers: [34, 38]
Generated Node #0,2,2: 12:[34, 38] Operation: 85-47=38
Exploring Operation: 34+47=81, Resulting Numbers: [85, 81]
Generated Node #0,2,3: 12:[85, 81] Operation: 34+47=81
Exploring Operation: 47-34=13, Resulting Numbers: [85, 13]
Generated Node #0,2,4: 12:[85, 13] Operation: 47-34=13
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[34, 38], Operations: ['89-42=47', '85-47=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,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:[47, 51], Operations: ['89-42=47', '85-34=51']
Exploring Operation: 47*51=2397, Resulting Numbers: [2397]
2397,12 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 47+51=98, Resulting Numbers: [98]
98,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,4
Current State: 12:[85, 13], Operations: ['89-42=47', '47-34=13']
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,12 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,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:[47, 119], Operations: ['89-42=47', '34+85=119']
Exploring Operation: 47*119=5593, Resulting Numbers: [5593]
5593,12 unequal: No Solution
Exploring Operation: 119-47=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 47+119=166, Resulting Numbers: [166]
166,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,3
Current State: 12:[85, 81], Operations: ['89-42=47', '34+47=81']
Exploring Operation: 85*81=6885, Resulting Numbers: [6885]
6885,12 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 85+81=166, Resulting Numbers: [166]
166,12 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: 12:[89, 34, 43], Operations: ['85-42=43']
Exploring Operation: 89+34=123, Resulting Numbers: [43, 123]
Generated Node #0,1,0: 12:[43, 123] Operation: 89+34=123
Exploring Operation: 89+43=132, Resulting Numbers: [34, 132]
Generated Node #0,1,1: 12:[34, 132] Operation: 89+43=132
Exploring Operation: 43-34=9, Resulting Numbers: [89, 9]
Generated Node #0,1,2: 12:[89, 9] Operation: 43-34=9
Exploring Operation: 89-43=46, Resulting Numbers: [34, 46]
Generated Node #0,1,3: 12:[34, 46] Operation: 89-43=46
Exploring Operation: 89-34=55, Resulting Numbers: [43, 55]
Generated Node #0,1,4: 12:[43, 55] Operation: 89-34=55
Moving to Node #0,3
Current State: 12:[89, 42, 51], Operations: ['85-34=51']
Exploring Operation: 89+42=131, Resulting Numbers: [51, 131]
Generated Node #0,3,0: 12:[51, 131] Operation: 89+42=131
Exploring Operation: 51-42=9, Resulting Numbers: [89, 9]
Generated Node #0,3,1: 12:[89, 9] Operation: 51-42=9
Exploring Operation: 89-42=47, Resulting Numbers: [51, 47]
Generated Node #0,3,2: 12:[51, 47] Operation: 89-42=47
Exploring Operation: 89+51=140, Resulting Numbers: [42, 140]
Generated Node #0,3,3: 12:[42, 140] Operation: 89+51=140
Exploring Operation: 89-51=38, Resulting Numbers: [42, 38]
Generated Node #0,3,4: 12:[42, 38] Operation: 89-51=38
Moving to Node #0,4
Current State: 12:[42, 85, 55], Operations: ['89-34=55']
Exploring Operation: 85-55=30, Resulting Numbers: [42, 30]
Generated Node #0,4,0: 12:[42, 30] Operation: 85-55=30
Exploring Operation: 42+85=127, Resulting Numbers: [55, 127]
Generated Node #0,4,1: 12:[55, 127] Operation: 42+85=127
Exploring Operation: 42+55=97, Resulting Numbers: [85, 97]
Generated Node #0,4,2: 12:[85, 97] Operation: 42+55=97
Exploring Operation: 55-42=13, Resulting Numbers: [85, 13]
Generated Node #0,4,3: 12:[85, 13] Operation: 55-42=13
Exploring Operation: 85-42=43, Resulting Numbers: [55, 43]
Generated Node #0,4,4: 12:[55, 43] Operation: 85-42=43
Moving to Node #0,0,4
Current State: 12:[4, 8], Operations: ['89-85=4', '42-34=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[89, 42, 34, 85], Operations: []
Exploring Operation: 89-85=4, Resulting Numbers: [42, 34, 4]
Generated Node #0,0: 12:[42, 34, 4] Operation: 89-85=4
Moving to Node #0,0
Current State: 12:[42, 34, 4], Operations: ['89-85=4']
Exploring Operation: 42-34=8, Resulting Numbers: [4, 8]
Generated Node #0,0,4: 12:[4, 8] Operation: 42-34=8
Moving to Node #0,0,4
Current State: 12:[4, 8], Operations: ['89-85=4', '42-34=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
60,
46,
81,
88
] | 21 | [
"60-46=14",
"88-81=7",
"14+7=21"
] | Current State: 21:[60, 46, 81, 88], Operations: []
Exploring Operation: 60-46=14, Resulting Numbers: [81, 88, 14]
Generated Node #2: [81, 88, 14] from Operation: 60-46=14
Current State: 21:[81, 88, 14], Operations: ['60-46=14']
Exploring Operation: 88-81=7, Resulting Numbers: [14, 7]
Generated Node #3: [14, 7] from Operation: 88-81=7
Current State: 21:[14, 7], Operations: ['60-46=14', '88-81=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[60, 46, 81, 88], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [60, 46, 7]
Generated Node #0,0: 21:[60, 46, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[60, 46, 7], Operations: ['88-81=7']
Exploring Operation: 60-46=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 21:[7, 14] Operation: 60-46=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[7, 14], Operations: ['88-81=7', '60-46=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[60, 46, 81, 88], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [60, 46, 7]
Generated Node #0,0: 21:[60, 46, 7] Operation: 88-81=7
Moving to Node #0,0
Current State: 21:[60, 46, 7], Operations: ['88-81=7']
Exploring Operation: 60-46=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 21:[7, 14] Operation: 60-46=14
Moving to Node #0,0,0
Current State: 21:[7, 14], Operations: ['88-81=7', '60-46=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
30,
24,
91,
83
] | 90 | [
"30*24=720",
"91-83=8",
"720/8=90"
] | Current State: 90:[30, 24, 91, 83], Operations: []
Exploring Operation: 30*24=720, Resulting Numbers: [91, 83, 720]
Generated Node #2: [91, 83, 720] from Operation: 30*24=720
Current State: 90:[91, 83, 720], Operations: ['30*24=720']
Exploring Operation: 91-83=8, Resulting Numbers: [720, 8]
Generated Node #3: [720, 8] from Operation: 91-83=8
Current State: 90:[720, 8], Operations: ['30*24=720', '91-83=8']
Exploring Operation: 720/8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[30, 24, 91, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [30, 24, 8]
Generated Node #0,0: 90:[30, 24, 8] Operation: 91-83=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[30, 24, 8], Operations: ['91-83=8']
Exploring Operation: 24/8=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 90:[30, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 90:[30, 3], Operations: ['91-83=8', '24/8=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[30, 24, 91, 83], Operations: []
Exploring Operation: 91-83=8, Resulting Numbers: [30, 24, 8]
Generated Node #0,0: 90:[30, 24, 8] Operation: 91-83=8
Moving to Node #0,0
Current State: 90:[30, 24, 8], Operations: ['91-83=8']
Exploring Operation: 24/8=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 90:[30, 3] Operation: 24/8=3
Moving to Node #0,0,0
Current State: 90:[30, 3], Operations: ['91-83=8', '24/8=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
24,
52,
1,
25
] | 51 | [
"24+52=76",
"1*25=25",
"76-25=51"
] | Current State: 51:[24, 52, 1, 25], Operations: []
Exploring Operation: 24+52=76, Resulting Numbers: [1, 25, 76]
Generated Node #2: [1, 25, 76] from Operation: 24+52=76
Current State: 51:[1, 25, 76], Operations: ['24+52=76']
Exploring Operation: 1*25=25, Resulting Numbers: [76, 25]
Generated Node #3: [76, 25] from Operation: 1*25=25
Current State: 51:[76, 25], Operations: ['24+52=76', '1*25=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[24, 52, 1, 25], Operations: []
Exploring Operation: 24+25=49, Resulting Numbers: [52, 1, 49]
Generated Node #0,0: 51:[52, 1, 49] Operation: 24+25=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[52, 1, 49], Operations: ['24+25=49']
Exploring Operation: 52-1=51, Resulting Numbers: [49, 51]
Generated Node #0,0,0: 51:[49, 51] Operation: 52-1=51
Moving to Node #0,0,0
Current State: 51:[49, 51], Operations: ['24+25=49', '52-1=51']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
14,
52,
32,
70
] | 49 | [
"14*70=980",
"52-32=20",
"980/20=49"
] | Current State: 49:[14, 52, 32, 70], Operations: []
Exploring Operation: 14*70=980, Resulting Numbers: [52, 32, 980]
Generated Node #2: [52, 32, 980] from Operation: 14*70=980
Current State: 49:[52, 32, 980], Operations: ['14*70=980']
Exploring Operation: 52-32=20, Resulting Numbers: [980, 20]
Generated Node #3: [980, 20] from Operation: 52-32=20
Current State: 49:[980, 20], Operations: ['14*70=980', '52-32=20']
Exploring Operation: 980/20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[14, 52, 32, 70], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [14, 52, 38]
Generated Node #0,0: 49:[14, 52, 38] Operation: 70-32=38
Moving to Node #0,0
Current State: 49:[14, 52, 38], Operations: ['70-32=38']
Exploring Operation: 14+38=52, Resulting Numbers: [52, 52]
Generated Node #0,0,0: 49:[52, 52] Operation: 14+38=52
Moving to Node #0,0,0
Current State: 49:[52, 52], Operations: ['70-32=38', '14+38=52']
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
32,
43,
68
] | 70 | [
"77-32=45",
"68-43=25",
"45+25=70"
] | Current State: 70:[77, 32, 43, 68], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [43, 68, 45]
Generated Node #2: [43, 68, 45] from Operation: 77-32=45
Current State: 70:[43, 68, 45], Operations: ['77-32=45']
Exploring Operation: 68-43=25, Resulting Numbers: [45, 25]
Generated Node #3: [45, 25] from Operation: 68-43=25
Current State: 70:[45, 25], Operations: ['77-32=45', '68-43=25']
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[77, 32, 43, 68], Operations: []
Exploring Operation: 32+43=75, Resulting Numbers: [77, 68, 75]
Generated Node #0,0: 70:[77, 68, 75] Operation: 32+43=75
Exploring Operation: 43-32=11, Resulting Numbers: [77, 68, 11]
Generated Node #0,1: 70:[77, 68, 11] Operation: 43-32=11
Exploring Operation: 77-68=9, Resulting Numbers: [32, 43, 9]
Generated Node #0,2: 70:[32, 43, 9] Operation: 77-68=9
Exploring Operation: 77-43=34, Resulting Numbers: [32, 68, 34]
Generated Node #0,3: 70:[32, 68, 34] Operation: 77-43=34
Exploring Operation: 68-32=36, Resulting Numbers: [77, 43, 36]
Generated Node #0,4: 70:[77, 43, 36] Operation: 68-32=36
Moving to Node #0,3
Current State: 70:[32, 68, 34], Operations: ['77-43=34']
Exploring Operation: 32+34=66, Resulting Numbers: [68, 66]
Generated Node #0,3,0: 70:[68, 66] Operation: 32+34=66
Exploring Operation: 68/34=2, Resulting Numbers: [32, 2]
Generated Node #0,3,1: 70:[32, 2] Operation: 68/34=2
Exploring Operation: 34-32=2, Resulting Numbers: [68, 2]
Generated Node #0,3,2: 70:[68, 2] Operation: 34-32=2
Exploring Operation: 68-32=36, Resulting Numbers: [34, 36]
Generated Node #0,3,3: 70:[34, 36] Operation: 68-32=36
Exploring Operation: 68-34=34, Resulting Numbers: [32, 34]
Generated Node #0,3,4: 70:[32, 34] Operation: 68-34=34
Moving to Node #0,1
Current State: 70:[77, 68, 11], Operations: ['43-32=11']
Exploring Operation: 77+11=88, Resulting Numbers: [68, 88]
Generated Node #0,1,0: 70:[68, 88] Operation: 77+11=88
Exploring Operation: 77-11=66, Resulting Numbers: [68, 66]
Generated Node #0,1,1: 70:[68, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [68, 7]
Generated Node #0,1,2: 70:[68, 7] Operation: 77/11=7
Exploring Operation: 77-68=9, Resulting Numbers: [11, 9]
Generated Node #0,1,3: 70:[11, 9] Operation: 77-68=9
Exploring Operation: 68+11=79, Resulting Numbers: [77, 79]
Generated Node #0,1,4: 70:[77, 79] Operation: 68+11=79
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[68, 7], Operations: ['43-32=11', '77/11=7']
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,70 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,70 unequal: No Solution
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[11, 9], Operations: ['43-32=11', '77-68=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[68, 66], Operations: ['43-32=11', '77-11=66']
Exploring Operation: 68+66=134, Resulting Numbers: [134]
134,70 unequal: No Solution
Exploring Operation: 68*66=4488, Resulting Numbers: [4488]
4488,70 unequal: No Solution
Exploring Operation: 68-66=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[77, 79], Operations: ['43-32=11', '68+11=79']
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,70 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[68, 88], Operations: ['43-32=11', '77+11=88']
Exploring Operation: 68*88=5984, Resulting Numbers: [5984]
5984,70 unequal: No Solution
Exploring Operation: 68+88=156, Resulting Numbers: [156]
156,70 unequal: No Solution
Exploring Operation: 88-68=20, Resulting Numbers: [20]
20,70 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: 70:[32, 43, 9], Operations: ['77-68=9']
Exploring Operation: 32+43=75, Resulting Numbers: [9, 75]
Generated Node #0,2,0: 70:[9, 75] Operation: 32+43=75
Exploring Operation: 32-9=23, Resulting Numbers: [43, 23]
Generated Node #0,2,1: 70:[43, 23] Operation: 32-9=23
Exploring Operation: 32+9=41, Resulting Numbers: [43, 41]
Generated Node #0,2,2: 70:[43, 41] Operation: 32+9=41
Exploring Operation: 43-9=34, Resulting Numbers: [32, 34]
Generated Node #0,2,3: 70:[32, 34] Operation: 43-9=34
Exploring Operation: 43-32=11, Resulting Numbers: [9, 11]
Generated Node #0,2,4: 70:[9, 11] Operation: 43-32=11
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[9, 11], Operations: ['77-68=9', '43-32=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[32, 34], Operations: ['77-68=9', '43-9=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,70 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[9, 75], Operations: ['77-68=9', '32+43=75']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 9*75=675, Resulting Numbers: [675]
675,70 unequal: No Solution
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[43, 41], Operations: ['77-68=9', '32+9=41']
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,70 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,70 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[43, 23], Operations: ['77-68=9', '32-9=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,70 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: 70:[77, 68, 75], Operations: ['32+43=75']
Exploring Operation: 75-68=7, Resulting Numbers: [77, 7]
Generated Node #0,0,0: 70:[77, 7] Operation: 75-68=7
Exploring Operation: 68+75=143, Resulting Numbers: [77, 143]
Generated Node #0,0,1: 70:[77, 143] Operation: 68+75=143
Exploring Operation: 77-68=9, Resulting Numbers: [75, 9]
Generated Node #0,0,2: 70:[75, 9] Operation: 77-68=9
Exploring Operation: 77+68=145, Resulting Numbers: [75, 145]
Generated Node #0,0,3: 70:[75, 145] Operation: 77+68=145
Exploring Operation: 77-75=2, Resulting Numbers: [68, 2]
Generated Node #0,0,4: 70:[68, 2] Operation: 77-75=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 70:[68, 2], Operations: ['32+43=75', '77-75=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[77, 32, 43, 68], Operations: []
Exploring Operation: 32+43=75, Resulting Numbers: [77, 68, 75]
Generated Node #0,0: 70:[77, 68, 75] Operation: 32+43=75
Moving to Node #0,0
Current State: 70:[77, 68, 75], Operations: ['32+43=75']
Exploring Operation: 77-75=2, Resulting Numbers: [68, 2]
Generated Node #0,0,4: 70:[68, 2] Operation: 77-75=2
Moving to Node #0,0,4
Current State: 70:[68, 2], Operations: ['32+43=75', '77-75=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_5 | sum_heuristic |
[
16,
92,
56,
36
] | 15 | [
"92-56=36",
"36/36=1",
"16-1=15"
] | Current State: 15:[16, 92, 56, 36], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [16, 36, 36]
Generated Node #2: [16, 36, 36] from Operation: 92-56=36
Current State: 15:[16, 36, 36], Operations: ['92-56=36']
Exploring Operation: 36/36=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 36/36=1
Current State: 15:[16, 1], Operations: ['92-56=36', '36/36=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[16, 92, 56, 36], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [16, 36, 36]
Generated Node #0,0: 15:[16, 36, 36] Operation: 92-56=36
Moving to Node #0,0
Current State: 15:[16, 36, 36], Operations: ['92-56=36']
Exploring Operation: 36/36=1, Resulting Numbers: [16, 1]
Generated Node #0,0,0: 15:[16, 1] Operation: 36/36=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[16, 1], Operations: ['92-56=36', '36/36=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[16, 92, 56, 36], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [16, 36, 36]
Generated Node #0,0: 15:[16, 36, 36] Operation: 92-56=36
Moving to Node #0,0
Current State: 15:[16, 36, 36], Operations: ['92-56=36']
Exploring Operation: 36/36=1, Resulting Numbers: [16, 1]
Generated Node #0,0,0: 15:[16, 1] Operation: 36/36=1
Moving to Node #0,0,0
Current State: 15:[16, 1], Operations: ['92-56=36', '36/36=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
17,
40,
41,
2
] | 62 | [
"40-17=23",
"41-2=39",
"23+39=62"
] | Current State: 62:[17, 40, 41, 2], Operations: []
Exploring Operation: 40-17=23, Resulting Numbers: [41, 2, 23]
Generated Node #2: [41, 2, 23] from Operation: 40-17=23
Current State: 62:[41, 2, 23], Operations: ['40-17=23']
Exploring Operation: 41-2=39, Resulting Numbers: [23, 39]
Generated Node #3: [23, 39] from Operation: 41-2=39
Current State: 62:[23, 39], Operations: ['40-17=23', '41-2=39']
Exploring Operation: 23+39=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[17, 40, 41, 2], Operations: []
Exploring Operation: 17+41=58, Resulting Numbers: [40, 2, 58]
Generated Node #0,0: 62:[40, 2, 58] Operation: 17+41=58
Moving to Node #0,0
Current State: 62:[40, 2, 58], Operations: ['17+41=58']
Exploring Operation: 40-2=38, Resulting Numbers: [58, 38]
Generated Node #0,0,0: 62:[58, 38] Operation: 40-2=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[58, 38], Operations: ['17+41=58', '40-2=38']
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
14,
24,
9
] | 68 | [
"39+14=53",
"24-9=15",
"53+15=68"
] | Current State: 68:[39, 14, 24, 9], Operations: []
Exploring Operation: 39+14=53, Resulting Numbers: [24, 9, 53]
Generated Node #2: [24, 9, 53] from Operation: 39+14=53
Current State: 68:[24, 9, 53], Operations: ['39+14=53']
Exploring Operation: 24-9=15, Resulting Numbers: [53, 15]
Generated Node #3: [53, 15] from Operation: 24-9=15
Current State: 68:[53, 15], Operations: ['39+14=53', '24-9=15']
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[39, 14, 24, 9], Operations: []
Exploring Operation: 24+9=33, Resulting Numbers: [39, 14, 33]
Generated Node #0,0: 68:[39, 14, 33] Operation: 24+9=33
Exploring Operation: 39-24=15, Resulting Numbers: [14, 9, 15]
Generated Node #0,1: 68:[14, 9, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[39, 14, 33], Operations: ['24+9=33']
Exploring Operation: 39+33=72, Resulting Numbers: [14, 72]
Generated Node #0,0,0: 68:[14, 72] Operation: 39+33=72
Exploring Operation: 39-33=6, Resulting Numbers: [14, 6]
Generated Node #0,0,1: 68:[14, 6] Operation: 39-33=6
Moving to Node #0,0,1
Current State: 68:[14, 6], Operations: ['24+9=33', '39-33=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[14, 72], Operations: ['24+9=33', '39+33=72']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,68 unequal: No Solution
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[14, 9, 15], Operations: ['39-24=15']
Exploring Operation: 14-9=5, Resulting Numbers: [15, 5]
Generated Node #0,1,0: 68:[15, 5] Operation: 14-9=5
Exploring Operation: 15-9=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 68:[14, 6] Operation: 15-9=6
Moving to Node #0,1,0
Current State: 68:[15, 5], Operations: ['39-24=15', '14-9=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[14, 6], Operations: ['39-24=15', '15-9=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
85,
6,
8
] | 98 | [
"61+85=146",
"6*8=48",
"146-48=98"
] | Current State: 98:[61, 85, 6, 8], Operations: []
Exploring Operation: 61+85=146, Resulting Numbers: [6, 8, 146]
Generated Node #2: [6, 8, 146] from Operation: 61+85=146
Current State: 98:[6, 8, 146], Operations: ['61+85=146']
Exploring Operation: 6*8=48, Resulting Numbers: [146, 48]
Generated Node #3: [146, 48] from Operation: 6*8=48
Current State: 98:[146, 48], Operations: ['61+85=146', '6*8=48']
Exploring Operation: 146-48=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[61, 85, 6, 8], Operations: []
Exploring Operation: 85+8=93, Resulting Numbers: [61, 6, 93]
Generated Node #0,0: 98:[61, 6, 93] Operation: 85+8=93
Exploring Operation: 85-61=24, Resulting Numbers: [6, 8, 24]
Generated Node #0,1: 98:[6, 8, 24] Operation: 85-61=24
Exploring Operation: 61-8=53, Resulting Numbers: [85, 6, 53]
Generated Node #0,2: 98:[85, 6, 53] Operation: 61-8=53
Moving to Node #0,1
Current State: 98:[6, 8, 24], Operations: ['85-61=24']
Exploring Operation: 24/8=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 98:[6, 3] Operation: 24/8=3
Exploring Operation: 24/6=4, Resulting Numbers: [8, 4]
Generated Node #0,1,1: 98:[8, 4] Operation: 24/6=4
Exploring Operation: 24-8=16, Resulting Numbers: [6, 16]
Generated Node #0,1,2: 98:[6, 16] Operation: 24-8=16
Moving to Node #0,0
Current State: 98:[61, 6, 93], Operations: ['85+8=93']
Exploring Operation: 93-61=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 98:[6, 32] Operation: 93-61=32
Exploring Operation: 61-6=55, Resulting Numbers: [93, 55]
Generated Node #0,0,1: 98:[93, 55] Operation: 61-6=55
Exploring Operation: 6+93=99, Resulting Numbers: [61, 99]
Generated Node #0,0,2: 98:[61, 99] Operation: 6+93=99
Moving to Node #0,2
Current State: 98:[85, 6, 53], Operations: ['61-8=53']
Exploring Operation: 85+6=91, Resulting Numbers: [53, 91]
Generated Node #0,2,0: 98:[53, 91] Operation: 85+6=91
Exploring Operation: 53-6=47, Resulting Numbers: [85, 47]
Generated Node #0,2,1: 98:[85, 47] Operation: 53-6=47
Exploring Operation: 85-53=32, Resulting Numbers: [6, 32]
Generated Node #0,2,2: 98:[6, 32] Operation: 85-53=32
Moving to Node #0,1,0
Current State: 98:[6, 3], Operations: ['85-61=24', '24/8=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[6, 16], Operations: ['85-61=24', '24-8=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[8, 4], Operations: ['85-61=24', '24/6=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[53, 91], Operations: ['61-8=53', '85+6=91']
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,98 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[93, 55], Operations: ['85+8=93', '61-6=55']
Exploring Operation: 93+55=148, Resulting Numbers: [148]
148,98 unequal: No Solution
Exploring Operation: 93*55=5115, Resulting Numbers: [5115]
5115,98 unequal: No Solution
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[61, 99], Operations: ['85+8=93', '6+93=99']
Exploring Operation: 99-61=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 61*99=6039, Resulting Numbers: [6039]
6039,98 unequal: No Solution
Exploring Operation: 61+99=160, Resulting Numbers: [160]
160,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[85, 47], Operations: ['61-8=53', '53-6=47']
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,98 unequal: No Solution
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[6, 32], Operations: ['61-8=53', '85-53=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[6, 32], Operations: ['85+8=93', '93-61=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,98 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,98 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
50,
13,
74,
21
] | 58 | [
"50-13=37",
"74+21=95",
"95-37=58"
] | Current State: 58:[50, 13, 74, 21], Operations: []
Exploring Operation: 50-13=37, Resulting Numbers: [74, 21, 37]
Generated Node #2: [74, 21, 37] from Operation: 50-13=37
Current State: 58:[74, 21, 37], Operations: ['50-13=37']
Exploring Operation: 74+21=95, Resulting Numbers: [37, 95]
Generated Node #3: [37, 95] from Operation: 74+21=95
Current State: 58:[37, 95], Operations: ['50-13=37', '74+21=95']
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[50, 13, 74, 21], Operations: []
Exploring Operation: 74-50=24, Resulting Numbers: [13, 21, 24]
Generated Node #0,0: 58:[13, 21, 24] Operation: 74-50=24
Exploring Operation: 50-21=29, Resulting Numbers: [13, 74, 29]
Generated Node #0,1: 58:[13, 74, 29] Operation: 50-21=29
Exploring Operation: 74-13=61, Resulting Numbers: [50, 21, 61]
Generated Node #0,2: 58:[50, 21, 61] Operation: 74-13=61
Exploring Operation: 74-21=53, Resulting Numbers: [50, 13, 53]
Generated Node #0,3: 58:[50, 13, 53] Operation: 74-21=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[50, 21, 61], Operations: ['74-13=61']
Exploring Operation: 50-21=29, Resulting Numbers: [61, 29]
Generated Node #0,2,0: 58:[61, 29] Operation: 50-21=29
Exploring Operation: 61-50=11, Resulting Numbers: [21, 11]
Generated Node #0,2,1: 58:[21, 11] Operation: 61-50=11
Exploring Operation: 61-21=40, Resulting Numbers: [50, 40]
Generated Node #0,2,2: 58:[50, 40] Operation: 61-21=40
Exploring Operation: 50+21=71, Resulting Numbers: [61, 71]
Generated Node #0,2,3: 58:[61, 71] Operation: 50+21=71
Moving to Node #0,2,0
Current State: 58:[61, 29], Operations: ['74-13=61', '50-21=29']
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,58 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[61, 71], Operations: ['74-13=61', '50+21=71']
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,58 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[21, 11], Operations: ['74-13=61', '61-50=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[50, 40], Operations: ['74-13=61', '61-21=40']
Exploring Operation: 50+40=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 50-40=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 50*40=2000, Resulting Numbers: [2000]
2000,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:[13, 21, 24], Operations: ['74-50=24']
Exploring Operation: 24-21=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 58:[13, 3] Operation: 24-21=3
Exploring Operation: 21-13=8, Resulting Numbers: [24, 8]
Generated Node #0,0,1: 58:[24, 8] Operation: 21-13=8
Exploring Operation: 13+21=34, Resulting Numbers: [24, 34]
Generated Node #0,0,2: 58:[24, 34] Operation: 13+21=34
Exploring Operation: 13+24=37, Resulting Numbers: [21, 37]
Generated Node #0,0,3: 58:[21, 37] Operation: 13+24=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[24, 34], Operations: ['74-50=24', '13+21=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,58 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[50, 13, 74, 21], Operations: []
Exploring Operation: 74-50=24, Resulting Numbers: [13, 21, 24]
Generated Node #0,0: 58:[13, 21, 24] Operation: 74-50=24
Moving to Node #0,0
Current State: 58:[13, 21, 24], Operations: ['74-50=24']
Exploring Operation: 13+21=34, Resulting Numbers: [24, 34]
Generated Node #0,0,2: 58:[24, 34] Operation: 13+21=34
Moving to Node #0,0,2
Current State: 58:[24, 34], Operations: ['74-50=24', '13+21=34']
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
7,
56,
92,
46
] | 38 | [
"56/7=8",
"92-46=46",
"46-8=38"
] | Current State: 38:[7, 56, 92, 46], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [92, 46, 8]
Generated Node #2: [92, 46, 8] from Operation: 56/7=8
Current State: 38:[92, 46, 8], Operations: ['56/7=8']
Exploring Operation: 92-46=46, Resulting Numbers: [8, 46]
Generated Node #3: [8, 46] from Operation: 92-46=46
Current State: 38:[8, 46], Operations: ['56/7=8', '92-46=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[7, 56, 92, 46], Operations: []
Exploring Operation: 92-46=46, Resulting Numbers: [7, 56, 46]
Generated Node #0,0: 38:[7, 56, 46] Operation: 92-46=46
Exploring Operation: 92-56=36, Resulting Numbers: [7, 46, 36]
Generated Node #0,1: 38:[7, 46, 36] Operation: 92-56=36
Exploring Operation: 56-46=10, Resulting Numbers: [7, 92, 10]
Generated Node #0,2: 38:[7, 92, 10] Operation: 56-46=10
Exploring Operation: 56/7=8, Resulting Numbers: [92, 46, 8]
Generated Node #0,3: 38:[92, 46, 8] Operation: 56/7=8
Exploring Operation: 92/46=2, Resulting Numbers: [7, 56, 2]
Generated Node #0,4: 38:[7, 56, 2] Operation: 92/46=2
Moving to Node #0,1
Current State: 38:[7, 46, 36], Operations: ['92-56=36']
Exploring Operation: 46-36=10, Resulting Numbers: [7, 10]
Generated Node #0,1,0: 38:[7, 10] Operation: 46-36=10
Exploring Operation: 7+46=53, Resulting Numbers: [36, 53]
Generated Node #0,1,1: 38:[36, 53] Operation: 7+46=53
Exploring Operation: 46-7=39, Resulting Numbers: [36, 39]
Generated Node #0,1,2: 38:[36, 39] Operation: 46-7=39
Exploring Operation: 36-7=29, Resulting Numbers: [46, 29]
Generated Node #0,1,3: 38:[46, 29] Operation: 36-7=29
Exploring Operation: 7+36=43, Resulting Numbers: [46, 43]
Generated Node #0,1,4: 38:[46, 43] Operation: 7+36=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[36, 39], Operations: ['92-56=36', '46-7=39']
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,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,0
Current State: 38:[7, 10], Operations: ['92-56=36', '46-36=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,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,4
Current State: 38:[46, 43], Operations: ['92-56=36', '7+36=43']
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,38 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,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:[36, 53], Operations: ['92-56=36', '7+46=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,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,3
Current State: 38:[46, 29], Operations: ['92-56=36', '36-7=29']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,38 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,38 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: 38:[7, 56, 2], Operations: ['92/46=2']
Exploring Operation: 56-7=49, Resulting Numbers: [2, 49]
Generated Node #0,4,0: 38:[2, 49] Operation: 56-7=49
Exploring Operation: 56/2=28, Resulting Numbers: [7, 28]
Generated Node #0,4,1: 38:[7, 28] Operation: 56/2=28
Exploring Operation: 56/7=8, Resulting Numbers: [2, 8]
Generated Node #0,4,2: 38:[2, 8] Operation: 56/7=8
Exploring Operation: 56-2=54, Resulting Numbers: [7, 54]
Generated Node #0,4,3: 38:[7, 54] Operation: 56-2=54
Exploring Operation: 7-2=5, Resulting Numbers: [56, 5]
Generated Node #0,4,4: 38:[56, 5] Operation: 7-2=5
Moving to Node #0,0
Current State: 38:[7, 56, 46], Operations: ['92-46=46']
Exploring Operation: 46-7=39, Resulting Numbers: [56, 39]
Generated Node #0,0,0: 38:[56, 39] Operation: 46-7=39
Exploring Operation: 56-46=10, Resulting Numbers: [7, 10]
Generated Node #0,0,1: 38:[7, 10] Operation: 56-46=10
Exploring Operation: 56/7=8, Resulting Numbers: [46, 8]
Generated Node #0,0,2: 38:[46, 8] Operation: 56/7=8
Exploring Operation: 7+56=63, Resulting Numbers: [46, 63]
Generated Node #0,0,3: 38:[46, 63] Operation: 7+56=63
Exploring Operation: 56-7=49, Resulting Numbers: [46, 49]
Generated Node #0,0,4: 38:[46, 49] Operation: 56-7=49
Moving to Node #0,2
Current State: 38:[7, 92, 10], Operations: ['56-46=10']
Exploring Operation: 7+92=99, Resulting Numbers: [10, 99]
Generated Node #0,2,0: 38:[10, 99] Operation: 7+92=99
Exploring Operation: 92-7=85, Resulting Numbers: [10, 85]
Generated Node #0,2,1: 38:[10, 85] Operation: 92-7=85
Exploring Operation: 7+10=17, Resulting Numbers: [92, 17]
Generated Node #0,2,2: 38:[92, 17] Operation: 7+10=17
Exploring Operation: 92-10=82, Resulting Numbers: [7, 82]
Generated Node #0,2,3: 38:[7, 82] Operation: 92-10=82
Exploring Operation: 10-7=3, Resulting Numbers: [92, 3]
Generated Node #0,2,4: 38:[92, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[7, 82], Operations: ['56-46=10', '92-10=82']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 7*82=574, Resulting Numbers: [574]
574,38 unequal: No Solution
Exploring Operation: 7+82=89, Resulting Numbers: [89]
89,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,2,1
Current State: 38:[10, 85], Operations: ['56-46=10', '92-7=85']
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,38 unequal: No Solution
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,38 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,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,2,4
Current State: 38:[92, 3], Operations: ['56-46=10', '10-7=3']
Exploring Operation: 92*3=276, Resulting Numbers: [276]
276,38 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,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,2,2
Current State: 38:[92, 17], Operations: ['56-46=10', '7+10=17']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,38 unequal: No Solution
Exploring Operation: 92*17=1564, Resulting Numbers: [1564]
1564,38 unequal: No Solution
Exploring Operation: 92+17=109, Resulting Numbers: [109]
109,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,2,0
Current State: 38:[10, 99], Operations: ['56-46=10', '7+92=99']
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,38 unequal: No Solution
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,38 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: 38:[92, 46, 8], Operations: ['56/7=8']
Exploring Operation: 46-8=38, Resulting Numbers: [92, 38]
Generated Node #0,3,0: 38:[92, 38] Operation: 46-8=38
Exploring Operation: 92+8=100, Resulting Numbers: [46, 100]
Generated Node #0,3,1: 38:[46, 100] Operation: 92+8=100
Exploring Operation: 92-46=46, Resulting Numbers: [8, 46]
Generated Node #0,3,2: 38:[8, 46] Operation: 92-46=46
Exploring Operation: 92/46=2, Resulting Numbers: [8, 2]
Generated Node #0,3,3: 38:[8, 2] Operation: 92/46=2
Exploring Operation: 92-8=84, Resulting Numbers: [46, 84]
Generated Node #0,3,4: 38:[46, 84] Operation: 92-8=84
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[8, 2], Operations: ['56/7=8', '92/46=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[8, 46], Operations: ['56/7=8', '92-46=46']
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,38 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[7, 56, 92, 46], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [92, 46, 8]
Generated Node #0,3: 38:[92, 46, 8] Operation: 56/7=8
Moving to Node #0,3
Current State: 38:[92, 46, 8], Operations: ['56/7=8']
Exploring Operation: 92-46=46, Resulting Numbers: [8, 46]
Generated Node #0,3,2: 38:[8, 46] Operation: 92-46=46
Moving to Node #0,3,2
Current State: 38:[8, 46], Operations: ['56/7=8', '92-46=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.939236 | hs_5 | sum_heuristic |
[
6,
36,
2,
40
] | 36 | [
"36/6=6",
"2+40=42",
"42-6=36"
] | Current State: 36:[6, 36, 2, 40], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [2, 40, 6]
Generated Node #2: [2, 40, 6] from Operation: 36/6=6
Current State: 36:[2, 40, 6], Operations: ['36/6=6']
Exploring Operation: 2+40=42, Resulting Numbers: [6, 42]
Generated Node #3: [6, 42] from Operation: 2+40=42
Current State: 36:[6, 42], Operations: ['36/6=6', '2+40=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[6, 36, 2, 40], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [6, 2, 4]
Generated Node #0,0: 36:[6, 2, 4] Operation: 40-36=4
Exploring Operation: 40-6=34, Resulting Numbers: [36, 2, 34]
Generated Node #0,1: 36:[36, 2, 34] Operation: 40-6=34
Exploring Operation: 40-2=38, Resulting Numbers: [6, 36, 38]
Generated Node #0,2: 36:[6, 36, 38] Operation: 40-2=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[6, 2, 4], Operations: ['40-36=4']
Exploring Operation: 6*2=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 36:[4, 12] Operation: 6*2=12
Exploring Operation: 6/2=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 36:[4, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [4, 4]
Generated Node #0,0,2: 36:[4, 4] Operation: 6-2=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[4, 12], Operations: ['40-36=4', '6*2=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 36:[4, 3], Operations: ['40-36=4', '6/2=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 36:[4, 4], Operations: ['40-36=4', '6-2=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[36, 2, 34], Operations: ['40-6=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 36:[2, 2] Operation: 36-34=2
Exploring Operation: 2+34=36, Resulting Numbers: [36, 36]
Generated Node #0,1,1: 36:[36, 36] Operation: 2+34=36
Exploring Operation: 34/2=17, Resulting Numbers: [36, 17]
Generated Node #0,1,2: 36:[36, 17] Operation: 34/2=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[2, 2], Operations: ['40-6=34', '36-34=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[36, 36], Operations: ['40-6=34', '2+34=36']
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[36, 17], Operations: ['40-6=34', '34/2=17']
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[6, 36, 38], Operations: ['40-2=38']
Exploring Operation: 36/6=6, Resulting Numbers: [38, 6]
Generated Node #0,2,0: 36:[38, 6] Operation: 36/6=6
Exploring Operation: 38-6=32, Resulting Numbers: [36, 32]
Generated Node #0,2,1: 36:[36, 32] Operation: 38-6=32
Exploring Operation: 38-36=2, Resulting Numbers: [6, 2]
Generated Node #0,2,2: 36:[6, 2] Operation: 38-36=2
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 36:[6, 2], Operations: ['40-2=38', '38-36=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[38, 6], Operations: ['40-2=38', '36/6=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,36 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[36, 32], Operations: ['40-2=38', '38-6=32']
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,36 unequal: No Solution
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
92,
41,
58
] | 96 | [
"58-41=17",
"68/17=4",
"92+4=96"
] | Current State: 96:[68, 92, 41, 58], Operations: []
Exploring Operation: 58-41=17, Resulting Numbers: [68, 92, 17]
Generated Node #2: [68, 92, 17] from Operation: 58-41=17
Current State: 96:[68, 92, 17], Operations: ['58-41=17']
Exploring Operation: 68/17=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 68/17=4
Current State: 96:[92, 4], Operations: ['58-41=17', '68/17=4']
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[68, 92, 41, 58], Operations: []
Exploring Operation: 68-58=10, Resulting Numbers: [92, 41, 10]
Generated Node #0,0: 96:[92, 41, 10] Operation: 68-58=10
Moving to Node #0,0
Current State: 96:[92, 41, 10], Operations: ['68-58=10']
Exploring Operation: 92-41=51, Resulting Numbers: [10, 51]
Generated Node #0,0,0: 96:[10, 51] Operation: 92-41=51
Moving to Node #0,0,0
Current State: 96:[10, 51], Operations: ['68-58=10', '92-41=51']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,96 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
87,
78,
52,
42
] | 100 | [
"87*52=4524",
"4524/78=58",
"42+58=100"
] | Current State: 100:[87, 78, 52, 42], Operations: []
Exploring Operation: 87*52=4524, Resulting Numbers: [78, 42, 4524]
Generated Node #2: [78, 42, 4524] from Operation: 87*52=4524
Current State: 100:[78, 42, 4524], Operations: ['87*52=4524']
Exploring Operation: 4524/78=58, Resulting Numbers: [42, 58]
Generated Node #3: [42, 58] from Operation: 4524/78=58
Current State: 100:[42, 58], Operations: ['87*52=4524', '4524/78=58']
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[87, 78, 52, 42], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [52, 42, 9]
Generated Node #0,0: 100:[52, 42, 9] Operation: 87-78=9
Moving to Node #0,0
Current State: 100:[52, 42, 9], Operations: ['87-78=9']
Exploring Operation: 52-42=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 100:[9, 10] Operation: 52-42=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[9, 10], Operations: ['87-78=9', '52-42=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
86,
1,
25
] | 79 | [
"86-32=54",
"1*25=25",
"54+25=79"
] | Current State: 79:[32, 86, 1, 25], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [1, 25, 54]
Generated Node #2: [1, 25, 54] from Operation: 86-32=54
Current State: 79:[1, 25, 54], Operations: ['86-32=54']
Exploring Operation: 1*25=25, Resulting Numbers: [54, 25]
Generated Node #3: [54, 25] from Operation: 1*25=25
Current State: 79:[54, 25], Operations: ['86-32=54', '1*25=25']
Exploring Operation: 54+25=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[32, 86, 1, 25], Operations: []
Exploring Operation: 32+1=33, Resulting Numbers: [86, 25, 33]
Generated Node #0,0: 79:[86, 25, 33] Operation: 32+1=33
Moving to Node #0,0
Current State: 79:[86, 25, 33], Operations: ['32+1=33']
Exploring Operation: 25+33=58, Resulting Numbers: [86, 58]
Generated Node #0,0,0: 79:[86, 58] Operation: 25+33=58
Moving to Node #0,0,0
Current State: 79:[86, 58], Operations: ['32+1=33', '25+33=58']
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,79 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
43,
33,
34
] | 32 | [
"43-10=33",
"34-33=1",
"33-1=32"
] | Current State: 32:[10, 43, 33, 34], Operations: []
Exploring Operation: 43-10=33, Resulting Numbers: [33, 34, 33]
Generated Node #2: [33, 34, 33] from Operation: 43-10=33
Current State: 32:[33, 34, 33], Operations: ['43-10=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,32 equal: Goal Reached
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[10, 43, 33, 34], Operations: []
Exploring Operation: 34-33=1, Resulting Numbers: [10, 43, 1]
Generated Node #0,0: 32:[10, 43, 1] Operation: 34-33=1
Exploring Operation: 33-10=23, Resulting Numbers: [43, 34, 23]
Generated Node #0,1: 32:[43, 34, 23] Operation: 33-10=23
Exploring Operation: 43-33=10, Resulting Numbers: [10, 34, 10]
Generated Node #0,2: 32:[10, 34, 10] Operation: 43-33=10
Exploring Operation: 43-10=33, Resulting Numbers: [33, 34, 33]
Generated Node #0,3: 32:[33, 34, 33] Operation: 43-10=33
Exploring Operation: 43-34=9, Resulting Numbers: [10, 33, 9]
Generated Node #0,4: 32:[10, 33, 9] Operation: 43-34=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 32:[33, 34, 33], Operations: ['43-10=33']
Exploring Operation: 33+34=67, Resulting Numbers: [33, 67]
Generated Node #0,3,0: 32:[33, 67] Operation: 33+34=67
Exploring Operation: 33/33=1, Resulting Numbers: [34, 1]
Generated Node #0,3,1: 32:[34, 1] Operation: 33/33=1
Exploring Operation: 33-33=0, Resulting Numbers: [34, 0]
Generated Node #0,3,2: 32:[34, 0] Operation: 33-33=0
Exploring Operation: 34-33=1, Resulting Numbers: [33, 1]
Generated Node #0,3,3: 32:[33, 1] Operation: 34-33=1
Exploring Operation: 34-33=1, Resulting Numbers: [33, 1]
Generated Node #0,3,4: 32:[33, 1] Operation: 34-33=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 32:[33, 1], Operations: ['43-10=33', '34-33=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[10, 43, 33, 34], Operations: []
Exploring Operation: 43-10=33, Resulting Numbers: [33, 34, 33]
Generated Node #0,3: 32:[33, 34, 33] Operation: 43-10=33
Moving to Node #0,3
Current State: 32:[33, 34, 33], Operations: ['43-10=33']
Exploring Operation: 34-33=1, Resulting Numbers: [33, 1]
Generated Node #0,3,3: 32:[33, 1] Operation: 34-33=1
Moving to Node #0,3,3
Current State: 32:[33, 1], Operations: ['43-10=33', '34-33=1']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
95,
93,
86,
3
] | 98 | [
"95+86=181",
"93*3=279",
"279-181=98"
] | Current State: 98:[95, 93, 86, 3], Operations: []
Exploring Operation: 95+86=181, Resulting Numbers: [93, 3, 181]
Generated Node #2: [93, 3, 181] from Operation: 95+86=181
Current State: 98:[93, 3, 181], Operations: ['95+86=181']
Exploring Operation: 93*3=279, Resulting Numbers: [181, 279]
Generated Node #3: [181, 279] from Operation: 93*3=279
Current State: 98:[181, 279], Operations: ['95+86=181', '93*3=279']
Exploring Operation: 279-181=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[95, 93, 86, 3], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [93, 3, 9]
Generated Node #0,0: 98:[93, 3, 9] Operation: 95-86=9
Exploring Operation: 93-86=7, Resulting Numbers: [95, 3, 7]
Generated Node #0,1: 98:[95, 3, 7] Operation: 93-86=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[95, 3, 7], Operations: ['93-86=7']
Exploring Operation: 95+7=102, Resulting Numbers: [3, 102]
Generated Node #0,1,0: 98:[3, 102] Operation: 95+7=102
Exploring Operation: 95+3=98, Resulting Numbers: [7, 98]
Generated Node #0,1,1: 98:[7, 98] Operation: 95+3=98
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[7, 98], Operations: ['93-86=7', '95+3=98']
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 7+98=105, Resulting Numbers: [105]
105,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[3, 102], Operations: ['93-86=7', '95+7=102']
Exploring Operation: 3+102=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[93, 3, 9], Operations: ['95-86=9']
Exploring Operation: 93+3=96, Resulting Numbers: [9, 96]
Generated Node #0,0,0: 98:[9, 96] Operation: 93+3=96
Exploring Operation: 93+9=102, Resulting Numbers: [3, 102]
Generated Node #0,0,1: 98:[3, 102] Operation: 93+9=102
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[9, 96], Operations: ['95-86=9', '93+3=96']
Exploring Operation: 9+96=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,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:[3, 102], Operations: ['95-86=9', '93+9=102']
Exploring Operation: 3+102=105, Resulting Numbers: [105]
105,98 unequal: No Solution
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,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_2 | sum_heuristic |
[
97,
94,
35,
32
] | 61 | [
"97-94=3",
"32*3=96",
"96-35=61"
] | Current State: 61:[97, 94, 35, 32], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [35, 32, 3]
Generated Node #2: [35, 32, 3] from Operation: 97-94=3
Current State: 61:[35, 32, 3], Operations: ['97-94=3']
Exploring Operation: 32*3=96, Resulting Numbers: [35, 96]
Generated Node #3: [35, 96] from Operation: 32*3=96
Current State: 61:[35, 96], Operations: ['97-94=3', '32*3=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[97, 94, 35, 32], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [94, 32, 62]
Generated Node #0,0: 61:[94, 32, 62] Operation: 97-35=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[94, 32, 62], Operations: ['97-35=62']
Exploring Operation: 94-32=62, Resulting Numbers: [62, 62]
Generated Node #0,0,0: 61:[62, 62] Operation: 94-32=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[62, 62], Operations: ['97-35=62', '94-32=62']
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,61 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 |
[
7,
91,
52,
45
] | 77 | [
"91-7=84",
"52-45=7",
"84-7=77"
] | Current State: 77:[7, 91, 52, 45], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [52, 45, 84]
Generated Node #2: [52, 45, 84] from Operation: 91-7=84
Current State: 77:[52, 45, 84], Operations: ['91-7=84']
Exploring Operation: 52-45=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 52-45=7
Current State: 77:[84, 7], Operations: ['91-7=84', '52-45=7']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[7, 91, 52, 45], Operations: []
Exploring Operation: 52+45=97, Resulting Numbers: [7, 91, 97]
Generated Node #0,0: 77:[7, 91, 97] Operation: 52+45=97
Exploring Operation: 52-45=7, Resulting Numbers: [7, 91, 7]
Generated Node #0,1: 77:[7, 91, 7] Operation: 52-45=7
Exploring Operation: 91-45=46, Resulting Numbers: [7, 52, 46]
Generated Node #0,2: 77:[7, 52, 46] Operation: 91-45=46
Moving to Node #0,1
Current State: 77:[7, 91, 7], Operations: ['52-45=7']
Exploring Operation: 91/7=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 77:[7, 13] Operation: 91/7=13
Exploring Operation: 91-7=84, Resulting Numbers: [7, 84]
Generated Node #0,1,1: 77:[7, 84] Operation: 91-7=84
Exploring Operation: 91/7=13, Resulting Numbers: [7, 13]
Generated Node #0,1,2: 77:[7, 13] Operation: 91/7=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[7, 13], Operations: ['52-45=7', '91/7=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,77 unequal: No Solution
No 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: 77:[7, 13], Operations: ['52-45=7', '91/7=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,77 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,77 unequal: No Solution
No 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: 77:[7, 84], Operations: ['52-45=7', '91-7=84']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[7, 91, 52, 45], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [7, 91, 7]
Generated Node #0,1: 77:[7, 91, 7] Operation: 52-45=7
Moving to Node #0,1
Current State: 77:[7, 91, 7], Operations: ['52-45=7']
Exploring Operation: 91-7=84, Resulting Numbers: [7, 84]
Generated Node #0,1,1: 77:[7, 84] Operation: 91-7=84
Moving to Node #0,1,1
Current State: 77:[7, 84], Operations: ['52-45=7', '91-7=84']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
29,
38,
16,
24
] | 72 | [
"38-29=9",
"24-16=8",
"9*8=72"
] | Current State: 72:[29, 38, 16, 24], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [16, 24, 9]
Generated Node #2: [16, 24, 9] from Operation: 38-29=9
Current State: 72:[16, 24, 9], Operations: ['38-29=9']
Exploring Operation: 24-16=8, Resulting Numbers: [9, 8]
Generated Node #3: [9, 8] from Operation: 24-16=8
Current State: 72:[9, 8], Operations: ['38-29=9', '24-16=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[29, 38, 16, 24], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [16, 24, 9]
Generated Node #0,0: 72:[16, 24, 9] Operation: 38-29=9
Exploring Operation: 29-24=5, Resulting Numbers: [38, 16, 5]
Generated Node #0,1: 72:[38, 16, 5] Operation: 29-24=5
Exploring Operation: 29-16=13, Resulting Numbers: [38, 24, 13]
Generated Node #0,2: 72:[38, 24, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[16, 24, 9], Operations: ['38-29=9']
Exploring Operation: 24-16=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 72:[9, 8] Operation: 24-16=8
Exploring Operation: 16+9=25, Resulting Numbers: [24, 25]
Generated Node #0,0,1: 72:[24, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 72:[24, 7] Operation: 16-9=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[9, 8], Operations: ['38-29=9', '24-16=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[29, 38, 16, 24], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [16, 24, 9]
Generated Node #0,0: 72:[16, 24, 9] Operation: 38-29=9
Moving to Node #0,0
Current State: 72:[16, 24, 9], Operations: ['38-29=9']
Exploring Operation: 24-16=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 72:[9, 8] Operation: 24-16=8
Moving to Node #0,0,0
Current State: 72:[9, 8], Operations: ['38-29=9', '24-16=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
4,
9,
32,
61
] | 61 | [
"32/4=8",
"9-8=1",
"61*1=61"
] | Current State: 61:[4, 9, 32, 61], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [9, 61, 8]
Generated Node #2: [9, 61, 8] from Operation: 32/4=8
Current State: 61:[9, 61, 8], Operations: ['32/4=8']
Exploring Operation: 9-8=1, Resulting Numbers: [61, 1]
Generated Node #3: [61, 1] from Operation: 9-8=1
Current State: 61:[61, 1], Operations: ['32/4=8', '9-8=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[4, 9, 32, 61], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [32, 61, 36]
Generated Node #0,0: 61:[32, 61, 36] Operation: 4*9=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[32, 61, 36], Operations: ['4*9=36']
Exploring Operation: 32+36=68, Resulting Numbers: [61, 68]
Generated Node #0,0,0: 61:[61, 68] Operation: 32+36=68
Moving to Node #0,0,0
Current State: 61:[61, 68], Operations: ['4*9=36', '32+36=68']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,61 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 |
[
5,
23,
21,
88
] | 39 | [
"5+23=28",
"88-21=67",
"67-28=39"
] | Current State: 39:[5, 23, 21, 88], Operations: []
Exploring Operation: 5+23=28, Resulting Numbers: [21, 88, 28]
Generated Node #2: [21, 88, 28] from Operation: 5+23=28
Current State: 39:[21, 88, 28], Operations: ['5+23=28']
Exploring Operation: 88-21=67, Resulting Numbers: [28, 67]
Generated Node #3: [28, 67] from Operation: 88-21=67
Current State: 39:[28, 67], Operations: ['5+23=28', '88-21=67']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 23, 21, 88], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [5, 88, 2]
Generated Node #0,0: 39:[5, 88, 2] Operation: 23-21=2
Exploring Operation: 88-21=67, Resulting Numbers: [5, 23, 67]
Generated Node #0,1: 39:[5, 23, 67] Operation: 88-21=67
Exploring Operation: 88-23=65, Resulting Numbers: [5, 21, 65]
Generated Node #0,2: 39:[5, 21, 65] Operation: 88-23=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[5, 21, 65], Operations: ['88-23=65']
Exploring Operation: 21-5=16, Resulting Numbers: [65, 16]
Generated Node #0,2,0: 39:[65, 16] Operation: 21-5=16
Exploring Operation: 65/5=13, Resulting Numbers: [21, 13]
Generated Node #0,2,1: 39:[21, 13] Operation: 65/5=13
Exploring Operation: 65-21=44, Resulting Numbers: [5, 44]
Generated Node #0,2,2: 39:[5, 44] Operation: 65-21=44
Moving to Node #0,2,2
Current State: 39:[5, 44], Operations: ['88-23=65', '65-21=44']
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,39 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[5, 23, 21, 88], Operations: []
Exploring Operation: 88-23=65, Resulting Numbers: [5, 21, 65]
Generated Node #0,2: 39:[5, 21, 65] Operation: 88-23=65
Moving to Node #0,2
Current State: 39:[5, 21, 65], Operations: ['88-23=65']
Exploring Operation: 65-21=44, Resulting Numbers: [5, 44]
Generated Node #0,2,2: 39:[5, 44] Operation: 65-21=44
Moving to Node #0,2,2
Current State: 39:[5, 44], Operations: ['88-23=65', '65-21=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
66,
5,
74,
43
] | 71 | [
"66+74=140",
"140/5=28",
"43+28=71"
] | Current State: 71:[66, 5, 74, 43], Operations: []
Exploring Operation: 66+74=140, Resulting Numbers: [5, 43, 140]
Generated Node #2: [5, 43, 140] from Operation: 66+74=140
Current State: 71:[5, 43, 140], Operations: ['66+74=140']
Exploring Operation: 140/5=28, Resulting Numbers: [43, 28]
Generated Node #3: [43, 28] from Operation: 140/5=28
Current State: 71:[43, 28], Operations: ['66+74=140', '140/5=28']
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[66, 5, 74, 43], Operations: []
Exploring Operation: 66+5=71, Resulting Numbers: [74, 43, 71]
Generated Node #0,0: 71:[74, 43, 71] Operation: 66+5=71
Exploring Operation: 5+43=48, Resulting Numbers: [66, 74, 48]
Generated Node #0,1: 71:[66, 74, 48] Operation: 5+43=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[74, 43, 71], Operations: ['66+5=71']
Exploring Operation: 74+43=117, Resulting Numbers: [71, 117]
Generated Node #0,0,0: 71:[71, 117] Operation: 74+43=117
Exploring Operation: 74-43=31, Resulting Numbers: [71, 31]
Generated Node #0,0,1: 71:[71, 31] Operation: 74-43=31
Moving to Node #0,0,1
Current State: 71:[71, 31], Operations: ['66+5=71', '74-43=31']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[71, 117], Operations: ['66+5=71', '74+43=117']
Exploring Operation: 117-71=46, Resulting Numbers: [46]
46,71 unequal: No Solution
Exploring Operation: 71+117=188, Resulting Numbers: [188]
188,71 unequal: No Solution
No 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: 71:[66, 74, 48], Operations: ['5+43=48']
Exploring Operation: 66+48=114, Resulting Numbers: [74, 114]
Generated Node #0,1,0: 71:[74, 114] Operation: 66+48=114
Exploring Operation: 74-48=26, Resulting Numbers: [66, 26]
Generated Node #0,1,1: 71:[66, 26] Operation: 74-48=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[74, 114], Operations: ['5+43=48', '66+48=114']
Exploring Operation: 114-74=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 74+114=188, Resulting Numbers: [188]
188,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[66, 26], Operations: ['5+43=48', '74-48=26']
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
31,
25,
29
] | 16 | [
"31-27=4",
"29-25=4",
"4*4=16"
] | Current State: 16:[27, 31, 25, 29], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [25, 29, 4]
Generated Node #2: [25, 29, 4] from Operation: 31-27=4
Current State: 16:[25, 29, 4], Operations: ['31-27=4']
Exploring Operation: 29-25=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 29-25=4
Current State: 16:[4, 4], Operations: ['31-27=4', '29-25=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[27, 31, 25, 29], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [27, 25, 2]
Generated Node #0,0: 16:[27, 25, 2] Operation: 31-29=2
Exploring Operation: 29-27=2, Resulting Numbers: [31, 25, 2]
Generated Node #0,1: 16:[31, 25, 2] Operation: 29-27=2
Exploring Operation: 31-27=4, Resulting Numbers: [25, 29, 4]
Generated Node #0,2: 16:[25, 29, 4] Operation: 31-27=4
Moving to Node #0,0
Current State: 16:[27, 25, 2], Operations: ['31-29=2']
Exploring Operation: 27-25=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 16:[2, 2] Operation: 27-25=2
Exploring Operation: 27-2=25, Resulting Numbers: [25, 25]
Generated Node #0,0,1: 16:[25, 25] Operation: 27-2=25
Exploring Operation: 25-2=23, Resulting Numbers: [27, 23]
Generated Node #0,0,2: 16:[27, 23] Operation: 25-2=23
Moving to Node #0,2
Current State: 16:[25, 29, 4], Operations: ['31-27=4']
Exploring Operation: 29-25=4, Resulting Numbers: [4, 4]
Generated Node #0,2,0: 16:[4, 4] Operation: 29-25=4
Exploring Operation: 29-4=25, Resulting Numbers: [25, 25]
Generated Node #0,2,1: 16:[25, 25] Operation: 29-4=25
Exploring Operation: 25-4=21, Resulting Numbers: [29, 21]
Generated Node #0,2,2: 16:[29, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[4, 4], Operations: ['31-27=4', '29-25=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[27, 31, 25, 29], Operations: []
Exploring Operation: 31-27=4, Resulting Numbers: [25, 29, 4]
Generated Node #0,2: 16:[25, 29, 4] Operation: 31-27=4
Moving to Node #0,2
Current State: 16:[25, 29, 4], Operations: ['31-27=4']
Exploring Operation: 29-25=4, Resulting Numbers: [4, 4]
Generated Node #0,2,0: 16:[4, 4] Operation: 29-25=4
Moving to Node #0,2,0
Current State: 16:[4, 4], Operations: ['31-27=4', '29-25=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
34,
15,
60,
81
] | 92 | [
"34+15=49",
"60+81=141",
"141-49=92"
] | Current State: 92:[34, 15, 60, 81], Operations: []
Exploring Operation: 34+15=49, Resulting Numbers: [60, 81, 49]
Generated Node #2: [60, 81, 49] from Operation: 34+15=49
Current State: 92:[60, 81, 49], Operations: ['34+15=49']
Exploring Operation: 60+81=141, Resulting Numbers: [49, 141]
Generated Node #3: [49, 141] from Operation: 60+81=141
Current State: 92:[49, 141], Operations: ['34+15=49', '60+81=141']
Exploring Operation: 141-49=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[34, 15, 60, 81], Operations: []
Exploring Operation: 34+60=94, Resulting Numbers: [15, 81, 94]
Generated Node #0,0: 92:[15, 81, 94] Operation: 34+60=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[15, 81, 94], Operations: ['34+60=94']
Exploring Operation: 15+81=96, Resulting Numbers: [94, 96]
Generated Node #0,0,0: 92:[94, 96] Operation: 15+81=96
Moving to Node #0,0,0
Current State: 92:[94, 96], Operations: ['34+60=94', '15+81=96']
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
37,
13,
2
] | 20 | [
"37+2=39",
"39/13=3",
"17+3=20"
] | Current State: 20:[17, 37, 13, 2], Operations: []
Exploring Operation: 37+2=39, Resulting Numbers: [17, 13, 39]
Generated Node #2: [17, 13, 39] from Operation: 37+2=39
Current State: 20:[17, 13, 39], Operations: ['37+2=39']
Exploring Operation: 39/13=3, Resulting Numbers: [17, 3]
Generated Node #3: [17, 3] from Operation: 39/13=3
Current State: 20:[17, 3], Operations: ['37+2=39', '39/13=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[17, 37, 13, 2], Operations: []
Exploring Operation: 17+2=19, Resulting Numbers: [37, 13, 19]
Generated Node #0,0: 20:[37, 13, 19] Operation: 17+2=19
Exploring Operation: 37-2=35, Resulting Numbers: [17, 13, 35]
Generated Node #0,1: 20:[17, 13, 35] Operation: 37-2=35
Exploring Operation: 37-13=24, Resulting Numbers: [17, 2, 24]
Generated Node #0,2: 20:[17, 2, 24] Operation: 37-13=24
Exploring Operation: 17-13=4, Resulting Numbers: [37, 2, 4]
Generated Node #0,3: 20:[37, 2, 4] Operation: 17-13=4
Exploring Operation: 37-17=20, Resulting Numbers: [13, 2, 20]
Generated Node #0,4: 20:[13, 2, 20] Operation: 37-17=20
Moving to Node #0,4
Current State: 20:[13, 2, 20], Operations: ['37-17=20']
Exploring Operation: 13+2=15, Resulting Numbers: [20, 15]
Generated Node #0,4,0: 20:[20, 15] Operation: 13+2=15
Exploring Operation: 2+20=22, Resulting Numbers: [13, 22]
Generated Node #0,4,1: 20:[13, 22] Operation: 2+20=22
Exploring Operation: 13-2=11, Resulting Numbers: [20, 11]
Generated Node #0,4,2: 20:[20, 11] Operation: 13-2=11
Exploring Operation: 20/2=10, Resulting Numbers: [13, 10]
Generated Node #0,4,3: 20:[13, 10] Operation: 20/2=10
Exploring Operation: 20-13=7, Resulting Numbers: [2, 7]
Generated Node #0,4,4: 20:[2, 7] Operation: 20-13=7
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[20, 11], Operations: ['37-17=20', '13-2=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,20 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,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,4,4
Current State: 20:[2, 7], Operations: ['37-17=20', '20-13=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,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,4,3
Current State: 20:[13, 10], Operations: ['37-17=20', '20/2=10']
Exploring Operation: 13+10=23, Resulting Numbers: [23]
23,20 unequal: No Solution
Exploring Operation: 13*10=130, Resulting Numbers: [130]
130,20 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,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,4,0
Current State: 20:[20, 15], Operations: ['37-17=20', '13+2=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,20 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,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,4,1
Current State: 20:[13, 22], Operations: ['37-17=20', '2+20=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,20 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,20 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: 20:[17, 2, 24], Operations: ['37-13=24']
Exploring Operation: 24-17=7, Resulting Numbers: [2, 7]
Generated Node #0,2,0: 20:[2, 7] Operation: 24-17=7
Exploring Operation: 17+2=19, Resulting Numbers: [24, 19]
Generated Node #0,2,1: 20:[24, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [24, 15]
Generated Node #0,2,2: 20:[24, 15] Operation: 17-2=15
Exploring Operation: 24/2=12, Resulting Numbers: [17, 12]
Generated Node #0,2,3: 20:[17, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [17, 22]
Generated Node #0,2,4: 20:[17, 22] Operation: 24-2=22
Moving to Node #0,3
Current State: 20:[37, 2, 4], Operations: ['17-13=4']
Exploring Operation: 2+4=6, Resulting Numbers: [37, 6]
Generated Node #0,3,0: 20:[37, 6] Operation: 2+4=6
Exploring Operation: 37-4=33, Resulting Numbers: [2, 33]
Generated Node #0,3,1: 20:[2, 33] Operation: 37-4=33
Exploring Operation: 4-2=2, Resulting Numbers: [37, 2]
Generated Node #0,3,2: 20:[37, 2] Operation: 4-2=2
Exploring Operation: 4/2=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 20:[37, 2] Operation: 4/2=2
Exploring Operation: 37-2=35, Resulting Numbers: [4, 35]
Generated Node #0,3,4: 20:[4, 35] Operation: 37-2=35
Moving to Node #0,0
Current State: 20:[37, 13, 19], Operations: ['17+2=19']
Exploring Operation: 13+19=32, Resulting Numbers: [37, 32]
Generated Node #0,0,0: 20:[37, 32] Operation: 13+19=32
Exploring Operation: 37-19=18, Resulting Numbers: [13, 18]
Generated Node #0,0,1: 20:[13, 18] Operation: 37-19=18
Exploring Operation: 19-13=6, Resulting Numbers: [37, 6]
Generated Node #0,0,2: 20:[37, 6] Operation: 19-13=6
Exploring Operation: 37-13=24, Resulting Numbers: [19, 24]
Generated Node #0,0,3: 20:[19, 24] Operation: 37-13=24
Exploring Operation: 37+13=50, Resulting Numbers: [19, 50]
Generated Node #0,0,4: 20:[19, 50] Operation: 37+13=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[13, 18], Operations: ['17+2=19', '37-19=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,20 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,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,0,3
Current State: 20:[19, 24], Operations: ['17+2=19', '37-13=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,20 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,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,0,2
Current State: 20:[37, 6], Operations: ['17+2=19', '19-13=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,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,0,0
Current State: 20:[37, 32], Operations: ['17+2=19', '13+19=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,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,0,4
Current State: 20:[19, 50], Operations: ['17+2=19', '37+13=50']
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,20 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,20 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: 20:[17, 13, 35], Operations: ['37-2=35']
Exploring Operation: 35-13=22, Resulting Numbers: [17, 22]
Generated Node #0,1,0: 20:[17, 22] Operation: 35-13=22
Exploring Operation: 13+35=48, Resulting Numbers: [17, 48]
Generated Node #0,1,1: 20:[17, 48] Operation: 13+35=48
Exploring Operation: 17+13=30, Resulting Numbers: [35, 30]
Generated Node #0,1,2: 20:[35, 30] Operation: 17+13=30
Exploring Operation: 17-13=4, Resulting Numbers: [35, 4]
Generated Node #0,1,3: 20:[35, 4] Operation: 17-13=4
Exploring Operation: 35-17=18, Resulting Numbers: [13, 18]
Generated Node #0,1,4: 20:[13, 18] Operation: 35-17=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[17, 22], Operations: ['37-2=35', '35-13=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,20 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 20:[13, 18], Operations: ['37-2=35', '35-17=18']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,20 unequal: No Solution
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[35, 4], Operations: ['37-2=35', '17-13=4']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[35, 30], Operations: ['37-2=35', '17+13=30']
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,20 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[17, 48], Operations: ['37-2=35', '13+35=48']
Exploring Operation: 17*48=816, Resulting Numbers: [816]
816,20 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 17+48=65, Resulting Numbers: [65]
65,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 20:[2, 7], Operations: ['37-13=24', '24-17=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[17, 12], Operations: ['37-13=24', '24/2=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[24, 19], Operations: ['37-13=24', '17+2=19']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 24+19=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 24*19=456, Resulting Numbers: [456]
456,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[17, 22], Operations: ['37-13=24', '24-2=22']
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,20 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[24, 15], Operations: ['37-13=24', '17-2=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,20 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[2, 33], Operations: ['17-13=4', '37-4=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Moving to Node #0,3,4
Current State: 20:[4, 35], Operations: ['17-13=4', '37-2=35']
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,20 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[37, 2], Operations: ['17-13=4', '4-2=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[37, 2], Operations: ['17-13=4', '4/2=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[37, 6], Operations: ['17-13=4', '2+4=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,20 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,20 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
60,
69,
55,
15
] | 49 | [
"69-60=9",
"55-15=40",
"9+40=49"
] | Current State: 49:[60, 69, 55, 15], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [55, 15, 9]
Generated Node #2: [55, 15, 9] from Operation: 69-60=9
Current State: 49:[55, 15, 9], Operations: ['69-60=9']
Exploring Operation: 55-15=40, Resulting Numbers: [9, 40]
Generated Node #3: [9, 40] from Operation: 55-15=40
Current State: 49:[9, 40], Operations: ['69-60=9', '55-15=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[60, 69, 55, 15], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [69, 55, 4]
Generated Node #0,0: 49:[69, 55, 4] Operation: 60/15=4
Exploring Operation: 60-55=5, Resulting Numbers: [69, 15, 5]
Generated Node #0,1: 49:[69, 15, 5] Operation: 60-55=5
Exploring Operation: 69-55=14, Resulting Numbers: [60, 15, 14]
Generated Node #0,2: 49:[60, 15, 14] Operation: 69-55=14
Exploring Operation: 69-60=9, Resulting Numbers: [55, 15, 9]
Generated Node #0,3: 49:[55, 15, 9] Operation: 69-60=9
Exploring Operation: 69-15=54, Resulting Numbers: [60, 55, 54]
Generated Node #0,4: 49:[60, 55, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[55, 15, 9], Operations: ['69-60=9']
Exploring Operation: 55+9=64, Resulting Numbers: [15, 64]
Generated Node #0,3,0: 49:[15, 64] Operation: 55+9=64
Exploring Operation: 55-9=46, Resulting Numbers: [15, 46]
Generated Node #0,3,1: 49:[15, 46] Operation: 55-9=46
Exploring Operation: 15-9=6, Resulting Numbers: [55, 6]
Generated Node #0,3,2: 49:[55, 6] Operation: 15-9=6
Exploring Operation: 55+15=70, Resulting Numbers: [9, 70]
Generated Node #0,3,3: 49:[9, 70] Operation: 55+15=70
Exploring Operation: 55-15=40, Resulting Numbers: [9, 40]
Generated Node #0,3,4: 49:[9, 40] Operation: 55-15=40
Moving to Node #0,3,2
Current State: 49:[55, 6], Operations: ['69-60=9', '15-9=6']
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,49 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[60, 69, 55, 15], Operations: []
Exploring Operation: 69-60=9, Resulting Numbers: [55, 15, 9]
Generated Node #0,3: 49:[55, 15, 9] Operation: 69-60=9
Moving to Node #0,3
Current State: 49:[55, 15, 9], Operations: ['69-60=9']
Exploring Operation: 15-9=6, Resulting Numbers: [55, 6]
Generated Node #0,3,2: 49:[55, 6] Operation: 15-9=6
Moving to Node #0,3,2
Current State: 49:[55, 6], Operations: ['69-60=9', '15-9=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
37,
89,
5,
62
] | 98 | [
"89-62=27",
"5*27=135",
"135-37=98"
] | Current State: 98:[37, 89, 5, 62], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [37, 5, 27]
Generated Node #2: [37, 5, 27] from Operation: 89-62=27
Current State: 98:[37, 5, 27], Operations: ['89-62=27']
Exploring Operation: 5*27=135, Resulting Numbers: [37, 135]
Generated Node #3: [37, 135] from Operation: 5*27=135
Current State: 98:[37, 135], Operations: ['89-62=27', '5*27=135']
Exploring Operation: 135-37=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[37, 89, 5, 62], Operations: []
Exploring Operation: 89-37=52, Resulting Numbers: [5, 62, 52]
Generated Node #0,0: 98:[5, 62, 52] Operation: 89-37=52
Exploring Operation: 37+62=99, Resulting Numbers: [89, 5, 99]
Generated Node #0,1: 98:[89, 5, 99] Operation: 37+62=99
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[89, 5, 99], Operations: ['37+62=99']
Exploring Operation: 89+5=94, Resulting Numbers: [99, 94]
Generated Node #0,1,0: 98:[99, 94] Operation: 89+5=94
Exploring Operation: 99-89=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 98:[5, 10] Operation: 99-89=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[99, 94], Operations: ['37+62=99', '89+5=94']
Exploring Operation: 99+94=193, Resulting Numbers: [193]
193,98 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[5, 10], Operations: ['37+62=99', '99-89=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[5, 62, 52], Operations: ['89-37=52']
Exploring Operation: 62-52=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 98:[5, 10] Operation: 62-52=10
Exploring Operation: 62-5=57, Resulting Numbers: [52, 57]
Generated Node #0,0,1: 98:[52, 57] Operation: 62-5=57
Moving to Node #0,0,0
Current State: 98:[5, 10], Operations: ['89-37=52', '62-52=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[52, 57], Operations: ['89-37=52', '62-5=57']
Exploring Operation: 52+57=109, Resulting Numbers: [109]
109,98 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,98 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 |
[
99,
10,
55,
25
] | 35 | [
"99*25=2475",
"2475/55=45",
"45-10=35"
] | Current State: 35:[99, 10, 55, 25], Operations: []
Exploring Operation: 99*25=2475, Resulting Numbers: [10, 55, 2475]
Generated Node #2: [10, 55, 2475] from Operation: 99*25=2475
Current State: 35:[10, 55, 2475], Operations: ['99*25=2475']
Exploring Operation: 2475/55=45, Resulting Numbers: [10, 45]
Generated Node #3: [10, 45] from Operation: 2475/55=45
Current State: 35:[10, 45], Operations: ['99*25=2475', '2475/55=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[99, 10, 55, 25], Operations: []
Exploring Operation: 99-55=44, Resulting Numbers: [10, 25, 44]
Generated Node #0,0: 35:[10, 25, 44] Operation: 99-55=44
Exploring Operation: 99-25=74, Resulting Numbers: [10, 55, 74]
Generated Node #0,1: 35:[10, 55, 74] Operation: 99-25=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[10, 25, 44], Operations: ['99-55=44']
Exploring Operation: 44-10=34, Resulting Numbers: [25, 34]
Generated Node #0,0,0: 35:[25, 34] Operation: 44-10=34
Exploring Operation: 10+25=35, Resulting Numbers: [44, 35]
Generated Node #0,0,1: 35:[44, 35] Operation: 10+25=35
Moving to Node #0,0,1
Current State: 35:[44, 35], Operations: ['99-55=44', '10+25=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[25, 34], Operations: ['99-55=44', '44-10=34']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 25+34=59, Resulting Numbers: [59]
59,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
Current State: 35:[10, 55, 74], Operations: ['99-25=74']
Exploring Operation: 55-10=45, Resulting Numbers: [74, 45]
Generated Node #0,1,0: 35:[74, 45] Operation: 55-10=45
Exploring Operation: 74-55=19, Resulting Numbers: [10, 19]
Generated Node #0,1,1: 35:[10, 19] Operation: 74-55=19
Moving to Node #0,1,1
Current State: 35:[10, 19], Operations: ['99-25=74', '74-55=19']
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[74, 45], Operations: ['99-25=74', '55-10=45']
Exploring Operation: 74+45=119, Resulting Numbers: [119]
119,35 unequal: No Solution
Exploring Operation: 74-45=29, Resulting Numbers: [29]
29,35 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 |
[
8,
24,
29,
65
] | 33 | [
"24/8=3",
"65-29=36",
"36-3=33"
] | Current State: 33:[8, 24, 29, 65], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [29, 65, 3]
Generated Node #2: [29, 65, 3] from Operation: 24/8=3
Current State: 33:[29, 65, 3], Operations: ['24/8=3']
Exploring Operation: 65-29=36, Resulting Numbers: [3, 36]
Generated Node #3: [3, 36] from Operation: 65-29=36
Current State: 33:[3, 36], Operations: ['24/8=3', '65-29=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[8, 24, 29, 65], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [8, 29, 41]
Generated Node #0,0: 33:[8, 29, 41] Operation: 65-24=41
Exploring Operation: 65-29=36, Resulting Numbers: [8, 24, 36]
Generated Node #0,1: 33:[8, 24, 36] Operation: 65-29=36
Moving to Node #0,0
Current State: 33:[8, 29, 41], Operations: ['65-24=41']
Exploring Operation: 41-29=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 33:[8, 12] Operation: 41-29=12
Exploring Operation: 41-8=33, Resulting Numbers: [29, 33]
Generated Node #0,0,1: 33:[29, 33] Operation: 41-8=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[8, 12], Operations: ['65-24=41', '41-29=12']
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[29, 33], Operations: ['65-24=41', '41-8=33']
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,33 unequal: No Solution
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,33 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: 33:[8, 24, 36], Operations: ['65-29=36']
Exploring Operation: 8+24=32, Resulting Numbers: [36, 32]
Generated Node #0,1,0: 33:[36, 32] Operation: 8+24=32
Exploring Operation: 24/8=3, Resulting Numbers: [36, 3]
Generated Node #0,1,1: 33:[36, 3] Operation: 24/8=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[36, 3], Operations: ['65-29=36', '24/8=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[8, 24, 29, 65], Operations: []
Exploring Operation: 65-29=36, Resulting Numbers: [8, 24, 36]
Generated Node #0,1: 33:[8, 24, 36] Operation: 65-29=36
Moving to Node #0,1
Current State: 33:[8, 24, 36], Operations: ['65-29=36']
Exploring Operation: 24/8=3, Resulting Numbers: [36, 3]
Generated Node #0,1,1: 33:[36, 3] Operation: 24/8=3
Moving to Node #0,1,1
Current State: 33:[36, 3], Operations: ['65-29=36', '24/8=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
9,
33,
21,
2
] | 65 | [
"9+33=42",
"21+2=23",
"42+23=65"
] | Current State: 65:[9, 33, 21, 2], Operations: []
Exploring Operation: 9+33=42, Resulting Numbers: [21, 2, 42]
Generated Node #2: [21, 2, 42] from Operation: 9+33=42
Current State: 65:[21, 2, 42], Operations: ['9+33=42']
Exploring Operation: 21+2=23, Resulting Numbers: [42, 23]
Generated Node #3: [42, 23] from Operation: 21+2=23
Current State: 65:[42, 23], Operations: ['9+33=42', '21+2=23']
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[9, 33, 21, 2], Operations: []
Exploring Operation: 33*2=66, Resulting Numbers: [9, 21, 66]
Generated Node #0,0: 65:[9, 21, 66] Operation: 33*2=66
Exploring Operation: 33-9=24, Resulting Numbers: [21, 2, 24]
Generated Node #0,1: 65:[21, 2, 24] Operation: 33-9=24
Exploring Operation: 33+21=54, Resulting Numbers: [9, 2, 54]
Generated Node #0,2: 65:[9, 2, 54] Operation: 33+21=54
Exploring Operation: 33-21=12, Resulting Numbers: [9, 2, 12]
Generated Node #0,3: 65:[9, 2, 12] Operation: 33-21=12
Moving to Node #0,3
Current State: 65:[9, 2, 12], Operations: ['33-21=12']
Exploring Operation: 9+2=11, Resulting Numbers: [12, 11]
Generated Node #0,3,0: 65:[12, 11] Operation: 9+2=11
Exploring Operation: 2+12=14, Resulting Numbers: [9, 14]
Generated Node #0,3,1: 65:[9, 14] Operation: 2+12=14
Exploring Operation: 12-9=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 65:[2, 3] Operation: 12-9=3
Exploring Operation: 9-2=7, Resulting Numbers: [12, 7]
Generated Node #0,3,3: 65:[12, 7] Operation: 9-2=7
Moving to Node #0,0
Current State: 65:[9, 21, 66], Operations: ['33*2=66']
Exploring Operation: 66-9=57, Resulting Numbers: [21, 57]
Generated Node #0,0,0: 65:[21, 57] Operation: 66-9=57
Exploring Operation: 9+21=30, Resulting Numbers: [66, 30]
Generated Node #0,0,1: 65:[66, 30] Operation: 9+21=30
Exploring Operation: 9+66=75, Resulting Numbers: [21, 75]
Generated Node #0,0,2: 65:[21, 75] Operation: 9+66=75
Exploring Operation: 21-9=12, Resulting Numbers: [66, 12]
Generated Node #0,0,3: 65:[66, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[66, 12], Operations: ['33*2=66', '21-9=12']
Exploring Operation: 66*12=792, Resulting Numbers: [792]
792,65 unequal: No Solution
Exploring Operation: 66+12=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 66-12=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[21, 57], Operations: ['33*2=66', '66-9=57']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 21*57=1197, Resulting Numbers: [1197]
1197,65 unequal: No Solution
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[66, 30], Operations: ['33*2=66', '9+21=30']
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[21, 75], Operations: ['33*2=66', '9+66=75']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 21*75=1575, Resulting Numbers: [1575]
1575,65 unequal: No Solution
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,65 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: 65:[9, 2, 54], Operations: ['33+21=54']
Exploring Operation: 9+2=11, Resulting Numbers: [54, 11]
Generated Node #0,2,0: 65:[54, 11] Operation: 9+2=11
Exploring Operation: 9-2=7, Resulting Numbers: [54, 7]
Generated Node #0,2,1: 65:[54, 7] Operation: 9-2=7
Exploring Operation: 9+54=63, Resulting Numbers: [2, 63]
Generated Node #0,2,2: 65:[2, 63] Operation: 9+54=63
Exploring Operation: 54/9=6, Resulting Numbers: [2, 6]
Generated Node #0,2,3: 65:[2, 6] Operation: 54/9=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[2, 6], Operations: ['33+21=54', '54/9=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[2, 63], Operations: ['33+21=54', '9+54=63']
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[9, 33, 21, 2], Operations: []
Exploring Operation: 33+21=54, Resulting Numbers: [9, 2, 54]
Generated Node #0,2: 65:[9, 2, 54] Operation: 33+21=54
Moving to Node #0,2
Current State: 65:[9, 2, 54], Operations: ['33+21=54']
Exploring Operation: 9+54=63, Resulting Numbers: [2, 63]
Generated Node #0,2,2: 65:[2, 63] Operation: 9+54=63
Moving to Node #0,2,2
Current State: 65:[2, 63], Operations: ['33+21=54', '9+54=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
90,
45,
49,
28
] | 23 | [
"90/45=2",
"49-28=21",
"2+21=23"
] | Current State: 23:[90, 45, 49, 28], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [49, 28, 2]
Generated Node #2: [49, 28, 2] from Operation: 90/45=2
Current State: 23:[49, 28, 2], Operations: ['90/45=2']
Exploring Operation: 49-28=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 49-28=21
Current State: 23:[2, 21], Operations: ['90/45=2', '49-28=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[90, 45, 49, 28], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [49, 28, 2]
Generated Node #0,0: 23:[49, 28, 2] Operation: 90/45=2
Exploring Operation: 90-49=41, Resulting Numbers: [45, 28, 41]
Generated Node #0,1: 23:[45, 28, 41] Operation: 90-49=41
Moving to Node #0,1
Current State: 23:[45, 28, 41], Operations: ['90-49=41']
Exploring Operation: 45-28=17, Resulting Numbers: [41, 17]
Generated Node #0,1,0: 23:[41, 17] Operation: 45-28=17
Exploring Operation: 45-41=4, Resulting Numbers: [28, 4]
Generated Node #0,1,1: 23:[28, 4] Operation: 45-41=4
Moving to Node #0,0
Current State: 23:[49, 28, 2], Operations: ['90/45=2']
Exploring Operation: 49-2=47, Resulting Numbers: [28, 47]
Generated Node #0,0,0: 23:[28, 47] Operation: 49-2=47
Exploring Operation: 49-28=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 23:[2, 21] Operation: 49-28=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[2, 21], Operations: ['90/45=2', '49-28=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,23 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[90, 45, 49, 28], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [49, 28, 2]
Generated Node #0,0: 23:[49, 28, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 23:[49, 28, 2], Operations: ['90/45=2']
Exploring Operation: 49-28=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 23:[2, 21] Operation: 49-28=21
Moving to Node #0,0,1
Current State: 23:[2, 21], Operations: ['90/45=2', '49-28=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
74,
86,
99,
72
] | 11 | [
"74+86=160",
"99+72=171",
"171-160=11"
] | Current State: 11:[74, 86, 99, 72], Operations: []
Exploring Operation: 74+86=160, Resulting Numbers: [99, 72, 160]
Generated Node #2: [99, 72, 160] from Operation: 74+86=160
Current State: 11:[99, 72, 160], Operations: ['74+86=160']
Exploring Operation: 99+72=171, Resulting Numbers: [160, 171]
Generated Node #3: [160, 171] from Operation: 99+72=171
Current State: 11:[160, 171], Operations: ['74+86=160', '99+72=171']
Exploring Operation: 171-160=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[74, 86, 99, 72], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [74, 72, 13]
Generated Node #0,0: 11:[74, 72, 13] Operation: 99-86=13
Exploring Operation: 86-74=12, Resulting Numbers: [99, 72, 12]
Generated Node #0,1: 11:[99, 72, 12] Operation: 86-74=12
Moving to Node #0,0
Current State: 11:[74, 72, 13], Operations: ['99-86=13']
Exploring Operation: 74-72=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 11:[13, 2] Operation: 74-72=2
Exploring Operation: 74-13=61, Resulting Numbers: [72, 61]
Generated Node #0,0,1: 11:[72, 61] Operation: 74-13=61
Moving to Node #0,1
Current State: 11:[99, 72, 12], Operations: ['86-74=12']
Exploring Operation: 99-72=27, Resulting Numbers: [12, 27]
Generated Node #0,1,0: 11:[12, 27] Operation: 99-72=27
Exploring Operation: 72/12=6, Resulting Numbers: [99, 6]
Generated Node #0,1,1: 11:[99, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[12, 27], Operations: ['86-74=12', '99-72=27']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,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,1
Current State: 11:[99, 6], Operations: ['86-74=12', '72/12=6']
Exploring Operation: 99-6=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 99+6=105, Resulting Numbers: [105]
105,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 11:[13, 2], Operations: ['99-86=13', '74-72=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[74, 86, 99, 72], Operations: []
Exploring Operation: 99-86=13, Resulting Numbers: [74, 72, 13]
Generated Node #0,0: 11:[74, 72, 13] Operation: 99-86=13
Moving to Node #0,0
Current State: 11:[74, 72, 13], Operations: ['99-86=13']
Exploring Operation: 74-72=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 11:[13, 2] Operation: 74-72=2
Moving to Node #0,0,0
Current State: 11:[13, 2], Operations: ['99-86=13', '74-72=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
85,
6,
77,
2
] | 84 | [
"85+6=91",
"77+91=168",
"168/2=84"
] | Current State: 84:[85, 6, 77, 2], Operations: []
Exploring Operation: 85+6=91, Resulting Numbers: [77, 2, 91]
Generated Node #2: [77, 2, 91] from Operation: 85+6=91
Current State: 84:[77, 2, 91], Operations: ['85+6=91']
Exploring Operation: 77+91=168, Resulting Numbers: [2, 168]
Generated Node #3: [2, 168] from Operation: 77+91=168
Current State: 84:[2, 168], Operations: ['85+6=91', '77+91=168']
Exploring Operation: 168/2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[85, 6, 77, 2], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [6, 77, 83]
Generated Node #0,0: 84:[6, 77, 83] Operation: 85-2=83
Exploring Operation: 6*2=12, Resulting Numbers: [85, 77, 12]
Generated Node #0,1: 84:[85, 77, 12] Operation: 6*2=12
Exploring Operation: 77+2=79, Resulting Numbers: [85, 6, 79]
Generated Node #0,2: 84:[85, 6, 79] Operation: 77+2=79
Exploring Operation: 85-77=8, Resulting Numbers: [6, 2, 8]
Generated Node #0,3: 84:[6, 2, 8] Operation: 85-77=8
Exploring Operation: 6+77=83, Resulting Numbers: [85, 2, 83]
Generated Node #0,4: 84:[85, 2, 83] Operation: 6+77=83
Moving to Node #0,3
Current State: 84:[6, 2, 8], Operations: ['85-77=8']
Exploring Operation: 6*2=12, Resulting Numbers: [8, 12]
Generated Node #0,3,0: 84:[8, 12] Operation: 6*2=12
Exploring Operation: 8-6=2, Resulting Numbers: [2, 2]
Generated Node #0,3,1: 84:[2, 2] Operation: 8-6=2
Exploring Operation: 6+8=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 84:[2, 14] Operation: 6+8=14
Exploring Operation: 8/2=4, Resulting Numbers: [6, 4]
Generated Node #0,3,3: 84:[6, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [6, 6]
Generated Node #0,3,4: 84:[6, 6] Operation: 8-2=6
Moving to Node #0,4
Current State: 84:[85, 2, 83], Operations: ['6+77=83']
Exploring Operation: 83-2=81, Resulting Numbers: [85, 81]
Generated Node #0,4,0: 84:[85, 81] Operation: 83-2=81
Exploring Operation: 85-83=2, Resulting Numbers: [2, 2]
Generated Node #0,4,1: 84:[2, 2] Operation: 85-83=2
Exploring Operation: 2+83=85, Resulting Numbers: [85, 85]
Generated Node #0,4,2: 84:[85, 85] Operation: 2+83=85
Exploring Operation: 85-2=83, Resulting Numbers: [83, 83]
Generated Node #0,4,3: 84:[83, 83] Operation: 85-2=83
Exploring Operation: 85+2=87, Resulting Numbers: [83, 87]
Generated Node #0,4,4: 84:[83, 87] Operation: 85+2=87
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 84:[2, 2], Operations: ['6+77=83', '85-83=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 84:[85, 85], Operations: ['6+77=83', '2+83=85']
Exploring Operation: 85*85=7225, Resulting Numbers: [7225]
7225,84 unequal: No Solution
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,84 unequal: No Solution
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[83, 83], Operations: ['6+77=83', '85-2=83']
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,84 unequal: No Solution
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[85, 81], Operations: ['6+77=83', '83-2=81']
Exploring Operation: 85*81=6885, Resulting Numbers: [6885]
6885,84 unequal: No Solution
Exploring Operation: 85+81=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 84:[83, 87], Operations: ['6+77=83', '85+2=87']
Exploring Operation: 87-83=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 83*87=7221, Resulting Numbers: [7221]
7221,84 unequal: No Solution
Exploring Operation: 83+87=170, Resulting Numbers: [170]
170,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 84:[85, 6, 79], Operations: ['77+2=79']
Exploring Operation: 85-6=79, Resulting Numbers: [79, 79]
Generated Node #0,2,0: 84:[79, 79] Operation: 85-6=79
Exploring Operation: 85-79=6, Resulting Numbers: [6, 6]
Generated Node #0,2,1: 84:[6, 6] Operation: 85-79=6
Exploring Operation: 85+6=91, Resulting Numbers: [79, 91]
Generated Node #0,2,2: 84:[79, 91] Operation: 85+6=91
Exploring Operation: 6+79=85, Resulting Numbers: [85, 85]
Generated Node #0,2,3: 84:[85, 85] Operation: 6+79=85
Exploring Operation: 79-6=73, Resulting Numbers: [85, 73]
Generated Node #0,2,4: 84:[85, 73] Operation: 79-6=73
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[6, 6], Operations: ['77+2=79', '85-79=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[85, 85], Operations: ['77+2=79', '6+79=85']
Exploring Operation: 85-85=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 85*85=7225, Resulting Numbers: [7225]
7225,84 unequal: No Solution
Exploring Operation: 85/85=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 85+85=170, Resulting Numbers: [170]
170,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[79, 79], Operations: ['77+2=79', '85-6=79']
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,84 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,84 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[79, 91], Operations: ['77+2=79', '85+6=91']
Exploring Operation: 91-79=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 79*91=7189, Resulting Numbers: [7189]
7189,84 unequal: No Solution
Exploring Operation: 79+91=170, Resulting Numbers: [170]
170,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[85, 73], Operations: ['77+2=79', '79-6=73']
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,84 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,84 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: 84:[6, 77, 83], Operations: ['85-2=83']
Exploring Operation: 6+77=83, Resulting Numbers: [83, 83]
Generated Node #0,0,0: 84:[83, 83] Operation: 6+77=83
Exploring Operation: 77-6=71, Resulting Numbers: [83, 71]
Generated Node #0,0,1: 84:[83, 71] Operation: 77-6=71
Exploring Operation: 83-77=6, Resulting Numbers: [6, 6]
Generated Node #0,0,2: 84:[6, 6] Operation: 83-77=6
Exploring Operation: 6+83=89, Resulting Numbers: [77, 89]
Generated Node #0,0,3: 84:[77, 89] Operation: 6+83=89
Exploring Operation: 83-6=77, Resulting Numbers: [77, 77]
Generated Node #0,0,4: 84:[77, 77] Operation: 83-6=77
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[6, 6], Operations: ['85-2=83', '83-77=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[83, 83], Operations: ['85-2=83', '6+77=83']
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,84 unequal: No Solution
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,84 unequal: No Solution
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[77, 89], Operations: ['85-2=83', '6+83=89']
Exploring Operation: 77*89=6853, Resulting Numbers: [6853]
6853,84 unequal: No Solution
Exploring Operation: 89-77=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 77+89=166, Resulting Numbers: [166]
166,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[83, 71], Operations: ['85-2=83', '77-6=71']
Exploring Operation: 83+71=154, Resulting Numbers: [154]
154,84 unequal: No Solution
Exploring Operation: 83*71=5893, Resulting Numbers: [5893]
5893,84 unequal: No Solution
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[77, 77], Operations: ['85-2=83', '83-6=77']
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,84 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,84 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 84:[85, 77, 12], Operations: ['6*2=12']
Exploring Operation: 77-12=65, Resulting Numbers: [85, 65]
Generated Node #0,1,0: 84:[85, 65] Operation: 77-12=65
Exploring Operation: 85-77=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 84:[12, 8] Operation: 85-77=8
Exploring Operation: 85+12=97, Resulting Numbers: [77, 97]
Generated Node #0,1,2: 84:[77, 97] Operation: 85+12=97
Exploring Operation: 77+12=89, Resulting Numbers: [85, 89]
Generated Node #0,1,3: 84:[85, 89] Operation: 77+12=89
Exploring Operation: 85-12=73, Resulting Numbers: [77, 73]
Generated Node #0,1,4: 84:[77, 73] Operation: 85-12=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[12, 8], Operations: ['6*2=12', '85-77=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[85, 89], Operations: ['6*2=12', '77+12=89']
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,84 unequal: No Solution
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 84:[77, 73], Operations: ['6*2=12', '85-12=73']
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,84 unequal: No Solution
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,84 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[85, 65], Operations: ['6*2=12', '77-12=65']
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 85+65=150, Resulting Numbers: [150]
150,84 unequal: No Solution
Exploring Operation: 85*65=5525, Resulting Numbers: [5525]
5525,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[77, 97], Operations: ['6*2=12', '85+12=97']
Exploring Operation: 77+97=174, Resulting Numbers: [174]
174,84 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 77*97=7469, Resulting Numbers: [7469]
7469,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 84:[2, 2], Operations: ['85-77=8', '8-6=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[6, 4], Operations: ['85-77=8', '8/2=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,84 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[2, 14], Operations: ['85-77=8', '6+8=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,84 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[6, 6], Operations: ['85-77=8', '8-2=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[8, 12], Operations: ['85-77=8', '6*2=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,84 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
1,
20,
47,
39
] | 29 | [
"1+20=21",
"47-39=8",
"21+8=29"
] | Current State: 29:[1, 20, 47, 39], Operations: []
Exploring Operation: 1+20=21, Resulting Numbers: [47, 39, 21]
Generated Node #2: [47, 39, 21] from Operation: 1+20=21
Current State: 29:[47, 39, 21], Operations: ['1+20=21']
Exploring Operation: 47-39=8, Resulting Numbers: [21, 8]
Generated Node #3: [21, 8] from Operation: 47-39=8
Current State: 29:[21, 8], Operations: ['1+20=21', '47-39=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[1, 20, 47, 39], Operations: []
Exploring Operation: 47-1=46, Resulting Numbers: [20, 39, 46]
Generated Node #0,0: 29:[20, 39, 46] Operation: 47-1=46
Exploring Operation: 1+20=21, Resulting Numbers: [47, 39, 21]
Generated Node #0,1: 29:[47, 39, 21] Operation: 1+20=21
Exploring Operation: 39-1=38, Resulting Numbers: [20, 47, 38]
Generated Node #0,2: 29:[20, 47, 38] Operation: 39-1=38
Exploring Operation: 1*20=20, Resulting Numbers: [47, 39, 20]
Generated Node #0,3: 29:[47, 39, 20] Operation: 1*20=20
Moving to Node #0,0
Current State: 29:[20, 39, 46], Operations: ['47-1=46']
Exploring Operation: 46-20=26, Resulting Numbers: [39, 26]
Generated Node #0,0,0: 29:[39, 26] Operation: 46-20=26
Exploring Operation: 46-39=7, Resulting Numbers: [20, 7]
Generated Node #0,0,1: 29:[20, 7] Operation: 46-39=7
Exploring Operation: 39-20=19, Resulting Numbers: [46, 19]
Generated Node #0,0,2: 29:[46, 19] Operation: 39-20=19
Exploring Operation: 20+39=59, Resulting Numbers: [46, 59]
Generated Node #0,0,3: 29:[46, 59] Operation: 20+39=59
Moving to Node #0,2
Current State: 29:[20, 47, 38], Operations: ['39-1=38']
Exploring Operation: 47-20=27, Resulting Numbers: [38, 27]
Generated Node #0,2,0: 29:[38, 27] Operation: 47-20=27
Exploring Operation: 20+47=67, Resulting Numbers: [38, 67]
Generated Node #0,2,1: 29:[38, 67] Operation: 20+47=67
Exploring Operation: 38-20=18, Resulting Numbers: [47, 18]
Generated Node #0,2,2: 29:[47, 18] Operation: 38-20=18
Exploring Operation: 47-38=9, Resulting Numbers: [20, 9]
Generated Node #0,2,3: 29:[20, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[38, 27], Operations: ['39-1=38', '47-20=27']
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[47, 18], Operations: ['39-1=38', '38-20=18']
Exploring Operation: 47*18=846, Resulting Numbers: [846]
846,29 unequal: No Solution
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,29 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[1, 20, 47, 39], Operations: []
Exploring Operation: 39-1=38, Resulting Numbers: [20, 47, 38]
Generated Node #0,2: 29:[20, 47, 38] Operation: 39-1=38
Moving to Node #0,2
Current State: 29:[20, 47, 38], Operations: ['39-1=38']
Exploring Operation: 38-20=18, Resulting Numbers: [47, 18]
Generated Node #0,2,2: 29:[47, 18] Operation: 38-20=18
Moving to Node #0,2,2
Current State: 29:[47, 18], Operations: ['39-1=38', '38-20=18']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
81,
38,
84,
52
] | 62 | [
"84-81=3",
"38*3=114",
"114-52=62"
] | Current State: 62:[81, 38, 84, 52], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [38, 52, 3]
Generated Node #2: [38, 52, 3] from Operation: 84-81=3
Current State: 62:[38, 52, 3], Operations: ['84-81=3']
Exploring Operation: 38*3=114, Resulting Numbers: [52, 114]
Generated Node #3: [52, 114] from Operation: 38*3=114
Current State: 62:[52, 114], Operations: ['84-81=3', '38*3=114']
Exploring Operation: 114-52=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[81, 38, 84, 52], Operations: []
Exploring Operation: 84-52=32, Resulting Numbers: [81, 38, 32]
Generated Node #0,0: 62:[81, 38, 32] Operation: 84-52=32
Exploring Operation: 84-81=3, Resulting Numbers: [38, 52, 3]
Generated Node #0,1: 62:[38, 52, 3] Operation: 84-81=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[38, 52, 3], Operations: ['84-81=3']
Exploring Operation: 52-38=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 62:[3, 14] Operation: 52-38=14
Exploring Operation: 38-3=35, Resulting Numbers: [52, 35]
Generated Node #0,1,1: 62:[52, 35] Operation: 38-3=35
Moving to Node #0,1,0
Current State: 62:[3, 14], Operations: ['84-81=3', '52-38=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[52, 35], Operations: ['84-81=3', '38-3=35']
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,62 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,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:[81, 38, 32], Operations: ['84-52=32']
Exploring Operation: 81-38=43, Resulting Numbers: [32, 43]
Generated Node #0,0,0: 62:[32, 43] Operation: 81-38=43
Exploring Operation: 81-32=49, Resulting Numbers: [38, 49]
Generated Node #0,0,1: 62:[38, 49] Operation: 81-32=49
Moving to Node #0,0,0
Current State: 62:[32, 43], Operations: ['84-52=32', '81-38=43']
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[38, 49], Operations: ['84-52=32', '81-32=49']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,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 | sum_heuristic |
[
77,
14,
5,
29
] | 39 | [
"77-14=63",
"29-5=24",
"63-24=39"
] | Current State: 39:[77, 14, 5, 29], Operations: []
Exploring Operation: 77-14=63, Resulting Numbers: [5, 29, 63]
Generated Node #2: [5, 29, 63] from Operation: 77-14=63
Current State: 39:[5, 29, 63], Operations: ['77-14=63']
Exploring Operation: 29-5=24, Resulting Numbers: [63, 24]
Generated Node #3: [63, 24] from Operation: 29-5=24
Current State: 39:[63, 24], Operations: ['77-14=63', '29-5=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[77, 14, 5, 29], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [14, 5, 48]
Generated Node #0,0: 39:[14, 5, 48] Operation: 77-29=48
Exploring Operation: 77-14=63, Resulting Numbers: [5, 29, 63]
Generated Node #0,1: 39:[5, 29, 63] Operation: 77-14=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[14, 5, 48], Operations: ['77-29=48']
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #0,0,0: 39:[5, 34] Operation: 48-14=34
Exploring Operation: 48-5=43, Resulting Numbers: [14, 43]
Generated Node #0,0,1: 39:[14, 43] Operation: 48-5=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[14, 43], Operations: ['77-29=48', '48-5=43']
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[5, 34], Operations: ['77-29=48', '48-14=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[77, 14, 5, 29], Operations: []
Exploring Operation: 77-29=48, Resulting Numbers: [14, 5, 48]
Generated Node #0,0: 39:[14, 5, 48] Operation: 77-29=48
Moving to Node #0,0
Current State: 39:[14, 5, 48], Operations: ['77-29=48']
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #0,0,0: 39:[5, 34] Operation: 48-14=34
Moving to Node #0,0,0
Current State: 39:[5, 34], Operations: ['77-29=48', '48-14=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
71,
54,
61,
9
] | 54 | [
"71-61=10",
"10-9=1",
"54*1=54"
] | Current State: 54:[71, 54, 61, 9], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [54, 9, 10]
Generated Node #2: [54, 9, 10] from Operation: 71-61=10
Current State: 54:[54, 9, 10], Operations: ['71-61=10']
Exploring Operation: 10-9=1, Resulting Numbers: [54, 1]
Generated Node #3: [54, 1] from Operation: 10-9=1
Current State: 54:[54, 1], Operations: ['71-61=10', '10-9=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[71, 54, 61, 9], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [54, 9, 10]
Generated Node #0,0: 54:[54, 9, 10] Operation: 71-61=10
Moving to Node #0,0
Current State: 54:[54, 9, 10], Operations: ['71-61=10']
Exploring Operation: 54/9=6, Resulting Numbers: [10, 6]
Generated Node #0,0,0: 54:[10, 6] Operation: 54/9=6
Moving to Node #0,0,0
Current State: 54:[10, 6], Operations: ['71-61=10', '54/9=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,54 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
59,
95,
61
] | 43 | [
"95-61=34",
"3*34=102",
"102-59=43"
] | Current State: 43:[3, 59, 95, 61], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [3, 59, 34]
Generated Node #2: [3, 59, 34] from Operation: 95-61=34
Current State: 43:[3, 59, 34], Operations: ['95-61=34']
Exploring Operation: 3*34=102, Resulting Numbers: [59, 102]
Generated Node #3: [59, 102] from Operation: 3*34=102
Current State: 43:[59, 102], Operations: ['95-61=34', '3*34=102']
Exploring Operation: 102-59=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 59, 95, 61], Operations: []
Exploring Operation: 95-59=36, Resulting Numbers: [3, 61, 36]
Generated Node #0,0: 43:[3, 61, 36] Operation: 95-59=36
Exploring Operation: 95-61=34, Resulting Numbers: [3, 59, 34]
Generated Node #0,1: 43:[3, 59, 34] Operation: 95-61=34
Exploring Operation: 61-3=58, Resulting Numbers: [59, 95, 58]
Generated Node #0,2: 43:[59, 95, 58] Operation: 61-3=58
Exploring Operation: 59-3=56, Resulting Numbers: [95, 61, 56]
Generated Node #0,3: 43:[95, 61, 56] Operation: 59-3=56
Exploring Operation: 95-3=92, Resulting Numbers: [59, 61, 92]
Generated Node #0,4: 43:[59, 61, 92] Operation: 95-3=92
Moving to Node #0,0
Current State: 43:[3, 61, 36], Operations: ['95-59=36']
Exploring Operation: 36/3=12, Resulting Numbers: [61, 12]
Generated Node #0,0,0: 43:[61, 12] Operation: 36/3=12
Exploring Operation: 3+61=64, Resulting Numbers: [36, 64]
Generated Node #0,0,1: 43:[36, 64] Operation: 3+61=64
Exploring Operation: 36-3=33, Resulting Numbers: [61, 33]
Generated Node #0,0,2: 43:[61, 33] Operation: 36-3=33
Exploring Operation: 61-3=58, Resulting Numbers: [36, 58]
Generated Node #0,0,3: 43:[36, 58] Operation: 61-3=58
Exploring Operation: 3+36=39, Resulting Numbers: [61, 39]
Generated Node #0,0,4: 43:[61, 39] Operation: 3+36=39
Moving to Node #0,1
Current State: 43:[3, 59, 34], Operations: ['95-61=34']
Exploring Operation: 59-3=56, Resulting Numbers: [34, 56]
Generated Node #0,1,0: 43:[34, 56] Operation: 59-3=56
Exploring Operation: 59-34=25, Resulting Numbers: [3, 25]
Generated Node #0,1,1: 43:[3, 25] Operation: 59-34=25
Exploring Operation: 34-3=31, Resulting Numbers: [59, 31]
Generated Node #0,1,2: 43:[59, 31] Operation: 34-3=31
Exploring Operation: 3+34=37, Resulting Numbers: [59, 37]
Generated Node #0,1,3: 43:[59, 37] Operation: 3+34=37
Exploring Operation: 3+59=62, Resulting Numbers: [34, 62]
Generated Node #0,1,4: 43:[34, 62] Operation: 3+59=62
Moving to Node #0,2
Current State: 43:[59, 95, 58], Operations: ['61-3=58']
Exploring Operation: 95-59=36, Resulting Numbers: [58, 36]
Generated Node #0,2,0: 43:[58, 36] Operation: 95-59=36
Exploring Operation: 95-58=37, Resulting Numbers: [59, 37]
Generated Node #0,2,1: 43:[59, 37] Operation: 95-58=37
Exploring Operation: 59+95=154, Resulting Numbers: [58, 154]
Generated Node #0,2,2: 43:[58, 154] Operation: 59+95=154
Exploring Operation: 59+58=117, Resulting Numbers: [95, 117]
Generated Node #0,2,3: 43:[95, 117] Operation: 59+58=117
Exploring Operation: 59-58=1, Resulting Numbers: [95, 1]
Generated Node #0,2,4: 43:[95, 1] Operation: 59-58=1
Moving to Node #0,3
Current State: 43:[95, 61, 56], Operations: ['59-3=56']
Exploring Operation: 95-56=39, Resulting Numbers: [61, 39]
Generated Node #0,3,0: 43:[61, 39] Operation: 95-56=39
Exploring Operation: 95+56=151, Resulting Numbers: [61, 151]
Generated Node #0,3,1: 43:[61, 151] Operation: 95+56=151
Exploring Operation: 95+61=156, Resulting Numbers: [56, 156]
Generated Node #0,3,2: 43:[56, 156] Operation: 95+61=156
Exploring Operation: 61-56=5, Resulting Numbers: [95, 5]
Generated Node #0,3,3: 43:[95, 5] Operation: 61-56=5
Exploring Operation: 95-61=34, Resulting Numbers: [56, 34]
Generated Node #0,3,4: 43:[56, 34] Operation: 95-61=34
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[61, 39], Operations: ['59-3=56', '95-56=39']
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,43 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 43:[56, 34], Operations: ['59-3=56', '95-61=34']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[95, 5], Operations: ['59-3=56', '61-56=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,43 unequal: No Solution
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[61, 151], Operations: ['59-3=56', '95+56=151']
Exploring Operation: 151-61=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 61*151=9211, Resulting Numbers: [9211]
9211,43 unequal: No Solution
Exploring Operation: 61+151=212, Resulting Numbers: [212]
212,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[56, 156], Operations: ['59-3=56', '95+61=156']
Exploring Operation: 56+156=212, Resulting Numbers: [212]
212,43 unequal: No Solution
Exploring Operation: 156-56=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 56*156=8736, Resulting Numbers: [8736]
8736,43 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: 43:[59, 61, 92], Operations: ['95-3=92']
Exploring Operation: 59+61=120, Resulting Numbers: [92, 120]
Generated Node #0,4,0: 43:[92, 120] Operation: 59+61=120
Exploring Operation: 61-59=2, Resulting Numbers: [92, 2]
Generated Node #0,4,1: 43:[92, 2] Operation: 61-59=2
Exploring Operation: 92-59=33, Resulting Numbers: [61, 33]
Generated Node #0,4,2: 43:[61, 33] Operation: 92-59=33
Exploring Operation: 59+92=151, Resulting Numbers: [61, 151]
Generated Node #0,4,3: 43:[61, 151] Operation: 59+92=151
Exploring Operation: 92-61=31, Resulting Numbers: [59, 31]
Generated Node #0,4,4: 43:[59, 31] Operation: 92-61=31
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 43:[61, 33], Operations: ['95-3=92', '92-59=33']
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,43 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 43:[59, 31], Operations: ['95-3=92', '92-61=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,43 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 43:[92, 2], Operations: ['95-3=92', '61-59=2']
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,43 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 43:[92, 120], Operations: ['95-3=92', '59+61=120']
Exploring Operation: 92+120=212, Resulting Numbers: [212]
212,43 unequal: No Solution
Exploring Operation: 120-92=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 92*120=11040, Resulting Numbers: [11040]
11040,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 43:[61, 151], Operations: ['95-3=92', '59+92=151']
Exploring Operation: 61+151=212, Resulting Numbers: [212]
212,43 unequal: No Solution
Exploring Operation: 151-61=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Exploring Operation: 61*151=9211, Resulting Numbers: [9211]
9211,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 43:[36, 58], Operations: ['95-59=36', '61-3=58']
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[34, 56], Operations: ['95-61=34', '59-3=56']
Exploring Operation: 34*56=1904, Resulting Numbers: [1904]
1904,43 unequal: No Solution
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[59, 37], Operations: ['95-61=34', '3+34=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,43 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[59, 37], Operations: ['61-3=58', '95-58=37']
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,43 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[61, 39], Operations: ['95-59=36', '3+36=39']
Exploring Operation: 61*39=2379, Resulting Numbers: [2379]
2379,43 unequal: No Solution
Exploring Operation: 61+39=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 61-39=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[58, 36], Operations: ['61-3=58', '95-59=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,43 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[36, 64], Operations: ['95-59=36', '3+61=64']
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[61, 33], Operations: ['95-59=36', '36-3=33']
Exploring Operation: 61*33=2013, Resulting Numbers: [2013]
2013,43 unequal: No Solution
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[34, 62], Operations: ['95-61=34', '3+59=62']
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 34*62=2108, Resulting Numbers: [2108]
2108,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[59, 31], Operations: ['95-61=34', '34-3=31']
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,43 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[61, 12], Operations: ['95-59=36', '36/3=12']
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,43 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,43 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[3, 25], Operations: ['95-61=34', '59-34=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[95, 1], Operations: ['61-3=58', '59-58=1']
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[95, 117], Operations: ['61-3=58', '59+58=117']
Exploring Operation: 95+117=212, Resulting Numbers: [212]
212,43 unequal: No Solution
Exploring Operation: 95*117=11115, Resulting Numbers: [11115]
11115,43 unequal: No Solution
Exploring Operation: 117-95=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[58, 154], Operations: ['61-3=58', '59+95=154']
Exploring Operation: 58*154=8932, Resulting Numbers: [8932]
8932,43 unequal: No Solution
Exploring Operation: 154-58=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 58+154=212, Resulting Numbers: [212]
212,43 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
87,
11,
3
] | 66 | [
"87-84=3",
"3+3=6",
"11*6=66"
] | Current State: 66:[84, 87, 11, 3], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [11, 3, 3]
Generated Node #2: [11, 3, 3] from Operation: 87-84=3
Current State: 66:[11, 3, 3], Operations: ['87-84=3']
Exploring Operation: 3+3=6, Resulting Numbers: [11, 6]
Generated Node #3: [11, 6] from Operation: 3+3=6
Current State: 66:[11, 6], Operations: ['87-84=3', '3+3=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[84, 87, 11, 3], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [11, 3, 3]
Generated Node #0,0: 66:[11, 3, 3] Operation: 87-84=3
Moving to Node #0,0
Current State: 66:[11, 3, 3], Operations: ['87-84=3']
Exploring Operation: 11*3=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 66:[3, 33] Operation: 11*3=33
Moving to Node #0,0,0
Current State: 66:[3, 33], Operations: ['87-84=3', '11*3=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
32,
20,
19,
46
] | 100 | [
"32+19=51",
"51-46=5",
"20*5=100"
] | Current State: 100:[32, 20, 19, 46], Operations: []
Exploring Operation: 32+19=51, Resulting Numbers: [20, 46, 51]
Generated Node #2: [20, 46, 51] from Operation: 32+19=51
Current State: 100:[20, 46, 51], Operations: ['32+19=51']
Exploring Operation: 51-46=5, Resulting Numbers: [20, 5]
Generated Node #3: [20, 5] from Operation: 51-46=5
Current State: 100:[20, 5], Operations: ['32+19=51', '51-46=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[32, 20, 19, 46], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [20, 19, 14]
Generated Node #0,0: 100:[20, 19, 14] Operation: 46-32=14
Exploring Operation: 32-20=12, Resulting Numbers: [19, 46, 12]
Generated Node #0,1: 100:[19, 46, 12] Operation: 32-20=12
Exploring Operation: 32+19=51, Resulting Numbers: [20, 46, 51]
Generated Node #0,2: 100:[20, 46, 51] Operation: 32+19=51
Exploring Operation: 32-19=13, Resulting Numbers: [20, 46, 13]
Generated Node #0,3: 100:[20, 46, 13] Operation: 32-19=13
Exploring Operation: 32+20=52, Resulting Numbers: [19, 46, 52]
Generated Node #0,4: 100:[19, 46, 52] Operation: 32+20=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[20, 19, 14], Operations: ['46-32=14']
Exploring Operation: 20-19=1, Resulting Numbers: [14, 1]
Generated Node #0,0,0: 100:[14, 1] Operation: 20-19=1
Exploring Operation: 20+14=34, Resulting Numbers: [19, 34]
Generated Node #0,0,1: 100:[19, 34] Operation: 20+14=34
Exploring Operation: 20-14=6, Resulting Numbers: [19, 6]
Generated Node #0,0,2: 100:[19, 6] Operation: 20-14=6
Exploring Operation: 19-14=5, Resulting Numbers: [20, 5]
Generated Node #0,0,3: 100:[20, 5] Operation: 19-14=5
Exploring Operation: 19+14=33, Resulting Numbers: [20, 33]
Generated Node #0,0,4: 100:[20, 33] Operation: 19+14=33
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[20, 5], Operations: ['46-32=14', '19-14=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[32, 20, 19, 46], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [20, 19, 14]
Generated Node #0,0: 100:[20, 19, 14] Operation: 46-32=14
Moving to Node #0,0
Current State: 100:[20, 19, 14], Operations: ['46-32=14']
Exploring Operation: 19-14=5, Resulting Numbers: [20, 5]
Generated Node #0,0,3: 100:[20, 5] Operation: 19-14=5
Moving to Node #0,0,3
Current State: 100:[20, 5], Operations: ['46-32=14', '19-14=5']
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
39,
57,
55,
59
] | 37 | [
"55+59=114",
"114/57=2",
"39-2=37"
] | Current State: 37:[39, 57, 55, 59], Operations: []
Exploring Operation: 55+59=114, Resulting Numbers: [39, 57, 114]
Generated Node #2: [39, 57, 114] from Operation: 55+59=114
Current State: 37:[39, 57, 114], Operations: ['55+59=114']
Exploring Operation: 114/57=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 114/57=2
Current State: 37:[39, 2], Operations: ['55+59=114', '114/57=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[39, 57, 55, 59], Operations: []
Exploring Operation: 59-39=20, Resulting Numbers: [57, 55, 20]
Generated Node #0,0: 37:[57, 55, 20] Operation: 59-39=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[57, 55, 20], Operations: ['59-39=20']
Exploring Operation: 57-20=37, Resulting Numbers: [55, 37]
Generated Node #0,0,0: 37:[55, 37] Operation: 57-20=37
Moving to Node #0,0,0
Current State: 37:[55, 37], Operations: ['59-39=20', '57-20=37']
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
70,
16,
56,
35
] | 44 | [
"70/35=2",
"56/2=28",
"16+28=44"
] | Current State: 44:[70, 16, 56, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [16, 56, 2]
Generated Node #2: [16, 56, 2] from Operation: 70/35=2
Current State: 44:[16, 56, 2], Operations: ['70/35=2']
Exploring Operation: 56/2=28, Resulting Numbers: [16, 28]
Generated Node #3: [16, 28] from Operation: 56/2=28
Current State: 44:[16, 28], Operations: ['70/35=2', '56/2=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[70, 16, 56, 35], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [16, 35, 14]
Generated Node #0,0: 44:[16, 35, 14] Operation: 70-56=14
Exploring Operation: 70/35=2, Resulting Numbers: [16, 56, 2]
Generated Node #0,1: 44:[16, 56, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[16, 35, 14], Operations: ['70-56=14']
Exploring Operation: 35-16=19, Resulting Numbers: [14, 19]
Generated Node #0,0,0: 44:[14, 19] Operation: 35-16=19
Exploring Operation: 35-14=21, Resulting Numbers: [16, 21]
Generated Node #0,0,1: 44:[16, 21] Operation: 35-14=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[14, 19], Operations: ['70-56=14', '35-16=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,44 unequal: No Solution
No 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: 44:[16, 21], Operations: ['70-56=14', '35-14=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,44 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: 44:[16, 56, 2], Operations: ['70/35=2']
Exploring Operation: 56-16=40, Resulting Numbers: [2, 40]
Generated Node #0,1,0: 44:[2, 40] Operation: 56-16=40
Exploring Operation: 56/2=28, Resulting Numbers: [16, 28]
Generated Node #0,1,1: 44:[16, 28] Operation: 56/2=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[2, 40], Operations: ['70/35=2', '56-16=40']
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,44 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,44 unequal: No Solution
No 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: 44:[16, 28], Operations: ['70/35=2', '56/2=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[70, 16, 56, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [16, 56, 2]
Generated Node #0,1: 44:[16, 56, 2] Operation: 70/35=2
Moving to Node #0,1
Current State: 44:[16, 56, 2], Operations: ['70/35=2']
Exploring Operation: 56/2=28, Resulting Numbers: [16, 28]
Generated Node #0,1,1: 44:[16, 28] Operation: 56/2=28
Moving to Node #0,1,1
Current State: 44:[16, 28], Operations: ['70/35=2', '56/2=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
25,
31,
86,
59
] | 83 | [
"25+31=56",
"86-59=27",
"56+27=83"
] | Current State: 83:[25, 31, 86, 59], Operations: []
Exploring Operation: 25+31=56, Resulting Numbers: [86, 59, 56]
Generated Node #2: [86, 59, 56] from Operation: 25+31=56
Current State: 83:[86, 59, 56], Operations: ['25+31=56']
Exploring Operation: 86-59=27, Resulting Numbers: [56, 27]
Generated Node #3: [56, 27] from Operation: 86-59=27
Current State: 83:[56, 27], Operations: ['25+31=56', '86-59=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[25, 31, 86, 59], Operations: []
Exploring Operation: 31+59=90, Resulting Numbers: [25, 86, 90]
Generated Node #0,0: 83:[25, 86, 90] Operation: 31+59=90
Exploring Operation: 25+59=84, Resulting Numbers: [31, 86, 84]
Generated Node #0,1: 83:[31, 86, 84] Operation: 25+59=84
Exploring Operation: 25+31=56, Resulting Numbers: [86, 59, 56]
Generated Node #0,2: 83:[86, 59, 56] Operation: 25+31=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[86, 59, 56], Operations: ['25+31=56']
Exploring Operation: 86-56=30, Resulting Numbers: [59, 30]
Generated Node #0,2,0: 83:[59, 30] Operation: 86-56=30
Exploring Operation: 59+56=115, Resulting Numbers: [86, 115]
Generated Node #0,2,1: 83:[86, 115] Operation: 59+56=115
Exploring Operation: 86-59=27, Resulting Numbers: [56, 27]
Generated Node #0,2,2: 83:[56, 27] Operation: 86-59=27
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 83:[86, 115], Operations: ['25+31=56', '59+56=115']
Exploring Operation: 86+115=201, Resulting Numbers: [201]
201,83 unequal: No Solution
Exploring Operation: 86*115=9890, Resulting Numbers: [9890]
9890,83 unequal: No Solution
Exploring Operation: 115-86=29, Resulting Numbers: [29]
29,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,2,0
Current State: 83:[59, 30], Operations: ['25+31=56', '86-56=30']
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,83 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,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,2,2
Current State: 83:[56, 27], Operations: ['25+31=56', '86-59=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[25, 31, 86, 59], Operations: []
Exploring Operation: 25+31=56, Resulting Numbers: [86, 59, 56]
Generated Node #0,2: 83:[86, 59, 56] Operation: 25+31=56
Moving to Node #0,2
Current State: 83:[86, 59, 56], Operations: ['25+31=56']
Exploring Operation: 86-59=27, Resulting Numbers: [56, 27]
Generated Node #0,2,2: 83:[56, 27] Operation: 86-59=27
Moving to Node #0,2,2
Current State: 83:[56, 27], Operations: ['25+31=56', '86-59=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
17,
60,
6,
20
] | 33 | [
"17-6=11",
"60/20=3",
"11*3=33"
] | Current State: 33:[17, 60, 6, 20], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [60, 20, 11]
Generated Node #2: [60, 20, 11] from Operation: 17-6=11
Current State: 33:[60, 20, 11], Operations: ['17-6=11']
Exploring Operation: 60/20=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 60/20=3
Current State: 33:[11, 3], Operations: ['17-6=11', '60/20=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[17, 60, 6, 20], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [17, 20, 10]
Generated Node #0,0: 33:[17, 20, 10] Operation: 60/6=10
Exploring Operation: 60-20=40, Resulting Numbers: [17, 6, 40]
Generated Node #0,1: 33:[17, 6, 40] Operation: 60-20=40
Exploring Operation: 60/20=3, Resulting Numbers: [17, 6, 3]
Generated Node #0,2: 33:[17, 6, 3] Operation: 60/20=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[17, 6, 3], Operations: ['60/20=3']
Exploring Operation: 17-3=14, Resulting Numbers: [6, 14]
Generated Node #0,2,0: 33:[6, 14] Operation: 17-3=14
Exploring Operation: 6-3=3, Resulting Numbers: [17, 3]
Generated Node #0,2,1: 33:[17, 3] Operation: 6-3=3
Exploring Operation: 17-6=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 33:[3, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[3, 11], Operations: ['60/20=3', '17-6=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[17, 60, 6, 20], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [17, 6, 3]
Generated Node #0,2: 33:[17, 6, 3] Operation: 60/20=3
Moving to Node #0,2
Current State: 33:[17, 6, 3], Operations: ['60/20=3']
Exploring Operation: 17-6=11, Resulting Numbers: [3, 11]
Generated Node #0,2,2: 33:[3, 11] Operation: 17-6=11
Moving to Node #0,2,2
Current State: 33:[3, 11], Operations: ['60/20=3', '17-6=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
52,
45,
61,
42
] | 12 | [
"52-45=7",
"61-42=19",
"19-7=12"
] | Current State: 12:[52, 45, 61, 42], Operations: []
Exploring Operation: 52-45=7, Resulting Numbers: [61, 42, 7]
Generated Node #2: [61, 42, 7] from Operation: 52-45=7
Current State: 12:[61, 42, 7], Operations: ['52-45=7']
Exploring Operation: 61-42=19, Resulting Numbers: [7, 19]
Generated Node #3: [7, 19] from Operation: 61-42=19
Current State: 12:[7, 19], Operations: ['52-45=7', '61-42=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[52, 45, 61, 42], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [45, 42, 9]
Generated Node #0,0: 12:[45, 42, 9] Operation: 61-52=9
Exploring Operation: 52-45=7, Resulting Numbers: [61, 42, 7]
Generated Node #0,1: 12:[61, 42, 7] Operation: 52-45=7
Exploring Operation: 61-45=16, Resulting Numbers: [52, 42, 16]
Generated Node #0,2: 12:[52, 42, 16] Operation: 61-45=16
Moving to Node #0,0
Current State: 12:[45, 42, 9], Operations: ['61-52=9']
Exploring Operation: 45-42=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 12:[9, 3] Operation: 45-42=3
Exploring Operation: 45-9=36, Resulting Numbers: [42, 36]
Generated Node #0,0,1: 12:[42, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [42, 5]
Generated Node #0,0,2: 12:[42, 5] Operation: 45/9=5
Moving to Node #0,2
Current State: 12:[52, 42, 16], Operations: ['61-45=16']
Exploring Operation: 52-16=36, Resulting Numbers: [42, 36]
Generated Node #0,2,0: 12:[42, 36] Operation: 52-16=36
Exploring Operation: 42-16=26, Resulting Numbers: [52, 26]
Generated Node #0,2,1: 12:[52, 26] Operation: 42-16=26
Exploring Operation: 52-42=10, Resulting Numbers: [16, 10]
Generated Node #0,2,2: 12:[16, 10] Operation: 52-42=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[16, 10], Operations: ['61-45=16', '52-42=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,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:[42, 36], Operations: ['61-45=16', '52-16=36']
Exploring Operation: 42+36=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 42*36=1512, Resulting Numbers: [1512]
1512,12 unequal: No Solution
Exploring Operation: 42-36=6, Resulting Numbers: [6]
6,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:[52, 26], Operations: ['61-45=16', '42-16=26']
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,12 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: 12:[61, 42, 7], Operations: ['52-45=7']
Exploring Operation: 61-7=54, Resulting Numbers: [42, 54]
Generated Node #0,1,0: 12:[42, 54] Operation: 61-7=54
Exploring Operation: 42/7=6, Resulting Numbers: [61, 6]
Generated Node #0,1,1: 12:[61, 6] Operation: 42/7=6
Exploring Operation: 61-42=19, Resulting Numbers: [7, 19]
Generated Node #0,1,2: 12:[7, 19] Operation: 61-42=19
Moving to Node #0,0,0
Current State: 12:[9, 3], Operations: ['61-52=9', '45-42=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[52, 45, 61, 42], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [45, 42, 9]
Generated Node #0,0: 12:[45, 42, 9] Operation: 61-52=9
Moving to Node #0,0
Current State: 12:[45, 42, 9], Operations: ['61-52=9']
Exploring Operation: 45-42=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 12:[9, 3] Operation: 45-42=3
Moving to Node #0,0,0
Current State: 12:[9, 3], Operations: ['61-52=9', '45-42=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
36,
31,
8,
38
] | 54 | [
"38-36=2",
"31*2=62",
"62-8=54"
] | Current State: 54:[36, 31, 8, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [31, 8, 2]
Generated Node #2: [31, 8, 2] from Operation: 38-36=2
Current State: 54:[31, 8, 2], Operations: ['38-36=2']
Exploring Operation: 31*2=62, Resulting Numbers: [8, 62]
Generated Node #3: [8, 62] from Operation: 31*2=62
Current State: 54:[8, 62], Operations: ['38-36=2', '31*2=62']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[36, 31, 8, 38], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [31, 8, 2]
Generated Node #0,0: 54:[31, 8, 2] Operation: 38-36=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[31, 8, 2], Operations: ['38-36=2']
Exploring Operation: 31-2=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 54:[8, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[8, 29], Operations: ['38-36=2', '31-2=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
51,
2,
50
] | 40 | [
"51-2=49",
"50-49=1",
"40*1=40"
] | Current State: 40:[40, 51, 2, 50], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [40, 50, 49]
Generated Node #2: [40, 50, 49] from Operation: 51-2=49
Current State: 40:[40, 50, 49], Operations: ['51-2=49']
Exploring Operation: 50-49=1, Resulting Numbers: [40, 1]
Generated Node #3: [40, 1] from Operation: 50-49=1
Current State: 40:[40, 1], Operations: ['51-2=49', '50-49=1']
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[40, 51, 2, 50], Operations: []
Exploring Operation: 50-40=10, Resulting Numbers: [51, 2, 10]
Generated Node #0,0: 40:[51, 2, 10] Operation: 50-40=10
Exploring Operation: 51-2=49, Resulting Numbers: [40, 50, 49]
Generated Node #0,1: 40:[40, 50, 49] Operation: 51-2=49
Exploring Operation: 50/2=25, Resulting Numbers: [40, 51, 25]
Generated Node #0,2: 40:[40, 51, 25] Operation: 50/2=25
Exploring Operation: 51-40=11, Resulting Numbers: [2, 50, 11]
Generated Node #0,3: 40:[2, 50, 11] Operation: 51-40=11
Exploring Operation: 51-50=1, Resulting Numbers: [40, 2, 1]
Generated Node #0,4: 40:[40, 2, 1] Operation: 51-50=1
Moving to Node #0,4
Current State: 40:[40, 2, 1], Operations: ['51-50=1']
Exploring Operation: 2*1=2, Resulting Numbers: [40, 2]
Generated Node #0,4,0: 40:[40, 2] Operation: 2*1=2
Exploring Operation: 40*1=40, Resulting Numbers: [2, 40]
Generated Node #0,4,1: 40:[2, 40] Operation: 40*1=40
Exploring Operation: 2/1=2, Resulting Numbers: [40, 2]
Generated Node #0,4,2: 40:[40, 2] Operation: 2/1=2
Exploring Operation: 40/2=20, Resulting Numbers: [1, 20]
Generated Node #0,4,3: 40:[1, 20] Operation: 40/2=20
Exploring Operation: 40/1=40, Resulting Numbers: [2, 40]
Generated Node #0,4,4: 40:[2, 40] Operation: 40/1=40
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[40, 2], Operations: ['51-50=1', '2*1=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 40:[2, 40], Operations: ['51-50=1', '40*1=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 40:[40, 2], Operations: ['51-50=1', '2/1=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 40:[2, 40], Operations: ['51-50=1', '40/1=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[1, 20], Operations: ['51-50=1', '40/2=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,40 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: 40:[2, 50, 11], Operations: ['51-40=11']
Exploring Operation: 50-2=48, Resulting Numbers: [11, 48]
Generated Node #0,3,0: 40:[11, 48] Operation: 50-2=48
Exploring Operation: 50-11=39, Resulting Numbers: [2, 39]
Generated Node #0,3,1: 40:[2, 39] Operation: 50-11=39
Exploring Operation: 50/2=25, Resulting Numbers: [11, 25]
Generated Node #0,3,2: 40:[11, 25] Operation: 50/2=25
Exploring Operation: 2*11=22, Resulting Numbers: [50, 22]
Generated Node #0,3,3: 40:[50, 22] Operation: 2*11=22
Exploring Operation: 11-2=9, Resulting Numbers: [50, 9]
Generated Node #0,3,4: 40:[50, 9] Operation: 11-2=9
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[2, 39], Operations: ['51-40=11', '50-11=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[11, 25], Operations: ['51-40=11', '50/2=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,40 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[11, 48], Operations: ['51-40=11', '50-2=48']
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,40 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,40 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 40:[50, 9], Operations: ['51-40=11', '11-2=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[50, 22], Operations: ['51-40=11', '2*11=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,40 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: 40:[51, 2, 10], Operations: ['50-40=10']
Exploring Operation: 2*10=20, Resulting Numbers: [51, 20]
Generated Node #0,0,0: 40:[51, 20] Operation: 2*10=20
Exploring Operation: 51-2=49, Resulting Numbers: [10, 49]
Generated Node #0,0,1: 40:[10, 49] Operation: 51-2=49
Exploring Operation: 10/2=5, Resulting Numbers: [51, 5]
Generated Node #0,0,2: 40:[51, 5] Operation: 10/2=5
Exploring Operation: 51-10=41, Resulting Numbers: [2, 41]
Generated Node #0,0,3: 40:[2, 41] Operation: 51-10=41
Exploring Operation: 10-2=8, Resulting Numbers: [51, 8]
Generated Node #0,0,4: 40:[51, 8] Operation: 10-2=8
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[2, 41], Operations: ['50-40=10', '51-10=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[10, 49], Operations: ['50-40=10', '51-2=49']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[51, 20], Operations: ['50-40=10', '2*10=20']
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,40 unequal: No Solution
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,40 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[51, 5], Operations: ['50-40=10', '10/2=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,40 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 40:[51, 8], Operations: ['50-40=10', '10-2=8']
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,40 unequal: No Solution
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,40 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: 40:[40, 51, 25], Operations: ['50/2=25']
Exploring Operation: 40+25=65, Resulting Numbers: [51, 65]
Generated Node #0,2,0: 40:[51, 65] Operation: 40+25=65
Exploring Operation: 40-25=15, Resulting Numbers: [51, 15]
Generated Node #0,2,1: 40:[51, 15] Operation: 40-25=15
Exploring Operation: 51+25=76, Resulting Numbers: [40, 76]
Generated Node #0,2,2: 40:[40, 76] Operation: 51+25=76
Exploring Operation: 51-40=11, Resulting Numbers: [25, 11]
Generated Node #0,2,3: 40:[25, 11] Operation: 51-40=11
Exploring Operation: 51-25=26, Resulting Numbers: [40, 26]
Generated Node #0,2,4: 40:[40, 26] Operation: 51-25=26
Moving to Node #0,1
Current State: 40:[40, 50, 49], Operations: ['51-2=49']
Exploring Operation: 40+49=89, Resulting Numbers: [50, 89]
Generated Node #0,1,0: 40:[50, 89] Operation: 40+49=89
Exploring Operation: 49-40=9, Resulting Numbers: [50, 9]
Generated Node #0,1,1: 40:[50, 9] Operation: 49-40=9
Exploring Operation: 40+50=90, Resulting Numbers: [49, 90]
Generated Node #0,1,2: 40:[49, 90] Operation: 40+50=90
Exploring Operation: 50-49=1, Resulting Numbers: [40, 1]
Generated Node #0,1,3: 40:[40, 1] Operation: 50-49=1
Exploring Operation: 50-40=10, Resulting Numbers: [49, 10]
Generated Node #0,1,4: 40:[49, 10] Operation: 50-40=10
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 40:[40, 1], Operations: ['51-2=49', '50-49=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[40, 51, 2, 50], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [40, 50, 49]
Generated Node #0,1: 40:[40, 50, 49] Operation: 51-2=49
Moving to Node #0,1
Current State: 40:[40, 50, 49], Operations: ['51-2=49']
Exploring Operation: 50-49=1, Resulting Numbers: [40, 1]
Generated Node #0,1,3: 40:[40, 1] Operation: 50-49=1
Moving to Node #0,1,3
Current State: 40:[40, 1], Operations: ['51-2=49', '50-49=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.926215 | hs_5 | sum_heuristic |
[
61,
53,
95,
57
] | 97 | [
"61+53=114",
"114/57=2",
"95+2=97"
] | Current State: 97:[61, 53, 95, 57], Operations: []
Exploring Operation: 61+53=114, Resulting Numbers: [95, 57, 114]
Generated Node #2: [95, 57, 114] from Operation: 61+53=114
Current State: 97:[95, 57, 114], Operations: ['61+53=114']
Exploring Operation: 114/57=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 114/57=2
Current State: 97:[95, 2], Operations: ['61+53=114', '114/57=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[61, 53, 95, 57], Operations: []
Exploring Operation: 53+57=110, Resulting Numbers: [61, 95, 110]
Generated Node #0,0: 97:[61, 95, 110] Operation: 53+57=110
Exploring Operation: 61+53=114, Resulting Numbers: [95, 57, 114]
Generated Node #0,1: 97:[95, 57, 114] Operation: 61+53=114
Exploring Operation: 53+95=148, Resulting Numbers: [61, 57, 148]
Generated Node #0,2: 97:[61, 57, 148] Operation: 53+95=148
Exploring Operation: 61+57=118, Resulting Numbers: [53, 95, 118]
Generated Node #0,3: 97:[53, 95, 118] Operation: 61+57=118
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[61, 95, 110], Operations: ['53+57=110']
Exploring Operation: 61+95=156, Resulting Numbers: [110, 156]
Generated Node #0,0,0: 97:[110, 156] Operation: 61+95=156
Exploring Operation: 61+110=171, Resulting Numbers: [95, 171]
Generated Node #0,0,1: 97:[95, 171] Operation: 61+110=171
Exploring Operation: 110-61=49, Resulting Numbers: [95, 49]
Generated Node #0,0,2: 97:[95, 49] Operation: 110-61=49
Exploring Operation: 95-61=34, Resulting Numbers: [110, 34]
Generated Node #0,0,3: 97:[110, 34] Operation: 95-61=34
Moving to Node #0,0,2
Current State: 97:[95, 49], Operations: ['53+57=110', '110-61=49']
Exploring Operation: 95+49=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Exploring Operation: 95*49=4655, Resulting Numbers: [4655]
4655,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[110, 156], Operations: ['53+57=110', '61+95=156']
Exploring Operation: 110*156=17160, Resulting Numbers: [17160]
17160,97 unequal: No Solution
Exploring Operation: 156-110=46, Resulting Numbers: [46]
46,97 unequal: No Solution
Exploring Operation: 110+156=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[110, 34], Operations: ['53+57=110', '95-61=34']
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 110+34=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 110*34=3740, Resulting Numbers: [3740]
3740,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[95, 171], Operations: ['53+57=110', '61+110=171']
Exploring Operation: 95*171=16245, Resulting Numbers: [16245]
16245,97 unequal: No Solution
Exploring Operation: 171-95=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 95+171=266, Resulting Numbers: [266]
266,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[95, 57, 114], Operations: ['61+53=114']
Exploring Operation: 95+57=152, Resulting Numbers: [114, 152]
Generated Node #0,1,0: 97:[114, 152] Operation: 95+57=152
Exploring Operation: 57+114=171, Resulting Numbers: [95, 171]
Generated Node #0,1,1: 97:[95, 171] Operation: 57+114=171
Exploring Operation: 114-57=57, Resulting Numbers: [95, 57]
Generated Node #0,1,2: 97:[95, 57] Operation: 114-57=57
Exploring Operation: 95-57=38, Resulting Numbers: [114, 38]
Generated Node #0,1,3: 97:[114, 38] Operation: 95-57=38
Moving to Node #0,1,2
Current State: 97:[95, 57], Operations: ['61+53=114', '114-57=57']
Exploring Operation: 95*57=5415, Resulting Numbers: [5415]
5415,97 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 95+57=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[114, 152], Operations: ['61+53=114', '95+57=152']
Exploring Operation: 114+152=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 152-114=38, Resulting Numbers: [38]
38,97 unequal: No Solution
Exploring Operation: 114*152=17328, Resulting Numbers: [17328]
17328,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[114, 38], Operations: ['61+53=114', '95-57=38']
Exploring Operation: 114/38=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 114*38=4332, Resulting Numbers: [4332]
4332,97 unequal: No Solution
Exploring Operation: 114+38=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Exploring Operation: 114-38=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[95, 171], Operations: ['61+53=114', '57+114=171']
Exploring Operation: 95*171=16245, Resulting Numbers: [16245]
16245,97 unequal: No Solution
Exploring Operation: 171-95=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 95+171=266, Resulting Numbers: [266]
266,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 97:[53, 95, 118], Operations: ['61+57=118']
Exploring Operation: 118-53=65, Resulting Numbers: [95, 65]
Generated Node #0,3,0: 97:[95, 65] Operation: 118-53=65
Exploring Operation: 95-53=42, Resulting Numbers: [118, 42]
Generated Node #0,3,1: 97:[118, 42] Operation: 95-53=42
Exploring Operation: 53+95=148, Resulting Numbers: [118, 148]
Generated Node #0,3,2: 97:[118, 148] Operation: 53+95=148
Exploring Operation: 53+118=171, Resulting Numbers: [95, 171]
Generated Node #0,3,3: 97:[95, 171] Operation: 53+118=171
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[95, 65], Operations: ['61+57=118', '118-53=65']
Exploring Operation: 95*65=6175, Resulting Numbers: [6175]
6175,97 unequal: No Solution
Exploring Operation: 95+65=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 97:[118, 148], Operations: ['61+57=118', '53+95=148']
Exploring Operation: 148-118=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 118+148=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 118*148=17464, Resulting Numbers: [17464]
17464,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 97:[118, 42], Operations: ['61+57=118', '95-53=42']
Exploring Operation: 118+42=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 118*42=4956, Resulting Numbers: [4956]
4956,97 unequal: No Solution
Exploring Operation: 118-42=76, Resulting Numbers: [76]
76,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 97:[95, 171], Operations: ['61+57=118', '53+118=171']
Exploring Operation: 171-95=76, Resulting Numbers: [76]
76,97 unequal: No Solution
Exploring Operation: 95+171=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 95*171=16245, Resulting Numbers: [16245]
16245,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[61, 57, 148], Operations: ['53+95=148']
Exploring Operation: 148-57=91, Resulting Numbers: [61, 91]
Generated Node #0,2,0: 97:[61, 91] Operation: 148-57=91
Exploring Operation: 148-61=87, Resulting Numbers: [57, 87]
Generated Node #0,2,1: 97:[57, 87] Operation: 148-61=87
Exploring Operation: 61+57=118, Resulting Numbers: [148, 118]
Generated Node #0,2,2: 97:[148, 118] Operation: 61+57=118
Exploring Operation: 61-57=4, Resulting Numbers: [148, 4]
Generated Node #0,2,3: 97:[148, 4] Operation: 61-57=4
Moving to Node #0,2,0
Current State: 97:[61, 91], Operations: ['53+95=148', '148-57=91']
Exploring Operation: 61*91=5551, Resulting Numbers: [5551]
5551,97 unequal: No Solution
Exploring Operation: 91-61=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 61+91=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[57, 87], Operations: ['53+95=148', '148-61=87']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Exploring Operation: 57*87=4959, Resulting Numbers: [4959]
4959,97 unequal: No Solution
Exploring Operation: 57+87=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[148, 118], Operations: ['53+95=148', '61+57=118']
Exploring Operation: 148+118=266, Resulting Numbers: [266]
266,97 unequal: No Solution
Exploring Operation: 148*118=17464, Resulting Numbers: [17464]
17464,97 unequal: No Solution
Exploring Operation: 148-118=30, Resulting Numbers: [30]
30,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[148, 4], Operations: ['53+95=148', '61-57=4']
Exploring Operation: 148-4=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 148*4=592, Resulting Numbers: [592]
592,97 unequal: No Solution
Exploring Operation: 148+4=152, Resulting Numbers: [152]
152,97 unequal: No Solution
Exploring Operation: 148/4=37, Resulting Numbers: [37]
37,97 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 |
[
63,
98,
26,
3
] | 27 | [
"98-63=35",
"35-26=9",
"3*9=27"
] | Current State: 27:[63, 98, 26, 3], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [26, 3, 35]
Generated Node #2: [26, 3, 35] from Operation: 98-63=35
Current State: 27:[26, 3, 35], Operations: ['98-63=35']
Exploring Operation: 35-26=9, Resulting Numbers: [3, 9]
Generated Node #3: [3, 9] from Operation: 35-26=9
Current State: 27:[3, 9], Operations: ['98-63=35', '35-26=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[63, 98, 26, 3], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [26, 3, 35]
Generated Node #0,0: 27:[26, 3, 35] Operation: 98-63=35
Exploring Operation: 63/3=21, Resulting Numbers: [98, 26, 21]
Generated Node #0,1: 27:[98, 26, 21] Operation: 63/3=21
Exploring Operation: 63-26=37, Resulting Numbers: [98, 3, 37]
Generated Node #0,2: 27:[98, 3, 37] Operation: 63-26=37
Moving to Node #0,0
Current State: 27:[26, 3, 35], Operations: ['98-63=35']
Exploring Operation: 35-26=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 27:[3, 9] Operation: 35-26=9
Exploring Operation: 35-3=32, Resulting Numbers: [26, 32]
Generated Node #0,0,1: 27:[26, 32] Operation: 35-3=32
Exploring Operation: 26+3=29, Resulting Numbers: [35, 29]
Generated Node #0,0,2: 27:[35, 29] Operation: 26+3=29
Moving to Node #0,1
Current State: 27:[98, 26, 21], Operations: ['63/3=21']
Exploring Operation: 98-21=77, Resulting Numbers: [26, 77]
Generated Node #0,1,0: 27:[26, 77] Operation: 98-21=77
Exploring Operation: 26-21=5, Resulting Numbers: [98, 5]
Generated Node #0,1,1: 27:[98, 5] Operation: 26-21=5
Exploring Operation: 98-26=72, Resulting Numbers: [21, 72]
Generated Node #0,1,2: 27:[21, 72] Operation: 98-26=72
Moving to Node #0,2
Current State: 27:[98, 3, 37], Operations: ['63-26=37']
Exploring Operation: 98-37=61, Resulting Numbers: [3, 61]
Generated Node #0,2,0: 27:[3, 61] Operation: 98-37=61
Exploring Operation: 98-3=95, Resulting Numbers: [37, 95]
Generated Node #0,2,1: 27:[37, 95] Operation: 98-3=95
Exploring Operation: 37-3=34, Resulting Numbers: [98, 34]
Generated Node #0,2,2: 27:[98, 34] Operation: 37-3=34
Moving to Node #0,0,0
Current State: 27:[3, 9], Operations: ['98-63=35', '35-26=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,27 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[63, 98, 26, 3], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [26, 3, 35]
Generated Node #0,0: 27:[26, 3, 35] Operation: 98-63=35
Moving to Node #0,0
Current State: 27:[26, 3, 35], Operations: ['98-63=35']
Exploring Operation: 35-26=9, Resulting Numbers: [3, 9]
Generated Node #0,0,0: 27:[3, 9] Operation: 35-26=9
Moving to Node #0,0,0
Current State: 27:[3, 9], Operations: ['98-63=35', '35-26=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.983507 | hs_3 | sum_heuristic |
[
68,
29,
5,
55
] | 50 | [
"68-29=39",
"55/5=11",
"39+11=50"
] | Current State: 50:[68, 29, 5, 55], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [5, 55, 39]
Generated Node #2: [5, 55, 39] from Operation: 68-29=39
Current State: 50:[5, 55, 39], Operations: ['68-29=39']
Exploring Operation: 55/5=11, Resulting Numbers: [39, 11]
Generated Node #3: [39, 11] from Operation: 55/5=11
Current State: 50:[39, 11], Operations: ['68-29=39', '55/5=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[68, 29, 5, 55], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [5, 55, 39]
Generated Node #0,0: 50:[5, 55, 39] Operation: 68-29=39
Exploring Operation: 55-29=26, Resulting Numbers: [68, 5, 26]
Generated Node #0,1: 50:[68, 5, 26] Operation: 55-29=26
Exploring Operation: 68-55=13, Resulting Numbers: [29, 5, 13]
Generated Node #0,2: 50:[29, 5, 13] Operation: 68-55=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[29, 5, 13], Operations: ['68-55=13']
Exploring Operation: 29-5=24, Resulting Numbers: [13, 24]
Generated Node #0,2,0: 50:[13, 24] Operation: 29-5=24
Exploring Operation: 29-13=16, Resulting Numbers: [5, 16]
Generated Node #0,2,1: 50:[5, 16] Operation: 29-13=16
Exploring Operation: 13-5=8, Resulting Numbers: [29, 8]
Generated Node #0,2,2: 50:[29, 8] Operation: 13-5=8
Moving to Node #0,2,0
Current State: 50:[13, 24], Operations: ['68-55=13', '29-5=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[5, 16], Operations: ['68-55=13', '29-13=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[29, 8], Operations: ['68-55=13', '13-5=8']
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,50 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[5, 55, 39], Operations: ['68-29=39']
Exploring Operation: 55-39=16, Resulting Numbers: [5, 16]
Generated Node #0,0,0: 50:[5, 16] Operation: 55-39=16
Exploring Operation: 55-5=50, Resulting Numbers: [39, 50]
Generated Node #0,0,1: 50:[39, 50] Operation: 55-5=50
Exploring Operation: 5+39=44, Resulting Numbers: [55, 44]
Generated Node #0,0,2: 50:[55, 44] Operation: 5+39=44
Moving to Node #0,0,0
Current State: 50:[5, 16], Operations: ['68-29=39', '55-39=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,50 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[39, 50], Operations: ['68-29=39', '55-5=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,50 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[55, 44], Operations: ['68-29=39', '5+39=44']
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 55*44=2420, Resulting Numbers: [2420]
2420,50 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[68, 5, 26], Operations: ['55-29=26']
Exploring Operation: 26-5=21, Resulting Numbers: [68, 21]
Generated Node #0,1,0: 50:[68, 21] Operation: 26-5=21
Exploring Operation: 68-26=42, Resulting Numbers: [5, 42]
Generated Node #0,1,1: 50:[5, 42] Operation: 68-26=42
Exploring Operation: 68-5=63, Resulting Numbers: [26, 63]
Generated Node #0,1,2: 50:[26, 63] Operation: 68-5=63
Moving to Node #0,1,1
Current State: 50:[5, 42], Operations: ['55-29=26', '68-26=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[26, 63], Operations: ['55-29=26', '68-5=63']
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,50 unequal: No Solution
Exploring Operation: 26+63=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 26*63=1638, Resulting Numbers: [1638]
1638,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[68, 21], Operations: ['55-29=26', '26-5=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,50 unequal: No Solution
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,50 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,50 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 |
[
6,
79,
5,
40
] | 91 | [
"40-6=34",
"5*34=170",
"170-79=91"
] | Current State: 91:[6, 79, 5, 40], Operations: []
Exploring Operation: 40-6=34, Resulting Numbers: [79, 5, 34]
Generated Node #2: [79, 5, 34] from Operation: 40-6=34
Current State: 91:[79, 5, 34], Operations: ['40-6=34']
Exploring Operation: 5*34=170, Resulting Numbers: [79, 170]
Generated Node #3: [79, 170] from Operation: 5*34=170
Current State: 91:[79, 170], Operations: ['40-6=34', '5*34=170']
Exploring Operation: 170-79=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[6, 79, 5, 40], Operations: []
Exploring Operation: 40/5=8, Resulting Numbers: [6, 79, 8]
Generated Node #0,0: 91:[6, 79, 8] Operation: 40/5=8
Exploring Operation: 79-40=39, Resulting Numbers: [6, 5, 39]
Generated Node #0,1: 91:[6, 5, 39] Operation: 79-40=39
Exploring Operation: 6+79=85, Resulting Numbers: [5, 40, 85]
Generated Node #0,2: 91:[5, 40, 85] Operation: 6+79=85
Exploring Operation: 79+40=119, Resulting Numbers: [6, 5, 119]
Generated Node #0,3: 91:[6, 5, 119] Operation: 79+40=119
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[6, 79, 8], Operations: ['40/5=8']
Exploring Operation: 79+8=87, Resulting Numbers: [6, 87]
Generated Node #0,0,0: 91:[6, 87] Operation: 79+8=87
Exploring Operation: 6+79=85, Resulting Numbers: [8, 85]
Generated Node #0,0,1: 91:[8, 85] Operation: 6+79=85
Exploring Operation: 6+8=14, Resulting Numbers: [79, 14]
Generated Node #0,0,2: 91:[79, 14] Operation: 6+8=14
Exploring Operation: 8-6=2, Resulting Numbers: [79, 2]
Generated Node #0,0,3: 91:[79, 2] Operation: 8-6=2
Moving to Node #0,0,0
Current State: 91:[6, 87], Operations: ['40/5=8', '79+8=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 6*87=522, Resulting Numbers: [522]
522,91 unequal: No Solution
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[8, 85], Operations: ['40/5=8', '6+79=85']
Exploring Operation: 8*85=680, Resulting Numbers: [680]
680,91 unequal: No Solution
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[79, 14], Operations: ['40/5=8', '6+8=14']
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,91 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[79, 2], Operations: ['40/5=8', '8-6=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,91 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[6, 5, 39], Operations: ['79-40=39']
Exploring Operation: 39-6=33, Resulting Numbers: [5, 33]
Generated Node #0,1,0: 91:[5, 33] Operation: 39-6=33
Exploring Operation: 6+5=11, Resulting Numbers: [39, 11]
Generated Node #0,1,1: 91:[39, 11] Operation: 6+5=11
Exploring Operation: 39-5=34, Resulting Numbers: [6, 34]
Generated Node #0,1,2: 91:[6, 34] Operation: 39-5=34
Exploring Operation: 6-5=1, Resulting Numbers: [39, 1]
Generated Node #0,1,3: 91:[39, 1] Operation: 6-5=1
Moving to Node #0,1,0
Current State: 91:[5, 33], Operations: ['79-40=39', '39-6=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,91 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[6, 34], Operations: ['79-40=39', '39-5=34']
Exploring Operation: 6+34=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 6*34=204, Resulting Numbers: [204]
204,91 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[39, 11], Operations: ['79-40=39', '6+5=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,91 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[39, 1], Operations: ['79-40=39', '6-5=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,91 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,91 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[6, 5, 119], Operations: ['79+40=119']
Exploring Operation: 119-5=114, Resulting Numbers: [6, 114]
Generated Node #0,3,0: 91:[6, 114] Operation: 119-5=114
Exploring Operation: 6+5=11, Resulting Numbers: [119, 11]
Generated Node #0,3,1: 91:[119, 11] Operation: 6+5=11
Exploring Operation: 119-6=113, Resulting Numbers: [5, 113]
Generated Node #0,3,2: 91:[5, 113] Operation: 119-6=113
Exploring Operation: 6-5=1, Resulting Numbers: [119, 1]
Generated Node #0,3,3: 91:[119, 1] Operation: 6-5=1
Moving to Node #0,3,0
Current State: 91:[6, 114], Operations: ['79+40=119', '119-5=114']
Exploring Operation: 6+114=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 6*114=684, Resulting Numbers: [684]
684,91 unequal: No Solution
Exploring Operation: 114/6=19, Resulting Numbers: [19]
19,91 unequal: No Solution
Exploring Operation: 114-6=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[5, 113], Operations: ['79+40=119', '119-6=113']
Exploring Operation: 5+113=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 5*113=565, Resulting Numbers: [565]
565,91 unequal: No Solution
Exploring Operation: 113-5=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[119, 11], Operations: ['79+40=119', '6+5=11']
Exploring Operation: 119*11=1309, Resulting Numbers: [1309]
1309,91 unequal: No Solution
Exploring Operation: 119-11=108, Resulting Numbers: [108]
108,91 unequal: No Solution
Exploring Operation: 119+11=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[119, 1], Operations: ['79+40=119', '6-5=1']
Exploring Operation: 119-1=118, Resulting Numbers: [118]
118,91 unequal: No Solution
Exploring Operation: 119+1=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 119*1=119, Resulting Numbers: [119]
119,91 unequal: No Solution
Exploring Operation: 119/1=119, Resulting Numbers: [119]
119,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[5, 40, 85], Operations: ['6+79=85']
Exploring Operation: 85/5=17, Resulting Numbers: [40, 17]
Generated Node #0,2,0: 91:[40, 17] Operation: 85/5=17
Exploring Operation: 40/5=8, Resulting Numbers: [85, 8]
Generated Node #0,2,1: 91:[85, 8] Operation: 40/5=8
Exploring Operation: 40-5=35, Resulting Numbers: [85, 35]
Generated Node #0,2,2: 91:[85, 35] Operation: 40-5=35
Exploring Operation: 5+85=90, Resulting Numbers: [40, 90]
Generated Node #0,2,3: 91:[40, 90] Operation: 5+85=90
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[85, 8], Operations: ['6+79=85', '40/5=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[85, 35], Operations: ['6+79=85', '40-5=35']
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,91 unequal: No Solution
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[40, 90], Operations: ['6+79=85', '5+85=90']
Exploring Operation: 40+90=130, Resulting Numbers: [130]
130,91 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,91 unequal: No Solution
Exploring Operation: 40*90=3600, Resulting Numbers: [3600]
3600,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[40, 17], Operations: ['6+79=85', '85/5=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,91 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
80,
92,
18,
93
] | 62 | [
"92-80=12",
"93*12=1116",
"1116/18=62"
] | Current State: 62:[80, 92, 18, 93], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [18, 93, 12]
Generated Node #2: [18, 93, 12] from Operation: 92-80=12
Current State: 62:[18, 93, 12], Operations: ['92-80=12']
Exploring Operation: 93*12=1116, Resulting Numbers: [18, 1116]
Generated Node #3: [18, 1116] from Operation: 93*12=1116
Current State: 62:[18, 1116], Operations: ['92-80=12', '93*12=1116']
Exploring Operation: 1116/18=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[80, 92, 18, 93], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [80, 18, 1]
Generated Node #0,0: 62:[80, 18, 1] Operation: 93-92=1
Moving to Node #0,0
Current State: 62:[80, 18, 1], Operations: ['93-92=1']
Exploring Operation: 80-18=62, Resulting Numbers: [1, 62]
Generated Node #0,0,0: 62:[1, 62] Operation: 80-18=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[1, 62], Operations: ['93-92=1', '80-18=62']
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[80, 92, 18, 93], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [80, 18, 1]
Generated Node #0,0: 62:[80, 18, 1] Operation: 93-92=1
Moving to Node #0,0
Current State: 62:[80, 18, 1], Operations: ['93-92=1']
Exploring Operation: 80-18=62, Resulting Numbers: [1, 62]
Generated Node #0,0,0: 62:[1, 62] Operation: 80-18=62
Moving to Node #0,0,0
Current State: 62:[1, 62], Operations: ['93-92=1', '80-18=62']
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
76,
53,
45,
76
] | 53 | [
"76-76=0",
"45*0=0",
"53+0=53"
] | Current State: 53:[76, 53, 45, 76], Operations: []
Exploring Operation: 76-76=0, Resulting Numbers: [53, 45, 0]
Generated Node #2: [53, 45, 0] from Operation: 76-76=0
Current State: 53:[53, 45, 0], Operations: ['76-76=0']
Exploring Operation: 45*0=0, Resulting Numbers: [53, 0]
Generated Node #3: [53, 0] from Operation: 45*0=0
Current State: 53:[53, 0], Operations: ['76-76=0', '45*0=0']
Exploring Operation: 53+0=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[76, 53, 45, 76], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [53, 45, 1]
Generated Node #0,0: 53:[53, 45, 1] Operation: 76/76=1
Exploring Operation: 76-45=31, Resulting Numbers: [53, 76, 31]
Generated Node #0,1: 53:[53, 76, 31] Operation: 76-45=31
Exploring Operation: 76-53=23, Resulting Numbers: [45, 76, 23]
Generated Node #0,2: 53:[45, 76, 23] Operation: 76-53=23
Exploring Operation: 76-45=31, Resulting Numbers: [76, 53, 31]
Generated Node #0,3: 53:[76, 53, 31] Operation: 76-45=31
Moving to Node #0,1
Current State: 53:[53, 76, 31], Operations: ['76-45=31']
Exploring Operation: 53+31=84, Resulting Numbers: [76, 84]
Generated Node #0,1,0: 53:[76, 84] Operation: 53+31=84
Exploring Operation: 76-31=45, Resulting Numbers: [53, 45]
Generated Node #0,1,1: 53:[53, 45] Operation: 76-31=45
Exploring Operation: 76-53=23, Resulting Numbers: [31, 23]
Generated Node #0,1,2: 53:[31, 23] Operation: 76-53=23
Exploring Operation: 53-31=22, Resulting Numbers: [76, 22]
Generated Node #0,1,3: 53:[76, 22] Operation: 53-31=22
Moving to Node #0,3
Current State: 53:[76, 53, 31], Operations: ['76-45=31']
Exploring Operation: 76-31=45, Resulting Numbers: [53, 45]
Generated Node #0,3,0: 53:[53, 45] Operation: 76-31=45
Exploring Operation: 76+31=107, Resulting Numbers: [53, 107]
Generated Node #0,3,1: 53:[53, 107] Operation: 76+31=107
Exploring Operation: 53+31=84, Resulting Numbers: [76, 84]
Generated Node #0,3,2: 53:[76, 84] Operation: 53+31=84
Exploring Operation: 76-53=23, Resulting Numbers: [31, 23]
Generated Node #0,3,3: 53:[31, 23] Operation: 76-53=23
Moving to Node #0,0
Current State: 53:[53, 45, 1], Operations: ['76/76=1']
Exploring Operation: 45+1=46, Resulting Numbers: [53, 46]
Generated Node #0,0,0: 53:[53, 46] Operation: 45+1=46
Exploring Operation: 53/1=53, Resulting Numbers: [45, 53]
Generated Node #0,0,1: 53:[45, 53] Operation: 53/1=53
Exploring Operation: 45*1=45, Resulting Numbers: [53, 45]
Generated Node #0,0,2: 53:[53, 45] Operation: 45*1=45
Exploring Operation: 53*1=53, Resulting Numbers: [45, 53]
Generated Node #0,0,3: 53:[45, 53] Operation: 53*1=53
Moving to Node #0,2
Current State: 53:[45, 76, 23], Operations: ['76-53=23']
Exploring Operation: 45+23=68, Resulting Numbers: [76, 68]
Generated Node #0,2,0: 53:[76, 68] Operation: 45+23=68
Exploring Operation: 76-45=31, Resulting Numbers: [23, 31]
Generated Node #0,2,1: 53:[23, 31] Operation: 76-45=31
Exploring Operation: 45-23=22, Resulting Numbers: [76, 22]
Generated Node #0,2,2: 53:[76, 22] Operation: 45-23=22
Exploring Operation: 76-23=53, Resulting Numbers: [45, 53]
Generated Node #0,2,3: 53:[45, 53] Operation: 76-23=53
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[45, 53], Operations: ['76-53=23', '76-23=53']
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[76, 68], Operations: ['76-53=23', '45+23=68']
Exploring Operation: 76+68=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 76-68=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 76*68=5168, Resulting Numbers: [5168]
5168,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:[23, 31], Operations: ['76-53=23', '76-45=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,53 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,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:[76, 22], Operations: ['76-53=23', '45-23=22']
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,53 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 53:[53, 46], Operations: ['76/76=1', '45+1=46']
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[45, 53], Operations: ['76/76=1', '53*1=53']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[53, 45], Operations: ['76-45=31', '76-31=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[45, 53], Operations: ['76/76=1', '53/1=53']
Exploring Operation: 45+53=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 45*53=2385, Resulting Numbers: [2385]
2385,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[53, 45], Operations: ['76/76=1', '45*1=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,53 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[53, 45], Operations: ['76-45=31', '76-31=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[31, 23], Operations: ['76-45=31', '76-53=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[31, 23], Operations: ['76-45=31', '76-53=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,53 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[76, 84], Operations: ['76-45=31', '53+31=84']
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,53 unequal: No Solution
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[53, 107], Operations: ['76-45=31', '76+31=107']
Exploring Operation: 53*107=5671, Resulting Numbers: [5671]
5671,53 unequal: No Solution
Exploring Operation: 53+107=160, Resulting Numbers: [160]
160,53 unequal: No Solution
Exploring Operation: 107-53=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[76, 22], Operations: ['76-45=31', '53-31=22']
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,53 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,53 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[76, 84], Operations: ['76-45=31', '53+31=84']
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,53 unequal: No Solution
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,53 unequal: No Solution
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
84,
8,
19
] | 65 | [
"84-8=76",
"76/19=4",
"69-4=65"
] | Current State: 65:[69, 84, 8, 19], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [69, 19, 76]
Generated Node #2: [69, 19, 76] from Operation: 84-8=76
Current State: 65:[69, 19, 76], Operations: ['84-8=76']
Exploring Operation: 76/19=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 76/19=4
Current State: 65:[69, 4], Operations: ['84-8=76', '76/19=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[69, 84, 8, 19], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [69, 19, 76]
Generated Node #0,0: 65:[69, 19, 76] Operation: 84-8=76
Exploring Operation: 19-8=11, Resulting Numbers: [69, 84, 11]
Generated Node #0,1: 65:[69, 84, 11] Operation: 19-8=11
Exploring Operation: 84-19=65, Resulting Numbers: [69, 8, 65]
Generated Node #0,2: 65:[69, 8, 65] Operation: 84-19=65
Exploring Operation: 84-69=15, Resulting Numbers: [8, 19, 15]
Generated Node #0,3: 65:[8, 19, 15] Operation: 84-69=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[69, 8, 65], Operations: ['84-19=65']
Exploring Operation: 69-8=61, Resulting Numbers: [65, 61]
Generated Node #0,2,0: 65:[65, 61] Operation: 69-8=61
Exploring Operation: 8+65=73, Resulting Numbers: [69, 73]
Generated Node #0,2,1: 65:[69, 73] Operation: 8+65=73
Exploring Operation: 69-65=4, Resulting Numbers: [8, 4]
Generated Node #0,2,2: 65:[8, 4] Operation: 69-65=4
Exploring Operation: 69+8=77, Resulting Numbers: [65, 77]
Generated Node #0,2,3: 65:[65, 77] Operation: 69+8=77
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[65, 61], Operations: ['84-19=65', '69-8=61']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[8, 4], Operations: ['84-19=65', '69-65=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[69, 73], Operations: ['84-19=65', '8+65=73']
Exploring Operation: 69*73=5037, Resulting Numbers: [5037]
5037,65 unequal: No Solution
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[65, 77], Operations: ['84-19=65', '69+8=77']
Exploring Operation: 65+77=142, Resulting Numbers: [142]
142,65 unequal: No Solution
Exploring Operation: 65*77=5005, Resulting Numbers: [5005]
5005,65 unequal: No Solution
Exploring Operation: 77-65=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[8, 19, 15], Operations: ['84-69=15']
Exploring Operation: 19-8=11, Resulting Numbers: [15, 11]
Generated Node #0,3,0: 65:[15, 11] Operation: 19-8=11
Exploring Operation: 15-8=7, Resulting Numbers: [19, 7]
Generated Node #0,3,1: 65:[19, 7] Operation: 15-8=7
Exploring Operation: 8+19=27, Resulting Numbers: [15, 27]
Generated Node #0,3,2: 65:[15, 27] Operation: 8+19=27
Exploring Operation: 19-15=4, Resulting Numbers: [8, 4]
Generated Node #0,3,3: 65:[8, 4] Operation: 19-15=4
Moving to Node #0,3,0
Current State: 65:[15, 11], Operations: ['84-69=15', '19-8=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,65 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[8, 4], Operations: ['84-69=15', '19-15=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,65 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[19, 7], Operations: ['84-69=15', '15-8=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[15, 27], Operations: ['84-69=15', '8+19=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,65 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[69, 19, 76], Operations: ['84-8=76']
Exploring Operation: 76/19=4, Resulting Numbers: [69, 4]
Generated Node #0,0,0: 65:[69, 4] Operation: 76/19=4
Exploring Operation: 76-19=57, Resulting Numbers: [69, 57]
Generated Node #0,0,1: 65:[69, 57] Operation: 76-19=57
Exploring Operation: 76-69=7, Resulting Numbers: [19, 7]
Generated Node #0,0,2: 65:[19, 7] Operation: 76-69=7
Exploring Operation: 69-19=50, Resulting Numbers: [76, 50]
Generated Node #0,0,3: 65:[76, 50] Operation: 69-19=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[69, 4], Operations: ['84-8=76', '76/19=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[69, 84, 8, 19], Operations: []
Exploring Operation: 84-8=76, Resulting Numbers: [69, 19, 76]
Generated Node #0,0: 65:[69, 19, 76] Operation: 84-8=76
Moving to Node #0,0
Current State: 65:[69, 19, 76], Operations: ['84-8=76']
Exploring Operation: 76/19=4, Resulting Numbers: [69, 4]
Generated Node #0,0,0: 65:[69, 4] Operation: 76/19=4
Moving to Node #0,0,0
Current State: 65:[69, 4], Operations: ['84-8=76', '76/19=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
1,
21,
58,
99
] | 19 | [
"1+21=22",
"99-58=41",
"41-22=19"
] | Current State: 19:[1, 21, 58, 99], Operations: []
Exploring Operation: 1+21=22, Resulting Numbers: [58, 99, 22]
Generated Node #2: [58, 99, 22] from Operation: 1+21=22
Current State: 19:[58, 99, 22], Operations: ['1+21=22']
Exploring Operation: 99-58=41, Resulting Numbers: [22, 41]
Generated Node #3: [22, 41] from Operation: 99-58=41
Current State: 19:[22, 41], Operations: ['1+21=22', '99-58=41']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 21, 58, 99], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [58, 99, 20]
Generated Node #0,0: 19:[58, 99, 20] Operation: 21-1=20
Exploring Operation: 99-58=41, Resulting Numbers: [1, 21, 41]
Generated Node #0,1: 19:[1, 21, 41] Operation: 99-58=41
Exploring Operation: 99-21=78, Resulting Numbers: [1, 58, 78]
Generated Node #0,2: 19:[1, 58, 78] Operation: 99-21=78
Exploring Operation: 58-21=37, Resulting Numbers: [1, 99, 37]
Generated Node #0,3: 19:[1, 99, 37] Operation: 58-21=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[1, 21, 41], Operations: ['99-58=41']
Exploring Operation: 21-1=20, Resulting Numbers: [41, 20]
Generated Node #0,1,0: 19:[41, 20] Operation: 21-1=20
Exploring Operation: 41-21=20, Resulting Numbers: [1, 20]
Generated Node #0,1,1: 19:[1, 20] Operation: 41-21=20
Exploring Operation: 1*21=21, Resulting Numbers: [41, 21]
Generated Node #0,1,2: 19:[41, 21] Operation: 1*21=21
Exploring Operation: 41-1=40, Resulting Numbers: [21, 40]
Generated Node #0,1,3: 19:[21, 40] Operation: 41-1=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[1, 20], Operations: ['99-58=41', '41-21=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[1, 21, 58, 99], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [1, 21, 41]
Generated Node #0,1: 19:[1, 21, 41] Operation: 99-58=41
Moving to Node #0,1
Current State: 19:[1, 21, 41], Operations: ['99-58=41']
Exploring Operation: 41-21=20, Resulting Numbers: [1, 20]
Generated Node #0,1,1: 19:[1, 20] Operation: 41-21=20
Moving to Node #0,1,1
Current State: 19:[1, 20], Operations: ['99-58=41', '41-21=20']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
80,
17,
11,
16
] | 83 | [
"17+16=33",
"33/11=3",
"80+3=83"
] | Current State: 83:[80, 17, 11, 16], Operations: []
Exploring Operation: 17+16=33, Resulting Numbers: [80, 11, 33]
Generated Node #2: [80, 11, 33] from Operation: 17+16=33
Current State: 83:[80, 11, 33], Operations: ['17+16=33']
Exploring Operation: 33/11=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 33/11=3
Current State: 83:[80, 3], Operations: ['17+16=33', '33/11=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[80, 17, 11, 16], Operations: []
Exploring Operation: 17+11=28, Resulting Numbers: [80, 16, 28]
Generated Node #0,0: 83:[80, 16, 28] Operation: 17+11=28
Moving to Node #0,0
Current State: 83:[80, 16, 28], Operations: ['17+11=28']
Exploring Operation: 16+28=44, Resulting Numbers: [80, 44]
Generated Node #0,0,0: 83:[80, 44] Operation: 16+28=44
Moving to Node #0,0,0
Current State: 83:[80, 44], Operations: ['17+11=28', '16+28=44']
Exploring Operation: 80+44=124, Resulting Numbers: [124]
124,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
31,
81,
78,
39
] | 19 | [
"31*78=2418",
"2418/39=62",
"81-62=19"
] | Current State: 19:[31, 81, 78, 39], Operations: []
Exploring Operation: 31*78=2418, Resulting Numbers: [81, 39, 2418]
Generated Node #2: [81, 39, 2418] from Operation: 31*78=2418
Current State: 19:[81, 39, 2418], Operations: ['31*78=2418']
Exploring Operation: 2418/39=62, Resulting Numbers: [81, 62]
Generated Node #3: [81, 62] from Operation: 2418/39=62
Current State: 19:[81, 62], Operations: ['31*78=2418', '2418/39=62']
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[31, 81, 78, 39], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [31, 39, 3]
Generated Node #0,0: 19:[31, 39, 3] Operation: 81-78=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[31, 39, 3], Operations: ['81-78=3']
Exploring Operation: 39/3=13, Resulting Numbers: [31, 13]
Generated Node #0,0,0: 19:[31, 13] Operation: 39/3=13
Moving to Node #0,0,0
Current State: 19:[31, 13], Operations: ['81-78=3', '39/3=13']
Exploring Operation: 31-13=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 | mult_heuristic |
[
17,
8,
97,
26
] | 94 | [
"17+97=114",
"8*26=208",
"208-114=94"
] | Current State: 94:[17, 8, 97, 26], Operations: []
Exploring Operation: 17+97=114, Resulting Numbers: [8, 26, 114]
Generated Node #2: [8, 26, 114] from Operation: 17+97=114
Current State: 94:[8, 26, 114], Operations: ['17+97=114']
Exploring Operation: 8*26=208, Resulting Numbers: [114, 208]
Generated Node #3: [114, 208] from Operation: 8*26=208
Current State: 94:[114, 208], Operations: ['17+97=114', '8*26=208']
Exploring Operation: 208-114=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[17, 8, 97, 26], Operations: []
Exploring Operation: 17+26=43, Resulting Numbers: [8, 97, 43]
Generated Node #0,0: 94:[8, 97, 43] Operation: 17+26=43
Exploring Operation: 26-17=9, Resulting Numbers: [8, 97, 9]
Generated Node #0,1: 94:[8, 97, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[8, 97, 43], Operations: ['17+26=43']
Exploring Operation: 8+43=51, Resulting Numbers: [97, 51]
Generated Node #0,0,0: 94:[97, 51] Operation: 8+43=51
Exploring Operation: 97-8=89, Resulting Numbers: [43, 89]
Generated Node #0,0,1: 94:[43, 89] Operation: 97-8=89
Moving to Node #0,0,0
Current State: 94:[97, 51], Operations: ['17+26=43', '8+43=51']
Exploring Operation: 97+51=148, Resulting Numbers: [148]
148,94 unequal: No Solution
Exploring Operation: 97-51=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[43, 89], Operations: ['17+26=43', '97-8=89']
Exploring Operation: 89-43=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 43+89=132, Resulting Numbers: [132]
132,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[8, 97, 9], Operations: ['26-17=9']
Exploring Operation: 97-8=89, Resulting Numbers: [9, 89]
Generated Node #0,1,0: 94:[9, 89] Operation: 97-8=89
Exploring Operation: 9-8=1, Resulting Numbers: [97, 1]
Generated Node #0,1,1: 94:[97, 1] Operation: 9-8=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[97, 1], Operations: ['26-17=9', '9-8=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,94 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[9, 89], Operations: ['26-17=9', '97-8=89']
Exploring Operation: 9+89=98, Resulting Numbers: [98]
98,94 unequal: No Solution
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
7,
7,
24
] | 76 | [
"86+7=93",
"24-7=17",
"93-17=76"
] | Current State: 76:[86, 7, 7, 24], Operations: []
Exploring Operation: 86+7=93, Resulting Numbers: [24, 93]
Generated Node #2: [24, 93] from Operation: 86+7=93
Current State: 76:[24, 93], Operations: ['86+7=93']
Exploring Operation: 24-7=17, Resulting Numbers: [93, 17]
Generated Node #3: [93, 17] from Operation: 24-7=17
Current State: 76:[93, 17], Operations: ['86+7=93', '24-7=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[86, 7, 7, 24], Operations: []
Exploring Operation: 24-7=17, Resulting Numbers: [86, 7, 17]
Generated Node #0,0: 76:[86, 7, 17] Operation: 24-7=17
Exploring Operation: 24-7=17, Resulting Numbers: [86, 7, 17]
Generated Node #0,1: 76:[86, 7, 17] Operation: 24-7=17
Exploring Operation: 86-7=79, Resulting Numbers: [7, 24, 79]
Generated Node #0,2: 76:[7, 24, 79] Operation: 86-7=79
Exploring Operation: 86-7=79, Resulting Numbers: [7, 24, 79]
Generated Node #0,3: 76:[7, 24, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[7, 24, 79], Operations: ['86-7=79']
Exploring Operation: 7+24=31, Resulting Numbers: [79, 31]
Generated Node #0,2,0: 76:[79, 31] Operation: 7+24=31
Exploring Operation: 79-7=72, Resulting Numbers: [24, 72]
Generated Node #0,2,1: 76:[24, 72] Operation: 79-7=72
Exploring Operation: 24-7=17, Resulting Numbers: [79, 17]
Generated Node #0,2,2: 76:[79, 17] Operation: 24-7=17
Exploring Operation: 7+79=86, Resulting Numbers: [24, 86]
Generated Node #0,2,3: 76:[24, 86] Operation: 7+79=86
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[79, 17], Operations: ['86-7=79', '24-7=17']
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,76 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[24, 72], Operations: ['86-7=79', '79-7=72']
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,76 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[79, 31], Operations: ['86-7=79', '7+24=31']
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,76 unequal: No Solution
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[24, 86], Operations: ['86-7=79', '7+79=86']
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,76 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[7, 24, 79], Operations: ['86-7=79']
Exploring Operation: 7+79=86, Resulting Numbers: [24, 86]
Generated Node #0,3,0: 76:[24, 86] Operation: 7+79=86
Exploring Operation: 24-7=17, Resulting Numbers: [79, 17]
Generated Node #0,3,1: 76:[79, 17] Operation: 24-7=17
Exploring Operation: 79-7=72, Resulting Numbers: [24, 72]
Generated Node #0,3,2: 76:[24, 72] Operation: 79-7=72
Exploring Operation: 7+24=31, Resulting Numbers: [79, 31]
Generated Node #0,3,3: 76:[79, 31] Operation: 7+24=31
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 76:[79, 17], Operations: ['86-7=79', '24-7=17']
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,76 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 76:[24, 72], Operations: ['86-7=79', '79-7=72']
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,76 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,76 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 76:[79, 31], Operations: ['86-7=79', '7+24=31']
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,76 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 76:[24, 86], Operations: ['86-7=79', '7+79=86']
Exploring Operation: 24*86=2064, Resulting Numbers: [2064]
2064,76 unequal: No Solution
Exploring Operation: 24+86=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[86, 7, 17], Operations: ['24-7=17']
Exploring Operation: 86-7=79, Resulting Numbers: [17, 79]
Generated Node #0,0,0: 76:[17, 79] Operation: 86-7=79
Exploring Operation: 86-17=69, Resulting Numbers: [7, 69]
Generated Node #0,0,1: 76:[7, 69] Operation: 86-17=69
Exploring Operation: 7+17=24, Resulting Numbers: [86, 24]
Generated Node #0,0,2: 76:[86, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [86, 10]
Generated Node #0,0,3: 76:[86, 10] Operation: 17-7=10
Moving to Node #0,0,0
Current State: 76:[17, 79], Operations: ['24-7=17', '86-7=79']
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,76 unequal: No Solution
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,76 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[7, 69], Operations: ['24-7=17', '86-17=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[86, 7, 7, 24], Operations: []
Exploring Operation: 24-7=17, Resulting Numbers: [86, 7, 17]
Generated Node #0,0: 76:[86, 7, 17] Operation: 24-7=17
Moving to Node #0,0
Current State: 76:[86, 7, 17], Operations: ['24-7=17']
Exploring Operation: 86-17=69, Resulting Numbers: [7, 69]
Generated Node #0,0,1: 76:[7, 69] Operation: 86-17=69
Moving to Node #0,0,1
Current State: 76:[7, 69], Operations: ['24-7=17', '86-17=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
40,
18,
28,
12
] | 98 | [
"40+18=58",
"28+12=40",
"58+40=98"
] | Current State: 98:[40, 18, 28, 12], Operations: []
Exploring Operation: 40+18=58, Resulting Numbers: [28, 12, 58]
Generated Node #2: [28, 12, 58] from Operation: 40+18=58
Current State: 98:[28, 12, 58], Operations: ['40+18=58']
Exploring Operation: 28+12=40, Resulting Numbers: [58, 40]
Generated Node #3: [58, 40] from Operation: 28+12=40
Current State: 98:[58, 40], Operations: ['40+18=58', '28+12=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[40, 18, 28, 12], Operations: []
Exploring Operation: 28-12=16, Resulting Numbers: [40, 18, 16]
Generated Node #0,0: 98:[40, 18, 16] Operation: 28-12=16
Exploring Operation: 28-18=10, Resulting Numbers: [40, 12, 10]
Generated Node #0,1: 98:[40, 12, 10] Operation: 28-18=10
Exploring Operation: 40-28=12, Resulting Numbers: [18, 12, 12]
Generated Node #0,2: 98:[18, 12, 12] Operation: 40-28=12
Exploring Operation: 18+28=46, Resulting Numbers: [40, 12, 46]
Generated Node #0,3: 98:[40, 12, 46] Operation: 18+28=46
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[18, 12, 12], Operations: ['40-28=12']
Exploring Operation: 18-12=6, Resulting Numbers: [12, 6]
Generated Node #0,2,0: 98:[12, 6] Operation: 18-12=6
Exploring Operation: 12-12=0, Resulting Numbers: [18, 0]
Generated Node #0,2,1: 98:[18, 0] Operation: 12-12=0
Exploring Operation: 12/12=1, Resulting Numbers: [18, 1]
Generated Node #0,2,2: 98:[18, 1] Operation: 12/12=1
Exploring Operation: 18-12=6, Resulting Numbers: [12, 6]
Generated Node #0,2,3: 98:[12, 6] Operation: 18-12=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[12, 6], Operations: ['40-28=12', '18-12=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,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,2,3
Current State: 98:[12, 6], Operations: ['40-28=12', '18-12=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,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,2,2
Current State: 98:[18, 1], Operations: ['40-28=12', '12/12=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,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,2,1
Current State: 98:[18, 0], Operations: ['40-28=12', '12-12=0']
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 18-0=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 18*0=0, Resulting Numbers: [0]
0,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[40, 12, 10], Operations: ['28-18=10']
Exploring Operation: 40+10=50, Resulting Numbers: [12, 50]
Generated Node #0,1,0: 98:[12, 50] Operation: 40+10=50
Exploring Operation: 12-10=2, Resulting Numbers: [40, 2]
Generated Node #0,1,1: 98:[40, 2] Operation: 12-10=2
Exploring Operation: 40+12=52, Resulting Numbers: [10, 52]
Generated Node #0,1,2: 98:[10, 52] Operation: 40+12=52
Exploring Operation: 40/10=4, Resulting Numbers: [12, 4]
Generated Node #0,1,3: 98:[12, 4] Operation: 40/10=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[12, 50], Operations: ['28-18=10', '40+10=50']
Exploring Operation: 12+50=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 12*50=600, Resulting Numbers: [600]
600,98 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 98:[12, 4], Operations: ['28-18=10', '40/10=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[10, 52], Operations: ['28-18=10', '40+12=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,98 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[40, 2], Operations: ['28-18=10', '12-10=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,98 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[40, 12, 46], Operations: ['18+28=46']
Exploring Operation: 40-12=28, Resulting Numbers: [46, 28]
Generated Node #0,3,0: 98:[46, 28] Operation: 40-12=28
Exploring Operation: 40+12=52, Resulting Numbers: [46, 52]
Generated Node #0,3,1: 98:[46, 52] Operation: 40+12=52
Exploring Operation: 40+46=86, Resulting Numbers: [12, 86]
Generated Node #0,3,2: 98:[12, 86] Operation: 40+46=86
Exploring Operation: 46-40=6, Resulting Numbers: [12, 6]
Generated Node #0,3,3: 98:[12, 6] Operation: 46-40=6
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 98:[12, 6], Operations: ['18+28=46', '46-40=6']
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,98 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,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,3,1
Current State: 98:[46, 52], Operations: ['18+28=46', '40+12=52']
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,98 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[40, 18, 28, 12], Operations: []
Exploring Operation: 18+28=46, Resulting Numbers: [40, 12, 46]
Generated Node #0,3: 98:[40, 12, 46] Operation: 18+28=46
Moving to Node #0,3
Current State: 98:[40, 12, 46], Operations: ['18+28=46']
Exploring Operation: 40+12=52, Resulting Numbers: [46, 52]
Generated Node #0,3,1: 98:[46, 52] Operation: 40+12=52
Moving to Node #0,3,1
Current State: 98:[46, 52], Operations: ['18+28=46', '40+12=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_4 | sum_heuristic |
[
92,
7,
12,
97
] | 39 | [
"92+97=189",
"189/7=27",
"12+27=39"
] | Current State: 39:[92, 7, 12, 97], Operations: []
Exploring Operation: 92+97=189, Resulting Numbers: [7, 12, 189]
Generated Node #2: [7, 12, 189] from Operation: 92+97=189
Current State: 39:[7, 12, 189], Operations: ['92+97=189']
Exploring Operation: 189/7=27, Resulting Numbers: [12, 27]
Generated Node #3: [12, 27] from Operation: 189/7=27
Current State: 39:[12, 27], Operations: ['92+97=189', '189/7=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[92, 7, 12, 97], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [7, 12, 5]
Generated Node #0,0: 39:[7, 12, 5] Operation: 97-92=5
Exploring Operation: 92-12=80, Resulting Numbers: [7, 97, 80]
Generated Node #0,1: 39:[7, 97, 80] Operation: 92-12=80
Moving to Node #0,0
Current State: 39:[7, 12, 5], Operations: ['97-92=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 39:[12, 12] Operation: 7+5=12
Exploring Operation: 7-5=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 39:[12, 2] Operation: 7-5=2
Moving to Node #0,1
Current State: 39:[7, 97, 80], Operations: ['92-12=80']
Exploring Operation: 97-80=17, Resulting Numbers: [7, 17]
Generated Node #0,1,0: 39:[7, 17] Operation: 97-80=17
Exploring Operation: 97-7=90, Resulting Numbers: [80, 90]
Generated Node #0,1,1: 39:[80, 90] Operation: 97-7=90
Moving to Node #0,0,0
Current State: 39:[12, 12], Operations: ['97-92=5', '7+5=12']
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[12, 2], Operations: ['97-92=5', '7-5=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[7, 17], Operations: ['92-12=80', '97-80=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[80, 90], Operations: ['92-12=80', '97-7=90']
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,39 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
80,
59,
51
] | 32 | [
"44*80=3520",
"59+51=110",
"3520/110=32"
] | Current State: 32:[44, 80, 59, 51], Operations: []
Exploring Operation: 44*80=3520, Resulting Numbers: [59, 51, 3520]
Generated Node #2: [59, 51, 3520] from Operation: 44*80=3520
Current State: 32:[59, 51, 3520], Operations: ['44*80=3520']
Exploring Operation: 59+51=110, Resulting Numbers: [3520, 110]
Generated Node #3: [3520, 110] from Operation: 59+51=110
Current State: 32:[3520, 110], Operations: ['44*80=3520', '59+51=110']
Exploring Operation: 3520/110=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[44, 80, 59, 51], Operations: []
Exploring Operation: 80-59=21, Resulting Numbers: [44, 51, 21]
Generated Node #0,0: 32:[44, 51, 21] Operation: 80-59=21
Exploring Operation: 80-51=29, Resulting Numbers: [44, 59, 29]
Generated Node #0,1: 32:[44, 59, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 32:[44, 51, 21], Operations: ['80-59=21']
Exploring Operation: 51-44=7, Resulting Numbers: [21, 7]
Generated Node #0,0,0: 32:[21, 7] Operation: 51-44=7
Exploring Operation: 51-21=30, Resulting Numbers: [44, 30]
Generated Node #0,0,1: 32:[44, 30] Operation: 51-21=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[21, 7], Operations: ['80-59=21', '51-44=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[44, 30], Operations: ['80-59=21', '51-21=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[44, 59, 29], Operations: ['80-51=29']
Exploring Operation: 59-29=30, Resulting Numbers: [44, 30]
Generated Node #0,1,0: 32:[44, 30] Operation: 59-29=30
Exploring Operation: 59-44=15, Resulting Numbers: [29, 15]
Generated Node #0,1,1: 32:[29, 15] Operation: 59-44=15
Moving to Node #0,1,1
Current State: 32:[29, 15], Operations: ['80-51=29', '59-44=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[44, 30], Operations: ['80-51=29', '59-29=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
92,
47,
74
] | 89 | [
"74-47=27",
"81/27=3",
"92-3=89"
] | Current State: 89:[81, 92, 47, 74], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [81, 92, 27]
Generated Node #2: [81, 92, 27] from Operation: 74-47=27
Current State: 89:[81, 92, 27], Operations: ['74-47=27']
Exploring Operation: 81/27=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 81/27=3
Current State: 89:[92, 3], Operations: ['74-47=27', '81/27=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[81, 92, 47, 74], Operations: []
Exploring Operation: 81+47=128, Resulting Numbers: [92, 74, 128]
Generated Node #0,0: 89:[92, 74, 128] Operation: 81+47=128
Exploring Operation: 81-47=34, Resulting Numbers: [92, 74, 34]
Generated Node #0,1: 89:[92, 74, 34] Operation: 81-47=34
Exploring Operation: 47+74=121, Resulting Numbers: [81, 92, 121]
Generated Node #0,2: 89:[81, 92, 121] Operation: 47+74=121
Exploring Operation: 92-47=45, Resulting Numbers: [81, 74, 45]
Generated Node #0,3: 89:[81, 74, 45] Operation: 92-47=45
Exploring Operation: 92+47=139, Resulting Numbers: [81, 74, 139]
Generated Node #0,4: 89:[81, 74, 139] Operation: 92+47=139
Moving to Node #0,2
Current State: 89:[81, 92, 121], Operations: ['47+74=121']
Exploring Operation: 81+92=173, Resulting Numbers: [121, 173]
Generated Node #0,2,0: 89:[121, 173] Operation: 81+92=173
Exploring Operation: 121-92=29, Resulting Numbers: [81, 29]
Generated Node #0,2,1: 89:[81, 29] Operation: 121-92=29
Exploring Operation: 92-81=11, Resulting Numbers: [121, 11]
Generated Node #0,2,2: 89:[121, 11] Operation: 92-81=11
Exploring Operation: 121-81=40, Resulting Numbers: [92, 40]
Generated Node #0,2,3: 89:[92, 40] Operation: 121-81=40
Exploring Operation: 81+121=202, Resulting Numbers: [92, 202]
Generated Node #0,2,4: 89:[92, 202] Operation: 81+121=202
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[92, 40], Operations: ['47+74=121', '121-81=40']
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 92*40=3680, Resulting Numbers: [3680]
3680,89 unequal: No Solution
Exploring Operation: 92+40=132, Resulting Numbers: [132]
132,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,2,1
Current State: 89:[81, 29], Operations: ['47+74=121', '121-92=29']
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,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,2,2
Current State: 89:[121, 11], Operations: ['47+74=121', '92-81=11']
Exploring Operation: 121*11=1331, Resulting Numbers: [1331]
1331,89 unequal: No Solution
Exploring Operation: 121+11=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 121-11=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 121/11=11, Resulting Numbers: [11]
11,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,2,0
Current State: 89:[121, 173], Operations: ['47+74=121', '81+92=173']
Exploring Operation: 121*173=20933, Resulting Numbers: [20933]
20933,89 unequal: No Solution
Exploring Operation: 173-121=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 121+173=294, Resulting Numbers: [294]
294,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,2,4
Current State: 89:[92, 202], Operations: ['47+74=121', '81+121=202']
Exploring Operation: 92*202=18584, Resulting Numbers: [18584]
18584,89 unequal: No Solution
Exploring Operation: 92+202=294, Resulting Numbers: [294]
294,89 unequal: No Solution
Exploring Operation: 202-92=110, Resulting Numbers: [110]
110,89 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: 89:[92, 74, 128], Operations: ['81+47=128']
Exploring Operation: 128-74=54, Resulting Numbers: [92, 54]
Generated Node #0,0,0: 89:[92, 54] Operation: 128-74=54
Exploring Operation: 74+128=202, Resulting Numbers: [92, 202]
Generated Node #0,0,1: 89:[92, 202] Operation: 74+128=202
Exploring Operation: 92+74=166, Resulting Numbers: [128, 166]
Generated Node #0,0,2: 89:[128, 166] Operation: 92+74=166
Exploring Operation: 92-74=18, Resulting Numbers: [128, 18]
Generated Node #0,0,3: 89:[128, 18] Operation: 92-74=18
Exploring Operation: 128-92=36, Resulting Numbers: [74, 36]
Generated Node #0,0,4: 89:[74, 36] Operation: 128-92=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[92, 54], Operations: ['81+47=128', '128-74=54']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 92*54=4968, Resulting Numbers: [4968]
4968,89 unequal: No Solution
Exploring Operation: 92+54=146, Resulting Numbers: [146]
146,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,0,4
Current State: 89:[74, 36], Operations: ['81+47=128', '128-92=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,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,0,3
Current State: 89:[128, 18], Operations: ['81+47=128', '92-74=18']
Exploring Operation: 128-18=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 128*18=2304, Resulting Numbers: [2304]
2304,89 unequal: No Solution
Exploring Operation: 128+18=146, Resulting Numbers: [146]
146,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,0,1
Current State: 89:[92, 202], Operations: ['81+47=128', '74+128=202']
Exploring Operation: 92*202=18584, Resulting Numbers: [18584]
18584,89 unequal: No Solution
Exploring Operation: 202-92=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 92+202=294, Resulting Numbers: [294]
294,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,0,2
Current State: 89:[128, 166], Operations: ['81+47=128', '92+74=166']
Exploring Operation: 128+166=294, Resulting Numbers: [294]
294,89 unequal: No Solution
Exploring Operation: 166-128=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 128*166=21248, Resulting Numbers: [21248]
21248,89 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: 89:[81, 74, 45], Operations: ['92-47=45']
Exploring Operation: 81+45=126, Resulting Numbers: [74, 126]
Generated Node #0,3,0: 89:[74, 126] Operation: 81+45=126
Exploring Operation: 81+74=155, Resulting Numbers: [45, 155]
Generated Node #0,3,1: 89:[45, 155] Operation: 81+74=155
Exploring Operation: 81-45=36, Resulting Numbers: [74, 36]
Generated Node #0,3,2: 89:[74, 36] Operation: 81-45=36
Exploring Operation: 74+45=119, Resulting Numbers: [81, 119]
Generated Node #0,3,3: 89:[81, 119] Operation: 74+45=119
Exploring Operation: 74-45=29, Resulting Numbers: [81, 29]
Generated Node #0,3,4: 89:[81, 29] Operation: 74-45=29
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[81, 119], Operations: ['92-47=45', '74+45=119']
Exploring Operation: 119-81=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 81+119=200, Resulting Numbers: [200]
200,89 unequal: No Solution
Exploring Operation: 81*119=9639, Resulting Numbers: [9639]
9639,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,3,0
Current State: 89:[74, 126], Operations: ['92-47=45', '81+45=126']
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,89 unequal: No Solution
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,89 unequal: No Solution
Exploring Operation: 74*126=9324, Resulting Numbers: [9324]
9324,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,3,2
Current State: 89:[74, 36], Operations: ['92-47=45', '81-45=36']
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,89 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,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,3,4
Current State: 89:[81, 29], Operations: ['92-47=45', '74-45=29']
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,89 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,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,3,1
Current State: 89:[45, 155], Operations: ['92-47=45', '81+74=155']
Exploring Operation: 45+155=200, Resulting Numbers: [200]
200,89 unequal: No Solution
Exploring Operation: 155-45=110, Resulting Numbers: [110]
110,89 unequal: No Solution
Exploring Operation: 45*155=6975, Resulting Numbers: [6975]
6975,89 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: 89:[92, 74, 34], Operations: ['81-47=34']
Exploring Operation: 74+34=108, Resulting Numbers: [92, 108]
Generated Node #0,1,0: 89:[92, 108] Operation: 74+34=108
Exploring Operation: 92-34=58, Resulting Numbers: [74, 58]
Generated Node #0,1,1: 89:[74, 58] Operation: 92-34=58
Exploring Operation: 92-74=18, Resulting Numbers: [34, 18]
Generated Node #0,1,2: 89:[34, 18] Operation: 92-74=18
Exploring Operation: 92+34=126, Resulting Numbers: [74, 126]
Generated Node #0,1,3: 89:[74, 126] Operation: 92+34=126
Exploring Operation: 74-34=40, Resulting Numbers: [92, 40]
Generated Node #0,1,4: 89:[92, 40] Operation: 74-34=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[92, 108], Operations: ['81-47=34', '74+34=108']
Exploring Operation: 92*108=9936, Resulting Numbers: [9936]
9936,89 unequal: No Solution
Exploring Operation: 92+108=200, Resulting Numbers: [200]
200,89 unequal: No Solution
Exploring Operation: 108-92=16, Resulting Numbers: [16]
16,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,1
Current State: 89:[74, 58], Operations: ['81-47=34', '92-34=58']
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,89 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,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,3
Current State: 89:[74, 126], Operations: ['81-47=34', '92+34=126']
Exploring Operation: 74+126=200, Resulting Numbers: [200]
200,89 unequal: No Solution
Exploring Operation: 74*126=9324, Resulting Numbers: [9324]
9324,89 unequal: No Solution
Exploring Operation: 126-74=52, Resulting Numbers: [52]
52,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,4
Current State: 89:[92, 40], Operations: ['81-47=34', '74-34=40']
Exploring Operation: 92+40=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 92*40=3680, Resulting Numbers: [3680]
3680,89 unequal: No Solution
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,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,2
Current State: 89:[34, 18], Operations: ['81-47=34', '92-74=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,89 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,89 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: 89:[81, 74, 139], Operations: ['92+47=139']
Exploring Operation: 81+74=155, Resulting Numbers: [139, 155]
Generated Node #0,4,0: 89:[139, 155] Operation: 81+74=155
Exploring Operation: 74+139=213, Resulting Numbers: [81, 213]
Generated Node #0,4,1: 89:[81, 213] Operation: 74+139=213
Exploring Operation: 139-81=58, Resulting Numbers: [74, 58]
Generated Node #0,4,2: 89:[74, 58] Operation: 139-81=58
Exploring Operation: 139-74=65, Resulting Numbers: [81, 65]
Generated Node #0,4,3: 89:[81, 65] Operation: 139-74=65
Exploring Operation: 81-74=7, Resulting Numbers: [139, 7]
Generated Node #0,4,4: 89:[139, 7] Operation: 81-74=7
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[81, 65], Operations: ['92+47=139', '139-74=65']
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,89 unequal: No Solution
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,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,4,2
Current State: 89:[74, 58], Operations: ['92+47=139', '139-81=58']
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,89 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,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,4,0
Current State: 89:[139, 155], Operations: ['92+47=139', '81+74=155']
Exploring Operation: 139*155=21545, Resulting Numbers: [21545]
21545,89 unequal: No Solution
Exploring Operation: 155-139=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 139+155=294, Resulting Numbers: [294]
294,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,4,1
Current State: 89:[81, 213], Operations: ['92+47=139', '74+139=213']
Exploring Operation: 81+213=294, Resulting Numbers: [294]
294,89 unequal: No Solution
Exploring Operation: 81*213=17253, Resulting Numbers: [17253]
17253,89 unequal: No Solution
Exploring Operation: 213-81=132, Resulting Numbers: [132]
132,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,4,4
Current State: 89:[139, 7], Operations: ['92+47=139', '81-74=7']
Exploring Operation: 139*7=973, Resulting Numbers: [973]
973,89 unequal: No Solution
Exploring Operation: 139-7=132, Resulting Numbers: [132]
132,89 unequal: No Solution
Exploring Operation: 139+7=146, Resulting Numbers: [146]
146,89 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 |
[
56,
42,
76,
88
] | 66 | [
"56+42=98",
"76+88=164",
"164-98=66"
] | Current State: 66:[56, 42, 76, 88], Operations: []
Exploring Operation: 56+42=98, Resulting Numbers: [76, 88, 98]
Generated Node #2: [76, 88, 98] from Operation: 56+42=98
Current State: 66:[76, 88, 98], Operations: ['56+42=98']
Exploring Operation: 76+88=164, Resulting Numbers: [98, 164]
Generated Node #3: [98, 164] from Operation: 76+88=164
Current State: 66:[98, 164], Operations: ['56+42=98', '76+88=164']
Exploring Operation: 164-98=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[56, 42, 76, 88], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [56, 88, 34]
Generated Node #0,0: 66:[56, 88, 34] Operation: 76-42=34
Exploring Operation: 88-56=32, Resulting Numbers: [42, 76, 32]
Generated Node #0,1: 66:[42, 76, 32] Operation: 88-56=32
Exploring Operation: 76-56=20, Resulting Numbers: [42, 88, 20]
Generated Node #0,2: 66:[42, 88, 20] Operation: 76-56=20
Exploring Operation: 88-76=12, Resulting Numbers: [56, 42, 12]
Generated Node #0,3: 66:[56, 42, 12] Operation: 88-76=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[42, 76, 32], Operations: ['88-56=32']
Exploring Operation: 76-42=34, Resulting Numbers: [32, 34]
Generated Node #0,1,0: 66:[32, 34] Operation: 76-42=34
Exploring Operation: 42-32=10, Resulting Numbers: [76, 10]
Generated Node #0,1,1: 66:[76, 10] Operation: 42-32=10
Exploring Operation: 42+32=74, Resulting Numbers: [76, 74]
Generated Node #0,1,2: 66:[76, 74] Operation: 42+32=74
Exploring Operation: 76-32=44, Resulting Numbers: [42, 44]
Generated Node #0,1,3: 66:[42, 44] Operation: 76-32=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[32, 34], Operations: ['88-56=32', '76-42=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,66 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[56, 42, 76, 88], Operations: []
Exploring Operation: 88-56=32, Resulting Numbers: [42, 76, 32]
Generated Node #0,1: 66:[42, 76, 32] Operation: 88-56=32
Moving to Node #0,1
Current State: 66:[42, 76, 32], Operations: ['88-56=32']
Exploring Operation: 76-42=34, Resulting Numbers: [32, 34]
Generated Node #0,1,0: 66:[32, 34] Operation: 76-42=34
Moving to Node #0,1,0
Current State: 66:[32, 34], Operations: ['88-56=32', '76-42=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
20,
75,
36,
28
] | 73 | [
"20+36=56",
"56/28=2",
"75-2=73"
] | Current State: 73:[20, 75, 36, 28], Operations: []
Exploring Operation: 20+36=56, Resulting Numbers: [75, 28, 56]
Generated Node #2: [75, 28, 56] from Operation: 20+36=56
Current State: 73:[75, 28, 56], Operations: ['20+36=56']
Exploring Operation: 56/28=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 56/28=2
Current State: 73:[75, 2], Operations: ['20+36=56', '56/28=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[20, 75, 36, 28], Operations: []
Exploring Operation: 75-20=55, Resulting Numbers: [36, 28, 55]
Generated Node #0,0: 73:[36, 28, 55] Operation: 75-20=55
Exploring Operation: 20+28=48, Resulting Numbers: [75, 36, 48]
Generated Node #0,1: 73:[75, 36, 48] Operation: 20+28=48
Exploring Operation: 36+28=64, Resulting Numbers: [20, 75, 64]
Generated Node #0,2: 73:[20, 75, 64] Operation: 36+28=64
Exploring Operation: 20+36=56, Resulting Numbers: [75, 28, 56]
Generated Node #0,3: 73:[75, 28, 56] Operation: 20+36=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[75, 36, 48], Operations: ['20+28=48']
Exploring Operation: 75+36=111, Resulting Numbers: [48, 111]
Generated Node #0,1,0: 73:[48, 111] Operation: 75+36=111
Exploring Operation: 48-36=12, Resulting Numbers: [75, 12]
Generated Node #0,1,1: 73:[75, 12] Operation: 48-36=12
Exploring Operation: 75-36=39, Resulting Numbers: [48, 39]
Generated Node #0,1,2: 73:[48, 39] Operation: 75-36=39
Exploring Operation: 36+48=84, Resulting Numbers: [75, 84]
Generated Node #0,1,3: 73:[75, 84] Operation: 36+48=84
Moving to Node #0,1,3
Current State: 73:[75, 84], Operations: ['20+28=48', '36+48=84']
Exploring Operation: 75+84=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 75*84=6300, Resulting Numbers: [6300]
6300,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[48, 39], Operations: ['20+28=48', '75-36=39']
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,73 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[75, 12], Operations: ['20+28=48', '48-36=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,73 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[48, 111], Operations: ['20+28=48', '75+36=111']
Exploring Operation: 48*111=5328, Resulting Numbers: [5328]
5328,73 unequal: No Solution
Exploring Operation: 48+111=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 111-48=63, Resulting Numbers: [63]
63,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[20, 75, 64], Operations: ['36+28=64']
Exploring Operation: 64-20=44, Resulting Numbers: [75, 44]
Generated Node #0,2,0: 73:[75, 44] Operation: 64-20=44
Exploring Operation: 20+75=95, Resulting Numbers: [64, 95]
Generated Node #0,2,1: 73:[64, 95] Operation: 20+75=95
Exploring Operation: 75-20=55, Resulting Numbers: [64, 55]
Generated Node #0,2,2: 73:[64, 55] Operation: 75-20=55
Exploring Operation: 20+64=84, Resulting Numbers: [75, 84]
Generated Node #0,2,3: 73:[75, 84] Operation: 20+64=84
Moving to Node #0,2,3
Current State: 73:[75, 84], Operations: ['36+28=64', '20+64=84']
Exploring Operation: 75*84=6300, Resulting Numbers: [6300]
6300,73 unequal: No Solution
Exploring Operation: 75+84=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[64, 55], Operations: ['36+28=64', '75-20=55']
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[64, 95], Operations: ['36+28=64', '20+75=95']
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 64*95=6080, Resulting Numbers: [6080]
6080,73 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[75, 44], Operations: ['36+28=64', '64-20=44']
Exploring Operation: 75-44=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 75*44=3300, Resulting Numbers: [3300]
3300,73 unequal: No Solution
Exploring Operation: 75+44=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[75, 28, 56], Operations: ['20+36=56']
Exploring Operation: 75-28=47, Resulting Numbers: [56, 47]
Generated Node #0,3,0: 73:[56, 47] Operation: 75-28=47
Exploring Operation: 56-28=28, Resulting Numbers: [75, 28]
Generated Node #0,3,1: 73:[75, 28] Operation: 56-28=28
Exploring Operation: 75+28=103, Resulting Numbers: [56, 103]
Generated Node #0,3,2: 73:[56, 103] Operation: 75+28=103
Exploring Operation: 28+56=84, Resulting Numbers: [75, 84]
Generated Node #0,3,3: 73:[75, 84] Operation: 28+56=84
Moving to Node #0,3,3
Current State: 73:[75, 84], Operations: ['20+36=56', '28+56=84']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 75*84=6300, Resulting Numbers: [6300]
6300,73 unequal: No Solution
Exploring Operation: 75+84=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[56, 47], Operations: ['20+36=56', '75-28=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,73 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[56, 103], Operations: ['20+36=56', '75+28=103']
Exploring Operation: 56*103=5768, Resulting Numbers: [5768]
5768,73 unequal: No Solution
Exploring Operation: 56+103=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 103-56=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[75, 28], Operations: ['20+36=56', '56-28=28']
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,73 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,73 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[36, 28, 55], Operations: ['75-20=55']
Exploring Operation: 36+28=64, Resulting Numbers: [55, 64]
Generated Node #0,0,0: 73:[55, 64] Operation: 36+28=64
Exploring Operation: 36+55=91, Resulting Numbers: [28, 91]
Generated Node #0,0,1: 73:[28, 91] Operation: 36+55=91
Exploring Operation: 36-28=8, Resulting Numbers: [55, 8]
Generated Node #0,0,2: 73:[55, 8] Operation: 36-28=8
Exploring Operation: 28+55=83, Resulting Numbers: [36, 83]
Generated Node #0,0,3: 73:[36, 83] Operation: 28+55=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[55, 64], Operations: ['75-20=55', '36+28=64']
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,73 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[36, 83], Operations: ['75-20=55', '28+55=83']
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,73 unequal: No Solution
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[28, 91], Operations: ['75-20=55', '36+55=91']
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 28*91=2548, Resulting Numbers: [2548]
2548,73 unequal: No Solution
Exploring Operation: 28+91=119, Resulting Numbers: [119]
119,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[55, 8], Operations: ['75-20=55', '36-28=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,73 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
40,
23,
25,
42
] | 21 | [
"42-40=2",
"23*2=46",
"46-25=21"
] | Current State: 21:[40, 23, 25, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [23, 25, 2]
Generated Node #2: [23, 25, 2] from Operation: 42-40=2
Current State: 21:[23, 25, 2], Operations: ['42-40=2']
Exploring Operation: 23*2=46, Resulting Numbers: [25, 46]
Generated Node #3: [25, 46] from Operation: 23*2=46
Current State: 21:[25, 46], Operations: ['42-40=2', '23*2=46']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[40, 23, 25, 42], Operations: []
Exploring Operation: 42-25=17, Resulting Numbers: [40, 23, 17]
Generated Node #0,0: 21:[40, 23, 17] Operation: 42-25=17
Exploring Operation: 40-23=17, Resulting Numbers: [25, 42, 17]
Generated Node #0,1: 21:[25, 42, 17] Operation: 40-23=17
Exploring Operation: 42-40=2, Resulting Numbers: [23, 25, 2]
Generated Node #0,2: 21:[23, 25, 2] Operation: 42-40=2
Exploring Operation: 42-23=19, Resulting Numbers: [40, 25, 19]
Generated Node #0,3: 21:[40, 25, 19] Operation: 42-23=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[23, 25, 2], Operations: ['42-40=2']
Exploring Operation: 25-23=2, Resulting Numbers: [2, 2]
Generated Node #0,2,0: 21:[2, 2] Operation: 25-23=2
Exploring Operation: 23+2=25, Resulting Numbers: [25, 25]
Generated Node #0,2,1: 21:[25, 25] Operation: 23+2=25
Exploring Operation: 25-2=23, Resulting Numbers: [23, 23]
Generated Node #0,2,2: 21:[23, 23] Operation: 25-2=23
Exploring Operation: 23-2=21, Resulting Numbers: [25, 21]
Generated Node #0,2,3: 21:[25, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[2, 2], Operations: ['42-40=2', '25-23=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No 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: 21:[23, 23], Operations: ['42-40=2', '25-2=23']
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,21 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,21 unequal: No Solution
No 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: 21:[25, 21], Operations: ['42-40=2', '23-2=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,21 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No 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: 21:[25, 25], Operations: ['42-40=2', '23+2=25']
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 25*25=625, Resulting Numbers: [625]
625,21 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: 21:[40, 23, 17], Operations: ['42-25=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23, 23]
Generated Node #0,0,0: 21:[23, 23] Operation: 40-17=23
Exploring Operation: 40-23=17, Resulting Numbers: [17, 17]
Generated Node #0,0,1: 21:[17, 17] Operation: 40-23=17
Exploring Operation: 40+17=57, Resulting Numbers: [23, 57]
Generated Node #0,0,2: 21:[23, 57] Operation: 40+17=57
Exploring Operation: 23-17=6, Resulting Numbers: [40, 6]
Generated Node #0,0,3: 21:[40, 6] Operation: 23-17=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[23, 23], Operations: ['42-25=17', '40-17=23']
Exploring Operation: 23+23=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 23*23=529, Resulting Numbers: [529]
529,21 unequal: No Solution
Exploring Operation: 23/23=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 23-23=0, Resulting Numbers: [0]
0,21 unequal: No Solution
No 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: 21:[17, 17], Operations: ['42-25=17', '40-23=17']
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,21 unequal: No Solution
No 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: 21:[40, 6], Operations: ['42-25=17', '23-17=6']
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,21 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,21 unequal: No Solution
No 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: 21:[23, 57], Operations: ['42-25=17', '40+17=57']
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,21 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,21 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: 21:[40, 25, 19], Operations: ['42-23=19']
Exploring Operation: 40-25=15, Resulting Numbers: [19, 15]
Generated Node #0,3,0: 21:[19, 15] Operation: 40-25=15
Exploring Operation: 25-19=6, Resulting Numbers: [40, 6]
Generated Node #0,3,1: 21:[40, 6] Operation: 25-19=6
Exploring Operation: 40-19=21, Resulting Numbers: [25, 21]
Generated Node #0,3,2: 21:[25, 21] Operation: 40-19=21
Exploring Operation: 40+19=59, Resulting Numbers: [25, 59]
Generated Node #0,3,3: 21:[25, 59] Operation: 40+19=59
Moving to Node #0,3,2
Current State: 21:[25, 21], Operations: ['42-23=19', '40-19=21']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[19, 15], Operations: ['42-23=19', '40-25=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,21 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[40, 6], Operations: ['42-23=19', '25-19=6']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 40*6=240, Resulting Numbers: [240]
240,21 unequal: No Solution
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[25, 59], Operations: ['42-23=19', '40+19=59']
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[25, 42, 17], Operations: ['40-23=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42, 42]
Generated Node #0,1,0: 21:[42, 42] Operation: 25+17=42
Exploring Operation: 42-17=25, Resulting Numbers: [25, 25]
Generated Node #0,1,1: 21:[25, 25] Operation: 42-17=25
Exploring Operation: 25-17=8, Resulting Numbers: [42, 8]
Generated Node #0,1,2: 21:[42, 8] Operation: 25-17=8
Exploring Operation: 42-25=17, Resulting Numbers: [17, 17]
Generated Node #0,1,3: 21:[17, 17] Operation: 42-25=17
Moving to Node #0,1,1
Current State: 21:[25, 25], Operations: ['40-23=17', '42-17=25']
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 25*25=625, Resulting Numbers: [625]
625,21 unequal: No Solution
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[17, 17], Operations: ['40-23=17', '42-25=17']
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 17*17=289, Resulting Numbers: [289]
289,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[42, 8], Operations: ['40-23=17', '25-17=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,21 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[42, 42], Operations: ['40-23=17', '25+17=42']
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,21 unequal: No Solution
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,21 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,21 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 |
[
97,
68,
39,
8
] | 76 | [
"97-68=29",
"39+8=47",
"29+47=76"
] | Current State: 76:[97, 68, 39, 8], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [39, 8, 29]
Generated Node #2: [39, 8, 29] from Operation: 97-68=29
Current State: 76:[39, 8, 29], Operations: ['97-68=29']
Exploring Operation: 39+8=47, Resulting Numbers: [29, 47]
Generated Node #3: [29, 47] from Operation: 39+8=47
Current State: 76:[29, 47], Operations: ['97-68=29', '39+8=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[97, 68, 39, 8], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [39, 8, 29]
Generated Node #0,0: 76:[39, 8, 29] Operation: 97-68=29
Exploring Operation: 97-8=89, Resulting Numbers: [68, 39, 89]
Generated Node #0,1: 76:[68, 39, 89] Operation: 97-8=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[39, 8, 29], Operations: ['97-68=29']
Exploring Operation: 29-8=21, Resulting Numbers: [39, 21]
Generated Node #0,0,0: 76:[39, 21] Operation: 29-8=21
Exploring Operation: 8+29=37, Resulting Numbers: [39, 37]
Generated Node #0,0,1: 76:[39, 37] Operation: 8+29=37
Moving to Node #0,0,1
Current State: 76:[39, 37], Operations: ['97-68=29', '8+29=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[97, 68, 39, 8], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [39, 8, 29]
Generated Node #0,0: 76:[39, 8, 29] Operation: 97-68=29
Moving to Node #0,0
Current State: 76:[39, 8, 29], Operations: ['97-68=29']
Exploring Operation: 8+29=37, Resulting Numbers: [39, 37]
Generated Node #0,0,1: 76:[39, 37] Operation: 8+29=37
Moving to Node #0,0,1
Current State: 76:[39, 37], Operations: ['97-68=29', '8+29=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
16,
36,
24,
9
] | 33 | [
"16*36=576",
"576/24=24",
"9+24=33"
] | Current State: 33:[16, 36, 24, 9], Operations: []
Exploring Operation: 16*36=576, Resulting Numbers: [24, 9, 576]
Generated Node #2: [24, 9, 576] from Operation: 16*36=576
Current State: 33:[24, 9, 576], Operations: ['16*36=576']
Exploring Operation: 576/24=24, Resulting Numbers: [9, 24]
Generated Node #3: [9, 24] from Operation: 576/24=24
Current State: 33:[9, 24], Operations: ['16*36=576', '576/24=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[16, 36, 24, 9], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [16, 36, 15]
Generated Node #0,0: 33:[16, 36, 15] Operation: 24-9=15
Exploring Operation: 24-16=8, Resulting Numbers: [36, 9, 8]
Generated Node #0,1: 33:[36, 9, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [36, 9, 40]
Generated Node #0,2: 33:[36, 9, 40] Operation: 16+24=40
Exploring Operation: 36-24=12, Resulting Numbers: [16, 9, 12]
Generated Node #0,3: 33:[16, 9, 12] Operation: 36-24=12
Exploring Operation: 24+9=33, Resulting Numbers: [16, 36, 33]
Generated Node #0,4: 33:[16, 36, 33] Operation: 24+9=33
Moving to Node #0,1
Current State: 33:[36, 9, 8], Operations: ['24-16=8']
Exploring Operation: 36-9=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 33:[8, 27] Operation: 36-9=27
Exploring Operation: 9+8=17, Resulting Numbers: [36, 17]
Generated Node #0,1,1: 33:[36, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [36, 1]
Generated Node #0,1,2: 33:[36, 1] Operation: 9-8=1
Exploring Operation: 36/9=4, Resulting Numbers: [8, 4]
Generated Node #0,1,3: 33:[8, 4] Operation: 36/9=4
Exploring Operation: 36-8=28, Resulting Numbers: [9, 28]
Generated Node #0,1,4: 33:[9, 28] Operation: 36-8=28
Moving to Node #0,4
Current State: 33:[16, 36, 33], Operations: ['24+9=33']
Exploring Operation: 16+33=49, Resulting Numbers: [36, 49]
Generated Node #0,4,0: 33:[36, 49] Operation: 16+33=49
Exploring Operation: 36-33=3, Resulting Numbers: [16, 3]
Generated Node #0,4,1: 33:[16, 3] Operation: 36-33=3
Exploring Operation: 33-16=17, Resulting Numbers: [36, 17]
Generated Node #0,4,2: 33:[36, 17] Operation: 33-16=17
Exploring Operation: 16+36=52, Resulting Numbers: [33, 52]
Generated Node #0,4,3: 33:[33, 52] Operation: 16+36=52
Exploring Operation: 36-16=20, Resulting Numbers: [33, 20]
Generated Node #0,4,4: 33:[33, 20] Operation: 36-16=20
Moving to Node #0,3
Current State: 33:[16, 9, 12], Operations: ['36-24=12']
Exploring Operation: 16-12=4, Resulting Numbers: [9, 4]
Generated Node #0,3,0: 33:[9, 4] Operation: 16-12=4
Exploring Operation: 16+9=25, Resulting Numbers: [12, 25]
Generated Node #0,3,1: 33:[12, 25] Operation: 16+9=25
Exploring Operation: 16+12=28, Resulting Numbers: [9, 28]
Generated Node #0,3,2: 33:[9, 28] Operation: 16+12=28
Exploring Operation: 16-9=7, Resulting Numbers: [12, 7]
Generated Node #0,3,3: 33:[12, 7] Operation: 16-9=7
Exploring Operation: 12-9=3, Resulting Numbers: [16, 3]
Generated Node #0,3,4: 33:[16, 3] Operation: 12-9=3
Moving to Node #0,0
Current State: 33:[16, 36, 15], Operations: ['24-9=15']
Exploring Operation: 36-15=21, Resulting Numbers: [16, 21]
Generated Node #0,0,0: 33:[16, 21] Operation: 36-15=21
Exploring Operation: 16+15=31, Resulting Numbers: [36, 31]
Generated Node #0,0,1: 33:[36, 31] Operation: 16+15=31
Exploring Operation: 16+36=52, Resulting Numbers: [15, 52]
Generated Node #0,0,2: 33:[15, 52] Operation: 16+36=52
Exploring Operation: 36-16=20, Resulting Numbers: [15, 20]
Generated Node #0,0,3: 33:[15, 20] Operation: 36-16=20
Exploring Operation: 16-15=1, Resulting Numbers: [36, 1]
Generated Node #0,0,4: 33:[36, 1] Operation: 16-15=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[36, 31], Operations: ['24-9=15', '16+15=31']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 33:[36, 1], Operations: ['24-9=15', '16-15=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[15, 20], Operations: ['24-9=15', '36-16=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,33 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[16, 21], Operations: ['24-9=15', '36-15=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,33 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[15, 52], Operations: ['24-9=15', '16+36=52']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 15*52=780, Resulting Numbers: [780]
780,33 unequal: No Solution
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,33 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: 33:[36, 9, 40], Operations: ['16+24=40']
Exploring Operation: 36-9=27, Resulting Numbers: [40, 27]
Generated Node #0,2,0: 33:[40, 27] Operation: 36-9=27
Exploring Operation: 40-36=4, Resulting Numbers: [9, 4]
Generated Node #0,2,1: 33:[9, 4] Operation: 40-36=4
Exploring Operation: 36+9=45, Resulting Numbers: [40, 45]
Generated Node #0,2,2: 33:[40, 45] Operation: 36+9=45
Exploring Operation: 40-9=31, Resulting Numbers: [36, 31]
Generated Node #0,2,3: 33:[36, 31] Operation: 40-9=31
Exploring Operation: 36/9=4, Resulting Numbers: [40, 4]
Generated Node #0,2,4: 33:[40, 4] Operation: 36/9=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[9, 4], Operations: ['16+24=40', '40-36=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[36, 31], Operations: ['16+24=40', '40-9=31']
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 33:[40, 4], Operations: ['16+24=40', '36/9=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[40, 27], Operations: ['16+24=40', '36-9=27']
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,33 unequal: No Solution
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,33 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[40, 45], Operations: ['16+24=40', '36+9=45']
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,33 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 33:[9, 4], Operations: ['36-24=12', '16-12=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[8, 4], Operations: ['24-16=8', '36/9=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[16, 3], Operations: ['24+9=33', '36-33=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[12, 7], Operations: ['36-24=12', '16-9=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,3,4
Current State: 33:[16, 3], Operations: ['36-24=12', '12-9=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[36, 1], Operations: ['24-16=8', '9-8=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[9, 28], Operations: ['36-24=12', '16+12=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[9, 28], Operations: ['24-16=8', '36-8=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,33 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[36, 17], Operations: ['24+9=33', '33-16=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,33 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[33, 20], Operations: ['24+9=33', '36-16=20']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[36, 17], Operations: ['24-16=8', '9+8=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,33 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[12, 25], Operations: ['36-24=12', '16+9=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,33 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[8, 27], Operations: ['24-16=8', '36-9=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,33 unequal: No Solution
Moving to Node #0,4,0
Current State: 33:[36, 49], Operations: ['24+9=33', '16+33=49']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 36+49=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 36*49=1764, Resulting Numbers: [1764]
1764,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[33, 52], Operations: ['24+9=33', '16+36=52']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,33 unequal: No Solution
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,33 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
26,
55,
4,
3
] | 93 | [
"26+55=81",
"4*3=12",
"81+12=93"
] | Current State: 93:[26, 55, 4, 3], Operations: []
Exploring Operation: 26+55=81, Resulting Numbers: [4, 3, 81]
Generated Node #2: [4, 3, 81] from Operation: 26+55=81
Current State: 93:[4, 3, 81], Operations: ['26+55=81']
Exploring Operation: 4*3=12, Resulting Numbers: [81, 12]
Generated Node #3: [81, 12] from Operation: 4*3=12
Current State: 93:[81, 12], Operations: ['26+55=81', '4*3=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[26, 55, 4, 3], Operations: []
Exploring Operation: 26+4=30, Resulting Numbers: [55, 3, 30]
Generated Node #0,0: 93:[55, 3, 30] Operation: 26+4=30
Exploring Operation: 55-26=29, Resulting Numbers: [4, 3, 29]
Generated Node #0,1: 93:[4, 3, 29] Operation: 55-26=29
Exploring Operation: 26+55=81, Resulting Numbers: [4, 3, 81]
Generated Node #0,2: 93:[4, 3, 81] Operation: 26+55=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[4, 3, 29], Operations: ['55-26=29']
Exploring Operation: 3+29=32, Resulting Numbers: [4, 32]
Generated Node #0,1,0: 93:[4, 32] Operation: 3+29=32
Exploring Operation: 4-3=1, Resulting Numbers: [29, 1]
Generated Node #0,1,1: 93:[29, 1] Operation: 4-3=1
Exploring Operation: 4+29=33, Resulting Numbers: [3, 33]
Generated Node #0,1,2: 93:[3, 33] Operation: 4+29=33
Moving to Node #0,1,0
Current State: 93:[4, 32], Operations: ['55-26=29', '3+29=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[3, 33], Operations: ['55-26=29', '4+29=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,93 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[29, 1], Operations: ['55-26=29', '4-3=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[4, 3, 81], Operations: ['26+55=81']
Exploring Operation: 81/3=27, Resulting Numbers: [4, 27]
Generated Node #0,2,0: 93:[4, 27] Operation: 81/3=27
Exploring Operation: 4+81=85, Resulting Numbers: [3, 85]
Generated Node #0,2,1: 93:[3, 85] Operation: 4+81=85
Exploring Operation: 3+81=84, Resulting Numbers: [4, 84]
Generated Node #0,2,2: 93:[4, 84] Operation: 3+81=84
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 93:[4, 27], Operations: ['26+55=81', '81/3=27']
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,93 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 93:[3, 85], Operations: ['26+55=81', '4+81=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,93 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 93:[4, 84], Operations: ['26+55=81', '3+81=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,93 unequal: No Solution
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[55, 3, 30], Operations: ['26+4=30']
Exploring Operation: 55+30=85, Resulting Numbers: [3, 85]
Generated Node #0,0,0: 93:[3, 85] Operation: 55+30=85
Exploring Operation: 55-30=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 93:[3, 25] Operation: 55-30=25
Exploring Operation: 55-3=52, Resulting Numbers: [30, 52]
Generated Node #0,0,2: 93:[30, 52] Operation: 55-3=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[3, 25], Operations: ['26+4=30', '55-30=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,93 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[3, 85], Operations: ['26+4=30', '55+30=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,93 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,93 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[30, 52], Operations: ['26+4=30', '55-3=52']
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,93 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
78,
14,
37,
29
] | 13 | [
"37-14=23",
"29-23=6",
"78/6=13"
] | Current State: 13:[78, 14, 37, 29], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [78, 29, 23]
Generated Node #2: [78, 29, 23] from Operation: 37-14=23
Current State: 13:[78, 29, 23], Operations: ['37-14=23']
Exploring Operation: 29-23=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 29-23=6
Current State: 13:[78, 6], Operations: ['37-14=23', '29-23=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[78, 14, 37, 29], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [14, 29, 41]
Generated Node #0,0: 13:[14, 29, 41] Operation: 78-37=41
Moving to Node #0,0
Current State: 13:[14, 29, 41], Operations: ['78-37=41']
Exploring Operation: 41-29=12, Resulting Numbers: [14, 12]
Generated Node #0,0,0: 13:[14, 12] Operation: 41-29=12
Moving to Node #0,0,0
Current State: 13:[14, 12], Operations: ['78-37=41', '41-29=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
7,
68,
83
] | 63 | [
"7+83=90",
"90/18=5",
"68-5=63"
] | Current State: 63:[18, 7, 68, 83], Operations: []
Exploring Operation: 7+83=90, Resulting Numbers: [18, 68, 90]
Generated Node #2: [18, 68, 90] from Operation: 7+83=90
Current State: 63:[18, 68, 90], Operations: ['7+83=90']
Exploring Operation: 90/18=5, Resulting Numbers: [68, 5]
Generated Node #3: [68, 5] from Operation: 90/18=5
Current State: 63:[68, 5], Operations: ['7+83=90', '90/18=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[18, 7, 68, 83], Operations: []
Exploring Operation: 83-18=65, Resulting Numbers: [7, 68, 65]
Generated Node #0,0: 63:[7, 68, 65] Operation: 83-18=65
Exploring Operation: 83-68=15, Resulting Numbers: [18, 7, 15]
Generated Node #0,1: 63:[18, 7, 15] Operation: 83-68=15
Exploring Operation: 68-7=61, Resulting Numbers: [18, 83, 61]
Generated Node #0,2: 63:[18, 83, 61] Operation: 68-7=61
Exploring Operation: 83-7=76, Resulting Numbers: [18, 68, 76]
Generated Node #0,3: 63:[18, 68, 76] Operation: 83-7=76
Moving to Node #0,0
Current State: 63:[7, 68, 65], Operations: ['83-18=65']
Exploring Operation: 68-65=3, Resulting Numbers: [7, 3]
Generated Node #0,0,0: 63:[7, 3] Operation: 68-65=3
Exploring Operation: 68-7=61, Resulting Numbers: [65, 61]
Generated Node #0,0,1: 63:[65, 61] Operation: 68-7=61
Exploring Operation: 7+68=75, Resulting Numbers: [65, 75]
Generated Node #0,0,2: 63:[65, 75] Operation: 7+68=75
Exploring Operation: 65-7=58, Resulting Numbers: [68, 58]
Generated Node #0,0,3: 63:[68, 58] Operation: 65-7=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[7, 3], Operations: ['83-18=65', '68-65=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,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:[65, 61], Operations: ['83-18=65', '68-7=61']
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,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:[68, 58], Operations: ['83-18=65', '65-7=58']
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,63 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,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,2
Current State: 63:[65, 75], Operations: ['83-18=65', '7+68=75']
Exploring Operation: 65*75=4875, Resulting Numbers: [4875]
4875,63 unequal: No Solution
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 65+75=140, Resulting Numbers: [140]
140,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 63:[18, 7, 15], Operations: ['83-68=15']
Exploring Operation: 15-7=8, Resulting Numbers: [18, 8]
Generated Node #0,1,0: 63:[18, 8] Operation: 15-7=8
Exploring Operation: 18-15=3, Resulting Numbers: [7, 3]
Generated Node #0,1,1: 63:[7, 3] Operation: 18-15=3
Exploring Operation: 18-7=11, Resulting Numbers: [15, 11]
Generated Node #0,1,2: 63:[15, 11] Operation: 18-7=11
Exploring Operation: 7+15=22, Resulting Numbers: [18, 22]
Generated Node #0,1,3: 63:[18, 22] Operation: 7+15=22
Moving to Node #0,3
Current State: 63:[18, 68, 76], Operations: ['83-7=76']
Exploring Operation: 76-68=8, Resulting Numbers: [18, 8]
Generated Node #0,3,0: 63:[18, 8] Operation: 76-68=8
Exploring Operation: 76-18=58, Resulting Numbers: [68, 58]
Generated Node #0,3,1: 63:[68, 58] Operation: 76-18=58
Exploring Operation: 18+68=86, Resulting Numbers: [76, 86]
Generated Node #0,3,2: 63:[76, 86] Operation: 18+68=86
Exploring Operation: 68-18=50, Resulting Numbers: [76, 50]
Generated Node #0,3,3: 63:[76, 50] Operation: 68-18=50
Moving to Node #0,2
Current State: 63:[18, 83, 61], Operations: ['68-7=61']
Exploring Operation: 83-18=65, Resulting Numbers: [61, 65]
Generated Node #0,2,0: 63:[61, 65] Operation: 83-18=65
Exploring Operation: 83-61=22, Resulting Numbers: [18, 22]
Generated Node #0,2,1: 63:[18, 22] Operation: 83-61=22
Exploring Operation: 18+83=101, Resulting Numbers: [61, 101]
Generated Node #0,2,2: 63:[61, 101] Operation: 18+83=101
Exploring Operation: 18+61=79, Resulting Numbers: [83, 79]
Generated Node #0,2,3: 63:[83, 79] Operation: 18+61=79
Moving to Node #0,1,1
Current State: 63:[7, 3], Operations: ['83-68=15', '18-15=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[18, 22], Operations: ['83-68=15', '7+15=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,63 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[18, 8], Operations: ['83-68=15', '15-7=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[18, 8], Operations: ['83-7=76', '76-68=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[18, 22], Operations: ['68-7=61', '83-61=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[61, 65], Operations: ['68-7=61', '83-18=65']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[15, 11], Operations: ['83-68=15', '18-7=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,63 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[68, 58], Operations: ['83-7=76', '76-18=58']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,63 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[76, 50], Operations: ['83-7=76', '68-18=50']
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,63 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[76, 86], Operations: ['83-7=76', '18+68=86']
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,63 unequal: No Solution
Exploring Operation: 76+86=162, Resulting Numbers: [162]
162,63 unequal: No Solution
Exploring Operation: 76*86=6536, Resulting Numbers: [6536]
6536,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[83, 79], Operations: ['68-7=61', '18+61=79']
Exploring Operation: 83+79=162, Resulting Numbers: [162]
162,63 unequal: No Solution
Exploring Operation: 83-79=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 83*79=6557, Resulting Numbers: [6557]
6557,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[61, 101], Operations: ['68-7=61', '18+83=101']
Exploring Operation: 61+101=162, Resulting Numbers: [162]
162,63 unequal: No Solution
Exploring Operation: 101-61=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Exploring Operation: 61*101=6161, Resulting Numbers: [6161]
6161,63 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
54,
68,
11
] | 98 | [
"77/11=7",
"68-54=14",
"7*14=98"
] | Current State: 98:[77, 54, 68, 11], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [54, 68, 7]
Generated Node #2: [54, 68, 7] from Operation: 77/11=7
Current State: 98:[54, 68, 7], Operations: ['77/11=7']
Exploring Operation: 68-54=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 68-54=14
Current State: 98:[7, 14], Operations: ['77/11=7', '68-54=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[77, 54, 68, 11], Operations: []
Exploring Operation: 68-54=14, Resulting Numbers: [77, 11, 14]
Generated Node #0,0: 98:[77, 11, 14] Operation: 68-54=14
Exploring Operation: 77-68=9, Resulting Numbers: [54, 11, 9]
Generated Node #0,1: 98:[54, 11, 9] Operation: 77-68=9
Exploring Operation: 77/11=7, Resulting Numbers: [54, 68, 7]
Generated Node #0,2: 98:[54, 68, 7] Operation: 77/11=7
Exploring Operation: 77+11=88, Resulting Numbers: [54, 68, 88]
Generated Node #0,3: 98:[54, 68, 88] Operation: 77+11=88
Exploring Operation: 77-54=23, Resulting Numbers: [68, 11, 23]
Generated Node #0,4: 98:[68, 11, 23] Operation: 77-54=23
Moving to Node #0,1
Current State: 98:[54, 11, 9], Operations: ['77-68=9']
Exploring Operation: 11*9=99, Resulting Numbers: [54, 99]
Generated Node #0,1,0: 98:[54, 99] Operation: 11*9=99
Exploring Operation: 54/9=6, Resulting Numbers: [11, 6]
Generated Node #0,1,1: 98:[11, 6] Operation: 54/9=6
Exploring Operation: 11-9=2, Resulting Numbers: [54, 2]
Generated Node #0,1,2: 98:[54, 2] Operation: 11-9=2
Exploring Operation: 54-9=45, Resulting Numbers: [11, 45]
Generated Node #0,1,3: 98:[11, 45] Operation: 54-9=45
Exploring Operation: 54-11=43, Resulting Numbers: [9, 43]
Generated Node #0,1,4: 98:[9, 43] Operation: 54-11=43
Moving to Node #0,2
Current State: 98:[54, 68, 7], Operations: ['77/11=7']
Exploring Operation: 68-54=14, Resulting Numbers: [7, 14]
Generated Node #0,2,0: 98:[7, 14] Operation: 68-54=14
Exploring Operation: 68+7=75, Resulting Numbers: [54, 75]
Generated Node #0,2,1: 98:[54, 75] Operation: 68+7=75
Exploring Operation: 68-7=61, Resulting Numbers: [54, 61]
Generated Node #0,2,2: 98:[54, 61] Operation: 68-7=61
Exploring Operation: 54-7=47, Resulting Numbers: [68, 47]
Generated Node #0,2,3: 98:[68, 47] Operation: 54-7=47
Exploring Operation: 54+68=122, Resulting Numbers: [7, 122]
Generated Node #0,2,4: 98:[7, 122] Operation: 54+68=122
Moving to Node #0,0
Current State: 98:[77, 11, 14], Operations: ['68-54=14']
Exploring Operation: 77/11=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 98:[14, 7] Operation: 77/11=7
Exploring Operation: 77+14=91, Resulting Numbers: [11, 91]
Generated Node #0,0,1: 98:[11, 91] Operation: 77+14=91
Exploring Operation: 77-14=63, Resulting Numbers: [11, 63]
Generated Node #0,0,2: 98:[11, 63] Operation: 77-14=63
Exploring Operation: 77+11=88, Resulting Numbers: [14, 88]
Generated Node #0,0,3: 98:[14, 88] Operation: 77+11=88
Exploring Operation: 77-11=66, Resulting Numbers: [14, 66]
Generated Node #0,0,4: 98:[14, 66] Operation: 77-11=66
Moving to Node #0,4
Current State: 98:[68, 11, 23], Operations: ['77-54=23']
Exploring Operation: 68+11=79, Resulting Numbers: [23, 79]
Generated Node #0,4,0: 98:[23, 79] Operation: 68+11=79
Exploring Operation: 23-11=12, Resulting Numbers: [68, 12]
Generated Node #0,4,1: 98:[68, 12] Operation: 23-11=12
Exploring Operation: 68-11=57, Resulting Numbers: [23, 57]
Generated Node #0,4,2: 98:[23, 57] Operation: 68-11=57
Exploring Operation: 68-23=45, Resulting Numbers: [11, 45]
Generated Node #0,4,3: 98:[11, 45] Operation: 68-23=45
Exploring Operation: 68+23=91, Resulting Numbers: [11, 91]
Generated Node #0,4,4: 98:[11, 91] Operation: 68+23=91
Moving to Node #0,3
Current State: 98:[54, 68, 88], Operations: ['77+11=88']
Exploring Operation: 88-68=20, Resulting Numbers: [54, 20]
Generated Node #0,3,0: 98:[54, 20] Operation: 88-68=20
Exploring Operation: 68-54=14, Resulting Numbers: [88, 14]
Generated Node #0,3,1: 98:[88, 14] Operation: 68-54=14
Exploring Operation: 54+68=122, Resulting Numbers: [88, 122]
Generated Node #0,3,2: 98:[88, 122] Operation: 54+68=122
Exploring Operation: 88-54=34, Resulting Numbers: [68, 34]
Generated Node #0,3,3: 98:[68, 34] Operation: 88-54=34
Exploring Operation: 54+88=142, Resulting Numbers: [68, 142]
Generated Node #0,3,4: 98:[68, 142] Operation: 54+88=142
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[88, 14], Operations: ['77+11=88', '68-54=14']
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,98 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,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,3,0
Current State: 98:[54, 20], Operations: ['77+11=88', '88-68=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,98 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,98 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,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,3,2
Current State: 98:[88, 122], Operations: ['77+11=88', '54+68=122']
Exploring Operation: 122-88=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 88+122=210, Resulting Numbers: [210]
210,98 unequal: No Solution
Exploring Operation: 88*122=10736, Resulting Numbers: [10736]
10736,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,3,3
Current State: 98:[68, 34], Operations: ['77+11=88', '88-54=34']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,98 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,98 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,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,3,4
Current State: 98:[68, 142], Operations: ['77+11=88', '54+88=142']
Exploring Operation: 68*142=9656, Resulting Numbers: [9656]
9656,98 unequal: No Solution
Exploring Operation: 68+142=210, Resulting Numbers: [210]
210,98 unequal: No Solution
Exploring Operation: 142-68=74, Resulting Numbers: [74]
74,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 98:[7, 14], Operations: ['77/11=7', '68-54=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[77, 54, 68, 11], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [54, 68, 7]
Generated Node #0,2: 98:[54, 68, 7] Operation: 77/11=7
Moving to Node #0,2
Current State: 98:[54, 68, 7], Operations: ['77/11=7']
Exploring Operation: 68-54=14, Resulting Numbers: [7, 14]
Generated Node #0,2,0: 98:[7, 14] Operation: 68-54=14
Moving to Node #0,2,0
Current State: 98:[7, 14], Operations: ['77/11=7', '68-54=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
77,
50,
25,
84
] | 82 | [
"77-50=27",
"25+84=109",
"109-27=82"
] | Current State: 82:[77, 50, 25, 84], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [25, 84, 27]
Generated Node #2: [25, 84, 27] from Operation: 77-50=27
Current State: 82:[25, 84, 27], Operations: ['77-50=27']
Exploring Operation: 25+84=109, Resulting Numbers: [27, 109]
Generated Node #3: [27, 109] from Operation: 25+84=109
Current State: 82:[27, 109], Operations: ['77-50=27', '25+84=109']
Exploring Operation: 109-27=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[77, 50, 25, 84], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [77, 25, 34]
Generated Node #0,0: 82:[77, 25, 34] Operation: 84-50=34
Exploring Operation: 77-25=52, Resulting Numbers: [50, 84, 52]
Generated Node #0,1: 82:[50, 84, 52] Operation: 77-25=52
Exploring Operation: 50-25=25, Resulting Numbers: [77, 84, 25]
Generated Node #0,2: 82:[77, 84, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [77, 84, 2]
Generated Node #0,3: 82:[77, 84, 2] Operation: 50/25=2
Exploring Operation: 50+25=75, Resulting Numbers: [77, 84, 75]
Generated Node #0,4: 82:[77, 84, 75] Operation: 50+25=75
Moving to Node #0,3
Current State: 82:[77, 84, 2], Operations: ['50/25=2']
Exploring Operation: 84-77=7, Resulting Numbers: [2, 7]
Generated Node #0,3,0: 82:[2, 7] Operation: 84-77=7
Exploring Operation: 77+2=79, Resulting Numbers: [84, 79]
Generated Node #0,3,1: 82:[84, 79] Operation: 77+2=79
Exploring Operation: 84/2=42, Resulting Numbers: [77, 42]
Generated Node #0,3,2: 82:[77, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [77, 82]
Generated Node #0,3,3: 82:[77, 82] Operation: 84-2=82
Exploring Operation: 77-2=75, Resulting Numbers: [84, 75]
Generated Node #0,3,4: 82:[84, 75] Operation: 77-2=75
Moving to Node #0,4
Current State: 82:[77, 84, 75], Operations: ['50+25=75']
Exploring Operation: 77-75=2, Resulting Numbers: [84, 2]
Generated Node #0,4,0: 82:[84, 2] Operation: 77-75=2
Exploring Operation: 84+75=159, Resulting Numbers: [77, 159]
Generated Node #0,4,1: 82:[77, 159] Operation: 84+75=159
Exploring Operation: 84-75=9, Resulting Numbers: [77, 9]
Generated Node #0,4,2: 82:[77, 9] Operation: 84-75=9
Exploring Operation: 84-77=7, Resulting Numbers: [75, 7]
Generated Node #0,4,3: 82:[75, 7] Operation: 84-77=7
Exploring Operation: 77+75=152, Resulting Numbers: [84, 152]
Generated Node #0,4,4: 82:[84, 152] Operation: 77+75=152
Moving to Node #0,1
Current State: 82:[50, 84, 52], Operations: ['77-25=52']
Exploring Operation: 52-50=2, Resulting Numbers: [84, 2]
Generated Node #0,1,0: 82:[84, 2] Operation: 52-50=2
Exploring Operation: 84-52=32, Resulting Numbers: [50, 32]
Generated Node #0,1,1: 82:[50, 32] Operation: 84-52=32
Exploring Operation: 50+84=134, Resulting Numbers: [52, 134]
Generated Node #0,1,2: 82:[52, 134] Operation: 50+84=134
Exploring Operation: 84-50=34, Resulting Numbers: [52, 34]
Generated Node #0,1,3: 82:[52, 34] Operation: 84-50=34
Exploring Operation: 50+52=102, Resulting Numbers: [84, 102]
Generated Node #0,1,4: 82:[84, 102] Operation: 50+52=102
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[84, 2], Operations: ['77-25=52', '52-50=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[77, 50, 25, 84], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [50, 84, 52]
Generated Node #0,1: 82:[50, 84, 52] Operation: 77-25=52
Moving to Node #0,1
Current State: 82:[50, 84, 52], Operations: ['77-25=52']
Exploring Operation: 52-50=2, Resulting Numbers: [84, 2]
Generated Node #0,1,0: 82:[84, 2] Operation: 52-50=2
Moving to Node #0,1,0
Current State: 82:[84, 2], Operations: ['77-25=52', '52-50=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
96,
3,
10,
19
] | 61 | [
"96/3=32",
"10+19=29",
"32+29=61"
] | Current State: 61:[96, 3, 10, 19], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [10, 19, 32]
Generated Node #2: [10, 19, 32] from Operation: 96/3=32
Current State: 61:[10, 19, 32], Operations: ['96/3=32']
Exploring Operation: 10+19=29, Resulting Numbers: [32, 29]
Generated Node #3: [32, 29] from Operation: 10+19=29
Current State: 61:[32, 29], Operations: ['96/3=32', '10+19=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[96, 3, 10, 19], Operations: []
Exploring Operation: 3*19=57, Resulting Numbers: [96, 10, 57]
Generated Node #0,0: 61:[96, 10, 57] Operation: 3*19=57
Exploring Operation: 3*10=30, Resulting Numbers: [96, 19, 30]
Generated Node #0,1: 61:[96, 19, 30] Operation: 3*10=30
Exploring Operation: 96/3=32, Resulting Numbers: [10, 19, 32]
Generated Node #0,2: 61:[10, 19, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[96, 10, 57], Operations: ['3*19=57']
Exploring Operation: 96-10=86, Resulting Numbers: [57, 86]
Generated Node #0,0,0: 61:[57, 86] Operation: 96-10=86
Exploring Operation: 96+10=106, Resulting Numbers: [57, 106]
Generated Node #0,0,1: 61:[57, 106] Operation: 96+10=106
Exploring Operation: 10+57=67, Resulting Numbers: [96, 67]
Generated Node #0,0,2: 61:[96, 67] Operation: 10+57=67
Moving to Node #0,0,0
Current State: 61:[57, 86], Operations: ['3*19=57', '96-10=86']
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 57+86=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 57*86=4902, Resulting Numbers: [4902]
4902,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[96, 67], Operations: ['3*19=57', '10+57=67']
Exploring Operation: 96+67=163, Resulting Numbers: [163]
163,61 unequal: No Solution
Exploring Operation: 96*67=6432, Resulting Numbers: [6432]
6432,61 unequal: No Solution
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[57, 106], Operations: ['3*19=57', '96+10=106']
Exploring Operation: 57+106=163, Resulting Numbers: [163]
163,61 unequal: No Solution
Exploring Operation: 57*106=6042, Resulting Numbers: [6042]
6042,61 unequal: No Solution
Exploring Operation: 106-57=49, Resulting Numbers: [49]
49,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[96, 19, 30], Operations: ['3*10=30']
Exploring Operation: 19+30=49, Resulting Numbers: [96, 49]
Generated Node #0,1,0: 61:[96, 49] Operation: 19+30=49
Exploring Operation: 96-30=66, Resulting Numbers: [19, 66]
Generated Node #0,1,1: 61:[19, 66] Operation: 96-30=66
Exploring Operation: 96-19=77, Resulting Numbers: [30, 77]
Generated Node #0,1,2: 61:[30, 77] Operation: 96-19=77
Moving to Node #0,1,0
Current State: 61:[96, 49], Operations: ['3*10=30', '19+30=49']
Exploring Operation: 96*49=4704, Resulting Numbers: [4704]
4704,61 unequal: No Solution
Exploring Operation: 96-49=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 96+49=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[19, 66], Operations: ['3*10=30', '96-30=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,61 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[30, 77], Operations: ['3*10=30', '96-19=77']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,61 unequal: No Solution
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,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,2
Current State: 61:[10, 19, 32], Operations: ['96/3=32']
Exploring Operation: 10+32=42, Resulting Numbers: [19, 42]
Generated Node #0,2,0: 61:[19, 42] Operation: 10+32=42
Exploring Operation: 10+19=29, Resulting Numbers: [32, 29]
Generated Node #0,2,1: 61:[32, 29] Operation: 10+19=29
Exploring Operation: 19+32=51, Resulting Numbers: [10, 51]
Generated Node #0,2,2: 61:[10, 51] Operation: 19+32=51
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[19, 42], Operations: ['96/3=32', '10+32=42']
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,61 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[96, 3, 10, 19], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [10, 19, 32]
Generated Node #0,2: 61:[10, 19, 32] Operation: 96/3=32
Moving to Node #0,2
Current State: 61:[10, 19, 32], Operations: ['96/3=32']
Exploring Operation: 10+32=42, Resulting Numbers: [19, 42]
Generated Node #0,2,0: 61:[19, 42] Operation: 10+32=42
Moving to Node #0,2,0
Current State: 61:[19, 42], Operations: ['96/3=32', '10+32=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.