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 |
|---|---|---|---|---|---|---|---|---|
[
66,
82,
31,
60
] | 28 | [
"82-60=22",
"66/22=3",
"31-3=28"
] | Current State: 28:[66, 82, 31, 60], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [66, 31, 22]
Generated Node #2: [66, 31, 22] from Operation: 82-60=22
Current State: 28:[66, 31, 22], Operations: ['82-60=22']
Exploring Operation: 66/22=3, Resulting Numbers: [31, 3]
Generated Node #3: [31, 3] from Operation: 66/22=3
Current State: 28:[31, 3], Operations: ['82-60=22', '66/22=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[66, 82, 31, 60], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [66, 31, 22]
Generated Node #0,0: 28:[66, 31, 22] Operation: 82-60=22
Exploring Operation: 82-66=16, Resulting Numbers: [31, 60, 16]
Generated Node #0,1: 28:[31, 60, 16] Operation: 82-66=16
Moving to Node #0,1
Current State: 28:[31, 60, 16], Operations: ['82-66=16']
Exploring Operation: 60-31=29, Resulting Numbers: [16, 29]
Generated Node #0,1,0: 28:[16, 29] Operation: 60-31=29
Exploring Operation: 60-16=44, Resulting Numbers: [31, 44]
Generated Node #0,1,1: 28:[31, 44] Operation: 60-16=44
Moving to Node #0,0
Current State: 28:[66, 31, 22], Operations: ['82-60=22']
Exploring Operation: 66-31=35, Resulting Numbers: [22, 35]
Generated Node #0,0,0: 28:[22, 35] Operation: 66-31=35
Exploring Operation: 66/22=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 28:[31, 3] Operation: 66/22=3
Moving to Node #0,1,0
Current State: 28:[16, 29], Operations: ['82-66=16', '60-31=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[31, 3], Operations: ['82-60=22', '66/22=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[66, 82, 31, 60], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [66, 31, 22]
Generated Node #0,0: 28:[66, 31, 22] Operation: 82-60=22
Moving to Node #0,0
Current State: 28:[66, 31, 22], Operations: ['82-60=22']
Exploring Operation: 66/22=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 28:[31, 3] Operation: 66/22=3
Moving to Node #0,0,1
Current State: 28:[31, 3], Operations: ['82-60=22', '66/22=3']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.987847 | hs_2 | sum_heuristic |
[
4,
23,
83,
33
] | 43 | [
"33-23=10",
"4*10=40",
"83-40=43"
] | Current State: 43:[4, 23, 83, 33], Operations: []
Exploring Operation: 33-23=10, Resulting Numbers: [4, 83, 10]
Generated Node #2: [4, 83, 10] from Operation: 33-23=10
Current State: 43:[4, 83, 10], Operations: ['33-23=10']
Exploring Operation: 4*10=40, Resulting Numbers: [83, 40]
Generated Node #3: [83, 40] from Operation: 4*10=40
Current State: 43:[83, 40], Operations: ['33-23=10', '4*10=40']
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[4, 23, 83, 33], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [23, 33, 79]
Generated Node #0,0: 43:[23, 33, 79] Operation: 83-4=79
Exploring Operation: 83-23=60, Resulting Numbers: [4, 33, 60]
Generated Node #0,1: 43:[4, 33, 60] Operation: 83-23=60
Exploring Operation: 4+23=27, Resulting Numbers: [83, 33, 27]
Generated Node #0,2: 43:[83, 33, 27] Operation: 4+23=27
Exploring Operation: 4+33=37, Resulting Numbers: [23, 83, 37]
Generated Node #0,3: 43:[23, 83, 37] Operation: 4+33=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[23, 33, 79], Operations: ['83-4=79']
Exploring Operation: 23+33=56, Resulting Numbers: [79, 56]
Generated Node #0,0,0: 43:[79, 56] Operation: 23+33=56
Exploring Operation: 33-23=10, Resulting Numbers: [79, 10]
Generated Node #0,0,1: 43:[79, 10] Operation: 33-23=10
Exploring Operation: 79-33=46, Resulting Numbers: [23, 46]
Generated Node #0,0,2: 43:[23, 46] Operation: 79-33=46
Exploring Operation: 79-23=56, Resulting Numbers: [33, 56]
Generated Node #0,0,3: 43:[33, 56] Operation: 79-23=56
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[23, 46], Operations: ['83-4=79', '79-33=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,43 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No 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: 43:[33, 56], Operations: ['83-4=79', '79-23=56']
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,43 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,43 unequal: No Solution
No 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: 43:[79, 56], Operations: ['83-4=79', '23+33=56']
Exploring Operation: 79+56=135, Resulting Numbers: [135]
135,43 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 79*56=4424, Resulting Numbers: [4424]
4424,43 unequal: No Solution
No 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: 43:[79, 10], Operations: ['83-4=79', '33-23=10']
Exploring Operation: 79+10=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 79*10=790, Resulting Numbers: [790]
790,43 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: 43:[4, 33, 60], Operations: ['83-23=60']
Exploring Operation: 60-4=56, Resulting Numbers: [33, 56]
Generated Node #0,1,0: 43:[33, 56] Operation: 60-4=56
Exploring Operation: 4+33=37, Resulting Numbers: [60, 37]
Generated Node #0,1,1: 43:[60, 37] Operation: 4+33=37
Exploring Operation: 33-4=29, Resulting Numbers: [60, 29]
Generated Node #0,1,2: 43:[60, 29] Operation: 33-4=29
Exploring Operation: 4+60=64, Resulting Numbers: [33, 64]
Generated Node #0,1,3: 43:[33, 64] Operation: 4+60=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[33, 56], Operations: ['83-23=60', '60-4=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,43 unequal: No Solution
No 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: 43:[60, 37], Operations: ['83-23=60', '4+33=37']
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,43 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,43 unequal: No Solution
No 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: 43:[60, 29], Operations: ['83-23=60', '33-4=29']
Exploring Operation: 60+29=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 60*29=1740, Resulting Numbers: [1740]
1740,43 unequal: No Solution
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,43 unequal: No Solution
No 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: 43:[33, 64], Operations: ['83-23=60', '4+60=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,43 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,43 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,43 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: 43:[83, 33, 27], Operations: ['4+23=27']
Exploring Operation: 33+27=60, Resulting Numbers: [83, 60]
Generated Node #0,2,0: 43:[83, 60] Operation: 33+27=60
Exploring Operation: 83-27=56, Resulting Numbers: [33, 56]
Generated Node #0,2,1: 43:[33, 56] Operation: 83-27=56
Exploring Operation: 83+27=110, Resulting Numbers: [33, 110]
Generated Node #0,2,2: 43:[33, 110] Operation: 83+27=110
Exploring Operation: 83-33=50, Resulting Numbers: [27, 50]
Generated Node #0,2,3: 43:[27, 50] Operation: 83-33=50
Moving to Node #0,2,1
Current State: 43:[33, 56], Operations: ['4+23=27', '83-27=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[27, 50], Operations: ['4+23=27', '83-33=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[83, 60], Operations: ['4+23=27', '33+27=60']
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 83+60=143, Resulting Numbers: [143]
143,43 unequal: No Solution
Exploring Operation: 83*60=4980, Resulting Numbers: [4980]
4980,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[33, 110], Operations: ['4+23=27', '83+27=110']
Exploring Operation: 33*110=3630, Resulting Numbers: [3630]
3630,43 unequal: No Solution
Exploring Operation: 110-33=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 33+110=143, Resulting Numbers: [143]
143,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
Current State: 43:[23, 83, 37], Operations: ['4+33=37']
Exploring Operation: 83-23=60, Resulting Numbers: [37, 60]
Generated Node #0,3,0: 43:[37, 60] Operation: 83-23=60
Exploring Operation: 23+37=60, Resulting Numbers: [83, 60]
Generated Node #0,3,1: 43:[83, 60] Operation: 23+37=60
Exploring Operation: 83-37=46, Resulting Numbers: [23, 46]
Generated Node #0,3,2: 43:[23, 46] Operation: 83-37=46
Exploring Operation: 23+83=106, Resulting Numbers: [37, 106]
Generated Node #0,3,3: 43:[37, 106] Operation: 23+83=106
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[37, 60], Operations: ['4+33=37', '83-23=60']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 37*60=2220, Resulting Numbers: [2220]
2220,43 unequal: No Solution
Exploring Operation: 37+60=97, Resulting Numbers: [97]
97,43 unequal: No Solution
No 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: 43:[23, 46], Operations: ['4+33=37', '83-37=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,43 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No 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: 43:[83, 60], Operations: ['4+33=37', '23+37=60']
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 83+60=143, Resulting Numbers: [143]
143,43 unequal: No Solution
Exploring Operation: 83*60=4980, Resulting Numbers: [4980]
4980,43 unequal: No Solution
No 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: 43:[37, 106], Operations: ['4+33=37', '23+83=106']
Exploring Operation: 37+106=143, Resulting Numbers: [143]
143,43 unequal: No Solution
Exploring Operation: 37*106=3922, Resulting Numbers: [3922]
3922,43 unequal: No Solution
Exploring Operation: 106-37=69, Resulting Numbers: [69]
69,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
59,
33,
67,
89
] | 64 | [
"59+33=92",
"67+89=156",
"156-92=64"
] | Current State: 64:[59, 33, 67, 89], Operations: []
Exploring Operation: 59+33=92, Resulting Numbers: [67, 89, 92]
Generated Node #2: [67, 89, 92] from Operation: 59+33=92
Current State: 64:[67, 89, 92], Operations: ['59+33=92']
Exploring Operation: 67+89=156, Resulting Numbers: [92, 156]
Generated Node #3: [92, 156] from Operation: 67+89=156
Current State: 64:[92, 156], Operations: ['59+33=92', '67+89=156']
Exploring Operation: 156-92=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[59, 33, 67, 89], Operations: []
Exploring Operation: 89-33=56, Resulting Numbers: [59, 67, 56]
Generated Node #0,0: 64:[59, 67, 56] Operation: 89-33=56
Exploring Operation: 89-67=22, Resulting Numbers: [59, 33, 22]
Generated Node #0,1: 64:[59, 33, 22] Operation: 89-67=22
Exploring Operation: 89-59=30, Resulting Numbers: [33, 67, 30]
Generated Node #0,2: 64:[33, 67, 30] Operation: 89-59=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[33, 67, 30], Operations: ['89-59=30']
Exploring Operation: 67-33=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 64:[30, 34] Operation: 67-33=34
Exploring Operation: 33+30=63, Resulting Numbers: [67, 63]
Generated Node #0,2,1: 64:[67, 63] Operation: 33+30=63
Exploring Operation: 33-30=3, Resulting Numbers: [67, 3]
Generated Node #0,2,2: 64:[67, 3] Operation: 33-30=3
Moving to Node #0,2,0
Current State: 64:[30, 34], Operations: ['89-59=30', '67-33=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[59, 33, 67, 89], Operations: []
Exploring Operation: 89-59=30, Resulting Numbers: [33, 67, 30]
Generated Node #0,2: 64:[33, 67, 30] Operation: 89-59=30
Moving to Node #0,2
Current State: 64:[33, 67, 30], Operations: ['89-59=30']
Exploring Operation: 67-33=34, Resulting Numbers: [30, 34]
Generated Node #0,2,0: 64:[30, 34] Operation: 67-33=34
Moving to Node #0,2,0
Current State: 64:[30, 34], Operations: ['89-59=30', '67-33=34']
Exploring Operation: 30+34=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
58,
39,
20,
62
] | 64 | [
"58+20=78",
"78/39=2",
"62+2=64"
] | Current State: 64:[58, 39, 20, 62], Operations: []
Exploring Operation: 58+20=78, Resulting Numbers: [39, 62, 78]
Generated Node #2: [39, 62, 78] from Operation: 58+20=78
Current State: 64:[39, 62, 78], Operations: ['58+20=78']
Exploring Operation: 78/39=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 78/39=2
Current State: 64:[62, 2], Operations: ['58+20=78', '78/39=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[58, 39, 20, 62], Operations: []
Exploring Operation: 58-39=19, Resulting Numbers: [20, 62, 19]
Generated Node #0,0: 64:[20, 62, 19] Operation: 58-39=19
Exploring Operation: 39-20=19, Resulting Numbers: [58, 62, 19]
Generated Node #0,1: 64:[58, 62, 19] Operation: 39-20=19
Exploring Operation: 39+20=59, Resulting Numbers: [58, 62, 59]
Generated Node #0,2: 64:[58, 62, 59] Operation: 39+20=59
Exploring Operation: 62-58=4, Resulting Numbers: [39, 20, 4]
Generated Node #0,3: 64:[39, 20, 4] Operation: 62-58=4
Exploring Operation: 58-20=38, Resulting Numbers: [39, 62, 38]
Generated Node #0,4: 64:[39, 62, 38] Operation: 58-20=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[20, 62, 19], Operations: ['58-39=19']
Exploring Operation: 20+62=82, Resulting Numbers: [19, 82]
Generated Node #0,0,0: 64:[19, 82] Operation: 20+62=82
Exploring Operation: 62-20=42, Resulting Numbers: [19, 42]
Generated Node #0,0,1: 64:[19, 42] Operation: 62-20=42
Exploring Operation: 62-19=43, Resulting Numbers: [20, 43]
Generated Node #0,0,2: 64:[20, 43] Operation: 62-19=43
Exploring Operation: 20+19=39, Resulting Numbers: [62, 39]
Generated Node #0,0,3: 64:[62, 39] Operation: 20+19=39
Exploring Operation: 20-19=1, Resulting Numbers: [62, 1]
Generated Node #0,0,4: 64:[62, 1] Operation: 20-19=1
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[62, 1], Operations: ['58-39=19', '20-19=1']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No 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: 64:[62, 39], Operations: ['58-39=19', '20+19=39']
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,64 unequal: No Solution
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,64 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,64 unequal: No Solution
No 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: 64:[19, 42], Operations: ['58-39=19', '62-20=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,64 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,64 unequal: No Solution
No 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: 64:[20, 43], Operations: ['58-39=19', '62-19=43']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 20*43=860, Resulting Numbers: [860]
860,64 unequal: No Solution
Exploring Operation: 20+43=63, Resulting Numbers: [63]
63,64 unequal: No Solution
No 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: 64:[19, 82], Operations: ['58-39=19', '20+62=82']
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,64 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,64 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: 64:[58, 62, 19], Operations: ['39-20=19']
Exploring Operation: 58+19=77, Resulting Numbers: [62, 77]
Generated Node #0,1,0: 64:[62, 77] Operation: 58+19=77
Exploring Operation: 62+19=81, Resulting Numbers: [58, 81]
Generated Node #0,1,1: 64:[58, 81] Operation: 62+19=81
Exploring Operation: 62-19=43, Resulting Numbers: [58, 43]
Generated Node #0,1,2: 64:[58, 43] Operation: 62-19=43
Exploring Operation: 58-19=39, Resulting Numbers: [62, 39]
Generated Node #0,1,3: 64:[62, 39] Operation: 58-19=39
Exploring Operation: 62-58=4, Resulting Numbers: [19, 4]
Generated Node #0,1,4: 64:[19, 4] Operation: 62-58=4
Moving to Node #0,1,4
Current State: 64:[19, 4], Operations: ['39-20=19', '62-58=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[62, 39], Operations: ['39-20=19', '58-19=39']
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 62*39=2418, Resulting Numbers: [2418]
2418,64 unequal: No Solution
Exploring Operation: 62+39=101, Resulting Numbers: [101]
101,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[62, 77], Operations: ['39-20=19', '58+19=77']
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,64 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 62*77=4774, Resulting Numbers: [4774]
4774,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[58, 43], Operations: ['39-20=19', '62-19=43']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,64 unequal: No Solution
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[58, 81], Operations: ['39-20=19', '62+19=81']
Exploring Operation: 58*81=4698, Resulting Numbers: [4698]
4698,64 unequal: No Solution
Exploring Operation: 58+81=139, Resulting Numbers: [139]
139,64 unequal: No Solution
Exploring Operation: 81-58=23, Resulting Numbers: [23]
23,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[39, 20, 4], Operations: ['62-58=4']
Exploring Operation: 39-4=35, Resulting Numbers: [20, 35]
Generated Node #0,3,0: 64:[20, 35] Operation: 39-4=35
Exploring Operation: 39+20=59, Resulting Numbers: [4, 59]
Generated Node #0,3,1: 64:[4, 59] Operation: 39+20=59
Exploring Operation: 20-4=16, Resulting Numbers: [39, 16]
Generated Node #0,3,2: 64:[39, 16] Operation: 20-4=16
Exploring Operation: 39-20=19, Resulting Numbers: [4, 19]
Generated Node #0,3,3: 64:[4, 19] Operation: 39-20=19
Exploring Operation: 20/4=5, Resulting Numbers: [39, 5]
Generated Node #0,3,4: 64:[39, 5] Operation: 20/4=5
Moving to Node #0,3,3
Current State: 64:[4, 19], Operations: ['62-58=4', '39-20=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[4, 59], Operations: ['62-58=4', '39+20=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,64 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[20, 35], Operations: ['62-58=4', '39-4=35']
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,64 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[39, 16], Operations: ['62-58=4', '20-4=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[39, 5], Operations: ['62-58=4', '20/4=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,64 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[58, 62, 59], Operations: ['39+20=59']
Exploring Operation: 62-58=4, Resulting Numbers: [59, 4]
Generated Node #0,2,0: 64:[59, 4] Operation: 62-58=4
Exploring Operation: 59-58=1, Resulting Numbers: [62, 1]
Generated Node #0,2,1: 64:[62, 1] Operation: 59-58=1
Exploring Operation: 58+62=120, Resulting Numbers: [59, 120]
Generated Node #0,2,2: 64:[59, 120] Operation: 58+62=120
Exploring Operation: 62-59=3, Resulting Numbers: [58, 3]
Generated Node #0,2,3: 64:[58, 3] Operation: 62-59=3
Exploring Operation: 58+59=117, Resulting Numbers: [62, 117]
Generated Node #0,2,4: 64:[62, 117] Operation: 58+59=117
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[62, 1], Operations: ['39+20=59', '59-58=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,64 unequal: No Solution
No 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: 64:[59, 4], Operations: ['39+20=59', '62-58=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,64 unequal: No Solution
No 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: 64:[58, 3], Operations: ['39+20=59', '62-59=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 64:[62, 117], Operations: ['39+20=59', '58+59=117']
Exploring Operation: 117-62=55, Resulting Numbers: [55]
55,64 unequal: No Solution
Exploring Operation: 62+117=179, Resulting Numbers: [179]
179,64 unequal: No Solution
Exploring Operation: 62*117=7254, Resulting Numbers: [7254]
7254,64 unequal: No Solution
No 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: 64:[59, 120], Operations: ['39+20=59', '58+62=120']
Exploring Operation: 59+120=179, Resulting Numbers: [179]
179,64 unequal: No Solution
Exploring Operation: 59*120=7080, Resulting Numbers: [7080]
7080,64 unequal: No Solution
Exploring Operation: 120-59=61, Resulting Numbers: [61]
61,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[39, 62, 38], Operations: ['58-20=38']
Exploring Operation: 62-38=24, Resulting Numbers: [39, 24]
Generated Node #0,4,0: 64:[39, 24] Operation: 62-38=24
Exploring Operation: 39+62=101, Resulting Numbers: [38, 101]
Generated Node #0,4,1: 64:[38, 101] Operation: 39+62=101
Exploring Operation: 62-39=23, Resulting Numbers: [38, 23]
Generated Node #0,4,2: 64:[38, 23] Operation: 62-39=23
Exploring Operation: 39+38=77, Resulting Numbers: [62, 77]
Generated Node #0,4,3: 64:[62, 77] Operation: 39+38=77
Exploring Operation: 39-38=1, Resulting Numbers: [62, 1]
Generated Node #0,4,4: 64:[62, 1] Operation: 39-38=1
Moving to Node #0,4,4
Current State: 64:[62, 1], Operations: ['58-20=38', '39-38=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[38, 23], Operations: ['58-20=38', '62-39=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[39, 24], Operations: ['58-20=38', '62-38=24']
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[62, 77], Operations: ['58-20=38', '39+38=77']
Exploring Operation: 62*77=4774, Resulting Numbers: [4774]
4774,64 unequal: No Solution
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,64 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[38, 101], Operations: ['58-20=38', '39+62=101']
Exploring Operation: 38*101=3838, Resulting Numbers: [3838]
3838,64 unequal: No Solution
Exploring Operation: 101-38=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 38+101=139, Resulting Numbers: [139]
139,64 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,
87,
47,
55
] | 80 | [
"55-47=8",
"56/8=7",
"87-7=80"
] | Current State: 80:[56, 87, 47, 55], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [56, 87, 8]
Generated Node #2: [56, 87, 8] from Operation: 55-47=8
Current State: 80:[56, 87, 8], Operations: ['55-47=8']
Exploring Operation: 56/8=7, Resulting Numbers: [87, 7]
Generated Node #3: [87, 7] from Operation: 56/8=7
Current State: 80:[87, 7], Operations: ['55-47=8', '56/8=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[56, 87, 47, 55], Operations: []
Exploring Operation: 56-55=1, Resulting Numbers: [87, 47, 1]
Generated Node #0,0: 80:[87, 47, 1] Operation: 56-55=1
Exploring Operation: 87-56=31, Resulting Numbers: [47, 55, 31]
Generated Node #0,1: 80:[47, 55, 31] Operation: 87-56=31
Exploring Operation: 55-47=8, Resulting Numbers: [56, 87, 8]
Generated Node #0,2: 80:[56, 87, 8] Operation: 55-47=8
Exploring Operation: 56-47=9, Resulting Numbers: [87, 55, 9]
Generated Node #0,3: 80:[87, 55, 9] Operation: 56-47=9
Moving to Node #0,0
Current State: 80:[87, 47, 1], Operations: ['56-55=1']
Exploring Operation: 87-47=40, Resulting Numbers: [1, 40]
Generated Node #0,0,0: 80:[1, 40] Operation: 87-47=40
Exploring Operation: 47-1=46, Resulting Numbers: [87, 46]
Generated Node #0,0,1: 80:[87, 46] Operation: 47-1=46
Exploring Operation: 87-1=86, Resulting Numbers: [47, 86]
Generated Node #0,0,2: 80:[47, 86] Operation: 87-1=86
Exploring Operation: 87*1=87, Resulting Numbers: [47, 87]
Generated Node #0,0,3: 80:[47, 87] Operation: 87*1=87
Moving to Node #0,3
Current State: 80:[87, 55, 9], Operations: ['56-47=9']
Exploring Operation: 87-55=32, Resulting Numbers: [9, 32]
Generated Node #0,3,0: 80:[9, 32] Operation: 87-55=32
Exploring Operation: 87-9=78, Resulting Numbers: [55, 78]
Generated Node #0,3,1: 80:[55, 78] Operation: 87-9=78
Exploring Operation: 55-9=46, Resulting Numbers: [87, 46]
Generated Node #0,3,2: 80:[87, 46] Operation: 55-9=46
Exploring Operation: 55+9=64, Resulting Numbers: [87, 64]
Generated Node #0,3,3: 80:[87, 64] Operation: 55+9=64
Moving to Node #0,2
Current State: 80:[56, 87, 8], Operations: ['55-47=8']
Exploring Operation: 56-8=48, Resulting Numbers: [87, 48]
Generated Node #0,2,0: 80:[87, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [87, 7]
Generated Node #0,2,1: 80:[87, 7] Operation: 56/8=7
Exploring Operation: 87-56=31, Resulting Numbers: [8, 31]
Generated Node #0,2,2: 80:[8, 31] Operation: 87-56=31
Exploring Operation: 87-8=79, Resulting Numbers: [56, 79]
Generated Node #0,2,3: 80:[56, 79] Operation: 87-8=79
Moving to Node #0,1
Current State: 80:[47, 55, 31], Operations: ['87-56=31']
Exploring Operation: 55+31=86, Resulting Numbers: [47, 86]
Generated Node #0,1,0: 80:[47, 86] Operation: 55+31=86
Exploring Operation: 55-31=24, Resulting Numbers: [47, 24]
Generated Node #0,1,1: 80:[47, 24] Operation: 55-31=24
Exploring Operation: 47-31=16, Resulting Numbers: [55, 16]
Generated Node #0,1,2: 80:[55, 16] Operation: 47-31=16
Exploring Operation: 55-47=8, Resulting Numbers: [31, 8]
Generated Node #0,1,3: 80:[31, 8] Operation: 55-47=8
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[31, 8], Operations: ['87-56=31', '55-47=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,80 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,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:[47, 24], Operations: ['87-56=31', '55-31=24']
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 47*24=1128, Resulting Numbers: [1128]
1128,80 unequal: No Solution
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[47, 86], Operations: ['87-56=31', '55+31=86']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 47+86=133, Resulting Numbers: [133]
133,80 unequal: No Solution
Exploring Operation: 47*86=4042, Resulting Numbers: [4042]
4042,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:[55, 16], Operations: ['87-56=31', '47-31=16']
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,80 unequal: No Solution
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,80 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: 80:[1, 40], Operations: ['56-55=1', '87-47=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[87, 7], Operations: ['55-47=8', '56/8=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[56, 87, 47, 55], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [56, 87, 8]
Generated Node #0,2: 80:[56, 87, 8] Operation: 55-47=8
Moving to Node #0,2
Current State: 80:[56, 87, 8], Operations: ['55-47=8']
Exploring Operation: 56/8=7, Resulting Numbers: [87, 7]
Generated Node #0,2,1: 80:[87, 7] Operation: 56/8=7
Moving to Node #0,2,1
Current State: 80:[87, 7], Operations: ['55-47=8', '56/8=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.96441 | hs_4 | mult_heuristic |
[
84,
25,
40,
88
] | 50 | [
"84-40=44",
"25*88=2200",
"2200/44=50"
] | Current State: 50:[84, 25, 40, 88], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [25, 88, 44]
Generated Node #2: [25, 88, 44] from Operation: 84-40=44
Current State: 50:[25, 88, 44], Operations: ['84-40=44']
Exploring Operation: 25*88=2200, Resulting Numbers: [44, 2200]
Generated Node #3: [44, 2200] from Operation: 25*88=2200
Current State: 50:[44, 2200], Operations: ['84-40=44', '25*88=2200']
Exploring Operation: 2200/44=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[84, 25, 40, 88], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [25, 88, 44]
Generated Node #0,0: 50:[25, 88, 44] Operation: 84-40=44
Exploring Operation: 88-40=48, Resulting Numbers: [84, 25, 48]
Generated Node #0,1: 50:[84, 25, 48] Operation: 88-40=48
Exploring Operation: 88-84=4, Resulting Numbers: [25, 40, 4]
Generated Node #0,2: 50:[25, 40, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[25, 40, 4], Operations: ['88-84=4']
Exploring Operation: 40+4=44, Resulting Numbers: [25, 44]
Generated Node #0,2,0: 50:[25, 44] Operation: 40+4=44
Exploring Operation: 40-25=15, Resulting Numbers: [4, 15]
Generated Node #0,2,1: 50:[4, 15] Operation: 40-25=15
Exploring Operation: 40/4=10, Resulting Numbers: [25, 10]
Generated Node #0,2,2: 50:[25, 10] Operation: 40/4=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[25, 10], Operations: ['88-84=4', '40/4=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[25, 44], Operations: ['88-84=4', '40+4=44']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 25*44=1100, Resulting Numbers: [1100]
1100,50 unequal: No Solution
Exploring Operation: 25+44=69, Resulting Numbers: [69]
69,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[4, 15], Operations: ['88-84=4', '40-25=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[84, 25, 48], Operations: ['88-40=48']
Exploring Operation: 84-25=59, Resulting Numbers: [48, 59]
Generated Node #0,1,0: 50:[48, 59] Operation: 84-25=59
Exploring Operation: 84-48=36, Resulting Numbers: [25, 36]
Generated Node #0,1,1: 50:[25, 36] Operation: 84-48=36
Exploring Operation: 48-25=23, Resulting Numbers: [84, 23]
Generated Node #0,1,2: 50:[84, 23] Operation: 48-25=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[48, 59], Operations: ['88-40=48', '84-25=59']
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 48+59=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 48*59=2832, Resulting Numbers: [2832]
2832,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[25, 36], Operations: ['88-40=48', '84-48=36']
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,50 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[84, 23], Operations: ['88-40=48', '48-25=23']
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,50 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,50 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[25, 88, 44], Operations: ['84-40=44']
Exploring Operation: 88-44=44, Resulting Numbers: [25, 44]
Generated Node #0,0,0: 50:[25, 44] Operation: 88-44=44
Exploring Operation: 88/44=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 88/44=2
Exploring Operation: 88-25=63, Resulting Numbers: [44, 63]
Generated Node #0,0,2: 50:[44, 63] Operation: 88-25=63
Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['84-40=44', '88/44=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[84, 25, 40, 88], Operations: []
Exploring Operation: 84-40=44, Resulting Numbers: [25, 88, 44]
Generated Node #0,0: 50:[25, 88, 44] Operation: 84-40=44
Moving to Node #0,0
Current State: 50:[25, 88, 44], Operations: ['84-40=44']
Exploring Operation: 88/44=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 88/44=2
Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['84-40=44', '88/44=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
39,
64,
81,
42
] | 20 | [
"39+64=103",
"81+42=123",
"123-103=20"
] | Current State: 20:[39, 64, 81, 42], Operations: []
Exploring Operation: 39+64=103, Resulting Numbers: [81, 42, 103]
Generated Node #2: [81, 42, 103] from Operation: 39+64=103
Current State: 20:[81, 42, 103], Operations: ['39+64=103']
Exploring Operation: 81+42=123, Resulting Numbers: [103, 123]
Generated Node #3: [103, 123] from Operation: 81+42=123
Current State: 20:[103, 123], Operations: ['39+64=103', '81+42=123']
Exploring Operation: 123-103=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[39, 64, 81, 42], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [39, 81, 22]
Generated Node #0,0: 20:[39, 81, 22] Operation: 64-42=22
Exploring Operation: 81-64=17, Resulting Numbers: [39, 42, 17]
Generated Node #0,1: 20:[39, 42, 17] Operation: 81-64=17
Exploring Operation: 81-42=39, Resulting Numbers: [39, 64, 39]
Generated Node #0,2: 20:[39, 64, 39] Operation: 81-42=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[39, 42, 17], Operations: ['81-64=17']
Exploring Operation: 42-39=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 20:[17, 3] Operation: 42-39=3
Exploring Operation: 42-17=25, Resulting Numbers: [39, 25]
Generated Node #0,1,1: 20:[39, 25] Operation: 42-17=25
Exploring Operation: 39-17=22, Resulting Numbers: [42, 22]
Generated Node #0,1,2: 20:[42, 22] Operation: 39-17=22
Moving to Node #0,1,0
Current State: 20:[17, 3], Operations: ['81-64=17', '42-39=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[39, 64, 81, 42], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [39, 42, 17]
Generated Node #0,1: 20:[39, 42, 17] Operation: 81-64=17
Moving to Node #0,1
Current State: 20:[39, 42, 17], Operations: ['81-64=17']
Exploring Operation: 42-39=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 20:[17, 3] Operation: 42-39=3
Moving to Node #0,1,0
Current State: 20:[17, 3], Operations: ['81-64=17', '42-39=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
6,
35,
72,
5
] | 37 | [
"6-5=1",
"72-35=37",
"1*37=37"
] | Current State: 37:[6, 35, 72, 5], Operations: []
Exploring Operation: 6-5=1, Resulting Numbers: [35, 72, 1]
Generated Node #2: [35, 72, 1] from Operation: 6-5=1
Current State: 37:[35, 72, 1], Operations: ['6-5=1']
Exploring Operation: 72-35=37, Resulting Numbers: [1, 37]
Generated Node #3: [1, 37] from Operation: 72-35=37
Current State: 37:[1, 37], Operations: ['6-5=1', '72-35=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[6, 35, 72, 5], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [35, 5, 12]
Generated Node #0,0: 37:[35, 5, 12] Operation: 72/6=12
Exploring Operation: 6*5=30, Resulting Numbers: [35, 72, 30]
Generated Node #0,1: 37:[35, 72, 30] Operation: 6*5=30
Moving to Node #0,1
Current State: 37:[35, 72, 30], Operations: ['6*5=30']
Exploring Operation: 72-35=37, Resulting Numbers: [30, 37]
Generated Node #0,1,0: 37:[30, 37] Operation: 72-35=37
Exploring Operation: 72-30=42, Resulting Numbers: [35, 42]
Generated Node #0,1,1: 37:[35, 42] Operation: 72-30=42
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[30, 37], Operations: ['6*5=30', '72-35=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[35, 42], Operations: ['6*5=30', '72-30=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,37 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: 37:[35, 5, 12], Operations: ['72/6=12']
Exploring Operation: 5*12=60, Resulting Numbers: [35, 60]
Generated Node #0,0,0: 37:[35, 60] Operation: 5*12=60
Exploring Operation: 5+12=17, Resulting Numbers: [35, 17]
Generated Node #0,0,1: 37:[35, 17] Operation: 5+12=17
Moving to Node #0,0,1
Current State: 37:[35, 17], Operations: ['72/6=12', '5+12=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[35, 60], Operations: ['72/6=12', '5*12=60']
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,37 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
99,
83,
81
] | 93 | [
"83-81=2",
"96*2=192",
"192-99=93"
] | Current State: 93:[96, 99, 83, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [96, 99, 2]
Generated Node #2: [96, 99, 2] from Operation: 83-81=2
Current State: 93:[96, 99, 2], Operations: ['83-81=2']
Exploring Operation: 96*2=192, Resulting Numbers: [99, 192]
Generated Node #3: [99, 192] from Operation: 96*2=192
Current State: 93:[99, 192], Operations: ['83-81=2', '96*2=192']
Exploring Operation: 192-99=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[96, 99, 83, 81], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [96, 99, 2]
Generated Node #0,0: 93:[96, 99, 2] Operation: 83-81=2
Exploring Operation: 99-81=18, Resulting Numbers: [96, 83, 18]
Generated Node #0,1: 93:[96, 83, 18] Operation: 99-81=18
Exploring Operation: 99-96=3, Resulting Numbers: [83, 81, 3]
Generated Node #0,2: 93:[83, 81, 3] Operation: 99-96=3
Moving to Node #0,0
Current State: 93:[96, 99, 2], Operations: ['83-81=2']
Exploring Operation: 99-2=97, Resulting Numbers: [96, 97]
Generated Node #0,0,0: 93:[96, 97] Operation: 99-2=97
Exploring Operation: 99-96=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 93:[2, 3] Operation: 99-96=3
Exploring Operation: 96-2=94, Resulting Numbers: [99, 94]
Generated Node #0,0,2: 93:[99, 94] Operation: 96-2=94
Moving to Node #0,2
Current State: 93:[83, 81, 3], Operations: ['99-96=3']
Exploring Operation: 81/3=27, Resulting Numbers: [83, 27]
Generated Node #0,2,0: 93:[83, 27] Operation: 81/3=27
Exploring Operation: 83+3=86, Resulting Numbers: [81, 86]
Generated Node #0,2,1: 93:[81, 86] Operation: 83+3=86
Exploring Operation: 83-81=2, Resulting Numbers: [3, 2]
Generated Node #0,2,2: 93:[3, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[3, 2], Operations: ['99-96=3', '83-81=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[83, 27], Operations: ['99-96=3', '81/3=27']
Exploring Operation: 83+27=110, Resulting Numbers: [110]
110,93 unequal: No Solution
Exploring Operation: 83*27=2241, Resulting Numbers: [2241]
2241,93 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[81, 86], Operations: ['99-96=3', '83+3=86']
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,93 unequal: No Solution
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,93 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: 93:[96, 83, 18], Operations: ['99-81=18']
Exploring Operation: 96-83=13, Resulting Numbers: [18, 13]
Generated Node #0,1,0: 93:[18, 13] Operation: 96-83=13
Exploring Operation: 96-18=78, Resulting Numbers: [83, 78]
Generated Node #0,1,1: 93:[83, 78] Operation: 96-18=78
Exploring Operation: 83+18=101, Resulting Numbers: [96, 101]
Generated Node #0,1,2: 93:[96, 101] Operation: 83+18=101
Moving to Node #0,0,1
Current State: 93:[2, 3], Operations: ['83-81=2', '99-96=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[99, 94], Operations: ['83-81=2', '96-2=94']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 99*94=9306, Resulting Numbers: [9306]
9306,93 unequal: No Solution
Exploring Operation: 99+94=193, Resulting Numbers: [193]
193,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[96, 97], Operations: ['83-81=2', '99-2=97']
Exploring Operation: 96*97=9312, Resulting Numbers: [9312]
9312,93 unequal: No Solution
Exploring Operation: 96+97=193, Resulting Numbers: [193]
193,93 unequal: No Solution
Exploring Operation: 97-96=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[96, 101], Operations: ['99-81=18', '83+18=101']
Exploring Operation: 96+101=197, Resulting Numbers: [197]
197,93 unequal: No Solution
Exploring Operation: 101-96=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 96*101=9696, Resulting Numbers: [9696]
9696,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[18, 13], Operations: ['99-81=18', '96-83=13']
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[83, 78], Operations: ['99-81=18', '96-18=78']
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,93 unequal: No Solution
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,93 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
62,
5,
72,
24
] | 13 | [
"72/24=3",
"62+3=65",
"65/5=13"
] | Current State: 13:[62, 5, 72, 24], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [62, 5, 3]
Generated Node #2: [62, 5, 3] from Operation: 72/24=3
Current State: 13:[62, 5, 3], Operations: ['72/24=3']
Exploring Operation: 62+3=65, Resulting Numbers: [5, 65]
Generated Node #3: [5, 65] from Operation: 62+3=65
Current State: 13:[5, 65], Operations: ['72/24=3', '62+3=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[62, 5, 72, 24], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [5, 24, 10]
Generated Node #0,0: 13:[5, 24, 10] Operation: 72-62=10
Exploring Operation: 72/24=3, Resulting Numbers: [62, 5, 3]
Generated Node #0,1: 13:[62, 5, 3] Operation: 72/24=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[5, 24, 10], Operations: ['72-62=10']
Exploring Operation: 24-5=19, Resulting Numbers: [10, 19]
Generated Node #0,0,0: 13:[10, 19] Operation: 24-5=19
Exploring Operation: 24-10=14, Resulting Numbers: [5, 14]
Generated Node #0,0,1: 13:[5, 14] Operation: 24-10=14
Moving to Node #0,0,0
Current State: 13:[10, 19], Operations: ['72-62=10', '24-5=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[5, 14], Operations: ['72-62=10', '24-10=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[62, 5, 3], Operations: ['72/24=3']
Exploring Operation: 5*3=15, Resulting Numbers: [62, 15]
Generated Node #0,1,0: 13:[62, 15] Operation: 5*3=15
Exploring Operation: 62-5=57, Resulting Numbers: [3, 57]
Generated Node #0,1,1: 13:[3, 57] Operation: 62-5=57
Moving to Node #0,1,0
Current State: 13:[62, 15], Operations: ['72/24=3', '5*3=15']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,13 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[3, 57], Operations: ['72/24=3', '62-5=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,13 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 |
[
34,
27,
98,
36
] | 44 | [
"36-34=2",
"27*2=54",
"98-54=44"
] | Current State: 44:[34, 27, 98, 36], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [27, 98, 2]
Generated Node #2: [27, 98, 2] from Operation: 36-34=2
Current State: 44:[27, 98, 2], Operations: ['36-34=2']
Exploring Operation: 27*2=54, Resulting Numbers: [98, 54]
Generated Node #3: [98, 54] from Operation: 27*2=54
Current State: 44:[98, 54], Operations: ['36-34=2', '27*2=54']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[34, 27, 98, 36], Operations: []
Exploring Operation: 98-34=64, Resulting Numbers: [27, 36, 64]
Generated Node #0,0: 44:[27, 36, 64] Operation: 98-34=64
Exploring Operation: 98-36=62, Resulting Numbers: [34, 27, 62]
Generated Node #0,1: 44:[34, 27, 62] Operation: 98-36=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[27, 36, 64], Operations: ['98-34=64']
Exploring Operation: 64-36=28, Resulting Numbers: [27, 28]
Generated Node #0,0,0: 44:[27, 28] Operation: 64-36=28
Exploring Operation: 64-27=37, Resulting Numbers: [36, 37]
Generated Node #0,0,1: 44:[36, 37] Operation: 64-27=37
Moving to Node #0,0,0
Current State: 44:[27, 28], Operations: ['98-34=64', '64-36=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[36, 37], Operations: ['98-34=64', '64-27=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,44 unequal: No Solution
No 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:[34, 27, 62], Operations: ['98-36=62']
Exploring Operation: 62-34=28, Resulting Numbers: [27, 28]
Generated Node #0,1,0: 44:[27, 28] Operation: 62-34=28
Exploring Operation: 62-27=35, Resulting Numbers: [34, 35]
Generated Node #0,1,1: 44:[34, 35] Operation: 62-27=35
Moving to Node #0,1,0
Current State: 44:[27, 28], Operations: ['98-36=62', '62-34=28']
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,44 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[34, 35], Operations: ['98-36=62', '62-27=35']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 34+35=69, Resulting Numbers: [69]
69,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
32,
90,
94,
18
] | 18 | [
"90-32=58",
"94-18=76",
"76-58=18"
] | Current State: 18:[32, 90, 94, 18], Operations: []
Exploring Operation: 90-32=58, Resulting Numbers: [94, 18, 58]
Generated Node #2: [94, 18, 58] from Operation: 90-32=58
Current State: 18:[94, 18, 58], Operations: ['90-32=58']
Exploring Operation: 94-18=76, Resulting Numbers: [58, 76]
Generated Node #3: [58, 76] from Operation: 94-18=76
Current State: 18:[58, 76], Operations: ['90-32=58', '94-18=76']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[32, 90, 94, 18], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [32, 18, 4]
Generated Node #0,0: 18:[32, 18, 4] Operation: 94-90=4
Moving to Node #0,0
Current State: 18:[32, 18, 4], Operations: ['94-90=4']
Exploring Operation: 32/4=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 18:[18, 8] Operation: 32/4=8
Moving to Node #0,0,0
Current State: 18:[18, 8], Operations: ['94-90=4', '32/4=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
18,
3,
82,
75
] | 28 | [
"18+3=21",
"82-75=7",
"21+7=28"
] | Current State: 28:[18, 3, 82, 75], Operations: []
Exploring Operation: 18+3=21, Resulting Numbers: [82, 75, 21]
Generated Node #2: [82, 75, 21] from Operation: 18+3=21
Current State: 28:[82, 75, 21], Operations: ['18+3=21']
Exploring Operation: 82-75=7, Resulting Numbers: [21, 7]
Generated Node #3: [21, 7] from Operation: 82-75=7
Current State: 28:[21, 7], Operations: ['18+3=21', '82-75=7']
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[18, 3, 82, 75], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [3, 82, 57]
Generated Node #0,0: 28:[3, 82, 57] Operation: 75-18=57
Exploring Operation: 82-18=64, Resulting Numbers: [3, 75, 64]
Generated Node #0,1: 28:[3, 75, 64] Operation: 82-18=64
Exploring Operation: 75/3=25, Resulting Numbers: [18, 82, 25]
Generated Node #0,2: 28:[18, 82, 25] Operation: 75/3=25
Exploring Operation: 82-75=7, Resulting Numbers: [18, 3, 7]
Generated Node #0,3: 28:[18, 3, 7] Operation: 82-75=7
Moving to Node #0,3
Current State: 28:[18, 3, 7], Operations: ['82-75=7']
Exploring Operation: 18+7=25, Resulting Numbers: [3, 25]
Generated Node #0,3,0: 28:[3, 25] Operation: 18+7=25
Exploring Operation: 18/3=6, Resulting Numbers: [7, 6]
Generated Node #0,3,1: 28:[7, 6] Operation: 18/3=6
Exploring Operation: 18-3=15, Resulting Numbers: [7, 15]
Generated Node #0,3,2: 28:[7, 15] Operation: 18-3=15
Exploring Operation: 18-7=11, Resulting Numbers: [3, 11]
Generated Node #0,3,3: 28:[3, 11] Operation: 18-7=11
Moving to Node #0,2
Current State: 28:[18, 82, 25], Operations: ['75/3=25']
Exploring Operation: 25-18=7, Resulting Numbers: [82, 7]
Generated Node #0,2,0: 28:[82, 7] Operation: 25-18=7
Exploring Operation: 82-25=57, Resulting Numbers: [18, 57]
Generated Node #0,2,1: 28:[18, 57] Operation: 82-25=57
Exploring Operation: 82-18=64, Resulting Numbers: [25, 64]
Generated Node #0,2,2: 28:[25, 64] Operation: 82-18=64
Exploring Operation: 18+25=43, Resulting Numbers: [82, 43]
Generated Node #0,2,3: 28:[82, 43] Operation: 18+25=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[18, 57], Operations: ['75/3=25', '82-25=57']
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,28 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[25, 64], Operations: ['75/3=25', '82-18=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[82, 7], Operations: ['75/3=25', '25-18=7']
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,28 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,28 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[82, 43], Operations: ['75/3=25', '18+25=43']
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,28 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,28 unequal: No Solution
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,28 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: 28:[3, 75, 64], Operations: ['82-18=64']
Exploring Operation: 75-64=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 28:[3, 11] Operation: 75-64=11
Exploring Operation: 75-3=72, Resulting Numbers: [64, 72]
Generated Node #0,1,1: 28:[64, 72] Operation: 75-3=72
Exploring Operation: 64-3=61, Resulting Numbers: [75, 61]
Generated Node #0,1,2: 28:[75, 61] Operation: 64-3=61
Exploring Operation: 75/3=25, Resulting Numbers: [64, 25]
Generated Node #0,1,3: 28:[64, 25] Operation: 75/3=25
Moving to Node #0,0
Current State: 28:[3, 82, 57], Operations: ['75-18=57']
Exploring Operation: 57-3=54, Resulting Numbers: [82, 54]
Generated Node #0,0,0: 28:[82, 54] Operation: 57-3=54
Exploring Operation: 82-57=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 28:[3, 25] Operation: 82-57=25
Exploring Operation: 82-3=79, Resulting Numbers: [57, 79]
Generated Node #0,0,2: 28:[57, 79] Operation: 82-3=79
Exploring Operation: 57/3=19, Resulting Numbers: [82, 19]
Generated Node #0,0,3: 28:[82, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[3, 25], Operations: ['75-18=57', '82-57=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[18, 3, 82, 75], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [3, 82, 57]
Generated Node #0,0: 28:[3, 82, 57] Operation: 75-18=57
Moving to Node #0,0
Current State: 28:[3, 82, 57], Operations: ['75-18=57']
Exploring Operation: 82-57=25, Resulting Numbers: [3, 25]
Generated Node #0,0,1: 28:[3, 25] Operation: 82-57=25
Moving to Node #0,0,1
Current State: 28:[3, 25], Operations: ['75-18=57', '82-57=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
72,
50,
82,
18
] | 23 | [
"82-72=10",
"50/10=5",
"18+5=23"
] | Current State: 23:[72, 50, 82, 18], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [50, 18, 10]
Generated Node #2: [50, 18, 10] from Operation: 82-72=10
Current State: 23:[50, 18, 10], Operations: ['82-72=10']
Exploring Operation: 50/10=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 50/10=5
Current State: 23:[18, 5], Operations: ['82-72=10', '50/10=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[72, 50, 82, 18], Operations: []
Exploring Operation: 72-50=22, Resulting Numbers: [82, 18, 22]
Generated Node #0,0: 23:[82, 18, 22] Operation: 72-50=22
Exploring Operation: 82-72=10, Resulting Numbers: [50, 18, 10]
Generated Node #0,1: 23:[50, 18, 10] Operation: 82-72=10
Exploring Operation: 82-50=32, Resulting Numbers: [72, 18, 32]
Generated Node #0,2: 23:[72, 18, 32] Operation: 82-50=32
Exploring Operation: 72/18=4, Resulting Numbers: [50, 82, 4]
Generated Node #0,3: 23:[50, 82, 4] Operation: 72/18=4
Moving to Node #0,1
Current State: 23:[50, 18, 10], Operations: ['82-72=10']
Exploring Operation: 50-18=32, Resulting Numbers: [10, 32]
Generated Node #0,1,0: 23:[10, 32] Operation: 50-18=32
Exploring Operation: 50-10=40, Resulting Numbers: [18, 40]
Generated Node #0,1,1: 23:[18, 40] Operation: 50-10=40
Exploring Operation: 50/10=5, Resulting Numbers: [18, 5]
Generated Node #0,1,2: 23:[18, 5] Operation: 50/10=5
Exploring Operation: 18+10=28, Resulting Numbers: [50, 28]
Generated Node #0,1,3: 23:[50, 28] Operation: 18+10=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[10, 32], Operations: ['82-72=10', '50-18=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 10*32=320, Resulting Numbers: [320]
320,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[18, 40], Operations: ['82-72=10', '50-10=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,23 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[18, 5], Operations: ['82-72=10', '50/10=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[72, 50, 82, 18], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [50, 18, 10]
Generated Node #0,1: 23:[50, 18, 10] Operation: 82-72=10
Moving to Node #0,1
Current State: 23:[50, 18, 10], Operations: ['82-72=10']
Exploring Operation: 50/10=5, Resulting Numbers: [18, 5]
Generated Node #0,1,2: 23:[18, 5] Operation: 50/10=5
Moving to Node #0,1,2
Current State: 23:[18, 5], Operations: ['82-72=10', '50/10=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
23,
77,
79,
45
] | 91 | [
"79-77=2",
"23*2=46",
"45+46=91"
] | Current State: 91:[23, 77, 79, 45], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [23, 45, 2]
Generated Node #2: [23, 45, 2] from Operation: 79-77=2
Current State: 91:[23, 45, 2], Operations: ['79-77=2']
Exploring Operation: 23*2=46, Resulting Numbers: [45, 46]
Generated Node #3: [45, 46] from Operation: 23*2=46
Current State: 91:[45, 46], Operations: ['79-77=2', '23*2=46']
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[23, 77, 79, 45], Operations: []
Exploring Operation: 45-23=22, Resulting Numbers: [77, 79, 22]
Generated Node #0,0: 91:[77, 79, 22] Operation: 45-23=22
Exploring Operation: 77-45=32, Resulting Numbers: [23, 79, 32]
Generated Node #0,1: 91:[23, 79, 32] Operation: 77-45=32
Moving to Node #0,0
Current State: 91:[77, 79, 22], Operations: ['45-23=22']
Exploring Operation: 79-77=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 91:[22, 2] Operation: 79-77=2
Exploring Operation: 77+22=99, Resulting Numbers: [79, 99]
Generated Node #0,0,1: 91:[79, 99] Operation: 77+22=99
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[22, 2], Operations: ['45-23=22', '79-77=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,91 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[79, 99], Operations: ['45-23=22', '77+22=99']
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 79+99=178, Resulting Numbers: [178]
178,91 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: 91:[23, 79, 32], Operations: ['77-45=32']
Exploring Operation: 32-23=9, Resulting Numbers: [79, 9]
Generated Node #0,1,0: 91:[79, 9] Operation: 32-23=9
Exploring Operation: 23+79=102, Resulting Numbers: [32, 102]
Generated Node #0,1,1: 91:[32, 102] Operation: 23+79=102
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[79, 9], Operations: ['77-45=32', '32-23=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,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,1
Current State: 91:[32, 102], Operations: ['77-45=32', '23+79=102']
Exploring Operation: 32+102=134, Resulting Numbers: [134]
134,91 unequal: No Solution
Exploring Operation: 102-32=70, Resulting Numbers: [70]
70,91 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 |
[
66,
57,
29,
12
] | 87 | [
"66-57=9",
"12-9=3",
"29*3=87"
] | Current State: 87:[66, 57, 29, 12], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [29, 12, 9]
Generated Node #2: [29, 12, 9] from Operation: 66-57=9
Current State: 87:[29, 12, 9], Operations: ['66-57=9']
Exploring Operation: 12-9=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 12-9=3
Current State: 87:[29, 3], Operations: ['66-57=9', '12-9=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[66, 57, 29, 12], Operations: []
Exploring Operation: 57+29=86, Resulting Numbers: [66, 12, 86]
Generated Node #0,0: 87:[66, 12, 86] Operation: 57+29=86
Exploring Operation: 66-57=9, Resulting Numbers: [29, 12, 9]
Generated Node #0,1: 87:[29, 12, 9] Operation: 66-57=9
Exploring Operation: 57-29=28, Resulting Numbers: [66, 12, 28]
Generated Node #0,2: 87:[66, 12, 28] Operation: 57-29=28
Exploring Operation: 57-12=45, Resulting Numbers: [66, 29, 45]
Generated Node #0,3: 87:[66, 29, 45] Operation: 57-12=45
Exploring Operation: 66+12=78, Resulting Numbers: [57, 29, 78]
Generated Node #0,4: 87:[57, 29, 78] Operation: 66+12=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[29, 12, 9], Operations: ['66-57=9']
Exploring Operation: 12+9=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 87:[29, 21] Operation: 12+9=21
Exploring Operation: 29-12=17, Resulting Numbers: [9, 17]
Generated Node #0,1,1: 87:[9, 17] Operation: 29-12=17
Exploring Operation: 29+9=38, Resulting Numbers: [12, 38]
Generated Node #0,1,2: 87:[12, 38] Operation: 29+9=38
Exploring Operation: 29+12=41, Resulting Numbers: [9, 41]
Generated Node #0,1,3: 87:[9, 41] Operation: 29+12=41
Exploring Operation: 12-9=3, Resulting Numbers: [29, 3]
Generated Node #0,1,4: 87:[29, 3] Operation: 12-9=3
Moving to Node #0,1,4
Current State: 87:[29, 3], Operations: ['66-57=9', '12-9=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,87 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,87 unequal: No Solution
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[66, 57, 29, 12], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [29, 12, 9]
Generated Node #0,1: 87:[29, 12, 9] Operation: 66-57=9
Moving to Node #0,1
Current State: 87:[29, 12, 9], Operations: ['66-57=9']
Exploring Operation: 12-9=3, Resulting Numbers: [29, 3]
Generated Node #0,1,4: 87:[29, 3] Operation: 12-9=3
Moving to Node #0,1,4
Current State: 87:[29, 3], Operations: ['66-57=9', '12-9=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
69,
73,
57,
74
] | 12 | [
"69-57=12",
"74-73=1",
"12*1=12"
] | Current State: 12:[69, 73, 57, 74], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [73, 74, 12]
Generated Node #2: [73, 74, 12] from Operation: 69-57=12
Current State: 12:[73, 74, 12], Operations: ['69-57=12']
Exploring Operation: 74-73=1, Resulting Numbers: [12, 1]
Generated Node #3: [12, 1] from Operation: 74-73=1
Current State: 12:[12, 1], Operations: ['69-57=12', '74-73=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[69, 73, 57, 74], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [57, 74, 4]
Generated Node #0,0: 12:[57, 74, 4] Operation: 73-69=4
Exploring Operation: 69-57=12, Resulting Numbers: [73, 74, 12]
Generated Node #0,1: 12:[73, 74, 12] Operation: 69-57=12
Exploring Operation: 74-73=1, Resulting Numbers: [69, 57, 1]
Generated Node #0,2: 12:[69, 57, 1] Operation: 74-73=1
Exploring Operation: 74-69=5, Resulting Numbers: [73, 57, 5]
Generated Node #0,3: 12:[73, 57, 5] Operation: 74-69=5
Moving to Node #0,2
Current State: 12:[69, 57, 1], Operations: ['74-73=1']
Exploring Operation: 57-1=56, Resulting Numbers: [69, 56]
Generated Node #0,2,0: 12:[69, 56] Operation: 57-1=56
Exploring Operation: 69*1=69, Resulting Numbers: [57, 69]
Generated Node #0,2,1: 12:[57, 69] Operation: 69*1=69
Exploring Operation: 69-57=12, Resulting Numbers: [1, 12]
Generated Node #0,2,2: 12:[1, 12] Operation: 69-57=12
Exploring Operation: 69-1=68, Resulting Numbers: [57, 68]
Generated Node #0,2,3: 12:[57, 68] Operation: 69-1=68
Moving to Node #0,3
Current State: 12:[73, 57, 5], Operations: ['74-69=5']
Exploring Operation: 57-5=52, Resulting Numbers: [73, 52]
Generated Node #0,3,0: 12:[73, 52] Operation: 57-5=52
Exploring Operation: 73+5=78, Resulting Numbers: [57, 78]
Generated Node #0,3,1: 12:[57, 78] Operation: 73+5=78
Exploring Operation: 73-5=68, Resulting Numbers: [57, 68]
Generated Node #0,3,2: 12:[57, 68] Operation: 73-5=68
Exploring Operation: 73-57=16, Resulting Numbers: [5, 16]
Generated Node #0,3,3: 12:[5, 16] Operation: 73-57=16
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[5, 16], Operations: ['74-69=5', '73-57=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,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,3,0
Current State: 12:[73, 52], Operations: ['74-69=5', '57-5=52']
Exploring Operation: 73+52=125, Resulting Numbers: [125]
125,12 unequal: No Solution
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,12 unequal: No Solution
Exploring Operation: 73*52=3796, Resulting Numbers: [3796]
3796,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,3,2
Current State: 12:[57, 68], Operations: ['74-69=5', '73-5=68']
Exploring Operation: 57+68=125, Resulting Numbers: [125]
125,12 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 57*68=3876, Resulting Numbers: [3876]
3876,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,3,1
Current State: 12:[57, 78], Operations: ['74-69=5', '73+5=78']
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,12 unequal: No Solution
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,12 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,12 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: 12:[57, 74, 4], Operations: ['73-69=4']
Exploring Operation: 74-4=70, Resulting Numbers: [57, 70]
Generated Node #0,0,0: 12:[57, 70] Operation: 74-4=70
Exploring Operation: 57-4=53, Resulting Numbers: [74, 53]
Generated Node #0,0,1: 12:[74, 53] Operation: 57-4=53
Exploring Operation: 57+4=61, Resulting Numbers: [74, 61]
Generated Node #0,0,2: 12:[74, 61] Operation: 57+4=61
Exploring Operation: 74-57=17, Resulting Numbers: [4, 17]
Generated Node #0,0,3: 12:[4, 17] Operation: 74-57=17
Moving to Node #0,1
Current State: 12:[73, 74, 12], Operations: ['69-57=12']
Exploring Operation: 74-73=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 12:[12, 1] Operation: 74-73=1
Exploring Operation: 74-12=62, Resulting Numbers: [73, 62]
Generated Node #0,1,1: 12:[73, 62] Operation: 74-12=62
Exploring Operation: 73+74=147, Resulting Numbers: [12, 147]
Generated Node #0,1,2: 12:[12, 147] Operation: 73+74=147
Exploring Operation: 73-12=61, Resulting Numbers: [74, 61]
Generated Node #0,1,3: 12:[74, 61] Operation: 73-12=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[12, 1], Operations: ['69-57=12', '74-73=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[69, 73, 57, 74], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [73, 74, 12]
Generated Node #0,1: 12:[73, 74, 12] Operation: 69-57=12
Moving to Node #0,1
Current State: 12:[73, 74, 12], Operations: ['69-57=12']
Exploring Operation: 74-73=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 12:[12, 1] Operation: 74-73=1
Moving to Node #0,1,0
Current State: 12:[12, 1], Operations: ['69-57=12', '74-73=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
68,
24,
73,
43
] | 72 | [
"68-24=44",
"73+43=116",
"116-44=72"
] | Current State: 72:[68, 24, 73, 43], Operations: []
Exploring Operation: 68-24=44, Resulting Numbers: [73, 43, 44]
Generated Node #2: [73, 43, 44] from Operation: 68-24=44
Current State: 72:[73, 43, 44], Operations: ['68-24=44']
Exploring Operation: 73+43=116, Resulting Numbers: [44, 116]
Generated Node #3: [44, 116] from Operation: 73+43=116
Current State: 72:[44, 116], Operations: ['68-24=44', '73+43=116']
Exploring Operation: 116-44=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[68, 24, 73, 43], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [68, 24, 30]
Generated Node #0,0: 72:[68, 24, 30] Operation: 73-43=30
Exploring Operation: 73-68=5, Resulting Numbers: [24, 43, 5]
Generated Node #0,1: 72:[24, 43, 5] Operation: 73-68=5
Exploring Operation: 43-24=19, Resulting Numbers: [68, 73, 19]
Generated Node #0,2: 72:[68, 73, 19] Operation: 43-24=19
Exploring Operation: 24+43=67, Resulting Numbers: [68, 73, 67]
Generated Node #0,3: 72:[68, 73, 67] Operation: 24+43=67
Exploring Operation: 68-43=25, Resulting Numbers: [24, 73, 25]
Generated Node #0,4: 72:[24, 73, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,4
Current State: 72:[24, 73, 25], Operations: ['68-43=25']
Exploring Operation: 24+73=97, Resulting Numbers: [25, 97]
Generated Node #0,4,0: 72:[25, 97] Operation: 24+73=97
Exploring Operation: 24+25=49, Resulting Numbers: [73, 49]
Generated Node #0,4,1: 72:[73, 49] Operation: 24+25=49
Exploring Operation: 25-24=1, Resulting Numbers: [73, 1]
Generated Node #0,4,2: 72:[73, 1] Operation: 25-24=1
Exploring Operation: 73-24=49, Resulting Numbers: [25, 49]
Generated Node #0,4,3: 72:[25, 49] Operation: 73-24=49
Exploring Operation: 73-25=48, Resulting Numbers: [24, 48]
Generated Node #0,4,4: 72:[24, 48] Operation: 73-25=48
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 72:[73, 1], Operations: ['68-43=25', '25-24=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[68, 24, 73, 43], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [24, 73, 25]
Generated Node #0,4: 72:[24, 73, 25] Operation: 68-43=25
Moving to Node #0,4
Current State: 72:[24, 73, 25], Operations: ['68-43=25']
Exploring Operation: 25-24=1, Resulting Numbers: [73, 1]
Generated Node #0,4,2: 72:[73, 1] Operation: 25-24=1
Moving to Node #0,4,2
Current State: 72:[73, 1], Operations: ['68-43=25', '25-24=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
51,
99,
33,
10
] | 58 | [
"51+10=61",
"99/33=3",
"61-3=58"
] | Current State: 58:[51, 99, 33, 10], Operations: []
Exploring Operation: 51+10=61, Resulting Numbers: [99, 33, 61]
Generated Node #2: [99, 33, 61] from Operation: 51+10=61
Current State: 58:[99, 33, 61], Operations: ['51+10=61']
Exploring Operation: 99/33=3, Resulting Numbers: [61, 3]
Generated Node #3: [61, 3] from Operation: 99/33=3
Current State: 58:[61, 3], Operations: ['51+10=61', '99/33=3']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[51, 99, 33, 10], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [33, 10, 48]
Generated Node #0,0: 58:[33, 10, 48] Operation: 99-51=48
Exploring Operation: 99/33=3, Resulting Numbers: [51, 10, 3]
Generated Node #0,1: 58:[51, 10, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 58:[51, 10, 3], Operations: ['99/33=3']
Exploring Operation: 10*3=30, Resulting Numbers: [51, 30]
Generated Node #0,1,0: 58:[51, 30] Operation: 10*3=30
Exploring Operation: 51+10=61, Resulting Numbers: [3, 61]
Generated Node #0,1,1: 58:[3, 61] Operation: 51+10=61
Moving to Node #0,0
Current State: 58:[33, 10, 48], Operations: ['99-51=48']
Exploring Operation: 10+48=58, Resulting Numbers: [33, 58]
Generated Node #0,0,0: 58:[33, 58] Operation: 10+48=58
Exploring Operation: 48-10=38, Resulting Numbers: [33, 38]
Generated Node #0,0,1: 58:[33, 38] Operation: 48-10=38
Moving to Node #0,1,1
Current State: 58:[3, 61], Operations: ['99/33=3', '51+10=61']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[51, 99, 33, 10], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [51, 10, 3]
Generated Node #0,1: 58:[51, 10, 3] Operation: 99/33=3
Moving to Node #0,1
Current State: 58:[51, 10, 3], Operations: ['99/33=3']
Exploring Operation: 51+10=61, Resulting Numbers: [3, 61]
Generated Node #0,1,1: 58:[3, 61] Operation: 51+10=61
Moving to Node #0,1,1
Current State: 58:[3, 61], Operations: ['99/33=3', '51+10=61']
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
27,
7,
48,
23
] | 91 | [
"27-7=20",
"48+23=71",
"20+71=91"
] | Current State: 91:[27, 7, 48, 23], Operations: []
Exploring Operation: 27-7=20, Resulting Numbers: [48, 23, 20]
Generated Node #2: [48, 23, 20] from Operation: 27-7=20
Current State: 91:[48, 23, 20], Operations: ['27-7=20']
Exploring Operation: 48+23=71, Resulting Numbers: [20, 71]
Generated Node #3: [20, 71] from Operation: 48+23=71
Current State: 91:[20, 71], Operations: ['27-7=20', '48+23=71']
Exploring Operation: 20+71=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[27, 7, 48, 23], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [7, 23, 21]
Generated Node #0,0: 91:[7, 23, 21] Operation: 48-27=21
Exploring Operation: 27+48=75, Resulting Numbers: [7, 23, 75]
Generated Node #0,1: 91:[7, 23, 75] Operation: 27+48=75
Moving to Node #0,0
Current State: 91:[7, 23, 21], Operations: ['48-27=21']
Exploring Operation: 23-7=16, Resulting Numbers: [21, 16]
Generated Node #0,0,0: 91:[21, 16] Operation: 23-7=16
Exploring Operation: 23-21=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 91:[7, 2] Operation: 23-21=2
Moving to Node #0,1
Current State: 91:[7, 23, 75], Operations: ['27+48=75']
Exploring Operation: 23+75=98, Resulting Numbers: [7, 98]
Generated Node #0,1,0: 91:[7, 98] Operation: 23+75=98
Exploring Operation: 23-7=16, Resulting Numbers: [75, 16]
Generated Node #0,1,1: 91:[75, 16] Operation: 23-7=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[7, 98], Operations: ['27+48=75', '23+75=98']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[27, 7, 48, 23], Operations: []
Exploring Operation: 27+48=75, Resulting Numbers: [7, 23, 75]
Generated Node #0,1: 91:[7, 23, 75] Operation: 27+48=75
Moving to Node #0,1
Current State: 91:[7, 23, 75], Operations: ['27+48=75']
Exploring Operation: 23+75=98, Resulting Numbers: [7, 98]
Generated Node #0,1,0: 91:[7, 98] Operation: 23+75=98
Moving to Node #0,1,0
Current State: 91:[7, 98], Operations: ['27+48=75', '23+75=98']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
41,
3,
32,
42
] | 93 | [
"41+32=73",
"73-42=31",
"3*31=93"
] | Current State: 93:[41, 3, 32, 42], Operations: []
Exploring Operation: 41+32=73, Resulting Numbers: [3, 42, 73]
Generated Node #2: [3, 42, 73] from Operation: 41+32=73
Current State: 93:[3, 42, 73], Operations: ['41+32=73']
Exploring Operation: 73-42=31, Resulting Numbers: [3, 31]
Generated Node #3: [3, 31] from Operation: 73-42=31
Current State: 93:[3, 31], Operations: ['41+32=73', '73-42=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[41, 3, 32, 42], Operations: []
Exploring Operation: 42-32=10, Resulting Numbers: [41, 3, 10]
Generated Node #0,0: 93:[41, 3, 10] Operation: 42-32=10
Exploring Operation: 41-32=9, Resulting Numbers: [3, 42, 9]
Generated Node #0,1: 93:[3, 42, 9] Operation: 41-32=9
Exploring Operation: 41-3=38, Resulting Numbers: [32, 42, 38]
Generated Node #0,2: 93:[32, 42, 38] Operation: 41-3=38
Exploring Operation: 41+42=83, Resulting Numbers: [3, 32, 83]
Generated Node #0,3: 93:[3, 32, 83] Operation: 41+42=83
Exploring Operation: 42-41=1, Resulting Numbers: [3, 32, 1]
Generated Node #0,4: 93:[3, 32, 1] Operation: 42-41=1
Moving to Node #0,4
Current State: 93:[3, 32, 1], Operations: ['42-41=1']
Exploring Operation: 32/1=32, Resulting Numbers: [3, 32]
Generated Node #0,4,0: 93:[3, 32] Operation: 32/1=32
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #0,4,1: 93:[3, 31] Operation: 32-1=31
Exploring Operation: 3*1=3, Resulting Numbers: [32, 3]
Generated Node #0,4,2: 93:[32, 3] Operation: 3*1=3
Exploring Operation: 32*1=32, Resulting Numbers: [3, 32]
Generated Node #0,4,3: 93:[3, 32] Operation: 32*1=32
Exploring Operation: 3/1=3, Resulting Numbers: [32, 3]
Generated Node #0,4,4: 93:[32, 3] Operation: 3/1=3
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 93:[3, 31], Operations: ['42-41=1', '32-1=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[41, 3, 32, 42], Operations: []
Exploring Operation: 42-41=1, Resulting Numbers: [3, 32, 1]
Generated Node #0,4: 93:[3, 32, 1] Operation: 42-41=1
Moving to Node #0,4
Current State: 93:[3, 32, 1], Operations: ['42-41=1']
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #0,4,1: 93:[3, 31] Operation: 32-1=31
Moving to Node #0,4,1
Current State: 93:[3, 31], Operations: ['42-41=1', '32-1=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
59,
27,
43,
49
] | 26 | [
"59-27=32",
"49-43=6",
"32-6=26"
] | Current State: 26:[59, 27, 43, 49], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [43, 49, 32]
Generated Node #2: [43, 49, 32] from Operation: 59-27=32
Current State: 26:[43, 49, 32], Operations: ['59-27=32']
Exploring Operation: 49-43=6, Resulting Numbers: [32, 6]
Generated Node #3: [32, 6] from Operation: 49-43=6
Current State: 26:[32, 6], Operations: ['59-27=32', '49-43=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[59, 27, 43, 49], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [27, 43, 10]
Generated Node #0,0: 26:[27, 43, 10] Operation: 59-49=10
Moving to Node #0,0
Current State: 26:[27, 43, 10], Operations: ['59-49=10']
Exploring Operation: 43-27=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 26:[10, 16] Operation: 43-27=16
Moving to Node #0,0,0
Current State: 26:[10, 16], Operations: ['59-49=10', '43-27=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[59, 27, 43, 49], Operations: []
Exploring Operation: 59-49=10, Resulting Numbers: [27, 43, 10]
Generated Node #0,0: 26:[27, 43, 10] Operation: 59-49=10
Moving to Node #0,0
Current State: 26:[27, 43, 10], Operations: ['59-49=10']
Exploring Operation: 43-27=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 26:[10, 16] Operation: 43-27=16
Moving to Node #0,0,0
Current State: 26:[10, 16], Operations: ['59-49=10', '43-27=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
22,
37,
17,
74
] | 27 | [
"22*74=1628",
"1628/37=44",
"44-17=27"
] | Current State: 27:[22, 37, 17, 74], Operations: []
Exploring Operation: 22*74=1628, Resulting Numbers: [37, 17, 1628]
Generated Node #2: [37, 17, 1628] from Operation: 22*74=1628
Current State: 27:[37, 17, 1628], Operations: ['22*74=1628']
Exploring Operation: 1628/37=44, Resulting Numbers: [17, 44]
Generated Node #3: [17, 44] from Operation: 1628/37=44
Current State: 27:[17, 44], Operations: ['22*74=1628', '1628/37=44']
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[22, 37, 17, 74], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [22, 17, 2]
Generated Node #0,0: 27:[22, 17, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [22, 17, 37]
Generated Node #0,1: 27:[22, 17, 37] Operation: 74-37=37
Moving to Node #0,0
Current State: 27:[22, 17, 2], Operations: ['74/37=2']
Exploring Operation: 22/2=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 27:[17, 11] Operation: 22/2=11
Exploring Operation: 22-17=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 27:[2, 5] Operation: 22-17=5
Moving to Node #0,1
Current State: 27:[22, 17, 37], Operations: ['74-37=37']
Exploring Operation: 22-17=5, Resulting Numbers: [37, 5]
Generated Node #0,1,0: 27:[37, 5] Operation: 22-17=5
Exploring Operation: 37-17=20, Resulting Numbers: [22, 20]
Generated Node #0,1,1: 27:[22, 20] Operation: 37-17=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[37, 5], Operations: ['74-37=37', '22-17=5']
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[22, 20], Operations: ['74-37=37', '37-17=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 27:[2, 5], Operations: ['74/37=2', '22-17=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[17, 11], Operations: ['74/37=2', '22/2=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
80,
87,
89
] | 64 | [
"32+80=112",
"87+89=176",
"176-112=64"
] | Current State: 64:[32, 80, 87, 89], Operations: []
Exploring Operation: 32+80=112, Resulting Numbers: [87, 89, 112]
Generated Node #2: [87, 89, 112] from Operation: 32+80=112
Current State: 64:[87, 89, 112], Operations: ['32+80=112']
Exploring Operation: 87+89=176, Resulting Numbers: [112, 176]
Generated Node #3: [112, 176] from Operation: 87+89=176
Current State: 64:[112, 176], Operations: ['32+80=112', '87+89=176']
Exploring Operation: 176-112=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[32, 80, 87, 89], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [32, 87, 9]
Generated Node #0,0: 64:[32, 87, 9] Operation: 89-80=9
Exploring Operation: 89-87=2, Resulting Numbers: [32, 80, 2]
Generated Node #0,1: 64:[32, 80, 2] Operation: 89-87=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[32, 80, 2], Operations: ['89-87=2']
Exploring Operation: 80/2=40, Resulting Numbers: [32, 40]
Generated Node #0,1,0: 64:[32, 40] Operation: 80/2=40
Exploring Operation: 80-2=78, Resulting Numbers: [32, 78]
Generated Node #0,1,1: 64:[32, 78] Operation: 80-2=78
Moving to Node #0,1,0
Current State: 64:[32, 40], Operations: ['89-87=2', '80/2=40']
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 32+40=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[32, 78], Operations: ['89-87=2', '80-2=78']
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 32+78=110, Resulting Numbers: [110]
110,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[32, 87, 9], Operations: ['89-80=9']
Exploring Operation: 87-9=78, Resulting Numbers: [32, 78]
Generated Node #0,0,0: 64:[32, 78] Operation: 87-9=78
Exploring Operation: 87-32=55, Resulting Numbers: [9, 55]
Generated Node #0,0,1: 64:[9, 55] Operation: 87-32=55
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[9, 55], Operations: ['89-80=9', '87-32=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[32, 80, 87, 89], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [32, 87, 9]
Generated Node #0,0: 64:[32, 87, 9] Operation: 89-80=9
Moving to Node #0,0
Current State: 64:[32, 87, 9], Operations: ['89-80=9']
Exploring Operation: 87-32=55, Resulting Numbers: [9, 55]
Generated Node #0,0,1: 64:[9, 55] Operation: 87-32=55
Moving to Node #0,0,1
Current State: 64:[9, 55], Operations: ['89-80=9', '87-32=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
84,
28,
38,
20
] | 42 | [
"38-28=10",
"84*10=840",
"840/20=42"
] | Current State: 42:[84, 28, 38, 20], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [84, 20, 10]
Generated Node #2: [84, 20, 10] from Operation: 38-28=10
Current State: 42:[84, 20, 10], Operations: ['38-28=10']
Exploring Operation: 84*10=840, Resulting Numbers: [20, 840]
Generated Node #3: [20, 840] from Operation: 84*10=840
Current State: 42:[20, 840], Operations: ['38-28=10', '84*10=840']
Exploring Operation: 840/20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[84, 28, 38, 20], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [38, 20, 3]
Generated Node #0,0: 42:[38, 20, 3] Operation: 84/28=3
Exploring Operation: 38-28=10, Resulting Numbers: [84, 20, 10]
Generated Node #0,1: 42:[84, 20, 10] Operation: 38-28=10
Exploring Operation: 84-20=64, Resulting Numbers: [28, 38, 64]
Generated Node #0,2: 42:[28, 38, 64] Operation: 84-20=64
Exploring Operation: 84-38=46, Resulting Numbers: [28, 20, 46]
Generated Node #0,3: 42:[28, 20, 46] Operation: 84-38=46
Exploring Operation: 84-28=56, Resulting Numbers: [38, 20, 56]
Generated Node #0,4: 42:[38, 20, 56] Operation: 84-28=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[38, 20, 3], Operations: ['84/28=3']
Exploring Operation: 20+3=23, Resulting Numbers: [38, 23]
Generated Node #0,0,0: 42:[38, 23] Operation: 20+3=23
Exploring Operation: 38-3=35, Resulting Numbers: [20, 35]
Generated Node #0,0,1: 42:[20, 35] Operation: 38-3=35
Exploring Operation: 38+3=41, Resulting Numbers: [20, 41]
Generated Node #0,0,2: 42:[20, 41] Operation: 38+3=41
Exploring Operation: 20-3=17, Resulting Numbers: [38, 17]
Generated Node #0,0,3: 42:[38, 17] Operation: 20-3=17
Exploring Operation: 38-20=18, Resulting Numbers: [3, 18]
Generated Node #0,0,4: 42:[3, 18] Operation: 38-20=18
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[20, 41], Operations: ['84/28=3', '38+3=41']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 20*41=820, Resulting Numbers: [820]
820,42 unequal: No Solution
Exploring Operation: 20+41=61, Resulting Numbers: [61]
61,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 42:[3, 18], Operations: ['84/28=3', '38-20=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No 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: 42:[38, 23], Operations: ['84/28=3', '20+3=23']
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,42 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,42 unequal: No Solution
No 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: 42:[38, 17], Operations: ['84/28=3', '20-3=17']
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,42 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,42 unequal: No Solution
No 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: 42:[20, 35], Operations: ['84/28=3', '38-3=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,42 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,42 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: 42:[28, 20, 46], Operations: ['84-38=46']
Exploring Operation: 28-20=8, Resulting Numbers: [46, 8]
Generated Node #0,3,0: 42:[46, 8] Operation: 28-20=8
Exploring Operation: 46-20=26, Resulting Numbers: [28, 26]
Generated Node #0,3,1: 42:[28, 26] Operation: 46-20=26
Exploring Operation: 46-28=18, Resulting Numbers: [20, 18]
Generated Node #0,3,2: 42:[20, 18] Operation: 46-28=18
Exploring Operation: 28+20=48, Resulting Numbers: [46, 48]
Generated Node #0,3,3: 42:[46, 48] Operation: 28+20=48
Exploring Operation: 20+46=66, Resulting Numbers: [28, 66]
Generated Node #0,3,4: 42:[28, 66] Operation: 20+46=66
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 42:[20, 18], Operations: ['84-38=46', '46-28=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,42 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No 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: 42:[46, 8], Operations: ['84-38=46', '28-20=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,42 unequal: No Solution
No 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: 42:[46, 48], Operations: ['84-38=46', '28+20=48']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 46+48=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 46*48=2208, Resulting Numbers: [2208]
2208,42 unequal: No Solution
No 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: 42:[28, 26], Operations: ['84-38=46', '46-20=26']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 42:[28, 66], Operations: ['84-38=46', '20+46=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[38, 20, 56], Operations: ['84-28=56']
Exploring Operation: 56-38=18, Resulting Numbers: [20, 18]
Generated Node #0,4,0: 42:[20, 18] Operation: 56-38=18
Exploring Operation: 38+20=58, Resulting Numbers: [56, 58]
Generated Node #0,4,1: 42:[56, 58] Operation: 38+20=58
Exploring Operation: 38-20=18, Resulting Numbers: [56, 18]
Generated Node #0,4,2: 42:[56, 18] Operation: 38-20=18
Exploring Operation: 56-20=36, Resulting Numbers: [38, 36]
Generated Node #0,4,3: 42:[38, 36] Operation: 56-20=36
Exploring Operation: 20+56=76, Resulting Numbers: [38, 76]
Generated Node #0,4,4: 42:[38, 76] Operation: 20+56=76
Moving to Node #0,4,0
Current State: 42:[20, 18], Operations: ['84-28=56', '56-38=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,42 unequal: No Solution
Moving to Node #0,4,3
Current State: 42:[38, 36], Operations: ['84-28=56', '56-20=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,42 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[56, 18], Operations: ['84-28=56', '38-20=18']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,42 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[56, 58], Operations: ['84-28=56', '38+20=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,42 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[38, 76], Operations: ['84-28=56', '20+56=76']
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,42 unequal: No Solution
No 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: 42:[28, 38, 64], Operations: ['84-20=64']
Exploring Operation: 64-38=26, Resulting Numbers: [28, 26]
Generated Node #0,2,0: 42:[28, 26] Operation: 64-38=26
Exploring Operation: 38-28=10, Resulting Numbers: [64, 10]
Generated Node #0,2,1: 42:[64, 10] Operation: 38-28=10
Exploring Operation: 28+64=92, Resulting Numbers: [38, 92]
Generated Node #0,2,2: 42:[38, 92] Operation: 28+64=92
Exploring Operation: 28+38=66, Resulting Numbers: [64, 66]
Generated Node #0,2,3: 42:[64, 66] Operation: 28+38=66
Exploring Operation: 64-28=36, Resulting Numbers: [38, 36]
Generated Node #0,2,4: 42:[38, 36] Operation: 64-28=36
Moving to Node #0,2,4
Current State: 42:[38, 36], Operations: ['84-20=64', '64-28=36']
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,42 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[28, 26], Operations: ['84-20=64', '64-38=26']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,42 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[64, 10], Operations: ['84-20=64', '38-28=10']
Exploring Operation: 64*10=640, Resulting Numbers: [640]
640,42 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[64, 66], Operations: ['84-20=64', '28+38=66']
Exploring Operation: 64+66=130, Resulting Numbers: [130]
130,42 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 64*66=4224, Resulting Numbers: [4224]
4224,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[38, 92], Operations: ['84-20=64', '28+64=92']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 38*92=3496, Resulting Numbers: [3496]
3496,42 unequal: No Solution
Exploring Operation: 38+92=130, Resulting Numbers: [130]
130,42 unequal: No Solution
No 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: 42:[84, 20, 10], Operations: ['38-28=10']
Exploring Operation: 20-10=10, Resulting Numbers: [84, 10]
Generated Node #0,1,0: 42:[84, 10] Operation: 20-10=10
Exploring Operation: 84-10=74, Resulting Numbers: [20, 74]
Generated Node #0,1,1: 42:[20, 74] Operation: 84-10=74
Exploring Operation: 84-20=64, Resulting Numbers: [10, 64]
Generated Node #0,1,2: 42:[10, 64] Operation: 84-20=64
Exploring Operation: 20/10=2, Resulting Numbers: [84, 2]
Generated Node #0,1,3: 42:[84, 2] Operation: 20/10=2
Exploring Operation: 20+10=30, Resulting Numbers: [84, 30]
Generated Node #0,1,4: 42:[84, 30] Operation: 20+10=30
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[10, 64], Operations: ['38-28=10', '84-20=64']
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,42 unequal: No Solution
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,42 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No 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: 42:[20, 74], Operations: ['38-28=10', '84-10=74']
Exploring Operation: 20*74=1480, Resulting Numbers: [1480]
1480,42 unequal: No Solution
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,42 unequal: No Solution
No 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: 42:[84, 2], Operations: ['38-28=10', '20/10=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,42 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,42 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[84, 28, 38, 20], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [84, 20, 10]
Generated Node #0,1: 42:[84, 20, 10] Operation: 38-28=10
Moving to Node #0,1
Current State: 42:[84, 20, 10], Operations: ['38-28=10']
Exploring Operation: 20/10=2, Resulting Numbers: [84, 2]
Generated Node #0,1,3: 42:[84, 2] Operation: 20/10=2
Moving to Node #0,1,3
Current State: 42:[84, 2], Operations: ['38-28=10', '20/10=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.908854 | hs_5 | mult_heuristic |
[
3,
15,
66,
89
] | 64 | [
"66-15=51",
"3*51=153",
"153-89=64"
] | Current State: 64:[3, 15, 66, 89], Operations: []
Exploring Operation: 66-15=51, Resulting Numbers: [3, 89, 51]
Generated Node #2: [3, 89, 51] from Operation: 66-15=51
Current State: 64:[3, 89, 51], Operations: ['66-15=51']
Exploring Operation: 3*51=153, Resulting Numbers: [89, 153]
Generated Node #3: [89, 153] from Operation: 3*51=153
Current State: 64:[89, 153], Operations: ['66-15=51', '3*51=153']
Exploring Operation: 153-89=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[3, 15, 66, 89], Operations: []
Exploring Operation: 89-15=74, Resulting Numbers: [3, 66, 74]
Generated Node #0,0: 64:[3, 66, 74] Operation: 89-15=74
Exploring Operation: 89-3=86, Resulting Numbers: [15, 66, 86]
Generated Node #0,1: 64:[15, 66, 86] Operation: 89-3=86
Exploring Operation: 89-66=23, Resulting Numbers: [3, 15, 23]
Generated Node #0,2: 64:[3, 15, 23] Operation: 89-66=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[3, 15, 23], Operations: ['89-66=23']
Exploring Operation: 23-15=8, Resulting Numbers: [3, 8]
Generated Node #0,2,0: 64:[3, 8] Operation: 23-15=8
Exploring Operation: 23-3=20, Resulting Numbers: [15, 20]
Generated Node #0,2,1: 64:[15, 20] Operation: 23-3=20
Exploring Operation: 3*23=69, Resulting Numbers: [15, 69]
Generated Node #0,2,2: 64:[15, 69] Operation: 3*23=69
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[3, 8], Operations: ['89-66=23', '23-15=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,64 unequal: No Solution
No 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: 64:[15, 20], Operations: ['89-66=23', '23-3=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,64 unequal: No Solution
No 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: 64:[15, 69], Operations: ['89-66=23', '3*23=69']
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,64 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,64 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: 64:[3, 66, 74], Operations: ['89-15=74']
Exploring Operation: 66-3=63, Resulting Numbers: [74, 63]
Generated Node #0,0,0: 64:[74, 63] Operation: 66-3=63
Exploring Operation: 74-3=71, Resulting Numbers: [66, 71]
Generated Node #0,0,1: 64:[66, 71] Operation: 74-3=71
Exploring Operation: 74-66=8, Resulting Numbers: [3, 8]
Generated Node #0,0,2: 64:[3, 8] Operation: 74-66=8
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[3, 8], Operations: ['89-15=74', '74-66=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No 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: 64:[66, 71], Operations: ['89-15=74', '74-3=71']
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,64 unequal: No Solution
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,64 unequal: No Solution
No 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: 64:[74, 63], Operations: ['89-15=74', '66-3=63']
Exploring Operation: 74+63=137, Resulting Numbers: [137]
137,64 unequal: No Solution
Exploring Operation: 74*63=4662, Resulting Numbers: [4662]
4662,64 unequal: No Solution
Exploring Operation: 74-63=11, Resulting Numbers: [11]
11,64 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: 64:[15, 66, 86], Operations: ['89-3=86']
Exploring Operation: 66-15=51, Resulting Numbers: [86, 51]
Generated Node #0,1,0: 64:[86, 51] Operation: 66-15=51
Exploring Operation: 86-66=20, Resulting Numbers: [15, 20]
Generated Node #0,1,1: 64:[15, 20] Operation: 86-66=20
Exploring Operation: 86-15=71, Resulting Numbers: [66, 71]
Generated Node #0,1,2: 64:[66, 71] Operation: 86-15=71
Moving to Node #0,1,1
Current State: 64:[15, 20], Operations: ['89-3=86', '86-66=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[66, 71], Operations: ['89-3=86', '86-15=71']
Exploring Operation: 71-66=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 66*71=4686, Resulting Numbers: [4686]
4686,64 unequal: No Solution
Exploring Operation: 66+71=137, Resulting Numbers: [137]
137,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[86, 51], Operations: ['89-3=86', '66-15=51']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 86*51=4386, Resulting Numbers: [4386]
4386,64 unequal: No Solution
Exploring Operation: 86+51=137, Resulting Numbers: [137]
137,64 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 |
[
36,
4,
78,
41
] | 25 | [
"36*4=144",
"78+41=119",
"144-119=25"
] | Current State: 25:[36, 4, 78, 41], Operations: []
Exploring Operation: 36*4=144, Resulting Numbers: [78, 41, 144]
Generated Node #2: [78, 41, 144] from Operation: 36*4=144
Current State: 25:[78, 41, 144], Operations: ['36*4=144']
Exploring Operation: 78+41=119, Resulting Numbers: [144, 119]
Generated Node #3: [144, 119] from Operation: 78+41=119
Current State: 25:[144, 119], Operations: ['36*4=144', '78+41=119']
Exploring Operation: 144-119=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[36, 4, 78, 41], Operations: []
Exploring Operation: 78-41=37, Resulting Numbers: [36, 4, 37]
Generated Node #0,0: 25:[36, 4, 37] Operation: 78-41=37
Exploring Operation: 78-36=42, Resulting Numbers: [4, 41, 42]
Generated Node #0,1: 25:[4, 41, 42] Operation: 78-36=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[36, 4, 37], Operations: ['78-41=37']
Exploring Operation: 37-36=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 25:[4, 1] Operation: 37-36=1
Exploring Operation: 36/4=9, Resulting Numbers: [37, 9]
Generated Node #0,0,1: 25:[37, 9] Operation: 36/4=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[4, 1], Operations: ['78-41=37', '37-36=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[37, 9], Operations: ['78-41=37', '36/4=9']
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[4, 41, 42], Operations: ['78-36=42']
Exploring Operation: 41-4=37, Resulting Numbers: [42, 37]
Generated Node #0,1,0: 25:[42, 37] Operation: 41-4=37
Exploring Operation: 42-41=1, Resulting Numbers: [4, 1]
Generated Node #0,1,1: 25:[4, 1] Operation: 42-41=1
Moving to Node #0,1,1
Current State: 25:[4, 1], Operations: ['78-36=42', '42-41=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[42, 37], Operations: ['78-36=42', '41-4=37']
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,25 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 |
[
77,
98,
56,
25
] | 94 | [
"77+98=175",
"56+25=81",
"175-81=94"
] | Current State: 94:[77, 98, 56, 25], Operations: []
Exploring Operation: 77+98=175, Resulting Numbers: [56, 25, 175]
Generated Node #2: [56, 25, 175] from Operation: 77+98=175
Current State: 94:[56, 25, 175], Operations: ['77+98=175']
Exploring Operation: 56+25=81, Resulting Numbers: [175, 81]
Generated Node #3: [175, 81] from Operation: 56+25=81
Current State: 94:[175, 81], Operations: ['77+98=175', '56+25=81']
Exploring Operation: 175-81=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[77, 98, 56, 25], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [98, 56, 52]
Generated Node #0,0: 94:[98, 56, 52] Operation: 77-25=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[98, 56, 52], Operations: ['77-25=52']
Exploring Operation: 56-52=4, Resulting Numbers: [98, 4]
Generated Node #0,0,0: 94:[98, 4] Operation: 56-52=4
Moving to Node #0,0,0
Current State: 94:[98, 4], Operations: ['77-25=52', '56-52=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[77, 98, 56, 25], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [98, 56, 52]
Generated Node #0,0: 94:[98, 56, 52] Operation: 77-25=52
Moving to Node #0,0
Current State: 94:[98, 56, 52], Operations: ['77-25=52']
Exploring Operation: 56-52=4, Resulting Numbers: [98, 4]
Generated Node #0,0,0: 94:[98, 4] Operation: 56-52=4
Moving to Node #0,0,0
Current State: 94:[98, 4], Operations: ['77-25=52', '56-52=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
49,
8,
7
] | 43 | [
"5*49=245",
"245/7=35",
"8+35=43"
] | Current State: 43:[5, 49, 8, 7], Operations: []
Exploring Operation: 5*49=245, Resulting Numbers: [8, 7, 245]
Generated Node #2: [8, 7, 245] from Operation: 5*49=245
Current State: 43:[8, 7, 245], Operations: ['5*49=245']
Exploring Operation: 245/7=35, Resulting Numbers: [8, 35]
Generated Node #3: [8, 35] from Operation: 245/7=35
Current State: 43:[8, 35], Operations: ['5*49=245', '245/7=35']
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[5, 49, 8, 7], Operations: []
Exploring Operation: 49-5=44, Resulting Numbers: [8, 7, 44]
Generated Node #0,0: 43:[8, 7, 44] Operation: 49-5=44
Exploring Operation: 5+8=13, Resulting Numbers: [49, 7, 13]
Generated Node #0,1: 43:[49, 7, 13] Operation: 5+8=13
Exploring Operation: 5*7=35, Resulting Numbers: [49, 8, 35]
Generated Node #0,2: 43:[49, 8, 35] Operation: 5*7=35
Exploring Operation: 5*8=40, Resulting Numbers: [49, 7, 40]
Generated Node #0,3: 43:[49, 7, 40] Operation: 5*8=40
Exploring Operation: 8*7=56, Resulting Numbers: [5, 49, 56]
Generated Node #0,4: 43:[5, 49, 56] Operation: 8*7=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[49, 7, 40], Operations: ['5*8=40']
Exploring Operation: 7+40=47, Resulting Numbers: [49, 47]
Generated Node #0,3,0: 43:[49, 47] Operation: 7+40=47
Exploring Operation: 49-7=42, Resulting Numbers: [40, 42]
Generated Node #0,3,1: 43:[40, 42] Operation: 49-7=42
Exploring Operation: 49/7=7, Resulting Numbers: [40, 7]
Generated Node #0,3,2: 43:[40, 7] Operation: 49/7=7
Exploring Operation: 40-7=33, Resulting Numbers: [49, 33]
Generated Node #0,3,3: 43:[49, 33] Operation: 40-7=33
Exploring Operation: 49+7=56, Resulting Numbers: [40, 56]
Generated Node #0,3,4: 43:[40, 56] Operation: 49+7=56
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[40, 42], Operations: ['5*8=40', '49-7=42']
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 40*42=1680, Resulting Numbers: [1680]
1680,43 unequal: No Solution
No 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: 43:[49, 47], Operations: ['5*8=40', '7+40=47']
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,43 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,43 unequal: No Solution
No 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: 43:[49, 33], Operations: ['5*8=40', '40-7=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,43 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,43 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[40, 56], Operations: ['5*8=40', '49+7=56']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 40*56=2240, Resulting Numbers: [2240]
2240,43 unequal: No Solution
Exploring Operation: 40+56=96, Resulting Numbers: [96]
96,43 unequal: No Solution
No 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: 43:[40, 7], Operations: ['5*8=40', '49/7=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,43 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: 43:[49, 8, 35], Operations: ['5*7=35']
Exploring Operation: 35-8=27, Resulting Numbers: [49, 27]
Generated Node #0,2,0: 43:[49, 27] Operation: 35-8=27
Exploring Operation: 49-35=14, Resulting Numbers: [8, 14]
Generated Node #0,2,1: 43:[8, 14] Operation: 49-35=14
Exploring Operation: 49+8=57, Resulting Numbers: [35, 57]
Generated Node #0,2,2: 43:[35, 57] Operation: 49+8=57
Exploring Operation: 49-8=41, Resulting Numbers: [35, 41]
Generated Node #0,2,3: 43:[35, 41] Operation: 49-8=41
Exploring Operation: 8+35=43, Resulting Numbers: [49, 43]
Generated Node #0,2,4: 43:[49, 43] Operation: 8+35=43
Moving to Node #0,2,4
Current State: 43:[49, 43], Operations: ['5*7=35', '8+35=43']
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,43 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[35, 41], Operations: ['5*7=35', '49-8=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[49, 27], Operations: ['5*7=35', '35-8=27']
Exploring Operation: 49+27=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 49*27=1323, Resulting Numbers: [1323]
1323,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[35, 57], Operations: ['5*7=35', '49+8=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,43 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[8, 14], Operations: ['5*7=35', '49-35=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,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
Current State: 43:[5, 49, 56], Operations: ['8*7=56']
Exploring Operation: 5+49=54, Resulting Numbers: [56, 54]
Generated Node #0,4,0: 43:[56, 54] Operation: 5+49=54
Exploring Operation: 49-5=44, Resulting Numbers: [56, 44]
Generated Node #0,4,1: 43:[56, 44] Operation: 49-5=44
Exploring Operation: 56-5=51, Resulting Numbers: [49, 51]
Generated Node #0,4,2: 43:[49, 51] Operation: 56-5=51
Exploring Operation: 5+56=61, Resulting Numbers: [49, 61]
Generated Node #0,4,3: 43:[49, 61] Operation: 5+56=61
Exploring Operation: 56-49=7, Resulting Numbers: [5, 7]
Generated Node #0,4,4: 43:[5, 7] Operation: 56-49=7
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 43:[56, 44], Operations: ['8*7=56', '49-5=44']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 43:[49, 51], Operations: ['8*7=56', '56-5=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 43:[56, 54], Operations: ['8*7=56', '5+49=54']
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,43 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 43:[49, 61], Operations: ['8*7=56', '5+56=61']
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 49*61=2989, Resulting Numbers: [2989]
2989,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 43:[5, 7], Operations: ['8*7=56', '56-49=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,43 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: 43:[8, 7, 44], Operations: ['49-5=44']
Exploring Operation: 44-7=37, Resulting Numbers: [8, 37]
Generated Node #0,0,0: 43:[8, 37] Operation: 44-7=37
Exploring Operation: 8+7=15, Resulting Numbers: [44, 15]
Generated Node #0,0,1: 43:[44, 15] Operation: 8+7=15
Exploring Operation: 44-8=36, Resulting Numbers: [7, 36]
Generated Node #0,0,2: 43:[7, 36] Operation: 44-8=36
Exploring Operation: 8*7=56, Resulting Numbers: [44, 56]
Generated Node #0,0,3: 43:[44, 56] Operation: 8*7=56
Exploring Operation: 8-7=1, Resulting Numbers: [44, 1]
Generated Node #0,0,4: 43:[44, 1] Operation: 8-7=1
Moving to Node #0,0,3
Current State: 43:[44, 56], Operations: ['49-5=44', '8*7=56']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 44*56=2464, Resulting Numbers: [2464]
2464,43 unequal: No Solution
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[44, 15], Operations: ['49-5=44', '8+7=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,43 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[8, 37], Operations: ['49-5=44', '44-7=37']
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,43 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[7, 36], Operations: ['49-5=44', '44-8=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,43 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[5, 49, 8, 7], Operations: []
Exploring Operation: 49-5=44, Resulting Numbers: [8, 7, 44]
Generated Node #0,0: 43:[8, 7, 44] Operation: 49-5=44
Moving to Node #0,0
Current State: 43:[8, 7, 44], Operations: ['49-5=44']
Exploring Operation: 44-8=36, Resulting Numbers: [7, 36]
Generated Node #0,0,2: 43:[7, 36] Operation: 44-8=36
Moving to Node #0,0,2
Current State: 43:[7, 36], Operations: ['49-5=44', '44-8=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.926215 | hs_5 | mult_heuristic |
[
74,
5,
64,
97
] | 95 | [
"74-64=10",
"10/5=2",
"97-2=95"
] | Current State: 95:[74, 5, 64, 97], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [5, 97, 10]
Generated Node #2: [5, 97, 10] from Operation: 74-64=10
Current State: 95:[5, 97, 10], Operations: ['74-64=10']
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 10/5=2
Current State: 95:[97, 2], Operations: ['74-64=10', '10/5=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[74, 5, 64, 97], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [5, 97, 10]
Generated Node #0,0: 95:[5, 97, 10] Operation: 74-64=10
Exploring Operation: 97-74=23, Resulting Numbers: [5, 64, 23]
Generated Node #0,1: 95:[5, 64, 23] Operation: 97-74=23
Moving to Node #0,0
Current State: 95:[5, 97, 10], Operations: ['74-64=10']
Exploring Operation: 10-5=5, Resulting Numbers: [97, 5]
Generated Node #0,0,0: 95:[97, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #0,0,1: 95:[97, 2] Operation: 10/5=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[97, 5], Operations: ['74-64=10', '10-5=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,95 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[97, 2], Operations: ['74-64=10', '10/5=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[74, 5, 64, 97], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [5, 97, 10]
Generated Node #0,0: 95:[5, 97, 10] Operation: 74-64=10
Moving to Node #0,0
Current State: 95:[5, 97, 10], Operations: ['74-64=10']
Exploring Operation: 10/5=2, Resulting Numbers: [97, 2]
Generated Node #0,0,1: 95:[97, 2] Operation: 10/5=2
Moving to Node #0,0,1
Current State: 95:[97, 2], Operations: ['74-64=10', '10/5=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
91,
84,
21,
68
] | 74 | [
"84/21=4",
"68/4=17",
"91-17=74"
] | Current State: 74:[91, 84, 21, 68], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [91, 68, 4]
Generated Node #2: [91, 68, 4] from Operation: 84/21=4
Current State: 74:[91, 68, 4], Operations: ['84/21=4']
Exploring Operation: 68/4=17, Resulting Numbers: [91, 17]
Generated Node #3: [91, 17] from Operation: 68/4=17
Current State: 74:[91, 17], Operations: ['84/21=4', '68/4=17']
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[91, 84, 21, 68], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [21, 68, 7]
Generated Node #0,0: 74:[21, 68, 7] Operation: 91-84=7
Exploring Operation: 84-21=63, Resulting Numbers: [91, 68, 63]
Generated Node #0,1: 74:[91, 68, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [91, 68, 4]
Generated Node #0,2: 74:[91, 68, 4] Operation: 84/21=4
Exploring Operation: 91-21=70, Resulting Numbers: [84, 68, 70]
Generated Node #0,3: 74:[84, 68, 70] Operation: 91-21=70
Exploring Operation: 68-21=47, Resulting Numbers: [91, 84, 47]
Generated Node #0,4: 74:[91, 84, 47] Operation: 68-21=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[84, 68, 70], Operations: ['91-21=70']
Exploring Operation: 84+68=152, Resulting Numbers: [70, 152]
Generated Node #0,3,0: 74:[70, 152] Operation: 84+68=152
Exploring Operation: 68+70=138, Resulting Numbers: [84, 138]
Generated Node #0,3,1: 74:[84, 138] Operation: 68+70=138
Exploring Operation: 70-68=2, Resulting Numbers: [84, 2]
Generated Node #0,3,2: 74:[84, 2] Operation: 70-68=2
Exploring Operation: 84-70=14, Resulting Numbers: [68, 14]
Generated Node #0,3,3: 74:[68, 14] Operation: 84-70=14
Exploring Operation: 84-68=16, Resulting Numbers: [70, 16]
Generated Node #0,3,4: 74:[70, 16] Operation: 84-68=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[84, 2], Operations: ['91-21=70', '70-68=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,74 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 74:[68, 14], Operations: ['91-21=70', '84-70=14']
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,74 unequal: No Solution
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[70, 16], Operations: ['91-21=70', '84-68=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,74 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[84, 138], Operations: ['91-21=70', '68+70=138']
Exploring Operation: 84*138=11592, Resulting Numbers: [11592]
11592,74 unequal: No Solution
Exploring Operation: 84+138=222, Resulting Numbers: [222]
222,74 unequal: No Solution
Exploring Operation: 138-84=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[70, 152], Operations: ['91-21=70', '84+68=152']
Exploring Operation: 70+152=222, Resulting Numbers: [222]
222,74 unequal: No Solution
Exploring Operation: 152-70=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 70*152=10640, Resulting Numbers: [10640]
10640,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[91, 68, 4], Operations: ['84/21=4']
Exploring Operation: 91-4=87, Resulting Numbers: [68, 87]
Generated Node #0,2,0: 74:[68, 87] Operation: 91-4=87
Exploring Operation: 91-68=23, Resulting Numbers: [4, 23]
Generated Node #0,2,1: 74:[4, 23] Operation: 91-68=23
Exploring Operation: 91+4=95, Resulting Numbers: [68, 95]
Generated Node #0,2,2: 74:[68, 95] Operation: 91+4=95
Exploring Operation: 68-4=64, Resulting Numbers: [91, 64]
Generated Node #0,2,3: 74:[91, 64] Operation: 68-4=64
Exploring Operation: 68+4=72, Resulting Numbers: [91, 72]
Generated Node #0,2,4: 74:[91, 72] Operation: 68+4=72
Moving to Node #0,2,1
Current State: 74:[4, 23], Operations: ['84/21=4', '91-68=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,74 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[91, 72], Operations: ['84/21=4', '68+4=72']
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,74 unequal: No Solution
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,74 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[68, 87], Operations: ['84/21=4', '91-4=87']
Exploring Operation: 87-68=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 68+87=155, Resulting Numbers: [155]
155,74 unequal: No Solution
Exploring Operation: 68*87=5916, Resulting Numbers: [5916]
5916,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[68, 95], Operations: ['84/21=4', '91+4=95']
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,74 unequal: No Solution
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[91, 64], Operations: ['84/21=4', '68-4=64']
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,74 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[21, 68, 7], Operations: ['91-84=7']
Exploring Operation: 68+7=75, Resulting Numbers: [21, 75]
Generated Node #0,0,0: 74:[21, 75] Operation: 68+7=75
Exploring Operation: 21+7=28, Resulting Numbers: [68, 28]
Generated Node #0,0,1: 74:[68, 28] Operation: 21+7=28
Exploring Operation: 21-7=14, Resulting Numbers: [68, 14]
Generated Node #0,0,2: 74:[68, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [68, 3]
Generated Node #0,0,3: 74:[68, 3] Operation: 21/7=3
Exploring Operation: 68-21=47, Resulting Numbers: [7, 47]
Generated Node #0,0,4: 74:[7, 47] Operation: 68-21=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[68, 3], Operations: ['91-84=7', '21/7=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,74 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[68, 28], Operations: ['91-84=7', '21+7=28']
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 74:[7, 47], Operations: ['91-84=7', '68-21=47']
Exploring Operation: 7+47=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 7*47=329, Resulting Numbers: [329]
329,74 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[21, 75], Operations: ['91-84=7', '68+7=75']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 21*75=1575, Resulting Numbers: [1575]
1575,74 unequal: No Solution
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[68, 14], Operations: ['91-84=7', '21-7=14']
Exploring Operation: 68+14=82, Resulting Numbers: [82]
82,74 unequal: No Solution
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 68*14=952, Resulting Numbers: [952]
952,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[91, 68, 63], Operations: ['84-21=63']
Exploring Operation: 68-63=5, Resulting Numbers: [91, 5]
Generated Node #0,1,0: 74:[91, 5] Operation: 68-63=5
Exploring Operation: 91-68=23, Resulting Numbers: [63, 23]
Generated Node #0,1,1: 74:[63, 23] Operation: 91-68=23
Exploring Operation: 91-63=28, Resulting Numbers: [68, 28]
Generated Node #0,1,2: 74:[68, 28] Operation: 91-63=28
Exploring Operation: 68+63=131, Resulting Numbers: [91, 131]
Generated Node #0,1,3: 74:[91, 131] Operation: 68+63=131
Exploring Operation: 91+63=154, Resulting Numbers: [68, 154]
Generated Node #0,1,4: 74:[68, 154] Operation: 91+63=154
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[68, 28], Operations: ['84-21=63', '91-63=28']
Exploring Operation: 68*28=1904, Resulting Numbers: [1904]
1904,74 unequal: No Solution
Exploring Operation: 68+28=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[91, 5], Operations: ['84-21=63', '68-63=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,74 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,74 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[63, 23], Operations: ['84-21=63', '91-68=23']
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,74 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[91, 131], Operations: ['84-21=63', '68+63=131']
Exploring Operation: 91+131=222, Resulting Numbers: [222]
222,74 unequal: No Solution
Exploring Operation: 91*131=11921, Resulting Numbers: [11921]
11921,74 unequal: No Solution
Exploring Operation: 131-91=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[68, 154], Operations: ['84-21=63', '91+63=154']
Exploring Operation: 68+154=222, Resulting Numbers: [222]
222,74 unequal: No Solution
Exploring Operation: 68*154=10472, Resulting Numbers: [10472]
10472,74 unequal: No Solution
Exploring Operation: 154-68=86, Resulting Numbers: [86]
86,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[91, 84, 47], Operations: ['68-21=47']
Exploring Operation: 91-47=44, Resulting Numbers: [84, 44]
Generated Node #0,4,0: 74:[84, 44] Operation: 91-47=44
Exploring Operation: 84+47=131, Resulting Numbers: [91, 131]
Generated Node #0,4,1: 74:[91, 131] Operation: 84+47=131
Exploring Operation: 91+47=138, Resulting Numbers: [84, 138]
Generated Node #0,4,2: 74:[84, 138] Operation: 91+47=138
Exploring Operation: 84-47=37, Resulting Numbers: [91, 37]
Generated Node #0,4,3: 74:[91, 37] Operation: 84-47=37
Exploring Operation: 91-84=7, Resulting Numbers: [47, 7]
Generated Node #0,4,4: 74:[47, 7] Operation: 91-84=7
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 74:[47, 7], Operations: ['68-21=47', '91-84=7']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,74 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 74:[84, 44], Operations: ['68-21=47', '91-47=44']
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,74 unequal: No Solution
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,74 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 74:[91, 37], Operations: ['68-21=47', '84-47=37']
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,74 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 74:[91, 131], Operations: ['68-21=47', '84+47=131']
Exploring Operation: 131-91=40, Resulting Numbers: [40]
40,74 unequal: No Solution
Exploring Operation: 91*131=11921, Resulting Numbers: [11921]
11921,74 unequal: No Solution
Exploring Operation: 91+131=222, Resulting Numbers: [222]
222,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 74:[84, 138], Operations: ['68-21=47', '91+47=138']
Exploring Operation: 84+138=222, Resulting Numbers: [222]
222,74 unequal: No Solution
Exploring Operation: 138-84=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 84*138=11592, Resulting Numbers: [11592]
11592,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
84,
94,
63,
39
] | 92 | [
"94-84=10",
"63+39=102",
"102-10=92"
] | Current State: 92:[84, 94, 63, 39], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [63, 39, 10]
Generated Node #2: [63, 39, 10] from Operation: 94-84=10
Current State: 92:[63, 39, 10], Operations: ['94-84=10']
Exploring Operation: 63+39=102, Resulting Numbers: [10, 102]
Generated Node #3: [10, 102] from Operation: 63+39=102
Current State: 92:[10, 102], Operations: ['94-84=10', '63+39=102']
Exploring Operation: 102-10=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[84, 94, 63, 39], Operations: []
Exploring Operation: 63+39=102, Resulting Numbers: [84, 94, 102]
Generated Node #0,0: 92:[84, 94, 102] Operation: 63+39=102
Exploring Operation: 63-39=24, Resulting Numbers: [84, 94, 24]
Generated Node #0,1: 92:[84, 94, 24] Operation: 63-39=24
Exploring Operation: 84-39=45, Resulting Numbers: [94, 63, 45]
Generated Node #0,2: 92:[94, 63, 45] Operation: 84-39=45
Exploring Operation: 84-63=21, Resulting Numbers: [94, 39, 21]
Generated Node #0,3: 92:[94, 39, 21] Operation: 84-63=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[84, 94, 24], Operations: ['63-39=24']
Exploring Operation: 94-24=70, Resulting Numbers: [84, 70]
Generated Node #0,1,0: 92:[84, 70] Operation: 94-24=70
Exploring Operation: 84+24=108, Resulting Numbers: [94, 108]
Generated Node #0,1,1: 92:[94, 108] Operation: 84+24=108
Exploring Operation: 84-24=60, Resulting Numbers: [94, 60]
Generated Node #0,1,2: 92:[94, 60] Operation: 84-24=60
Exploring Operation: 94-84=10, Resulting Numbers: [24, 10]
Generated Node #0,1,3: 92:[24, 10] Operation: 94-84=10
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[24, 10], Operations: ['63-39=24', '94-84=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[94, 60], Operations: ['63-39=24', '84-24=60']
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,92 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[94, 108], Operations: ['63-39=24', '84+24=108']
Exploring Operation: 94+108=202, Resulting Numbers: [202]
202,92 unequal: No Solution
Exploring Operation: 94*108=10152, Resulting Numbers: [10152]
10152,92 unequal: No Solution
Exploring Operation: 108-94=14, Resulting Numbers: [14]
14,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[84, 70], Operations: ['63-39=24', '94-24=70']
Exploring Operation: 84+70=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 84*70=5880, Resulting Numbers: [5880]
5880,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,3
Current State: 92:[94, 39, 21], Operations: ['84-63=21']
Exploring Operation: 94-21=73, Resulting Numbers: [39, 73]
Generated Node #0,3,0: 92:[39, 73] Operation: 94-21=73
Exploring Operation: 39+21=60, Resulting Numbers: [94, 60]
Generated Node #0,3,1: 92:[94, 60] Operation: 39+21=60
Exploring Operation: 39-21=18, Resulting Numbers: [94, 18]
Generated Node #0,3,2: 92:[94, 18] Operation: 39-21=18
Exploring Operation: 94-39=55, Resulting Numbers: [21, 55]
Generated Node #0,3,3: 92:[21, 55] Operation: 94-39=55
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[94, 18], Operations: ['84-63=21', '39-21=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[21, 55], Operations: ['84-63=21', '94-39=55']
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,92 unequal: No Solution
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[94, 60], Operations: ['84-63=21', '39+21=60']
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,92 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[39, 73], Operations: ['84-63=21', '94-21=73']
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,92 unequal: No Solution
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,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,0
Current State: 92:[84, 94, 102], Operations: ['63+39=102']
Exploring Operation: 102-84=18, Resulting Numbers: [94, 18]
Generated Node #0,0,0: 92:[94, 18] Operation: 102-84=18
Exploring Operation: 94-84=10, Resulting Numbers: [102, 10]
Generated Node #0,0,1: 92:[102, 10] Operation: 94-84=10
Exploring Operation: 84+94=178, Resulting Numbers: [102, 178]
Generated Node #0,0,2: 92:[102, 178] Operation: 84+94=178
Exploring Operation: 102-94=8, Resulting Numbers: [84, 8]
Generated Node #0,0,3: 92:[84, 8] Operation: 102-94=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[94, 18], Operations: ['63+39=102', '102-84=18']
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,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,3
Current State: 92:[84, 8], Operations: ['63+39=102', '102-94=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,92 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[84, 94, 63, 39], Operations: []
Exploring Operation: 63+39=102, Resulting Numbers: [84, 94, 102]
Generated Node #0,0: 92:[84, 94, 102] Operation: 63+39=102
Moving to Node #0,0
Current State: 92:[84, 94, 102], Operations: ['63+39=102']
Exploring Operation: 102-94=8, Resulting Numbers: [84, 8]
Generated Node #0,0,3: 92:[84, 8] Operation: 102-94=8
Moving to Node #0,0,3
Current State: 92:[84, 8], Operations: ['63+39=102', '102-94=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
65,
40,
6,
53
] | 13 | [
"65-40=25",
"53+25=78",
"78/6=13"
] | Current State: 13:[65, 40, 6, 53], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [6, 53, 25]
Generated Node #2: [6, 53, 25] from Operation: 65-40=25
Current State: 13:[6, 53, 25], Operations: ['65-40=25']
Exploring Operation: 53+25=78, Resulting Numbers: [6, 78]
Generated Node #3: [6, 78] from Operation: 53+25=78
Current State: 13:[6, 78], Operations: ['65-40=25', '53+25=78']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[65, 40, 6, 53], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [6, 53, 25]
Generated Node #0,0: 13:[6, 53, 25] Operation: 65-40=25
Exploring Operation: 65-53=12, Resulting Numbers: [40, 6, 12]
Generated Node #0,1: 13:[40, 6, 12] Operation: 65-53=12
Moving to Node #0,1
Current State: 13:[40, 6, 12], Operations: ['65-53=12']
Exploring Operation: 40-6=34, Resulting Numbers: [12, 34]
Generated Node #0,1,0: 13:[12, 34] Operation: 40-6=34
Exploring Operation: 40-12=28, Resulting Numbers: [6, 28]
Generated Node #0,1,1: 13:[6, 28] Operation: 40-12=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[12, 34], Operations: ['65-53=12', '40-6=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[6, 28], Operations: ['65-53=12', '40-12=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,13 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: 13:[6, 53, 25], Operations: ['65-40=25']
Exploring Operation: 53-25=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 13:[6, 28] Operation: 53-25=28
Exploring Operation: 53-6=47, Resulting Numbers: [25, 47]
Generated Node #0,0,1: 13:[25, 47] Operation: 53-6=47
Moving to Node #0,0,0
Current State: 13:[6, 28], Operations: ['65-40=25', '53-25=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[25, 47], Operations: ['65-40=25', '53-6=47']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,13 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
61,
54,
24,
95
] | 13 | [
"54*24=1296",
"1296-61=1235",
"1235/95=13"
] | Current State: 13:[61, 54, 24, 95], Operations: []
Exploring Operation: 54*24=1296, Resulting Numbers: [61, 95, 1296]
Generated Node #2: [61, 95, 1296] from Operation: 54*24=1296
Current State: 13:[61, 95, 1296], Operations: ['54*24=1296']
Exploring Operation: 1296-61=1235, Resulting Numbers: [95, 1235]
Generated Node #3: [95, 1235] from Operation: 1296-61=1235
Current State: 13:[95, 1235], Operations: ['54*24=1296', '1296-61=1235']
Exploring Operation: 1235/95=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[61, 54, 24, 95], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [54, 24, 34]
Generated Node #0,0: 13:[54, 24, 34] Operation: 95-61=34
Exploring Operation: 61-24=37, Resulting Numbers: [54, 95, 37]
Generated Node #0,1: 13:[54, 95, 37] Operation: 61-24=37
Exploring Operation: 95-54=41, Resulting Numbers: [61, 24, 41]
Generated Node #0,2: 13:[61, 24, 41] Operation: 95-54=41
Exploring Operation: 61-54=7, Resulting Numbers: [24, 95, 7]
Generated Node #0,3: 13:[24, 95, 7] Operation: 61-54=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[54, 24, 34], Operations: ['95-61=34']
Exploring Operation: 54-24=30, Resulting Numbers: [34, 30]
Generated Node #0,0,0: 13:[34, 30] Operation: 54-24=30
Exploring Operation: 54-34=20, Resulting Numbers: [24, 20]
Generated Node #0,0,1: 13:[24, 20] Operation: 54-34=20
Exploring Operation: 54+24=78, Resulting Numbers: [34, 78]
Generated Node #0,0,2: 13:[34, 78] Operation: 54+24=78
Exploring Operation: 34-24=10, Resulting Numbers: [54, 10]
Generated Node #0,0,3: 13:[54, 10] Operation: 34-24=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[24, 20], Operations: ['95-61=34', '54-34=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[34, 30], Operations: ['95-61=34', '54-24=30']
Exploring Operation: 34*30=1020, Resulting Numbers: [1020]
1020,13 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[54, 10], Operations: ['95-61=34', '34-24=10']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[34, 78], Operations: ['95-61=34', '54+24=78']
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,13 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[61, 24, 41], Operations: ['95-54=41']
Exploring Operation: 41-24=17, Resulting Numbers: [61, 17]
Generated Node #0,2,0: 13:[61, 17] Operation: 41-24=17
Exploring Operation: 61-41=20, Resulting Numbers: [24, 20]
Generated Node #0,2,1: 13:[24, 20] Operation: 61-41=20
Exploring Operation: 61-24=37, Resulting Numbers: [41, 37]
Generated Node #0,2,2: 13:[41, 37] Operation: 61-24=37
Exploring Operation: 61+24=85, Resulting Numbers: [41, 85]
Generated Node #0,2,3: 13:[41, 85] Operation: 61+24=85
Moving to Node #0,2,1
Current State: 13:[24, 20], Operations: ['95-54=41', '61-41=20']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 24*20=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[41, 37], Operations: ['95-54=41', '61-24=37']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 41*37=1517, Resulting Numbers: [1517]
1517,13 unequal: No Solution
Exploring Operation: 41+37=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[61, 17], Operations: ['95-54=41', '41-24=17']
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,13 unequal: No Solution
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[41, 85], Operations: ['95-54=41', '61+24=85']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,13 unequal: No Solution
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,13 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[24, 95, 7], Operations: ['61-54=7']
Exploring Operation: 95-24=71, Resulting Numbers: [7, 71]
Generated Node #0,3,0: 13:[7, 71] Operation: 95-24=71
Exploring Operation: 24-7=17, Resulting Numbers: [95, 17]
Generated Node #0,3,1: 13:[95, 17] Operation: 24-7=17
Exploring Operation: 95-7=88, Resulting Numbers: [24, 88]
Generated Node #0,3,2: 13:[24, 88] Operation: 95-7=88
Exploring Operation: 24+7=31, Resulting Numbers: [95, 31]
Generated Node #0,3,3: 13:[95, 31] Operation: 24+7=31
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[7, 71], Operations: ['61-54=7', '95-24=71']
Exploring Operation: 7*71=497, Resulting Numbers: [497]
497,13 unequal: No Solution
Exploring Operation: 7+71=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[95, 17], Operations: ['61-54=7', '24-7=17']
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,13 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[24, 88], Operations: ['61-54=7', '95-7=88']
Exploring Operation: 24+88=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 24*88=2112, Resulting Numbers: [2112]
2112,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[95, 31], Operations: ['61-54=7', '24+7=31']
Exploring Operation: 95*31=2945, Resulting Numbers: [2945]
2945,13 unequal: No Solution
Exploring Operation: 95-31=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 95+31=126, Resulting Numbers: [126]
126,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[54, 95, 37], Operations: ['61-24=37']
Exploring Operation: 54-37=17, Resulting Numbers: [95, 17]
Generated Node #0,1,0: 13:[95, 17] Operation: 54-37=17
Exploring Operation: 95-54=41, Resulting Numbers: [37, 41]
Generated Node #0,1,1: 13:[37, 41] Operation: 95-54=41
Exploring Operation: 95-37=58, Resulting Numbers: [54, 58]
Generated Node #0,1,2: 13:[54, 58] Operation: 95-37=58
Exploring Operation: 54+95=149, Resulting Numbers: [37, 149]
Generated Node #0,1,3: 13:[37, 149] Operation: 54+95=149
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[37, 41], Operations: ['61-24=37', '95-54=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 37*41=1517, Resulting Numbers: [1517]
1517,13 unequal: No Solution
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[95, 17], Operations: ['61-24=37', '54-37=17']
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[54, 58], Operations: ['61-24=37', '95-37=58']
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 54*58=3132, Resulting Numbers: [3132]
3132,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[37, 149], Operations: ['61-24=37', '54+95=149']
Exploring Operation: 149-37=112, Resulting Numbers: [112]
112,13 unequal: No Solution
Exploring Operation: 37*149=5513, Resulting Numbers: [5513]
5513,13 unequal: No Solution
Exploring Operation: 37+149=186, Resulting Numbers: [186]
186,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
99,
59,
2,
88
] | 96 | [
"99-59=40",
"88-40=48",
"2*48=96"
] | Current State: 96:[99, 59, 2, 88], Operations: []
Exploring Operation: 99-59=40, Resulting Numbers: [2, 88, 40]
Generated Node #2: [2, 88, 40] from Operation: 99-59=40
Current State: 96:[2, 88, 40], Operations: ['99-59=40']
Exploring Operation: 88-40=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 88-40=48
Current State: 96:[2, 48], Operations: ['99-59=40', '88-40=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[99, 59, 2, 88], Operations: []
Exploring Operation: 88-59=29, Resulting Numbers: [99, 2, 29]
Generated Node #0,0: 96:[99, 2, 29] Operation: 88-59=29
Moving to Node #0,0
Current State: 96:[99, 2, 29], Operations: ['88-59=29']
Exploring Operation: 99-2=97, Resulting Numbers: [29, 97]
Generated Node #0,0,0: 96:[29, 97] Operation: 99-2=97
Moving to Node #0,0,0
Current State: 96:[29, 97], Operations: ['88-59=29', '99-2=97']
Exploring Operation: 97-29=68, Resulting Numbers: [68]
68,96 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
60,
28,
17,
64
] | 40 | [
"64-60=4",
"17*4=68",
"68-28=40"
] | Current State: 40:[60, 28, 17, 64], Operations: []
Exploring Operation: 64-60=4, Resulting Numbers: [28, 17, 4]
Generated Node #2: [28, 17, 4] from Operation: 64-60=4
Current State: 40:[28, 17, 4], Operations: ['64-60=4']
Exploring Operation: 17*4=68, Resulting Numbers: [28, 68]
Generated Node #3: [28, 68] from Operation: 17*4=68
Current State: 40:[28, 68], Operations: ['64-60=4', '17*4=68']
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[60, 28, 17, 64], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [60, 17, 36]
Generated Node #0,0: 40:[60, 17, 36] Operation: 64-28=36
Exploring Operation: 60-28=32, Resulting Numbers: [17, 64, 32]
Generated Node #0,1: 40:[17, 64, 32] Operation: 60-28=32
Exploring Operation: 64-60=4, Resulting Numbers: [28, 17, 4]
Generated Node #0,2: 40:[28, 17, 4] Operation: 64-60=4
Moving to Node #0,2
Current State: 40:[28, 17, 4], Operations: ['64-60=4']
Exploring Operation: 28+17=45, Resulting Numbers: [4, 45]
Generated Node #0,2,0: 40:[4, 45] Operation: 28+17=45
Exploring Operation: 28/4=7, Resulting Numbers: [17, 7]
Generated Node #0,2,1: 40:[17, 7] Operation: 28/4=7
Exploring Operation: 28-17=11, Resulting Numbers: [4, 11]
Generated Node #0,2,2: 40:[4, 11] Operation: 28-17=11
Moving to Node #0,0
Current State: 40:[60, 17, 36], Operations: ['64-28=36']
Exploring Operation: 60-17=43, Resulting Numbers: [36, 43]
Generated Node #0,0,0: 40:[36, 43] Operation: 60-17=43
Exploring Operation: 36-17=19, Resulting Numbers: [60, 19]
Generated Node #0,0,1: 40:[60, 19] Operation: 36-17=19
Exploring Operation: 60-36=24, Resulting Numbers: [17, 24]
Generated Node #0,0,2: 40:[17, 24] Operation: 60-36=24
Moving to Node #0,1
Current State: 40:[17, 64, 32], Operations: ['60-28=32']
Exploring Operation: 64/32=2, Resulting Numbers: [17, 2]
Generated Node #0,1,0: 40:[17, 2] Operation: 64/32=2
Exploring Operation: 64-17=47, Resulting Numbers: [32, 47]
Generated Node #0,1,1: 40:[32, 47] Operation: 64-17=47
Exploring Operation: 64-32=32, Resulting Numbers: [17, 32]
Generated Node #0,1,2: 40:[17, 32] Operation: 64-32=32
Moving to Node #0,2,2
Current State: 40:[4, 11], Operations: ['64-60=4', '28-17=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[17, 2], Operations: ['60-28=32', '64/32=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[17, 7], Operations: ['64-60=4', '28/4=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 17*7=119, Resulting Numbers: [119]
119,40 unequal: No Solution
Exploring Operation: 17+7=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[4, 45], Operations: ['64-60=4', '28+17=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[17, 24], Operations: ['64-28=36', '60-36=24']
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,40 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[36, 43], Operations: ['64-28=36', '60-17=43']
Exploring Operation: 36*43=1548, Resulting Numbers: [1548]
1548,40 unequal: No Solution
Exploring Operation: 36+43=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[17, 32], Operations: ['60-28=32', '64-32=32']
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,40 unequal: No Solution
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,40 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[32, 47], Operations: ['60-28=32', '64-17=47']
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,40 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[60, 19], Operations: ['64-28=36', '36-17=19']
Exploring Operation: 60-19=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,40 unequal: No Solution
Exploring Operation: 60*19=1140, Resulting Numbers: [1140]
1140,40 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
11,
4,
85,
43
] | 93 | [
"43-11=32",
"32/4=8",
"85+8=93"
] | Current State: 93:[11, 4, 85, 43], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [4, 85, 32]
Generated Node #2: [4, 85, 32] from Operation: 43-11=32
Current State: 93:[4, 85, 32], Operations: ['43-11=32']
Exploring Operation: 32/4=8, Resulting Numbers: [85, 8]
Generated Node #3: [85, 8] from Operation: 32/4=8
Current State: 93:[85, 8], Operations: ['43-11=32', '32/4=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[11, 4, 85, 43], Operations: []
Exploring Operation: 43-11=32, Resulting Numbers: [4, 85, 32]
Generated Node #0,0: 93:[4, 85, 32] Operation: 43-11=32
Exploring Operation: 11+85=96, Resulting Numbers: [4, 43, 96]
Generated Node #0,1: 93:[4, 43, 96] Operation: 11+85=96
Moving to Node #0,0
Current State: 93:[4, 85, 32], Operations: ['43-11=32']
Exploring Operation: 32-4=28, Resulting Numbers: [85, 28]
Generated Node #0,0,0: 93:[85, 28] Operation: 32-4=28
Exploring Operation: 4+85=89, Resulting Numbers: [32, 89]
Generated Node #0,0,1: 93:[32, 89] Operation: 4+85=89
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[32, 89], Operations: ['43-11=32', '4+85=89']
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,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,0,0
Current State: 93:[85, 28], Operations: ['43-11=32', '32-4=28']
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,93 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: 93:[4, 43, 96], Operations: ['11+85=96']
Exploring Operation: 96-4=92, Resulting Numbers: [43, 92]
Generated Node #0,1,0: 93:[43, 92] Operation: 96-4=92
Exploring Operation: 43-4=39, Resulting Numbers: [96, 39]
Generated Node #0,1,1: 93:[96, 39] Operation: 43-4=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[96, 39], Operations: ['11+85=96', '43-4=39']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,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,1,0
Current State: 93:[43, 92], Operations: ['11+85=96', '96-4=92']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 43+92=135, Resulting Numbers: [135]
135,93 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 |
[
26,
2,
4,
58
] | 20 | [
"58-26=32",
"32/2=16",
"4+16=20"
] | Current State: 20:[26, 2, 4, 58], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [2, 4, 32]
Generated Node #2: [2, 4, 32] from Operation: 58-26=32
Current State: 20:[2, 4, 32], Operations: ['58-26=32']
Exploring Operation: 32/2=16, Resulting Numbers: [4, 16]
Generated Node #3: [4, 16] from Operation: 32/2=16
Current State: 20:[4, 16], Operations: ['58-26=32', '32/2=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[26, 2, 4, 58], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [2, 4, 32]
Generated Node #0,0: 20:[2, 4, 32] Operation: 58-26=32
Exploring Operation: 58/2=29, Resulting Numbers: [26, 4, 29]
Generated Node #0,1: 20:[26, 4, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 4, 32], Operations: ['58-26=32']
Exploring Operation: 32/2=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 20:[4, 16] Operation: 32/2=16
Exploring Operation: 32/4=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 20:[2, 8] Operation: 32/4=8
Moving to Node #0,0,1
Current State: 20:[2, 8], Operations: ['58-26=32', '32/4=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[4, 16], Operations: ['58-26=32', '32/2=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[26, 2, 4, 58], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [2, 4, 32]
Generated Node #0,0: 20:[2, 4, 32] Operation: 58-26=32
Moving to Node #0,0
Current State: 20:[2, 4, 32], Operations: ['58-26=32']
Exploring Operation: 32/2=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 20:[4, 16] Operation: 32/2=16
Moving to Node #0,0,0
Current State: 20:[4, 16], Operations: ['58-26=32', '32/2=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
24,
70,
66,
42
] | 72 | [
"42-24=18",
"70-66=4",
"18*4=72"
] | Current State: 72:[24, 70, 66, 42], Operations: []
Exploring Operation: 42-24=18, Resulting Numbers: [70, 66, 18]
Generated Node #2: [70, 66, 18] from Operation: 42-24=18
Current State: 72:[70, 66, 18], Operations: ['42-24=18']
Exploring Operation: 70-66=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 70-66=4
Current State: 72:[18, 4], Operations: ['42-24=18', '70-66=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[24, 70, 66, 42], Operations: []
Exploring Operation: 70-42=28, Resulting Numbers: [24, 66, 28]
Generated Node #0,0: 72:[24, 66, 28] Operation: 70-42=28
Exploring Operation: 66-42=24, Resulting Numbers: [24, 70, 24]
Generated Node #0,1: 72:[24, 70, 24] Operation: 66-42=24
Exploring Operation: 70-66=4, Resulting Numbers: [24, 42, 4]
Generated Node #0,2: 72:[24, 42, 4] Operation: 70-66=4
Exploring Operation: 42-24=18, Resulting Numbers: [70, 66, 18]
Generated Node #0,3: 72:[70, 66, 18] Operation: 42-24=18
Moving to Node #0,1
Current State: 72:[24, 70, 24], Operations: ['66-42=24']
Exploring Operation: 70-24=46, Resulting Numbers: [24, 46]
Generated Node #0,1,0: 72:[24, 46] Operation: 70-24=46
Exploring Operation: 24/24=1, Resulting Numbers: [70, 1]
Generated Node #0,1,1: 72:[70, 1] Operation: 24/24=1
Exploring Operation: 24-24=0, Resulting Numbers: [70, 0]
Generated Node #0,1,2: 72:[70, 0] Operation: 24-24=0
Exploring Operation: 70-24=46, Resulting Numbers: [24, 46]
Generated Node #0,1,3: 72:[24, 46] Operation: 70-24=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[70, 1], Operations: ['66-42=24', '24/24=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,72 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 72:[70, 0], Operations: ['66-42=24', '24-24=0']
Exploring Operation: 70*0=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 70-0=70, Resulting Numbers: [70]
70,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[24, 46], Operations: ['66-42=24', '70-24=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,72 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[24, 46], Operations: ['66-42=24', '70-24=46']
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 24+46=70, Resulting Numbers: [70]
70,72 unequal: No Solution
Exploring Operation: 24*46=1104, Resulting Numbers: [1104]
1104,72 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: 72:[24, 42, 4], Operations: ['70-66=4']
Exploring Operation: 42-4=38, Resulting Numbers: [24, 38]
Generated Node #0,2,0: 72:[24, 38] Operation: 42-4=38
Exploring Operation: 24+42=66, Resulting Numbers: [4, 66]
Generated Node #0,2,1: 72:[4, 66] Operation: 24+42=66
Exploring Operation: 42-24=18, Resulting Numbers: [4, 18]
Generated Node #0,2,2: 72:[4, 18] Operation: 42-24=18
Exploring Operation: 24/4=6, Resulting Numbers: [42, 6]
Generated Node #0,2,3: 72:[42, 6] Operation: 24/4=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[4, 18], Operations: ['70-66=4', '42-24=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[24, 70, 66, 42], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [24, 42, 4]
Generated Node #0,2: 72:[24, 42, 4] Operation: 70-66=4
Moving to Node #0,2
Current State: 72:[24, 42, 4], Operations: ['70-66=4']
Exploring Operation: 42-24=18, Resulting Numbers: [4, 18]
Generated Node #0,2,2: 72:[4, 18] Operation: 42-24=18
Moving to Node #0,2,2
Current State: 72:[4, 18], Operations: ['70-66=4', '42-24=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
24,
71,
85,
39
] | 49 | [
"24+71=95",
"85-39=46",
"95-46=49"
] | Current State: 49:[24, 71, 85, 39], Operations: []
Exploring Operation: 24+71=95, Resulting Numbers: [85, 39, 95]
Generated Node #2: [85, 39, 95] from Operation: 24+71=95
Current State: 49:[85, 39, 95], Operations: ['24+71=95']
Exploring Operation: 85-39=46, Resulting Numbers: [95, 46]
Generated Node #3: [95, 46] from Operation: 85-39=46
Current State: 49:[95, 46], Operations: ['24+71=95', '85-39=46']
Exploring Operation: 95-46=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[24, 71, 85, 39], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [24, 39, 14]
Generated Node #0,0: 49:[24, 39, 14] Operation: 85-71=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[24, 39, 14], Operations: ['85-71=14']
Exploring Operation: 24-14=10, Resulting Numbers: [39, 10]
Generated Node #0,0,0: 49:[39, 10] Operation: 24-14=10
Moving to Node #0,0,0
Current State: 49:[39, 10], Operations: ['85-71=14', '24-14=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[24, 71, 85, 39], Operations: []
Exploring Operation: 85-71=14, Resulting Numbers: [24, 39, 14]
Generated Node #0,0: 49:[24, 39, 14] Operation: 85-71=14
Moving to Node #0,0
Current State: 49:[24, 39, 14], Operations: ['85-71=14']
Exploring Operation: 24-14=10, Resulting Numbers: [39, 10]
Generated Node #0,0,0: 49:[39, 10] Operation: 24-14=10
Moving to Node #0,0,0
Current State: 49:[39, 10], Operations: ['85-71=14', '24-14=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
2,
29,
71,
49
] | 64 | [
"2*71=142",
"29+49=78",
"142-78=64"
] | Current State: 64:[2, 29, 71, 49], Operations: []
Exploring Operation: 2*71=142, Resulting Numbers: [29, 49, 142]
Generated Node #2: [29, 49, 142] from Operation: 2*71=142
Current State: 64:[29, 49, 142], Operations: ['2*71=142']
Exploring Operation: 29+49=78, Resulting Numbers: [142, 78]
Generated Node #3: [142, 78] from Operation: 29+49=78
Current State: 64:[142, 78], Operations: ['2*71=142', '29+49=78']
Exploring Operation: 142-78=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[2, 29, 71, 49], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [2, 29, 22]
Generated Node #0,0: 64:[2, 29, 22] Operation: 71-49=22
Moving to Node #0,0
Current State: 64:[2, 29, 22], Operations: ['71-49=22']
Exploring Operation: 29-22=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 64:[2, 7] Operation: 29-22=7
Moving to Node #0,0,0
Current State: 64:[2, 7], Operations: ['71-49=22', '29-22=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
21,
68,
48,
50
] | 56 | [
"21*48=1008",
"68-50=18",
"1008/18=56"
] | Current State: 56:[21, 68, 48, 50], Operations: []
Exploring Operation: 21*48=1008, Resulting Numbers: [68, 50, 1008]
Generated Node #2: [68, 50, 1008] from Operation: 21*48=1008
Current State: 56:[68, 50, 1008], Operations: ['21*48=1008']
Exploring Operation: 68-50=18, Resulting Numbers: [1008, 18]
Generated Node #3: [1008, 18] from Operation: 68-50=18
Current State: 56:[1008, 18], Operations: ['21*48=1008', '68-50=18']
Exploring Operation: 1008/18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[21, 68, 48, 50], Operations: []
Exploring Operation: 48-21=27, Resulting Numbers: [68, 50, 27]
Generated Node #0,0: 56:[68, 50, 27] Operation: 48-21=27
Exploring Operation: 68-48=20, Resulting Numbers: [21, 50, 20]
Generated Node #0,1: 56:[21, 50, 20] Operation: 68-48=20
Moving to Node #0,0
Current State: 56:[68, 50, 27], Operations: ['48-21=27']
Exploring Operation: 50-27=23, Resulting Numbers: [68, 23]
Generated Node #0,0,0: 56:[68, 23] Operation: 50-27=23
Exploring Operation: 68-50=18, Resulting Numbers: [27, 18]
Generated Node #0,0,1: 56:[27, 18] Operation: 68-50=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[27, 18], Operations: ['48-21=27', '68-50=18']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[68, 23], Operations: ['48-21=27', '50-27=23']
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,56 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,56 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: 56:[21, 50, 20], Operations: ['68-48=20']
Exploring Operation: 50-21=29, Resulting Numbers: [20, 29]
Generated Node #0,1,0: 56:[20, 29] Operation: 50-21=29
Exploring Operation: 21-20=1, Resulting Numbers: [50, 1]
Generated Node #0,1,1: 56:[50, 1] Operation: 21-20=1
Moving to Node #0,1,0
Current State: 56:[20, 29], Operations: ['68-48=20', '50-21=29']
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[50, 1], Operations: ['68-48=20', '21-20=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,56 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
18,
49,
60
] | 42 | [
"71-18=53",
"60-49=11",
"53-11=42"
] | Current State: 42:[71, 18, 49, 60], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [49, 60, 53]
Generated Node #2: [49, 60, 53] from Operation: 71-18=53
Current State: 42:[49, 60, 53], Operations: ['71-18=53']
Exploring Operation: 60-49=11, Resulting Numbers: [53, 11]
Generated Node #3: [53, 11] from Operation: 60-49=11
Current State: 42:[53, 11], Operations: ['71-18=53', '60-49=11']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[71, 18, 49, 60], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [18, 49, 11]
Generated Node #0,0: 42:[18, 49, 11] Operation: 71-60=11
Exploring Operation: 71-49=22, Resulting Numbers: [18, 60, 22]
Generated Node #0,1: 42:[18, 60, 22] Operation: 71-49=22
Exploring Operation: 71-18=53, Resulting Numbers: [49, 60, 53]
Generated Node #0,2: 42:[49, 60, 53] Operation: 71-18=53
Exploring Operation: 60-18=42, Resulting Numbers: [71, 49, 42]
Generated Node #0,3: 42:[71, 49, 42] Operation: 60-18=42
Exploring Operation: 60-49=11, Resulting Numbers: [71, 18, 11]
Generated Node #0,4: 42:[71, 18, 11] Operation: 60-49=11
Moving to Node #0,0
Current State: 42:[18, 49, 11], Operations: ['71-60=11']
Exploring Operation: 18+11=29, Resulting Numbers: [49, 29]
Generated Node #0,0,0: 42:[49, 29] Operation: 18+11=29
Exploring Operation: 49-11=38, Resulting Numbers: [18, 38]
Generated Node #0,0,1: 42:[18, 38] Operation: 49-11=38
Exploring Operation: 49-18=31, Resulting Numbers: [11, 31]
Generated Node #0,0,2: 42:[11, 31] Operation: 49-18=31
Exploring Operation: 18-11=7, Resulting Numbers: [49, 7]
Generated Node #0,0,3: 42:[49, 7] Operation: 18-11=7
Exploring Operation: 49+11=60, Resulting Numbers: [18, 60]
Generated Node #0,0,4: 42:[18, 60] Operation: 49+11=60
Moving to Node #0,1
Current State: 42:[18, 60, 22], Operations: ['71-49=22']
Exploring Operation: 22-18=4, Resulting Numbers: [60, 4]
Generated Node #0,1,0: 42:[60, 4] Operation: 22-18=4
Exploring Operation: 18+60=78, Resulting Numbers: [22, 78]
Generated Node #0,1,1: 42:[22, 78] Operation: 18+60=78
Exploring Operation: 60-22=38, Resulting Numbers: [18, 38]
Generated Node #0,1,2: 42:[18, 38] Operation: 60-22=38
Exploring Operation: 18+22=40, Resulting Numbers: [60, 40]
Generated Node #0,1,3: 42:[60, 40] Operation: 18+22=40
Exploring Operation: 60-18=42, Resulting Numbers: [22, 42]
Generated Node #0,1,4: 42:[22, 42] Operation: 60-18=42
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[22, 42], Operations: ['71-49=22', '60-18=42']
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,42 unequal: No Solution
No 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: 42:[18, 38], Operations: ['71-49=22', '60-22=38']
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,42 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No 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: 42:[60, 4], Operations: ['71-49=22', '22-18=4']
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,42 unequal: No Solution
No 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: 42:[60, 40], Operations: ['71-49=22', '18+22=40']
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,42 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,42 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,42 unequal: No Solution
No 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: 42:[22, 78], Operations: ['71-49=22', '18+60=78']
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,42 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,42 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,42 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: 42:[71, 18, 11], Operations: ['60-49=11']
Exploring Operation: 18+11=29, Resulting Numbers: [71, 29]
Generated Node #0,4,0: 42:[71, 29] Operation: 18+11=29
Exploring Operation: 71+11=82, Resulting Numbers: [18, 82]
Generated Node #0,4,1: 42:[18, 82] Operation: 71+11=82
Exploring Operation: 71-11=60, Resulting Numbers: [18, 60]
Generated Node #0,4,2: 42:[18, 60] Operation: 71-11=60
Exploring Operation: 71-18=53, Resulting Numbers: [11, 53]
Generated Node #0,4,3: 42:[11, 53] Operation: 71-18=53
Exploring Operation: 18-11=7, Resulting Numbers: [71, 7]
Generated Node #0,4,4: 42:[71, 7] Operation: 18-11=7
Moving to Node #0,2
Current State: 42:[49, 60, 53], Operations: ['71-18=53']
Exploring Operation: 49+60=109, Resulting Numbers: [53, 109]
Generated Node #0,2,0: 42:[53, 109] Operation: 49+60=109
Exploring Operation: 60-53=7, Resulting Numbers: [49, 7]
Generated Node #0,2,1: 42:[49, 7] Operation: 60-53=7
Exploring Operation: 60-49=11, Resulting Numbers: [53, 11]
Generated Node #0,2,2: 42:[53, 11] Operation: 60-49=11
Exploring Operation: 53-49=4, Resulting Numbers: [60, 4]
Generated Node #0,2,3: 42:[60, 4] Operation: 53-49=4
Exploring Operation: 49+53=102, Resulting Numbers: [60, 102]
Generated Node #0,2,4: 42:[60, 102] Operation: 49+53=102
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[49, 7], Operations: ['71-18=53', '60-53=7']
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[71, 18, 49, 60], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [49, 60, 53]
Generated Node #0,2: 42:[49, 60, 53] Operation: 71-18=53
Moving to Node #0,2
Current State: 42:[49, 60, 53], Operations: ['71-18=53']
Exploring Operation: 60-53=7, Resulting Numbers: [49, 7]
Generated Node #0,2,1: 42:[49, 7] Operation: 60-53=7
Moving to Node #0,2,1
Current State: 42:[49, 7], Operations: ['71-18=53', '60-53=7']
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
43,
54,
41,
72
] | 66 | [
"43+54=97",
"72-41=31",
"97-31=66"
] | Current State: 66:[43, 54, 41, 72], Operations: []
Exploring Operation: 43+54=97, Resulting Numbers: [41, 72, 97]
Generated Node #2: [41, 72, 97] from Operation: 43+54=97
Current State: 66:[41, 72, 97], Operations: ['43+54=97']
Exploring Operation: 72-41=31, Resulting Numbers: [97, 31]
Generated Node #3: [97, 31] from Operation: 72-41=31
Current State: 66:[97, 31], Operations: ['43+54=97', '72-41=31']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[43, 54, 41, 72], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [54, 72, 2]
Generated Node #0,0: 66:[54, 72, 2] Operation: 43-41=2
Exploring Operation: 54-43=11, Resulting Numbers: [41, 72, 11]
Generated Node #0,1: 66:[41, 72, 11] Operation: 54-43=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[41, 72, 11], Operations: ['54-43=11']
Exploring Operation: 72-41=31, Resulting Numbers: [11, 31]
Generated Node #0,1,0: 66:[11, 31] Operation: 72-41=31
Exploring Operation: 41-11=30, Resulting Numbers: [72, 30]
Generated Node #0,1,1: 66:[72, 30] Operation: 41-11=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[11, 31], Operations: ['54-43=11', '72-41=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[72, 30], Operations: ['54-43=11', '41-11=30']
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[54, 72, 2], Operations: ['43-41=2']
Exploring Operation: 72-54=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 66:[2, 18] Operation: 72-54=18
Exploring Operation: 54/2=27, Resulting Numbers: [72, 27]
Generated Node #0,0,1: 66:[72, 27] Operation: 54/2=27
Moving to Node #0,0,0
Current State: 66:[2, 18], Operations: ['43-41=2', '72-54=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[72, 27], Operations: ['43-41=2', '54/2=27']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
52,
20,
62,
34
] | 24 | [
"52+20=72",
"62+34=96",
"96-72=24"
] | Current State: 24:[52, 20, 62, 34], Operations: []
Exploring Operation: 52+20=72, Resulting Numbers: [62, 34, 72]
Generated Node #2: [62, 34, 72] from Operation: 52+20=72
Current State: 24:[62, 34, 72], Operations: ['52+20=72']
Exploring Operation: 62+34=96, Resulting Numbers: [72, 96]
Generated Node #3: [72, 96] from Operation: 62+34=96
Current State: 24:[72, 96], Operations: ['52+20=72', '62+34=96']
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[52, 20, 62, 34], Operations: []
Exploring Operation: 62-52=10, Resulting Numbers: [20, 34, 10]
Generated Node #0,0: 24:[20, 34, 10] Operation: 62-52=10
Exploring Operation: 52-34=18, Resulting Numbers: [20, 62, 18]
Generated Node #0,1: 24:[20, 62, 18] Operation: 52-34=18
Exploring Operation: 52-20=32, Resulting Numbers: [62, 34, 32]
Generated Node #0,2: 24:[62, 34, 32] Operation: 52-20=32
Exploring Operation: 62-34=28, Resulting Numbers: [52, 20, 28]
Generated Node #0,3: 24:[52, 20, 28] Operation: 62-34=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[20, 34, 10], Operations: ['62-52=10']
Exploring Operation: 20-10=10, Resulting Numbers: [34, 10]
Generated Node #0,0,0: 24:[34, 10] Operation: 20-10=10
Exploring Operation: 34-20=14, Resulting Numbers: [10, 14]
Generated Node #0,0,1: 24:[10, 14] Operation: 34-20=14
Exploring Operation: 34-10=24, Resulting Numbers: [20, 24]
Generated Node #0,0,2: 24:[20, 24] Operation: 34-10=24
Exploring Operation: 20/10=2, Resulting Numbers: [34, 2]
Generated Node #0,0,3: 24:[34, 2] Operation: 20/10=2
Moving to Node #0,0,1
Current State: 24:[10, 14], Operations: ['62-52=10', '34-20=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,24 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[52, 20, 62, 34], Operations: []
Exploring Operation: 62-52=10, Resulting Numbers: [20, 34, 10]
Generated Node #0,0: 24:[20, 34, 10] Operation: 62-52=10
Moving to Node #0,0
Current State: 24:[20, 34, 10], Operations: ['62-52=10']
Exploring Operation: 34-20=14, Resulting Numbers: [10, 14]
Generated Node #0,0,1: 24:[10, 14] Operation: 34-20=14
Moving to Node #0,0,1
Current State: 24:[10, 14], Operations: ['62-52=10', '34-20=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
5,
45,
71,
34
] | 96 | [
"45/5=9",
"71+34=105",
"105-9=96"
] | Current State: 96:[5, 45, 71, 34], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [71, 34, 9]
Generated Node #2: [71, 34, 9] from Operation: 45/5=9
Current State: 96:[71, 34, 9], Operations: ['45/5=9']
Exploring Operation: 71+34=105, Resulting Numbers: [9, 105]
Generated Node #3: [9, 105] from Operation: 71+34=105
Current State: 96:[9, 105], Operations: ['45/5=9', '71+34=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[5, 45, 71, 34], Operations: []
Exploring Operation: 71-34=37, Resulting Numbers: [5, 45, 37]
Generated Node #0,0: 96:[5, 45, 37] Operation: 71-34=37
Exploring Operation: 71-45=26, Resulting Numbers: [5, 34, 26]
Generated Node #0,1: 96:[5, 34, 26] Operation: 71-45=26
Moving to Node #0,1
Current State: 96:[5, 34, 26], Operations: ['71-45=26']
Exploring Operation: 34-26=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 96:[5, 8] Operation: 34-26=8
Exploring Operation: 5+26=31, Resulting Numbers: [34, 31]
Generated Node #0,1,1: 96:[34, 31] Operation: 5+26=31
Moving to Node #0,0
Current State: 96:[5, 45, 37], Operations: ['71-34=37']
Exploring Operation: 45-37=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 96:[5, 8] Operation: 45-37=8
Exploring Operation: 37-5=32, Resulting Numbers: [45, 32]
Generated Node #0,0,1: 96:[45, 32] Operation: 37-5=32
Moving to Node #0,1,0
Current State: 96:[5, 8], Operations: ['71-45=26', '34-26=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[5, 8], Operations: ['71-34=37', '45-37=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[34, 31], Operations: ['71-45=26', '5+26=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[45, 32], Operations: ['71-34=37', '37-5=32']
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,96 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
66,
90,
88
] | 51 | [
"90-88=2",
"30/2=15",
"66-15=51"
] | Current State: 51:[30, 66, 90, 88], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [30, 66, 2]
Generated Node #2: [30, 66, 2] from Operation: 90-88=2
Current State: 51:[30, 66, 2], Operations: ['90-88=2']
Exploring Operation: 30/2=15, Resulting Numbers: [66, 15]
Generated Node #3: [66, 15] from Operation: 30/2=15
Current State: 51:[66, 15], Operations: ['90-88=2', '30/2=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[30, 66, 90, 88], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [66, 88, 3]
Generated Node #0,0: 51:[66, 88, 3] Operation: 90/30=3
Exploring Operation: 88-66=22, Resulting Numbers: [30, 90, 22]
Generated Node #0,1: 51:[30, 90, 22] Operation: 88-66=22
Exploring Operation: 90-88=2, Resulting Numbers: [30, 66, 2]
Generated Node #0,2: 51:[30, 66, 2] Operation: 90-88=2
Exploring Operation: 90-30=60, Resulting Numbers: [66, 88, 60]
Generated Node #0,3: 51:[66, 88, 60] Operation: 90-30=60
Exploring Operation: 90-66=24, Resulting Numbers: [30, 88, 24]
Generated Node #0,4: 51:[30, 88, 24] Operation: 90-66=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[30, 66, 2], Operations: ['90-88=2']
Exploring Operation: 30/2=15, Resulting Numbers: [66, 15]
Generated Node #0,2,0: 51:[66, 15] Operation: 30/2=15
Exploring Operation: 30-2=28, Resulting Numbers: [66, 28]
Generated Node #0,2,1: 51:[66, 28] Operation: 30-2=28
Exploring Operation: 66-30=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 51:[2, 36] Operation: 66-30=36
Exploring Operation: 30*2=60, Resulting Numbers: [66, 60]
Generated Node #0,2,3: 51:[66, 60] Operation: 30*2=60
Exploring Operation: 66-2=64, Resulting Numbers: [30, 64]
Generated Node #0,2,4: 51:[30, 64] Operation: 66-2=64
Moving to Node #0,2,2
Current State: 51:[2, 36], Operations: ['90-88=2', '66-30=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,51 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,51 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[66, 15], Operations: ['90-88=2', '30/2=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[30, 66, 90, 88], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [30, 66, 2]
Generated Node #0,2: 51:[30, 66, 2] Operation: 90-88=2
Moving to Node #0,2
Current State: 51:[30, 66, 2], Operations: ['90-88=2']
Exploring Operation: 30/2=15, Resulting Numbers: [66, 15]
Generated Node #0,2,0: 51:[66, 15] Operation: 30/2=15
Moving to Node #0,2,0
Current State: 51:[66, 15], Operations: ['90-88=2', '30/2=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
59,
23,
67,
85
] | 64 | [
"59+23=82",
"85-67=18",
"82-18=64"
] | Current State: 64:[59, 23, 67, 85], Operations: []
Exploring Operation: 59+23=82, Resulting Numbers: [67, 85, 82]
Generated Node #2: [67, 85, 82] from Operation: 59+23=82
Current State: 64:[67, 85, 82], Operations: ['59+23=82']
Exploring Operation: 85-67=18, Resulting Numbers: [82, 18]
Generated Node #3: [82, 18] from Operation: 85-67=18
Current State: 64:[82, 18], Operations: ['59+23=82', '85-67=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[59, 23, 67, 85], Operations: []
Exploring Operation: 85-23=62, Resulting Numbers: [59, 67, 62]
Generated Node #0,0: 64:[59, 67, 62] Operation: 85-23=62
Exploring Operation: 85-59=26, Resulting Numbers: [23, 67, 26]
Generated Node #0,1: 64:[23, 67, 26] Operation: 85-59=26
Exploring Operation: 85-67=18, Resulting Numbers: [59, 23, 18]
Generated Node #0,2: 64:[59, 23, 18] Operation: 85-67=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[59, 67, 62], Operations: ['85-23=62']
Exploring Operation: 67-59=8, Resulting Numbers: [62, 8]
Generated Node #0,0,0: 64:[62, 8] Operation: 67-59=8
Exploring Operation: 67-62=5, Resulting Numbers: [59, 5]
Generated Node #0,0,1: 64:[59, 5] Operation: 67-62=5
Exploring Operation: 62-59=3, Resulting Numbers: [67, 3]
Generated Node #0,0,2: 64:[67, 3] Operation: 62-59=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[62, 8], Operations: ['85-23=62', '67-59=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,64 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,64 unequal: No Solution
No 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: 64:[67, 3], Operations: ['85-23=62', '62-59=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,64 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[59, 23, 67, 85], Operations: []
Exploring Operation: 85-23=62, Resulting Numbers: [59, 67, 62]
Generated Node #0,0: 64:[59, 67, 62] Operation: 85-23=62
Moving to Node #0,0
Current State: 64:[59, 67, 62], Operations: ['85-23=62']
Exploring Operation: 62-59=3, Resulting Numbers: [67, 3]
Generated Node #0,0,2: 64:[67, 3] Operation: 62-59=3
Moving to Node #0,0,2
Current State: 64:[67, 3], Operations: ['85-23=62', '62-59=3']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
41,
4,
31,
36
] | 72 | [
"41+31=72",
"4*36=144",
"144-72=72"
] | Current State: 72:[41, 4, 31, 36], Operations: []
Exploring Operation: 41+31=72, Resulting Numbers: [4, 36, 72]
Generated Node #2: [4, 36, 72] from Operation: 41+31=72
Current State: 72:[4, 36, 72], Operations: ['41+31=72']
Exploring Operation: 4*36=144, Resulting Numbers: [72, 144]
Generated Node #3: [72, 144] from Operation: 4*36=144
Current State: 72:[72, 144], Operations: ['41+31=72', '4*36=144']
Exploring Operation: 144-72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[41, 4, 31, 36], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [4, 36, 10]
Generated Node #0,0: 72:[4, 36, 10] Operation: 41-31=10
Exploring Operation: 41+31=72, Resulting Numbers: [4, 36, 72]
Generated Node #0,1: 72:[4, 36, 72] Operation: 41+31=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[4, 36, 72], Operations: ['41+31=72']
Exploring Operation: 36/4=9, Resulting Numbers: [72, 9]
Generated Node #0,1,0: 72:[72, 9] Operation: 36/4=9
Exploring Operation: 72/4=18, Resulting Numbers: [36, 18]
Generated Node #0,1,1: 72:[36, 18] Operation: 72/4=18
Moving to Node #0,1,0
Current State: 72:[72, 9], Operations: ['41+31=72', '36/4=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,72 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[36, 18], Operations: ['41+31=72', '72/4=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[4, 36, 10], Operations: ['41-31=10']
Exploring Operation: 36/4=9, Resulting Numbers: [10, 9]
Generated Node #0,0,0: 72:[10, 9] Operation: 36/4=9
Exploring Operation: 10-4=6, Resulting Numbers: [36, 6]
Generated Node #0,0,1: 72:[36, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[36, 6], Operations: ['41-31=10', '10-4=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[10, 9], Operations: ['41-31=10', '36/4=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
58,
31,
41,
39
] | 53 | [
"58-31=27",
"41+39=80",
"80-27=53"
] | Current State: 53:[58, 31, 41, 39], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [41, 39, 27]
Generated Node #2: [41, 39, 27] from Operation: 58-31=27
Current State: 53:[41, 39, 27], Operations: ['58-31=27']
Exploring Operation: 41+39=80, Resulting Numbers: [27, 80]
Generated Node #3: [27, 80] from Operation: 41+39=80
Current State: 53:[27, 80], Operations: ['58-31=27', '41+39=80']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[58, 31, 41, 39], Operations: []
Exploring Operation: 31+41=72, Resulting Numbers: [58, 39, 72]
Generated Node #0,0: 53:[58, 39, 72] Operation: 31+41=72
Exploring Operation: 31+39=70, Resulting Numbers: [58, 41, 70]
Generated Node #0,1: 53:[58, 41, 70] Operation: 31+39=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[58, 41, 70], Operations: ['31+39=70']
Exploring Operation: 58-41=17, Resulting Numbers: [70, 17]
Generated Node #0,1,0: 53:[70, 17] Operation: 58-41=17
Exploring Operation: 70-41=29, Resulting Numbers: [58, 29]
Generated Node #0,1,1: 53:[58, 29] Operation: 70-41=29
Moving to Node #0,1,1
Current State: 53:[58, 29], Operations: ['31+39=70', '70-41=29']
Exploring Operation: 58-29=29, Resulting Numbers: [29]
29,53 unequal: No Solution
Exploring Operation: 58+29=87, Resulting Numbers: [87]
87,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[70, 17], Operations: ['31+39=70', '58-41=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[58, 31, 41, 39], Operations: []
Exploring Operation: 31+39=70, Resulting Numbers: [58, 41, 70]
Generated Node #0,1: 53:[58, 41, 70] Operation: 31+39=70
Moving to Node #0,1
Current State: 53:[58, 41, 70], Operations: ['31+39=70']
Exploring Operation: 58-41=17, Resulting Numbers: [70, 17]
Generated Node #0,1,0: 53:[70, 17] Operation: 58-41=17
Moving to Node #0,1,0
Current State: 53:[70, 17], Operations: ['31+39=70', '58-41=17']
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
63,
4,
9,
97
] | 49 | [
"63+97=160",
"160/4=40",
"9+40=49"
] | Current State: 49:[63, 4, 9, 97], Operations: []
Exploring Operation: 63+97=160, Resulting Numbers: [4, 9, 160]
Generated Node #2: [4, 9, 160] from Operation: 63+97=160
Current State: 49:[4, 9, 160], Operations: ['63+97=160']
Exploring Operation: 160/4=40, Resulting Numbers: [9, 40]
Generated Node #3: [9, 40] from Operation: 160/4=40
Current State: 49:[9, 40], Operations: ['63+97=160', '160/4=40']
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[63, 4, 9, 97], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [4, 9, 34]
Generated Node #0,0: 49:[4, 9, 34] Operation: 97-63=34
Exploring Operation: 63-9=54, Resulting Numbers: [4, 97, 54]
Generated Node #0,1: 49:[4, 97, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [4, 97, 7]
Generated Node #0,2: 49:[4, 97, 7] Operation: 63/9=7
Moving to Node #0,0
Current State: 49:[4, 9, 34], Operations: ['97-63=34']
Exploring Operation: 4+34=38, Resulting Numbers: [9, 38]
Generated Node #0,0,0: 49:[9, 38] Operation: 4+34=38
Exploring Operation: 9-4=5, Resulting Numbers: [34, 5]
Generated Node #0,0,1: 49:[34, 5] Operation: 9-4=5
Exploring Operation: 9+34=43, Resulting Numbers: [4, 43]
Generated Node #0,0,2: 49:[4, 43] Operation: 9+34=43
Moving to Node #0,2
Current State: 49:[4, 97, 7], Operations: ['63/9=7']
Exploring Operation: 97-4=93, Resulting Numbers: [7, 93]
Generated Node #0,2,0: 49:[7, 93] Operation: 97-4=93
Exploring Operation: 4+97=101, Resulting Numbers: [7, 101]
Generated Node #0,2,1: 49:[7, 101] Operation: 4+97=101
Exploring Operation: 97-7=90, Resulting Numbers: [4, 90]
Generated Node #0,2,2: 49:[4, 90] Operation: 97-7=90
Moving to Node #0,1
Current State: 49:[4, 97, 54], Operations: ['63-9=54']
Exploring Operation: 97-4=93, Resulting Numbers: [54, 93]
Generated Node #0,1,0: 49:[54, 93] Operation: 97-4=93
Exploring Operation: 54-4=50, Resulting Numbers: [97, 50]
Generated Node #0,1,1: 49:[97, 50] Operation: 54-4=50
Exploring Operation: 97-54=43, Resulting Numbers: [4, 43]
Generated Node #0,1,2: 49:[4, 43] Operation: 97-54=43
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[4, 43], Operations: ['63-9=54', '97-54=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,49 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[54, 93], Operations: ['63-9=54', '97-4=93']
Exploring Operation: 54+93=147, Resulting Numbers: [147]
147,49 unequal: No Solution
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 54*93=5022, Resulting Numbers: [5022]
5022,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[97, 50], Operations: ['63-9=54', '54-4=50']
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,49 unequal: No Solution
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,49 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 49:[4, 43], Operations: ['97-63=34', '9+34=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,49 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[9, 38], Operations: ['97-63=34', '4+34=38']
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,49 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[34, 5], Operations: ['97-63=34', '9-4=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[4, 90], Operations: ['63/9=7', '97-7=90']
Exploring Operation: 4*90=360, Resulting Numbers: [360]
360,49 unequal: No Solution
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[7, 93], Operations: ['63/9=7', '97-4=93']
Exploring Operation: 7*93=651, Resulting Numbers: [651]
651,49 unequal: No Solution
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,49 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[7, 101], Operations: ['63/9=7', '4+97=101']
Exploring Operation: 7+101=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Exploring Operation: 7*101=707, Resulting Numbers: [707]
707,49 unequal: No Solution
Exploring Operation: 101-7=94, Resulting Numbers: [94]
94,49 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
55,
6,
62,
57
] | 28 | [
"57-55=2",
"62-6=56",
"56/2=28"
] | Current State: 28:[55, 6, 62, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [6, 62, 2]
Generated Node #2: [6, 62, 2] from Operation: 57-55=2
Current State: 28:[6, 62, 2], Operations: ['57-55=2']
Exploring Operation: 62-6=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 62-6=56
Current State: 28:[2, 56], Operations: ['57-55=2', '62-6=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[55, 6, 62, 57], Operations: []
Exploring Operation: 55-6=49, Resulting Numbers: [62, 57, 49]
Generated Node #0,0: 28:[62, 57, 49] Operation: 55-6=49
Exploring Operation: 62-57=5, Resulting Numbers: [55, 6, 5]
Generated Node #0,1: 28:[55, 6, 5] Operation: 62-57=5
Exploring Operation: 62-55=7, Resulting Numbers: [6, 57, 7]
Generated Node #0,2: 28:[6, 57, 7] Operation: 62-55=7
Exploring Operation: 57-55=2, Resulting Numbers: [6, 62, 2]
Generated Node #0,3: 28:[6, 62, 2] Operation: 57-55=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[55, 6, 5], Operations: ['62-57=5']
Exploring Operation: 6-5=1, Resulting Numbers: [55, 1]
Generated Node #0,1,0: 28:[55, 1] Operation: 6-5=1
Exploring Operation: 55/5=11, Resulting Numbers: [6, 11]
Generated Node #0,1,1: 28:[6, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [6, 50]
Generated Node #0,1,2: 28:[6, 50] Operation: 55-5=50
Exploring Operation: 55-6=49, Resulting Numbers: [5, 49]
Generated Node #0,1,3: 28:[5, 49] Operation: 55-6=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[6, 11], Operations: ['62-57=5', '55/5=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,28 unequal: No Solution
No 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: 28:[5, 49], Operations: ['62-57=5', '55-6=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,28 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,28 unequal: No Solution
No 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: 28:[6, 50], Operations: ['62-57=5', '55-5=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,28 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,28 unequal: No Solution
No 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: 28:[55, 1], Operations: ['62-57=5', '6-5=1']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,28 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: 28:[6, 57, 7], Operations: ['62-55=7']
Exploring Operation: 57-6=51, Resulting Numbers: [7, 51]
Generated Node #0,2,0: 28:[7, 51] Operation: 57-6=51
Exploring Operation: 6+7=13, Resulting Numbers: [57, 13]
Generated Node #0,2,1: 28:[57, 13] Operation: 6+7=13
Exploring Operation: 57-7=50, Resulting Numbers: [6, 50]
Generated Node #0,2,2: 28:[6, 50] Operation: 57-7=50
Exploring Operation: 7-6=1, Resulting Numbers: [57, 1]
Generated Node #0,2,3: 28:[57, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[7, 51], Operations: ['62-55=7', '57-6=51']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 7*51=357, Resulting Numbers: [357]
357,28 unequal: No Solution
Exploring Operation: 7+51=58, Resulting Numbers: [58]
58,28 unequal: No Solution
No 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: 28:[6, 50], Operations: ['62-55=7', '57-7=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,28 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,28 unequal: No Solution
No 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: 28:[57, 13], Operations: ['62-55=7', '6+7=13']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,28 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,28 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,28 unequal: No Solution
No 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: 28:[57, 1], Operations: ['62-55=7', '7-6=1']
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,28 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,28 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: 28:[6, 62, 2], Operations: ['57-55=2']
Exploring Operation: 62-2=60, Resulting Numbers: [6, 60]
Generated Node #0,3,0: 28:[6, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [6, 31]
Generated Node #0,3,1: 28:[6, 31] Operation: 62/2=31
Exploring Operation: 62-6=56, Resulting Numbers: [2, 56]
Generated Node #0,3,2: 28:[2, 56] Operation: 62-6=56
Exploring Operation: 6-2=4, Resulting Numbers: [62, 4]
Generated Node #0,3,3: 28:[62, 4] Operation: 6-2=4
Moving to Node #0,3,1
Current State: 28:[6, 31], Operations: ['57-55=2', '62/2=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,28 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[2, 56], Operations: ['57-55=2', '62-6=56']
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,28 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,28 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,28 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[55, 6, 62, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [6, 62, 2]
Generated Node #0,3: 28:[6, 62, 2] Operation: 57-55=2
Moving to Node #0,3
Current State: 28:[6, 62, 2], Operations: ['57-55=2']
Exploring Operation: 62-6=56, Resulting Numbers: [2, 56]
Generated Node #0,3,2: 28:[2, 56] Operation: 62-6=56
Moving to Node #0,3,2
Current State: 28:[2, 56], Operations: ['57-55=2', '62-6=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | sum_heuristic |
[
86,
81,
95,
55
] | 84 | [
"86-81=5",
"55/5=11",
"95-11=84"
] | Current State: 84:[86, 81, 95, 55], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [95, 55, 5]
Generated Node #2: [95, 55, 5] from Operation: 86-81=5
Current State: 84:[95, 55, 5], Operations: ['86-81=5']
Exploring Operation: 55/5=11, Resulting Numbers: [95, 11]
Generated Node #3: [95, 11] from Operation: 55/5=11
Current State: 84:[95, 11], Operations: ['86-81=5', '55/5=11']
Exploring Operation: 95-11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[86, 81, 95, 55], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [86, 55, 14]
Generated Node #0,0: 84:[86, 55, 14] Operation: 95-81=14
Exploring Operation: 95-55=40, Resulting Numbers: [86, 81, 40]
Generated Node #0,1: 84:[86, 81, 40] Operation: 95-55=40
Moving to Node #0,1
Current State: 84:[86, 81, 40], Operations: ['95-55=40']
Exploring Operation: 81-40=41, Resulting Numbers: [86, 41]
Generated Node #0,1,0: 84:[86, 41] Operation: 81-40=41
Exploring Operation: 86-81=5, Resulting Numbers: [40, 5]
Generated Node #0,1,1: 84:[40, 5] Operation: 86-81=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[86, 41], Operations: ['95-55=40', '81-40=41']
Exploring Operation: 86+41=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,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,1
Current State: 84:[40, 5], Operations: ['95-55=40', '86-81=5']
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,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:[86, 55, 14], Operations: ['95-81=14']
Exploring Operation: 55-14=41, Resulting Numbers: [86, 41]
Generated Node #0,0,0: 84:[86, 41] Operation: 55-14=41
Exploring Operation: 86-55=31, Resulting Numbers: [14, 31]
Generated Node #0,0,1: 84:[14, 31] Operation: 86-55=31
Moving to Node #0,0,0
Current State: 84:[86, 41], Operations: ['95-81=14', '55-14=41']
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 86+41=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[14, 31], Operations: ['95-81=14', '86-55=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
51,
15,
95
] | 58 | [
"15/5=3",
"51*3=153",
"153-95=58"
] | Current State: 58:[5, 51, 15, 95], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [51, 95, 3]
Generated Node #2: [51, 95, 3] from Operation: 15/5=3
Current State: 58:[51, 95, 3], Operations: ['15/5=3']
Exploring Operation: 51*3=153, Resulting Numbers: [95, 153]
Generated Node #3: [95, 153] from Operation: 51*3=153
Current State: 58:[95, 153], Operations: ['15/5=3', '51*3=153']
Exploring Operation: 153-95=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[5, 51, 15, 95], Operations: []
Exploring Operation: 95-51=44, Resulting Numbers: [5, 15, 44]
Generated Node #0,0: 58:[5, 15, 44] Operation: 95-51=44
Exploring Operation: 95/5=19, Resulting Numbers: [51, 15, 19]
Generated Node #0,1: 58:[51, 15, 19] Operation: 95/5=19
Moving to Node #0,0
Current State: 58:[5, 15, 44], Operations: ['95-51=44']
Exploring Operation: 44-15=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 58:[5, 29] Operation: 44-15=29
Exploring Operation: 15+44=59, Resulting Numbers: [5, 59]
Generated Node #0,0,1: 58:[5, 59] Operation: 15+44=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[5, 29], Operations: ['95-51=44', '44-15=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,58 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,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,1
Current State: 58:[5, 59], Operations: ['95-51=44', '15+44=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[51, 15, 19], Operations: ['95/5=19']
Exploring Operation: 15+19=34, Resulting Numbers: [51, 34]
Generated Node #0,1,0: 58:[51, 34] Operation: 15+19=34
Exploring Operation: 19-15=4, Resulting Numbers: [51, 4]
Generated Node #0,1,1: 58:[51, 4] Operation: 19-15=4
Moving to Node #0,1,1
Current State: 58:[51, 4], Operations: ['95/5=19', '19-15=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[51, 34], Operations: ['95/5=19', '15+19=34']
Exploring Operation: 51+34=85, Resulting Numbers: [85]
85,58 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
87,
3,
65,
6
] | 51 | [
"87-3=84",
"84/6=14",
"65-14=51"
] | Current State: 51:[87, 3, 65, 6], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [65, 6, 84]
Generated Node #2: [65, 6, 84] from Operation: 87-3=84
Current State: 51:[65, 6, 84], Operations: ['87-3=84']
Exploring Operation: 84/6=14, Resulting Numbers: [65, 14]
Generated Node #3: [65, 14] from Operation: 84/6=14
Current State: 51:[65, 14], Operations: ['87-3=84', '84/6=14']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[87, 3, 65, 6], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [65, 6, 29]
Generated Node #0,0: 51:[65, 6, 29] Operation: 87/3=29
Exploring Operation: 87-65=22, Resulting Numbers: [3, 6, 22]
Generated Node #0,1: 51:[3, 6, 22] Operation: 87-65=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[3, 6, 22], Operations: ['87-65=22']
Exploring Operation: 6-3=3, Resulting Numbers: [22, 3]
Generated Node #0,1,0: 51:[22, 3] Operation: 6-3=3
Exploring Operation: 22-6=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 51:[3, 16] Operation: 22-6=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[3, 16], Operations: ['87-65=22', '22-6=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[22, 3], Operations: ['87-65=22', '6-3=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[65, 6, 29], Operations: ['87/3=29']
Exploring Operation: 65-29=36, Resulting Numbers: [6, 36]
Generated Node #0,0,0: 51:[6, 36] Operation: 65-29=36
Exploring Operation: 65-6=59, Resulting Numbers: [29, 59]
Generated Node #0,0,1: 51:[29, 59] Operation: 65-6=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[6, 36], Operations: ['87/3=29', '65-29=36']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[29, 59], Operations: ['87/3=29', '65-6=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
16,
98,
96
] | 73 | [
"55+16=71",
"98-96=2",
"71+2=73"
] | Current State: 73:[55, 16, 98, 96], Operations: []
Exploring Operation: 55+16=71, Resulting Numbers: [98, 96, 71]
Generated Node #2: [98, 96, 71] from Operation: 55+16=71
Current State: 73:[98, 96, 71], Operations: ['55+16=71']
Exploring Operation: 98-96=2, Resulting Numbers: [71, 2]
Generated Node #3: [71, 2] from Operation: 98-96=2
Current State: 73:[71, 2], Operations: ['55+16=71', '98-96=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[55, 16, 98, 96], Operations: []
Exploring Operation: 55+16=71, Resulting Numbers: [98, 96, 71]
Generated Node #0,0: 73:[98, 96, 71] Operation: 55+16=71
Exploring Operation: 98-16=82, Resulting Numbers: [55, 96, 82]
Generated Node #0,1: 73:[55, 96, 82] Operation: 98-16=82
Moving to Node #0,0
Current State: 73:[98, 96, 71], Operations: ['55+16=71']
Exploring Operation: 98-71=27, Resulting Numbers: [96, 27]
Generated Node #0,0,0: 73:[96, 27] Operation: 98-71=27
Exploring Operation: 98-96=2, Resulting Numbers: [71, 2]
Generated Node #0,0,1: 73:[71, 2] Operation: 98-96=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[96, 27], Operations: ['55+16=71', '98-71=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,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,1
Current State: 73:[71, 2], Operations: ['55+16=71', '98-96=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[55, 16, 98, 96], Operations: []
Exploring Operation: 55+16=71, Resulting Numbers: [98, 96, 71]
Generated Node #0,0: 73:[98, 96, 71] Operation: 55+16=71
Moving to Node #0,0
Current State: 73:[98, 96, 71], Operations: ['55+16=71']
Exploring Operation: 98-96=2, Resulting Numbers: [71, 2]
Generated Node #0,0,1: 73:[71, 2] Operation: 98-96=2
Moving to Node #0,0,1
Current State: 73:[71, 2], Operations: ['55+16=71', '98-96=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
10,
13,
67,
10
] | 18 | [
"13+67=80",
"80/10=8",
"10+8=18"
] | Current State: 18:[10, 13, 67, 10], Operations: []
Exploring Operation: 13+67=80, Resulting Numbers: [10, 10, 80]
Generated Node #2: [10, 10, 80] from Operation: 13+67=80
Current State: 18:[10, 10, 80], Operations: ['13+67=80']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,18 equal: Goal Reached
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[10, 13, 67, 10], Operations: []
Exploring Operation: 67-13=54, Resulting Numbers: [10, 10, 54]
Generated Node #0,0: 18:[10, 10, 54] Operation: 67-13=54
Moving to Node #0,0
Current State: 18:[10, 10, 54], Operations: ['67-13=54']
Exploring Operation: 54-10=44, Resulting Numbers: [10, 44]
Generated Node #0,0,0: 18:[10, 44] Operation: 54-10=44
Moving to Node #0,0,0
Current State: 18:[10, 44], Operations: ['67-13=54', '54-10=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
4,
6,
45
] | 14 | [
"17-6=11",
"45+11=56",
"56/4=14"
] | Current State: 14:[17, 4, 6, 45], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [4, 45, 11]
Generated Node #2: [4, 45, 11] from Operation: 17-6=11
Current State: 14:[4, 45, 11], Operations: ['17-6=11']
Exploring Operation: 45+11=56, Resulting Numbers: [4, 56]
Generated Node #3: [4, 56] from Operation: 45+11=56
Current State: 14:[4, 56], Operations: ['17-6=11', '45+11=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[17, 4, 6, 45], Operations: []
Exploring Operation: 45-6=39, Resulting Numbers: [17, 4, 39]
Generated Node #0,0: 14:[17, 4, 39] Operation: 45-6=39
Exploring Operation: 45-4=41, Resulting Numbers: [17, 6, 41]
Generated Node #0,1: 14:[17, 6, 41] Operation: 45-4=41
Exploring Operation: 45-17=28, Resulting Numbers: [4, 6, 28]
Generated Node #0,2: 14:[4, 6, 28] Operation: 45-17=28
Exploring Operation: 17-4=13, Resulting Numbers: [6, 45, 13]
Generated Node #0,3: 14:[6, 45, 13] Operation: 17-4=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[4, 6, 28], Operations: ['45-17=28']
Exploring Operation: 28-4=24, Resulting Numbers: [6, 24]
Generated Node #0,2,0: 14:[6, 24] Operation: 28-4=24
Exploring Operation: 6-4=2, Resulting Numbers: [28, 2]
Generated Node #0,2,1: 14:[28, 2] Operation: 6-4=2
Exploring Operation: 28-6=22, Resulting Numbers: [4, 22]
Generated Node #0,2,2: 14:[4, 22] Operation: 28-6=22
Exploring Operation: 28/4=7, Resulting Numbers: [6, 7]
Generated Node #0,2,3: 14:[6, 7] Operation: 28/4=7
Moving to Node #0,2,3
Current State: 14:[6, 7], Operations: ['45-17=28', '28/4=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[4, 22], Operations: ['45-17=28', '28-6=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,14 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[6, 24], Operations: ['45-17=28', '28-4=24']
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,14 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,14 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[28, 2], Operations: ['45-17=28', '6-4=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[17, 4, 6, 45], Operations: []
Exploring Operation: 45-17=28, Resulting Numbers: [4, 6, 28]
Generated Node #0,2: 14:[4, 6, 28] Operation: 45-17=28
Moving to Node #0,2
Current State: 14:[4, 6, 28], Operations: ['45-17=28']
Exploring Operation: 6-4=2, Resulting Numbers: [28, 2]
Generated Node #0,2,1: 14:[28, 2] Operation: 6-4=2
Moving to Node #0,2,1
Current State: 14:[28, 2], Operations: ['45-17=28', '6-4=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | sum_heuristic |
[
84,
3,
2,
19
] | 98 | [
"84-3=81",
"19-2=17",
"81+17=98"
] | Current State: 98:[84, 3, 2, 19], Operations: []
Exploring Operation: 84-3=81, Resulting Numbers: [2, 19, 81]
Generated Node #2: [2, 19, 81] from Operation: 84-3=81
Current State: 98:[2, 19, 81], Operations: ['84-3=81']
Exploring Operation: 19-2=17, Resulting Numbers: [81, 17]
Generated Node #3: [81, 17] from Operation: 19-2=17
Current State: 98:[81, 17], Operations: ['84-3=81', '19-2=17']
Exploring Operation: 81+17=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[84, 3, 2, 19], Operations: []
Exploring Operation: 19-3=16, Resulting Numbers: [84, 2, 16]
Generated Node #0,0: 98:[84, 2, 16] Operation: 19-3=16
Exploring Operation: 84+3=87, Resulting Numbers: [2, 19, 87]
Generated Node #0,1: 98:[2, 19, 87] Operation: 84+3=87
Exploring Operation: 84+19=103, Resulting Numbers: [3, 2, 103]
Generated Node #0,2: 98:[3, 2, 103] Operation: 84+19=103
Exploring Operation: 84/2=42, Resulting Numbers: [3, 19, 42]
Generated Node #0,3: 98:[3, 19, 42] Operation: 84/2=42
Exploring Operation: 84-19=65, Resulting Numbers: [3, 2, 65]
Generated Node #0,4: 98:[3, 2, 65] Operation: 84-19=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[3, 2, 103], Operations: ['84+19=103']
Exploring Operation: 3*2=6, Resulting Numbers: [103, 6]
Generated Node #0,2,0: 98:[103, 6] Operation: 3*2=6
Exploring Operation: 3+2=5, Resulting Numbers: [103, 5]
Generated Node #0,2,1: 98:[103, 5] Operation: 3+2=5
Exploring Operation: 3-2=1, Resulting Numbers: [103, 1]
Generated Node #0,2,2: 98:[103, 1] Operation: 3-2=1
Exploring Operation: 103-3=100, Resulting Numbers: [2, 100]
Generated Node #0,2,3: 98:[2, 100] Operation: 103-3=100
Exploring Operation: 103-2=101, Resulting Numbers: [3, 101]
Generated Node #0,2,4: 98:[3, 101] Operation: 103-2=101
Moving to Node #0,2,3
Current State: 98:[2, 100], Operations: ['84+19=103', '103-3=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[84, 3, 2, 19], Operations: []
Exploring Operation: 84+19=103, Resulting Numbers: [3, 2, 103]
Generated Node #0,2: 98:[3, 2, 103] Operation: 84+19=103
Moving to Node #0,2
Current State: 98:[3, 2, 103], Operations: ['84+19=103']
Exploring Operation: 103-3=100, Resulting Numbers: [2, 100]
Generated Node #0,2,3: 98:[2, 100] Operation: 103-3=100
Moving to Node #0,2,3
Current State: 98:[2, 100], Operations: ['84+19=103', '103-3=100']
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
53,
35,
89,
44
] | 87 | [
"53+35=88",
"88/44=2",
"89-2=87"
] | Current State: 87:[53, 35, 89, 44], Operations: []
Exploring Operation: 53+35=88, Resulting Numbers: [89, 44, 88]
Generated Node #2: [89, 44, 88] from Operation: 53+35=88
Current State: 87:[89, 44, 88], Operations: ['53+35=88']
Exploring Operation: 88/44=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 88/44=2
Current State: 87:[89, 2], Operations: ['53+35=88', '88/44=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[53, 35, 89, 44], Operations: []
Exploring Operation: 53-44=9, Resulting Numbers: [35, 89, 9]
Generated Node #0,0: 87:[35, 89, 9] Operation: 53-44=9
Moving to Node #0,0
Current State: 87:[35, 89, 9], Operations: ['53-44=9']
Exploring Operation: 35-9=26, Resulting Numbers: [89, 26]
Generated Node #0,0,0: 87:[89, 26] Operation: 35-9=26
Moving to Node #0,0,0
Current State: 87:[89, 26], Operations: ['53-44=9', '35-9=26']
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,87 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
3,
2,
78
] | 67 | [
"6+3=9",
"78-2=76",
"76-9=67"
] | Current State: 67:[6, 3, 2, 78], Operations: []
Exploring Operation: 6+3=9, Resulting Numbers: [2, 78, 9]
Generated Node #2: [2, 78, 9] from Operation: 6+3=9
Current State: 67:[2, 78, 9], Operations: ['6+3=9']
Exploring Operation: 78-2=76, Resulting Numbers: [9, 76]
Generated Node #3: [9, 76] from Operation: 78-2=76
Current State: 67:[9, 76], Operations: ['6+3=9', '78-2=76']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[6, 3, 2, 78], Operations: []
Exploring Operation: 6*2=12, Resulting Numbers: [3, 78, 12]
Generated Node #0,0: 67:[3, 78, 12] Operation: 6*2=12
Exploring Operation: 3*2=6, Resulting Numbers: [6, 78, 6]
Generated Node #0,1: 67:[6, 78, 6] Operation: 3*2=6
Exploring Operation: 6+3=9, Resulting Numbers: [2, 78, 9]
Generated Node #0,2: 67:[2, 78, 9] Operation: 6+3=9
Exploring Operation: 6*3=18, Resulting Numbers: [2, 78, 18]
Generated Node #0,3: 67:[2, 78, 18] Operation: 6*3=18
Moving to Node #0,3
Current State: 67:[2, 78, 18], Operations: ['6*3=18']
Exploring Operation: 2*18=36, Resulting Numbers: [78, 36]
Generated Node #0,3,0: 67:[78, 36] Operation: 2*18=36
Exploring Operation: 2+18=20, Resulting Numbers: [78, 20]
Generated Node #0,3,1: 67:[78, 20] Operation: 2+18=20
Exploring Operation: 78-2=76, Resulting Numbers: [18, 76]
Generated Node #0,3,2: 67:[18, 76] Operation: 78-2=76
Exploring Operation: 2+78=80, Resulting Numbers: [18, 80]
Generated Node #0,3,3: 67:[18, 80] Operation: 2+78=80
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[78, 36], Operations: ['6*3=18', '2*18=36']
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,67 unequal: No Solution
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[78, 20], Operations: ['6*3=18', '2+18=20']
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,67 unequal: No Solution
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[18, 76], Operations: ['6*3=18', '78-2=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[18, 80], Operations: ['6*3=18', '2+78=80']
Exploring Operation: 18*80=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 18+80=98, Resulting Numbers: [98]
98,67 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: 67:[3, 78, 12], Operations: ['6*2=12']
Exploring Operation: 78-3=75, Resulting Numbers: [12, 75]
Generated Node #0,0,0: 67:[12, 75] Operation: 78-3=75
Exploring Operation: 3+12=15, Resulting Numbers: [78, 15]
Generated Node #0,0,1: 67:[78, 15] Operation: 3+12=15
Exploring Operation: 78-12=66, Resulting Numbers: [3, 66]
Generated Node #0,0,2: 67:[3, 66] Operation: 78-12=66
Exploring Operation: 3*12=36, Resulting Numbers: [78, 36]
Generated Node #0,0,3: 67:[78, 36] Operation: 3*12=36
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[78, 36], Operations: ['6*2=12', '3*12=36']
Exploring Operation: 78+36=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 78*36=2808, Resulting Numbers: [2808]
2808,67 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[12, 75], Operations: ['6*2=12', '78-3=75']
Exploring Operation: 12*75=900, Resulting Numbers: [900]
900,67 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[78, 15], Operations: ['6*2=12', '3+12=15']
Exploring Operation: 78*15=1170, Resulting Numbers: [1170]
1170,67 unequal: No Solution
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 78-15=63, Resulting Numbers: [63]
63,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[3, 66], Operations: ['6*2=12', '78-12=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,67 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: 67:[6, 78, 6], Operations: ['3*2=6']
Exploring Operation: 78-6=72, Resulting Numbers: [6, 72]
Generated Node #0,1,0: 67:[6, 72] Operation: 78-6=72
Exploring Operation: 6+6=12, Resulting Numbers: [78, 12]
Generated Node #0,1,1: 67:[78, 12] Operation: 6+6=12
Exploring Operation: 6*6=36, Resulting Numbers: [78, 36]
Generated Node #0,1,2: 67:[78, 36] Operation: 6*6=36
Exploring Operation: 78-6=72, Resulting Numbers: [6, 72]
Generated Node #0,1,3: 67:[6, 72] Operation: 78-6=72
Moving to Node #0,2
Current State: 67:[2, 78, 9], Operations: ['6+3=9']
Exploring Operation: 78-9=69, Resulting Numbers: [2, 69]
Generated Node #0,2,0: 67:[2, 69] Operation: 78-9=69
Exploring Operation: 2*9=18, Resulting Numbers: [78, 18]
Generated Node #0,2,1: 67:[78, 18] Operation: 2*9=18
Exploring Operation: 78-2=76, Resulting Numbers: [9, 76]
Generated Node #0,2,2: 67:[9, 76] Operation: 78-2=76
Exploring Operation: 2+9=11, Resulting Numbers: [78, 11]
Generated Node #0,2,3: 67:[78, 11] Operation: 2+9=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[78, 18], Operations: ['6+3=9', '2*9=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,67 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,67 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[2, 69], Operations: ['6+3=9', '78-9=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[6, 3, 2, 78], Operations: []
Exploring Operation: 6+3=9, Resulting Numbers: [2, 78, 9]
Generated Node #0,2: 67:[2, 78, 9] Operation: 6+3=9
Moving to Node #0,2
Current State: 67:[2, 78, 9], Operations: ['6+3=9']
Exploring Operation: 78-9=69, Resulting Numbers: [2, 69]
Generated Node #0,2,0: 67:[2, 69] Operation: 78-9=69
Moving to Node #0,2,0
Current State: 67:[2, 69], Operations: ['6+3=9', '78-9=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
45,
64,
38,
11
] | 22 | [
"64-45=19",
"38*11=418",
"418/19=22"
] | Current State: 22:[45, 64, 38, 11], Operations: []
Exploring Operation: 64-45=19, Resulting Numbers: [38, 11, 19]
Generated Node #2: [38, 11, 19] from Operation: 64-45=19
Current State: 22:[38, 11, 19], Operations: ['64-45=19']
Exploring Operation: 38*11=418, Resulting Numbers: [19, 418]
Generated Node #3: [19, 418] from Operation: 38*11=418
Current State: 22:[19, 418], Operations: ['64-45=19', '38*11=418']
Exploring Operation: 418/19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[45, 64, 38, 11], Operations: []
Exploring Operation: 64-38=26, Resulting Numbers: [45, 11, 26]
Generated Node #0,0: 22:[45, 11, 26] Operation: 64-38=26
Exploring Operation: 64-45=19, Resulting Numbers: [38, 11, 19]
Generated Node #0,1: 22:[38, 11, 19] Operation: 64-45=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[38, 11, 19], Operations: ['64-45=19']
Exploring Operation: 38/19=2, Resulting Numbers: [11, 2]
Generated Node #0,1,0: 22:[11, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [11, 19]
Generated Node #0,1,1: 22:[11, 19] Operation: 38-19=19
Moving to Node #0,1,0
Current State: 22:[11, 2], Operations: ['64-45=19', '38/19=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[45, 64, 38, 11], Operations: []
Exploring Operation: 64-45=19, Resulting Numbers: [38, 11, 19]
Generated Node #0,1: 22:[38, 11, 19] Operation: 64-45=19
Moving to Node #0,1
Current State: 22:[38, 11, 19], Operations: ['64-45=19']
Exploring Operation: 38/19=2, Resulting Numbers: [11, 2]
Generated Node #0,1,0: 22:[11, 2] Operation: 38/19=2
Moving to Node #0,1,0
Current State: 22:[11, 2], Operations: ['64-45=19', '38/19=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
27,
14,
84,
36
] | 21 | [
"84/14=6",
"36/6=6",
"27-6=21"
] | Current State: 21:[27, 14, 84, 36], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [27, 36, 6]
Generated Node #2: [27, 36, 6] from Operation: 84/14=6
Current State: 21:[27, 36, 6], Operations: ['84/14=6']
Exploring Operation: 36/6=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 36/6=6
Current State: 21:[27, 6], Operations: ['84/14=6', '36/6=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[27, 14, 84, 36], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [14, 36, 57]
Generated Node #0,0: 21:[14, 36, 57] Operation: 84-27=57
Exploring Operation: 84-36=48, Resulting Numbers: [27, 14, 48]
Generated Node #0,1: 21:[27, 14, 48] Operation: 84-36=48
Exploring Operation: 84/14=6, Resulting Numbers: [27, 36, 6]
Generated Node #0,2: 21:[27, 36, 6] Operation: 84/14=6
Moving to Node #0,2
Current State: 21:[27, 36, 6], Operations: ['84/14=6']
Exploring Operation: 36/6=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 21:[27, 6] Operation: 36/6=6
Exploring Operation: 27-6=21, Resulting Numbers: [36, 21]
Generated Node #0,2,1: 21:[36, 21] Operation: 27-6=21
Exploring Operation: 36-27=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 21:[6, 9] Operation: 36-27=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[6, 9], Operations: ['84/14=6', '36-27=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,21 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[27, 6], Operations: ['84/14=6', '36/6=6']
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[27, 14, 84, 36], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [27, 36, 6]
Generated Node #0,2: 21:[27, 36, 6] Operation: 84/14=6
Moving to Node #0,2
Current State: 21:[27, 36, 6], Operations: ['84/14=6']
Exploring Operation: 36/6=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 21:[27, 6] Operation: 36/6=6
Moving to Node #0,2,0
Current State: 21:[27, 6], Operations: ['84/14=6', '36/6=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
25,
14,
78,
61
] | 81 | [
"14+61=75",
"75/25=3",
"78+3=81"
] | Current State: 81:[25, 14, 78, 61], Operations: []
Exploring Operation: 14+61=75, Resulting Numbers: [25, 78, 75]
Generated Node #2: [25, 78, 75] from Operation: 14+61=75
Current State: 81:[25, 78, 75], Operations: ['14+61=75']
Exploring Operation: 75/25=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 75/25=3
Current State: 81:[78, 3], Operations: ['14+61=75', '75/25=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[25, 14, 78, 61], Operations: []
Exploring Operation: 14+61=75, Resulting Numbers: [25, 78, 75]
Generated Node #0,0: 81:[25, 78, 75] Operation: 14+61=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[25, 78, 75], Operations: ['14+61=75']
Exploring Operation: 78-75=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 81:[25, 3] Operation: 78-75=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[25, 3], Operations: ['14+61=75', '78-75=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
58,
67,
14,
84
] | 27 | [
"58+67=125",
"14+84=98",
"125-98=27"
] | Current State: 27:[58, 67, 14, 84], Operations: []
Exploring Operation: 58+67=125, Resulting Numbers: [14, 84, 125]
Generated Node #2: [14, 84, 125] from Operation: 58+67=125
Current State: 27:[14, 84, 125], Operations: ['58+67=125']
Exploring Operation: 14+84=98, Resulting Numbers: [125, 98]
Generated Node #3: [125, 98] from Operation: 14+84=98
Current State: 27:[125, 98], Operations: ['58+67=125', '14+84=98']
Exploring Operation: 125-98=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[58, 67, 14, 84], Operations: []
Exploring Operation: 67-58=9, Resulting Numbers: [14, 84, 9]
Generated Node #0,0: 27:[14, 84, 9] Operation: 67-58=9
Exploring Operation: 84-67=17, Resulting Numbers: [58, 14, 17]
Generated Node #0,1: 27:[58, 14, 17] Operation: 84-67=17
Exploring Operation: 84-58=26, Resulting Numbers: [67, 14, 26]
Generated Node #0,2: 27:[67, 14, 26] Operation: 84-58=26
Exploring Operation: 84/14=6, Resulting Numbers: [58, 67, 6]
Generated Node #0,3: 27:[58, 67, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[58, 14, 17], Operations: ['84-67=17']
Exploring Operation: 58-17=41, Resulting Numbers: [14, 41]
Generated Node #0,1,0: 27:[14, 41] Operation: 58-17=41
Exploring Operation: 17-14=3, Resulting Numbers: [58, 3]
Generated Node #0,1,1: 27:[58, 3] Operation: 17-14=3
Exploring Operation: 58-14=44, Resulting Numbers: [17, 44]
Generated Node #0,1,2: 27:[17, 44] Operation: 58-14=44
Exploring Operation: 14+17=31, Resulting Numbers: [58, 31]
Generated Node #0,1,3: 27:[58, 31] Operation: 14+17=31
Moving to Node #0,1,0
Current State: 27:[14, 41], Operations: ['84-67=17', '58-17=41']
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,27 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[58, 67, 14, 84], Operations: []
Exploring Operation: 84-67=17, Resulting Numbers: [58, 14, 17]
Generated Node #0,1: 27:[58, 14, 17] Operation: 84-67=17
Moving to Node #0,1
Current State: 27:[58, 14, 17], Operations: ['84-67=17']
Exploring Operation: 58-17=41, Resulting Numbers: [14, 41]
Generated Node #0,1,0: 27:[14, 41] Operation: 58-17=41
Moving to Node #0,1,0
Current State: 27:[14, 41], Operations: ['84-67=17', '58-17=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
79,
73,
95,
73
] | 28 | [
"79-73=6",
"95+73=168",
"168/6=28"
] | Current State: 28:[79, 73, 95, 73], Operations: []
Exploring Operation: 79-73=6, Resulting Numbers: [95, 6]
Generated Node #2: [95, 6] from Operation: 79-73=6
Current State: 28:[95, 6], Operations: ['79-73=6']
Exploring Operation: 95+73=168, Resulting Numbers: [6, 168]
Generated Node #3: [6, 168] from Operation: 95+73=168
Current State: 28:[6, 168], Operations: ['79-73=6', '95+73=168']
Exploring Operation: 168/6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[79, 73, 95, 73], Operations: []
Exploring Operation: 95-73=22, Resulting Numbers: [79, 73, 22]
Generated Node #0,0: 28:[79, 73, 22] Operation: 95-73=22
Exploring Operation: 95-79=16, Resulting Numbers: [73, 73, 16]
Generated Node #0,1: 28:[73, 73, 16] Operation: 95-79=16
Exploring Operation: 79-73=6, Resulting Numbers: [73, 95, 6]
Generated Node #0,2: 28:[73, 95, 6] Operation: 79-73=6
Exploring Operation: 79-73=6, Resulting Numbers: [95, 73, 6]
Generated Node #0,3: 28:[95, 73, 6] Operation: 79-73=6
Exploring Operation: 95-73=22, Resulting Numbers: [79, 73, 22]
Generated Node #0,4: 28:[79, 73, 22] Operation: 95-73=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[73, 73, 16], Operations: ['95-79=16']
Exploring Operation: 73/73=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 28:[16, 1] Operation: 73/73=1
Exploring Operation: 73-73=0, Resulting Numbers: [16, 0]
Generated Node #0,1,1: 28:[16, 0] Operation: 73-73=0
Exploring Operation: 73-16=57, Resulting Numbers: [73, 57]
Generated Node #0,1,2: 28:[73, 57] Operation: 73-16=57
Exploring Operation: 73+16=89, Resulting Numbers: [73, 89]
Generated Node #0,1,3: 28:[73, 89] Operation: 73+16=89
Exploring Operation: 73-16=57, Resulting Numbers: [73, 57]
Generated Node #0,1,4: 28:[73, 57] Operation: 73-16=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[16, 1], Operations: ['95-79=16', '73/73=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,28 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No 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: 28:[16, 0], Operations: ['95-79=16', '73-73=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,28 unequal: No Solution
No 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: 28:[73, 57], Operations: ['95-79=16', '73-16=57']
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,28 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 28:[73, 57], Operations: ['95-79=16', '73-16=57']
Exploring Operation: 73+57=130, Resulting Numbers: [130]
130,28 unequal: No Solution
Exploring Operation: 73*57=4161, Resulting Numbers: [4161]
4161,28 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,28 unequal: No Solution
No 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: 28:[73, 89], Operations: ['95-79=16', '73+16=89']
Exploring Operation: 89-73=16, Resulting Numbers: [16]
16,28 unequal: No Solution
Exploring Operation: 73+89=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Exploring Operation: 73*89=6497, Resulting Numbers: [6497]
6497,28 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: 28:[79, 73, 22], Operations: ['95-73=22']
Exploring Operation: 73+22=95, Resulting Numbers: [79, 95]
Generated Node #0,0,0: 28:[79, 95] Operation: 73+22=95
Exploring Operation: 79+22=101, Resulting Numbers: [73, 101]
Generated Node #0,0,1: 28:[73, 101] Operation: 79+22=101
Exploring Operation: 79-22=57, Resulting Numbers: [73, 57]
Generated Node #0,0,2: 28:[73, 57] Operation: 79-22=57
Exploring Operation: 73-22=51, Resulting Numbers: [79, 51]
Generated Node #0,0,3: 28:[79, 51] Operation: 73-22=51
Exploring Operation: 79-73=6, Resulting Numbers: [22, 6]
Generated Node #0,0,4: 28:[22, 6] Operation: 79-73=6
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 28:[22, 6], Operations: ['95-73=22', '79-73=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[79, 73, 95, 73], Operations: []
Exploring Operation: 95-73=22, Resulting Numbers: [79, 73, 22]
Generated Node #0,0: 28:[79, 73, 22] Operation: 95-73=22
Moving to Node #0,0
Current State: 28:[79, 73, 22], Operations: ['95-73=22']
Exploring Operation: 79-73=6, Resulting Numbers: [22, 6]
Generated Node #0,0,4: 28:[22, 6] Operation: 79-73=6
Moving to Node #0,0,4
Current State: 28:[22, 6], Operations: ['95-73=22', '79-73=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
80,
94,
7,
62
] | 55 | [
"94-80=14",
"7+62=69",
"69-14=55"
] | Current State: 55:[80, 94, 7, 62], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [7, 62, 14]
Generated Node #2: [7, 62, 14] from Operation: 94-80=14
Current State: 55:[7, 62, 14], Operations: ['94-80=14']
Exploring Operation: 7+62=69, Resulting Numbers: [14, 69]
Generated Node #3: [14, 69] from Operation: 7+62=69
Current State: 55:[14, 69], Operations: ['94-80=14', '7+62=69']
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[80, 94, 7, 62], Operations: []
Exploring Operation: 94-7=87, Resulting Numbers: [80, 62, 87]
Generated Node #0,0: 55:[80, 62, 87] Operation: 94-7=87
Exploring Operation: 80-7=73, Resulting Numbers: [94, 62, 73]
Generated Node #0,1: 55:[94, 62, 73] Operation: 80-7=73
Exploring Operation: 94-62=32, Resulting Numbers: [80, 7, 32]
Generated Node #0,2: 55:[80, 7, 32] Operation: 94-62=32
Exploring Operation: 94-80=14, Resulting Numbers: [7, 62, 14]
Generated Node #0,3: 55:[7, 62, 14] Operation: 94-80=14
Exploring Operation: 80-62=18, Resulting Numbers: [94, 7, 18]
Generated Node #0,4: 55:[94, 7, 18] Operation: 80-62=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[7, 62, 14], Operations: ['94-80=14']
Exploring Operation: 62-7=55, Resulting Numbers: [14, 55]
Generated Node #0,3,0: 55:[14, 55] Operation: 62-7=55
Exploring Operation: 7+62=69, Resulting Numbers: [14, 69]
Generated Node #0,3,1: 55:[14, 69] Operation: 7+62=69
Exploring Operation: 14-7=7, Resulting Numbers: [62, 7]
Generated Node #0,3,2: 55:[62, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [62, 2]
Generated Node #0,3,3: 55:[62, 2] Operation: 14/7=2
Exploring Operation: 62-14=48, Resulting Numbers: [7, 48]
Generated Node #0,3,4: 55:[7, 48] Operation: 62-14=48
Moving to Node #0,3,0
Current State: 55:[14, 55], Operations: ['94-80=14', '62-7=55']
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,55 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[7, 48], Operations: ['94-80=14', '62-14=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[80, 94, 7, 62], Operations: []
Exploring Operation: 94-80=14, Resulting Numbers: [7, 62, 14]
Generated Node #0,3: 55:[7, 62, 14] Operation: 94-80=14
Moving to Node #0,3
Current State: 55:[7, 62, 14], Operations: ['94-80=14']
Exploring Operation: 62-14=48, Resulting Numbers: [7, 48]
Generated Node #0,3,4: 55:[7, 48] Operation: 62-14=48
Moving to Node #0,3,4
Current State: 55:[7, 48], Operations: ['94-80=14', '62-14=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
29,
74,
4,
31
] | 35 | [
"31-29=2",
"74-4=70",
"70/2=35"
] | Current State: 35:[29, 74, 4, 31], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [74, 4, 2]
Generated Node #2: [74, 4, 2] from Operation: 31-29=2
Current State: 35:[74, 4, 2], Operations: ['31-29=2']
Exploring Operation: 74-4=70, Resulting Numbers: [2, 70]
Generated Node #3: [2, 70] from Operation: 74-4=70
Current State: 35:[2, 70], Operations: ['31-29=2', '74-4=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[29, 74, 4, 31], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [29, 4, 43]
Generated Node #0,0: 35:[29, 4, 43] Operation: 74-31=43
Exploring Operation: 74-4=70, Resulting Numbers: [29, 31, 70]
Generated Node #0,1: 35:[29, 31, 70] Operation: 74-4=70
Exploring Operation: 74-29=45, Resulting Numbers: [4, 31, 45]
Generated Node #0,2: 35:[4, 31, 45] Operation: 74-29=45
Exploring Operation: 29+4=33, Resulting Numbers: [74, 31, 33]
Generated Node #0,3: 35:[74, 31, 33] Operation: 29+4=33
Exploring Operation: 31-29=2, Resulting Numbers: [74, 4, 2]
Generated Node #0,4: 35:[74, 4, 2] Operation: 31-29=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[29, 4, 43], Operations: ['74-31=43']
Exploring Operation: 4+43=47, Resulting Numbers: [29, 47]
Generated Node #0,0,0: 35:[29, 47] Operation: 4+43=47
Exploring Operation: 43-4=39, Resulting Numbers: [29, 39]
Generated Node #0,0,1: 35:[29, 39] Operation: 43-4=39
Exploring Operation: 29-4=25, Resulting Numbers: [43, 25]
Generated Node #0,0,2: 35:[43, 25] Operation: 29-4=25
Exploring Operation: 43-29=14, Resulting Numbers: [4, 14]
Generated Node #0,0,3: 35:[4, 14] Operation: 43-29=14
Exploring Operation: 29+4=33, Resulting Numbers: [43, 33]
Generated Node #0,0,4: 35:[43, 33] Operation: 29+4=33
Moving to Node #0,0,3
Current State: 35:[4, 14], Operations: ['74-31=43', '43-29=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[43, 33], Operations: ['74-31=43', '29+4=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[29, 39], Operations: ['74-31=43', '43-4=39']
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,35 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[29, 47], Operations: ['74-31=43', '4+43=47']
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,35 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[43, 25], Operations: ['74-31=43', '29-4=25']
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[4, 31, 45], Operations: ['74-29=45']
Exploring Operation: 31-4=27, Resulting Numbers: [45, 27]
Generated Node #0,2,0: 35:[45, 27] Operation: 31-4=27
Exploring Operation: 4+45=49, Resulting Numbers: [31, 49]
Generated Node #0,2,1: 35:[31, 49] Operation: 4+45=49
Exploring Operation: 45-4=41, Resulting Numbers: [31, 41]
Generated Node #0,2,2: 35:[31, 41] Operation: 45-4=41
Exploring Operation: 4+31=35, Resulting Numbers: [45, 35]
Generated Node #0,2,3: 35:[45, 35] Operation: 4+31=35
Exploring Operation: 45-31=14, Resulting Numbers: [4, 14]
Generated Node #0,2,4: 35:[4, 14] Operation: 45-31=14
Moving to Node #0,2,4
Current State: 35:[4, 14], Operations: ['74-29=45', '45-31=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,35 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[45, 35], Operations: ['74-29=45', '4+31=35']
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[31, 41], Operations: ['74-29=45', '45-4=41']
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[45, 27], Operations: ['74-29=45', '31-4=27']
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,35 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[31, 49], Operations: ['74-29=45', '4+45=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,35 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,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,4
Current State: 35:[74, 4, 2], Operations: ['31-29=2']
Exploring Operation: 74-2=72, Resulting Numbers: [4, 72]
Generated Node #0,4,0: 35:[4, 72] Operation: 74-2=72
Exploring Operation: 4+2=6, Resulting Numbers: [74, 6]
Generated Node #0,4,1: 35:[74, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [74, 8]
Generated Node #0,4,2: 35:[74, 8] Operation: 4*2=8
Exploring Operation: 74-4=70, Resulting Numbers: [2, 70]
Generated Node #0,4,3: 35:[2, 70] Operation: 74-4=70
Exploring Operation: 74/2=37, Resulting Numbers: [4, 37]
Generated Node #0,4,4: 35:[4, 37] Operation: 74/2=37
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 35:[4, 37], Operations: ['31-29=2', '74/2=37']
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,35 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 35:[4, 72], Operations: ['31-29=2', '74-2=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,35 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 35:[2, 70], Operations: ['31-29=2', '74-4=70']
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,35 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,35 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,35 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[29, 74, 4, 31], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [74, 4, 2]
Generated Node #0,4: 35:[74, 4, 2] Operation: 31-29=2
Moving to Node #0,4
Current State: 35:[74, 4, 2], Operations: ['31-29=2']
Exploring Operation: 74-4=70, Resulting Numbers: [2, 70]
Generated Node #0,4,3: 35:[2, 70] Operation: 74-4=70
Moving to Node #0,4,3
Current State: 35:[2, 70], Operations: ['31-29=2', '74-4=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_5 | sum_heuristic |
[
62,
62,
7,
24
] | 24 | [
"62-62=0",
"7*0=0",
"24+0=24"
] | Current State: 24:[62, 62, 7, 24], Operations: []
Exploring Operation: 62-62=0, Resulting Numbers: [7, 24, 0]
Generated Node #2: [7, 24, 0] from Operation: 62-62=0
Current State: 24:[7, 24, 0], Operations: ['62-62=0']
Exploring Operation: 7*0=0, Resulting Numbers: [24, 0]
Generated Node #3: [24, 0] from Operation: 7*0=0
Current State: 24:[24, 0], Operations: ['62-62=0', '7*0=0']
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[62, 62, 7, 24], Operations: []
Exploring Operation: 62-62=0, Resulting Numbers: [7, 24, 0]
Generated Node #0,0: 24:[7, 24, 0] Operation: 62-62=0
Exploring Operation: 62-24=38, Resulting Numbers: [62, 7, 38]
Generated Node #0,1: 24:[62, 7, 38] Operation: 62-24=38
Exploring Operation: 62/62=1, Resulting Numbers: [7, 24, 1]
Generated Node #0,2: 24:[7, 24, 1] Operation: 62/62=1
Moving to Node #0,2
Current State: 24:[7, 24, 1], Operations: ['62/62=1']
Exploring Operation: 7-1=6, Resulting Numbers: [24, 6]
Generated Node #0,2,0: 24:[24, 6] Operation: 7-1=6
Exploring Operation: 7*1=7, Resulting Numbers: [24, 7]
Generated Node #0,2,1: 24:[24, 7] Operation: 7*1=7
Exploring Operation: 7+1=8, Resulting Numbers: [24, 8]
Generated Node #0,2,2: 24:[24, 8] Operation: 7+1=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[24, 6], Operations: ['62/62=1', '7-1=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[24, 8], Operations: ['62/62=1', '7+1=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[24, 7], Operations: ['62/62=1', '7*1=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,24 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: 24:[7, 24, 0], Operations: ['62-62=0']
Exploring Operation: 24+0=24, Resulting Numbers: [7, 24]
Generated Node #0,0,0: 24:[7, 24] Operation: 24+0=24
Exploring Operation: 7+0=7, Resulting Numbers: [24, 7]
Generated Node #0,0,1: 24:[24, 7] Operation: 7+0=7
Exploring Operation: 7-0=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 24:[24, 7] Operation: 7-0=7
Moving to Node #0,1
Current State: 24:[62, 7, 38], Operations: ['62-24=38']
Exploring Operation: 38-7=31, Resulting Numbers: [62, 31]
Generated Node #0,1,0: 24:[62, 31] Operation: 38-7=31
Exploring Operation: 62-7=55, Resulting Numbers: [38, 55]
Generated Node #0,1,1: 24:[38, 55] Operation: 62-7=55
Exploring Operation: 62-38=24, Resulting Numbers: [7, 24]
Generated Node #0,1,2: 24:[7, 24] Operation: 62-38=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[7, 24], Operations: ['62-24=38', '62-38=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[62, 31], Operations: ['62-24=38', '38-7=31']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 62+31=93, Resulting Numbers: [93]
93,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[38, 55], Operations: ['62-24=38', '62-7=55']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 38+55=93, Resulting Numbers: [93]
93,24 unequal: No Solution
Exploring Operation: 38*55=2090, Resulting Numbers: [2090]
2090,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 24:[7, 24], Operations: ['62-62=0', '24+0=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[24, 7], Operations: ['62-62=0', '7+0=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[24, 7], Operations: ['62-62=0', '7-0=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,24 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,24 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
56,
59,
53
] | 10 | [
"83-53=30",
"59-56=3",
"30/3=10"
] | Current State: 10:[83, 56, 59, 53], Operations: []
Exploring Operation: 83-53=30, Resulting Numbers: [56, 59, 30]
Generated Node #2: [56, 59, 30] from Operation: 83-53=30
Current State: 10:[56, 59, 30], Operations: ['83-53=30']
Exploring Operation: 59-56=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 59-56=3
Current State: 10:[30, 3], Operations: ['83-53=30', '59-56=3']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[83, 56, 59, 53], Operations: []
Exploring Operation: 83-59=24, Resulting Numbers: [56, 53, 24]
Generated Node #0,0: 10:[56, 53, 24] Operation: 83-59=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[56, 53, 24], Operations: ['83-59=24']
Exploring Operation: 56-53=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 10:[24, 3] Operation: 56-53=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[24, 3], Operations: ['83-59=24', '56-53=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
78,
10,
79,
24
] | 33 | [
"78+10=88",
"79-24=55",
"88-55=33"
] | Current State: 33:[78, 10, 79, 24], Operations: []
Exploring Operation: 78+10=88, Resulting Numbers: [79, 24, 88]
Generated Node #2: [79, 24, 88] from Operation: 78+10=88
Current State: 33:[79, 24, 88], Operations: ['78+10=88']
Exploring Operation: 79-24=55, Resulting Numbers: [88, 55]
Generated Node #3: [88, 55] from Operation: 79-24=55
Current State: 33:[88, 55], Operations: ['78+10=88', '79-24=55']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[78, 10, 79, 24], Operations: []
Exploring Operation: 79-24=55, Resulting Numbers: [78, 10, 55]
Generated Node #0,0: 33:[78, 10, 55] Operation: 79-24=55
Exploring Operation: 79-78=1, Resulting Numbers: [10, 24, 1]
Generated Node #0,1: 33:[10, 24, 1] Operation: 79-78=1
Exploring Operation: 79-10=69, Resulting Numbers: [78, 24, 69]
Generated Node #0,2: 33:[78, 24, 69] Operation: 79-10=69
Exploring Operation: 78-10=68, Resulting Numbers: [79, 24, 68]
Generated Node #0,3: 33:[79, 24, 68] Operation: 78-10=68
Exploring Operation: 78-24=54, Resulting Numbers: [10, 79, 54]
Generated Node #0,4: 33:[10, 79, 54] Operation: 78-24=54
Moving to Node #0,1
Current State: 33:[10, 24, 1], Operations: ['79-78=1']
Exploring Operation: 24-10=14, Resulting Numbers: [1, 14]
Generated Node #0,1,0: 33:[1, 14] Operation: 24-10=14
Exploring Operation: 10+24=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 33:[1, 34] Operation: 10+24=34
Exploring Operation: 10*1=10, Resulting Numbers: [24, 10]
Generated Node #0,1,2: 33:[24, 10] Operation: 10*1=10
Exploring Operation: 24+1=25, Resulting Numbers: [10, 25]
Generated Node #0,1,3: 33:[10, 25] Operation: 24+1=25
Exploring Operation: 10+1=11, Resulting Numbers: [24, 11]
Generated Node #0,1,4: 33:[24, 11] Operation: 10+1=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[1, 34], Operations: ['79-78=1', '10+24=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,33 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[78, 10, 79, 24], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [10, 24, 1]
Generated Node #0,1: 33:[10, 24, 1] Operation: 79-78=1
Moving to Node #0,1
Current State: 33:[10, 24, 1], Operations: ['79-78=1']
Exploring Operation: 10+24=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 33:[1, 34] Operation: 10+24=34
Moving to Node #0,1,1
Current State: 33:[1, 34], Operations: ['79-78=1', '10+24=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
24,
48,
2,
20
] | 14 | [
"48-24=24",
"20/2=10",
"24-10=14"
] | Current State: 14:[24, 48, 2, 20], Operations: []
Exploring Operation: 48-24=24, Resulting Numbers: [2, 20, 24]
Generated Node #2: [2, 20, 24] from Operation: 48-24=24
Current State: 14:[2, 20, 24], Operations: ['48-24=24']
Exploring Operation: 20/2=10, Resulting Numbers: [24, 10]
Generated Node #3: [24, 10] from Operation: 20/2=10
Current State: 14:[24, 10], Operations: ['48-24=24', '20/2=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[24, 48, 2, 20], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [2, 20, 2]
Generated Node #0,0: 14:[2, 20, 2] Operation: 48/24=2
Moving to Node #0,0
Current State: 14:[2, 20, 2], Operations: ['48/24=2']
Exploring Operation: 20/2=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 14:[2, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[2, 10], Operations: ['48/24=2', '20/2=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
52,
8,
19
] | 84 | [
"52-48=4",
"19*4=76",
"8+76=84"
] | Current State: 84:[48, 52, 8, 19], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [8, 19, 4]
Generated Node #2: [8, 19, 4] from Operation: 52-48=4
Current State: 84:[8, 19, 4], Operations: ['52-48=4']
Exploring Operation: 19*4=76, Resulting Numbers: [8, 76]
Generated Node #3: [8, 76] from Operation: 19*4=76
Current State: 84:[8, 76], Operations: ['52-48=4', '19*4=76']
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[48, 52, 8, 19], Operations: []
Exploring Operation: 52-8=44, Resulting Numbers: [48, 19, 44]
Generated Node #0,0: 84:[48, 19, 44] Operation: 52-8=44
Exploring Operation: 52-48=4, Resulting Numbers: [8, 19, 4]
Generated Node #0,1: 84:[8, 19, 4] Operation: 52-48=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[8, 19, 4], Operations: ['52-48=4']
Exploring Operation: 19-8=11, Resulting Numbers: [4, 11]
Generated Node #0,1,0: 84:[4, 11] Operation: 19-8=11
Exploring Operation: 8+19=27, Resulting Numbers: [4, 27]
Generated Node #0,1,1: 84:[4, 27] Operation: 8+19=27
Moving to Node #0,1,0
Current State: 84:[4, 11], Operations: ['52-48=4', '19-8=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[4, 27], Operations: ['52-48=4', '8+19=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,84 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,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
Current State: 84:[48, 19, 44], Operations: ['52-8=44']
Exploring Operation: 48-19=29, Resulting Numbers: [44, 29]
Generated Node #0,0,0: 84:[44, 29] Operation: 48-19=29
Exploring Operation: 48-44=4, Resulting Numbers: [19, 4]
Generated Node #0,0,1: 84:[19, 4] Operation: 48-44=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[19, 4], Operations: ['52-8=44', '48-44=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[44, 29], Operations: ['52-8=44', '48-19=29']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
31,
11,
88
] | 86 | [
"3*11=33",
"31+88=119",
"119-33=86"
] | Current State: 86:[3, 31, 11, 88], Operations: []
Exploring Operation: 3*11=33, Resulting Numbers: [31, 88, 33]
Generated Node #2: [31, 88, 33] from Operation: 3*11=33
Current State: 86:[31, 88, 33], Operations: ['3*11=33']
Exploring Operation: 31+88=119, Resulting Numbers: [33, 119]
Generated Node #3: [33, 119] from Operation: 31+88=119
Current State: 86:[33, 119], Operations: ['3*11=33', '31+88=119']
Exploring Operation: 119-33=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[3, 31, 11, 88], Operations: []
Exploring Operation: 31+11=42, Resulting Numbers: [3, 88, 42]
Generated Node #0,0: 86:[3, 88, 42] Operation: 31+11=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[3, 88, 42], Operations: ['31+11=42']
Exploring Operation: 88-3=85, Resulting Numbers: [42, 85]
Generated Node #0,0,0: 86:[42, 85] Operation: 88-3=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[42, 85], Operations: ['31+11=42', '88-3=85']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
73,
75,
53
] | 97 | [
"2+73=75",
"75-53=22",
"75+22=97"
] | Current State: 97:[2, 73, 75, 53], Operations: []
Exploring Operation: 2+73=75, Resulting Numbers: [75, 53, 75]
Generated Node #2: [75, 53, 75] from Operation: 2+73=75
Current State: 97:[75, 53, 75], Operations: ['2+73=75']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,97 equal: Goal Reached
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[2, 73, 75, 53], Operations: []
Exploring Operation: 2*53=106, Resulting Numbers: [73, 75, 106]
Generated Node #0,0: 97:[73, 75, 106] Operation: 2*53=106
Moving to Node #0,0
Current State: 97:[73, 75, 106], Operations: ['2*53=106']
Exploring Operation: 73+75=148, Resulting Numbers: [106, 148]
Generated Node #0,0,0: 97:[106, 148] Operation: 73+75=148
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[106, 148], Operations: ['2*53=106', '73+75=148']
Exploring Operation: 148-106=42, Resulting Numbers: [42]
42,97 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 |
[
43,
36,
51,
16
] | 42 | [
"43-36=7",
"51-16=35",
"7+35=42"
] | Current State: 42:[43, 36, 51, 16], Operations: []
Exploring Operation: 43-36=7, Resulting Numbers: [51, 16, 7]
Generated Node #2: [51, 16, 7] from Operation: 43-36=7
Current State: 42:[51, 16, 7], Operations: ['43-36=7']
Exploring Operation: 51-16=35, Resulting Numbers: [7, 35]
Generated Node #3: [7, 35] from Operation: 51-16=35
Current State: 42:[7, 35], Operations: ['43-36=7', '51-16=35']
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[43, 36, 51, 16], Operations: []
Exploring Operation: 51-43=8, Resulting Numbers: [36, 16, 8]
Generated Node #0,0: 42:[36, 16, 8] Operation: 51-43=8
Exploring Operation: 51-36=15, Resulting Numbers: [43, 16, 15]
Generated Node #0,1: 42:[43, 16, 15] Operation: 51-36=15
Moving to Node #0,1
Current State: 42:[43, 16, 15], Operations: ['51-36=15']
Exploring Operation: 43-16=27, Resulting Numbers: [15, 27]
Generated Node #0,1,0: 42:[15, 27] Operation: 43-16=27
Exploring Operation: 16-15=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 42:[43, 1] Operation: 16-15=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[43, 1], Operations: ['51-36=15', '16-15=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[43, 36, 51, 16], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [43, 16, 15]
Generated Node #0,1: 42:[43, 16, 15] Operation: 51-36=15
Moving to Node #0,1
Current State: 42:[43, 16, 15], Operations: ['51-36=15']
Exploring Operation: 16-15=1, Resulting Numbers: [43, 1]
Generated Node #0,1,1: 42:[43, 1] Operation: 16-15=1
Moving to Node #0,1,1
Current State: 42:[43, 1], Operations: ['51-36=15', '16-15=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
80,
9,
44,
19
] | 26 | [
"80+9=89",
"44+19=63",
"89-63=26"
] | Current State: 26:[80, 9, 44, 19], Operations: []
Exploring Operation: 80+9=89, Resulting Numbers: [44, 19, 89]
Generated Node #2: [44, 19, 89] from Operation: 80+9=89
Current State: 26:[44, 19, 89], Operations: ['80+9=89']
Exploring Operation: 44+19=63, Resulting Numbers: [89, 63]
Generated Node #3: [89, 63] from Operation: 44+19=63
Current State: 26:[89, 63], Operations: ['80+9=89', '44+19=63']
Exploring Operation: 89-63=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[80, 9, 44, 19], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [9, 19, 36]
Generated Node #0,0: 26:[9, 19, 36] Operation: 80-44=36
Exploring Operation: 80-19=61, Resulting Numbers: [9, 44, 61]
Generated Node #0,1: 26:[9, 44, 61] Operation: 80-19=61
Moving to Node #0,0
Current State: 26:[9, 19, 36], Operations: ['80-44=36']
Exploring Operation: 36/9=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 26:[19, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [19, 27]
Generated Node #0,0,1: 26:[19, 27] Operation: 36-9=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[19, 27], Operations: ['80-44=36', '36-9=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,26 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,26 unequal: No Solution
No 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: 26:[19, 4], Operations: ['80-44=36', '36/9=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,26 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: 26:[9, 44, 61], Operations: ['80-19=61']
Exploring Operation: 61-44=17, Resulting Numbers: [9, 17]
Generated Node #0,1,0: 26:[9, 17] Operation: 61-44=17
Exploring Operation: 44-9=35, Resulting Numbers: [61, 35]
Generated Node #0,1,1: 26:[61, 35] Operation: 44-9=35
Moving to Node #0,1,0
Current State: 26:[9, 17], Operations: ['80-19=61', '61-44=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[80, 9, 44, 19], Operations: []
Exploring Operation: 80-19=61, Resulting Numbers: [9, 44, 61]
Generated Node #0,1: 26:[9, 44, 61] Operation: 80-19=61
Moving to Node #0,1
Current State: 26:[9, 44, 61], Operations: ['80-19=61']
Exploring Operation: 61-44=17, Resulting Numbers: [9, 17]
Generated Node #0,1,0: 26:[9, 17] Operation: 61-44=17
Moving to Node #0,1,0
Current State: 26:[9, 17], Operations: ['80-19=61', '61-44=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
13,
42,
95,
42
] | 82 | [
"13+42=55",
"95+42=137",
"137-55=82"
] | Current State: 82:[13, 42, 95, 42], Operations: []
Exploring Operation: 13+42=55, Resulting Numbers: [95, 55]
Generated Node #2: [95, 55] from Operation: 13+42=55
Current State: 82:[95, 55], Operations: ['13+42=55']
Exploring Operation: 95+42=137, Resulting Numbers: [55, 137]
Generated Node #3: [55, 137] from Operation: 95+42=137
Current State: 82:[55, 137], Operations: ['13+42=55', '95+42=137']
Exploring Operation: 137-55=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[13, 42, 95, 42], Operations: []
Exploring Operation: 95-13=82, Resulting Numbers: [42, 42, 82]
Generated Node #0,0: 82:[42, 42, 82] Operation: 95-13=82
Moving to Node #0,0
Current State: 82:[42, 42, 82], Operations: ['95-13=82']
Exploring Operation: 42/42=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 82:[82, 1] Operation: 42/42=1
Moving to Node #0,0,0
Current State: 82:[82, 1], Operations: ['95-13=82', '42/42=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[13, 42, 95, 42], Operations: []
Exploring Operation: 95-13=82, Resulting Numbers: [42, 42, 82]
Generated Node #0,0: 82:[42, 42, 82] Operation: 95-13=82
Moving to Node #0,0
Current State: 82:[42, 42, 82], Operations: ['95-13=82']
Exploring Operation: 42/42=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 82:[82, 1] Operation: 42/42=1
Moving to Node #0,0,0
Current State: 82:[82, 1], Operations: ['95-13=82', '42/42=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
48,
34,
97,
82
] | 97 | [
"48+34=82",
"97+82=179",
"179-82=97"
] | Current State: 97:[48, 34, 97, 82], Operations: []
Exploring Operation: 48+34=82, Resulting Numbers: [97, 82, 82]
Generated Node #2: [97, 82, 82] from Operation: 48+34=82
Current State: 97:[97, 82, 82], Operations: ['48+34=82']
Exploring Operation: 97+82=179, Resulting Numbers: [179]
179,97 equal: Goal Reached
Exploring Operation: 179-82=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[48, 34, 97, 82], Operations: []
Exploring Operation: 48+34=82, Resulting Numbers: [97, 82, 82]
Generated Node #0,0: 97:[97, 82, 82] Operation: 48+34=82
Moving to Node #0,0
Current State: 97:[97, 82, 82], Operations: ['48+34=82']
Exploring Operation: 82+82=164, Resulting Numbers: [97, 164]
Generated Node #0,0,0: 97:[97, 164] Operation: 82+82=164
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[97, 164], Operations: ['48+34=82', '82+82=164']
Exploring Operation: 164-97=67, Resulting Numbers: [67]
67,97 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 |
[
22,
18,
77,
13
] | 16 | [
"22-18=4",
"77-13=64",
"64/4=16"
] | Current State: 16:[22, 18, 77, 13], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [77, 13, 4]
Generated Node #2: [77, 13, 4] from Operation: 22-18=4
Current State: 16:[77, 13, 4], Operations: ['22-18=4']
Exploring Operation: 77-13=64, Resulting Numbers: [4, 64]
Generated Node #3: [4, 64] from Operation: 77-13=64
Current State: 16:[4, 64], Operations: ['22-18=4', '77-13=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[22, 18, 77, 13], Operations: []
Exploring Operation: 77-13=64, Resulting Numbers: [22, 18, 64]
Generated Node #0,0: 16:[22, 18, 64] Operation: 77-13=64
Exploring Operation: 77-18=59, Resulting Numbers: [22, 13, 59]
Generated Node #0,1: 16:[22, 13, 59] Operation: 77-18=59
Exploring Operation: 77-22=55, Resulting Numbers: [18, 13, 55]
Generated Node #0,2: 16:[18, 13, 55] Operation: 77-22=55
Exploring Operation: 22-18=4, Resulting Numbers: [77, 13, 4]
Generated Node #0,3: 16:[77, 13, 4] Operation: 22-18=4
Exploring Operation: 22-13=9, Resulting Numbers: [18, 77, 9]
Generated Node #0,4: 16:[18, 77, 9] Operation: 22-13=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[18, 13, 55], Operations: ['77-22=55']
Exploring Operation: 55-18=37, Resulting Numbers: [13, 37]
Generated Node #0,2,0: 16:[13, 37] Operation: 55-18=37
Exploring Operation: 13+55=68, Resulting Numbers: [18, 68]
Generated Node #0,2,1: 16:[18, 68] Operation: 13+55=68
Exploring Operation: 55-13=42, Resulting Numbers: [18, 42]
Generated Node #0,2,2: 16:[18, 42] Operation: 55-13=42
Exploring Operation: 18-13=5, Resulting Numbers: [55, 5]
Generated Node #0,2,3: 16:[55, 5] Operation: 18-13=5
Exploring Operation: 18+13=31, Resulting Numbers: [55, 31]
Generated Node #0,2,4: 16:[55, 31] Operation: 18+13=31
Moving to Node #0,2,0
Current State: 16:[13, 37], Operations: ['77-22=55', '55-18=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[18, 42], Operations: ['77-22=55', '55-13=42']
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,16 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[55, 5], Operations: ['77-22=55', '18-13=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,16 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[18, 68], Operations: ['77-22=55', '13+55=68']
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 18*68=1224, Resulting Numbers: [1224]
1224,16 unequal: No Solution
Exploring Operation: 18+68=86, Resulting Numbers: [86]
86,16 unequal: No Solution
Moving to Node #0,2,4
Current State: 16:[55, 31], Operations: ['77-22=55', '18+13=31']
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,16 unequal: No Solution
Exploring Operation: 55*31=1705, Resulting Numbers: [1705]
1705,16 unequal: No Solution
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[22, 13, 59], Operations: ['77-18=59']
Exploring Operation: 22-13=9, Resulting Numbers: [59, 9]
Generated Node #0,1,0: 16:[59, 9] Operation: 22-13=9
Exploring Operation: 59-22=37, Resulting Numbers: [13, 37]
Generated Node #0,1,1: 16:[13, 37] Operation: 59-22=37
Exploring Operation: 13+59=72, Resulting Numbers: [22, 72]
Generated Node #0,1,2: 16:[22, 72] Operation: 13+59=72
Exploring Operation: 59-13=46, Resulting Numbers: [22, 46]
Generated Node #0,1,3: 16:[22, 46] Operation: 59-13=46
Exploring Operation: 22+13=35, Resulting Numbers: [59, 35]
Generated Node #0,1,4: 16:[59, 35] Operation: 22+13=35
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[13, 37], Operations: ['77-18=59', '59-22=37']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,16 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No 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: 16:[22, 46], Operations: ['77-18=59', '59-13=46']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,16 unequal: No Solution
No 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: 16:[59, 9], Operations: ['77-18=59', '22-13=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,16 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No 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: 16:[22, 72], Operations: ['77-18=59', '13+59=72']
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,16 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,16 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 16:[59, 35], Operations: ['77-18=59', '22+13=35']
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,16 unequal: No Solution
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,16 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,16 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: 16:[22, 18, 64], Operations: ['77-13=64']
Exploring Operation: 64-22=42, Resulting Numbers: [18, 42]
Generated Node #0,0,0: 16:[18, 42] Operation: 64-22=42
Exploring Operation: 22-18=4, Resulting Numbers: [64, 4]
Generated Node #0,0,1: 16:[64, 4] Operation: 22-18=4
Exploring Operation: 22+18=40, Resulting Numbers: [64, 40]
Generated Node #0,0,2: 16:[64, 40] Operation: 22+18=40
Exploring Operation: 64-18=46, Resulting Numbers: [22, 46]
Generated Node #0,0,3: 16:[22, 46] Operation: 64-18=46
Exploring Operation: 22+64=86, Resulting Numbers: [18, 86]
Generated Node #0,0,4: 16:[18, 86] Operation: 22+64=86
Moving to Node #0,0,0
Current State: 16:[18, 42], Operations: ['77-13=64', '64-22=42']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[22, 46], Operations: ['77-13=64', '64-18=46']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,16 unequal: No Solution
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[64, 4], Operations: ['77-13=64', '22-18=4']
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,16 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[22, 18, 77, 13], Operations: []
Exploring Operation: 77-13=64, Resulting Numbers: [22, 18, 64]
Generated Node #0,0: 16:[22, 18, 64] Operation: 77-13=64
Moving to Node #0,0
Current State: 16:[22, 18, 64], Operations: ['77-13=64']
Exploring Operation: 22-18=4, Resulting Numbers: [64, 4]
Generated Node #0,0,1: 16:[64, 4] Operation: 22-18=4
Moving to Node #0,0,1
Current State: 16:[64, 4], Operations: ['77-13=64', '22-18=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_5 | mult_heuristic |
[
10,
31,
56,
80
] | 79 | [
"80/10=8",
"31+56=87",
"87-8=79"
] | Current State: 79:[10, 31, 56, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [31, 56, 8]
Generated Node #2: [31, 56, 8] from Operation: 80/10=8
Current State: 79:[31, 56, 8], Operations: ['80/10=8']
Exploring Operation: 31+56=87, Resulting Numbers: [8, 87]
Generated Node #3: [8, 87] from Operation: 31+56=87
Current State: 79:[8, 87], Operations: ['80/10=8', '31+56=87']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[10, 31, 56, 80], Operations: []
Exploring Operation: 10+31=41, Resulting Numbers: [56, 80, 41]
Generated Node #0,0: 79:[56, 80, 41] Operation: 10+31=41
Exploring Operation: 10+56=66, Resulting Numbers: [31, 80, 66]
Generated Node #0,1: 79:[31, 80, 66] Operation: 10+56=66
Moving to Node #0,0
Current State: 79:[56, 80, 41], Operations: ['10+31=41']
Exploring Operation: 80-41=39, Resulting Numbers: [56, 39]
Generated Node #0,0,0: 79:[56, 39] Operation: 80-41=39
Exploring Operation: 56+41=97, Resulting Numbers: [80, 97]
Generated Node #0,0,1: 79:[80, 97] Operation: 56+41=97
Moving to Node #0,1
Current State: 79:[31, 80, 66], Operations: ['10+56=66']
Exploring Operation: 31+66=97, Resulting Numbers: [80, 97]
Generated Node #0,1,0: 79:[80, 97] Operation: 31+66=97
Exploring Operation: 80-31=49, Resulting Numbers: [66, 49]
Generated Node #0,1,1: 79:[66, 49] Operation: 80-31=49
Moving to Node #0,0,1
Current State: 79:[80, 97], Operations: ['10+31=41', '56+41=97']
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[80, 97], Operations: ['10+56=66', '31+66=97']
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,79 unequal: No Solution
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[66, 49], Operations: ['10+56=66', '80-31=49']
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,79 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[56, 39], Operations: ['10+31=41', '80-41=39']
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,79 unequal: No Solution
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,79 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
86,
48,
57,
66
] | 85 | [
"86-48=38",
"57+66=123",
"123-38=85"
] | Current State: 85:[86, 48, 57, 66], Operations: []
Exploring Operation: 86-48=38, Resulting Numbers: [57, 66, 38]
Generated Node #2: [57, 66, 38] from Operation: 86-48=38
Current State: 85:[57, 66, 38], Operations: ['86-48=38']
Exploring Operation: 57+66=123, Resulting Numbers: [38, 123]
Generated Node #3: [38, 123] from Operation: 57+66=123
Current State: 85:[38, 123], Operations: ['86-48=38', '57+66=123']
Exploring Operation: 123-38=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[86, 48, 57, 66], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [86, 57, 18]
Generated Node #0,0: 85:[86, 57, 18] Operation: 66-48=18
Exploring Operation: 66-57=9, Resulting Numbers: [86, 48, 9]
Generated Node #0,1: 85:[86, 48, 9] Operation: 66-57=9
Exploring Operation: 57-48=9, Resulting Numbers: [86, 66, 9]
Generated Node #0,2: 85:[86, 66, 9] Operation: 57-48=9
Moving to Node #0,2
Current State: 85:[86, 66, 9], Operations: ['57-48=9']
Exploring Operation: 66+9=75, Resulting Numbers: [86, 75]
Generated Node #0,2,0: 85:[86, 75] Operation: 66+9=75
Exploring Operation: 86-9=77, Resulting Numbers: [66, 77]
Generated Node #0,2,1: 85:[66, 77] Operation: 86-9=77
Exploring Operation: 86-66=20, Resulting Numbers: [9, 20]
Generated Node #0,2,2: 85:[9, 20] Operation: 86-66=20
Moving to Node #0,0
Current State: 85:[86, 57, 18], Operations: ['66-48=18']
Exploring Operation: 57-18=39, Resulting Numbers: [86, 39]
Generated Node #0,0,0: 85:[86, 39] Operation: 57-18=39
Exploring Operation: 57+18=75, Resulting Numbers: [86, 75]
Generated Node #0,0,1: 85:[86, 75] Operation: 57+18=75
Exploring Operation: 86-57=29, Resulting Numbers: [18, 29]
Generated Node #0,0,2: 85:[18, 29] Operation: 86-57=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[86, 75], Operations: ['66-48=18', '57+18=75']
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,85 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[18, 29], Operations: ['66-48=18', '86-57=29']
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,85 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[86, 39], Operations: ['66-48=18', '57-18=39']
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,85 unequal: No Solution
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[86, 48, 9], Operations: ['66-57=9']
Exploring Operation: 48-9=39, Resulting Numbers: [86, 39]
Generated Node #0,1,0: 85:[86, 39] Operation: 48-9=39
Exploring Operation: 86-48=38, Resulting Numbers: [9, 38]
Generated Node #0,1,1: 85:[9, 38] Operation: 86-48=38
Exploring Operation: 48+9=57, Resulting Numbers: [86, 57]
Generated Node #0,1,2: 85:[86, 57] Operation: 48+9=57
Moving to Node #0,2,2
Current State: 85:[9, 20], Operations: ['57-48=9', '86-66=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,85 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[86, 75], Operations: ['57-48=9', '66+9=75']
Exploring Operation: 86*75=6450, Resulting Numbers: [6450]
6450,85 unequal: No Solution
Exploring Operation: 86+75=161, Resulting Numbers: [161]
161,85 unequal: No Solution
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[86, 39], Operations: ['66-57=9', '48-9=39']
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,85 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[9, 38], Operations: ['66-57=9', '86-48=38']
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[66, 77], Operations: ['57-48=9', '86-9=77']
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,85 unequal: No Solution
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,85 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[86, 57], Operations: ['66-57=9', '48+9=57']
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 86+57=143, Resulting Numbers: [143]
143,85 unequal: No Solution
Exploring Operation: 86*57=4902, Resulting Numbers: [4902]
4902,85 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
36,
31,
78,
78
] | 68 | [
"36+31=67",
"78/78=1",
"67+1=68"
] | Current State: 68:[36, 31, 78, 78], Operations: []
Exploring Operation: 36+31=67, Resulting Numbers: [78, 78, 67]
Generated Node #2: [78, 78, 67] from Operation: 36+31=67
Current State: 68:[78, 78, 67], Operations: ['36+31=67']
Exploring Operation: 78/78=1, Resulting Numbers: [67, 1]
Generated Node #3: [67, 1] from Operation: 78/78=1
Current State: 68:[67, 1], Operations: ['36+31=67', '78/78=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[36, 31, 78, 78], Operations: []
Exploring Operation: 36+31=67, Resulting Numbers: [78, 78, 67]
Generated Node #0,0: 68:[78, 78, 67] Operation: 36+31=67
Exploring Operation: 36-31=5, Resulting Numbers: [78, 78, 5]
Generated Node #0,1: 68:[78, 78, 5] Operation: 36-31=5
Exploring Operation: 78-78=0, Resulting Numbers: [36, 31, 0]
Generated Node #0,2: 68:[36, 31, 0] Operation: 78-78=0
Exploring Operation: 78/78=1, Resulting Numbers: [36, 31, 1]
Generated Node #0,3: 68:[36, 31, 1] Operation: 78/78=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[36, 31, 1], Operations: ['78/78=1']
Exploring Operation: 36-31=5, Resulting Numbers: [1, 5]
Generated Node #0,3,0: 68:[1, 5] Operation: 36-31=5
Exploring Operation: 36+31=67, Resulting Numbers: [1, 67]
Generated Node #0,3,1: 68:[1, 67] Operation: 36+31=67
Exploring Operation: 36-1=35, Resulting Numbers: [31, 35]
Generated Node #0,3,2: 68:[31, 35] Operation: 36-1=35
Exploring Operation: 31+1=32, Resulting Numbers: [36, 32]
Generated Node #0,3,3: 68:[36, 32] Operation: 31+1=32
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[1, 5], Operations: ['78/78=1', '36-31=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,68 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 68:[1, 67], Operations: ['78/78=1', '36+31=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[36, 31, 78, 78], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [36, 31, 1]
Generated Node #0,3: 68:[36, 31, 1] Operation: 78/78=1
Moving to Node #0,3
Current State: 68:[36, 31, 1], Operations: ['78/78=1']
Exploring Operation: 36+31=67, Resulting Numbers: [1, 67]
Generated Node #0,3,1: 68:[1, 67] Operation: 36+31=67
Moving to Node #0,3,1
Current State: 68:[1, 67], Operations: ['78/78=1', '36+31=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
90,
39,
3,
36
] | 81 | [
"90+36=126",
"126/3=42",
"39+42=81"
] | Current State: 81:[90, 39, 3, 36], Operations: []
Exploring Operation: 90+36=126, Resulting Numbers: [39, 3, 126]
Generated Node #2: [39, 3, 126] from Operation: 90+36=126
Current State: 81:[39, 3, 126], Operations: ['90+36=126']
Exploring Operation: 126/3=42, Resulting Numbers: [39, 42]
Generated Node #3: [39, 42] from Operation: 126/3=42
Current State: 81:[39, 42], Operations: ['90+36=126', '126/3=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[90, 39, 3, 36], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [90, 3, 3]
Generated Node #0,0: 81:[90, 3, 3] Operation: 39-36=3
Exploring Operation: 39+36=75, Resulting Numbers: [90, 3, 75]
Generated Node #0,1: 81:[90, 3, 75] Operation: 39+36=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[90, 3, 3], Operations: ['39-36=3']
Exploring Operation: 90/3=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 81:[3, 30] Operation: 90/3=30
Exploring Operation: 90/3=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 81:[3, 30] Operation: 90/3=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[3, 30], Operations: ['39-36=3', '90/3=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[3, 30], Operations: ['39-36=3', '90/3=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[90, 3, 75], Operations: ['39+36=75']
Exploring Operation: 90-75=15, Resulting Numbers: [3, 15]
Generated Node #0,1,0: 81:[3, 15] Operation: 90-75=15
Exploring Operation: 90/3=30, Resulting Numbers: [75, 30]
Generated Node #0,1,1: 81:[75, 30] Operation: 90/3=30
Moving to Node #0,1,0
Current State: 81:[3, 15], Operations: ['39+36=75', '90-75=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[75, 30], Operations: ['39+36=75', '90/3=30']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,81 unequal: No Solution
Exploring Operation: 75+30=105, Resulting Numbers: [105]
105,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
71,
49,
95,
57
] | 60 | [
"71-49=22",
"95-57=38",
"22+38=60"
] | Current State: 60:[71, 49, 95, 57], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [95, 57, 22]
Generated Node #2: [95, 57, 22] from Operation: 71-49=22
Current State: 60:[95, 57, 22], Operations: ['71-49=22']
Exploring Operation: 95-57=38, Resulting Numbers: [22, 38]
Generated Node #3: [22, 38] from Operation: 95-57=38
Current State: 60:[22, 38], Operations: ['71-49=22', '95-57=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[71, 49, 95, 57], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [95, 57, 22]
Generated Node #0,0: 60:[95, 57, 22] Operation: 71-49=22
Exploring Operation: 71-57=14, Resulting Numbers: [49, 95, 14]
Generated Node #0,1: 60:[49, 95, 14] Operation: 71-57=14
Exploring Operation: 95-57=38, Resulting Numbers: [71, 49, 38]
Generated Node #0,2: 60:[71, 49, 38] Operation: 95-57=38
Exploring Operation: 95-49=46, Resulting Numbers: [71, 57, 46]
Generated Node #0,3: 60:[71, 57, 46] Operation: 95-49=46
Exploring Operation: 95-71=24, Resulting Numbers: [49, 57, 24]
Generated Node #0,4: 60:[49, 57, 24] Operation: 95-71=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[49, 57, 24], Operations: ['95-71=24']
Exploring Operation: 57-24=33, Resulting Numbers: [49, 33]
Generated Node #0,4,0: 60:[49, 33] Operation: 57-24=33
Exploring Operation: 57-49=8, Resulting Numbers: [24, 8]
Generated Node #0,4,1: 60:[24, 8] Operation: 57-49=8
Exploring Operation: 49-24=25, Resulting Numbers: [57, 25]
Generated Node #0,4,2: 60:[57, 25] Operation: 49-24=25
Exploring Operation: 57+24=81, Resulting Numbers: [49, 81]
Generated Node #0,4,3: 60:[49, 81] Operation: 57+24=81
Exploring Operation: 49+24=73, Resulting Numbers: [57, 73]
Generated Node #0,4,4: 60:[57, 73] Operation: 49+24=73
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 60:[24, 8], Operations: ['95-71=24', '57-49=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[57, 25], Operations: ['95-71=24', '49-24=25']
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,60 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 60:[49, 33], Operations: ['95-71=24', '57-24=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 49*33=1617, Resulting Numbers: [1617]
1617,60 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 60:[57, 73], Operations: ['95-71=24', '49+24=73']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,60 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 60:[49, 81], Operations: ['95-71=24', '57+24=81']
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,60 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,60 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[71, 57, 46], Operations: ['95-49=46']
Exploring Operation: 71-46=25, Resulting Numbers: [57, 25]
Generated Node #0,3,0: 60:[57, 25] Operation: 71-46=25
Exploring Operation: 57-46=11, Resulting Numbers: [71, 11]
Generated Node #0,3,1: 60:[71, 11] Operation: 57-46=11
Exploring Operation: 57+46=103, Resulting Numbers: [71, 103]
Generated Node #0,3,2: 60:[71, 103] Operation: 57+46=103
Exploring Operation: 71-57=14, Resulting Numbers: [46, 14]
Generated Node #0,3,3: 60:[46, 14] Operation: 71-57=14
Exploring Operation: 71+46=117, Resulting Numbers: [57, 117]
Generated Node #0,3,4: 60:[57, 117] Operation: 71+46=117
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[57, 25], Operations: ['95-49=46', '71-46=25']
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 60:[71, 11], Operations: ['95-49=46', '57-46=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,60 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,60 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[71, 49, 95, 57], Operations: []
Exploring Operation: 95-49=46, Resulting Numbers: [71, 57, 46]
Generated Node #0,3: 60:[71, 57, 46] Operation: 95-49=46
Moving to Node #0,3
Current State: 60:[71, 57, 46], Operations: ['95-49=46']
Exploring Operation: 57-46=11, Resulting Numbers: [71, 11]
Generated Node #0,3,1: 60:[71, 11] Operation: 57-46=11
Moving to Node #0,3,1
Current State: 60:[71, 11], Operations: ['95-49=46', '57-46=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
88,
90,
74,
14
] | 90 | [
"88+90=178",
"74+14=88",
"178-88=90"
] | Current State: 90:[88, 90, 74, 14], Operations: []
Exploring Operation: 88+90=178, Resulting Numbers: [74, 14, 178]
Generated Node #2: [74, 14, 178] from Operation: 88+90=178
Current State: 90:[74, 14, 178], Operations: ['88+90=178']
Exploring Operation: 74+14=88, Resulting Numbers: [178, 88]
Generated Node #3: [178, 88] from Operation: 74+14=88
Current State: 90:[178, 88], Operations: ['88+90=178', '74+14=88']
Exploring Operation: 178-88=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[88, 90, 74, 14], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [90, 14, 14]
Generated Node #0,0: 90:[90, 14, 14] Operation: 88-74=14
Exploring Operation: 90-74=16, Resulting Numbers: [88, 14, 16]
Generated Node #0,1: 90:[88, 14, 16] Operation: 90-74=16
Exploring Operation: 90-88=2, Resulting Numbers: [74, 14, 2]
Generated Node #0,2: 90:[74, 14, 2] Operation: 90-88=2
Exploring Operation: 74-14=60, Resulting Numbers: [88, 90, 60]
Generated Node #0,3: 90:[88, 90, 60] Operation: 74-14=60
Exploring Operation: 74+14=88, Resulting Numbers: [88, 90, 88]
Generated Node #0,4: 90:[88, 90, 88] Operation: 74+14=88
Moving to Node #0,0
Current State: 90:[90, 14, 14], Operations: ['88-74=14']
Exploring Operation: 14-14=0, Resulting Numbers: [90, 0]
Generated Node #0,0,0: 90:[90, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [90, 1]
Generated Node #0,0,1: 90:[90, 1] Operation: 14/14=1
Exploring Operation: 90-14=76, Resulting Numbers: [14, 76]
Generated Node #0,0,2: 90:[14, 76] Operation: 90-14=76
Exploring Operation: 14+14=28, Resulting Numbers: [90, 28]
Generated Node #0,0,3: 90:[90, 28] Operation: 14+14=28
Exploring Operation: 90+14=104, Resulting Numbers: [14, 104]
Generated Node #0,0,4: 90:[14, 104] Operation: 90+14=104
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[90, 1], Operations: ['88-74=14', '14/14=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[88, 90, 74, 14], Operations: []
Exploring Operation: 88-74=14, Resulting Numbers: [90, 14, 14]
Generated Node #0,0: 90:[90, 14, 14] Operation: 88-74=14
Moving to Node #0,0
Current State: 90:[90, 14, 14], Operations: ['88-74=14']
Exploring Operation: 14/14=1, Resulting Numbers: [90, 1]
Generated Node #0,0,1: 90:[90, 1] Operation: 14/14=1
Moving to Node #0,0,1
Current State: 90:[90, 1], Operations: ['88-74=14', '14/14=1']
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
28,
82,
81,
74
] | 61 | [
"82-28=54",
"81-74=7",
"54+7=61"
] | Current State: 61:[28, 82, 81, 74], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [81, 74, 54]
Generated Node #2: [81, 74, 54] from Operation: 82-28=54
Current State: 61:[81, 74, 54], Operations: ['82-28=54']
Exploring Operation: 81-74=7, Resulting Numbers: [54, 7]
Generated Node #3: [54, 7] from Operation: 81-74=7
Current State: 61:[54, 7], Operations: ['82-28=54', '81-74=7']
Exploring Operation: 54+7=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[28, 82, 81, 74], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [81, 74, 54]
Generated Node #0,0: 61:[81, 74, 54] Operation: 82-28=54
Moving to Node #0,0
Current State: 61:[81, 74, 54], Operations: ['82-28=54']
Exploring Operation: 81-54=27, Resulting Numbers: [74, 27]
Generated Node #0,0,0: 61:[74, 27] Operation: 81-54=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[74, 27], Operations: ['82-28=54', '81-54=27']
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,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 |
[
11,
86,
6,
89
] | 31 | [
"11+86=97",
"89+97=186",
"186/6=31"
] | Current State: 31:[11, 86, 6, 89], Operations: []
Exploring Operation: 11+86=97, Resulting Numbers: [6, 89, 97]
Generated Node #2: [6, 89, 97] from Operation: 11+86=97
Current State: 31:[6, 89, 97], Operations: ['11+86=97']
Exploring Operation: 89+97=186, Resulting Numbers: [6, 186]
Generated Node #3: [6, 186] from Operation: 89+97=186
Current State: 31:[6, 186], Operations: ['11+86=97', '89+97=186']
Exploring Operation: 186/6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[11, 86, 6, 89], Operations: []
Exploring Operation: 86-11=75, Resulting Numbers: [6, 89, 75]
Generated Node #0,0: 31:[6, 89, 75] Operation: 86-11=75
Exploring Operation: 89-86=3, Resulting Numbers: [11, 6, 3]
Generated Node #0,1: 31:[11, 6, 3] Operation: 89-86=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[11, 6, 3], Operations: ['89-86=3']
Exploring Operation: 6*3=18, Resulting Numbers: [11, 18]
Generated Node #0,1,0: 31:[11, 18] Operation: 6*3=18
Exploring Operation: 11*3=33, Resulting Numbers: [6, 33]
Generated Node #0,1,1: 31:[6, 33] Operation: 11*3=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[6, 33], Operations: ['89-86=3', '11*3=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[11, 18], Operations: ['89-86=3', '6*3=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[6, 89, 75], Operations: ['86-11=75']
Exploring Operation: 89-6=83, Resulting Numbers: [75, 83]
Generated Node #0,0,0: 31:[75, 83] Operation: 89-6=83
Exploring Operation: 89-75=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 31:[6, 14] Operation: 89-75=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 31:[6, 14], Operations: ['86-11=75', '89-75=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[75, 83], Operations: ['86-11=75', '89-6=83']
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,31 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
81,
4,
25,
6
] | 20 | [
"81-25=56",
"56/4=14",
"6+14=20"
] | Current State: 20:[81, 4, 25, 6], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [4, 6, 56]
Generated Node #2: [4, 6, 56] from Operation: 81-25=56
Current State: 20:[4, 6, 56], Operations: ['81-25=56']
Exploring Operation: 56/4=14, Resulting Numbers: [6, 14]
Generated Node #3: [6, 14] from Operation: 56/4=14
Current State: 20:[6, 14], Operations: ['81-25=56', '56/4=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[81, 4, 25, 6], Operations: []
Exploring Operation: 81-6=75, Resulting Numbers: [4, 25, 75]
Generated Node #0,0: 20:[4, 25, 75] Operation: 81-6=75
Exploring Operation: 25-4=21, Resulting Numbers: [81, 6, 21]
Generated Node #0,1: 20:[81, 6, 21] Operation: 25-4=21
Exploring Operation: 81-4=77, Resulting Numbers: [25, 6, 77]
Generated Node #0,2: 20:[25, 6, 77] Operation: 81-4=77
Exploring Operation: 81-25=56, Resulting Numbers: [4, 6, 56]
Generated Node #0,3: 20:[4, 6, 56] Operation: 81-25=56
Exploring Operation: 25-6=19, Resulting Numbers: [81, 4, 19]
Generated Node #0,4: 20:[81, 4, 19] Operation: 25-6=19
Moving to Node #0,3
Current State: 20:[4, 6, 56], Operations: ['81-25=56']
Exploring Operation: 4+6=10, Resulting Numbers: [56, 10]
Generated Node #0,3,0: 20:[56, 10] Operation: 4+6=10
Exploring Operation: 56-6=50, Resulting Numbers: [4, 50]
Generated Node #0,3,1: 20:[4, 50] Operation: 56-6=50
Exploring Operation: 56-4=52, Resulting Numbers: [6, 52]
Generated Node #0,3,2: 20:[6, 52] Operation: 56-4=52
Exploring Operation: 6-4=2, Resulting Numbers: [56, 2]
Generated Node #0,3,3: 20:[56, 2] Operation: 6-4=2
Exploring Operation: 56/4=14, Resulting Numbers: [6, 14]
Generated Node #0,3,4: 20:[6, 14] Operation: 56/4=14
Moving to Node #0,0
Current State: 20:[4, 25, 75], Operations: ['81-6=75']
Exploring Operation: 75/25=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 20:[4, 3] Operation: 75/25=3
Exploring Operation: 75-25=50, Resulting Numbers: [4, 50]
Generated Node #0,0,1: 20:[4, 50] Operation: 75-25=50
Exploring Operation: 4+25=29, Resulting Numbers: [75, 29]
Generated Node #0,0,2: 20:[75, 29] Operation: 4+25=29
Exploring Operation: 75-4=71, Resulting Numbers: [25, 71]
Generated Node #0,0,3: 20:[25, 71] Operation: 75-4=71
Exploring Operation: 25-4=21, Resulting Numbers: [75, 21]
Generated Node #0,0,4: 20:[75, 21] Operation: 25-4=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[4, 3], Operations: ['81-6=75', '75/25=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,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,1
Current State: 20:[4, 50], Operations: ['81-6=75', '75-25=50']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,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:[25, 71], Operations: ['81-6=75', '75-4=71']
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,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:[75, 21], Operations: ['81-6=75', '25-4=21']
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 75+21=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 75*21=1575, Resulting Numbers: [1575]
1575,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:[75, 29], Operations: ['81-6=75', '4+25=29']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,20 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,20 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: 20:[81, 4, 19], Operations: ['25-6=19']
Exploring Operation: 81+4=85, Resulting Numbers: [19, 85]
Generated Node #0,4,0: 20:[19, 85] Operation: 81+4=85
Exploring Operation: 19-4=15, Resulting Numbers: [81, 15]
Generated Node #0,4,1: 20:[81, 15] Operation: 19-4=15
Exploring Operation: 81-19=62, Resulting Numbers: [4, 62]
Generated Node #0,4,2: 20:[4, 62] Operation: 81-19=62
Exploring Operation: 4+19=23, Resulting Numbers: [81, 23]
Generated Node #0,4,3: 20:[81, 23] Operation: 4+19=23
Exploring Operation: 81-4=77, Resulting Numbers: [19, 77]
Generated Node #0,4,4: 20:[19, 77] Operation: 81-4=77
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 20:[4, 62], Operations: ['25-6=19', '81-19=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,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:[19, 77], Operations: ['25-6=19', '81-4=77']
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,20 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,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:[81, 23], Operations: ['25-6=19', '4+19=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,20 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,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:[19, 85], Operations: ['25-6=19', '81+4=85']
Exploring Operation: 19*85=1615, Resulting Numbers: [1615]
1615,20 unequal: No Solution
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 19+85=104, Resulting Numbers: [104]
104,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:[81, 15], Operations: ['25-6=19', '19-4=15']
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,20 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,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:[81, 6, 21], Operations: ['25-4=21']
Exploring Operation: 81-21=60, Resulting Numbers: [6, 60]
Generated Node #0,1,0: 20:[6, 60] Operation: 81-21=60
Exploring Operation: 81+6=87, Resulting Numbers: [21, 87]
Generated Node #0,1,1: 20:[21, 87] Operation: 81+6=87
Exploring Operation: 6+21=27, Resulting Numbers: [81, 27]
Generated Node #0,1,2: 20:[81, 27] Operation: 6+21=27
Exploring Operation: 81-6=75, Resulting Numbers: [21, 75]
Generated Node #0,1,3: 20:[21, 75] Operation: 81-6=75
Exploring Operation: 21-6=15, Resulting Numbers: [81, 15]
Generated Node #0,1,4: 20:[81, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[6, 60], Operations: ['25-4=21', '81-21=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,20 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,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:[21, 75], Operations: ['25-4=21', '81-6=75']
Exploring Operation: 21*75=1575, Resulting Numbers: [1575]
1575,20 unequal: No Solution
Exploring Operation: 21+75=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 75-21=54, Resulting Numbers: [54]
54,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:[81, 15], Operations: ['25-4=21', '21-6=15']
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,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:[21, 87], Operations: ['25-4=21', '81+6=87']
Exploring Operation: 21*87=1827, Resulting Numbers: [1827]
1827,20 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 21+87=108, Resulting Numbers: [108]
108,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:[81, 27], Operations: ['25-4=21', '6+21=27']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 81*27=2187, Resulting Numbers: [2187]
2187,20 unequal: No Solution
Exploring Operation: 81+27=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,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:[25, 6, 77], Operations: ['81-4=77']
Exploring Operation: 77-6=71, Resulting Numbers: [25, 71]
Generated Node #0,2,0: 20:[25, 71] Operation: 77-6=71
Exploring Operation: 25-6=19, Resulting Numbers: [77, 19]
Generated Node #0,2,1: 20:[77, 19] Operation: 25-6=19
Exploring Operation: 6+77=83, Resulting Numbers: [25, 83]
Generated Node #0,2,2: 20:[25, 83] Operation: 6+77=83
Exploring Operation: 25+6=31, Resulting Numbers: [77, 31]
Generated Node #0,2,3: 20:[77, 31] Operation: 25+6=31
Exploring Operation: 77-25=52, Resulting Numbers: [6, 52]
Generated Node #0,2,4: 20:[6, 52] Operation: 77-25=52
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 20:[6, 52], Operations: ['81-4=77', '77-25=52']
Exploring Operation: 6*52=312, Resulting Numbers: [312]
312,20 unequal: No Solution
Exploring Operation: 6+52=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[25, 71], Operations: ['81-4=77', '77-6=71']
Exploring Operation: 25*71=1775, Resulting Numbers: [1775]
1775,20 unequal: No Solution
Exploring Operation: 25+71=96, Resulting Numbers: [96]
96,20 unequal: No Solution
Exploring Operation: 71-25=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[77, 19], Operations: ['81-4=77', '25-6=19']
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,20 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[25, 83], Operations: ['81-4=77', '6+77=83']
Exploring Operation: 25*83=2075, Resulting Numbers: [2075]
2075,20 unequal: No Solution
Exploring Operation: 83-25=58, Resulting Numbers: [58]
58,20 unequal: No Solution
Exploring Operation: 25+83=108, Resulting Numbers: [108]
108,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[77, 31], Operations: ['81-4=77', '25+6=31']
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,20 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 20:[6, 14], Operations: ['81-25=56', '56/4=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[81, 4, 25, 6], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [4, 6, 56]
Generated Node #0,3: 20:[4, 6, 56] Operation: 81-25=56
Moving to Node #0,3
Current State: 20:[4, 6, 56], Operations: ['81-25=56']
Exploring Operation: 56/4=14, Resulting Numbers: [6, 14]
Generated Node #0,3,4: 20:[6, 14] Operation: 56/4=14
Moving to Node #0,3,4
Current State: 20:[6, 14], Operations: ['81-25=56', '56/4=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.914931 | hs_5 | sum_heuristic |
[
3,
1,
16,
43
] | 61 | [
"3-1=2",
"16+43=59",
"2+59=61"
] | Current State: 61:[3, 1, 16, 43], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [16, 43, 2]
Generated Node #2: [16, 43, 2] from Operation: 3-1=2
Current State: 61:[16, 43, 2], Operations: ['3-1=2']
Exploring Operation: 16+43=59, Resulting Numbers: [2, 59]
Generated Node #3: [2, 59] from Operation: 16+43=59
Current State: 61:[2, 59], Operations: ['3-1=2', '16+43=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[3, 1, 16, 43], Operations: []
Exploring Operation: 3*16=48, Resulting Numbers: [1, 43, 48]
Generated Node #0,0: 61:[1, 43, 48] Operation: 3*16=48
Exploring Operation: 3+1=4, Resulting Numbers: [16, 43, 4]
Generated Node #0,1: 61:[16, 43, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[1, 43, 48], Operations: ['3*16=48']
Exploring Operation: 1+43=44, Resulting Numbers: [48, 44]
Generated Node #0,0,0: 61:[48, 44] Operation: 1+43=44
Exploring Operation: 1+48=49, Resulting Numbers: [43, 49]
Generated Node #0,0,1: 61:[43, 49] Operation: 1+48=49
Moving to Node #0,0,0
Current State: 61:[48, 44], Operations: ['3*16=48', '1+43=44']
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[43, 49], Operations: ['3*16=48', '1+48=49']
Exploring Operation: 43+49=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,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:[16, 43, 4], Operations: ['3+1=4']
Exploring Operation: 16+43=59, Resulting Numbers: [4, 59]
Generated Node #0,1,0: 61:[4, 59] Operation: 16+43=59
Exploring Operation: 16*4=64, Resulting Numbers: [43, 64]
Generated Node #0,1,1: 61:[43, 64] Operation: 16*4=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[43, 64], Operations: ['3+1=4', '16*4=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No 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: 61:[4, 59], Operations: ['3+1=4', '16+43=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,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_2 | mult_heuristic |
[
87,
15,
36,
73
] | 65 | [
"87+15=102",
"73-36=37",
"102-37=65"
] | Current State: 65:[87, 15, 36, 73], Operations: []
Exploring Operation: 87+15=102, Resulting Numbers: [36, 73, 102]
Generated Node #2: [36, 73, 102] from Operation: 87+15=102
Current State: 65:[36, 73, 102], Operations: ['87+15=102']
Exploring Operation: 73-36=37, Resulting Numbers: [102, 37]
Generated Node #3: [102, 37] from Operation: 73-36=37
Current State: 65:[102, 37], Operations: ['87+15=102', '73-36=37']
Exploring Operation: 102-37=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[87, 15, 36, 73], Operations: []
Exploring Operation: 87-36=51, Resulting Numbers: [15, 73, 51]
Generated Node #0,0: 65:[15, 73, 51] Operation: 87-36=51
Exploring Operation: 87-73=14, Resulting Numbers: [15, 36, 14]
Generated Node #0,1: 65:[15, 36, 14] Operation: 87-73=14
Exploring Operation: 87-15=72, Resulting Numbers: [36, 73, 72]
Generated Node #0,2: 65:[36, 73, 72] Operation: 87-15=72
Exploring Operation: 36-15=21, Resulting Numbers: [87, 73, 21]
Generated Node #0,3: 65:[87, 73, 21] Operation: 36-15=21
Moving to Node #0,0
Current State: 65:[15, 73, 51], Operations: ['87-36=51']
Exploring Operation: 73-15=58, Resulting Numbers: [51, 58]
Generated Node #0,0,0: 65:[51, 58] Operation: 73-15=58
Exploring Operation: 73-51=22, Resulting Numbers: [15, 22]
Generated Node #0,0,1: 65:[15, 22] Operation: 73-51=22
Exploring Operation: 15+51=66, Resulting Numbers: [73, 66]
Generated Node #0,0,2: 65:[73, 66] Operation: 15+51=66
Exploring Operation: 51-15=36, Resulting Numbers: [73, 36]
Generated Node #0,0,3: 65:[73, 36] Operation: 51-15=36
Moving to Node #0,1
Current State: 65:[15, 36, 14], Operations: ['87-73=14']
Exploring Operation: 36-15=21, Resulting Numbers: [14, 21]
Generated Node #0,1,0: 65:[14, 21] Operation: 36-15=21
Exploring Operation: 15+36=51, Resulting Numbers: [14, 51]
Generated Node #0,1,1: 65:[14, 51] Operation: 15+36=51
Exploring Operation: 36-14=22, Resulting Numbers: [15, 22]
Generated Node #0,1,2: 65:[15, 22] Operation: 36-14=22
Exploring Operation: 36+14=50, Resulting Numbers: [15, 50]
Generated Node #0,1,3: 65:[15, 50] Operation: 36+14=50
Moving to Node #0,3
Current State: 65:[87, 73, 21], Operations: ['36-15=21']
Exploring Operation: 87+21=108, Resulting Numbers: [73, 108]
Generated Node #0,3,0: 65:[73, 108] Operation: 87+21=108
Exploring Operation: 73-21=52, Resulting Numbers: [87, 52]
Generated Node #0,3,1: 65:[87, 52] Operation: 73-21=52
Exploring Operation: 87-73=14, Resulting Numbers: [21, 14]
Generated Node #0,3,2: 65:[21, 14] Operation: 87-73=14
Exploring Operation: 87-21=66, Resulting Numbers: [73, 66]
Generated Node #0,3,3: 65:[73, 66] Operation: 87-21=66
Moving to Node #0,2
Current State: 65:[36, 73, 72], Operations: ['87-15=72']
Exploring Operation: 73-36=37, Resulting Numbers: [72, 37]
Generated Node #0,2,0: 65:[72, 37] Operation: 73-36=37
Exploring Operation: 73-72=1, Resulting Numbers: [36, 1]
Generated Node #0,2,1: 65:[36, 1] Operation: 73-72=1
Exploring Operation: 72-36=36, Resulting Numbers: [73, 36]
Generated Node #0,2,2: 65:[73, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [73, 2]
Generated Node #0,2,3: 65:[73, 2] Operation: 72/36=2
Moving to Node #0,0,2
Current State: 65:[73, 66], Operations: ['87-36=51', '15+51=66']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,65 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[14, 21], Operations: ['87-73=14', '36-15=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[73, 66], Operations: ['36-15=21', '87-21=66']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,65 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[21, 14], Operations: ['36-15=21', '87-73=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[15, 22], Operations: ['87-73=14', '36-14=22']
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,65 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[73, 2], Operations: ['87-15=72', '72/36=2']
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,65 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[15, 22], Operations: ['87-36=51', '73-51=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,65 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[14, 51], Operations: ['87-73=14', '15+36=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,65 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[87, 15, 36, 73], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [15, 36, 14]
Generated Node #0,1: 65:[15, 36, 14] Operation: 87-73=14
Moving to Node #0,1
Current State: 65:[15, 36, 14], Operations: ['87-73=14']
Exploring Operation: 15+36=51, Resulting Numbers: [14, 51]
Generated Node #0,1,1: 65:[14, 51] Operation: 15+36=51
Moving to Node #0,1,1
Current State: 65:[14, 51], Operations: ['87-73=14', '15+36=51']
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.958333 | hs_4 | mult_heuristic |
[
43,
22,
83,
63
] | 45 | [
"43+22=65",
"83-63=20",
"65-20=45"
] | Current State: 45:[43, 22, 83, 63], Operations: []
Exploring Operation: 43+22=65, Resulting Numbers: [83, 63, 65]
Generated Node #2: [83, 63, 65] from Operation: 43+22=65
Current State: 45:[83, 63, 65], Operations: ['43+22=65']
Exploring Operation: 83-63=20, Resulting Numbers: [65, 20]
Generated Node #3: [65, 20] from Operation: 83-63=20
Current State: 45:[65, 20], Operations: ['43+22=65', '83-63=20']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[43, 22, 83, 63], Operations: []
Exploring Operation: 63-22=41, Resulting Numbers: [43, 83, 41]
Generated Node #0,0: 45:[43, 83, 41] Operation: 63-22=41
Exploring Operation: 83-63=20, Resulting Numbers: [43, 22, 20]
Generated Node #0,1: 45:[43, 22, 20] Operation: 83-63=20
Exploring Operation: 63-43=20, Resulting Numbers: [22, 83, 20]
Generated Node #0,2: 45:[22, 83, 20] Operation: 63-43=20
Exploring Operation: 83-22=61, Resulting Numbers: [43, 63, 61]
Generated Node #0,3: 45:[43, 63, 61] Operation: 83-22=61
Exploring Operation: 83-43=40, Resulting Numbers: [22, 63, 40]
Generated Node #0,4: 45:[22, 63, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[43, 22, 20], Operations: ['83-63=20']
Exploring Operation: 22-20=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 45:[43, 2] Operation: 22-20=2
Exploring Operation: 43-22=21, Resulting Numbers: [20, 21]
Generated Node #0,1,1: 45:[20, 21] Operation: 43-22=21
Exploring Operation: 43+22=65, Resulting Numbers: [20, 65]
Generated Node #0,1,2: 45:[20, 65] Operation: 43+22=65
Exploring Operation: 22+20=42, Resulting Numbers: [43, 42]
Generated Node #0,1,3: 45:[43, 42] Operation: 22+20=42
Exploring Operation: 43-20=23, Resulting Numbers: [22, 23]
Generated Node #0,1,4: 45:[22, 23] Operation: 43-20=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 45:[43, 2], Operations: ['83-63=20', '22-20=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[43, 22, 83, 63], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [43, 22, 20]
Generated Node #0,1: 45:[43, 22, 20] Operation: 83-63=20
Moving to Node #0,1
Current State: 45:[43, 22, 20], Operations: ['83-63=20']
Exploring Operation: 22-20=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 45:[43, 2] Operation: 22-20=2
Moving to Node #0,1,0
Current State: 45:[43, 2], Operations: ['83-63=20', '22-20=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
10,
45,
30,
13
] | 12 | [
"10+45=55",
"30+13=43",
"55-43=12"
] | Current State: 12:[10, 45, 30, 13], Operations: []
Exploring Operation: 10+45=55, Resulting Numbers: [30, 13, 55]
Generated Node #2: [30, 13, 55] from Operation: 10+45=55
Current State: 12:[30, 13, 55], Operations: ['10+45=55']
Exploring Operation: 30+13=43, Resulting Numbers: [55, 43]
Generated Node #3: [55, 43] from Operation: 30+13=43
Current State: 12:[55, 43], Operations: ['10+45=55', '30+13=43']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[10, 45, 30, 13], Operations: []
Exploring Operation: 45-13=32, Resulting Numbers: [10, 30, 32]
Generated Node #0,0: 12:[10, 30, 32] Operation: 45-13=32
Exploring Operation: 30-13=17, Resulting Numbers: [10, 45, 17]
Generated Node #0,1: 12:[10, 45, 17] Operation: 30-13=17
Exploring Operation: 30/10=3, Resulting Numbers: [45, 13, 3]
Generated Node #0,2: 12:[45, 13, 3] Operation: 30/10=3
Exploring Operation: 45-30=15, Resulting Numbers: [10, 13, 15]
Generated Node #0,3: 12:[10, 13, 15] Operation: 45-30=15
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[10, 13, 15], Operations: ['45-30=15']
Exploring Operation: 15-10=5, Resulting Numbers: [13, 5]
Generated Node #0,3,0: 12:[13, 5] Operation: 15-10=5
Exploring Operation: 13-10=3, Resulting Numbers: [15, 3]
Generated Node #0,3,1: 12:[15, 3] Operation: 13-10=3
Exploring Operation: 10+13=23, Resulting Numbers: [15, 23]
Generated Node #0,3,2: 12:[15, 23] Operation: 10+13=23
Exploring Operation: 15-13=2, Resulting Numbers: [10, 2]
Generated Node #0,3,3: 12:[10, 2] Operation: 15-13=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 12:[13, 5], Operations: ['45-30=15', '15-10=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,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,3,3
Current State: 12:[10, 2], Operations: ['45-30=15', '15-13=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[10, 45, 30, 13], Operations: []
Exploring Operation: 45-30=15, Resulting Numbers: [10, 13, 15]
Generated Node #0,3: 12:[10, 13, 15] Operation: 45-30=15
Moving to Node #0,3
Current State: 12:[10, 13, 15], Operations: ['45-30=15']
Exploring Operation: 15-13=2, Resulting Numbers: [10, 2]
Generated Node #0,3,3: 12:[10, 2] Operation: 15-13=2
Moving to Node #0,3,3
Current State: 12:[10, 2], Operations: ['45-30=15', '15-13=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
32,
49,
42,
84
] | 33 | [
"32*42=1344",
"1344/84=16",
"49-16=33"
] | Current State: 33:[32, 49, 42, 84], Operations: []
Exploring Operation: 32*42=1344, Resulting Numbers: [49, 84, 1344]
Generated Node #2: [49, 84, 1344] from Operation: 32*42=1344
Current State: 33:[49, 84, 1344], Operations: ['32*42=1344']
Exploring Operation: 1344/84=16, Resulting Numbers: [49, 16]
Generated Node #3: [49, 16] from Operation: 1344/84=16
Current State: 33:[49, 16], Operations: ['32*42=1344', '1344/84=16']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[32, 49, 42, 84], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [32, 49, 2]
Generated Node #0,0: 33:[32, 49, 2] Operation: 84/42=2
Exploring Operation: 84-42=42, Resulting Numbers: [32, 49, 42]
Generated Node #0,1: 33:[32, 49, 42] Operation: 84-42=42
Exploring Operation: 49-42=7, Resulting Numbers: [32, 84, 7]
Generated Node #0,2: 33:[32, 84, 7] Operation: 49-42=7
Exploring Operation: 84-32=52, Resulting Numbers: [49, 42, 52]
Generated Node #0,3: 33:[49, 42, 52] Operation: 84-32=52
Exploring Operation: 84-49=35, Resulting Numbers: [32, 42, 35]
Generated Node #0,4: 33:[32, 42, 35] Operation: 84-49=35
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[32, 42, 35], Operations: ['84-49=35']
Exploring Operation: 42-32=10, Resulting Numbers: [35, 10]
Generated Node #0,4,0: 33:[35, 10] Operation: 42-32=10
Exploring Operation: 42-35=7, Resulting Numbers: [32, 7]
Generated Node #0,4,1: 33:[32, 7] Operation: 42-35=7
Exploring Operation: 32+42=74, Resulting Numbers: [35, 74]
Generated Node #0,4,2: 33:[35, 74] Operation: 32+42=74
Exploring Operation: 32+35=67, Resulting Numbers: [42, 67]
Generated Node #0,4,3: 33:[42, 67] Operation: 32+35=67
Exploring Operation: 35-32=3, Resulting Numbers: [42, 3]
Generated Node #0,4,4: 33:[42, 3] Operation: 35-32=3
Moving to Node #0,4,0
Current State: 33:[35, 10], Operations: ['84-49=35', '42-32=10']
Exploring Operation: 35+10=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 35*10=350, Resulting Numbers: [350]
350,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[32, 7], Operations: ['84-49=35', '42-35=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[42, 3], Operations: ['84-49=35', '35-32=3']
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,33 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Moving to Node #0,4,2
Current State: 33:[35, 74], Operations: ['84-49=35', '32+42=74']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[42, 67], Operations: ['84-49=35', '32+35=67']
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 42*67=2814, Resulting Numbers: [2814]
2814,33 unequal: No Solution
Exploring Operation: 42+67=109, Resulting Numbers: [109]
109,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
Current State: 33:[32, 49, 2], Operations: ['84/42=2']
Exploring Operation: 49-2=47, Resulting Numbers: [32, 47]
Generated Node #0,0,0: 33:[32, 47] Operation: 49-2=47
Exploring Operation: 49-32=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 33:[2, 17] Operation: 49-32=17
Exploring Operation: 32+2=34, Resulting Numbers: [49, 34]
Generated Node #0,0,2: 33:[49, 34] Operation: 32+2=34
Exploring Operation: 32-2=30, Resulting Numbers: [49, 30]
Generated Node #0,0,3: 33:[49, 30] Operation: 32-2=30
Exploring Operation: 49+2=51, Resulting Numbers: [32, 51]
Generated Node #0,0,4: 33:[32, 51] Operation: 49+2=51
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[2, 17], Operations: ['84/42=2', '49-32=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,33 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[32, 47], Operations: ['84/42=2', '49-2=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,33 unequal: No Solution
No 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: 33:[49, 34], Operations: ['84/42=2', '32+2=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,33 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 49*34=1666, Resulting Numbers: [1666]
1666,33 unequal: No Solution
No 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: 33:[49, 30], Operations: ['84/42=2', '32-2=30']
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,33 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,33 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 33:[32, 51], Operations: ['84/42=2', '49+2=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,33 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,33 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: 33:[32, 49, 42], Operations: ['84-42=42']
Exploring Operation: 49-42=7, Resulting Numbers: [32, 7]
Generated Node #0,1,0: 33:[32, 7] Operation: 49-42=7
Exploring Operation: 32+49=81, Resulting Numbers: [42, 81]
Generated Node #0,1,1: 33:[42, 81] Operation: 32+49=81
Exploring Operation: 32+42=74, Resulting Numbers: [49, 74]
Generated Node #0,1,2: 33:[49, 74] Operation: 32+42=74
Exploring Operation: 42-32=10, Resulting Numbers: [49, 10]
Generated Node #0,1,3: 33:[49, 10] Operation: 42-32=10
Exploring Operation: 49-32=17, Resulting Numbers: [42, 17]
Generated Node #0,1,4: 33:[42, 17] Operation: 49-32=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[32, 7], Operations: ['84-42=42', '49-42=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 32*7=224, Resulting Numbers: [224]
224,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 33:[42, 17], Operations: ['84-42=42', '49-32=17']
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 42+17=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Exploring Operation: 42*17=714, Resulting Numbers: [714]
714,33 unequal: No Solution
No 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: 33:[49, 10], Operations: ['84-42=42', '42-32=10']
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,33 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,33 unequal: No Solution
No 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: 33:[42, 81], Operations: ['84-42=42', '32+49=81']
Exploring Operation: 42*81=3402, Resulting Numbers: [3402]
3402,33 unequal: No Solution
Exploring Operation: 42+81=123, Resulting Numbers: [123]
123,33 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,33 unequal: No Solution
No 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: 33:[49, 74], Operations: ['84-42=42', '32+42=74']
Exploring Operation: 49+74=123, Resulting Numbers: [123]
123,33 unequal: No Solution
Exploring Operation: 49*74=3626, Resulting Numbers: [3626]
3626,33 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,33 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: 33:[49, 42, 52], Operations: ['84-32=52']
Exploring Operation: 49+52=101, Resulting Numbers: [42, 101]
Generated Node #0,3,0: 33:[42, 101] Operation: 49+52=101
Exploring Operation: 52-49=3, Resulting Numbers: [42, 3]
Generated Node #0,3,1: 33:[42, 3] Operation: 52-49=3
Exploring Operation: 49+42=91, Resulting Numbers: [52, 91]
Generated Node #0,3,2: 33:[52, 91] Operation: 49+42=91
Exploring Operation: 52-42=10, Resulting Numbers: [49, 10]
Generated Node #0,3,3: 33:[49, 10] Operation: 52-42=10
Exploring Operation: 49-42=7, Resulting Numbers: [52, 7]
Generated Node #0,3,4: 33:[52, 7] Operation: 49-42=7
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[42, 3], Operations: ['84-32=52', '52-49=3']
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,33 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,33 unequal: No Solution
No 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: 33:[49, 10], Operations: ['84-32=52', '52-42=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,33 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 33:[52, 7], Operations: ['84-32=52', '49-42=7']
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,33 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,33 unequal: No Solution
No 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: 33:[42, 101], Operations: ['84-32=52', '49+52=101']
Exploring Operation: 42*101=4242, Resulting Numbers: [4242]
4242,33 unequal: No Solution
Exploring Operation: 101-42=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Exploring Operation: 42+101=143, Resulting Numbers: [143]
143,33 unequal: No Solution
No 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: 33:[52, 91], Operations: ['84-32=52', '49+42=91']
Exploring Operation: 52*91=4732, Resulting Numbers: [4732]
4732,33 unequal: No Solution
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,33 unequal: No Solution
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,33 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: 33:[32, 84, 7], Operations: ['49-42=7']
Exploring Operation: 84/7=12, Resulting Numbers: [32, 12]
Generated Node #0,2,0: 33:[32, 12] Operation: 84/7=12
Exploring Operation: 32-7=25, Resulting Numbers: [84, 25]
Generated Node #0,2,1: 33:[84, 25] Operation: 32-7=25
Exploring Operation: 84-32=52, Resulting Numbers: [7, 52]
Generated Node #0,2,2: 33:[7, 52] Operation: 84-32=52
Exploring Operation: 84-7=77, Resulting Numbers: [32, 77]
Generated Node #0,2,3: 33:[32, 77] Operation: 84-7=77
Exploring Operation: 32+7=39, Resulting Numbers: [84, 39]
Generated Node #0,2,4: 33:[84, 39] Operation: 32+7=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[32, 12], Operations: ['49-42=7', '84/7=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,33 unequal: No Solution
No 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: 33:[7, 52], Operations: ['49-42=7', '84-32=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 7*52=364, Resulting Numbers: [364]
364,33 unequal: No Solution
Exploring Operation: 7+52=59, Resulting Numbers: [59]
59,33 unequal: No Solution
No 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: 33:[32, 77], Operations: ['49-42=7', '84-7=77']
Exploring Operation: 32+77=109, Resulting Numbers: [109]
109,33 unequal: No Solution
Exploring Operation: 32*77=2464, Resulting Numbers: [2464]
2464,33 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 33:[84, 39], Operations: ['49-42=7', '32+7=39']
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,33 unequal: No Solution
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,33 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,33 unequal: No Solution
No 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: 33:[84, 25], Operations: ['49-42=7', '32-7=25']
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,33 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
64,
30,
32,
20
] | 54 | [
"32-30=2",
"20/2=10",
"64-10=54"
] | Current State: 54:[64, 30, 32, 20], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [64, 20, 2]
Generated Node #2: [64, 20, 2] from Operation: 32-30=2
Current State: 54:[64, 20, 2], Operations: ['32-30=2']
Exploring Operation: 20/2=10, Resulting Numbers: [64, 10]
Generated Node #3: [64, 10] from Operation: 20/2=10
Current State: 54:[64, 10], Operations: ['32-30=2', '20/2=10']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[64, 30, 32, 20], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [64, 20, 2]
Generated Node #0,0: 54:[64, 20, 2] Operation: 32-30=2
Exploring Operation: 64-32=32, Resulting Numbers: [30, 20, 32]
Generated Node #0,1: 54:[30, 20, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [30, 20, 2]
Generated Node #0,2: 54:[30, 20, 2] Operation: 64/32=2
Moving to Node #0,2
Current State: 54:[30, 20, 2], Operations: ['64/32=2']
Exploring Operation: 20-2=18, Resulting Numbers: [30, 18]
Generated Node #0,2,0: 54:[30, 18] Operation: 20-2=18
Exploring Operation: 30-20=10, Resulting Numbers: [2, 10]
Generated Node #0,2,1: 54:[2, 10] Operation: 30-20=10
Exploring Operation: 30-2=28, Resulting Numbers: [20, 28]
Generated Node #0,2,2: 54:[20, 28] Operation: 30-2=28
Moving to Node #0,1
Current State: 54:[30, 20, 32], Operations: ['64-32=32']
Exploring Operation: 30-20=10, Resulting Numbers: [32, 10]
Generated Node #0,1,0: 54:[32, 10] Operation: 30-20=10
Exploring Operation: 32-30=2, Resulting Numbers: [20, 2]
Generated Node #0,1,1: 54:[20, 2] Operation: 32-30=2
Exploring Operation: 20+32=52, Resulting Numbers: [30, 52]
Generated Node #0,1,2: 54:[30, 52] Operation: 20+32=52
Moving to Node #0,0
Current State: 54:[64, 20, 2], Operations: ['32-30=2']
Exploring Operation: 64/2=32, Resulting Numbers: [20, 32]
Generated Node #0,0,0: 54:[20, 32] Operation: 64/2=32
Exploring Operation: 64-20=44, Resulting Numbers: [2, 44]
Generated Node #0,0,1: 54:[2, 44] Operation: 64-20=44
Exploring Operation: 64-2=62, Resulting Numbers: [20, 62]
Generated Node #0,0,2: 54:[20, 62] Operation: 64-2=62
Moving to Node #0,2,1
Current State: 54:[2, 10], Operations: ['64/32=2', '30-20=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[20, 2], Operations: ['64-32=32', '32-30=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[20, 28], Operations: ['64/32=2', '30-2=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,54 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[30, 18], Operations: ['64/32=2', '20-2=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,54 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[30, 52], Operations: ['64-32=32', '20+32=52']
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[32, 10], Operations: ['64-32=32', '30-20=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,54 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[20, 32], Operations: ['32-30=2', '64/2=32']
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 20*32=640, Resulting Numbers: [640]
640,54 unequal: No Solution
Exploring Operation: 20+32=52, Resulting Numbers: [52]
52,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[2, 44], Operations: ['32-30=2', '64-20=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,54 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[20, 62], Operations: ['32-30=2', '64-2=62']
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 20*62=1240, Resulting Numbers: [1240]
1240,54 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
60,
23,
6
] | 66 | [
"23*6=138",
"60+138=198",
"198/3=66"
] | Current State: 66:[3, 60, 23, 6], Operations: []
Exploring Operation: 23*6=138, Resulting Numbers: [3, 60, 138]
Generated Node #2: [3, 60, 138] from Operation: 23*6=138
Current State: 66:[3, 60, 138], Operations: ['23*6=138']
Exploring Operation: 60+138=198, Resulting Numbers: [3, 198]
Generated Node #3: [3, 198] from Operation: 60+138=198
Current State: 66:[3, 198], Operations: ['23*6=138', '60+138=198']
Exploring Operation: 198/3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[3, 60, 23, 6], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [3, 23, 10]
Generated Node #0,0: 66:[3, 23, 10] Operation: 60/6=10
Exploring Operation: 60/3=20, Resulting Numbers: [23, 6, 20]
Generated Node #0,1: 66:[23, 6, 20] Operation: 60/3=20
Exploring Operation: 60+6=66, Resulting Numbers: [3, 23, 66]
Generated Node #0,2: 66:[3, 23, 66] Operation: 60+6=66
Exploring Operation: 3+60=63, Resulting Numbers: [23, 6, 63]
Generated Node #0,3: 66:[23, 6, 63] Operation: 3+60=63
Moving to Node #0,2
Current State: 66:[3, 23, 66], Operations: ['60+6=66']
Exploring Operation: 3*23=69, Resulting Numbers: [66, 69]
Generated Node #0,2,0: 66:[66, 69] Operation: 3*23=69
Exploring Operation: 23-3=20, Resulting Numbers: [66, 20]
Generated Node #0,2,1: 66:[66, 20] Operation: 23-3=20
Exploring Operation: 66/3=22, Resulting Numbers: [23, 22]
Generated Node #0,2,2: 66:[23, 22] Operation: 66/3=22
Exploring Operation: 3+23=26, Resulting Numbers: [66, 26]
Generated Node #0,2,3: 66:[66, 26] Operation: 3+23=26
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[23, 22], Operations: ['60+6=66', '66/3=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[66, 20], Operations: ['60+6=66', '23-3=20']
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,66 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[66, 69], Operations: ['60+6=66', '3*23=69']
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,66 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[66, 26], Operations: ['60+6=66', '3+23=26']
Exploring Operation: 66*26=1716, Resulting Numbers: [1716]
1716,66 unequal: No Solution
Exploring Operation: 66+26=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 66:[3, 23, 10], Operations: ['60/6=10']
Exploring Operation: 10-3=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 66:[23, 7] Operation: 10-3=7
Exploring Operation: 23-3=20, Resulting Numbers: [10, 20]
Generated Node #0,0,1: 66:[10, 20] Operation: 23-3=20
Exploring Operation: 23+10=33, Resulting Numbers: [3, 33]
Generated Node #0,0,2: 66:[3, 33] Operation: 23+10=33
Exploring Operation: 23-10=13, Resulting Numbers: [3, 13]
Generated Node #0,0,3: 66:[3, 13] Operation: 23-10=13
Moving to Node #0,1
Current State: 66:[23, 6, 20], Operations: ['60/3=20']
Exploring Operation: 23+6=29, Resulting Numbers: [20, 29]
Generated Node #0,1,0: 66:[20, 29] Operation: 23+6=29
Exploring Operation: 20-6=14, Resulting Numbers: [23, 14]
Generated Node #0,1,1: 66:[23, 14] Operation: 20-6=14
Exploring Operation: 6+20=26, Resulting Numbers: [23, 26]
Generated Node #0,1,2: 66:[23, 26] Operation: 6+20=26
Exploring Operation: 23-20=3, Resulting Numbers: [6, 3]
Generated Node #0,1,3: 66:[6, 3] Operation: 23-20=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[6, 3], Operations: ['60/3=20', '23-20=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[23, 14], Operations: ['60/3=20', '20-6=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,66 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[23, 26], Operations: ['60/3=20', '6+20=26']
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,66 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[20, 29], Operations: ['60/3=20', '23+6=29']
Exploring Operation: 20*29=580, Resulting Numbers: [580]
580,66 unequal: No Solution
Exploring Operation: 20+29=49, Resulting Numbers: [49]
49,66 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,66 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: 66:[23, 6, 63], Operations: ['3+60=63']
Exploring Operation: 63-23=40, Resulting Numbers: [6, 40]
Generated Node #0,3,0: 66:[6, 40] Operation: 63-23=40
Exploring Operation: 23+6=29, Resulting Numbers: [63, 29]
Generated Node #0,3,1: 66:[63, 29] Operation: 23+6=29
Exploring Operation: 6+63=69, Resulting Numbers: [23, 69]
Generated Node #0,3,2: 66:[23, 69] Operation: 6+63=69
Exploring Operation: 23-6=17, Resulting Numbers: [63, 17]
Generated Node #0,3,3: 66:[63, 17] Operation: 23-6=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[23, 69], Operations: ['3+60=63', '6+63=69']
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 23*69=1587, Resulting Numbers: [1587]
1587,66 unequal: No Solution
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 23+69=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[6, 40], Operations: ['3+60=63', '63-23=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[63, 29], Operations: ['3+60=63', '23+6=29']
Exploring Operation: 63*29=1827, Resulting Numbers: [1827]
1827,66 unequal: No Solution
Exploring Operation: 63+29=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[63, 17], Operations: ['3+60=63', '23-6=17']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 66:[3, 33], Operations: ['60/6=10', '23+10=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[3, 13], Operations: ['60/6=10', '23-10=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[23, 7], Operations: ['60/6=10', '10-3=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,66 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[10, 20], Operations: ['60/6=10', '23-3=20']
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 10+20=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 10*20=200, Resulting Numbers: [200]
200,66 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
7,
28,
88
] | 51 | [
"63/7=9",
"88-28=60",
"60-9=51"
] | Current State: 51:[63, 7, 28, 88], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [28, 88, 9]
Generated Node #2: [28, 88, 9] from Operation: 63/7=9
Current State: 51:[28, 88, 9], Operations: ['63/7=9']
Exploring Operation: 88-28=60, Resulting Numbers: [9, 60]
Generated Node #3: [9, 60] from Operation: 88-28=60
Current State: 51:[9, 60], Operations: ['63/7=9', '88-28=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[63, 7, 28, 88], Operations: []
Exploring Operation: 88-28=60, Resulting Numbers: [63, 7, 60]
Generated Node #0,0: 51:[63, 7, 60] Operation: 88-28=60
Exploring Operation: 88-63=25, Resulting Numbers: [7, 28, 25]
Generated Node #0,1: 51:[7, 28, 25] Operation: 88-63=25
Exploring Operation: 28/7=4, Resulting Numbers: [63, 88, 4]
Generated Node #0,2: 51:[63, 88, 4] Operation: 28/7=4
Moving to Node #0,1
Current State: 51:[7, 28, 25], Operations: ['88-63=25']
Exploring Operation: 28-25=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 51:[7, 3] Operation: 28-25=3
Exploring Operation: 28+25=53, Resulting Numbers: [7, 53]
Generated Node #0,1,1: 51:[7, 53] Operation: 28+25=53
Exploring Operation: 28/7=4, Resulting Numbers: [25, 4]
Generated Node #0,1,2: 51:[25, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[7, 3], Operations: ['88-63=25', '28-25=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[7, 53], Operations: ['88-63=25', '28+25=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,51 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[25, 4], Operations: ['88-63=25', '28/7=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,51 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: 51:[63, 7, 60], Operations: ['88-28=60']
Exploring Operation: 63-7=56, Resulting Numbers: [60, 56]
Generated Node #0,0,0: 51:[60, 56] Operation: 63-7=56
Exploring Operation: 60-7=53, Resulting Numbers: [63, 53]
Generated Node #0,0,1: 51:[63, 53] Operation: 60-7=53
Exploring Operation: 63-60=3, Resulting Numbers: [7, 3]
Generated Node #0,0,2: 51:[7, 3] Operation: 63-60=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[7, 3], Operations: ['88-28=60', '63-60=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[60, 56], Operations: ['88-28=60', '63-7=56']
Exploring Operation: 60*56=3360, Resulting Numbers: [3360]
3360,51 unequal: No Solution
Exploring Operation: 60-56=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 60+56=116, Resulting Numbers: [116]
116,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[63, 53], Operations: ['88-28=60', '60-7=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,51 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,51 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: 51:[63, 88, 4], Operations: ['28/7=4']
Exploring Operation: 88-63=25, Resulting Numbers: [4, 25]
Generated Node #0,2,0: 51:[4, 25] Operation: 88-63=25
Exploring Operation: 88/4=22, Resulting Numbers: [63, 22]
Generated Node #0,2,1: 51:[63, 22] Operation: 88/4=22
Exploring Operation: 63-4=59, Resulting Numbers: [88, 59]
Generated Node #0,2,2: 51:[88, 59] Operation: 63-4=59
Moving to Node #0,2,0
Current State: 51:[4, 25], Operations: ['28/7=4', '88-63=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[63, 22], Operations: ['28/7=4', '88/4=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,51 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[88, 59], Operations: ['28/7=4', '63-4=59']
Exploring Operation: 88*59=5192, Resulting Numbers: [5192]
5192,51 unequal: No Solution
Exploring Operation: 88-59=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 88+59=147, Resulting Numbers: [147]
147,51 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
60,
40,
94
] | 46 | [
"2*40=80",
"94-60=34",
"80-34=46"
] | Current State: 46:[2, 60, 40, 94], Operations: []
Exploring Operation: 2*40=80, Resulting Numbers: [60, 94, 80]
Generated Node #2: [60, 94, 80] from Operation: 2*40=80
Current State: 46:[60, 94, 80], Operations: ['2*40=80']
Exploring Operation: 94-60=34, Resulting Numbers: [80, 34]
Generated Node #3: [80, 34] from Operation: 94-60=34
Current State: 46:[80, 34], Operations: ['2*40=80', '94-60=34']
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[2, 60, 40, 94], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [2, 40, 34]
Generated Node #0,0: 46:[2, 40, 34] Operation: 94-60=34
Exploring Operation: 94-40=54, Resulting Numbers: [2, 60, 54]
Generated Node #0,1: 46:[2, 60, 54] Operation: 94-40=54
Exploring Operation: 94/2=47, Resulting Numbers: [60, 40, 47]
Generated Node #0,2: 46:[60, 40, 47] Operation: 94/2=47
Moving to Node #0,0
Current State: 46:[2, 40, 34], Operations: ['94-60=34']
Exploring Operation: 40-34=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 46:[2, 6] Operation: 40-34=6
Exploring Operation: 34/2=17, Resulting Numbers: [40, 17]
Generated Node #0,0,1: 46:[40, 17] Operation: 34/2=17
Exploring Operation: 40/2=20, Resulting Numbers: [34, 20]
Generated Node #0,0,2: 46:[34, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[2, 6], Operations: ['94-60=34', '40-34=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[40, 17], Operations: ['94-60=34', '34/2=17']
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,46 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,46 unequal: No Solution
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[34, 20], Operations: ['94-60=34', '40/2=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,46 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,46 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: 46:[60, 40, 47], Operations: ['94/2=47']
Exploring Operation: 47-40=7, Resulting Numbers: [60, 7]
Generated Node #0,2,0: 46:[60, 7] Operation: 47-40=7
Exploring Operation: 60-40=20, Resulting Numbers: [47, 20]
Generated Node #0,2,1: 46:[47, 20] Operation: 60-40=20
Exploring Operation: 60-47=13, Resulting Numbers: [40, 13]
Generated Node #0,2,2: 46:[40, 13] Operation: 60-47=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[47, 20], Operations: ['94/2=47', '60-40=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,46 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[40, 13], Operations: ['94/2=47', '60-47=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,46 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[60, 7], Operations: ['94/2=47', '47-40=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,46 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,46 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: 46:[2, 60, 54], Operations: ['94-40=54']
Exploring Operation: 54/2=27, Resulting Numbers: [60, 27]
Generated Node #0,1,0: 46:[60, 27] Operation: 54/2=27
Exploring Operation: 60/2=30, Resulting Numbers: [54, 30]
Generated Node #0,1,1: 46:[54, 30] Operation: 60/2=30
Exploring Operation: 60-54=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 46:[2, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 46:[2, 6], Operations: ['94-40=54', '60-54=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[54, 30], Operations: ['94-40=54', '60/2=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,46 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[60, 27], Operations: ['94-40=54', '54/2=27']
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,46 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,46 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 |
[
8,
22,
18,
17
] | 50 | [
"18-8=10",
"22-17=5",
"10*5=50"
] | Current State: 50:[8, 22, 18, 17], Operations: []
Exploring Operation: 18-8=10, Resulting Numbers: [22, 17, 10]
Generated Node #2: [22, 17, 10] from Operation: 18-8=10
Current State: 50:[22, 17, 10], Operations: ['18-8=10']
Exploring Operation: 22-17=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 22-17=5
Current State: 50:[10, 5], Operations: ['18-8=10', '22-17=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[8, 22, 18, 17], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [8, 18, 5]
Generated Node #0,0: 50:[8, 18, 5] Operation: 22-17=5
Exploring Operation: 18-17=1, Resulting Numbers: [8, 22, 1]
Generated Node #0,1: 50:[8, 22, 1] Operation: 18-17=1
Exploring Operation: 8+17=25, Resulting Numbers: [22, 18, 25]
Generated Node #0,2: 50:[22, 18, 25] Operation: 8+17=25
Exploring Operation: 18-8=10, Resulting Numbers: [22, 17, 10]
Generated Node #0,3: 50:[22, 17, 10] Operation: 18-8=10
Exploring Operation: 22-18=4, Resulting Numbers: [8, 17, 4]
Generated Node #0,4: 50:[8, 17, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[8, 22, 1], Operations: ['18-17=1']
Exploring Operation: 8-1=7, Resulting Numbers: [22, 7]
Generated Node #0,1,0: 50:[22, 7] Operation: 8-1=7
Exploring Operation: 8+1=9, Resulting Numbers: [22, 9]
Generated Node #0,1,1: 50:[22, 9] Operation: 8+1=9
Exploring Operation: 22-8=14, Resulting Numbers: [1, 14]
Generated Node #0,1,2: 50:[1, 14] Operation: 22-8=14
Exploring Operation: 8*1=8, Resulting Numbers: [22, 8]
Generated Node #0,1,3: 50:[22, 8] Operation: 8*1=8
Exploring Operation: 22+1=23, Resulting Numbers: [8, 23]
Generated Node #0,1,4: 50:[8, 23] Operation: 22+1=23
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[22, 9], Operations: ['18-17=1', '8+1=9']
Exploring Operation: 22+9=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 22*9=198, Resulting Numbers: [198]
198,50 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 50:[8, 23], Operations: ['18-17=1', '22+1=23']
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,50 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,50 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,50 unequal: No Solution
No solution found.
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: 50:[22, 7], Operations: ['18-17=1', '8-1=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,50 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[1, 14], Operations: ['18-17=1', '22-8=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[22, 8], Operations: ['18-17=1', '8*1=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,50 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[8, 18, 5], Operations: ['22-17=5']
Exploring Operation: 18+5=23, Resulting Numbers: [8, 23]
Generated Node #0,0,0: 50:[8, 23] Operation: 18+5=23
Exploring Operation: 8-5=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 50:[18, 3] Operation: 8-5=3
Exploring Operation: 18-8=10, Resulting Numbers: [5, 10]
Generated Node #0,0,2: 50:[5, 10] Operation: 18-8=10
Exploring Operation: 8+18=26, Resulting Numbers: [5, 26]
Generated Node #0,0,3: 50:[5, 26] Operation: 8+18=26
Exploring Operation: 18-5=13, Resulting Numbers: [8, 13]
Generated Node #0,0,4: 50:[8, 13] Operation: 18-5=13
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[5, 10], Operations: ['22-17=5', '18-8=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[8, 22, 18, 17], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [8, 18, 5]
Generated Node #0,0: 50:[8, 18, 5] Operation: 22-17=5
Moving to Node #0,0
Current State: 50:[8, 18, 5], Operations: ['22-17=5']
Exploring Operation: 18-8=10, Resulting Numbers: [5, 10]
Generated Node #0,0,2: 50:[5, 10] Operation: 18-8=10
Moving to Node #0,0,2
Current State: 50:[5, 10], Operations: ['22-17=5', '18-8=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
45,
8,
32,
39
] | 65 | [
"45-32=13",
"8*13=104",
"104-39=65"
] | Current State: 65:[45, 8, 32, 39], Operations: []
Exploring Operation: 45-32=13, Resulting Numbers: [8, 39, 13]
Generated Node #2: [8, 39, 13] from Operation: 45-32=13
Current State: 65:[8, 39, 13], Operations: ['45-32=13']
Exploring Operation: 8*13=104, Resulting Numbers: [39, 104]
Generated Node #3: [39, 104] from Operation: 8*13=104
Current State: 65:[39, 104], Operations: ['45-32=13', '8*13=104']
Exploring Operation: 104-39=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[45, 8, 32, 39], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [45, 8, 7]
Generated Node #0,0: 65:[45, 8, 7] Operation: 39-32=7
Exploring Operation: 45-39=6, Resulting Numbers: [8, 32, 6]
Generated Node #0,1: 65:[8, 32, 6] Operation: 45-39=6
Moving to Node #0,1
Current State: 65:[8, 32, 6], Operations: ['45-39=6']
Exploring Operation: 32/8=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 65:[6, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [6, 24]
Generated Node #0,1,1: 65:[6, 24] Operation: 32-8=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[6, 4], Operations: ['45-39=6', '32/8=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[6, 24], Operations: ['45-39=6', '32-8=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,65 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: 65:[45, 8, 7], Operations: ['39-32=7']
Exploring Operation: 45+8=53, Resulting Numbers: [7, 53]
Generated Node #0,0,0: 65:[7, 53] Operation: 45+8=53
Exploring Operation: 45+7=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 65:[8, 52] Operation: 45+7=52
Moving to Node #0,0,0
Current State: 65:[7, 53], Operations: ['39-32=7', '45+8=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,65 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[8, 52], Operations: ['39-32=7', '45+7=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,65 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,65 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.