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 |
|---|---|---|---|---|---|---|---|---|
[
2,
58,
30,
8
] | 32 | [
"8/2=4",
"58-30=28",
"4+28=32"
] | Current State: 32:[2, 58, 30, 8], Operations: []
Exploring Operation: 8/2=4, Resulting Numbers: [58, 30, 4]
Generated Node #2: [58, 30, 4] from Operation: 8/2=4
Current State: 32:[58, 30, 4], Operations: ['8/2=4']
Exploring Operation: 58-30=28, Resulting Numbers: [4, 28]
Generated Node #3: [4, 28] from Operation: 58-30=28
Current State: 32:[4, 28], Operations: ['8/2=4', '58-30=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[2, 58, 30, 8], Operations: []
Exploring Operation: 58/2=29, Resulting Numbers: [30, 8, 29]
Generated Node #0,0: 32:[30, 8, 29] Operation: 58/2=29
Exploring Operation: 58-30=28, Resulting Numbers: [2, 8, 28]
Generated Node #0,1: 32:[2, 8, 28] Operation: 58-30=28
Moving to Node #0,1
Current State: 32:[2, 8, 28], Operations: ['58-30=28']
Exploring Operation: 28/2=14, Resulting Numbers: [8, 14]
Generated Node #0,1,0: 32:[8, 14] Operation: 28/2=14
Exploring Operation: 2+28=30, Resulting Numbers: [8, 30]
Generated Node #0,1,1: 32:[8, 30] Operation: 2+28=30
Moving to Node #0,0
Current State: 32:[30, 8, 29], Operations: ['58/2=29']
Exploring Operation: 8+29=37, Resulting Numbers: [30, 37]
Generated Node #0,0,0: 32:[30, 37] Operation: 8+29=37
Exploring Operation: 30-29=1, Resulting Numbers: [8, 1]
Generated Node #0,0,1: 32:[8, 1] Operation: 30-29=1
Moving to Node #0,0,1
Current State: 32:[8, 1], Operations: ['58/2=29', '30-29=1']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[8, 14], Operations: ['58-30=28', '28/2=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[8, 30], Operations: ['58-30=28', '2+28=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[30, 37], Operations: ['58/2=29', '8+29=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
34,
1,
28,
7
] | 38 | [
"34*1=34",
"28/7=4",
"34+4=38"
] | Current State: 38:[34, 1, 28, 7], Operations: []
Exploring Operation: 34*1=34, Resulting Numbers: [28, 7, 34]
Generated Node #2: [28, 7, 34] from Operation: 34*1=34
Current State: 38:[28, 7, 34], Operations: ['34*1=34']
Exploring Operation: 28/7=4, Resulting Numbers: [34, 4]
Generated Node #3: [34, 4] from Operation: 28/7=4
Current State: 38:[34, 4], Operations: ['34*1=34', '28/7=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[34, 1, 28, 7], Operations: []
Exploring Operation: 28-7=21, Resulting Numbers: [34, 1, 21]
Generated Node #0,0: 38:[34, 1, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [34, 1, 4]
Generated Node #0,1: 38:[34, 1, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[34, 1, 21], Operations: ['28-7=21']
Exploring Operation: 21-1=20, Resulting Numbers: [34, 20]
Generated Node #0,0,0: 38:[34, 20] Operation: 21-1=20
Exploring Operation: 34+1=35, Resulting Numbers: [21, 35]
Generated Node #0,0,1: 38:[21, 35] Operation: 34+1=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[34, 20], Operations: ['28-7=21', '21-1=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,38 unequal: No Solution
No 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: 38:[21, 35], Operations: ['28-7=21', '34+1=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[34, 1, 4], Operations: ['28/7=4']
Exploring Operation: 34+1=35, Resulting Numbers: [4, 35]
Generated Node #0,1,0: 38:[4, 35] Operation: 34+1=35
Exploring Operation: 34+4=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 38:[1, 38] Operation: 34+4=38
Moving to Node #0,1,1
Current State: 38:[1, 38], Operations: ['28/7=4', '34+4=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[34, 1, 28, 7], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [34, 1, 4]
Generated Node #0,1: 38:[34, 1, 4] Operation: 28/7=4
Moving to Node #0,1
Current State: 38:[34, 1, 4], Operations: ['28/7=4']
Exploring Operation: 34+4=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 38:[1, 38] Operation: 34+4=38
Moving to Node #0,1,1
Current State: 38:[1, 38], Operations: ['28/7=4', '34+4=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
42,
13,
61,
69
] | 47 | [
"42+13=55",
"69-61=8",
"55-8=47"
] | Current State: 47:[42, 13, 61, 69], Operations: []
Exploring Operation: 42+13=55, Resulting Numbers: [61, 69, 55]
Generated Node #2: [61, 69, 55] from Operation: 42+13=55
Current State: 47:[61, 69, 55], Operations: ['42+13=55']
Exploring Operation: 69-61=8, Resulting Numbers: [55, 8]
Generated Node #3: [55, 8] from Operation: 69-61=8
Current State: 47:[55, 8], Operations: ['42+13=55', '69-61=8']
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[42, 13, 61, 69], Operations: []
Exploring Operation: 61-13=48, Resulting Numbers: [42, 69, 48]
Generated Node #0,0: 47:[42, 69, 48] Operation: 61-13=48
Exploring Operation: 42+13=55, Resulting Numbers: [61, 69, 55]
Generated Node #0,1: 47:[61, 69, 55] Operation: 42+13=55
Exploring Operation: 69-13=56, Resulting Numbers: [42, 61, 56]
Generated Node #0,2: 47:[42, 61, 56] Operation: 69-13=56
Moving to Node #0,0
Current State: 47:[42, 69, 48], Operations: ['61-13=48']
Exploring Operation: 69-48=21, Resulting Numbers: [42, 21]
Generated Node #0,0,0: 47:[42, 21] Operation: 69-48=21
Exploring Operation: 69-42=27, Resulting Numbers: [48, 27]
Generated Node #0,0,1: 47:[48, 27] Operation: 69-42=27
Exploring Operation: 48-42=6, Resulting Numbers: [69, 6]
Generated Node #0,0,2: 47:[69, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[48, 27], Operations: ['61-13=48', '69-42=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,47 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[42, 21], Operations: ['61-13=48', '69-48=21']
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[69, 6], Operations: ['61-13=48', '48-42=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[42, 61, 56], Operations: ['69-13=56']
Exploring Operation: 56-42=14, Resulting Numbers: [61, 14]
Generated Node #0,2,0: 47:[61, 14] Operation: 56-42=14
Exploring Operation: 61-56=5, Resulting Numbers: [42, 5]
Generated Node #0,2,1: 47:[42, 5] Operation: 61-56=5
Exploring Operation: 61-42=19, Resulting Numbers: [56, 19]
Generated Node #0,2,2: 47:[56, 19] Operation: 61-42=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[56, 19], Operations: ['69-13=56', '61-42=19']
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[61, 14], Operations: ['69-13=56', '56-42=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,47 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,47 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[42, 13, 61, 69], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [42, 61, 56]
Generated Node #0,2: 47:[42, 61, 56] Operation: 69-13=56
Moving to Node #0,2
Current State: 47:[42, 61, 56], Operations: ['69-13=56']
Exploring Operation: 56-42=14, Resulting Numbers: [61, 14]
Generated Node #0,2,0: 47:[61, 14] Operation: 56-42=14
Moving to Node #0,2,0
Current State: 47:[61, 14], Operations: ['69-13=56', '56-42=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | mult_heuristic |
[
59,
2,
60,
27
] | 17 | [
"59+27=86",
"86/2=43",
"60-43=17"
] | Current State: 17:[59, 2, 60, 27], Operations: []
Exploring Operation: 59+27=86, Resulting Numbers: [2, 60, 86]
Generated Node #2: [2, 60, 86] from Operation: 59+27=86
Current State: 17:[2, 60, 86], Operations: ['59+27=86']
Exploring Operation: 86/2=43, Resulting Numbers: [60, 43]
Generated Node #3: [60, 43] from Operation: 86/2=43
Current State: 17:[60, 43], Operations: ['59+27=86', '86/2=43']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[59, 2, 60, 27], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [2, 27, 1]
Generated Node #0,0: 17:[2, 27, 1] Operation: 60-59=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[2, 27, 1], Operations: ['60-59=1']
Exploring Operation: 27-2=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 17:[1, 25] Operation: 27-2=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[1, 25], Operations: ['60-59=1', '27-2=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
60,
94,
24,
54
] | 41 | [
"60*54=3240",
"3240/24=135",
"135-94=41"
] | Current State: 41:[60, 94, 24, 54], Operations: []
Exploring Operation: 60*54=3240, Resulting Numbers: [94, 24, 3240]
Generated Node #2: [94, 24, 3240] from Operation: 60*54=3240
Current State: 41:[94, 24, 3240], Operations: ['60*54=3240']
Exploring Operation: 3240/24=135, Resulting Numbers: [94, 135]
Generated Node #3: [94, 135] from Operation: 3240/24=135
Current State: 41:[94, 135], Operations: ['60*54=3240', '3240/24=135']
Exploring Operation: 135-94=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[60, 94, 24, 54], Operations: []
Exploring Operation: 94-60=34, Resulting Numbers: [24, 54, 34]
Generated Node #0,0: 41:[24, 54, 34] Operation: 94-60=34
Exploring Operation: 94-54=40, Resulting Numbers: [60, 24, 40]
Generated Node #0,1: 41:[60, 24, 40] Operation: 94-54=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[24, 54, 34], Operations: ['94-60=34']
Exploring Operation: 54-24=30, Resulting Numbers: [34, 30]
Generated Node #0,0,0: 41:[34, 30] Operation: 54-24=30
Exploring Operation: 24+34=58, Resulting Numbers: [54, 58]
Generated Node #0,0,1: 41:[54, 58] Operation: 24+34=58
Moving to Node #0,0,0
Current State: 41:[34, 30], Operations: ['94-60=34', '54-24=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[54, 58], Operations: ['94-60=34', '24+34=58']
Exploring Operation: 54+58=112, Resulting Numbers: [112]
112,41 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[60, 24, 40], Operations: ['94-54=40']
Exploring Operation: 60-24=36, Resulting Numbers: [40, 36]
Generated Node #0,1,0: 41:[40, 36] Operation: 60-24=36
Exploring Operation: 60-40=20, Resulting Numbers: [24, 20]
Generated Node #0,1,1: 41:[24, 20] Operation: 60-40=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[40, 36], Operations: ['94-54=40', '60-24=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,41 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[24, 20], Operations: ['94-54=40', '60-40=20']
Exploring Operation: 24+20=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
50,
29,
2
] | 20 | [
"91+29=120",
"50*2=100",
"120-100=20"
] | Current State: 20:[91, 50, 29, 2], Operations: []
Exploring Operation: 91+29=120, Resulting Numbers: [50, 2, 120]
Generated Node #2: [50, 2, 120] from Operation: 91+29=120
Current State: 20:[50, 2, 120], Operations: ['91+29=120']
Exploring Operation: 50*2=100, Resulting Numbers: [120, 100]
Generated Node #3: [120, 100] from Operation: 50*2=100
Current State: 20:[120, 100], Operations: ['91+29=120', '50*2=100']
Exploring Operation: 120-100=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[91, 50, 29, 2], Operations: []
Exploring Operation: 91-29=62, Resulting Numbers: [50, 2, 62]
Generated Node #0,0: 20:[50, 2, 62] Operation: 91-29=62
Exploring Operation: 50-29=21, Resulting Numbers: [91, 2, 21]
Generated Node #0,1: 20:[91, 2, 21] Operation: 50-29=21
Exploring Operation: 91-50=41, Resulting Numbers: [29, 2, 41]
Generated Node #0,2: 20:[29, 2, 41] Operation: 91-50=41
Exploring Operation: 50/2=25, Resulting Numbers: [91, 29, 25]
Generated Node #0,3: 20:[91, 29, 25] Operation: 50/2=25
Exploring Operation: 91-2=89, Resulting Numbers: [50, 29, 89]
Generated Node #0,4: 20:[50, 29, 89] Operation: 91-2=89
Moving to Node #0,2
Current State: 20:[29, 2, 41], Operations: ['91-50=41']
Exploring Operation: 41-2=39, Resulting Numbers: [29, 39]
Generated Node #0,2,0: 20:[29, 39] Operation: 41-2=39
Exploring Operation: 41-29=12, Resulting Numbers: [2, 12]
Generated Node #0,2,1: 20:[2, 12] Operation: 41-29=12
Exploring Operation: 29-2=27, Resulting Numbers: [41, 27]
Generated Node #0,2,2: 20:[41, 27] Operation: 29-2=27
Exploring Operation: 2+41=43, Resulting Numbers: [29, 43]
Generated Node #0,2,3: 20:[29, 43] Operation: 2+41=43
Exploring Operation: 29+2=31, Resulting Numbers: [41, 31]
Generated Node #0,2,4: 20:[41, 31] Operation: 29+2=31
Moving to Node #0,1
Current State: 20:[91, 2, 21], Operations: ['50-29=21']
Exploring Operation: 2+21=23, Resulting Numbers: [91, 23]
Generated Node #0,1,0: 20:[91, 23] Operation: 2+21=23
Exploring Operation: 91-2=89, Resulting Numbers: [21, 89]
Generated Node #0,1,1: 20:[21, 89] Operation: 91-2=89
Exploring Operation: 91+2=93, Resulting Numbers: [21, 93]
Generated Node #0,1,2: 20:[21, 93] Operation: 91+2=93
Exploring Operation: 21-2=19, Resulting Numbers: [91, 19]
Generated Node #0,1,3: 20:[91, 19] Operation: 21-2=19
Exploring Operation: 91-21=70, Resulting Numbers: [2, 70]
Generated Node #0,1,4: 20:[2, 70] Operation: 91-21=70
Moving to Node #0,0
Current State: 20:[50, 2, 62], Operations: ['91-29=62']
Exploring Operation: 50/2=25, Resulting Numbers: [62, 25]
Generated Node #0,0,0: 20:[62, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [62, 48]
Generated Node #0,0,1: 20:[62, 48] Operation: 50-2=48
Exploring Operation: 62-2=60, Resulting Numbers: [50, 60]
Generated Node #0,0,2: 20:[50, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [50, 31]
Generated Node #0,0,3: 20:[50, 31] Operation: 62/2=31
Exploring Operation: 62-50=12, Resulting Numbers: [2, 12]
Generated Node #0,0,4: 20:[2, 12] Operation: 62-50=12
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 20:[2, 12], Operations: ['91-29=62', '62-50=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,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:[50, 31], Operations: ['91-29=62', '62/2=31']
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,20 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[62, 25], Operations: ['91-29=62', '50/2=25']
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,20 unequal: No Solution
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,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:[62, 48], Operations: ['91-29=62', '50-2=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,20 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,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:[50, 60], Operations: ['91-29=62', '62-2=60']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 50*60=3000, Resulting Numbers: [3000]
3000,20 unequal: No Solution
Exploring Operation: 50+60=110, Resulting Numbers: [110]
110,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 20:[91, 29, 25], Operations: ['50/2=25']
Exploring Operation: 91-25=66, Resulting Numbers: [29, 66]
Generated Node #0,3,0: 20:[29, 66] Operation: 91-25=66
Exploring Operation: 91+29=120, Resulting Numbers: [25, 120]
Generated Node #0,3,1: 20:[25, 120] Operation: 91+29=120
Exploring Operation: 91-29=62, Resulting Numbers: [25, 62]
Generated Node #0,3,2: 20:[25, 62] Operation: 91-29=62
Exploring Operation: 91+25=116, Resulting Numbers: [29, 116]
Generated Node #0,3,3: 20:[29, 116] Operation: 91+25=116
Exploring Operation: 29-25=4, Resulting Numbers: [91, 4]
Generated Node #0,3,4: 20:[91, 4] Operation: 29-25=4
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[25, 62], Operations: ['50/2=25', '91-29=62']
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 25+62=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 25*62=1550, Resulting Numbers: [1550]
1550,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[29, 66], Operations: ['50/2=25', '91-25=66']
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,20 unequal: No Solution
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 20:[91, 4], Operations: ['50/2=25', '29-25=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,20 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[25, 120], Operations: ['50/2=25', '91+29=120']
Exploring Operation: 25*120=3000, Resulting Numbers: [3000]
3000,20 unequal: No Solution
Exploring Operation: 120-25=95, Resulting Numbers: [95]
95,20 unequal: No Solution
Exploring Operation: 25+120=145, Resulting Numbers: [145]
145,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[29, 116], Operations: ['50/2=25', '91+25=116']
Exploring Operation: 116-29=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 116/29=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 29*116=3364, Resulting Numbers: [3364]
3364,20 unequal: No Solution
Exploring Operation: 29+116=145, Resulting Numbers: [145]
145,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:[50, 29, 89], Operations: ['91-2=89']
Exploring Operation: 89-50=39, Resulting Numbers: [29, 39]
Generated Node #0,4,0: 20:[29, 39] Operation: 89-50=39
Exploring Operation: 50-29=21, Resulting Numbers: [89, 21]
Generated Node #0,4,1: 20:[89, 21] Operation: 50-29=21
Exploring Operation: 50+29=79, Resulting Numbers: [89, 79]
Generated Node #0,4,2: 20:[89, 79] Operation: 50+29=79
Exploring Operation: 50+89=139, Resulting Numbers: [29, 139]
Generated Node #0,4,3: 20:[29, 139] Operation: 50+89=139
Exploring Operation: 89-29=60, Resulting Numbers: [50, 60]
Generated Node #0,4,4: 20:[50, 60] Operation: 89-29=60
Moving to Node #0,2,1
Current State: 20:[2, 12], Operations: ['91-50=41', '41-29=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[41, 27], Operations: ['91-50=41', '29-2=27']
Exploring Operation: 41+27=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 41*27=1107, Resulting Numbers: [1107]
1107,20 unequal: No Solution
Exploring Operation: 41-27=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Moving to Node #0,2,0
Current State: 20:[29, 39], Operations: ['91-50=41', '41-2=39']
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,20 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,4,0
Current State: 20:[29, 39], Operations: ['91-2=89', '89-50=39']
Exploring Operation: 29*39=1131, Resulting Numbers: [1131]
1131,20 unequal: No Solution
Exploring Operation: 29+39=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 39-29=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[41, 31], Operations: ['91-50=41', '29+2=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,20 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[29, 43], Operations: ['91-50=41', '2+41=43']
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,20 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[2, 70], Operations: ['50-29=21', '91-21=70']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,20 unequal: No Solution
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[21, 89], Operations: ['50-29=21', '91-2=89']
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Exploring Operation: 21+89=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 21*89=1869, Resulting Numbers: [1869]
1869,20 unequal: No Solution
Moving to Node #0,4,4
Current State: 20:[50, 60], Operations: ['91-2=89', '89-29=60']
Exploring Operation: 50+60=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 50*60=3000, Resulting Numbers: [3000]
3000,20 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[89, 21], Operations: ['91-2=89', '50-29=21']
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,20 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[91, 19], Operations: ['50-29=21', '21-2=19']
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[91, 23], Operations: ['50-29=21', '2+21=23']
Exploring Operation: 91*23=2093, Resulting Numbers: [2093]
2093,20 unequal: No Solution
Exploring Operation: 91+23=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[21, 93], Operations: ['50-29=21', '91+2=93']
Exploring Operation: 21+93=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,20 unequal: No Solution
Exploring Operation: 21*93=1953, Resulting Numbers: [1953]
1953,20 unequal: No Solution
Moving to Node #0,4,3
Current State: 20:[29, 139], Operations: ['91-2=89', '50+89=139']
Exploring Operation: 29+139=168, Resulting Numbers: [168]
168,20 unequal: No Solution
Exploring Operation: 139-29=110, Resulting Numbers: [110]
110,20 unequal: No Solution
Exploring Operation: 29*139=4031, Resulting Numbers: [4031]
4031,20 unequal: No Solution
Moving to Node #0,4,2
Current State: 20:[89, 79], Operations: ['91-2=89', '50+29=79']
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,20 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,20 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
6,
24,
1,
1
] | 21 | [
"1+1=2",
"6/2=3",
"24-3=21"
] | Current State: 21:[6, 24, 1, 1], Operations: []
Exploring Operation: 1+1=2, Resulting Numbers: [6, 24, 2]
Generated Node #2: [6, 24, 2] from Operation: 1+1=2
Current State: 21:[6, 24, 2], Operations: ['1+1=2']
Exploring Operation: 6/2=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 6/2=3
Current State: 21:[24, 3], Operations: ['1+1=2', '6/2=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[6, 24, 1, 1], Operations: []
Exploring Operation: 24-1=23, Resulting Numbers: [6, 1, 23]
Generated Node #0,0: 21:[6, 1, 23] Operation: 24-1=23
Exploring Operation: 6+1=7, Resulting Numbers: [24, 1, 7]
Generated Node #0,1: 21:[24, 1, 7] Operation: 6+1=7
Exploring Operation: 6+1=7, Resulting Numbers: [24, 1, 7]
Generated Node #0,2: 21:[24, 1, 7] Operation: 6+1=7
Exploring Operation: 24/6=4, Resulting Numbers: [1, 1, 4]
Generated Node #0,3: 21:[1, 1, 4] Operation: 24/6=4
Exploring Operation: 24-1=23, Resulting Numbers: [6, 1, 23]
Generated Node #0,4: 21:[6, 1, 23] Operation: 24-1=23
Moving to Node #0,0
Current State: 21:[6, 1, 23], Operations: ['24-1=23']
Exploring Operation: 6/1=6, Resulting Numbers: [23, 6]
Generated Node #0,0,0: 21:[23, 6] Operation: 6/1=6
Exploring Operation: 1*23=23, Resulting Numbers: [6, 23]
Generated Node #0,0,1: 21:[6, 23] Operation: 1*23=23
Exploring Operation: 6+1=7, Resulting Numbers: [23, 7]
Generated Node #0,0,2: 21:[23, 7] Operation: 6+1=7
Exploring Operation: 6*1=6, Resulting Numbers: [23, 6]
Generated Node #0,0,3: 21:[23, 6] Operation: 6*1=6
Exploring Operation: 23-1=22, Resulting Numbers: [6, 22]
Generated Node #0,0,4: 21:[6, 22] Operation: 23-1=22
Moving to Node #0,2
Current State: 21:[24, 1, 7], Operations: ['6+1=7']
Exploring Operation: 24*1=24, Resulting Numbers: [7, 24]
Generated Node #0,2,0: 21:[7, 24] Operation: 24*1=24
Exploring Operation: 24-1=23, Resulting Numbers: [7, 23]
Generated Node #0,2,1: 21:[7, 23] Operation: 24-1=23
Exploring Operation: 7/1=7, Resulting Numbers: [24, 7]
Generated Node #0,2,2: 21:[24, 7] Operation: 7/1=7
Exploring Operation: 1*7=7, Resulting Numbers: [24, 7]
Generated Node #0,2,3: 21:[24, 7] Operation: 1*7=7
Exploring Operation: 24/1=24, Resulting Numbers: [7, 24]
Generated Node #0,2,4: 21:[7, 24] Operation: 24/1=24
Moving to Node #0,4
Current State: 21:[6, 1, 23], Operations: ['24-1=23']
Exploring Operation: 23-1=22, Resulting Numbers: [6, 22]
Generated Node #0,4,0: 21:[6, 22] Operation: 23-1=22
Exploring Operation: 6+1=7, Resulting Numbers: [23, 7]
Generated Node #0,4,1: 21:[23, 7] Operation: 6+1=7
Exploring Operation: 1*23=23, Resulting Numbers: [6, 23]
Generated Node #0,4,2: 21:[6, 23] Operation: 1*23=23
Exploring Operation: 6*1=6, Resulting Numbers: [23, 6]
Generated Node #0,4,3: 21:[23, 6] Operation: 6*1=6
Exploring Operation: 6/1=6, Resulting Numbers: [23, 6]
Generated Node #0,4,4: 21:[23, 6] Operation: 6/1=6
Moving to Node #0,1
Current State: 21:[24, 1, 7], Operations: ['6+1=7']
Exploring Operation: 24-1=23, Resulting Numbers: [7, 23]
Generated Node #0,1,0: 21:[7, 23] Operation: 24-1=23
Exploring Operation: 7/1=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 21:[24, 7] Operation: 7/1=7
Exploring Operation: 24/1=24, Resulting Numbers: [7, 24]
Generated Node #0,1,2: 21:[7, 24] Operation: 24/1=24
Exploring Operation: 1*7=7, Resulting Numbers: [24, 7]
Generated Node #0,1,3: 21:[24, 7] Operation: 1*7=7
Exploring Operation: 24*1=24, Resulting Numbers: [7, 24]
Generated Node #0,1,4: 21:[7, 24] Operation: 24*1=24
Moving to Node #0,3
Current State: 21:[1, 1, 4], Operations: ['24/6=4']
Exploring Operation: 1/1=1, Resulting Numbers: [4, 1]
Generated Node #0,3,0: 21:[4, 1] Operation: 1/1=1
Exploring Operation: 4-1=3, Resulting Numbers: [1, 3]
Generated Node #0,3,1: 21:[1, 3] Operation: 4-1=3
Exploring Operation: 1+1=2, Resulting Numbers: [4, 2]
Generated Node #0,3,2: 21:[4, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [4, 1]
Generated Node #0,3,3: 21:[4, 1] Operation: 1*1=1
Exploring Operation: 4-1=3, Resulting Numbers: [1, 3]
Generated Node #0,3,4: 21:[1, 3] Operation: 4-1=3
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[1, 3], Operations: ['24/6=4', '4-1=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 1*3=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,3,2
Current State: 21:[4, 2], Operations: ['24/6=4', '1+1=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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,3,4
Current State: 21:[1, 3], Operations: ['24/6=4', '4-1=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 3/1=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,3,0
Current State: 21:[4, 1], Operations: ['24/6=4', '1/1=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,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,3,3
Current State: 21:[4, 1], Operations: ['24/6=4', '1*1=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,21 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,21 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: 21:[23, 7], Operations: ['24-1=23', '6+1=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,21 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[7, 23], Operations: ['6+1=7', '24-1=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,21 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Moving to Node #0,4,1
Current State: 21:[23, 7], Operations: ['24-1=23', '6+1=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,21 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,0,4
Current State: 21:[6, 22], Operations: ['24-1=23', '23-1=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Moving to Node #0,4,0
Current State: 21:[6, 22], Operations: ['24-1=23', '23-1=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[7, 23], Operations: ['6+1=7', '24-1=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,21 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[7, 24], Operations: ['6+1=7', '24*1=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,4,4
Current State: 21:[23, 6], Operations: ['24-1=23', '6/1=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,4,3
Current State: 21:[23, 6], Operations: ['24-1=23', '6*1=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[24, 7], Operations: ['6+1=7', '1*7=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Moving to Node #0,1,4
Current State: 21:[7, 24], Operations: ['6+1=7', '24*1=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[23, 6], Operations: ['24-1=23', '6/1=6']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[24, 7], Operations: ['6+1=7', '7/1=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Moving to Node #0,2,4
Current State: 21:[7, 24], Operations: ['6+1=7', '24/1=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[24, 7], Operations: ['6+1=7', '7/1=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Moving to Node #0,4,2
Current State: 21:[6, 23], Operations: ['24-1=23', '1*23=23']
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[6, 23], Operations: ['24-1=23', '1*23=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 6*23=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[7, 24], Operations: ['6+1=7', '24/1=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[23, 6], Operations: ['24-1=23', '6*1=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,21 unequal: No Solution
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[24, 7], Operations: ['6+1=7', '1*7=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,21 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,21 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
60,
99,
42,
34
] | 37 | [
"99-60=39",
"42+34=76",
"76-39=37"
] | Current State: 37:[60, 99, 42, 34], Operations: []
Exploring Operation: 99-60=39, Resulting Numbers: [42, 34, 39]
Generated Node #2: [42, 34, 39] from Operation: 99-60=39
Current State: 37:[42, 34, 39], Operations: ['99-60=39']
Exploring Operation: 42+34=76, Resulting Numbers: [39, 76]
Generated Node #3: [39, 76] from Operation: 42+34=76
Current State: 37:[39, 76], Operations: ['99-60=39', '42+34=76']
Exploring Operation: 76-39=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[60, 99, 42, 34], Operations: []
Exploring Operation: 99-34=65, Resulting Numbers: [60, 42, 65]
Generated Node #0,0: 37:[60, 42, 65] Operation: 99-34=65
Exploring Operation: 99-42=57, Resulting Numbers: [60, 34, 57]
Generated Node #0,1: 37:[60, 34, 57] Operation: 99-42=57
Exploring Operation: 99-60=39, Resulting Numbers: [42, 34, 39]
Generated Node #0,2: 37:[42, 34, 39] Operation: 99-60=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[42, 34, 39], Operations: ['99-60=39']
Exploring Operation: 42-34=8, Resulting Numbers: [39, 8]
Generated Node #0,2,0: 37:[39, 8] Operation: 42-34=8
Exploring Operation: 39-34=5, Resulting Numbers: [42, 5]
Generated Node #0,2,1: 37:[42, 5] Operation: 39-34=5
Exploring Operation: 42-39=3, Resulting Numbers: [34, 3]
Generated Node #0,2,2: 37:[34, 3] Operation: 42-39=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[39, 8], Operations: ['99-60=39', '42-34=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,37 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[42, 5], Operations: ['99-60=39', '39-34=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[60, 99, 42, 34], Operations: []
Exploring Operation: 99-60=39, Resulting Numbers: [42, 34, 39]
Generated Node #0,2: 37:[42, 34, 39] Operation: 99-60=39
Moving to Node #0,2
Current State: 37:[42, 34, 39], Operations: ['99-60=39']
Exploring Operation: 39-34=5, Resulting Numbers: [42, 5]
Generated Node #0,2,1: 37:[42, 5] Operation: 39-34=5
Moving to Node #0,2,1
Current State: 37:[42, 5], Operations: ['99-60=39', '39-34=5']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
72,
2,
63,
15
] | 22 | [
"72-2=70",
"63-15=48",
"70-48=22"
] | Current State: 22:[72, 2, 63, 15], Operations: []
Exploring Operation: 72-2=70, Resulting Numbers: [63, 15, 70]
Generated Node #2: [63, 15, 70] from Operation: 72-2=70
Current State: 22:[63, 15, 70], Operations: ['72-2=70']
Exploring Operation: 63-15=48, Resulting Numbers: [70, 48]
Generated Node #3: [70, 48] from Operation: 63-15=48
Current State: 22:[70, 48], Operations: ['72-2=70', '63-15=48']
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[72, 2, 63, 15], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [2, 15, 9]
Generated Node #0,0: 22:[2, 15, 9] Operation: 72-63=9
Exploring Operation: 72/2=36, Resulting Numbers: [63, 15, 36]
Generated Node #0,1: 22:[63, 15, 36] Operation: 72/2=36
Exploring Operation: 63-15=48, Resulting Numbers: [72, 2, 48]
Generated Node #0,2: 22:[72, 2, 48] Operation: 63-15=48
Exploring Operation: 72-15=57, Resulting Numbers: [2, 63, 57]
Generated Node #0,3: 22:[2, 63, 57] Operation: 72-15=57
Moving to Node #0,0
Current State: 22:[2, 15, 9], Operations: ['72-63=9']
Exploring Operation: 15-9=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 22:[2, 6] Operation: 15-9=6
Exploring Operation: 2+9=11, Resulting Numbers: [15, 11]
Generated Node #0,0,1: 22:[15, 11] Operation: 2+9=11
Exploring Operation: 15+9=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 22:[2, 24] Operation: 15+9=24
Exploring Operation: 15-2=13, Resulting Numbers: [9, 13]
Generated Node #0,0,3: 22:[9, 13] Operation: 15-2=13
Moving to Node #0,1
Current State: 22:[63, 15, 36], Operations: ['72/2=36']
Exploring Operation: 63-36=27, Resulting Numbers: [15, 27]
Generated Node #0,1,0: 22:[15, 27] Operation: 63-36=27
Exploring Operation: 63-15=48, Resulting Numbers: [36, 48]
Generated Node #0,1,1: 22:[36, 48] Operation: 63-15=48
Exploring Operation: 36-15=21, Resulting Numbers: [63, 21]
Generated Node #0,1,2: 22:[63, 21] Operation: 36-15=21
Exploring Operation: 63+15=78, Resulting Numbers: [36, 78]
Generated Node #0,1,3: 22:[36, 78] Operation: 63+15=78
Moving to Node #0,3
Current State: 22:[2, 63, 57], Operations: ['72-15=57']
Exploring Operation: 63-2=61, Resulting Numbers: [57, 61]
Generated Node #0,3,0: 22:[57, 61] Operation: 63-2=61
Exploring Operation: 2+63=65, Resulting Numbers: [57, 65]
Generated Node #0,3,1: 22:[57, 65] Operation: 2+63=65
Exploring Operation: 57-2=55, Resulting Numbers: [63, 55]
Generated Node #0,3,2: 22:[63, 55] Operation: 57-2=55
Exploring Operation: 63-57=6, Resulting Numbers: [2, 6]
Generated Node #0,3,3: 22:[2, 6] Operation: 63-57=6
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[2, 6], Operations: ['72-15=57', '63-57=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[57, 61], Operations: ['72-15=57', '63-2=61']
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,22 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 22:[63, 55], Operations: ['72-15=57', '57-2=55']
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 63+55=118, Resulting Numbers: [118]
118,22 unequal: No Solution
Exploring Operation: 63*55=3465, Resulting Numbers: [3465]
3465,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[57, 65], Operations: ['72-15=57', '2+63=65']
Exploring Operation: 57*65=3705, Resulting Numbers: [3705]
3705,22 unequal: No Solution
Exploring Operation: 57+65=122, Resulting Numbers: [122]
122,22 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,22 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: 22:[72, 2, 48], Operations: ['63-15=48']
Exploring Operation: 72-48=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 22:[2, 24] Operation: 72-48=24
Exploring Operation: 72/2=36, Resulting Numbers: [48, 36]
Generated Node #0,2,1: 22:[48, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [48, 70]
Generated Node #0,2,2: 22:[48, 70] Operation: 72-2=70
Exploring Operation: 48/2=24, Resulting Numbers: [72, 24]
Generated Node #0,2,3: 22:[72, 24] Operation: 48/2=24
Moving to Node #0,0,2
Current State: 22:[2, 24], Operations: ['72-63=9', '15+9=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[72, 2, 63, 15], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [2, 15, 9]
Generated Node #0,0: 22:[2, 15, 9] Operation: 72-63=9
Moving to Node #0,0
Current State: 22:[2, 15, 9], Operations: ['72-63=9']
Exploring Operation: 15+9=24, Resulting Numbers: [2, 24]
Generated Node #0,0,2: 22:[2, 24] Operation: 15+9=24
Moving to Node #0,0,2
Current State: 22:[2, 24], Operations: ['72-63=9', '15+9=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
39,
54,
23,
32
] | 24 | [
"54-39=15",
"32-23=9",
"15+9=24"
] | Current State: 24:[39, 54, 23, 32], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [23, 32, 15]
Generated Node #2: [23, 32, 15] from Operation: 54-39=15
Current State: 24:[23, 32, 15], Operations: ['54-39=15']
Exploring Operation: 32-23=9, Resulting Numbers: [15, 9]
Generated Node #3: [15, 9] from Operation: 32-23=9
Current State: 24:[15, 9], Operations: ['54-39=15', '32-23=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[39, 54, 23, 32], Operations: []
Exploring Operation: 39-32=7, Resulting Numbers: [54, 23, 7]
Generated Node #0,0: 24:[54, 23, 7] Operation: 39-32=7
Exploring Operation: 54-32=22, Resulting Numbers: [39, 23, 22]
Generated Node #0,1: 24:[39, 23, 22] Operation: 54-32=22
Exploring Operation: 54-23=31, Resulting Numbers: [39, 32, 31]
Generated Node #0,2: 24:[39, 32, 31] Operation: 54-23=31
Exploring Operation: 54-39=15, Resulting Numbers: [23, 32, 15]
Generated Node #0,3: 24:[23, 32, 15] Operation: 54-39=15
Moving to Node #0,3
Current State: 24:[23, 32, 15], Operations: ['54-39=15']
Exploring Operation: 23+15=38, Resulting Numbers: [32, 38]
Generated Node #0,3,0: 24:[32, 38] Operation: 23+15=38
Exploring Operation: 32-15=17, Resulting Numbers: [23, 17]
Generated Node #0,3,1: 24:[23, 17] Operation: 32-15=17
Exploring Operation: 32-23=9, Resulting Numbers: [15, 9]
Generated Node #0,3,2: 24:[15, 9] Operation: 32-23=9
Exploring Operation: 23-15=8, Resulting Numbers: [32, 8]
Generated Node #0,3,3: 24:[32, 8] Operation: 23-15=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[15, 9], Operations: ['54-39=15', '32-23=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,24 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[39, 54, 23, 32], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [23, 32, 15]
Generated Node #0,3: 24:[23, 32, 15] Operation: 54-39=15
Moving to Node #0,3
Current State: 24:[23, 32, 15], Operations: ['54-39=15']
Exploring Operation: 32-23=9, Resulting Numbers: [15, 9]
Generated Node #0,3,2: 24:[15, 9] Operation: 32-23=9
Moving to Node #0,3,2
Current State: 24:[15, 9], Operations: ['54-39=15', '32-23=9']
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
33,
19,
2,
36
] | 19 | [
"33+2=35",
"36-35=1",
"19*1=19"
] | Current State: 19:[33, 19, 2, 36], Operations: []
Exploring Operation: 33+2=35, Resulting Numbers: [19, 36, 35]
Generated Node #2: [19, 36, 35] from Operation: 33+2=35
Current State: 19:[19, 36, 35], Operations: ['33+2=35']
Exploring Operation: 36-35=1, Resulting Numbers: [19, 1]
Generated Node #3: [19, 1] from Operation: 36-35=1
Current State: 19:[19, 1], Operations: ['33+2=35', '36-35=1']
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[33, 19, 2, 36], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [33, 19, 18]
Generated Node #0,0: 19:[33, 19, 18] Operation: 36/2=18
Exploring Operation: 33-2=31, Resulting Numbers: [19, 36, 31]
Generated Node #0,1: 19:[19, 36, 31] Operation: 33-2=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[33, 19, 18], Operations: ['36/2=18']
Exploring Operation: 33-18=15, Resulting Numbers: [19, 15]
Generated Node #0,0,0: 19:[19, 15] Operation: 33-18=15
Exploring Operation: 33-19=14, Resulting Numbers: [18, 14]
Generated Node #0,0,1: 19:[18, 14] Operation: 33-19=14
Moving to Node #0,0,0
Current State: 19:[19, 15], Operations: ['36/2=18', '33-18=15']
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[18, 14], Operations: ['36/2=18', '33-19=14']
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[19, 36, 31], Operations: ['33-2=31']
Exploring Operation: 36-31=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 19:[19, 5] Operation: 36-31=5
Exploring Operation: 36-19=17, Resulting Numbers: [31, 17]
Generated Node #0,1,1: 19:[31, 17] Operation: 36-19=17
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[19, 5], Operations: ['33-2=31', '36-31=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,19 unequal: No Solution
No 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: 19:[31, 17], Operations: ['33-2=31', '36-19=17']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,19 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 |
[
63,
43,
13,
37
] | 45 | [
"63-37=26",
"26/13=2",
"43+2=45"
] | Current State: 45:[63, 43, 13, 37], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [43, 13, 26]
Generated Node #2: [43, 13, 26] from Operation: 63-37=26
Current State: 45:[43, 13, 26], Operations: ['63-37=26']
Exploring Operation: 26/13=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 26/13=2
Current State: 45:[43, 2], Operations: ['63-37=26', '26/13=2']
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[63, 43, 13, 37], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [13, 37, 20]
Generated Node #0,0: 45:[13, 37, 20] Operation: 63-43=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[13, 37, 20], Operations: ['63-43=20']
Exploring Operation: 37-20=17, Resulting Numbers: [13, 17]
Generated Node #0,0,0: 45:[13, 17] Operation: 37-20=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[13, 17], Operations: ['63-43=20', '37-20=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,45 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 |
[
97,
75,
61,
25
] | 14 | [
"97-75=22",
"61-25=36",
"36-22=14"
] | Current State: 14:[97, 75, 61, 25], Operations: []
Exploring Operation: 97-75=22, Resulting Numbers: [61, 25, 22]
Generated Node #2: [61, 25, 22] from Operation: 97-75=22
Current State: 14:[61, 25, 22], Operations: ['97-75=22']
Exploring Operation: 61-25=36, Resulting Numbers: [22, 36]
Generated Node #3: [22, 36] from Operation: 61-25=36
Current State: 14:[22, 36], Operations: ['97-75=22', '61-25=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[97, 75, 61, 25], Operations: []
Exploring Operation: 75-61=14, Resulting Numbers: [97, 25, 14]
Generated Node #0,0: 14:[97, 25, 14] Operation: 75-61=14
Exploring Operation: 75/25=3, Resulting Numbers: [97, 61, 3]
Generated Node #0,1: 14:[97, 61, 3] Operation: 75/25=3
Exploring Operation: 97-61=36, Resulting Numbers: [75, 25, 36]
Generated Node #0,2: 14:[75, 25, 36] Operation: 97-61=36
Exploring Operation: 97-25=72, Resulting Numbers: [75, 61, 72]
Generated Node #0,3: 14:[75, 61, 72] Operation: 97-25=72
Exploring Operation: 97-75=22, Resulting Numbers: [61, 25, 22]
Generated Node #0,4: 14:[61, 25, 22] Operation: 97-75=22
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[61, 25, 22], Operations: ['97-75=22']
Exploring Operation: 61-25=36, Resulting Numbers: [22, 36]
Generated Node #0,4,0: 14:[22, 36] Operation: 61-25=36
Exploring Operation: 61+25=86, Resulting Numbers: [22, 86]
Generated Node #0,4,1: 14:[22, 86] Operation: 61+25=86
Exploring Operation: 61-22=39, Resulting Numbers: [25, 39]
Generated Node #0,4,2: 14:[25, 39] Operation: 61-22=39
Exploring Operation: 61+22=83, Resulting Numbers: [25, 83]
Generated Node #0,4,3: 14:[25, 83] Operation: 61+22=83
Exploring Operation: 25-22=3, Resulting Numbers: [61, 3]
Generated Node #0,4,4: 14:[61, 3] Operation: 25-22=3
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 14:[22, 36], Operations: ['97-75=22', '61-25=36']
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[97, 75, 61, 25], Operations: []
Exploring Operation: 97-75=22, Resulting Numbers: [61, 25, 22]
Generated Node #0,4: 14:[61, 25, 22] Operation: 97-75=22
Moving to Node #0,4
Current State: 14:[61, 25, 22], Operations: ['97-75=22']
Exploring Operation: 61-25=36, Resulting Numbers: [22, 36]
Generated Node #0,4,0: 14:[22, 36] Operation: 61-25=36
Moving to Node #0,4,0
Current State: 14:[22, 36], Operations: ['97-75=22', '61-25=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
24,
6,
34,
12
] | 15 | [
"6*34=204",
"204-24=180",
"180/12=15"
] | Current State: 15:[24, 6, 34, 12], Operations: []
Exploring Operation: 6*34=204, Resulting Numbers: [24, 12, 204]
Generated Node #2: [24, 12, 204] from Operation: 6*34=204
Current State: 15:[24, 12, 204], Operations: ['6*34=204']
Exploring Operation: 204-24=180, Resulting Numbers: [12, 180]
Generated Node #3: [12, 180] from Operation: 204-24=180
Current State: 15:[12, 180], Operations: ['6*34=204', '204-24=180']
Exploring Operation: 180/12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[24, 6, 34, 12], Operations: []
Exploring Operation: 34-24=10, Resulting Numbers: [6, 12, 10]
Generated Node #0,0: 15:[6, 12, 10] Operation: 34-24=10
Exploring Operation: 24/12=2, Resulting Numbers: [6, 34, 2]
Generated Node #0,1: 15:[6, 34, 2] Operation: 24/12=2
Exploring Operation: 34-12=22, Resulting Numbers: [24, 6, 22]
Generated Node #0,2: 15:[24, 6, 22] Operation: 34-12=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[6, 12, 10], Operations: ['34-24=10']
Exploring Operation: 12-10=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 15:[6, 2] Operation: 12-10=2
Exploring Operation: 10-6=4, Resulting Numbers: [12, 4]
Generated Node #0,0,1: 15:[12, 4] Operation: 10-6=4
Exploring Operation: 6+10=16, Resulting Numbers: [12, 16]
Generated Node #0,0,2: 15:[12, 16] Operation: 6+10=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[6, 2], Operations: ['34-24=10', '12-10=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 15:[12, 4], Operations: ['34-24=10', '10-6=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,15 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 15:[12, 16], Operations: ['34-24=10', '6+10=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,15 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[24, 6, 22], Operations: ['34-12=22']
Exploring Operation: 24-22=2, Resulting Numbers: [6, 2]
Generated Node #0,2,0: 15:[6, 2] Operation: 24-22=2
Exploring Operation: 24/6=4, Resulting Numbers: [22, 4]
Generated Node #0,2,1: 15:[22, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [22, 18]
Generated Node #0,2,2: 15:[22, 18] Operation: 24-6=18
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 15:[6, 2], Operations: ['34-12=22', '24-22=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 15:[22, 4], Operations: ['34-12=22', '24/6=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,15 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[22, 18], Operations: ['34-12=22', '24-6=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 22*18=396, Resulting Numbers: [396]
396,15 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[6, 34, 2], Operations: ['24/12=2']
Exploring Operation: 34/2=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 15:[6, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [6, 32]
Generated Node #0,1,1: 15:[6, 32] Operation: 34-2=32
Exploring Operation: 34-6=28, Resulting Numbers: [2, 28]
Generated Node #0,1,2: 15:[2, 28] Operation: 34-6=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[6, 17], Operations: ['24/12=2', '34/2=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,15 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[2, 28], Operations: ['24/12=2', '34-6=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 15:[6, 32], Operations: ['24/12=2', '34-2=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,15 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
24,
35,
12
] | 95 | [
"29-24=5",
"12*5=60",
"35+60=95"
] | Current State: 95:[29, 24, 35, 12], Operations: []
Exploring Operation: 29-24=5, Resulting Numbers: [35, 12, 5]
Generated Node #2: [35, 12, 5] from Operation: 29-24=5
Current State: 95:[35, 12, 5], Operations: ['29-24=5']
Exploring Operation: 12*5=60, Resulting Numbers: [35, 60]
Generated Node #3: [35, 60] from Operation: 12*5=60
Current State: 95:[35, 60], Operations: ['29-24=5', '12*5=60']
Exploring Operation: 35+60=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[29, 24, 35, 12], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [24, 12, 6]
Generated Node #0,0: 95:[24, 12, 6] Operation: 35-29=6
Moving to Node #0,0
Current State: 95:[24, 12, 6], Operations: ['35-29=6']
Exploring Operation: 24/12=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 95:[6, 2] Operation: 24/12=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[6, 2], Operations: ['35-29=6', '24/12=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,95 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 |
[
55,
2,
85,
91
] | 21 | [
"55+85=140",
"140/2=70",
"91-70=21"
] | Current State: 21:[55, 2, 85, 91], Operations: []
Exploring Operation: 55+85=140, Resulting Numbers: [2, 91, 140]
Generated Node #2: [2, 91, 140] from Operation: 55+85=140
Current State: 21:[2, 91, 140], Operations: ['55+85=140']
Exploring Operation: 140/2=70, Resulting Numbers: [91, 70]
Generated Node #3: [91, 70] from Operation: 140/2=70
Current State: 21:[91, 70], Operations: ['55+85=140', '140/2=70']
Exploring Operation: 91-70=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[55, 2, 85, 91], Operations: []
Exploring Operation: 91-55=36, Resulting Numbers: [2, 85, 36]
Generated Node #0,0: 21:[2, 85, 36] Operation: 91-55=36
Exploring Operation: 91-85=6, Resulting Numbers: [55, 2, 6]
Generated Node #0,1: 21:[55, 2, 6] Operation: 91-85=6
Exploring Operation: 55-2=53, Resulting Numbers: [85, 91, 53]
Generated Node #0,2: 21:[85, 91, 53] Operation: 55-2=53
Exploring Operation: 85-55=30, Resulting Numbers: [2, 91, 30]
Generated Node #0,3: 21:[2, 91, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[55, 2, 6], Operations: ['91-85=6']
Exploring Operation: 2+6=8, Resulting Numbers: [55, 8]
Generated Node #0,1,0: 21:[55, 8] Operation: 2+6=8
Exploring Operation: 55-2=53, Resulting Numbers: [6, 53]
Generated Node #0,1,1: 21:[6, 53] Operation: 55-2=53
Exploring Operation: 55-6=49, Resulting Numbers: [2, 49]
Generated Node #0,1,2: 21:[2, 49] Operation: 55-6=49
Exploring Operation: 6/2=3, Resulting Numbers: [55, 3]
Generated Node #0,1,3: 21:[55, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 21:[2, 49], Operations: ['91-85=6', '55-6=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,21 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[6, 53], Operations: ['91-85=6', '55-2=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 6*53=318, Resulting Numbers: [318]
318,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[55, 3], Operations: ['91-85=6', '6/2=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,21 unequal: No Solution
Exploring Operation: 55*3=165, Resulting Numbers: [165]
165,21 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[55, 8], Operations: ['91-85=6', '2+6=8']
Exploring Operation: 55+8=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 55*8=440, Resulting Numbers: [440]
440,21 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[2, 85, 36], Operations: ['91-55=36']
Exploring Operation: 85-2=83, Resulting Numbers: [36, 83]
Generated Node #0,0,0: 21:[36, 83] Operation: 85-2=83
Exploring Operation: 85-36=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 21:[2, 49] Operation: 85-36=49
Exploring Operation: 36/2=18, Resulting Numbers: [85, 18]
Generated Node #0,0,2: 21:[85, 18] Operation: 36/2=18
Exploring Operation: 36-2=34, Resulting Numbers: [85, 34]
Generated Node #0,0,3: 21:[85, 34] Operation: 36-2=34
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[2, 49], Operations: ['91-55=36', '85-36=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,21 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 21:[85, 18], Operations: ['91-55=36', '36/2=18']
Exploring Operation: 85*18=1530, Resulting Numbers: [1530]
1530,21 unequal: No Solution
Exploring Operation: 85+18=103, Resulting Numbers: [103]
103,21 unequal: No Solution
Exploring Operation: 85-18=67, Resulting Numbers: [67]
67,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[36, 83], Operations: ['91-55=36', '85-2=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,21 unequal: No Solution
Exploring Operation: 36*83=2988, Resulting Numbers: [2988]
2988,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 21:[85, 34], Operations: ['91-55=36', '36-2=34']
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,21 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[2, 91, 30], Operations: ['85-55=30']
Exploring Operation: 30/2=15, Resulting Numbers: [91, 15]
Generated Node #0,3,0: 21:[91, 15] Operation: 30/2=15
Exploring Operation: 30-2=28, Resulting Numbers: [91, 28]
Generated Node #0,3,1: 21:[91, 28] Operation: 30-2=28
Exploring Operation: 91-30=61, Resulting Numbers: [2, 61]
Generated Node #0,3,2: 21:[2, 61] Operation: 91-30=61
Exploring Operation: 91-2=89, Resulting Numbers: [30, 89]
Generated Node #0,3,3: 21:[30, 89] Operation: 91-2=89
Moving to Node #0,3,2
Current State: 21:[2, 61], Operations: ['85-55=30', '91-30=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,21 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[91, 15], Operations: ['85-55=30', '30/2=15']
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,21 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,21 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Moving to Node #0,3,3
Current State: 21:[30, 89], Operations: ['85-55=30', '91-2=89']
Exploring Operation: 30+89=119, Resulting Numbers: [119]
119,21 unequal: No Solution
Exploring Operation: 30*89=2670, Resulting Numbers: [2670]
2670,21 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[91, 28], Operations: ['85-55=30', '30-2=28']
Exploring Operation: 91*28=2548, Resulting Numbers: [2548]
2548,21 unequal: No Solution
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 91+28=119, Resulting Numbers: [119]
119,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
Current State: 21:[85, 91, 53], Operations: ['55-2=53']
Exploring Operation: 85+91=176, Resulting Numbers: [53, 176]
Generated Node #0,2,0: 21:[53, 176] Operation: 85+91=176
Exploring Operation: 91-85=6, Resulting Numbers: [53, 6]
Generated Node #0,2,1: 21:[53, 6] Operation: 91-85=6
Exploring Operation: 85-53=32, Resulting Numbers: [91, 32]
Generated Node #0,2,2: 21:[91, 32] Operation: 85-53=32
Exploring Operation: 91-53=38, Resulting Numbers: [85, 38]
Generated Node #0,2,3: 21:[85, 38] Operation: 91-53=38
Moving to Node #0,2,1
Current State: 21:[53, 6], Operations: ['55-2=53', '91-85=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,21 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[85, 38], Operations: ['55-2=53', '91-53=38']
Exploring Operation: 85*38=3230, Resulting Numbers: [3230]
3230,21 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 85+38=123, Resulting Numbers: [123]
123,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[91, 32], Operations: ['55-2=53', '85-53=32']
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,21 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,21 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[53, 176], Operations: ['55-2=53', '85+91=176']
Exploring Operation: 53+176=229, Resulting Numbers: [229]
229,21 unequal: No Solution
Exploring Operation: 53*176=9328, Resulting Numbers: [9328]
9328,21 unequal: No Solution
Exploring Operation: 176-53=123, Resulting Numbers: [123]
123,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
39,
56,
47
] | 46 | [
"16+39=55",
"56-47=9",
"55-9=46"
] | Current State: 46:[16, 39, 56, 47], Operations: []
Exploring Operation: 16+39=55, Resulting Numbers: [56, 47, 55]
Generated Node #2: [56, 47, 55] from Operation: 16+39=55
Current State: 46:[56, 47, 55], Operations: ['16+39=55']
Exploring Operation: 56-47=9, Resulting Numbers: [55, 9]
Generated Node #3: [55, 9] from Operation: 56-47=9
Current State: 46:[55, 9], Operations: ['16+39=55', '56-47=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[16, 39, 56, 47], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [16, 39, 9]
Generated Node #0,0: 46:[16, 39, 9] Operation: 56-47=9
Exploring Operation: 56-16=40, Resulting Numbers: [39, 47, 40]
Generated Node #0,1: 46:[39, 47, 40] Operation: 56-16=40
Exploring Operation: 16+39=55, Resulting Numbers: [56, 47, 55]
Generated Node #0,2: 46:[56, 47, 55] Operation: 16+39=55
Exploring Operation: 56-39=17, Resulting Numbers: [16, 47, 17]
Generated Node #0,3: 46:[16, 47, 17] Operation: 56-39=17
Exploring Operation: 39-16=23, Resulting Numbers: [56, 47, 23]
Generated Node #0,4: 46:[56, 47, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[56, 47, 23], Operations: ['39-16=23']
Exploring Operation: 47+23=70, Resulting Numbers: [56, 70]
Generated Node #0,4,0: 46:[56, 70] Operation: 47+23=70
Exploring Operation: 47-23=24, Resulting Numbers: [56, 24]
Generated Node #0,4,1: 46:[56, 24] Operation: 47-23=24
Exploring Operation: 56-47=9, Resulting Numbers: [23, 9]
Generated Node #0,4,2: 46:[23, 9] Operation: 56-47=9
Exploring Operation: 56-23=33, Resulting Numbers: [47, 33]
Generated Node #0,4,3: 46:[47, 33] Operation: 56-23=33
Exploring Operation: 56+23=79, Resulting Numbers: [47, 79]
Generated Node #0,4,4: 46:[47, 79] Operation: 56+23=79
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 46:[23, 9], Operations: ['39-16=23', '56-47=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,46 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 46:[56, 24], Operations: ['39-16=23', '47-23=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,46 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,46 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 46:[47, 33], Operations: ['39-16=23', '56-23=33']
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,46 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 46:[56, 70], Operations: ['39-16=23', '47+23=70']
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,46 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 46:[47, 79], Operations: ['39-16=23', '56+23=79']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 47*79=3713, Resulting Numbers: [3713]
3713,46 unequal: No Solution
Exploring Operation: 47+79=126, Resulting Numbers: [126]
126,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[39, 47, 40], Operations: ['56-16=40']
Exploring Operation: 39+47=86, Resulting Numbers: [40, 86]
Generated Node #0,1,0: 46:[40, 86] Operation: 39+47=86
Exploring Operation: 39+40=79, Resulting Numbers: [47, 79]
Generated Node #0,1,1: 46:[47, 79] Operation: 39+40=79
Exploring Operation: 47-40=7, Resulting Numbers: [39, 7]
Generated Node #0,1,2: 46:[39, 7] Operation: 47-40=7
Exploring Operation: 47-39=8, Resulting Numbers: [40, 8]
Generated Node #0,1,3: 46:[40, 8] Operation: 47-39=8
Exploring Operation: 40-39=1, Resulting Numbers: [47, 1]
Generated Node #0,1,4: 46:[47, 1] Operation: 40-39=1
Moving to Node #0,1,4
Current State: 46:[47, 1], Operations: ['56-16=40', '40-39=1']
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[16, 39, 56, 47], Operations: []
Exploring Operation: 56-16=40, Resulting Numbers: [39, 47, 40]
Generated Node #0,1: 46:[39, 47, 40] Operation: 56-16=40
Moving to Node #0,1
Current State: 46:[39, 47, 40], Operations: ['56-16=40']
Exploring Operation: 40-39=1, Resulting Numbers: [47, 1]
Generated Node #0,1,4: 46:[47, 1] Operation: 40-39=1
Moving to Node #0,1,4
Current State: 46:[47, 1], Operations: ['56-16=40', '40-39=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
45,
7,
20,
10
] | 36 | [
"45-7=38",
"20/10=2",
"38-2=36"
] | Current State: 36:[45, 7, 20, 10], Operations: []
Exploring Operation: 45-7=38, Resulting Numbers: [20, 10, 38]
Generated Node #2: [20, 10, 38] from Operation: 45-7=38
Current State: 36:[20, 10, 38], Operations: ['45-7=38']
Exploring Operation: 20/10=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 20/10=2
Current State: 36:[38, 2], Operations: ['45-7=38', '20/10=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[45, 7, 20, 10], Operations: []
Exploring Operation: 45-7=38, Resulting Numbers: [20, 10, 38]
Generated Node #0,0: 36:[20, 10, 38] Operation: 45-7=38
Exploring Operation: 45-10=35, Resulting Numbers: [7, 20, 35]
Generated Node #0,1: 36:[7, 20, 35] Operation: 45-10=35
Exploring Operation: 45-20=25, Resulting Numbers: [7, 10, 25]
Generated Node #0,2: 36:[7, 10, 25] Operation: 45-20=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[7, 20, 35], Operations: ['45-10=35']
Exploring Operation: 35/7=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 36:[20, 5] Operation: 35/7=5
Exploring Operation: 20-7=13, Resulting Numbers: [35, 13]
Generated Node #0,1,1: 36:[35, 13] Operation: 20-7=13
Exploring Operation: 35-20=15, Resulting Numbers: [7, 15]
Generated Node #0,1,2: 36:[7, 15] Operation: 35-20=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[35, 13], Operations: ['45-10=35', '20-7=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,36 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[20, 5], Operations: ['45-10=35', '35/7=5']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 36:[7, 15], Operations: ['45-10=35', '35-20=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[20, 10, 38], Operations: ['45-7=38']
Exploring Operation: 20/10=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [38, 10]
Generated Node #0,0,1: 36:[38, 10] Operation: 20-10=10
Exploring Operation: 38-20=18, Resulting Numbers: [10, 18]
Generated Node #0,0,2: 36:[10, 18] Operation: 38-20=18
Moving to Node #0,0,2
Current State: 36:[10, 18], Operations: ['45-7=38', '38-20=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['45-7=38', '20/10=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[45, 7, 20, 10], Operations: []
Exploring Operation: 45-7=38, Resulting Numbers: [20, 10, 38]
Generated Node #0,0: 36:[20, 10, 38] Operation: 45-7=38
Moving to Node #0,0
Current State: 36:[20, 10, 38], Operations: ['45-7=38']
Exploring Operation: 20/10=2, Resulting Numbers: [38, 2]
Generated Node #0,0,0: 36:[38, 2] Operation: 20/10=2
Moving to Node #0,0,0
Current State: 36:[38, 2], Operations: ['45-7=38', '20/10=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
80,
14,
56,
61
] | 15 | [
"80-61=19",
"56/14=4",
"19-4=15"
] | Current State: 15:[80, 14, 56, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [14, 56, 19]
Generated Node #2: [14, 56, 19] from Operation: 80-61=19
Current State: 15:[14, 56, 19], Operations: ['80-61=19']
Exploring Operation: 56/14=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 56/14=4
Current State: 15:[19, 4], Operations: ['80-61=19', '56/14=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[80, 14, 56, 61], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [14, 61, 24]
Generated Node #0,0: 15:[14, 61, 24] Operation: 80-56=24
Exploring Operation: 61-56=5, Resulting Numbers: [80, 14, 5]
Generated Node #0,1: 15:[80, 14, 5] Operation: 61-56=5
Exploring Operation: 80-61=19, Resulting Numbers: [14, 56, 19]
Generated Node #0,2: 15:[14, 56, 19] Operation: 80-61=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[14, 56, 19], Operations: ['80-61=19']
Exploring Operation: 56-19=37, Resulting Numbers: [14, 37]
Generated Node #0,2,0: 15:[14, 37] Operation: 56-19=37
Exploring Operation: 56-14=42, Resulting Numbers: [19, 42]
Generated Node #0,2,1: 15:[19, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [19, 4]
Generated Node #0,2,2: 15:[19, 4] Operation: 56/14=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 15:[19, 4], Operations: ['80-61=19', '56/14=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,15 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[80, 14, 56, 61], Operations: []
Exploring Operation: 80-61=19, Resulting Numbers: [14, 56, 19]
Generated Node #0,2: 15:[14, 56, 19] Operation: 80-61=19
Moving to Node #0,2
Current State: 15:[14, 56, 19], Operations: ['80-61=19']
Exploring Operation: 56/14=4, Resulting Numbers: [19, 4]
Generated Node #0,2,2: 15:[19, 4] Operation: 56/14=4
Moving to Node #0,2,2
Current State: 15:[19, 4], Operations: ['80-61=19', '56/14=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
79,
51,
83,
25
] | 22 | [
"79+51=130",
"83+25=108",
"130-108=22"
] | Current State: 22:[79, 51, 83, 25], Operations: []
Exploring Operation: 79+51=130, Resulting Numbers: [83, 25, 130]
Generated Node #2: [83, 25, 130] from Operation: 79+51=130
Current State: 22:[83, 25, 130], Operations: ['79+51=130']
Exploring Operation: 83+25=108, Resulting Numbers: [130, 108]
Generated Node #3: [130, 108] from Operation: 83+25=108
Current State: 22:[130, 108], Operations: ['79+51=130', '83+25=108']
Exploring Operation: 130-108=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[79, 51, 83, 25], Operations: []
Exploring Operation: 83-51=32, Resulting Numbers: [79, 25, 32]
Generated Node #0,0: 22:[79, 25, 32] Operation: 83-51=32
Exploring Operation: 83-79=4, Resulting Numbers: [51, 25, 4]
Generated Node #0,1: 22:[51, 25, 4] Operation: 83-79=4
Exploring Operation: 51-25=26, Resulting Numbers: [79, 83, 26]
Generated Node #0,2: 22:[79, 83, 26] Operation: 51-25=26
Exploring Operation: 79-51=28, Resulting Numbers: [83, 25, 28]
Generated Node #0,3: 22:[83, 25, 28] Operation: 79-51=28
Exploring Operation: 79-25=54, Resulting Numbers: [51, 83, 54]
Generated Node #0,4: 22:[51, 83, 54] Operation: 79-25=54
Moving to Node #0,1
Current State: 22:[51, 25, 4], Operations: ['83-79=4']
Exploring Operation: 51-25=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 22:[4, 26] Operation: 51-25=26
Exploring Operation: 25-4=21, Resulting Numbers: [51, 21]
Generated Node #0,1,1: 22:[51, 21] Operation: 25-4=21
Exploring Operation: 51-4=47, Resulting Numbers: [25, 47]
Generated Node #0,1,2: 22:[25, 47] Operation: 51-4=47
Exploring Operation: 25+4=29, Resulting Numbers: [51, 29]
Generated Node #0,1,3: 22:[51, 29] Operation: 25+4=29
Exploring Operation: 51+4=55, Resulting Numbers: [25, 55]
Generated Node #0,1,4: 22:[25, 55] Operation: 51+4=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[4, 26], Operations: ['83-79=4', '51-25=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[79, 51, 83, 25], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [51, 25, 4]
Generated Node #0,1: 22:[51, 25, 4] Operation: 83-79=4
Moving to Node #0,1
Current State: 22:[51, 25, 4], Operations: ['83-79=4']
Exploring Operation: 51-25=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 22:[4, 26] Operation: 51-25=26
Moving to Node #0,1,0
Current State: 22:[4, 26], Operations: ['83-79=4', '51-25=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
37,
3,
74,
85
] | 51 | [
"37+3=40",
"85-74=11",
"40+11=51"
] | Current State: 51:[37, 3, 74, 85], Operations: []
Exploring Operation: 37+3=40, Resulting Numbers: [74, 85, 40]
Generated Node #2: [74, 85, 40] from Operation: 37+3=40
Current State: 51:[74, 85, 40], Operations: ['37+3=40']
Exploring Operation: 85-74=11, Resulting Numbers: [40, 11]
Generated Node #3: [40, 11] from Operation: 85-74=11
Current State: 51:[40, 11], Operations: ['37+3=40', '85-74=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[37, 3, 74, 85], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [3, 85, 2]
Generated Node #0,0: 51:[3, 85, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [3, 85, 37]
Generated Node #0,1: 51:[3, 85, 37] Operation: 74-37=37
Exploring Operation: 85-74=11, Resulting Numbers: [37, 3, 11]
Generated Node #0,2: 51:[37, 3, 11] Operation: 85-74=11
Exploring Operation: 37+3=40, Resulting Numbers: [74, 85, 40]
Generated Node #0,3: 51:[74, 85, 40] Operation: 37+3=40
Exploring Operation: 85-37=48, Resulting Numbers: [3, 74, 48]
Generated Node #0,4: 51:[3, 74, 48] Operation: 85-37=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[37, 3, 11], Operations: ['85-74=11']
Exploring Operation: 3+11=14, Resulting Numbers: [37, 14]
Generated Node #0,2,0: 51:[37, 14] Operation: 3+11=14
Exploring Operation: 11-3=8, Resulting Numbers: [37, 8]
Generated Node #0,2,1: 51:[37, 8] Operation: 11-3=8
Exploring Operation: 37+11=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 51:[3, 48] Operation: 37+11=48
Exploring Operation: 37-11=26, Resulting Numbers: [3, 26]
Generated Node #0,2,3: 51:[3, 26] Operation: 37-11=26
Exploring Operation: 37+3=40, Resulting Numbers: [11, 40]
Generated Node #0,2,4: 51:[11, 40] Operation: 37+3=40
Moving to Node #0,2,2
Current State: 51:[3, 48], Operations: ['85-74=11', '37+11=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[37, 3, 74, 85], Operations: []
Exploring Operation: 85-74=11, Resulting Numbers: [37, 3, 11]
Generated Node #0,2: 51:[37, 3, 11] Operation: 85-74=11
Moving to Node #0,2
Current State: 51:[37, 3, 11], Operations: ['85-74=11']
Exploring Operation: 37+11=48, Resulting Numbers: [3, 48]
Generated Node #0,2,2: 51:[3, 48] Operation: 37+11=48
Moving to Node #0,2,2
Current State: 51:[3, 48], Operations: ['85-74=11', '37+11=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
34,
32,
13,
26
] | 39 | [
"34-32=2",
"26*2=52",
"52-13=39"
] | Current State: 39:[34, 32, 13, 26], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [13, 26, 2]
Generated Node #2: [13, 26, 2] from Operation: 34-32=2
Current State: 39:[13, 26, 2], Operations: ['34-32=2']
Exploring Operation: 26*2=52, Resulting Numbers: [13, 52]
Generated Node #3: [13, 52] from Operation: 26*2=52
Current State: 39:[13, 52], Operations: ['34-32=2', '26*2=52']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[34, 32, 13, 26], Operations: []
Exploring Operation: 32-26=6, Resulting Numbers: [34, 13, 6]
Generated Node #0,0: 39:[34, 13, 6] Operation: 32-26=6
Exploring Operation: 26/13=2, Resulting Numbers: [34, 32, 2]
Generated Node #0,1: 39:[34, 32, 2] Operation: 26/13=2
Exploring Operation: 34-26=8, Resulting Numbers: [32, 13, 8]
Generated Node #0,2: 39:[32, 13, 8] Operation: 34-26=8
Exploring Operation: 26-13=13, Resulting Numbers: [34, 32, 13]
Generated Node #0,3: 39:[34, 32, 13] Operation: 26-13=13
Exploring Operation: 13+26=39, Resulting Numbers: [34, 32, 39]
Generated Node #0,4: 39:[34, 32, 39] Operation: 13+26=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[34, 13, 6], Operations: ['32-26=6']
Exploring Operation: 34+6=40, Resulting Numbers: [13, 40]
Generated Node #0,0,0: 39:[13, 40] Operation: 34+6=40
Exploring Operation: 34-6=28, Resulting Numbers: [13, 28]
Generated Node #0,0,1: 39:[13, 28] Operation: 34-6=28
Exploring Operation: 13-6=7, Resulting Numbers: [34, 7]
Generated Node #0,0,2: 39:[34, 7] Operation: 13-6=7
Exploring Operation: 34+13=47, Resulting Numbers: [6, 47]
Generated Node #0,0,3: 39:[6, 47] Operation: 34+13=47
Exploring Operation: 34-13=21, Resulting Numbers: [6, 21]
Generated Node #0,0,4: 39:[6, 21] Operation: 34-13=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[13, 40], Operations: ['32-26=6', '34+6=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[34, 7], Operations: ['32-26=6', '13-6=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,39 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 39:[13, 28], Operations: ['32-26=6', '34-6=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[6, 47], Operations: ['32-26=6', '34+13=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,39 unequal: No Solution
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 39:[6, 21], Operations: ['32-26=6', '34-13=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,39 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,39 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: 39:[32, 13, 8], Operations: ['34-26=8']
Exploring Operation: 32+8=40, Resulting Numbers: [13, 40]
Generated Node #0,2,0: 39:[13, 40] Operation: 32+8=40
Exploring Operation: 32+13=45, Resulting Numbers: [8, 45]
Generated Node #0,2,1: 39:[8, 45] Operation: 32+13=45
Exploring Operation: 32-13=19, Resulting Numbers: [8, 19]
Generated Node #0,2,2: 39:[8, 19] Operation: 32-13=19
Exploring Operation: 32/8=4, Resulting Numbers: [13, 4]
Generated Node #0,2,3: 39:[13, 4] Operation: 32/8=4
Exploring Operation: 13-8=5, Resulting Numbers: [32, 5]
Generated Node #0,2,4: 39:[32, 5] Operation: 13-8=5
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[13, 40], Operations: ['34-26=8', '32+8=40']
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,39 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[13, 4], Operations: ['34-26=8', '32/8=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,39 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 39:[32, 5], Operations: ['34-26=8', '13-8=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[8, 45], Operations: ['34-26=8', '32+13=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,39 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[8, 19], Operations: ['34-26=8', '32-13=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,39 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: 39:[34, 32, 13], Operations: ['26-13=13']
Exploring Operation: 34+13=47, Resulting Numbers: [32, 47]
Generated Node #0,3,0: 39:[32, 47] Operation: 34+13=47
Exploring Operation: 32+13=45, Resulting Numbers: [34, 45]
Generated Node #0,3,1: 39:[34, 45] Operation: 32+13=45
Exploring Operation: 34-32=2, Resulting Numbers: [13, 2]
Generated Node #0,3,2: 39:[13, 2] Operation: 34-32=2
Exploring Operation: 34-13=21, Resulting Numbers: [32, 21]
Generated Node #0,3,3: 39:[32, 21] Operation: 34-13=21
Exploring Operation: 32-13=19, Resulting Numbers: [34, 19]
Generated Node #0,3,4: 39:[34, 19] Operation: 32-13=19
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[13, 2], Operations: ['26-13=13', '34-32=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[34, 45], Operations: ['26-13=13', '32+13=45']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,39 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[34, 19], Operations: ['26-13=13', '32-13=19']
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,39 unequal: No Solution
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[32, 47], Operations: ['26-13=13', '34+13=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,39 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[32, 21], Operations: ['26-13=13', '34-13=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,39 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,39 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: 39:[34, 32, 39], Operations: ['13+26=39']
Exploring Operation: 39-32=7, Resulting Numbers: [34, 7]
Generated Node #0,4,0: 39:[34, 7] Operation: 39-32=7
Exploring Operation: 34-32=2, Resulting Numbers: [39, 2]
Generated Node #0,4,1: 39:[39, 2] Operation: 34-32=2
Exploring Operation: 32+39=71, Resulting Numbers: [34, 71]
Generated Node #0,4,2: 39:[34, 71] Operation: 32+39=71
Exploring Operation: 34+32=66, Resulting Numbers: [39, 66]
Generated Node #0,4,3: 39:[39, 66] Operation: 34+32=66
Exploring Operation: 39-34=5, Resulting Numbers: [32, 5]
Generated Node #0,4,4: 39:[32, 5] Operation: 39-34=5
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 39:[39, 2], Operations: ['13+26=39', '34-32=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,39 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 39:[34, 7], Operations: ['13+26=39', '39-32=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,39 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 39:[32, 5], Operations: ['13+26=39', '39-34=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 39:[39, 66], Operations: ['13+26=39', '34+32=66']
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,39 unequal: No Solution
Exploring Operation: 39*66=2574, Resulting Numbers: [2574]
2574,39 unequal: No Solution
Exploring Operation: 39+66=105, Resulting Numbers: [105]
105,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 39:[34, 71], Operations: ['13+26=39', '32+39=71']
Exploring Operation: 34+71=105, Resulting Numbers: [105]
105,39 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 34*71=2414, Resulting Numbers: [2414]
2414,39 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: 39:[34, 32, 2], Operations: ['26/13=2']
Exploring Operation: 34-32=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 39:[2, 2] Operation: 34-32=2
Exploring Operation: 32+2=34, Resulting Numbers: [34, 34]
Generated Node #0,1,1: 39:[34, 34] Operation: 32+2=34
Exploring Operation: 32/2=16, Resulting Numbers: [34, 16]
Generated Node #0,1,2: 39:[34, 16] Operation: 32/2=16
Exploring Operation: 34+2=36, Resulting Numbers: [32, 36]
Generated Node #0,1,3: 39:[32, 36] Operation: 34+2=36
Exploring Operation: 34/2=17, Resulting Numbers: [32, 17]
Generated Node #0,1,4: 39:[32, 17] Operation: 34/2=17
Moving to Node #0,1,0
Current State: 39:[2, 2], Operations: ['26/13=2', '34-32=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[34, 16], Operations: ['26/13=2', '32/2=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 34*16=544, Resulting Numbers: [544]
544,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[34, 34], Operations: ['26/13=2', '32+2=34']
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,39 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[32, 36], Operations: ['26/13=2', '34+2=36']
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,39 unequal: No Solution
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,39 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[32, 17], Operations: ['26/13=2', '34/2=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,39 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,39 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 |
[
7,
37,
19,
16
] | 41 | [
"7+37=44",
"19-16=3",
"44-3=41"
] | Current State: 41:[7, 37, 19, 16], Operations: []
Exploring Operation: 7+37=44, Resulting Numbers: [19, 16, 44]
Generated Node #2: [19, 16, 44] from Operation: 7+37=44
Current State: 41:[19, 16, 44], Operations: ['7+37=44']
Exploring Operation: 19-16=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 19-16=3
Current State: 41:[44, 3], Operations: ['7+37=44', '19-16=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 37, 19, 16], Operations: []
Exploring Operation: 7+19=26, Resulting Numbers: [37, 16, 26]
Generated Node #0,0: 41:[37, 16, 26] Operation: 7+19=26
Moving to Node #0,0
Current State: 41:[37, 16, 26], Operations: ['7+19=26']
Exploring Operation: 16+26=42, Resulting Numbers: [37, 42]
Generated Node #0,0,0: 41:[37, 42] Operation: 16+26=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[37, 42], Operations: ['7+19=26', '16+26=42']
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
38,
63,
54,
59
] | 98 | [
"63-59=4",
"38*4=152",
"152-54=98"
] | Current State: 98:[38, 63, 54, 59], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [38, 54, 4]
Generated Node #2: [38, 54, 4] from Operation: 63-59=4
Current State: 98:[38, 54, 4], Operations: ['63-59=4']
Exploring Operation: 38*4=152, Resulting Numbers: [54, 152]
Generated Node #3: [54, 152] from Operation: 38*4=152
Current State: 98:[54, 152], Operations: ['63-59=4', '38*4=152']
Exploring Operation: 152-54=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[38, 63, 54, 59], Operations: []
Exploring Operation: 63-54=9, Resulting Numbers: [38, 59, 9]
Generated Node #0,0: 98:[38, 59, 9] Operation: 63-54=9
Exploring Operation: 38+59=97, Resulting Numbers: [63, 54, 97]
Generated Node #0,1: 98:[63, 54, 97] Operation: 38+59=97
Exploring Operation: 38+63=101, Resulting Numbers: [54, 59, 101]
Generated Node #0,2: 98:[54, 59, 101] Operation: 38+63=101
Exploring Operation: 63-59=4, Resulting Numbers: [38, 54, 4]
Generated Node #0,3: 98:[38, 54, 4] Operation: 63-59=4
Moving to Node #0,2
Current State: 98:[54, 59, 101], Operations: ['38+63=101']
Exploring Operation: 101-59=42, Resulting Numbers: [54, 42]
Generated Node #0,2,0: 98:[54, 42] Operation: 101-59=42
Exploring Operation: 101-54=47, Resulting Numbers: [59, 47]
Generated Node #0,2,1: 98:[59, 47] Operation: 101-54=47
Exploring Operation: 54+59=113, Resulting Numbers: [101, 113]
Generated Node #0,2,2: 98:[101, 113] Operation: 54+59=113
Exploring Operation: 59-54=5, Resulting Numbers: [101, 5]
Generated Node #0,2,3: 98:[101, 5] Operation: 59-54=5
Moving to Node #0,3
Current State: 98:[38, 54, 4], Operations: ['63-59=4']
Exploring Operation: 38+4=42, Resulting Numbers: [54, 42]
Generated Node #0,3,0: 98:[54, 42] Operation: 38+4=42
Exploring Operation: 54-4=50, Resulting Numbers: [38, 50]
Generated Node #0,3,1: 98:[38, 50] Operation: 54-4=50
Exploring Operation: 38+54=92, Resulting Numbers: [4, 92]
Generated Node #0,3,2: 98:[4, 92] Operation: 38+54=92
Exploring Operation: 54-38=16, Resulting Numbers: [4, 16]
Generated Node #0,3,3: 98:[4, 16] Operation: 54-38=16
Moving to Node #0,1
Current State: 98:[63, 54, 97], Operations: ['38+59=97']
Exploring Operation: 63-54=9, Resulting Numbers: [97, 9]
Generated Node #0,1,0: 98:[97, 9] Operation: 63-54=9
Exploring Operation: 63+54=117, Resulting Numbers: [97, 117]
Generated Node #0,1,1: 98:[97, 117] Operation: 63+54=117
Exploring Operation: 97-54=43, Resulting Numbers: [63, 43]
Generated Node #0,1,2: 98:[63, 43] Operation: 97-54=43
Exploring Operation: 97-63=34, Resulting Numbers: [54, 34]
Generated Node #0,1,3: 98:[54, 34] Operation: 97-63=34
Moving to Node #0,0
Current State: 98:[38, 59, 9], Operations: ['63-54=9']
Exploring Operation: 59-9=50, Resulting Numbers: [38, 50]
Generated Node #0,0,0: 98:[38, 50] Operation: 59-9=50
Exploring Operation: 59-38=21, Resulting Numbers: [9, 21]
Generated Node #0,0,1: 98:[9, 21] Operation: 59-38=21
Exploring Operation: 38+9=47, Resulting Numbers: [59, 47]
Generated Node #0,0,2: 98:[59, 47] Operation: 38+9=47
Exploring Operation: 38+59=97, Resulting Numbers: [9, 97]
Generated Node #0,0,3: 98:[9, 97] Operation: 38+59=97
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 98:[9, 97], Operations: ['63-54=9', '38+59=97']
Exploring Operation: 9*97=873, Resulting Numbers: [873]
873,98 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 9+97=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[9, 21], Operations: ['63-54=9', '59-38=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[38, 50], Operations: ['63-54=9', '59-9=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[59, 47], Operations: ['63-54=9', '38+9=47']
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,98 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 98:[97, 9], Operations: ['38+59=97', '63-54=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,98 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[4, 16], Operations: ['63-59=4', '54-38=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[101, 5], Operations: ['38+63=101', '59-54=5']
Exploring Operation: 101+5=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 101-5=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 101*5=505, Resulting Numbers: [505]
505,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[4, 92], Operations: ['63-59=4', '38+54=92']
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 4*92=368, Resulting Numbers: [368]
368,98 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[54, 42], Operations: ['63-59=4', '38+4=42']
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,98 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[59, 47], Operations: ['38+63=101', '101-54=47']
Exploring Operation: 59*47=2773, Resulting Numbers: [2773]
2773,98 unequal: No Solution
Exploring Operation: 59-47=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 59+47=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[54, 42], Operations: ['38+63=101', '101-59=42']
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,98 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[38, 50], Operations: ['63-59=4', '54-4=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,98 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[101, 113], Operations: ['38+63=101', '54+59=113']
Exploring Operation: 101+113=214, Resulting Numbers: [214]
214,98 unequal: No Solution
Exploring Operation: 113-101=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 101*113=11413, Resulting Numbers: [11413]
11413,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[54, 34], Operations: ['38+59=97', '97-63=34']
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,98 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[97, 117], Operations: ['38+59=97', '63+54=117']
Exploring Operation: 117-97=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 97+117=214, Resulting Numbers: [214]
214,98 unequal: No Solution
Exploring Operation: 97*117=11349, Resulting Numbers: [11349]
11349,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[63, 43], Operations: ['38+59=97', '97-54=43']
Exploring Operation: 63+43=106, Resulting Numbers: [106]
106,98 unequal: No Solution
Exploring Operation: 63*43=2709, Resulting Numbers: [2709]
2709,98 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
13,
50,
66,
61
] | 77 | [
"61-50=11",
"13*11=143",
"143-66=77"
] | Current State: 77:[13, 50, 66, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [13, 66, 11]
Generated Node #2: [13, 66, 11] from Operation: 61-50=11
Current State: 77:[13, 66, 11], Operations: ['61-50=11']
Exploring Operation: 13*11=143, Resulting Numbers: [66, 143]
Generated Node #3: [66, 143] from Operation: 13*11=143
Current State: 77:[66, 143], Operations: ['61-50=11', '13*11=143']
Exploring Operation: 143-66=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[13, 50, 66, 61], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [13, 66, 11]
Generated Node #0,0: 77:[13, 66, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[13, 66, 11], Operations: ['61-50=11']
Exploring Operation: 13+66=79, Resulting Numbers: [11, 79]
Generated Node #0,0,0: 77:[11, 79] Operation: 13+66=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[11, 79], Operations: ['61-50=11', '13+66=79']
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,77 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 |
[
17,
7,
89,
70
] | 14 | [
"89-17=72",
"72-70=2",
"7*2=14"
] | Current State: 14:[17, 7, 89, 70], Operations: []
Exploring Operation: 89-17=72, Resulting Numbers: [7, 70, 72]
Generated Node #2: [7, 70, 72] from Operation: 89-17=72
Current State: 14:[7, 70, 72], Operations: ['89-17=72']
Exploring Operation: 72-70=2, Resulting Numbers: [7, 2]
Generated Node #3: [7, 2] from Operation: 72-70=2
Current State: 14:[7, 2], Operations: ['89-17=72', '72-70=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[17, 7, 89, 70], Operations: []
Exploring Operation: 89-17=72, Resulting Numbers: [7, 70, 72]
Generated Node #0,0: 14:[7, 70, 72] Operation: 89-17=72
Exploring Operation: 70/7=10, Resulting Numbers: [17, 89, 10]
Generated Node #0,1: 14:[17, 89, 10] Operation: 70/7=10
Exploring Operation: 89-70=19, Resulting Numbers: [17, 7, 19]
Generated Node #0,2: 14:[17, 7, 19] Operation: 89-70=19
Moving to Node #0,2
Current State: 14:[17, 7, 19], Operations: ['89-70=19']
Exploring Operation: 19-17=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 14:[7, 2] Operation: 19-17=2
Exploring Operation: 19-7=12, Resulting Numbers: [17, 12]
Generated Node #0,2,1: 14:[17, 12] Operation: 19-7=12
Exploring Operation: 17-7=10, Resulting Numbers: [19, 10]
Generated Node #0,2,2: 14:[19, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[7, 2], Operations: ['89-70=19', '19-17=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[17, 7, 89, 70], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [17, 7, 19]
Generated Node #0,2: 14:[17, 7, 19] Operation: 89-70=19
Moving to Node #0,2
Current State: 14:[17, 7, 19], Operations: ['89-70=19']
Exploring Operation: 19-17=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 14:[7, 2] Operation: 19-17=2
Moving to Node #0,2,0
Current State: 14:[7, 2], Operations: ['89-70=19', '19-17=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
33,
6,
17,
97
] | 87 | [
"33-6=27",
"17+97=114",
"114-27=87"
] | Current State: 87:[33, 6, 17, 97], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [17, 97, 27]
Generated Node #2: [17, 97, 27] from Operation: 33-6=27
Current State: 87:[17, 97, 27], Operations: ['33-6=27']
Exploring Operation: 17+97=114, Resulting Numbers: [27, 114]
Generated Node #3: [27, 114] from Operation: 17+97=114
Current State: 87:[27, 114], Operations: ['33-6=27', '17+97=114']
Exploring Operation: 114-27=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[33, 6, 17, 97], Operations: []
Exploring Operation: 97-17=80, Resulting Numbers: [33, 6, 80]
Generated Node #0,0: 87:[33, 6, 80] Operation: 97-17=80
Exploring Operation: 97-6=91, Resulting Numbers: [33, 17, 91]
Generated Node #0,1: 87:[33, 17, 91] Operation: 97-6=91
Exploring Operation: 6+17=23, Resulting Numbers: [33, 97, 23]
Generated Node #0,2: 87:[33, 97, 23] Operation: 6+17=23
Moving to Node #0,0
Current State: 87:[33, 6, 80], Operations: ['97-17=80']
Exploring Operation: 33-6=27, Resulting Numbers: [80, 27]
Generated Node #0,0,0: 87:[80, 27] Operation: 33-6=27
Exploring Operation: 6+80=86, Resulting Numbers: [33, 86]
Generated Node #0,0,1: 87:[33, 86] Operation: 6+80=86
Exploring Operation: 33+6=39, Resulting Numbers: [80, 39]
Generated Node #0,0,2: 87:[80, 39] Operation: 33+6=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[33, 86], Operations: ['97-17=80', '6+80=86']
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,87 unequal: No Solution
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,87 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[80, 27], Operations: ['97-17=80', '33-6=27']
Exploring Operation: 80*27=2160, Resulting Numbers: [2160]
2160,87 unequal: No Solution
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[80, 39], Operations: ['97-17=80', '33+6=39']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,87 unequal: No Solution
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[33, 17, 91], Operations: ['97-6=91']
Exploring Operation: 33-17=16, Resulting Numbers: [91, 16]
Generated Node #0,1,0: 87:[91, 16] Operation: 33-17=16
Exploring Operation: 91-17=74, Resulting Numbers: [33, 74]
Generated Node #0,1,1: 87:[33, 74] Operation: 91-17=74
Exploring Operation: 33+17=50, Resulting Numbers: [91, 50]
Generated Node #0,1,2: 87:[91, 50] Operation: 33+17=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[91, 16], Operations: ['97-6=91', '33-17=16']
Exploring Operation: 91+16=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 91-16=75, Resulting Numbers: [75]
75,87 unequal: No Solution
Exploring Operation: 91*16=1456, Resulting Numbers: [1456]
1456,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[33, 74], Operations: ['97-6=91', '91-17=74']
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,87 unequal: No Solution
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[91, 50], Operations: ['97-6=91', '33+17=50']
Exploring Operation: 91*50=4550, Resulting Numbers: [4550]
4550,87 unequal: No Solution
Exploring Operation: 91+50=141, Resulting Numbers: [141]
141,87 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,87 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: 87:[33, 97, 23], Operations: ['6+17=23']
Exploring Operation: 33-23=10, Resulting Numbers: [97, 10]
Generated Node #0,2,0: 87:[97, 10] Operation: 33-23=10
Exploring Operation: 97-33=64, Resulting Numbers: [23, 64]
Generated Node #0,2,1: 87:[23, 64] Operation: 97-33=64
Exploring Operation: 97-23=74, Resulting Numbers: [33, 74]
Generated Node #0,2,2: 87:[33, 74] Operation: 97-23=74
Moving to Node #0,2,0
Current State: 87:[97, 10], Operations: ['6+17=23', '33-23=10']
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,87 unequal: No Solution
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[33, 6, 17, 97], Operations: []
Exploring Operation: 6+17=23, Resulting Numbers: [33, 97, 23]
Generated Node #0,2: 87:[33, 97, 23] Operation: 6+17=23
Moving to Node #0,2
Current State: 87:[33, 97, 23], Operations: ['6+17=23']
Exploring Operation: 33-23=10, Resulting Numbers: [97, 10]
Generated Node #0,2,0: 87:[97, 10] Operation: 33-23=10
Moving to Node #0,2,0
Current State: 87:[97, 10], Operations: ['6+17=23', '33-23=10']
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
43,
76,
17,
11
] | 18 | [
"43+76=119",
"119/17=7",
"11+7=18"
] | Current State: 18:[43, 76, 17, 11], Operations: []
Exploring Operation: 43+76=119, Resulting Numbers: [17, 11, 119]
Generated Node #2: [17, 11, 119] from Operation: 43+76=119
Current State: 18:[17, 11, 119], Operations: ['43+76=119']
Exploring Operation: 119/17=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 119/17=7
Current State: 18:[11, 7], Operations: ['43+76=119', '119/17=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[43, 76, 17, 11], Operations: []
Exploring Operation: 76-17=59, Resulting Numbers: [43, 11, 59]
Generated Node #0,0: 18:[43, 11, 59] Operation: 76-17=59
Exploring Operation: 76-43=33, Resulting Numbers: [17, 11, 33]
Generated Node #0,1: 18:[17, 11, 33] Operation: 76-43=33
Exploring Operation: 43-17=26, Resulting Numbers: [76, 11, 26]
Generated Node #0,2: 18:[76, 11, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[17, 11, 33], Operations: ['76-43=33']
Exploring Operation: 33/11=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 18:[17, 3] Operation: 33/11=3
Exploring Operation: 33-17=16, Resulting Numbers: [11, 16]
Generated Node #0,1,1: 18:[11, 16] Operation: 33-17=16
Exploring Operation: 33-11=22, Resulting Numbers: [17, 22]
Generated Node #0,1,2: 18:[17, 22] Operation: 33-11=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[17, 3], Operations: ['76-43=33', '33/11=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,18 unequal: No Solution
No 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: 18:[11, 16], Operations: ['76-43=33', '33-17=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,18 unequal: No Solution
No 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: 18:[17, 22], Operations: ['76-43=33', '33-11=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,18 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,18 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: 18:[43, 11, 59], Operations: ['76-17=59']
Exploring Operation: 59-11=48, Resulting Numbers: [43, 48]
Generated Node #0,0,0: 18:[43, 48] Operation: 59-11=48
Exploring Operation: 59-43=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 18:[11, 16] Operation: 59-43=16
Exploring Operation: 43-11=32, Resulting Numbers: [59, 32]
Generated Node #0,0,2: 18:[59, 32] Operation: 43-11=32
Moving to Node #0,0,1
Current State: 18:[11, 16], Operations: ['76-17=59', '59-43=16']
Exploring Operation: 11+16=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 11*16=176, Resulting Numbers: [176]
176,18 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[43, 48], Operations: ['76-17=59', '59-11=48']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,18 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[59, 32], Operations: ['76-17=59', '43-11=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,18 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[76, 11, 26], Operations: ['43-17=26']
Exploring Operation: 76-11=65, Resulting Numbers: [26, 65]
Generated Node #0,2,0: 18:[26, 65] Operation: 76-11=65
Exploring Operation: 76-26=50, Resulting Numbers: [11, 50]
Generated Node #0,2,1: 18:[11, 50] Operation: 76-26=50
Exploring Operation: 26-11=15, Resulting Numbers: [76, 15]
Generated Node #0,2,2: 18:[76, 15] Operation: 26-11=15
Moving to Node #0,2,1
Current State: 18:[11, 50], Operations: ['43-17=26', '76-26=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[26, 65], Operations: ['43-17=26', '76-11=65']
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,18 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[76, 15], Operations: ['43-17=26', '26-11=15']
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,18 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
77,
7,
97,
4
] | 23 | [
"77-7=70",
"97-4=93",
"93-70=23"
] | Current State: 23:[77, 7, 97, 4], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [97, 4, 70]
Generated Node #2: [97, 4, 70] from Operation: 77-7=70
Current State: 23:[97, 4, 70], Operations: ['77-7=70']
Exploring Operation: 97-4=93, Resulting Numbers: [70, 93]
Generated Node #3: [70, 93] from Operation: 97-4=93
Current State: 23:[70, 93], Operations: ['77-7=70', '97-4=93']
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[77, 7, 97, 4], Operations: []
Exploring Operation: 7*4=28, Resulting Numbers: [77, 97, 28]
Generated Node #0,0: 23:[77, 97, 28] Operation: 7*4=28
Exploring Operation: 77/7=11, Resulting Numbers: [97, 4, 11]
Generated Node #0,1: 23:[97, 4, 11] Operation: 77/7=11
Exploring Operation: 97-77=20, Resulting Numbers: [7, 4, 20]
Generated Node #0,2: 23:[7, 4, 20] Operation: 97-77=20
Moving to Node #0,2
Current State: 23:[7, 4, 20], Operations: ['97-77=20']
Exploring Operation: 7*4=28, Resulting Numbers: [20, 28]
Generated Node #0,2,0: 23:[20, 28] Operation: 7*4=28
Exploring Operation: 4+20=24, Resulting Numbers: [7, 24]
Generated Node #0,2,1: 23:[7, 24] Operation: 4+20=24
Exploring Operation: 7+4=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 23:[20, 11] Operation: 7+4=11
Moving to Node #0,1
Current State: 23:[97, 4, 11], Operations: ['77/7=11']
Exploring Operation: 4+11=15, Resulting Numbers: [97, 15]
Generated Node #0,1,0: 23:[97, 15] Operation: 4+11=15
Exploring Operation: 97-11=86, Resulting Numbers: [4, 86]
Generated Node #0,1,1: 23:[4, 86] Operation: 97-11=86
Exploring Operation: 97-4=93, Resulting Numbers: [11, 93]
Generated Node #0,1,2: 23:[11, 93] Operation: 97-4=93
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[97, 15], Operations: ['77/7=11', '4+11=15']
Exploring Operation: 97-15=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 97*15=1455, Resulting Numbers: [1455]
1455,23 unequal: No Solution
Exploring Operation: 97+15=112, Resulting Numbers: [112]
112,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:[4, 86], Operations: ['77/7=11', '97-11=86']
Exploring Operation: 4*86=344, Resulting Numbers: [344]
344,23 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,23 unequal: No Solution
Exploring Operation: 4+86=90, Resulting Numbers: [90]
90,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:[11, 93], Operations: ['77/7=11', '97-4=93']
Exploring Operation: 11*93=1023, Resulting Numbers: [1023]
1023,23 unequal: No Solution
Exploring Operation: 11+93=104, Resulting Numbers: [104]
104,23 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,23 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: 23:[77, 97, 28], Operations: ['7*4=28']
Exploring Operation: 97-28=69, Resulting Numbers: [77, 69]
Generated Node #0,0,0: 23:[77, 69] Operation: 97-28=69
Exploring Operation: 77-28=49, Resulting Numbers: [97, 49]
Generated Node #0,0,1: 23:[97, 49] Operation: 77-28=49
Exploring Operation: 97-77=20, Resulting Numbers: [28, 20]
Generated Node #0,0,2: 23:[28, 20] Operation: 97-77=20
Moving to Node #0,2,0
Current State: 23:[20, 28], Operations: ['97-77=20', '7*4=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,23 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[28, 20], Operations: ['7*4=28', '97-77=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,23 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[20, 11], Operations: ['97-77=20', '7+4=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,23 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[7, 24], Operations: ['97-77=20', '4+20=24']
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,23 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,23 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[97, 49], Operations: ['7*4=28', '77-28=49']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 97*49=4753, Resulting Numbers: [4753]
4753,23 unequal: No Solution
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[77, 69], Operations: ['7*4=28', '97-28=69']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,23 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,23 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
37,
4,
82,
46
] | 65 | [
"37+82=119",
"4*46=184",
"184-119=65"
] | Current State: 65:[37, 4, 82, 46], Operations: []
Exploring Operation: 37+82=119, Resulting Numbers: [4, 46, 119]
Generated Node #2: [4, 46, 119] from Operation: 37+82=119
Current State: 65:[4, 46, 119], Operations: ['37+82=119']
Exploring Operation: 4*46=184, Resulting Numbers: [119, 184]
Generated Node #3: [119, 184] from Operation: 4*46=184
Current State: 65:[119, 184], Operations: ['37+82=119', '4*46=184']
Exploring Operation: 184-119=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[37, 4, 82, 46], Operations: []
Exploring Operation: 37+46=83, Resulting Numbers: [4, 82, 83]
Generated Node #0,0: 65:[4, 82, 83] Operation: 37+46=83
Exploring Operation: 46-37=9, Resulting Numbers: [4, 82, 9]
Generated Node #0,1: 65:[4, 82, 9] Operation: 46-37=9
Exploring Operation: 82-37=45, Resulting Numbers: [4, 46, 45]
Generated Node #0,2: 65:[4, 46, 45] Operation: 82-37=45
Exploring Operation: 82-46=36, Resulting Numbers: [37, 4, 36]
Generated Node #0,3: 65:[37, 4, 36] Operation: 82-46=36
Moving to Node #0,1
Current State: 65:[4, 82, 9], Operations: ['46-37=9']
Exploring Operation: 82-9=73, Resulting Numbers: [4, 73]
Generated Node #0,1,0: 65:[4, 73] Operation: 82-9=73
Exploring Operation: 4+9=13, Resulting Numbers: [82, 13]
Generated Node #0,1,1: 65:[82, 13] Operation: 4+9=13
Exploring Operation: 82-4=78, Resulting Numbers: [9, 78]
Generated Node #0,1,2: 65:[9, 78] Operation: 82-4=78
Exploring Operation: 9-4=5, Resulting Numbers: [82, 5]
Generated Node #0,1,3: 65:[82, 5] Operation: 9-4=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[4, 73], Operations: ['46-37=9', '82-9=73']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,65 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,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:[82, 13], Operations: ['46-37=9', '4+9=13']
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,65 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,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,2
Current State: 65:[9, 78], Operations: ['46-37=9', '82-4=78']
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,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,3
Current State: 65:[82, 5], Operations: ['46-37=9', '9-4=5']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,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:[4, 82, 83], Operations: ['37+46=83']
Exploring Operation: 83-82=1, Resulting Numbers: [4, 1]
Generated Node #0,0,0: 65:[4, 1] Operation: 83-82=1
Exploring Operation: 4+82=86, Resulting Numbers: [83, 86]
Generated Node #0,0,1: 65:[83, 86] Operation: 4+82=86
Exploring Operation: 82-4=78, Resulting Numbers: [83, 78]
Generated Node #0,0,2: 65:[83, 78] Operation: 82-4=78
Exploring Operation: 83-4=79, Resulting Numbers: [82, 79]
Generated Node #0,0,3: 65:[82, 79] Operation: 83-4=79
Moving to Node #0,2
Current State: 65:[4, 46, 45], Operations: ['82-37=45']
Exploring Operation: 46+45=91, Resulting Numbers: [4, 91]
Generated Node #0,2,0: 65:[4, 91] Operation: 46+45=91
Exploring Operation: 4+45=49, Resulting Numbers: [46, 49]
Generated Node #0,2,1: 65:[46, 49] Operation: 4+45=49
Exploring Operation: 4+46=50, Resulting Numbers: [45, 50]
Generated Node #0,2,2: 65:[45, 50] Operation: 4+46=50
Exploring Operation: 46-45=1, Resulting Numbers: [4, 1]
Generated Node #0,2,3: 65:[4, 1] Operation: 46-45=1
Moving to Node #0,3
Current State: 65:[37, 4, 36], Operations: ['82-46=36']
Exploring Operation: 37-4=33, Resulting Numbers: [36, 33]
Generated Node #0,3,0: 65:[36, 33] Operation: 37-4=33
Exploring Operation: 37+36=73, Resulting Numbers: [4, 73]
Generated Node #0,3,1: 65:[4, 73] Operation: 37+36=73
Exploring Operation: 36/4=9, Resulting Numbers: [37, 9]
Generated Node #0,3,2: 65:[37, 9] Operation: 36/4=9
Exploring Operation: 37-36=1, Resulting Numbers: [4, 1]
Generated Node #0,3,3: 65:[4, 1] Operation: 37-36=1
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[4, 1], Operations: ['82-46=36', '37-36=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[4, 73], Operations: ['82-46=36', '37+36=73']
Exploring Operation: 4*73=292, Resulting Numbers: [292]
292,65 unequal: No Solution
Exploring Operation: 4+73=77, Resulting Numbers: [77]
77,65 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,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,3,2
Current State: 65:[37, 9], Operations: ['82-46=36', '36/4=9']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,65 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,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,3,0
Current State: 65:[36, 33], Operations: ['82-46=36', '37-4=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,65 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: 65:[4, 1], Operations: ['37+46=83', '83-82=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[4, 1], Operations: ['82-37=45', '46-45=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[4, 91], Operations: ['82-37=45', '46+45=91']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,65 unequal: No Solution
Exploring Operation: 4*91=364, Resulting Numbers: [364]
364,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[82, 79], Operations: ['37+46=83', '83-4=79']
Exploring Operation: 82*79=6478, Resulting Numbers: [6478]
6478,65 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 82+79=161, Resulting Numbers: [161]
161,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[83, 78], Operations: ['37+46=83', '82-4=78']
Exploring Operation: 83*78=6474, Resulting Numbers: [6474]
6474,65 unequal: No Solution
Exploring Operation: 83+78=161, Resulting Numbers: [161]
161,65 unequal: No Solution
Exploring Operation: 83-78=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[46, 49], Operations: ['82-37=45', '4+45=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,65 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[45, 50], Operations: ['82-37=45', '4+46=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,65 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[83, 86], Operations: ['37+46=83', '4+82=86']
Exploring Operation: 83+86=169, Resulting Numbers: [169]
169,65 unequal: No Solution
Exploring Operation: 83*86=7138, Resulting Numbers: [7138]
7138,65 unequal: No Solution
Exploring Operation: 86-83=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
13,
78,
37,
85
] | 54 | [
"78/13=6",
"85-37=48",
"6+48=54"
] | Current State: 54:[13, 78, 37, 85], Operations: []
Exploring Operation: 78/13=6, Resulting Numbers: [37, 85, 6]
Generated Node #2: [37, 85, 6] from Operation: 78/13=6
Current State: 54:[37, 85, 6], Operations: ['78/13=6']
Exploring Operation: 85-37=48, Resulting Numbers: [6, 48]
Generated Node #3: [6, 48] from Operation: 85-37=48
Current State: 54:[6, 48], Operations: ['78/13=6', '85-37=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[13, 78, 37, 85], Operations: []
Exploring Operation: 78-13=65, Resulting Numbers: [37, 85, 65]
Generated Node #0,0: 54:[37, 85, 65] Operation: 78-13=65
Exploring Operation: 78/13=6, Resulting Numbers: [37, 85, 6]
Generated Node #0,1: 54:[37, 85, 6] Operation: 78/13=6
Exploring Operation: 85-78=7, Resulting Numbers: [13, 37, 7]
Generated Node #0,2: 54:[13, 37, 7] Operation: 85-78=7
Exploring Operation: 85-37=48, Resulting Numbers: [13, 78, 48]
Generated Node #0,3: 54:[13, 78, 48] Operation: 85-37=48
Exploring Operation: 78-37=41, Resulting Numbers: [13, 85, 41]
Generated Node #0,4: 54:[13, 85, 41] Operation: 78-37=41
Moving to Node #0,2
Current State: 54:[13, 37, 7], Operations: ['85-78=7']
Exploring Operation: 37-7=30, Resulting Numbers: [13, 30]
Generated Node #0,2,0: 54:[13, 30] Operation: 37-7=30
Exploring Operation: 13+7=20, Resulting Numbers: [37, 20]
Generated Node #0,2,1: 54:[37, 20] Operation: 13+7=20
Exploring Operation: 37-13=24, Resulting Numbers: [7, 24]
Generated Node #0,2,2: 54:[7, 24] Operation: 37-13=24
Exploring Operation: 13-7=6, Resulting Numbers: [37, 6]
Generated Node #0,2,3: 54:[37, 6] Operation: 13-7=6
Exploring Operation: 13+37=50, Resulting Numbers: [7, 50]
Generated Node #0,2,4: 54:[7, 50] Operation: 13+37=50
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[7, 24], Operations: ['85-78=7', '37-13=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 54:[7, 50], Operations: ['85-78=7', '13+37=50']
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,54 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[13, 30], Operations: ['85-78=7', '37-7=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 54:[37, 6], Operations: ['85-78=7', '13-7=6']
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,54 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[37, 20], Operations: ['85-78=7', '13+7=20']
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,54 unequal: No Solution
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,54 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,54 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: 54:[13, 78, 48], Operations: ['85-37=48']
Exploring Operation: 48-13=35, Resulting Numbers: [78, 35]
Generated Node #0,3,0: 54:[78, 35] Operation: 48-13=35
Exploring Operation: 78-13=65, Resulting Numbers: [48, 65]
Generated Node #0,3,1: 54:[48, 65] Operation: 78-13=65
Exploring Operation: 78-48=30, Resulting Numbers: [13, 30]
Generated Node #0,3,2: 54:[13, 30] Operation: 78-48=30
Exploring Operation: 78/13=6, Resulting Numbers: [48, 6]
Generated Node #0,3,3: 54:[48, 6] Operation: 78/13=6
Exploring Operation: 13+48=61, Resulting Numbers: [78, 61]
Generated Node #0,3,4: 54:[78, 61] Operation: 13+48=61
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[48, 6], Operations: ['85-37=48', '78/13=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[13, 78, 37, 85], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [13, 78, 48]
Generated Node #0,3: 54:[13, 78, 48] Operation: 85-37=48
Moving to Node #0,3
Current State: 54:[13, 78, 48], Operations: ['85-37=48']
Exploring Operation: 78/13=6, Resulting Numbers: [48, 6]
Generated Node #0,3,3: 54:[48, 6] Operation: 78/13=6
Moving to Node #0,3,3
Current State: 54:[48, 6], Operations: ['85-37=48', '78/13=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
6,
24,
70,
10
] | 84 | [
"6*24=144",
"70-10=60",
"144-60=84"
] | Current State: 84:[6, 24, 70, 10], Operations: []
Exploring Operation: 6*24=144, Resulting Numbers: [70, 10, 144]
Generated Node #2: [70, 10, 144] from Operation: 6*24=144
Current State: 84:[70, 10, 144], Operations: ['6*24=144']
Exploring Operation: 70-10=60, Resulting Numbers: [144, 60]
Generated Node #3: [144, 60] from Operation: 70-10=60
Current State: 84:[144, 60], Operations: ['6*24=144', '70-10=60']
Exploring Operation: 144-60=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[6, 24, 70, 10], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [6, 24, 7]
Generated Node #0,0: 84:[6, 24, 7] Operation: 70/10=7
Exploring Operation: 24+70=94, Resulting Numbers: [6, 10, 94]
Generated Node #0,1: 84:[6, 10, 94] Operation: 24+70=94
Exploring Operation: 6+70=76, Resulting Numbers: [24, 10, 76]
Generated Node #0,2: 84:[24, 10, 76] Operation: 6+70=76
Exploring Operation: 70-24=46, Resulting Numbers: [6, 10, 46]
Generated Node #0,3: 84:[6, 10, 46] Operation: 70-24=46
Exploring Operation: 70+10=80, Resulting Numbers: [6, 24, 80]
Generated Node #0,4: 84:[6, 24, 80] Operation: 70+10=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[6, 24, 7], Operations: ['70/10=7']
Exploring Operation: 6*7=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 84:[24, 42] Operation: 6*7=42
Exploring Operation: 24/6=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 84:[7, 4] Operation: 24/6=4
Exploring Operation: 24+7=31, Resulting Numbers: [6, 31]
Generated Node #0,0,2: 84:[6, 31] Operation: 24+7=31
Exploring Operation: 24-6=18, Resulting Numbers: [7, 18]
Generated Node #0,0,3: 84:[7, 18] Operation: 24-6=18
Exploring Operation: 6+24=30, Resulting Numbers: [7, 30]
Generated Node #0,0,4: 84:[7, 30] Operation: 6+24=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[7, 4], Operations: ['70/10=7', '24/6=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,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,4
Current State: 84:[7, 30], Operations: ['70/10=7', '6+24=30']
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 30-7=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:[24, 42], Operations: ['70/10=7', '6*7=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,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,2
Current State: 84:[6, 31], Operations: ['70/10=7', '24+7=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,84 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,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,3
Current State: 84:[7, 18], Operations: ['70/10=7', '24-6=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,84 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,84 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[6, 10, 46], Operations: ['70-24=46']
Exploring Operation: 6+10=16, Resulting Numbers: [46, 16]
Generated Node #0,3,0: 84:[46, 16] Operation: 6+10=16
Exploring Operation: 46-10=36, Resulting Numbers: [6, 36]
Generated Node #0,3,1: 84:[6, 36] Operation: 46-10=36
Exploring Operation: 46-6=40, Resulting Numbers: [10, 40]
Generated Node #0,3,2: 84:[10, 40] Operation: 46-6=40
Exploring Operation: 10-6=4, Resulting Numbers: [46, 4]
Generated Node #0,3,3: 84:[46, 4] Operation: 10-6=4
Exploring Operation: 6+46=52, Resulting Numbers: [10, 52]
Generated Node #0,3,4: 84:[10, 52] Operation: 6+46=52
Moving to Node #0,3,2
Current State: 84:[10, 40], Operations: ['70-24=46', '46-6=40']
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,84 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[46, 4], Operations: ['70-24=46', '10-6=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,84 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[46, 16], Operations: ['70-24=46', '6+10=16']
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,84 unequal: No Solution
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[6, 36], Operations: ['70-24=46', '46-10=36']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,84 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[10, 52], Operations: ['70-24=46', '6+46=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,84 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[6, 24, 80], Operations: ['70+10=80']
Exploring Operation: 6+80=86, Resulting Numbers: [24, 86]
Generated Node #0,4,0: 84:[24, 86] Operation: 6+80=86
Exploring Operation: 24/6=4, Resulting Numbers: [80, 4]
Generated Node #0,4,1: 84:[80, 4] Operation: 24/6=4
Exploring Operation: 24-6=18, Resulting Numbers: [80, 18]
Generated Node #0,4,2: 84:[80, 18] Operation: 24-6=18
Exploring Operation: 6+24=30, Resulting Numbers: [80, 30]
Generated Node #0,4,3: 84:[80, 30] Operation: 6+24=30
Exploring Operation: 80-6=74, Resulting Numbers: [24, 74]
Generated Node #0,4,4: 84:[24, 74] Operation: 80-6=74
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 84:[80, 4], Operations: ['70+10=80', '24/6=4']
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,84 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[6, 24, 70, 10], Operations: []
Exploring Operation: 70+10=80, Resulting Numbers: [6, 24, 80]
Generated Node #0,4: 84:[6, 24, 80] Operation: 70+10=80
Moving to Node #0,4
Current State: 84:[6, 24, 80], Operations: ['70+10=80']
Exploring Operation: 24/6=4, Resulting Numbers: [80, 4]
Generated Node #0,4,1: 84:[80, 4] Operation: 24/6=4
Moving to Node #0,4,1
Current State: 84:[80, 4], Operations: ['70+10=80', '24/6=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947917 | hs_5 | sum_heuristic |
[
64,
25,
8,
78
] | 61 | [
"64/8=8",
"78-25=53",
"8+53=61"
] | Current State: 61:[64, 25, 8, 78], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [25, 78, 8]
Generated Node #2: [25, 78, 8] from Operation: 64/8=8
Current State: 61:[25, 78, 8], Operations: ['64/8=8']
Exploring Operation: 78-25=53, Resulting Numbers: [8, 53]
Generated Node #3: [8, 53] from Operation: 78-25=53
Current State: 61:[8, 53], Operations: ['64/8=8', '78-25=53']
Exploring Operation: 8+53=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[64, 25, 8, 78], Operations: []
Exploring Operation: 25+8=33, Resulting Numbers: [64, 78, 33]
Generated Node #0,0: 61:[64, 78, 33] Operation: 25+8=33
Exploring Operation: 78-8=70, Resulting Numbers: [64, 25, 70]
Generated Node #0,1: 61:[64, 25, 70] Operation: 78-8=70
Moving to Node #0,0
Current State: 61:[64, 78, 33], Operations: ['25+8=33']
Exploring Operation: 78-33=45, Resulting Numbers: [64, 45]
Generated Node #0,0,0: 61:[64, 45] Operation: 78-33=45
Exploring Operation: 64-33=31, Resulting Numbers: [78, 31]
Generated Node #0,0,1: 61:[78, 31] Operation: 64-33=31
Moving to Node #0,1
Current State: 61:[64, 25, 70], Operations: ['78-8=70']
Exploring Operation: 70-25=45, Resulting Numbers: [64, 45]
Generated Node #0,1,0: 61:[64, 45] Operation: 70-25=45
Exploring Operation: 64-25=39, Resulting Numbers: [70, 39]
Generated Node #0,1,1: 61:[70, 39] Operation: 64-25=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[64, 45], Operations: ['78-8=70', '70-25=45']
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,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,1
Current State: 61:[70, 39], Operations: ['78-8=70', '64-25=39']
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,61 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: 61:[64, 45], Operations: ['25+8=33', '78-33=45']
Exploring Operation: 64+45=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 64-45=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[78, 31], Operations: ['25+8=33', '64-33=31']
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
30,
79,
43
] | 58 | [
"34+30=64",
"79+43=122",
"122-64=58"
] | Current State: 58:[34, 30, 79, 43], Operations: []
Exploring Operation: 34+30=64, Resulting Numbers: [79, 43, 64]
Generated Node #2: [79, 43, 64] from Operation: 34+30=64
Current State: 58:[79, 43, 64], Operations: ['34+30=64']
Exploring Operation: 79+43=122, Resulting Numbers: [64, 122]
Generated Node #3: [64, 122] from Operation: 79+43=122
Current State: 58:[64, 122], Operations: ['34+30=64', '79+43=122']
Exploring Operation: 122-64=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[34, 30, 79, 43], Operations: []
Exploring Operation: 79-30=49, Resulting Numbers: [34, 43, 49]
Generated Node #0,0: 58:[34, 43, 49] Operation: 79-30=49
Exploring Operation: 34-30=4, Resulting Numbers: [79, 43, 4]
Generated Node #0,1: 58:[79, 43, 4] Operation: 34-30=4
Exploring Operation: 79-43=36, Resulting Numbers: [34, 30, 36]
Generated Node #0,2: 58:[34, 30, 36] Operation: 79-43=36
Exploring Operation: 43-34=9, Resulting Numbers: [30, 79, 9]
Generated Node #0,3: 58:[30, 79, 9] Operation: 43-34=9
Exploring Operation: 79-34=45, Resulting Numbers: [30, 43, 45]
Generated Node #0,4: 58:[30, 43, 45] Operation: 79-34=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[34, 30, 36], Operations: ['79-43=36']
Exploring Operation: 34+36=70, Resulting Numbers: [30, 70]
Generated Node #0,2,0: 58:[30, 70] Operation: 34+36=70
Exploring Operation: 34-30=4, Resulting Numbers: [36, 4]
Generated Node #0,2,1: 58:[36, 4] Operation: 34-30=4
Exploring Operation: 36-34=2, Resulting Numbers: [30, 2]
Generated Node #0,2,2: 58:[30, 2] Operation: 36-34=2
Exploring Operation: 36-30=6, Resulting Numbers: [34, 6]
Generated Node #0,2,3: 58:[34, 6] Operation: 36-30=6
Exploring Operation: 34+30=64, Resulting Numbers: [36, 64]
Generated Node #0,2,4: 58:[36, 64] Operation: 34+30=64
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[30, 2], Operations: ['79-43=36', '36-34=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[36, 4], Operations: ['79-43=36', '34-30=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,58 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,58 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 58:[34, 6], Operations: ['79-43=36', '36-30=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[30, 70], Operations: ['79-43=36', '34+36=70']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 58:[36, 64], Operations: ['79-43=36', '34+30=64']
Exploring Operation: 36*64=2304, Resulting Numbers: [2304]
2304,58 unequal: No Solution
Exploring Operation: 36+64=100, Resulting Numbers: [100]
100,58 unequal: No Solution
Exploring Operation: 64-36=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[34, 43, 49], Operations: ['79-30=49']
Exploring Operation: 49-34=15, Resulting Numbers: [43, 15]
Generated Node #0,0,0: 58:[43, 15] Operation: 49-34=15
Exploring Operation: 43-34=9, Resulting Numbers: [49, 9]
Generated Node #0,0,1: 58:[49, 9] Operation: 43-34=9
Exploring Operation: 34+49=83, Resulting Numbers: [43, 83]
Generated Node #0,0,2: 58:[43, 83] Operation: 34+49=83
Exploring Operation: 49-43=6, Resulting Numbers: [34, 6]
Generated Node #0,0,3: 58:[34, 6] Operation: 49-43=6
Exploring Operation: 34+43=77, Resulting Numbers: [49, 77]
Generated Node #0,0,4: 58:[49, 77] Operation: 34+43=77
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[34, 6], Operations: ['79-30=49', '49-43=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,58 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[49, 9], Operations: ['79-30=49', '43-34=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[34, 30, 79, 43], Operations: []
Exploring Operation: 79-30=49, Resulting Numbers: [34, 43, 49]
Generated Node #0,0: 58:[34, 43, 49] Operation: 79-30=49
Moving to Node #0,0
Current State: 58:[34, 43, 49], Operations: ['79-30=49']
Exploring Operation: 43-34=9, Resulting Numbers: [49, 9]
Generated Node #0,0,1: 58:[49, 9] Operation: 43-34=9
Moving to Node #0,0,1
Current State: 58:[49, 9], Operations: ['79-30=49', '43-34=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
2,
38,
5,
29
] | 52 | [
"2*38=76",
"29-5=24",
"76-24=52"
] | Current State: 52:[2, 38, 5, 29], Operations: []
Exploring Operation: 2*38=76, Resulting Numbers: [5, 29, 76]
Generated Node #2: [5, 29, 76] from Operation: 2*38=76
Current State: 52:[5, 29, 76], Operations: ['2*38=76']
Exploring Operation: 29-5=24, Resulting Numbers: [76, 24]
Generated Node #3: [76, 24] from Operation: 29-5=24
Current State: 52:[76, 24], Operations: ['2*38=76', '29-5=24']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[2, 38, 5, 29], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [2, 5, 9]
Generated Node #0,0: 52:[2, 5, 9] Operation: 38-29=9
Exploring Operation: 38/2=19, Resulting Numbers: [5, 29, 19]
Generated Node #0,1: 52:[5, 29, 19] Operation: 38/2=19
Exploring Operation: 38-5=33, Resulting Numbers: [2, 29, 33]
Generated Node #0,2: 52:[2, 29, 33] Operation: 38-5=33
Exploring Operation: 38+5=43, Resulting Numbers: [2, 29, 43]
Generated Node #0,3: 52:[2, 29, 43] Operation: 38+5=43
Moving to Node #0,0
Current State: 52:[2, 5, 9], Operations: ['38-29=9']
Exploring Operation: 5+9=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 52:[2, 14] Operation: 5+9=14
Exploring Operation: 9-5=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 52:[2, 4] Operation: 9-5=4
Exploring Operation: 2+9=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 52:[5, 11] Operation: 2+9=11
Exploring Operation: 9-2=7, Resulting Numbers: [5, 7]
Generated Node #0,0,3: 52:[5, 7] Operation: 9-2=7
Moving to Node #0,2
Current State: 52:[2, 29, 33], Operations: ['38-5=33']
Exploring Operation: 33-2=31, Resulting Numbers: [29, 31]
Generated Node #0,2,0: 52:[29, 31] Operation: 33-2=31
Exploring Operation: 33-29=4, Resulting Numbers: [2, 4]
Generated Node #0,2,1: 52:[2, 4] Operation: 33-29=4
Exploring Operation: 29+33=62, Resulting Numbers: [2, 62]
Generated Node #0,2,2: 52:[2, 62] Operation: 29+33=62
Exploring Operation: 29-2=27, Resulting Numbers: [33, 27]
Generated Node #0,2,3: 52:[33, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[2, 4], Operations: ['38-5=33', '33-29=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[29, 31], Operations: ['38-5=33', '33-2=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 29*31=899, Resulting Numbers: [899]
899,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 52:[33, 27], Operations: ['38-5=33', '29-2=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,52 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[2, 62], Operations: ['38-5=33', '29+33=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,52 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,52 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,52 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[5, 29, 19], Operations: ['38/2=19']
Exploring Operation: 5+19=24, Resulting Numbers: [29, 24]
Generated Node #0,1,0: 52:[29, 24] Operation: 5+19=24
Exploring Operation: 29+19=48, Resulting Numbers: [5, 48]
Generated Node #0,1,1: 52:[5, 48] Operation: 29+19=48
Exploring Operation: 19-5=14, Resulting Numbers: [29, 14]
Generated Node #0,1,2: 52:[29, 14] Operation: 19-5=14
Exploring Operation: 29-19=10, Resulting Numbers: [5, 10]
Generated Node #0,1,3: 52:[5, 10] Operation: 29-19=10
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[29, 14], Operations: ['38/2=19', '19-5=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,52 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 52:[5, 10], Operations: ['38/2=19', '29-19=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,52 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[29, 24], Operations: ['38/2=19', '5+19=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,52 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[5, 48], Operations: ['38/2=19', '29+19=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,52 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,52 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: 52:[2, 29, 43], Operations: ['38+5=43']
Exploring Operation: 2+43=45, Resulting Numbers: [29, 45]
Generated Node #0,3,0: 52:[29, 45] Operation: 2+43=45
Exploring Operation: 2+29=31, Resulting Numbers: [43, 31]
Generated Node #0,3,1: 52:[43, 31] Operation: 2+29=31
Exploring Operation: 43-29=14, Resulting Numbers: [2, 14]
Generated Node #0,3,2: 52:[2, 14] Operation: 43-29=14
Exploring Operation: 29-2=27, Resulting Numbers: [43, 27]
Generated Node #0,3,3: 52:[43, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[2, 14], Operations: ['38+5=43', '43-29=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[29, 45], Operations: ['38+5=43', '2+43=45']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,52 unequal: No Solution
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[43, 27], Operations: ['38+5=43', '29-2=27']
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,52 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,52 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[43, 31], Operations: ['38+5=43', '2+29=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,52 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,52 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,52 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: 52:[2, 4], Operations: ['38-29=9', '9-5=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[2, 14], Operations: ['38-29=9', '5+9=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[5, 11], Operations: ['38-29=9', '2+9=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[5, 7], Operations: ['38-29=9', '9-2=7']
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
67,
72,
78,
61
] | 25 | [
"67-61=6",
"72+78=150",
"150/6=25"
] | Current State: 25:[67, 72, 78, 61], Operations: []
Exploring Operation: 67-61=6, Resulting Numbers: [72, 78, 6]
Generated Node #2: [72, 78, 6] from Operation: 67-61=6
Current State: 25:[72, 78, 6], Operations: ['67-61=6']
Exploring Operation: 72+78=150, Resulting Numbers: [6, 150]
Generated Node #3: [6, 150] from Operation: 72+78=150
Current State: 25:[6, 150], Operations: ['67-61=6', '72+78=150']
Exploring Operation: 150/6=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[67, 72, 78, 61], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [67, 61, 6]
Generated Node #0,0: 25:[67, 61, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[67, 61, 6], Operations: ['78-72=6']
Exploring Operation: 67-61=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 25:[6, 6] Operation: 67-61=6
Moving to Node #0,0,0
Current State: 25:[6, 6], Operations: ['78-72=6', '67-61=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,25 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 |
[
67,
4,
10,
10
] | 97 | [
"67-10=57",
"4*10=40",
"57+40=97"
] | Current State: 97:[67, 4, 10, 10], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [4, 57]
Generated Node #2: [4, 57] from Operation: 67-10=57
Current State: 97:[4, 57], Operations: ['67-10=57']
Exploring Operation: 4*10=40, Resulting Numbers: [57, 40]
Generated Node #3: [57, 40] from Operation: 4*10=40
Current State: 97:[57, 40], Operations: ['67-10=57', '4*10=40']
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[67, 4, 10, 10], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [67, 10, 40]
Generated Node #0,0: 97:[67, 10, 40] Operation: 4*10=40
Exploring Operation: 4*10=40, Resulting Numbers: [67, 10, 40]
Generated Node #0,1: 97:[67, 10, 40] Operation: 4*10=40
Exploring Operation: 10*10=100, Resulting Numbers: [67, 4, 100]
Generated Node #0,2: 97:[67, 4, 100] Operation: 10*10=100
Moving to Node #0,2
Current State: 97:[67, 4, 100], Operations: ['10*10=100']
Exploring Operation: 100-4=96, Resulting Numbers: [67, 96]
Generated Node #0,2,0: 97:[67, 96] Operation: 100-4=96
Exploring Operation: 67-4=63, Resulting Numbers: [100, 63]
Generated Node #0,2,1: 97:[100, 63] Operation: 67-4=63
Exploring Operation: 67+4=71, Resulting Numbers: [100, 71]
Generated Node #0,2,2: 97:[100, 71] Operation: 67+4=71
Moving to Node #0,0
Current State: 97:[67, 10, 40], Operations: ['4*10=40']
Exploring Operation: 67+10=77, Resulting Numbers: [40, 77]
Generated Node #0,0,0: 97:[40, 77] Operation: 67+10=77
Exploring Operation: 67-10=57, Resulting Numbers: [40, 57]
Generated Node #0,0,1: 97:[40, 57] Operation: 67-10=57
Exploring Operation: 10+40=50, Resulting Numbers: [67, 50]
Generated Node #0,0,2: 97:[67, 50] Operation: 10+40=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[40, 77], Operations: ['4*10=40', '67+10=77']
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,97 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,97 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[67, 50], Operations: ['4*10=40', '10+40=50']
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,97 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,97 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[40, 57], Operations: ['4*10=40', '67-10=57']
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,97 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[67, 4, 10, 10], Operations: []
Exploring Operation: 4*10=40, Resulting Numbers: [67, 10, 40]
Generated Node #0,0: 97:[67, 10, 40] Operation: 4*10=40
Moving to Node #0,0
Current State: 97:[67, 10, 40], Operations: ['4*10=40']
Exploring Operation: 67-10=57, Resulting Numbers: [40, 57]
Generated Node #0,0,1: 97:[40, 57] Operation: 67-10=57
Moving to Node #0,0,1
Current State: 97:[40, 57], Operations: ['4*10=40', '67-10=57']
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
41,
7,
55,
78
] | 99 | [
"41-7=34",
"55+78=133",
"133-34=99"
] | Current State: 99:[41, 7, 55, 78], Operations: []
Exploring Operation: 41-7=34, Resulting Numbers: [55, 78, 34]
Generated Node #2: [55, 78, 34] from Operation: 41-7=34
Current State: 99:[55, 78, 34], Operations: ['41-7=34']
Exploring Operation: 55+78=133, Resulting Numbers: [34, 133]
Generated Node #3: [34, 133] from Operation: 55+78=133
Current State: 99:[34, 133], Operations: ['41-7=34', '55+78=133']
Exploring Operation: 133-34=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[41, 7, 55, 78], Operations: []
Exploring Operation: 78-55=23, Resulting Numbers: [41, 7, 23]
Generated Node #0,0: 99:[41, 7, 23] Operation: 78-55=23
Moving to Node #0,0
Current State: 99:[41, 7, 23], Operations: ['78-55=23']
Exploring Operation: 41-23=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 99:[7, 18] Operation: 41-23=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[7, 18], Operations: ['78-55=23', '41-23=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,99 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 |
[
41,
83,
38,
12
] | 74 | [
"41+83=124",
"38+12=50",
"124-50=74"
] | Current State: 74:[41, 83, 38, 12], Operations: []
Exploring Operation: 41+83=124, Resulting Numbers: [38, 12, 124]
Generated Node #2: [38, 12, 124] from Operation: 41+83=124
Current State: 74:[38, 12, 124], Operations: ['41+83=124']
Exploring Operation: 38+12=50, Resulting Numbers: [124, 50]
Generated Node #3: [124, 50] from Operation: 38+12=50
Current State: 74:[124, 50], Operations: ['41+83=124', '38+12=50']
Exploring Operation: 124-50=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[41, 83, 38, 12], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [41, 38, 71]
Generated Node #0,0: 74:[41, 38, 71] Operation: 83-12=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[41, 38, 71], Operations: ['83-12=71']
Exploring Operation: 41-38=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 74:[71, 3] Operation: 41-38=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[71, 3], Operations: ['83-12=71', '41-38=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[41, 83, 38, 12], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [41, 38, 71]
Generated Node #0,0: 74:[41, 38, 71] Operation: 83-12=71
Moving to Node #0,0
Current State: 74:[41, 38, 71], Operations: ['83-12=71']
Exploring Operation: 41-38=3, Resulting Numbers: [71, 3]
Generated Node #0,0,0: 74:[71, 3] Operation: 41-38=3
Moving to Node #0,0,0
Current State: 74:[71, 3], Operations: ['83-12=71', '41-38=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
25,
84,
32,
43
] | 55 | [
"32-25=7",
"84/7=12",
"43+12=55"
] | Current State: 55:[25, 84, 32, 43], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [84, 43, 7]
Generated Node #2: [84, 43, 7] from Operation: 32-25=7
Current State: 55:[84, 43, 7], Operations: ['32-25=7']
Exploring Operation: 84/7=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 84/7=12
Current State: 55:[43, 12], Operations: ['32-25=7', '84/7=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[25, 84, 32, 43], Operations: []
Exploring Operation: 84-32=52, Resulting Numbers: [25, 43, 52]
Generated Node #0,0: 55:[25, 43, 52] Operation: 84-32=52
Exploring Operation: 32-25=7, Resulting Numbers: [84, 43, 7]
Generated Node #0,1: 55:[84, 43, 7] Operation: 32-25=7
Exploring Operation: 84-25=59, Resulting Numbers: [32, 43, 59]
Generated Node #0,2: 55:[32, 43, 59] Operation: 84-25=59
Exploring Operation: 25+32=57, Resulting Numbers: [84, 43, 57]
Generated Node #0,3: 55:[84, 43, 57] Operation: 25+32=57
Moving to Node #0,0
Current State: 55:[25, 43, 52], Operations: ['84-32=52']
Exploring Operation: 52-43=9, Resulting Numbers: [25, 9]
Generated Node #0,0,0: 55:[25, 9] Operation: 52-43=9
Exploring Operation: 52-25=27, Resulting Numbers: [43, 27]
Generated Node #0,0,1: 55:[43, 27] Operation: 52-25=27
Exploring Operation: 25+43=68, Resulting Numbers: [52, 68]
Generated Node #0,0,2: 55:[52, 68] Operation: 25+43=68
Exploring Operation: 43-25=18, Resulting Numbers: [52, 18]
Generated Node #0,0,3: 55:[52, 18] Operation: 43-25=18
Moving to Node #0,2
Current State: 55:[32, 43, 59], Operations: ['84-25=59']
Exploring Operation: 59-43=16, Resulting Numbers: [32, 16]
Generated Node #0,2,0: 55:[32, 16] Operation: 59-43=16
Exploring Operation: 43-32=11, Resulting Numbers: [59, 11]
Generated Node #0,2,1: 55:[59, 11] Operation: 43-32=11
Exploring Operation: 32+43=75, Resulting Numbers: [59, 75]
Generated Node #0,2,2: 55:[59, 75] Operation: 32+43=75
Exploring Operation: 59-32=27, Resulting Numbers: [43, 27]
Generated Node #0,2,3: 55:[43, 27] Operation: 59-32=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[59, 11], Operations: ['84-25=59', '43-32=11']
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[59, 75], Operations: ['84-25=59', '32+43=75']
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 59*75=4425, Resulting Numbers: [4425]
4425,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[32, 16], Operations: ['84-25=59', '59-43=16']
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,55 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[43, 27], Operations: ['84-25=59', '59-32=27']
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,55 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,55 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: 55:[84, 43, 57], Operations: ['25+32=57']
Exploring Operation: 57-43=14, Resulting Numbers: [84, 14]
Generated Node #0,3,0: 55:[84, 14] Operation: 57-43=14
Exploring Operation: 84-57=27, Resulting Numbers: [43, 27]
Generated Node #0,3,1: 55:[43, 27] Operation: 84-57=27
Exploring Operation: 84-43=41, Resulting Numbers: [57, 41]
Generated Node #0,3,2: 55:[57, 41] Operation: 84-43=41
Exploring Operation: 84+43=127, Resulting Numbers: [57, 127]
Generated Node #0,3,3: 55:[57, 127] Operation: 84+43=127
Moving to Node #0,1
Current State: 55:[84, 43, 7], Operations: ['32-25=7']
Exploring Operation: 84-43=41, Resulting Numbers: [7, 41]
Generated Node #0,1,0: 55:[7, 41] Operation: 84-43=41
Exploring Operation: 43+7=50, Resulting Numbers: [84, 50]
Generated Node #0,1,1: 55:[84, 50] Operation: 43+7=50
Exploring Operation: 84-7=77, Resulting Numbers: [43, 77]
Generated Node #0,1,2: 55:[43, 77] Operation: 84-7=77
Exploring Operation: 84/7=12, Resulting Numbers: [43, 12]
Generated Node #0,1,3: 55:[43, 12] Operation: 84/7=12
Moving to Node #0,0,3
Current State: 55:[52, 18], Operations: ['84-32=52', '43-25=18']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 52*18=936, Resulting Numbers: [936]
936,55 unequal: No Solution
Exploring Operation: 52+18=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[43, 12], Operations: ['32-25=7', '84/7=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[25, 84, 32, 43], Operations: []
Exploring Operation: 32-25=7, Resulting Numbers: [84, 43, 7]
Generated Node #0,1: 55:[84, 43, 7] Operation: 32-25=7
Moving to Node #0,1
Current State: 55:[84, 43, 7], Operations: ['32-25=7']
Exploring Operation: 84/7=12, Resulting Numbers: [43, 12]
Generated Node #0,1,3: 55:[43, 12] Operation: 84/7=12
Moving to Node #0,1,3
Current State: 55:[43, 12], Operations: ['32-25=7', '84/7=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.96441 | hs_4 | sum_heuristic |
[
10,
71,
80,
94
] | 47 | [
"71-10=61",
"94-80=14",
"61-14=47"
] | Current State: 47:[10, 71, 80, 94], Operations: []
Exploring Operation: 71-10=61, Resulting Numbers: [80, 94, 61]
Generated Node #2: [80, 94, 61] from Operation: 71-10=61
Current State: 47:[80, 94, 61], Operations: ['71-10=61']
Exploring Operation: 94-80=14, Resulting Numbers: [61, 14]
Generated Node #3: [61, 14] from Operation: 94-80=14
Current State: 47:[61, 14], Operations: ['71-10=61', '94-80=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[10, 71, 80, 94], Operations: []
Exploring Operation: 71-10=61, Resulting Numbers: [80, 94, 61]
Generated Node #0,0: 47:[80, 94, 61] Operation: 71-10=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[80, 94, 61], Operations: ['71-10=61']
Exploring Operation: 94-80=14, Resulting Numbers: [61, 14]
Generated Node #0,0,0: 47:[61, 14] Operation: 94-80=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[61, 14], Operations: ['71-10=61', '94-80=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[10, 71, 80, 94], Operations: []
Exploring Operation: 71-10=61, Resulting Numbers: [80, 94, 61]
Generated Node #0,0: 47:[80, 94, 61] Operation: 71-10=61
Moving to Node #0,0
Current State: 47:[80, 94, 61], Operations: ['71-10=61']
Exploring Operation: 94-80=14, Resulting Numbers: [61, 14]
Generated Node #0,0,0: 47:[61, 14] Operation: 94-80=14
Moving to Node #0,0,0
Current State: 47:[61, 14], Operations: ['71-10=61', '94-80=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
16,
13,
28
] | 13 | [
"45-16=29",
"29-28=1",
"13*1=13"
] | Current State: 13:[45, 16, 13, 28], Operations: []
Exploring Operation: 45-16=29, Resulting Numbers: [13, 28, 29]
Generated Node #2: [13, 28, 29] from Operation: 45-16=29
Current State: 13:[13, 28, 29], Operations: ['45-16=29']
Exploring Operation: 29-28=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 29-28=1
Current State: 13:[13, 1], Operations: ['45-16=29', '29-28=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[45, 16, 13, 28], Operations: []
Exploring Operation: 45-28=17, Resulting Numbers: [16, 13, 17]
Generated Node #0,0: 13:[16, 13, 17] Operation: 45-28=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[16, 13, 17], Operations: ['45-28=17']
Exploring Operation: 17-16=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 13:[13, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 13:[13, 1], Operations: ['45-28=17', '17-16=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[45, 16, 13, 28], Operations: []
Exploring Operation: 45-28=17, Resulting Numbers: [16, 13, 17]
Generated Node #0,0: 13:[16, 13, 17] Operation: 45-28=17
Moving to Node #0,0
Current State: 13:[16, 13, 17], Operations: ['45-28=17']
Exploring Operation: 17-16=1, Resulting Numbers: [13, 1]
Generated Node #0,0,0: 13:[13, 1] Operation: 17-16=1
Moving to Node #0,0,0
Current State: 13:[13, 1], Operations: ['45-28=17', '17-16=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
91,
3,
87,
75
] | 68 | [
"91+3=94",
"87+75=162",
"162-94=68"
] | Current State: 68:[91, 3, 87, 75], Operations: []
Exploring Operation: 91+3=94, Resulting Numbers: [87, 75, 94]
Generated Node #2: [87, 75, 94] from Operation: 91+3=94
Current State: 68:[87, 75, 94], Operations: ['91+3=94']
Exploring Operation: 87+75=162, Resulting Numbers: [94, 162]
Generated Node #3: [94, 162] from Operation: 87+75=162
Current State: 68:[94, 162], Operations: ['91+3=94', '87+75=162']
Exploring Operation: 162-94=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[91, 3, 87, 75], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [3, 75, 4]
Generated Node #0,0: 68:[3, 75, 4] Operation: 91-87=4
Exploring Operation: 91-75=16, Resulting Numbers: [3, 87, 16]
Generated Node #0,1: 68:[3, 87, 16] Operation: 91-75=16
Moving to Node #0,0
Current State: 68:[3, 75, 4], Operations: ['91-87=4']
Exploring Operation: 75-4=71, Resulting Numbers: [3, 71]
Generated Node #0,0,0: 68:[3, 71] Operation: 75-4=71
Exploring Operation: 75-3=72, Resulting Numbers: [4, 72]
Generated Node #0,0,1: 68:[4, 72] Operation: 75-3=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[3, 71], Operations: ['91-87=4', '75-4=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[91, 3, 87, 75], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [3, 75, 4]
Generated Node #0,0: 68:[3, 75, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 68:[3, 75, 4], Operations: ['91-87=4']
Exploring Operation: 75-4=71, Resulting Numbers: [3, 71]
Generated Node #0,0,0: 68:[3, 71] Operation: 75-4=71
Moving to Node #0,0,0
Current State: 68:[3, 71], Operations: ['91-87=4', '75-4=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
66,
28,
36,
57
] | 72 | [
"66-57=9",
"36-28=8",
"9*8=72"
] | Current State: 72:[66, 28, 36, 57], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [28, 36, 9]
Generated Node #2: [28, 36, 9] from Operation: 66-57=9
Current State: 72:[28, 36, 9], Operations: ['66-57=9']
Exploring Operation: 36-28=8, Resulting Numbers: [9, 8]
Generated Node #3: [9, 8] from Operation: 36-28=8
Current State: 72:[9, 8], Operations: ['66-57=9', '36-28=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[66, 28, 36, 57], Operations: []
Exploring Operation: 57-28=29, Resulting Numbers: [66, 36, 29]
Generated Node #0,0: 72:[66, 36, 29] Operation: 57-28=29
Exploring Operation: 66-28=38, Resulting Numbers: [36, 57, 38]
Generated Node #0,1: 72:[36, 57, 38] Operation: 66-28=38
Exploring Operation: 57-36=21, Resulting Numbers: [66, 28, 21]
Generated Node #0,2: 72:[66, 28, 21] Operation: 57-36=21
Exploring Operation: 66-57=9, Resulting Numbers: [28, 36, 9]
Generated Node #0,3: 72:[28, 36, 9] Operation: 66-57=9
Moving to Node #0,3
Current State: 72:[28, 36, 9], Operations: ['66-57=9']
Exploring Operation: 36-28=8, Resulting Numbers: [9, 8]
Generated Node #0,3,0: 72:[9, 8] Operation: 36-28=8
Exploring Operation: 28+9=37, Resulting Numbers: [36, 37]
Generated Node #0,3,1: 72:[36, 37] Operation: 28+9=37
Exploring Operation: 36/9=4, Resulting Numbers: [28, 4]
Generated Node #0,3,2: 72:[28, 4] Operation: 36/9=4
Exploring Operation: 28-9=19, Resulting Numbers: [36, 19]
Generated Node #0,3,3: 72:[36, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 72:[9, 8], Operations: ['66-57=9', '36-28=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[66, 28, 36, 57], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [28, 36, 9]
Generated Node #0,3: 72:[28, 36, 9] Operation: 66-57=9
Moving to Node #0,3
Current State: 72:[28, 36, 9], Operations: ['66-57=9']
Exploring Operation: 36-28=8, Resulting Numbers: [9, 8]
Generated Node #0,3,0: 72:[9, 8] Operation: 36-28=8
Moving to Node #0,3,0
Current State: 72:[9, 8], Operations: ['66-57=9', '36-28=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
14,
7,
15,
13
] | 42 | [
"14+7=21",
"15-13=2",
"21*2=42"
] | Current State: 42:[14, 7, 15, 13], Operations: []
Exploring Operation: 14+7=21, Resulting Numbers: [15, 13, 21]
Generated Node #2: [15, 13, 21] from Operation: 14+7=21
Current State: 42:[15, 13, 21], Operations: ['14+7=21']
Exploring Operation: 15-13=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 15-13=2
Current State: 42:[21, 2], Operations: ['14+7=21', '15-13=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[14, 7, 15, 13], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [14, 7, 2]
Generated Node #0,0: 42:[14, 7, 2] Operation: 15-13=2
Exploring Operation: 14/7=2, Resulting Numbers: [15, 13, 2]
Generated Node #0,1: 42:[15, 13, 2] Operation: 14/7=2
Exploring Operation: 14+7=21, Resulting Numbers: [15, 13, 21]
Generated Node #0,2: 42:[15, 13, 21] Operation: 14+7=21
Exploring Operation: 14-7=7, Resulting Numbers: [15, 13, 7]
Generated Node #0,3: 42:[15, 13, 7] Operation: 14-7=7
Exploring Operation: 13-7=6, Resulting Numbers: [14, 15, 6]
Generated Node #0,4: 42:[14, 15, 6] Operation: 13-7=6
Moving to Node #0,0
Current State: 42:[14, 7, 2], Operations: ['15-13=2']
Exploring Operation: 14/7=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 42:[2, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 42:[2, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [2, 21]
Generated Node #0,0,2: 42:[2, 21] Operation: 14+7=21
Exploring Operation: 7*2=14, Resulting Numbers: [14, 14]
Generated Node #0,0,3: 42:[14, 14] Operation: 7*2=14
Exploring Operation: 14/2=7, Resulting Numbers: [7, 7]
Generated Node #0,0,4: 42:[7, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[2, 2], Operations: ['15-13=2', '14/7=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,42 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,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,0,1
Current State: 42:[2, 7], Operations: ['15-13=2', '14-7=7']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,42 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,42 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,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,0,2
Current State: 42:[2, 21], Operations: ['15-13=2', '14+7=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[14, 7, 15, 13], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [14, 7, 2]
Generated Node #0,0: 42:[14, 7, 2] Operation: 15-13=2
Moving to Node #0,0
Current State: 42:[14, 7, 2], Operations: ['15-13=2']
Exploring Operation: 14+7=21, Resulting Numbers: [2, 21]
Generated Node #0,0,2: 42:[2, 21] Operation: 14+7=21
Moving to Node #0,0,2
Current State: 42:[2, 21], Operations: ['15-13=2', '14+7=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
56,
80,
70,
96
] | 74 | [
"80-56=24",
"96/24=4",
"70+4=74"
] | Current State: 74:[56, 80, 70, 96], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [70, 96, 24]
Generated Node #2: [70, 96, 24] from Operation: 80-56=24
Current State: 74:[70, 96, 24], Operations: ['80-56=24']
Exploring Operation: 96/24=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 96/24=4
Current State: 74:[70, 4], Operations: ['80-56=24', '96/24=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[56, 80, 70, 96], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [70, 96, 24]
Generated Node #0,0: 74:[70, 96, 24] Operation: 80-56=24
Exploring Operation: 96-80=16, Resulting Numbers: [56, 70, 16]
Generated Node #0,1: 74:[56, 70, 16] Operation: 96-80=16
Exploring Operation: 96-56=40, Resulting Numbers: [80, 70, 40]
Generated Node #0,2: 74:[80, 70, 40] Operation: 96-56=40
Exploring Operation: 96-70=26, Resulting Numbers: [56, 80, 26]
Generated Node #0,3: 74:[56, 80, 26] Operation: 96-70=26
Moving to Node #0,2
Current State: 74:[80, 70, 40], Operations: ['96-56=40']
Exploring Operation: 80-40=40, Resulting Numbers: [70, 40]
Generated Node #0,2,0: 74:[70, 40] Operation: 80-40=40
Exploring Operation: 80/40=2, Resulting Numbers: [70, 2]
Generated Node #0,2,1: 74:[70, 2] Operation: 80/40=2
Exploring Operation: 70-40=30, Resulting Numbers: [80, 30]
Generated Node #0,2,2: 74:[80, 30] Operation: 70-40=30
Exploring Operation: 80-70=10, Resulting Numbers: [40, 10]
Generated Node #0,2,3: 74:[40, 10] Operation: 80-70=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[70, 2], Operations: ['96-56=40', '80/40=2']
Exploring Operation: 70*2=140, Resulting Numbers: [140]
140,74 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[70, 40], Operations: ['96-56=40', '80-40=40']
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,74 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[40, 10], Operations: ['96-56=40', '80-70=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,74 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[80, 30], Operations: ['96-56=40', '70-40=30']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,74 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 74:[56, 80, 26], Operations: ['96-70=26']
Exploring Operation: 80-56=24, Resulting Numbers: [26, 24]
Generated Node #0,3,0: 74:[26, 24] Operation: 80-56=24
Exploring Operation: 80-26=54, Resulting Numbers: [56, 54]
Generated Node #0,3,1: 74:[56, 54] Operation: 80-26=54
Exploring Operation: 56+26=82, Resulting Numbers: [80, 82]
Generated Node #0,3,2: 74:[80, 82] Operation: 56+26=82
Exploring Operation: 56-26=30, Resulting Numbers: [80, 30]
Generated Node #0,3,3: 74:[80, 30] Operation: 56-26=30
Moving to Node #0,1
Current State: 74:[56, 70, 16], Operations: ['96-80=16']
Exploring Operation: 56-16=40, Resulting Numbers: [70, 40]
Generated Node #0,1,0: 74:[70, 40] Operation: 56-16=40
Exploring Operation: 56+16=72, Resulting Numbers: [70, 72]
Generated Node #0,1,1: 74:[70, 72] Operation: 56+16=72
Exploring Operation: 70-56=14, Resulting Numbers: [16, 14]
Generated Node #0,1,2: 74:[16, 14] Operation: 70-56=14
Exploring Operation: 70+16=86, Resulting Numbers: [56, 86]
Generated Node #0,1,3: 74:[56, 86] Operation: 70+16=86
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[70, 72], Operations: ['96-80=16', '56+16=72']
Exploring Operation: 70*72=5040, Resulting Numbers: [5040]
5040,74 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,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,1,0
Current State: 74:[70, 40], Operations: ['96-80=16', '56-16=40']
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,74 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,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,1,2
Current State: 74:[16, 14], Operations: ['96-80=16', '70-56=14']
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,74 unequal: No Solution
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,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,1,3
Current State: 74:[56, 86], Operations: ['96-80=16', '70+16=86']
Exploring Operation: 56+86=142, Resulting Numbers: [142]
142,74 unequal: No Solution
Exploring Operation: 86-56=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 56*86=4816, Resulting Numbers: [4816]
4816,74 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: 74:[70, 96, 24], Operations: ['80-56=24']
Exploring Operation: 70-24=46, Resulting Numbers: [96, 46]
Generated Node #0,0,0: 74:[96, 46] Operation: 70-24=46
Exploring Operation: 96-24=72, Resulting Numbers: [70, 72]
Generated Node #0,0,1: 74:[70, 72] Operation: 96-24=72
Exploring Operation: 96-70=26, Resulting Numbers: [24, 26]
Generated Node #0,0,2: 74:[24, 26] Operation: 96-70=26
Exploring Operation: 96/24=4, Resulting Numbers: [70, 4]
Generated Node #0,0,3: 74:[70, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[70, 72], Operations: ['80-56=24', '96-24=72']
Exploring Operation: 70+72=142, Resulting Numbers: [142]
142,74 unequal: No Solution
Exploring Operation: 70*72=5040, Resulting Numbers: [5040]
5040,74 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,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,3
Current State: 74:[70, 4], Operations: ['80-56=24', '96/24=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[56, 80, 70, 96], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [70, 96, 24]
Generated Node #0,0: 74:[70, 96, 24] Operation: 80-56=24
Moving to Node #0,0
Current State: 74:[70, 96, 24], Operations: ['80-56=24']
Exploring Operation: 96/24=4, Resulting Numbers: [70, 4]
Generated Node #0,0,3: 74:[70, 4] Operation: 96/24=4
Moving to Node #0,0,3
Current State: 74:[70, 4], Operations: ['80-56=24', '96/24=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_4 | mult_heuristic |
[
98,
90,
33,
63
] | 22 | [
"98-90=8",
"63-33=30",
"30-8=22"
] | Current State: 22:[98, 90, 33, 63], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [33, 63, 8]
Generated Node #2: [33, 63, 8] from Operation: 98-90=8
Current State: 22:[33, 63, 8], Operations: ['98-90=8']
Exploring Operation: 63-33=30, Resulting Numbers: [8, 30]
Generated Node #3: [8, 30] from Operation: 63-33=30
Current State: 22:[8, 30], Operations: ['98-90=8', '63-33=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[98, 90, 33, 63], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [33, 63, 8]
Generated Node #0,0: 22:[33, 63, 8] Operation: 98-90=8
Exploring Operation: 98-63=35, Resulting Numbers: [90, 33, 35]
Generated Node #0,1: 22:[90, 33, 35] Operation: 98-63=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[33, 63, 8], Operations: ['98-90=8']
Exploring Operation: 33-8=25, Resulting Numbers: [63, 25]
Generated Node #0,0,0: 22:[63, 25] Operation: 33-8=25
Exploring Operation: 63-33=30, Resulting Numbers: [8, 30]
Generated Node #0,0,1: 22:[8, 30] Operation: 63-33=30
Moving to Node #0,0,1
Current State: 22:[8, 30], Operations: ['98-90=8', '63-33=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[98, 90, 33, 63], Operations: []
Exploring Operation: 98-90=8, Resulting Numbers: [33, 63, 8]
Generated Node #0,0: 22:[33, 63, 8] Operation: 98-90=8
Moving to Node #0,0
Current State: 22:[33, 63, 8], Operations: ['98-90=8']
Exploring Operation: 63-33=30, Resulting Numbers: [8, 30]
Generated Node #0,0,1: 22:[8, 30] Operation: 63-33=30
Moving to Node #0,0,1
Current State: 22:[8, 30], Operations: ['98-90=8', '63-33=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
36,
83,
3,
11
] | 60 | [
"36/3=12",
"83-11=72",
"72-12=60"
] | Current State: 60:[36, 83, 3, 11], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [83, 11, 12]
Generated Node #2: [83, 11, 12] from Operation: 36/3=12
Current State: 60:[83, 11, 12], Operations: ['36/3=12']
Exploring Operation: 83-11=72, Resulting Numbers: [12, 72]
Generated Node #3: [12, 72] from Operation: 83-11=72
Current State: 60:[12, 72], Operations: ['36/3=12', '83-11=72']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[36, 83, 3, 11], Operations: []
Exploring Operation: 36-3=33, Resulting Numbers: [83, 11, 33]
Generated Node #0,0: 60:[83, 11, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [83, 11, 12]
Generated Node #0,1: 60:[83, 11, 12] Operation: 36/3=12
Exploring Operation: 83-11=72, Resulting Numbers: [36, 3, 72]
Generated Node #0,2: 60:[36, 3, 72] Operation: 83-11=72
Exploring Operation: 83-36=47, Resulting Numbers: [3, 11, 47]
Generated Node #0,3: 60:[3, 11, 47] Operation: 83-36=47
Moving to Node #0,3
Current State: 60:[3, 11, 47], Operations: ['83-36=47']
Exploring Operation: 3+47=50, Resulting Numbers: [11, 50]
Generated Node #0,3,0: 60:[11, 50] Operation: 3+47=50
Exploring Operation: 3+11=14, Resulting Numbers: [47, 14]
Generated Node #0,3,1: 60:[47, 14] Operation: 3+11=14
Exploring Operation: 11+47=58, Resulting Numbers: [3, 58]
Generated Node #0,3,2: 60:[3, 58] Operation: 11+47=58
Exploring Operation: 47-11=36, Resulting Numbers: [3, 36]
Generated Node #0,3,3: 60:[3, 36] Operation: 47-11=36
Moving to Node #0,2
Current State: 60:[36, 3, 72], Operations: ['83-11=72']
Exploring Operation: 72/36=2, Resulting Numbers: [3, 2]
Generated Node #0,2,0: 60:[3, 2] Operation: 72/36=2
Exploring Operation: 36/3=12, Resulting Numbers: [72, 12]
Generated Node #0,2,1: 60:[72, 12] Operation: 36/3=12
Exploring Operation: 72/3=24, Resulting Numbers: [36, 24]
Generated Node #0,2,2: 60:[36, 24] Operation: 72/3=24
Exploring Operation: 72-36=36, Resulting Numbers: [3, 36]
Generated Node #0,2,3: 60:[3, 36] Operation: 72-36=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[3, 2], Operations: ['83-11=72', '72/36=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[3, 36], Operations: ['83-11=72', '72-36=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,60 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[36, 24], Operations: ['83-11=72', '72/3=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,60 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[36, 83, 3, 11], Operations: []
Exploring Operation: 83-11=72, Resulting Numbers: [36, 3, 72]
Generated Node #0,2: 60:[36, 3, 72] Operation: 83-11=72
Moving to Node #0,2
Current State: 60:[36, 3, 72], Operations: ['83-11=72']
Exploring Operation: 72/3=24, Resulting Numbers: [36, 24]
Generated Node #0,2,2: 60:[36, 24] Operation: 72/3=24
Moving to Node #0,2,2
Current State: 60:[36, 24], Operations: ['83-11=72', '72/3=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | mult_heuristic |
[
20,
27,
3,
45
] | 49 | [
"27-20=7",
"45-3=42",
"7+42=49"
] | Current State: 49:[20, 27, 3, 45], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [3, 45, 7]
Generated Node #2: [3, 45, 7] from Operation: 27-20=7
Current State: 49:[3, 45, 7], Operations: ['27-20=7']
Exploring Operation: 45-3=42, Resulting Numbers: [7, 42]
Generated Node #3: [7, 42] from Operation: 45-3=42
Current State: 49:[7, 42], Operations: ['27-20=7', '45-3=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[20, 27, 3, 45], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [3, 45, 7]
Generated Node #0,0: 49:[3, 45, 7] Operation: 27-20=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[3, 45, 7], Operations: ['27-20=7']
Exploring Operation: 3+45=48, Resulting Numbers: [7, 48]
Generated Node #0,0,0: 49:[7, 48] Operation: 3+45=48
Moving to Node #0,0,0
Current State: 49:[7, 48], Operations: ['27-20=7', '3+45=48']
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,49 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 |
[
56,
90,
6,
24
] | 51 | [
"24-6=18",
"90/18=5",
"56-5=51"
] | Current State: 51:[56, 90, 6, 24], Operations: []
Exploring Operation: 24-6=18, Resulting Numbers: [56, 90, 18]
Generated Node #2: [56, 90, 18] from Operation: 24-6=18
Current State: 51:[56, 90, 18], Operations: ['24-6=18']
Exploring Operation: 90/18=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 90/18=5
Current State: 51:[56, 5], Operations: ['24-6=18', '90/18=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[56, 90, 6, 24], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [56, 24, 15]
Generated Node #0,0: 51:[56, 24, 15] Operation: 90/6=15
Moving to Node #0,0
Current State: 51:[56, 24, 15], Operations: ['90/6=15']
Exploring Operation: 24-15=9, Resulting Numbers: [56, 9]
Generated Node #0,0,0: 51:[56, 9] Operation: 24-15=9
Moving to Node #0,0,0
Current State: 51:[56, 9], Operations: ['90/6=15', '24-15=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
89,
16,
14,
45
] | 14 | [
"89-16=73",
"14+45=59",
"73-59=14"
] | Current State: 14:[89, 16, 14, 45], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [14, 45, 73]
Generated Node #2: [14, 45, 73] from Operation: 89-16=73
Current State: 14:[14, 45, 73], Operations: ['89-16=73']
Exploring Operation: 14+45=59, Resulting Numbers: [73, 59]
Generated Node #3: [73, 59] from Operation: 14+45=59
Current State: 14:[73, 59], Operations: ['89-16=73', '14+45=59']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[89, 16, 14, 45], Operations: []
Exploring Operation: 89-45=44, Resulting Numbers: [16, 14, 44]
Generated Node #0,0: 14:[16, 14, 44] Operation: 89-45=44
Exploring Operation: 89-16=73, Resulting Numbers: [14, 45, 73]
Generated Node #0,1: 14:[14, 45, 73] Operation: 89-16=73
Exploring Operation: 45-16=29, Resulting Numbers: [89, 14, 29]
Generated Node #0,2: 14:[89, 14, 29] Operation: 45-16=29
Exploring Operation: 89-14=75, Resulting Numbers: [16, 45, 75]
Generated Node #0,3: 14:[16, 45, 75] Operation: 89-14=75
Moving to Node #0,0
Current State: 14:[16, 14, 44], Operations: ['89-45=44']
Exploring Operation: 16-14=2, Resulting Numbers: [44, 2]
Generated Node #0,0,0: 14:[44, 2] Operation: 16-14=2
Exploring Operation: 44-16=28, Resulting Numbers: [14, 28]
Generated Node #0,0,1: 14:[14, 28] Operation: 44-16=28
Exploring Operation: 44-14=30, Resulting Numbers: [16, 30]
Generated Node #0,0,2: 14:[16, 30] Operation: 44-14=30
Exploring Operation: 16+14=30, Resulting Numbers: [44, 30]
Generated Node #0,0,3: 14:[44, 30] Operation: 16+14=30
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[14, 28], Operations: ['89-45=44', '44-16=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[89, 16, 14, 45], Operations: []
Exploring Operation: 89-45=44, Resulting Numbers: [16, 14, 44]
Generated Node #0,0: 14:[16, 14, 44] Operation: 89-45=44
Moving to Node #0,0
Current State: 14:[16, 14, 44], Operations: ['89-45=44']
Exploring Operation: 44-16=28, Resulting Numbers: [14, 28]
Generated Node #0,0,1: 14:[14, 28] Operation: 44-16=28
Moving to Node #0,0,1
Current State: 14:[14, 28], Operations: ['89-45=44', '44-16=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
31,
7,
8,
37
] | 90 | [
"37-31=6",
"7+8=15",
"6*15=90"
] | Current State: 90:[31, 7, 8, 37], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [7, 8, 6]
Generated Node #2: [7, 8, 6] from Operation: 37-31=6
Current State: 90:[7, 8, 6], Operations: ['37-31=6']
Exploring Operation: 7+8=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 7+8=15
Current State: 90:[6, 15], Operations: ['37-31=6', '7+8=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[31, 7, 8, 37], Operations: []
Exploring Operation: 8+37=45, Resulting Numbers: [31, 7, 45]
Generated Node #0,0: 90:[31, 7, 45] Operation: 8+37=45
Exploring Operation: 37-31=6, Resulting Numbers: [7, 8, 6]
Generated Node #0,1: 90:[7, 8, 6] Operation: 37-31=6
Exploring Operation: 37-7=30, Resulting Numbers: [31, 8, 30]
Generated Node #0,2: 90:[31, 8, 30] Operation: 37-7=30
Moving to Node #0,0
Current State: 90:[31, 7, 45], Operations: ['8+37=45']
Exploring Operation: 31-7=24, Resulting Numbers: [45, 24]
Generated Node #0,0,0: 90:[45, 24] Operation: 31-7=24
Exploring Operation: 45-31=14, Resulting Numbers: [7, 14]
Generated Node #0,0,1: 90:[7, 14] Operation: 45-31=14
Exploring Operation: 31+7=38, Resulting Numbers: [45, 38]
Generated Node #0,0,2: 90:[45, 38] Operation: 31+7=38
Moving to Node #0,1
Current State: 90:[7, 8, 6], Operations: ['37-31=6']
Exploring Operation: 7+8=15, Resulting Numbers: [6, 15]
Generated Node #0,1,0: 90:[6, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [6, 1]
Generated Node #0,1,1: 90:[6, 1] Operation: 8-7=1
Exploring Operation: 8-6=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 90:[7, 2] Operation: 8-6=2
Moving to Node #0,2
Current State: 90:[31, 8, 30], Operations: ['37-7=30']
Exploring Operation: 31-30=1, Resulting Numbers: [8, 1]
Generated Node #0,2,0: 90:[8, 1] Operation: 31-30=1
Exploring Operation: 30-8=22, Resulting Numbers: [31, 22]
Generated Node #0,2,1: 90:[31, 22] Operation: 30-8=22
Exploring Operation: 31-8=23, Resulting Numbers: [30, 23]
Generated Node #0,2,2: 90:[30, 23] Operation: 31-8=23
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[8, 1], Operations: ['37-7=30', '31-30=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[31, 22], Operations: ['37-7=30', '30-8=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,90 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[30, 23], Operations: ['37-7=30', '31-8=23']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 30*23=690, Resulting Numbers: [690]
690,90 unequal: No Solution
Exploring Operation: 30+23=53, Resulting Numbers: [53]
53,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 90:[6, 15], Operations: ['37-31=6', '7+8=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[31, 7, 8, 37], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [7, 8, 6]
Generated Node #0,1: 90:[7, 8, 6] Operation: 37-31=6
Moving to Node #0,1
Current State: 90:[7, 8, 6], Operations: ['37-31=6']
Exploring Operation: 7+8=15, Resulting Numbers: [6, 15]
Generated Node #0,1,0: 90:[6, 15] Operation: 7+8=15
Moving to Node #0,1,0
Current State: 90:[6, 15], Operations: ['37-31=6', '7+8=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
69,
35,
5,
55
] | 94 | [
"69-35=34",
"5+55=60",
"34+60=94"
] | Current State: 94:[69, 35, 5, 55], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [5, 55, 34]
Generated Node #2: [5, 55, 34] from Operation: 69-35=34
Current State: 94:[5, 55, 34], Operations: ['69-35=34']
Exploring Operation: 5+55=60, Resulting Numbers: [34, 60]
Generated Node #3: [34, 60] from Operation: 5+55=60
Current State: 94:[34, 60], Operations: ['69-35=34', '5+55=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[69, 35, 5, 55], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [69, 55, 7]
Generated Node #0,0: 94:[69, 55, 7] Operation: 35/5=7
Exploring Operation: 69-35=34, Resulting Numbers: [5, 55, 34]
Generated Node #0,1: 94:[5, 55, 34] Operation: 69-35=34
Exploring Operation: 35+55=90, Resulting Numbers: [69, 5, 90]
Generated Node #0,2: 94:[69, 5, 90] Operation: 35+55=90
Exploring Operation: 69-55=14, Resulting Numbers: [35, 5, 14]
Generated Node #0,3: 94:[35, 5, 14] Operation: 69-55=14
Exploring Operation: 69+35=104, Resulting Numbers: [5, 55, 104]
Generated Node #0,4: 94:[5, 55, 104] Operation: 69+35=104
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[5, 55, 104], Operations: ['69+35=104']
Exploring Operation: 55/5=11, Resulting Numbers: [104, 11]
Generated Node #0,4,0: 94:[104, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [104, 50]
Generated Node #0,4,1: 94:[104, 50] Operation: 55-5=50
Exploring Operation: 104-5=99, Resulting Numbers: [55, 99]
Generated Node #0,4,2: 94:[55, 99] Operation: 104-5=99
Exploring Operation: 5+55=60, Resulting Numbers: [104, 60]
Generated Node #0,4,3: 94:[104, 60] Operation: 5+55=60
Exploring Operation: 104-55=49, Resulting Numbers: [5, 49]
Generated Node #0,4,4: 94:[5, 49] Operation: 104-55=49
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 94:[5, 49], Operations: ['69+35=104', '104-55=49']
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,94 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,94 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 94:[104, 50], Operations: ['69+35=104', '55-5=50']
Exploring Operation: 104*50=5200, Resulting Numbers: [5200]
5200,94 unequal: No Solution
Exploring Operation: 104+50=154, Resulting Numbers: [154]
154,94 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[55, 99], Operations: ['69+35=104', '104-5=99']
Exploring Operation: 55*99=5445, Resulting Numbers: [5445]
5445,94 unequal: No Solution
Exploring Operation: 55+99=154, Resulting Numbers: [154]
154,94 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[104, 11], Operations: ['69+35=104', '55/5=11']
Exploring Operation: 104*11=1144, Resulting Numbers: [1144]
1144,94 unequal: No Solution
Exploring Operation: 104-11=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 104+11=115, Resulting Numbers: [115]
115,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 94:[104, 60], Operations: ['69+35=104', '5+55=60']
Exploring Operation: 104*60=6240, Resulting Numbers: [6240]
6240,94 unequal: No Solution
Exploring Operation: 104-60=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 104+60=164, Resulting Numbers: [164]
164,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[5, 55, 34], Operations: ['69-35=34']
Exploring Operation: 55+34=89, Resulting Numbers: [5, 89]
Generated Node #0,1,0: 94:[5, 89] Operation: 55+34=89
Exploring Operation: 55-34=21, Resulting Numbers: [5, 21]
Generated Node #0,1,1: 94:[5, 21] Operation: 55-34=21
Exploring Operation: 5+34=39, Resulting Numbers: [55, 39]
Generated Node #0,1,2: 94:[55, 39] Operation: 5+34=39
Exploring Operation: 55/5=11, Resulting Numbers: [34, 11]
Generated Node #0,1,3: 94:[34, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [34, 50]
Generated Node #0,1,4: 94:[34, 50] Operation: 55-5=50
Moving to Node #0,1,0
Current State: 94:[5, 89], Operations: ['69-35=34', '55+34=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[69, 35, 5, 55], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [5, 55, 34]
Generated Node #0,1: 94:[5, 55, 34] Operation: 69-35=34
Moving to Node #0,1
Current State: 94:[5, 55, 34], Operations: ['69-35=34']
Exploring Operation: 55+34=89, Resulting Numbers: [5, 89]
Generated Node #0,1,0: 94:[5, 89] Operation: 55+34=89
Moving to Node #0,1,0
Current State: 94:[5, 89], Operations: ['69-35=34', '55+34=89']
Exploring Operation: 5+89=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
27,
63,
25,
14
] | 91 | [
"27-25=2",
"14*2=28",
"63+28=91"
] | Current State: 91:[27, 63, 25, 14], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [63, 14, 2]
Generated Node #2: [63, 14, 2] from Operation: 27-25=2
Current State: 91:[63, 14, 2], Operations: ['27-25=2']
Exploring Operation: 14*2=28, Resulting Numbers: [63, 28]
Generated Node #3: [63, 28] from Operation: 14*2=28
Current State: 91:[63, 28], Operations: ['27-25=2', '14*2=28']
Exploring Operation: 63+28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[27, 63, 25, 14], Operations: []
Exploring Operation: 27+63=90, Resulting Numbers: [25, 14, 90]
Generated Node #0,0: 91:[25, 14, 90] Operation: 27+63=90
Exploring Operation: 63+25=88, Resulting Numbers: [27, 14, 88]
Generated Node #0,1: 91:[27, 14, 88] Operation: 63+25=88
Moving to Node #0,0
Current State: 91:[25, 14, 90], Operations: ['27+63=90']
Exploring Operation: 25-14=11, Resulting Numbers: [90, 11]
Generated Node #0,0,0: 91:[90, 11] Operation: 25-14=11
Exploring Operation: 25+90=115, Resulting Numbers: [14, 115]
Generated Node #0,0,1: 91:[14, 115] Operation: 25+90=115
Moving to Node #0,1
Current State: 91:[27, 14, 88], Operations: ['63+25=88']
Exploring Operation: 27-14=13, Resulting Numbers: [88, 13]
Generated Node #0,1,0: 91:[88, 13] Operation: 27-14=13
Exploring Operation: 27+88=115, Resulting Numbers: [14, 115]
Generated Node #0,1,1: 91:[14, 115] Operation: 27+88=115
Moving to Node #0,0,0
Current State: 91:[90, 11], Operations: ['27+63=90', '25-14=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[88, 13], Operations: ['63+25=88', '27-14=13']
Exploring Operation: 88+13=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 88-13=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[14, 115], Operations: ['27+63=90', '25+90=115']
Exploring Operation: 115-14=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 14+115=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[14, 115], Operations: ['63+25=88', '27+88=115']
Exploring Operation: 14+115=129, Resulting Numbers: [129]
129,91 unequal: No Solution
Exploring Operation: 115-14=101, Resulting Numbers: [101]
101,91 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
74,
18,
5,
16
] | 22 | [
"74*5=370",
"370-18=352",
"352/16=22"
] | Current State: 22:[74, 18, 5, 16], Operations: []
Exploring Operation: 74*5=370, Resulting Numbers: [18, 16, 370]
Generated Node #2: [18, 16, 370] from Operation: 74*5=370
Current State: 22:[18, 16, 370], Operations: ['74*5=370']
Exploring Operation: 370-18=352, Resulting Numbers: [16, 352]
Generated Node #3: [16, 352] from Operation: 370-18=352
Current State: 22:[16, 352], Operations: ['74*5=370', '370-18=352']
Exploring Operation: 352/16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[74, 18, 5, 16], Operations: []
Exploring Operation: 74-5=69, Resulting Numbers: [18, 16, 69]
Generated Node #0,0: 22:[18, 16, 69] Operation: 74-5=69
Exploring Operation: 74-18=56, Resulting Numbers: [5, 16, 56]
Generated Node #0,1: 22:[5, 16, 56] Operation: 74-18=56
Exploring Operation: 74-16=58, Resulting Numbers: [18, 5, 58]
Generated Node #0,2: 22:[18, 5, 58] Operation: 74-16=58
Exploring Operation: 18-16=2, Resulting Numbers: [74, 5, 2]
Generated Node #0,3: 22:[74, 5, 2] Operation: 18-16=2
Moving to Node #0,1
Current State: 22:[5, 16, 56], Operations: ['74-18=56']
Exploring Operation: 5+16=21, Resulting Numbers: [56, 21]
Generated Node #0,1,0: 22:[56, 21] Operation: 5+16=21
Exploring Operation: 56-16=40, Resulting Numbers: [5, 40]
Generated Node #0,1,1: 22:[5, 40] Operation: 56-16=40
Exploring Operation: 56-5=51, Resulting Numbers: [16, 51]
Generated Node #0,1,2: 22:[16, 51] Operation: 56-5=51
Exploring Operation: 16-5=11, Resulting Numbers: [56, 11]
Generated Node #0,1,3: 22:[56, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[5, 40], Operations: ['74-18=56', '56-16=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,22 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[16, 51], Operations: ['74-18=56', '56-5=51']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 22:[56, 11], Operations: ['74-18=56', '16-5=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,22 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[56, 21], Operations: ['74-18=56', '5+16=21']
Exploring Operation: 56*21=1176, Resulting Numbers: [1176]
1176,22 unequal: No Solution
Exploring Operation: 56-21=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,22 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: 22:[18, 5, 58], Operations: ['74-16=58']
Exploring Operation: 58-5=53, Resulting Numbers: [18, 53]
Generated Node #0,2,0: 22:[18, 53] Operation: 58-5=53
Exploring Operation: 18-5=13, Resulting Numbers: [58, 13]
Generated Node #0,2,1: 22:[58, 13] Operation: 18-5=13
Exploring Operation: 58-18=40, Resulting Numbers: [5, 40]
Generated Node #0,2,2: 22:[5, 40] Operation: 58-18=40
Exploring Operation: 18+5=23, Resulting Numbers: [58, 23]
Generated Node #0,2,3: 22:[58, 23] Operation: 18+5=23
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 22:[5, 40], Operations: ['74-16=58', '58-18=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[18, 53], Operations: ['74-16=58', '58-5=53']
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 22:[58, 23], Operations: ['74-16=58', '18+5=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 22:[58, 13], Operations: ['74-16=58', '18-5=13']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,22 unequal: No Solution
Exploring Operation: 58+13=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 58*13=754, Resulting Numbers: [754]
754,22 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: 22:[74, 5, 2], Operations: ['18-16=2']
Exploring Operation: 74-2=72, Resulting Numbers: [5, 72]
Generated Node #0,3,0: 22:[5, 72] Operation: 74-2=72
Exploring Operation: 5*2=10, Resulting Numbers: [74, 10]
Generated Node #0,3,1: 22:[74, 10] Operation: 5*2=10
Exploring Operation: 74-5=69, Resulting Numbers: [2, 69]
Generated Node #0,3,2: 22:[2, 69] Operation: 74-5=69
Exploring Operation: 74/2=37, Resulting Numbers: [5, 37]
Generated Node #0,3,3: 22:[5, 37] Operation: 74/2=37
Moving to Node #0,0
Current State: 22:[18, 16, 69], Operations: ['74-5=69']
Exploring Operation: 18-16=2, Resulting Numbers: [69, 2]
Generated Node #0,0,0: 22:[69, 2] Operation: 18-16=2
Exploring Operation: 18+16=34, Resulting Numbers: [69, 34]
Generated Node #0,0,1: 22:[69, 34] Operation: 18+16=34
Exploring Operation: 69-16=53, Resulting Numbers: [18, 53]
Generated Node #0,0,2: 22:[18, 53] Operation: 69-16=53
Exploring Operation: 69-18=51, Resulting Numbers: [16, 51]
Generated Node #0,0,3: 22:[16, 51] Operation: 69-18=51
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 22:[16, 51], Operations: ['74-5=69', '69-18=51']
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,22 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[18, 53], Operations: ['74-5=69', '69-16=53']
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,22 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,22 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[69, 2], Operations: ['74-5=69', '18-16=2']
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,22 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[69, 34], Operations: ['74-5=69', '18+16=34']
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,22 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 22:[5, 37], Operations: ['18-16=2', '74/2=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,22 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,22 unequal: No Solution
Moving to Node #0,3,2
Current State: 22:[2, 69], Operations: ['18-16=2', '74-5=69']
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[74, 10], Operations: ['18-16=2', '5*2=10']
Exploring Operation: 74+10=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 74*10=740, Resulting Numbers: [740]
740,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[5, 72], Operations: ['18-16=2', '74-2=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,22 unequal: No Solution
Exploring Operation: 5*72=360, Resulting Numbers: [360]
360,22 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
51,
35,
17,
19
] | 88 | [
"51+35=86",
"19-17=2",
"86+2=88"
] | Current State: 88:[51, 35, 17, 19], Operations: []
Exploring Operation: 51+35=86, Resulting Numbers: [17, 19, 86]
Generated Node #2: [17, 19, 86] from Operation: 51+35=86
Current State: 88:[17, 19, 86], Operations: ['51+35=86']
Exploring Operation: 19-17=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 19-17=2
Current State: 88:[86, 2], Operations: ['51+35=86', '19-17=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[51, 35, 17, 19], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [35, 19, 3]
Generated Node #0,0: 88:[35, 19, 3] Operation: 51/17=3
Exploring Operation: 51+35=86, Resulting Numbers: [17, 19, 86]
Generated Node #0,1: 88:[17, 19, 86] Operation: 51+35=86
Exploring Operation: 51-35=16, Resulting Numbers: [17, 19, 16]
Generated Node #0,2: 88:[17, 19, 16] Operation: 51-35=16
Moving to Node #0,1
Current State: 88:[17, 19, 86], Operations: ['51+35=86']
Exploring Operation: 19-17=2, Resulting Numbers: [86, 2]
Generated Node #0,1,0: 88:[86, 2] Operation: 19-17=2
Exploring Operation: 17+86=103, Resulting Numbers: [19, 103]
Generated Node #0,1,1: 88:[19, 103] Operation: 17+86=103
Exploring Operation: 17+19=36, Resulting Numbers: [86, 36]
Generated Node #0,1,2: 88:[86, 36] Operation: 17+19=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[86, 2], Operations: ['51+35=86', '19-17=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[51, 35, 17, 19], Operations: []
Exploring Operation: 51+35=86, Resulting Numbers: [17, 19, 86]
Generated Node #0,1: 88:[17, 19, 86] Operation: 51+35=86
Moving to Node #0,1
Current State: 88:[17, 19, 86], Operations: ['51+35=86']
Exploring Operation: 19-17=2, Resulting Numbers: [86, 2]
Generated Node #0,1,0: 88:[86, 2] Operation: 19-17=2
Moving to Node #0,1,0
Current State: 88:[86, 2], Operations: ['51+35=86', '19-17=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
80,
82,
28,
23
] | 49 | [
"82-80=2",
"28+23=51",
"51-2=49"
] | Current State: 49:[80, 82, 28, 23], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [28, 23, 2]
Generated Node #2: [28, 23, 2] from Operation: 82-80=2
Current State: 49:[28, 23, 2], Operations: ['82-80=2']
Exploring Operation: 28+23=51, Resulting Numbers: [2, 51]
Generated Node #3: [2, 51] from Operation: 28+23=51
Current State: 49:[2, 51], Operations: ['82-80=2', '28+23=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[80, 82, 28, 23], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [28, 23, 2]
Generated Node #0,0: 49:[28, 23, 2] Operation: 82-80=2
Exploring Operation: 80-23=57, Resulting Numbers: [82, 28, 57]
Generated Node #0,1: 49:[82, 28, 57] Operation: 80-23=57
Exploring Operation: 82-23=59, Resulting Numbers: [80, 28, 59]
Generated Node #0,2: 49:[80, 28, 59] Operation: 82-23=59
Exploring Operation: 80-28=52, Resulting Numbers: [82, 23, 52]
Generated Node #0,3: 49:[82, 23, 52] Operation: 80-28=52
Exploring Operation: 82-28=54, Resulting Numbers: [80, 23, 54]
Generated Node #0,4: 49:[80, 23, 54] Operation: 82-28=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[28, 23, 2], Operations: ['82-80=2']
Exploring Operation: 28-23=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 49:[2, 5] Operation: 28-23=5
Exploring Operation: 28/2=14, Resulting Numbers: [23, 14]
Generated Node #0,0,1: 49:[23, 14] Operation: 28/2=14
Exploring Operation: 28*2=56, Resulting Numbers: [23, 56]
Generated Node #0,0,2: 49:[23, 56] Operation: 28*2=56
Exploring Operation: 28+23=51, Resulting Numbers: [2, 51]
Generated Node #0,0,3: 49:[2, 51] Operation: 28+23=51
Exploring Operation: 23*2=46, Resulting Numbers: [28, 46]
Generated Node #0,0,4: 49:[28, 46] Operation: 23*2=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[2, 5], Operations: ['82-80=2', '28-23=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,49 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,49 unequal: No Solution
No 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: 49:[2, 51], Operations: ['82-80=2', '28+23=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[80, 82, 28, 23], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [28, 23, 2]
Generated Node #0,0: 49:[28, 23, 2] Operation: 82-80=2
Moving to Node #0,0
Current State: 49:[28, 23, 2], Operations: ['82-80=2']
Exploring Operation: 28+23=51, Resulting Numbers: [2, 51]
Generated Node #0,0,3: 49:[2, 51] Operation: 28+23=51
Moving to Node #0,0,3
Current State: 49:[2, 51], Operations: ['82-80=2', '28+23=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
83,
23,
9,
9
] | 88 | [
"83+23=106",
"9+9=18",
"106-18=88"
] | Current State: 88:[83, 23, 9, 9], Operations: []
Exploring Operation: 83+23=106, Resulting Numbers: [9, 9, 106]
Generated Node #2: [9, 9, 106] from Operation: 83+23=106
Current State: 88:[9, 9, 106], Operations: ['83+23=106']
Exploring Operation: 9+9=18, Resulting Numbers: [106, 18]
Generated Node #3: [106, 18] from Operation: 9+9=18
Current State: 88:[106, 18], Operations: ['83+23=106', '9+9=18']
Exploring Operation: 106-18=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[83, 23, 9, 9], Operations: []
Exploring Operation: 9-9=0, Resulting Numbers: [83, 23, 0]
Generated Node #0,0: 88:[83, 23, 0] Operation: 9-9=0
Exploring Operation: 83+9=92, Resulting Numbers: [23, 9, 92]
Generated Node #0,1: 88:[23, 9, 92] Operation: 83+9=92
Exploring Operation: 9/9=1, Resulting Numbers: [83, 23, 1]
Generated Node #0,2: 88:[83, 23, 1] Operation: 9/9=1
Exploring Operation: 83+9=92, Resulting Numbers: [23, 9, 92]
Generated Node #0,3: 88:[23, 9, 92] Operation: 83+9=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[23, 9, 92], Operations: ['83+9=92']
Exploring Operation: 23-9=14, Resulting Numbers: [92, 14]
Generated Node #0,1,0: 88:[92, 14] Operation: 23-9=14
Exploring Operation: 92-9=83, Resulting Numbers: [23, 83]
Generated Node #0,1,1: 88:[23, 83] Operation: 92-9=83
Exploring Operation: 23+9=32, Resulting Numbers: [92, 32]
Generated Node #0,1,2: 88:[92, 32] Operation: 23+9=32
Exploring Operation: 92/23=4, Resulting Numbers: [9, 4]
Generated Node #0,1,3: 88:[9, 4] Operation: 92/23=4
Moving to Node #0,1,3
Current State: 88:[9, 4], Operations: ['83+9=92', '92/23=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[23, 83], Operations: ['83+9=92', '92-9=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[92, 14], Operations: ['83+9=92', '23-9=14']
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[92, 32], Operations: ['83+9=92', '23+9=32']
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,88 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,88 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 88:[23, 9, 92], Operations: ['83+9=92']
Exploring Operation: 23-9=14, Resulting Numbers: [92, 14]
Generated Node #0,3,0: 88:[92, 14] Operation: 23-9=14
Exploring Operation: 23+9=32, Resulting Numbers: [92, 32]
Generated Node #0,3,1: 88:[92, 32] Operation: 23+9=32
Exploring Operation: 92-9=83, Resulting Numbers: [23, 83]
Generated Node #0,3,2: 88:[23, 83] Operation: 92-9=83
Exploring Operation: 92/23=4, Resulting Numbers: [9, 4]
Generated Node #0,3,3: 88:[9, 4] Operation: 92/23=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 88:[9, 4], Operations: ['83+9=92', '92/23=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,88 unequal: No Solution
No 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: 88:[23, 83], Operations: ['83+9=92', '92-9=83']
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No 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: 88:[92, 14], Operations: ['83+9=92', '23-9=14']
Exploring Operation: 92*14=1288, Resulting Numbers: [1288]
1288,88 unequal: No Solution
Exploring Operation: 92+14=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,88 unequal: No Solution
No 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: 88:[92, 32], Operations: ['83+9=92', '23+9=32']
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,88 unequal: No Solution
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,88 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,88 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: 88:[83, 23, 1], Operations: ['9/9=1']
Exploring Operation: 83*1=83, Resulting Numbers: [23, 83]
Generated Node #0,2,0: 88:[23, 83] Operation: 83*1=83
Exploring Operation: 83/1=83, Resulting Numbers: [23, 83]
Generated Node #0,2,1: 88:[23, 83] Operation: 83/1=83
Exploring Operation: 23-1=22, Resulting Numbers: [83, 22]
Generated Node #0,2,2: 88:[83, 22] Operation: 23-1=22
Exploring Operation: 83+1=84, Resulting Numbers: [23, 84]
Generated Node #0,2,3: 88:[23, 84] Operation: 83+1=84
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[83, 22], Operations: ['9/9=1', '23-1=22']
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,88 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,88 unequal: No Solution
No 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: 88:[23, 84], Operations: ['9/9=1', '83+1=84']
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,88 unequal: No Solution
Exploring Operation: 23*84=1932, Resulting Numbers: [1932]
1932,88 unequal: No Solution
Exploring Operation: 23+84=107, Resulting Numbers: [107]
107,88 unequal: No Solution
No 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: 88:[23, 83], Operations: ['9/9=1', '83*1=83']
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
No 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: 88:[23, 83], Operations: ['9/9=1', '83/1=83']
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 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: 88:[83, 23, 0], Operations: ['9-9=0']
Exploring Operation: 23+0=23, Resulting Numbers: [83, 23]
Generated Node #0,0,0: 88:[83, 23] Operation: 23+0=23
Exploring Operation: 83*0=0, Resulting Numbers: [23, 0]
Generated Node #0,0,1: 88:[23, 0] Operation: 83*0=0
Exploring Operation: 83-0=83, Resulting Numbers: [23, 83]
Generated Node #0,0,2: 88:[23, 83] Operation: 83-0=83
Exploring Operation: 83+0=83, Resulting Numbers: [23, 83]
Generated Node #0,0,3: 88:[23, 83] Operation: 83+0=83
Moving to Node #0,0,1
Current State: 88:[23, 0], Operations: ['9-9=0', '83*0=0']
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[23, 83], Operations: ['9-9=0', '83-0=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[83, 23], Operations: ['9-9=0', '23+0=23']
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[23, 83], Operations: ['9-9=0', '83+0=83']
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,88 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,88 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
67,
22,
10,
27
] | 52 | [
"67+22=89",
"10+27=37",
"89-37=52"
] | Current State: 52:[67, 22, 10, 27], Operations: []
Exploring Operation: 67+22=89, Resulting Numbers: [10, 27, 89]
Generated Node #2: [10, 27, 89] from Operation: 67+22=89
Current State: 52:[10, 27, 89], Operations: ['67+22=89']
Exploring Operation: 10+27=37, Resulting Numbers: [89, 37]
Generated Node #3: [89, 37] from Operation: 10+27=37
Current State: 52:[89, 37], Operations: ['67+22=89', '10+27=37']
Exploring Operation: 89-37=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[67, 22, 10, 27], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [22, 10, 40]
Generated Node #0,0: 52:[22, 10, 40] Operation: 67-27=40
Exploring Operation: 27-22=5, Resulting Numbers: [67, 10, 5]
Generated Node #0,1: 52:[67, 10, 5] Operation: 27-22=5
Exploring Operation: 67-10=57, Resulting Numbers: [22, 27, 57]
Generated Node #0,2: 52:[22, 27, 57] Operation: 67-10=57
Exploring Operation: 67-22=45, Resulting Numbers: [10, 27, 45]
Generated Node #0,3: 52:[10, 27, 45] Operation: 67-22=45
Exploring Operation: 22-10=12, Resulting Numbers: [67, 27, 12]
Generated Node #0,4: 52:[67, 27, 12] Operation: 22-10=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[22, 27, 57], Operations: ['67-10=57']
Exploring Operation: 57-27=30, Resulting Numbers: [22, 30]
Generated Node #0,2,0: 52:[22, 30] Operation: 57-27=30
Exploring Operation: 22+27=49, Resulting Numbers: [57, 49]
Generated Node #0,2,1: 52:[57, 49] Operation: 22+27=49
Exploring Operation: 57-22=35, Resulting Numbers: [27, 35]
Generated Node #0,2,2: 52:[27, 35] Operation: 57-22=35
Exploring Operation: 27-22=5, Resulting Numbers: [57, 5]
Generated Node #0,2,3: 52:[57, 5] Operation: 27-22=5
Exploring Operation: 22+57=79, Resulting Numbers: [27, 79]
Generated Node #0,2,4: 52:[27, 79] Operation: 22+57=79
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[57, 5], Operations: ['67-10=57', '27-22=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,52 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[67, 22, 10, 27], Operations: []
Exploring Operation: 67-10=57, Resulting Numbers: [22, 27, 57]
Generated Node #0,2: 52:[22, 27, 57] Operation: 67-10=57
Moving to Node #0,2
Current State: 52:[22, 27, 57], Operations: ['67-10=57']
Exploring Operation: 27-22=5, Resulting Numbers: [57, 5]
Generated Node #0,2,3: 52:[57, 5] Operation: 27-22=5
Moving to Node #0,2,3
Current State: 52:[57, 5], Operations: ['67-10=57', '27-22=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
44,
26,
40,
2
] | 74 | [
"44*2=88",
"40-26=14",
"88-14=74"
] | Current State: 74:[44, 26, 40, 2], Operations: []
Exploring Operation: 44*2=88, Resulting Numbers: [26, 40, 88]
Generated Node #2: [26, 40, 88] from Operation: 44*2=88
Current State: 74:[26, 40, 88], Operations: ['44*2=88']
Exploring Operation: 40-26=14, Resulting Numbers: [88, 14]
Generated Node #3: [88, 14] from Operation: 40-26=14
Current State: 74:[88, 14], Operations: ['44*2=88', '40-26=14']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[44, 26, 40, 2], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [26, 2, 4]
Generated Node #0,0: 74:[26, 2, 4] Operation: 44-40=4
Exploring Operation: 44-2=42, Resulting Numbers: [26, 40, 42]
Generated Node #0,1: 74:[26, 40, 42] Operation: 44-2=42
Exploring Operation: 44+26=70, Resulting Numbers: [40, 2, 70]
Generated Node #0,2: 74:[40, 2, 70] Operation: 44+26=70
Exploring Operation: 26+40=66, Resulting Numbers: [44, 2, 66]
Generated Node #0,3: 74:[44, 2, 66] Operation: 26+40=66
Exploring Operation: 44-26=18, Resulting Numbers: [40, 2, 18]
Generated Node #0,4: 74:[40, 2, 18] Operation: 44-26=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[40, 2, 70], Operations: ['44+26=70']
Exploring Operation: 40+2=42, Resulting Numbers: [70, 42]
Generated Node #0,2,0: 74:[70, 42] Operation: 40+2=42
Exploring Operation: 70/2=35, Resulting Numbers: [40, 35]
Generated Node #0,2,1: 74:[40, 35] Operation: 70/2=35
Exploring Operation: 40-2=38, Resulting Numbers: [70, 38]
Generated Node #0,2,2: 74:[70, 38] Operation: 40-2=38
Exploring Operation: 2+70=72, Resulting Numbers: [40, 72]
Generated Node #0,2,3: 74:[40, 72] Operation: 2+70=72
Exploring Operation: 70-40=30, Resulting Numbers: [2, 30]
Generated Node #0,2,4: 74:[2, 30] Operation: 70-40=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[40, 35], Operations: ['44+26=70', '70/2=35']
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,74 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,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,2,2
Current State: 74:[70, 38], Operations: ['44+26=70', '40-2=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,74 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,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,2,3
Current State: 74:[40, 72], Operations: ['44+26=70', '2+70=72']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,74 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,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,2,4
Current State: 74:[2, 30], Operations: ['44+26=70', '70-40=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,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,2,0
Current State: 74:[70, 42], Operations: ['44+26=70', '40+2=42']
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,74 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,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,0
Current State: 74:[26, 2, 4], Operations: ['44-40=4']
Exploring Operation: 4/2=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 74:[26, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [26, 2]
Generated Node #0,0,1: 74:[26, 2] Operation: 4-2=2
Exploring Operation: 26/2=13, Resulting Numbers: [4, 13]
Generated Node #0,0,2: 74:[4, 13] Operation: 26/2=13
Exploring Operation: 26+2=28, Resulting Numbers: [4, 28]
Generated Node #0,0,3: 74:[4, 28] Operation: 26+2=28
Exploring Operation: 26+4=30, Resulting Numbers: [2, 30]
Generated Node #0,0,4: 74:[2, 30] Operation: 26+4=30
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 74:[2, 30], Operations: ['44-40=4', '26+4=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,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:[26, 2], Operations: ['44-40=4', '4/2=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,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:[26, 2], Operations: ['44-40=4', '4-2=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,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,3
Current State: 74:[4, 28], Operations: ['44-40=4', '26+2=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,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:[4, 13], Operations: ['44-40=4', '26/2=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,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,3
Current State: 74:[44, 2, 66], Operations: ['26+40=66']
Exploring Operation: 44-2=42, Resulting Numbers: [66, 42]
Generated Node #0,3,0: 74:[66, 42] Operation: 44-2=42
Exploring Operation: 66-44=22, Resulting Numbers: [2, 22]
Generated Node #0,3,1: 74:[2, 22] Operation: 66-44=22
Exploring Operation: 44+2=46, Resulting Numbers: [66, 46]
Generated Node #0,3,2: 74:[66, 46] Operation: 44+2=46
Exploring Operation: 2+66=68, Resulting Numbers: [44, 68]
Generated Node #0,3,3: 74:[44, 68] Operation: 2+66=68
Exploring Operation: 66/2=33, Resulting Numbers: [44, 33]
Generated Node #0,3,4: 74:[44, 33] Operation: 66/2=33
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[44, 33], Operations: ['26+40=66', '66/2=33']
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,74 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[66, 42], Operations: ['26+40=66', '44-2=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,74 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,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:[44, 68], Operations: ['26+40=66', '2+66=68']
Exploring Operation: 44*68=2992, Resulting Numbers: [2992]
2992,74 unequal: No Solution
Exploring Operation: 44+68=112, Resulting Numbers: [112]
112,74 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,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:[2, 22], Operations: ['26+40=66', '66-44=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[66, 46], Operations: ['26+40=66', '44+2=46']
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,74 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,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:[26, 40, 42], Operations: ['44-2=42']
Exploring Operation: 26+40=66, Resulting Numbers: [42, 66]
Generated Node #0,1,0: 74:[42, 66] Operation: 26+40=66
Exploring Operation: 40-26=14, Resulting Numbers: [42, 14]
Generated Node #0,1,1: 74:[42, 14] Operation: 40-26=14
Exploring Operation: 26+42=68, Resulting Numbers: [40, 68]
Generated Node #0,1,2: 74:[40, 68] Operation: 26+42=68
Exploring Operation: 42-40=2, Resulting Numbers: [26, 2]
Generated Node #0,1,3: 74:[26, 2] Operation: 42-40=2
Exploring Operation: 42-26=16, Resulting Numbers: [40, 16]
Generated Node #0,1,4: 74:[40, 16] Operation: 42-26=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[40, 68], Operations: ['44-2=42', '26+42=68']
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,74 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,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:[26, 2], Operations: ['44-2=42', '42-40=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,74 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,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:[42, 66], Operations: ['44-2=42', '26+40=66']
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,74 unequal: No Solution
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,74 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,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:[42, 14], Operations: ['44-2=42', '40-26=14']
Exploring Operation: 42*14=588, Resulting Numbers: [588]
588,74 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,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:[40, 16], Operations: ['44-2=42', '42-26=16']
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,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:[40, 2, 18], Operations: ['44-26=18']
Exploring Operation: 40-18=22, Resulting Numbers: [2, 22]
Generated Node #0,4,0: 74:[2, 22] Operation: 40-18=22
Exploring Operation: 18/2=9, Resulting Numbers: [40, 9]
Generated Node #0,4,1: 74:[40, 9] Operation: 18/2=9
Exploring Operation: 2*18=36, Resulting Numbers: [40, 36]
Generated Node #0,4,2: 74:[40, 36] Operation: 2*18=36
Exploring Operation: 40-2=38, Resulting Numbers: [18, 38]
Generated Node #0,4,3: 74:[18, 38] Operation: 40-2=38
Exploring Operation: 40+18=58, Resulting Numbers: [2, 58]
Generated Node #0,4,4: 74:[2, 58] Operation: 40+18=58
Moving to Node #0,4,2
Current State: 74:[40, 36], Operations: ['44-26=18', '2*18=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[40, 9], Operations: ['44-26=18', '18/2=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 40*9=360, Resulting Numbers: [360]
360,74 unequal: No Solution
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[2, 22], Operations: ['44-26=18', '40-18=22']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[2, 58], Operations: ['44-26=18', '40+18=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,74 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[18, 38], Operations: ['44-26=18', '40-2=38']
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,74 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,74 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
98,
1,
98,
52
] | 52 | [
"98+1=99",
"99-98=1",
"52*1=52"
] | Current State: 52:[98, 1, 98, 52], Operations: []
Exploring Operation: 98+1=99, Resulting Numbers: [52, 99]
Generated Node #2: [52, 99] from Operation: 98+1=99
Current State: 52:[52, 99], Operations: ['98+1=99']
Exploring Operation: 99-98=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 99-98=1
Current State: 52:[52, 1], Operations: ['98+1=99', '99-98=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[98, 1, 98, 52], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [1, 52, 1]
Generated Node #0,0: 52:[1, 52, 1] Operation: 98/98=1
Exploring Operation: 98-52=46, Resulting Numbers: [1, 98, 46]
Generated Node #0,1: 52:[1, 98, 46] Operation: 98-52=46
Exploring Operation: 98-52=46, Resulting Numbers: [98, 1, 46]
Generated Node #0,2: 52:[98, 1, 46] Operation: 98-52=46
Exploring Operation: 98-98=0, Resulting Numbers: [1, 52, 0]
Generated Node #0,3: 52:[1, 52, 0] Operation: 98-98=0
Moving to Node #0,0
Current State: 52:[1, 52, 1], Operations: ['98/98=1']
Exploring Operation: 1*52=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 52:[1, 52] Operation: 1*52=52
Exploring Operation: 1*1=1, Resulting Numbers: [52, 1]
Generated Node #0,0,1: 52:[52, 1] Operation: 1*1=1
Exploring Operation: 1+1=2, Resulting Numbers: [52, 2]
Generated Node #0,0,2: 52:[52, 2] Operation: 1+1=2
Exploring Operation: 52/1=52, Resulting Numbers: [1, 52]
Generated Node #0,0,3: 52:[1, 52] Operation: 52/1=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[52, 2], Operations: ['98/98=1', '1+1=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,52 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[1, 52], Operations: ['98/98=1', '1*52=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[98, 1, 98, 52], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [1, 52, 1]
Generated Node #0,0: 52:[1, 52, 1] Operation: 98/98=1
Moving to Node #0,0
Current State: 52:[1, 52, 1], Operations: ['98/98=1']
Exploring Operation: 1*52=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 52:[1, 52] Operation: 1*52=52
Moving to Node #0,0,0
Current State: 52:[1, 52], Operations: ['98/98=1', '1*52=52']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
5,
65,
95,
79
] | 86 | [
"5+65=70",
"95-79=16",
"70+16=86"
] | Current State: 86:[5, 65, 95, 79], Operations: []
Exploring Operation: 5+65=70, Resulting Numbers: [95, 79, 70]
Generated Node #2: [95, 79, 70] from Operation: 5+65=70
Current State: 86:[95, 79, 70], Operations: ['5+65=70']
Exploring Operation: 95-79=16, Resulting Numbers: [70, 16]
Generated Node #3: [70, 16] from Operation: 95-79=16
Current State: 86:[70, 16], Operations: ['5+65=70', '95-79=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[5, 65, 95, 79], Operations: []
Exploring Operation: 65/5=13, Resulting Numbers: [95, 79, 13]
Generated Node #0,0: 86:[95, 79, 13] Operation: 65/5=13
Exploring Operation: 79-65=14, Resulting Numbers: [5, 95, 14]
Generated Node #0,1: 86:[5, 95, 14] Operation: 79-65=14
Exploring Operation: 95-65=30, Resulting Numbers: [5, 79, 30]
Generated Node #0,2: 86:[5, 79, 30] Operation: 95-65=30
Exploring Operation: 5+65=70, Resulting Numbers: [95, 79, 70]
Generated Node #0,3: 86:[95, 79, 70] Operation: 5+65=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[5, 79, 30], Operations: ['95-65=30']
Exploring Operation: 30/5=6, Resulting Numbers: [79, 6]
Generated Node #0,2,0: 86:[79, 6] Operation: 30/5=6
Exploring Operation: 5+30=35, Resulting Numbers: [79, 35]
Generated Node #0,2,1: 86:[79, 35] Operation: 5+30=35
Exploring Operation: 5+79=84, Resulting Numbers: [30, 84]
Generated Node #0,2,2: 86:[30, 84] Operation: 5+79=84
Exploring Operation: 79-30=49, Resulting Numbers: [5, 49]
Generated Node #0,2,3: 86:[5, 49] Operation: 79-30=49
Moving to Node #0,2,3
Current State: 86:[5, 49], Operations: ['95-65=30', '79-30=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[79, 6], Operations: ['95-65=30', '30/5=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[30, 84], Operations: ['95-65=30', '5+79=84']
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,86 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[79, 35], Operations: ['95-65=30', '5+30=35']
Exploring Operation: 79+35=114, Resulting Numbers: [114]
114,86 unequal: No Solution
Exploring Operation: 79-35=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 79*35=2765, Resulting Numbers: [2765]
2765,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[5, 95, 14], Operations: ['79-65=14']
Exploring Operation: 95-14=81, Resulting Numbers: [5, 81]
Generated Node #0,1,0: 86:[5, 81] Operation: 95-14=81
Exploring Operation: 5*14=70, Resulting Numbers: [95, 70]
Generated Node #0,1,1: 86:[95, 70] Operation: 5*14=70
Exploring Operation: 95-5=90, Resulting Numbers: [14, 90]
Generated Node #0,1,2: 86:[14, 90] Operation: 95-5=90
Exploring Operation: 14-5=9, Resulting Numbers: [95, 9]
Generated Node #0,1,3: 86:[95, 9] Operation: 14-5=9
Moving to Node #0,1,0
Current State: 86:[5, 81], Operations: ['79-65=14', '95-14=81']
Exploring Operation: 5*81=405, Resulting Numbers: [405]
405,86 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[5, 65, 95, 79], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [5, 95, 14]
Generated Node #0,1: 86:[5, 95, 14] Operation: 79-65=14
Moving to Node #0,1
Current State: 86:[5, 95, 14], Operations: ['79-65=14']
Exploring Operation: 95-14=81, Resulting Numbers: [5, 81]
Generated Node #0,1,0: 86:[5, 81] Operation: 95-14=81
Moving to Node #0,1,0
Current State: 86:[5, 81], Operations: ['79-65=14', '95-14=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
66,
51,
73,
75
] | 17 | [
"66-51=15",
"75-73=2",
"15+2=17"
] | Current State: 17:[66, 51, 73, 75], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [73, 75, 15]
Generated Node #2: [73, 75, 15] from Operation: 66-51=15
Current State: 17:[73, 75, 15], Operations: ['66-51=15']
Exploring Operation: 75-73=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 75-73=2
Current State: 17:[15, 2], Operations: ['66-51=15', '75-73=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[66, 51, 73, 75], Operations: []
Exploring Operation: 75-66=9, Resulting Numbers: [51, 73, 9]
Generated Node #0,0: 17:[51, 73, 9] Operation: 75-66=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[51, 73, 9], Operations: ['75-66=9']
Exploring Operation: 73-51=22, Resulting Numbers: [9, 22]
Generated Node #0,0,0: 17:[9, 22] Operation: 73-51=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[9, 22], Operations: ['75-66=9', '73-51=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
95,
99,
36
] | 16 | [
"24+95=119",
"99+36=135",
"135-119=16"
] | Current State: 16:[24, 95, 99, 36], Operations: []
Exploring Operation: 24+95=119, Resulting Numbers: [99, 36, 119]
Generated Node #2: [99, 36, 119] from Operation: 24+95=119
Current State: 16:[99, 36, 119], Operations: ['24+95=119']
Exploring Operation: 99+36=135, Resulting Numbers: [119, 135]
Generated Node #3: [119, 135] from Operation: 99+36=135
Current State: 16:[119, 135], Operations: ['24+95=119', '99+36=135']
Exploring Operation: 135-119=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[24, 95, 99, 36], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [24, 95, 63]
Generated Node #0,0: 16:[24, 95, 63] Operation: 99-36=63
Exploring Operation: 99-95=4, Resulting Numbers: [24, 36, 4]
Generated Node #0,1: 16:[24, 36, 4] Operation: 99-95=4
Exploring Operation: 95-36=59, Resulting Numbers: [24, 99, 59]
Generated Node #0,2: 16:[24, 99, 59] Operation: 95-36=59
Moving to Node #0,1
Current State: 16:[24, 36, 4], Operations: ['99-95=4']
Exploring Operation: 36/4=9, Resulting Numbers: [24, 9]
Generated Node #0,1,0: 16:[24, 9] Operation: 36/4=9
Exploring Operation: 24/4=6, Resulting Numbers: [36, 6]
Generated Node #0,1,1: 16:[36, 6] Operation: 24/4=6
Exploring Operation: 36-24=12, Resulting Numbers: [4, 12]
Generated Node #0,1,2: 16:[4, 12] Operation: 36-24=12
Moving to Node #0,0
Current State: 16:[24, 95, 63], Operations: ['99-36=63']
Exploring Operation: 95-24=71, Resulting Numbers: [63, 71]
Generated Node #0,0,0: 16:[63, 71] Operation: 95-24=71
Exploring Operation: 95-63=32, Resulting Numbers: [24, 32]
Generated Node #0,0,1: 16:[24, 32] Operation: 95-63=32
Exploring Operation: 63-24=39, Resulting Numbers: [95, 39]
Generated Node #0,0,2: 16:[95, 39] Operation: 63-24=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[24, 32], Operations: ['99-36=63', '95-63=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,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,0,0
Current State: 16:[63, 71], Operations: ['99-36=63', '95-24=71']
Exploring Operation: 63*71=4473, Resulting Numbers: [4473]
4473,16 unequal: No Solution
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 63+71=134, Resulting Numbers: [134]
134,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,0,2
Current State: 16:[95, 39], Operations: ['99-36=63', '63-24=39']
Exploring Operation: 95+39=134, Resulting Numbers: [134]
134,16 unequal: No Solution
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 95*39=3705, Resulting Numbers: [3705]
3705,16 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: 16:[24, 99, 59], Operations: ['95-36=59']
Exploring Operation: 99-59=40, Resulting Numbers: [24, 40]
Generated Node #0,2,0: 16:[24, 40] Operation: 99-59=40
Exploring Operation: 99-24=75, Resulting Numbers: [59, 75]
Generated Node #0,2,1: 16:[59, 75] Operation: 99-24=75
Exploring Operation: 59-24=35, Resulting Numbers: [99, 35]
Generated Node #0,2,2: 16:[99, 35] Operation: 59-24=35
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[24, 40], Operations: ['95-36=59', '99-59=40']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[24, 95, 99, 36], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [24, 99, 59]
Generated Node #0,2: 16:[24, 99, 59] Operation: 95-36=59
Moving to Node #0,2
Current State: 16:[24, 99, 59], Operations: ['95-36=59']
Exploring Operation: 99-59=40, Resulting Numbers: [24, 40]
Generated Node #0,2,0: 16:[24, 40] Operation: 99-59=40
Moving to Node #0,2,0
Current State: 16:[24, 40], Operations: ['95-36=59', '99-59=40']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
46,
80,
52,
8
] | 40 | [
"52-46=6",
"8-6=2",
"80/2=40"
] | Current State: 40:[46, 80, 52, 8], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [80, 8, 6]
Generated Node #2: [80, 8, 6] from Operation: 52-46=6
Current State: 40:[80, 8, 6], Operations: ['52-46=6']
Exploring Operation: 8-6=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 8-6=2
Current State: 40:[80, 2], Operations: ['52-46=6', '8-6=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[46, 80, 52, 8], Operations: []
Exploring Operation: 80-46=34, Resulting Numbers: [52, 8, 34]
Generated Node #0,0: 40:[52, 8, 34] Operation: 80-46=34
Exploring Operation: 80-52=28, Resulting Numbers: [46, 8, 28]
Generated Node #0,1: 40:[46, 8, 28] Operation: 80-52=28
Exploring Operation: 80/8=10, Resulting Numbers: [46, 52, 10]
Generated Node #0,2: 40:[46, 52, 10] Operation: 80/8=10
Exploring Operation: 80-8=72, Resulting Numbers: [46, 52, 72]
Generated Node #0,3: 40:[46, 52, 72] Operation: 80-8=72
Exploring Operation: 52-46=6, Resulting Numbers: [80, 8, 6]
Generated Node #0,4: 40:[80, 8, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[46, 8, 28], Operations: ['80-52=28']
Exploring Operation: 46+8=54, Resulting Numbers: [28, 54]
Generated Node #0,1,0: 40:[28, 54] Operation: 46+8=54
Exploring Operation: 28-8=20, Resulting Numbers: [46, 20]
Generated Node #0,1,1: 40:[46, 20] Operation: 28-8=20
Exploring Operation: 46-28=18, Resulting Numbers: [8, 18]
Generated Node #0,1,2: 40:[8, 18] Operation: 46-28=18
Exploring Operation: 8+28=36, Resulting Numbers: [46, 36]
Generated Node #0,1,3: 40:[46, 36] Operation: 8+28=36
Exploring Operation: 46-8=38, Resulting Numbers: [28, 38]
Generated Node #0,1,4: 40:[28, 38] Operation: 46-8=38
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[8, 18], Operations: ['80-52=28', '46-28=18']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,40 unequal: No Solution
No 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: 40:[46, 20], Operations: ['80-52=28', '28-8=20']
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,40 unequal: No Solution
No 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: 40:[46, 36], Operations: ['80-52=28', '8+28=36']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 46*36=1656, Resulting Numbers: [1656]
1656,40 unequal: No Solution
No 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: 40:[28, 38], Operations: ['80-52=28', '46-8=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,40 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,40 unequal: No Solution
No 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: 40:[28, 54], Operations: ['80-52=28', '46+8=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,40 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: 40:[52, 8, 34], Operations: ['80-46=34']
Exploring Operation: 34-8=26, Resulting Numbers: [52, 26]
Generated Node #0,0,0: 40:[52, 26] Operation: 34-8=26
Exploring Operation: 52+8=60, Resulting Numbers: [34, 60]
Generated Node #0,0,1: 40:[34, 60] Operation: 52+8=60
Exploring Operation: 8+34=42, Resulting Numbers: [52, 42]
Generated Node #0,0,2: 40:[52, 42] Operation: 8+34=42
Exploring Operation: 52-8=44, Resulting Numbers: [34, 44]
Generated Node #0,0,3: 40:[34, 44] Operation: 52-8=44
Exploring Operation: 52-34=18, Resulting Numbers: [8, 18]
Generated Node #0,0,4: 40:[8, 18] Operation: 52-34=18
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 40:[8, 18], Operations: ['80-46=34', '52-34=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,40 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,40 unequal: No Solution
No 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: 40:[34, 44], Operations: ['80-46=34', '52-8=44']
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,40 unequal: No Solution
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,40 unequal: No Solution
No 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: 40:[52, 42], Operations: ['80-46=34', '8+34=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,40 unequal: No Solution
No 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: 40:[52, 26], Operations: ['80-46=34', '34-8=26']
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,40 unequal: No Solution
No 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: 40:[34, 60], Operations: ['80-46=34', '52+8=60']
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 34*60=2040, Resulting Numbers: [2040]
2040,40 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,40 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: 40:[46, 52, 10], Operations: ['80/8=10']
Exploring Operation: 46-10=36, Resulting Numbers: [52, 36]
Generated Node #0,2,0: 40:[52, 36] Operation: 46-10=36
Exploring Operation: 52-10=42, Resulting Numbers: [46, 42]
Generated Node #0,2,1: 40:[46, 42] Operation: 52-10=42
Exploring Operation: 52-46=6, Resulting Numbers: [10, 6]
Generated Node #0,2,2: 40:[10, 6] Operation: 52-46=6
Exploring Operation: 46+10=56, Resulting Numbers: [52, 56]
Generated Node #0,2,3: 40:[52, 56] Operation: 46+10=56
Exploring Operation: 52+10=62, Resulting Numbers: [46, 62]
Generated Node #0,2,4: 40:[46, 62] Operation: 52+10=62
Moving to Node #0,2,2
Current State: 40:[10, 6], Operations: ['80/8=10', '52-46=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[46, 42], Operations: ['80/8=10', '52-10=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 46*42=1932, Resulting Numbers: [1932]
1932,40 unequal: No Solution
Exploring Operation: 46+42=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[52, 36], Operations: ['80/8=10', '46-10=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,40 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[52, 56], Operations: ['80/8=10', '46+10=56']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,40 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[46, 62], Operations: ['80/8=10', '52+10=62']
Exploring Operation: 46+62=108, Resulting Numbers: [108]
108,40 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 46*62=2852, Resulting Numbers: [2852]
2852,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 40:[80, 8, 6], Operations: ['52-46=6']
Exploring Operation: 80-6=74, Resulting Numbers: [8, 74]
Generated Node #0,4,0: 40:[8, 74] Operation: 80-6=74
Exploring Operation: 8-6=2, Resulting Numbers: [80, 2]
Generated Node #0,4,1: 40:[80, 2] Operation: 8-6=2
Exploring Operation: 80/8=10, Resulting Numbers: [6, 10]
Generated Node #0,4,2: 40:[6, 10] Operation: 80/8=10
Exploring Operation: 80-8=72, Resulting Numbers: [6, 72]
Generated Node #0,4,3: 40:[6, 72] Operation: 80-8=72
Exploring Operation: 8+6=14, Resulting Numbers: [80, 14]
Generated Node #0,4,4: 40:[80, 14] Operation: 8+6=14
Moving to Node #0,4,2
Current State: 40:[6, 10], Operations: ['52-46=6', '80/8=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[6, 72], Operations: ['52-46=6', '80-8=72']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,40 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[8, 74], Operations: ['52-46=6', '80-6=74']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 8*74=592, Resulting Numbers: [592]
592,40 unequal: No Solution
Exploring Operation: 8+74=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[80, 2], Operations: ['52-46=6', '8-6=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 80*2=160, Resulting Numbers: [160]
160,40 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[46, 80, 52, 8], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [80, 8, 6]
Generated Node #0,4: 40:[80, 8, 6] Operation: 52-46=6
Moving to Node #0,4
Current State: 40:[80, 8, 6], Operations: ['52-46=6']
Exploring Operation: 8-6=2, Resulting Numbers: [80, 2]
Generated Node #0,4,1: 40:[80, 2] Operation: 8-6=2
Moving to Node #0,4,1
Current State: 40:[80, 2], Operations: ['52-46=6', '8-6=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.922743 | hs_5 | mult_heuristic |
[
3,
18,
75,
27
] | 77 | [
"3*18=54",
"54/27=2",
"75+2=77"
] | Current State: 77:[3, 18, 75, 27], Operations: []
Exploring Operation: 3*18=54, Resulting Numbers: [75, 27, 54]
Generated Node #2: [75, 27, 54] from Operation: 3*18=54
Current State: 77:[75, 27, 54], Operations: ['3*18=54']
Exploring Operation: 54/27=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 54/27=2
Current State: 77:[75, 2], Operations: ['3*18=54', '54/27=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 18, 75, 27], Operations: []
Exploring Operation: 3*27=81, Resulting Numbers: [18, 75, 81]
Generated Node #0,0: 77:[18, 75, 81] Operation: 3*27=81
Exploring Operation: 27-18=9, Resulting Numbers: [3, 75, 9]
Generated Node #0,1: 77:[3, 75, 9] Operation: 27-18=9
Exploring Operation: 27/3=9, Resulting Numbers: [18, 75, 9]
Generated Node #0,2: 77:[18, 75, 9] Operation: 27/3=9
Moving to Node #0,1
Current State: 77:[3, 75, 9], Operations: ['27-18=9']
Exploring Operation: 3+75=78, Resulting Numbers: [9, 78]
Generated Node #0,1,0: 77:[9, 78] Operation: 3+75=78
Exploring Operation: 3+9=12, Resulting Numbers: [75, 12]
Generated Node #0,1,1: 77:[75, 12] Operation: 3+9=12
Exploring Operation: 9-3=6, Resulting Numbers: [75, 6]
Generated Node #0,1,2: 77:[75, 6] Operation: 9-3=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[9, 78], Operations: ['27-18=9', '3+75=78']
Exploring Operation: 9+78=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 9*78=702, Resulting Numbers: [702]
702,77 unequal: No Solution
Exploring Operation: 78-9=69, Resulting Numbers: [69]
69,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[75, 12], Operations: ['27-18=9', '3+9=12']
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[75, 6], Operations: ['27-18=9', '9-3=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,77 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,77 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: 77:[18, 75, 9], Operations: ['27/3=9']
Exploring Operation: 18-9=9, Resulting Numbers: [75, 9]
Generated Node #0,2,0: 77:[75, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [75, 2]
Generated Node #0,2,1: 77:[75, 2] Operation: 18/9=2
Exploring Operation: 75+9=84, Resulting Numbers: [18, 84]
Generated Node #0,2,2: 77:[18, 84] Operation: 75+9=84
Moving to Node #0,0
Current State: 77:[18, 75, 81], Operations: ['3*27=81']
Exploring Operation: 81-18=63, Resulting Numbers: [75, 63]
Generated Node #0,0,0: 77:[75, 63] Operation: 81-18=63
Exploring Operation: 18+75=93, Resulting Numbers: [81, 93]
Generated Node #0,0,1: 77:[81, 93] Operation: 18+75=93
Exploring Operation: 81-75=6, Resulting Numbers: [18, 6]
Generated Node #0,0,2: 77:[18, 6] Operation: 81-75=6
Moving to Node #0,2,0
Current State: 77:[75, 9], Operations: ['27/3=9', '18-9=9']
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,77 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[75, 2], Operations: ['27/3=9', '18/9=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[3, 18, 75, 27], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [18, 75, 9]
Generated Node #0,2: 77:[18, 75, 9] Operation: 27/3=9
Moving to Node #0,2
Current State: 77:[18, 75, 9], Operations: ['27/3=9']
Exploring Operation: 18/9=2, Resulting Numbers: [75, 2]
Generated Node #0,2,1: 77:[75, 2] Operation: 18/9=2
Moving to Node #0,2,1
Current State: 77:[75, 2], Operations: ['27/3=9', '18/9=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.973958 | hs_3 | sum_heuristic |
[
78,
96,
64,
50
] | 42 | [
"78-50=28",
"96*28=2688",
"2688/64=42"
] | Current State: 42:[78, 96, 64, 50], Operations: []
Exploring Operation: 78-50=28, Resulting Numbers: [96, 64, 28]
Generated Node #2: [96, 64, 28] from Operation: 78-50=28
Current State: 42:[96, 64, 28], Operations: ['78-50=28']
Exploring Operation: 96*28=2688, Resulting Numbers: [64, 2688]
Generated Node #3: [64, 2688] from Operation: 96*28=2688
Current State: 42:[64, 2688], Operations: ['78-50=28', '96*28=2688']
Exploring Operation: 2688/64=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[78, 96, 64, 50], Operations: []
Exploring Operation: 96-64=32, Resulting Numbers: [78, 50, 32]
Generated Node #0,0: 42:[78, 50, 32] Operation: 96-64=32
Exploring Operation: 78-64=14, Resulting Numbers: [96, 50, 14]
Generated Node #0,1: 42:[96, 50, 14] Operation: 78-64=14
Exploring Operation: 96-78=18, Resulting Numbers: [64, 50, 18]
Generated Node #0,2: 42:[64, 50, 18] Operation: 96-78=18
Moving to Node #0,2
Current State: 42:[64, 50, 18], Operations: ['96-78=18']
Exploring Operation: 64-50=14, Resulting Numbers: [18, 14]
Generated Node #0,2,0: 42:[18, 14] Operation: 64-50=14
Exploring Operation: 64-18=46, Resulting Numbers: [50, 46]
Generated Node #0,2,1: 42:[50, 46] Operation: 64-18=46
Exploring Operation: 50-18=32, Resulting Numbers: [64, 32]
Generated Node #0,2,2: 42:[64, 32] Operation: 50-18=32
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[18, 14], Operations: ['96-78=18', '64-50=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,42 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,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,1
Current State: 42:[50, 46], Operations: ['96-78=18', '64-18=46']
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,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,2
Current State: 42:[64, 32], Operations: ['96-78=18', '50-18=32']
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,42 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: 42:[78, 50, 32], Operations: ['96-64=32']
Exploring Operation: 78-32=46, Resulting Numbers: [50, 46]
Generated Node #0,0,0: 42:[50, 46] Operation: 78-32=46
Exploring Operation: 50-32=18, Resulting Numbers: [78, 18]
Generated Node #0,0,1: 42:[78, 18] Operation: 50-32=18
Exploring Operation: 78-50=28, Resulting Numbers: [32, 28]
Generated Node #0,0,2: 42:[32, 28] Operation: 78-50=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[50, 46], Operations: ['96-64=32', '78-32=46']
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,42 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,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,0,2
Current State: 42:[32, 28], Operations: ['96-64=32', '78-50=28']
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 32+28=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 32*28=896, Resulting Numbers: [896]
896,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,0,1
Current State: 42:[78, 18], Operations: ['96-64=32', '50-32=18']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 78+18=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 78*18=1404, Resulting Numbers: [1404]
1404,42 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: 42:[96, 50, 14], Operations: ['78-64=14']
Exploring Operation: 96-14=82, Resulting Numbers: [50, 82]
Generated Node #0,1,0: 42:[50, 82] Operation: 96-14=82
Exploring Operation: 96-50=46, Resulting Numbers: [14, 46]
Generated Node #0,1,1: 42:[14, 46] Operation: 96-50=46
Exploring Operation: 50-14=36, Resulting Numbers: [96, 36]
Generated Node #0,1,2: 42:[96, 36] Operation: 50-14=36
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[14, 46], Operations: ['78-64=14', '96-50=46']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,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:[50, 82], Operations: ['78-64=14', '96-14=82']
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,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:[96, 36], Operations: ['78-64=14', '50-14=36']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 96*36=3456, Resulting Numbers: [3456]
3456,42 unequal: No Solution
Exploring Operation: 96+36=132, Resulting Numbers: [132]
132,42 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 |
[
37,
27,
75,
84
] | 36 | [
"37+75=112",
"27*112=3024",
"3024/84=36"
] | Current State: 36:[37, 27, 75, 84], Operations: []
Exploring Operation: 37+75=112, Resulting Numbers: [27, 84, 112]
Generated Node #2: [27, 84, 112] from Operation: 37+75=112
Current State: 36:[27, 84, 112], Operations: ['37+75=112']
Exploring Operation: 27*112=3024, Resulting Numbers: [84, 3024]
Generated Node #3: [84, 3024] from Operation: 27*112=3024
Current State: 36:[84, 3024], Operations: ['37+75=112', '27*112=3024']
Exploring Operation: 3024/84=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[37, 27, 75, 84], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [37, 27, 9]
Generated Node #0,0: 36:[37, 27, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[37, 27, 9], Operations: ['84-75=9']
Exploring Operation: 37-27=10, Resulting Numbers: [9, 10]
Generated Node #0,0,0: 36:[9, 10] Operation: 37-27=10
Moving to Node #0,0,0
Current State: 36:[9, 10], Operations: ['84-75=9', '37-27=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,36 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 |
[
57,
60,
95,
2
] | 46 | [
"60-57=3",
"95-3=92",
"92/2=46"
] | Current State: 46:[57, 60, 95, 2], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [95, 2, 3]
Generated Node #2: [95, 2, 3] from Operation: 60-57=3
Current State: 46:[95, 2, 3], Operations: ['60-57=3']
Exploring Operation: 95-3=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 95-3=92
Current State: 46:[2, 92], Operations: ['60-57=3', '95-3=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[57, 60, 95, 2], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [60, 2, 38]
Generated Node #0,0: 46:[60, 2, 38] Operation: 95-57=38
Exploring Operation: 95-60=35, Resulting Numbers: [57, 2, 35]
Generated Node #0,1: 46:[57, 2, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[60, 2, 38], Operations: ['95-57=38']
Exploring Operation: 60-38=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 46:[2, 22] Operation: 60-38=22
Exploring Operation: 60/2=30, Resulting Numbers: [38, 30]
Generated Node #0,0,1: 46:[38, 30] Operation: 60/2=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[2, 22], Operations: ['95-57=38', '60-38=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[38, 30], Operations: ['95-57=38', '60/2=30']
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[57, 2, 35], Operations: ['95-60=35']
Exploring Operation: 57-35=22, Resulting Numbers: [2, 22]
Generated Node #0,1,0: 46:[2, 22] Operation: 57-35=22
Exploring Operation: 57-2=55, Resulting Numbers: [35, 55]
Generated Node #0,1,1: 46:[35, 55] Operation: 57-2=55
Moving to Node #0,1,0
Current State: 46:[2, 22], Operations: ['95-60=35', '57-35=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[35, 55], Operations: ['95-60=35', '57-2=55']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,46 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,46 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 |
[
82,
28,
58,
54
] | 49 | [
"82+58=140",
"140/28=5",
"54-5=49"
] | Current State: 49:[82, 28, 58, 54], Operations: []
Exploring Operation: 82+58=140, Resulting Numbers: [28, 54, 140]
Generated Node #2: [28, 54, 140] from Operation: 82+58=140
Current State: 49:[28, 54, 140], Operations: ['82+58=140']
Exploring Operation: 140/28=5, Resulting Numbers: [54, 5]
Generated Node #3: [54, 5] from Operation: 140/28=5
Current State: 49:[54, 5], Operations: ['82+58=140', '140/28=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[82, 28, 58, 54], Operations: []
Exploring Operation: 58-28=30, Resulting Numbers: [82, 54, 30]
Generated Node #0,0: 49:[82, 54, 30] Operation: 58-28=30
Exploring Operation: 82-28=54, Resulting Numbers: [58, 54, 54]
Generated Node #0,1: 49:[58, 54, 54] Operation: 82-28=54
Exploring Operation: 82-54=28, Resulting Numbers: [28, 58, 28]
Generated Node #0,2: 49:[28, 58, 28] Operation: 82-54=28
Exploring Operation: 82-58=24, Resulting Numbers: [28, 54, 24]
Generated Node #0,3: 49:[28, 54, 24] Operation: 82-58=24
Exploring Operation: 58-54=4, Resulting Numbers: [82, 28, 4]
Generated Node #0,4: 49:[82, 28, 4] Operation: 58-54=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[58, 54, 54], Operations: ['82-28=54']
Exploring Operation: 58+54=112, Resulting Numbers: [54, 112]
Generated Node #0,1,0: 49:[54, 112] Operation: 58+54=112
Exploring Operation: 58-54=4, Resulting Numbers: [54, 4]
Generated Node #0,1,1: 49:[54, 4] Operation: 58-54=4
Exploring Operation: 54-54=0, Resulting Numbers: [58, 0]
Generated Node #0,1,2: 49:[58, 0] Operation: 54-54=0
Exploring Operation: 54/54=1, Resulting Numbers: [58, 1]
Generated Node #0,1,3: 49:[58, 1] Operation: 54/54=1
Exploring Operation: 58-54=4, Resulting Numbers: [54, 4]
Generated Node #0,1,4: 49:[54, 4] Operation: 58-54=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[54, 4], Operations: ['82-28=54', '58-54=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,49 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No 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: 49:[54, 4], Operations: ['82-28=54', '58-54=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,49 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,49 unequal: No Solution
No 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: 49:[58, 1], Operations: ['82-28=54', '54/54=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No 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: 49:[58, 0], Operations: ['82-28=54', '54-54=0']
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
No 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: 49:[54, 112], Operations: ['82-28=54', '58+54=112']
Exploring Operation: 54*112=6048, Resulting Numbers: [6048]
6048,49 unequal: No Solution
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 54+112=166, Resulting Numbers: [166]
166,49 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: 49:[28, 54, 24], Operations: ['82-58=24']
Exploring Operation: 28+24=52, Resulting Numbers: [54, 52]
Generated Node #0,3,0: 49:[54, 52] Operation: 28+24=52
Exploring Operation: 54-28=26, Resulting Numbers: [24, 26]
Generated Node #0,3,1: 49:[24, 26] Operation: 54-28=26
Exploring Operation: 28-24=4, Resulting Numbers: [54, 4]
Generated Node #0,3,2: 49:[54, 4] Operation: 28-24=4
Exploring Operation: 54-24=30, Resulting Numbers: [28, 30]
Generated Node #0,3,3: 49:[28, 30] Operation: 54-24=30
Exploring Operation: 28+54=82, Resulting Numbers: [24, 82]
Generated Node #0,3,4: 49:[24, 82] Operation: 28+54=82
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[54, 52], Operations: ['82-58=24', '28+24=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,49 unequal: No Solution
No 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: 49:[54, 4], Operations: ['82-58=24', '28-24=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,49 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No 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: 49:[24, 26], Operations: ['82-58=24', '54-28=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,49 unequal: No Solution
No 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: 49:[28, 30], Operations: ['82-58=24', '54-24=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,49 unequal: No Solution
No 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: 49:[24, 82], Operations: ['82-58=24', '28+54=82']
Exploring Operation: 24*82=1968, Resulting Numbers: [1968]
1968,49 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 24+82=106, Resulting Numbers: [106]
106,49 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: 49:[28, 58, 28], Operations: ['82-54=28']
Exploring Operation: 28+28=56, Resulting Numbers: [58, 56]
Generated Node #0,2,0: 49:[58, 56] Operation: 28+28=56
Exploring Operation: 58-28=30, Resulting Numbers: [28, 30]
Generated Node #0,2,1: 49:[28, 30] Operation: 58-28=30
Exploring Operation: 28-28=0, Resulting Numbers: [58, 0]
Generated Node #0,2,2: 49:[58, 0] Operation: 28-28=0
Exploring Operation: 58-28=30, Resulting Numbers: [28, 30]
Generated Node #0,2,3: 49:[28, 30] Operation: 58-28=30
Exploring Operation: 28/28=1, Resulting Numbers: [58, 1]
Generated Node #0,2,4: 49:[58, 1] Operation: 28/28=1
Moving to Node #0,2,4
Current State: 49:[58, 1], Operations: ['82-54=28', '28/28=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[58, 0], Operations: ['82-54=28', '28-28=0']
Exploring Operation: 58+0=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58-0=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 58*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[58, 56], Operations: ['82-54=28', '28+28=56']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,49 unequal: No Solution
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[28, 30], Operations: ['82-54=28', '58-28=30']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[28, 30], Operations: ['82-54=28', '58-28=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,49 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,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,0
Current State: 49:[82, 54, 30], Operations: ['58-28=30']
Exploring Operation: 54+30=84, Resulting Numbers: [82, 84]
Generated Node #0,0,0: 49:[82, 84] Operation: 54+30=84
Exploring Operation: 54-30=24, Resulting Numbers: [82, 24]
Generated Node #0,0,1: 49:[82, 24] Operation: 54-30=24
Exploring Operation: 82-30=52, Resulting Numbers: [54, 52]
Generated Node #0,0,2: 49:[54, 52] Operation: 82-30=52
Exploring Operation: 82+30=112, Resulting Numbers: [54, 112]
Generated Node #0,0,3: 49:[54, 112] Operation: 82+30=112
Exploring Operation: 82-54=28, Resulting Numbers: [30, 28]
Generated Node #0,0,4: 49:[30, 28] Operation: 82-54=28
Moving to Node #0,0,2
Current State: 49:[54, 52], Operations: ['58-28=30', '82-30=52']
Exploring Operation: 54+52=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 54*52=2808, Resulting Numbers: [2808]
2808,49 unequal: No Solution
Moving to Node #0,0,4
Current State: 49:[30, 28], Operations: ['58-28=30', '82-54=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[82, 24], Operations: ['58-28=30', '54-30=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[82, 84], Operations: ['58-28=30', '54+30=84']
Exploring Operation: 82*84=6888, Resulting Numbers: [6888]
6888,49 unequal: No Solution
Exploring Operation: 82+84=166, Resulting Numbers: [166]
166,49 unequal: No Solution
Exploring Operation: 84-82=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[54, 112], Operations: ['58-28=30', '82+30=112']
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 54+112=166, Resulting Numbers: [166]
166,49 unequal: No Solution
Exploring Operation: 54*112=6048, Resulting Numbers: [6048]
6048,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[82, 28, 4], Operations: ['58-54=4']
Exploring Operation: 82-4=78, Resulting Numbers: [28, 78]
Generated Node #0,4,0: 49:[28, 78] Operation: 82-4=78
Exploring Operation: 28-4=24, Resulting Numbers: [82, 24]
Generated Node #0,4,1: 49:[82, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [82, 7]
Generated Node #0,4,2: 49:[82, 7] Operation: 28/4=7
Exploring Operation: 28+4=32, Resulting Numbers: [82, 32]
Generated Node #0,4,3: 49:[82, 32] Operation: 28+4=32
Exploring Operation: 82-28=54, Resulting Numbers: [4, 54]
Generated Node #0,4,4: 49:[4, 54] Operation: 82-28=54
Moving to Node #0,4,4
Current State: 49:[4, 54], Operations: ['58-54=4', '82-28=54']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,49 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[82, 7], Operations: ['58-54=4', '28/4=7']
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,49 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[28, 78], Operations: ['58-54=4', '82-4=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 28*78=2184, Resulting Numbers: [2184]
2184,49 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[82, 24], Operations: ['58-54=4', '28-4=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,49 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Moving to Node #0,4,3
Current State: 49:[82, 32], Operations: ['58-54=4', '28+4=32']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 82*32=2624, Resulting Numbers: [2624]
2624,49 unequal: No Solution
Exploring Operation: 82+32=114, Resulting Numbers: [114]
114,49 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 |
[
45,
4,
57,
65
] | 52 | [
"65-45=20",
"20/4=5",
"57-5=52"
] | Current State: 52:[45, 4, 57, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [4, 57, 20]
Generated Node #2: [4, 57, 20] from Operation: 65-45=20
Current State: 52:[4, 57, 20], Operations: ['65-45=20']
Exploring Operation: 20/4=5, Resulting Numbers: [57, 5]
Generated Node #3: [57, 5] from Operation: 20/4=5
Current State: 52:[57, 5], Operations: ['65-45=20', '20/4=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[45, 4, 57, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [4, 57, 20]
Generated Node #0,0: 52:[4, 57, 20] Operation: 65-45=20
Exploring Operation: 65-57=8, Resulting Numbers: [45, 4, 8]
Generated Node #0,1: 52:[45, 4, 8] Operation: 65-57=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[4, 57, 20], Operations: ['65-45=20']
Exploring Operation: 57-4=53, Resulting Numbers: [20, 53]
Generated Node #0,0,0: 52:[20, 53] Operation: 57-4=53
Exploring Operation: 20/4=5, Resulting Numbers: [57, 5]
Generated Node #0,0,1: 52:[57, 5] Operation: 20/4=5
Moving to Node #0,0,1
Current State: 52:[57, 5], Operations: ['65-45=20', '20/4=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[45, 4, 57, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [4, 57, 20]
Generated Node #0,0: 52:[4, 57, 20] Operation: 65-45=20
Moving to Node #0,0
Current State: 52:[4, 57, 20], Operations: ['65-45=20']
Exploring Operation: 20/4=5, Resulting Numbers: [57, 5]
Generated Node #0,0,1: 52:[57, 5] Operation: 20/4=5
Moving to Node #0,0,1
Current State: 52:[57, 5], Operations: ['65-45=20', '20/4=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
86,
73,
99,
73
] | 71 | [
"73+99=172",
"172/86=2",
"73-2=71"
] | Current State: 71:[86, 73, 99, 73], Operations: []
Exploring Operation: 73+99=172, Resulting Numbers: [86, 172]
Generated Node #2: [86, 172] from Operation: 73+99=172
Current State: 71:[86, 172], Operations: ['73+99=172']
Exploring Operation: 172/86=2, Resulting Numbers: [2]
2,71 equal: Goal Reached
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[86, 73, 99, 73], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [99, 73, 13]
Generated Node #0,0: 71:[99, 73, 13] Operation: 86-73=13
Exploring Operation: 86-73=13, Resulting Numbers: [73, 99, 13]
Generated Node #0,1: 71:[73, 99, 13] Operation: 86-73=13
Exploring Operation: 99-73=26, Resulting Numbers: [86, 73, 26]
Generated Node #0,2: 71:[86, 73, 26] Operation: 99-73=26
Exploring Operation: 99-73=26, Resulting Numbers: [86, 73, 26]
Generated Node #0,3: 71:[86, 73, 26] Operation: 99-73=26
Exploring Operation: 99-86=13, Resulting Numbers: [73, 73, 13]
Generated Node #0,4: 71:[73, 73, 13] Operation: 99-86=13
Moving to Node #0,2
Current State: 71:[86, 73, 26], Operations: ['99-73=26']
Exploring Operation: 86-73=13, Resulting Numbers: [26, 13]
Generated Node #0,2,0: 71:[26, 13] Operation: 86-73=13
Exploring Operation: 86-26=60, Resulting Numbers: [73, 60]
Generated Node #0,2,1: 71:[73, 60] Operation: 86-26=60
Exploring Operation: 86+26=112, Resulting Numbers: [73, 112]
Generated Node #0,2,2: 71:[73, 112] Operation: 86+26=112
Exploring Operation: 73-26=47, Resulting Numbers: [86, 47]
Generated Node #0,2,3: 71:[86, 47] Operation: 73-26=47
Exploring Operation: 73+26=99, Resulting Numbers: [86, 99]
Generated Node #0,2,4: 71:[86, 99] Operation: 73+26=99
Moving to Node #0,4
Current State: 71:[73, 73, 13], Operations: ['99-86=13']
Exploring Operation: 73/73=1, Resulting Numbers: [13, 1]
Generated Node #0,4,0: 71:[13, 1] Operation: 73/73=1
Exploring Operation: 73-13=60, Resulting Numbers: [73, 60]
Generated Node #0,4,1: 71:[73, 60] Operation: 73-13=60
Exploring Operation: 73+13=86, Resulting Numbers: [73, 86]
Generated Node #0,4,2: 71:[73, 86] Operation: 73+13=86
Exploring Operation: 73+13=86, Resulting Numbers: [73, 86]
Generated Node #0,4,3: 71:[73, 86] Operation: 73+13=86
Exploring Operation: 73-13=60, Resulting Numbers: [73, 60]
Generated Node #0,4,4: 71:[73, 60] Operation: 73-13=60
Moving to Node #0,3
Current State: 71:[86, 73, 26], Operations: ['99-73=26']
Exploring Operation: 86+26=112, Resulting Numbers: [73, 112]
Generated Node #0,3,0: 71:[73, 112] Operation: 86+26=112
Exploring Operation: 73+26=99, Resulting Numbers: [86, 99]
Generated Node #0,3,1: 71:[86, 99] Operation: 73+26=99
Exploring Operation: 86-73=13, Resulting Numbers: [26, 13]
Generated Node #0,3,2: 71:[26, 13] Operation: 86-73=13
Exploring Operation: 86-26=60, Resulting Numbers: [73, 60]
Generated Node #0,3,3: 71:[73, 60] Operation: 86-26=60
Exploring Operation: 73-26=47, Resulting Numbers: [86, 47]
Generated Node #0,3,4: 71:[86, 47] Operation: 73-26=47
Moving to Node #0,0
Current State: 71:[99, 73, 13], Operations: ['86-73=13']
Exploring Operation: 99-13=86, Resulting Numbers: [73, 86]
Generated Node #0,0,0: 71:[73, 86] Operation: 99-13=86
Exploring Operation: 73-13=60, Resulting Numbers: [99, 60]
Generated Node #0,0,1: 71:[99, 60] Operation: 73-13=60
Exploring Operation: 99+13=112, Resulting Numbers: [73, 112]
Generated Node #0,0,2: 71:[73, 112] Operation: 99+13=112
Exploring Operation: 73+13=86, Resulting Numbers: [99, 86]
Generated Node #0,0,3: 71:[99, 86] Operation: 73+13=86
Exploring Operation: 99-73=26, Resulting Numbers: [13, 26]
Generated Node #0,0,4: 71:[13, 26] Operation: 99-73=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[73, 86], Operations: ['86-73=13', '99-13=86']
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,71 unequal: No Solution
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[99, 60], Operations: ['86-73=13', '73-13=60']
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,71 unequal: No Solution
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[73, 112], Operations: ['86-73=13', '99+13=112']
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 73+112=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 73*112=8176, Resulting Numbers: [8176]
8176,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[99, 86], Operations: ['86-73=13', '73+13=86']
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 99*86=8514, Resulting Numbers: [8514]
8514,71 unequal: No Solution
Exploring Operation: 99+86=185, Resulting Numbers: [185]
185,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 71:[13, 26], Operations: ['86-73=13', '99-73=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,71 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,71 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: 71:[73, 99, 13], Operations: ['86-73=13']
Exploring Operation: 73+13=86, Resulting Numbers: [99, 86]
Generated Node #0,1,0: 71:[99, 86] Operation: 73+13=86
Exploring Operation: 99+13=112, Resulting Numbers: [73, 112]
Generated Node #0,1,1: 71:[73, 112] Operation: 99+13=112
Exploring Operation: 73-13=60, Resulting Numbers: [99, 60]
Generated Node #0,1,2: 71:[99, 60] Operation: 73-13=60
Exploring Operation: 99-13=86, Resulting Numbers: [73, 86]
Generated Node #0,1,3: 71:[73, 86] Operation: 99-13=86
Exploring Operation: 99-73=26, Resulting Numbers: [13, 26]
Generated Node #0,1,4: 71:[13, 26] Operation: 99-73=26
Moving to Node #0,2,1
Current State: 71:[73, 60], Operations: ['99-73=26', '86-26=60']
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,71 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[73, 60], Operations: ['99-86=13', '73-13=60']
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,71 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[73, 60], Operations: ['99-86=13', '73-13=60']
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,71 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[73, 60], Operations: ['99-73=26', '86-26=60']
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[73, 86], Operations: ['99-86=13', '73+13=86']
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,71 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[73, 86], Operations: ['99-86=13', '73+13=86']
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[73, 86], Operations: ['86-73=13', '99-13=86']
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[86, 47], Operations: ['99-73=26', '73-26=47']
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,71 unequal: No Solution
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[86, 47], Operations: ['99-73=26', '73-26=47']
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[99, 60], Operations: ['86-73=13', '73-13=60']
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,71 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[86, 99], Operations: ['99-73=26', '73+26=99']
Exploring Operation: 86*99=8514, Resulting Numbers: [8514]
8514,71 unequal: No Solution
Exploring Operation: 86+99=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[73, 112], Operations: ['99-73=26', '86+26=112']
Exploring Operation: 73+112=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 73*112=8176, Resulting Numbers: [8176]
8176,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[99, 86], Operations: ['86-73=13', '73+13=86']
Exploring Operation: 99+86=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 99*86=8514, Resulting Numbers: [8514]
8514,71 unequal: No Solution
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[73, 112], Operations: ['99-73=26', '86+26=112']
Exploring Operation: 73+112=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 73*112=8176, Resulting Numbers: [8176]
8176,71 unequal: No Solution
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[73, 112], Operations: ['86-73=13', '99+13=112']
Exploring Operation: 73+112=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 73*112=8176, Resulting Numbers: [8176]
8176,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[86, 99], Operations: ['99-73=26', '73+26=99']
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 86*99=8514, Resulting Numbers: [8514]
8514,71 unequal: No Solution
Exploring Operation: 86+99=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[26, 13], Operations: ['99-73=26', '86-73=13']
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,71 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[13, 26], Operations: ['86-73=13', '99-73=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[26, 13], Operations: ['99-73=26', '86-73=13']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,71 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[13, 1], Operations: ['99-86=13', '73/73=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,71 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
64,
44,
44
] | 33 | [
"44+44=88",
"24*88=2112",
"2112/64=33"
] | Current State: 33:[24, 64, 44, 44], Operations: []
Exploring Operation: 44+44=88, Resulting Numbers: [24, 64, 88]
Generated Node #2: [24, 64, 88] from Operation: 44+44=88
Current State: 33:[24, 64, 88], Operations: ['44+44=88']
Exploring Operation: 24*88=2112, Resulting Numbers: [64, 2112]
Generated Node #3: [64, 2112] from Operation: 24*88=2112
Current State: 33:[64, 2112], Operations: ['44+44=88', '24*88=2112']
Exploring Operation: 2112/64=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[24, 64, 44, 44], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [24, 44, 20]
Generated Node #0,0: 33:[24, 44, 20] Operation: 64-44=20
Exploring Operation: 64-24=40, Resulting Numbers: [44, 44, 40]
Generated Node #0,1: 33:[44, 44, 40] Operation: 64-24=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[24, 44, 20], Operations: ['64-44=20']
Exploring Operation: 44-24=20, Resulting Numbers: [20, 20]
Generated Node #0,0,0: 33:[20, 20] Operation: 44-24=20
Exploring Operation: 24-20=4, Resulting Numbers: [44, 4]
Generated Node #0,0,1: 33:[44, 4] Operation: 24-20=4
Moving to Node #0,0,1
Current State: 33:[44, 4], Operations: ['64-44=20', '24-20=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[20, 20], Operations: ['64-44=20', '44-24=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,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,1
Current State: 33:[44, 44, 40], Operations: ['64-24=40']
Exploring Operation: 44/44=1, Resulting Numbers: [40, 1]
Generated Node #0,1,0: 33:[40, 1] Operation: 44/44=1
Exploring Operation: 44-44=0, Resulting Numbers: [40, 0]
Generated Node #0,1,1: 33:[40, 0] Operation: 44-44=0
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[40, 1], Operations: ['64-24=40', '44/44=1']
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 40-1=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:[40, 0], Operations: ['64-24=40', '44-44=0']
Exploring Operation: 40*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 40+0=40, Resulting Numbers: [40]
40,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_2 | sum_heuristic |
[
39,
31,
33,
84
] | 17 | [
"39-33=6",
"84/6=14",
"31-14=17"
] | Current State: 17:[39, 31, 33, 84], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [31, 84, 6]
Generated Node #2: [31, 84, 6] from Operation: 39-33=6
Current State: 17:[31, 84, 6], Operations: ['39-33=6']
Exploring Operation: 84/6=14, Resulting Numbers: [31, 14]
Generated Node #3: [31, 14] from Operation: 84/6=14
Current State: 17:[31, 14], Operations: ['39-33=6', '84/6=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[39, 31, 33, 84], Operations: []
Exploring Operation: 84-33=51, Resulting Numbers: [39, 31, 51]
Generated Node #0,0: 17:[39, 31, 51] Operation: 84-33=51
Exploring Operation: 84-39=45, Resulting Numbers: [31, 33, 45]
Generated Node #0,1: 17:[31, 33, 45] Operation: 84-39=45
Moving to Node #0,1
Current State: 17:[31, 33, 45], Operations: ['84-39=45']
Exploring Operation: 45-33=12, Resulting Numbers: [31, 12]
Generated Node #0,1,0: 17:[31, 12] Operation: 45-33=12
Exploring Operation: 45-31=14, Resulting Numbers: [33, 14]
Generated Node #0,1,1: 17:[33, 14] Operation: 45-31=14
Moving to Node #0,0
Current State: 17:[39, 31, 51], Operations: ['84-33=51']
Exploring Operation: 51-39=12, Resulting Numbers: [31, 12]
Generated Node #0,0,0: 17:[31, 12] Operation: 51-39=12
Exploring Operation: 51-31=20, Resulting Numbers: [39, 20]
Generated Node #0,0,1: 17:[39, 20] Operation: 51-31=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[31, 12], Operations: ['84-33=51', '51-39=12']
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No 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: 17:[39, 20], Operations: ['84-33=51', '51-31=20']
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 17:[31, 12], Operations: ['84-39=45', '45-33=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[33, 14], Operations: ['84-39=45', '45-31=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,17 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
98,
66,
46
] | 51 | [
"98-27=71",
"66-46=20",
"71-20=51"
] | Current State: 51:[27, 98, 66, 46], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [66, 46, 71]
Generated Node #2: [66, 46, 71] from Operation: 98-27=71
Current State: 51:[66, 46, 71], Operations: ['98-27=71']
Exploring Operation: 66-46=20, Resulting Numbers: [71, 20]
Generated Node #3: [71, 20] from Operation: 66-46=20
Current State: 51:[71, 20], Operations: ['98-27=71', '66-46=20']
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[27, 98, 66, 46], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [27, 66, 52]
Generated Node #0,0: 51:[27, 66, 52] Operation: 98-46=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[27, 66, 52], Operations: ['98-46=52']
Exploring Operation: 66-27=39, Resulting Numbers: [52, 39]
Generated Node #0,0,0: 51:[52, 39] Operation: 66-27=39
Moving to Node #0,0,0
Current State: 51:[52, 39], Operations: ['98-46=52', '66-27=39']
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
85,
65,
86,
3
] | 22 | [
"85-65=20",
"86-20=66",
"66/3=22"
] | Current State: 22:[85, 65, 86, 3], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [86, 3, 20]
Generated Node #2: [86, 3, 20] from Operation: 85-65=20
Current State: 22:[86, 3, 20], Operations: ['85-65=20']
Exploring Operation: 86-20=66, Resulting Numbers: [3, 66]
Generated Node #3: [3, 66] from Operation: 86-20=66
Current State: 22:[3, 66], Operations: ['85-65=20', '86-20=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[85, 65, 86, 3], Operations: []
Exploring Operation: 86-85=1, Resulting Numbers: [65, 3, 1]
Generated Node #0,0: 22:[65, 3, 1] Operation: 86-85=1
Moving to Node #0,0
Current State: 22:[65, 3, 1], Operations: ['86-85=1']
Exploring Operation: 65-3=62, Resulting Numbers: [1, 62]
Generated Node #0,0,0: 22:[1, 62] Operation: 65-3=62
Moving to Node #0,0,0
Current State: 22:[1, 62], Operations: ['86-85=1', '65-3=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
8,
34,
80
] | 31 | [
"30*8=240",
"240/80=3",
"34-3=31"
] | Current State: 31:[30, 8, 34, 80], Operations: []
Exploring Operation: 30*8=240, Resulting Numbers: [34, 80, 240]
Generated Node #2: [34, 80, 240] from Operation: 30*8=240
Current State: 31:[34, 80, 240], Operations: ['30*8=240']
Exploring Operation: 240/80=3, Resulting Numbers: [34, 3]
Generated Node #3: [34, 3] from Operation: 240/80=3
Current State: 31:[34, 3], Operations: ['30*8=240', '240/80=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[30, 8, 34, 80], Operations: []
Exploring Operation: 80-8=72, Resulting Numbers: [30, 34, 72]
Generated Node #0,0: 31:[30, 34, 72] Operation: 80-8=72
Exploring Operation: 80-30=50, Resulting Numbers: [8, 34, 50]
Generated Node #0,1: 31:[8, 34, 50] Operation: 80-30=50
Exploring Operation: 80-34=46, Resulting Numbers: [30, 8, 46]
Generated Node #0,2: 31:[30, 8, 46] Operation: 80-34=46
Exploring Operation: 34-8=26, Resulting Numbers: [30, 80, 26]
Generated Node #0,3: 31:[30, 80, 26] Operation: 34-8=26
Exploring Operation: 80/8=10, Resulting Numbers: [30, 34, 10]
Generated Node #0,4: 31:[30, 34, 10] Operation: 80/8=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 31:[30, 34, 10], Operations: ['80/8=10']
Exploring Operation: 34+10=44, Resulting Numbers: [30, 44]
Generated Node #0,4,0: 31:[30, 44] Operation: 34+10=44
Exploring Operation: 30+10=40, Resulting Numbers: [34, 40]
Generated Node #0,4,1: 31:[34, 40] Operation: 30+10=40
Exploring Operation: 30/10=3, Resulting Numbers: [34, 3]
Generated Node #0,4,2: 31:[34, 3] Operation: 30/10=3
Exploring Operation: 34-10=24, Resulting Numbers: [30, 24]
Generated Node #0,4,3: 31:[30, 24] Operation: 34-10=24
Exploring Operation: 30-10=20, Resulting Numbers: [34, 20]
Generated Node #0,4,4: 31:[34, 20] Operation: 30-10=20
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 31:[30, 24], Operations: ['80/8=10', '34-10=24']
Exploring Operation: 30*24=720, Resulting Numbers: [720]
720,31 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,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,4,1
Current State: 31:[34, 40], Operations: ['80/8=10', '30+10=40']
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,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,4,0
Current State: 31:[30, 44], Operations: ['80/8=10', '34+10=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,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,4,4
Current State: 31:[34, 20], Operations: ['80/8=10', '30-10=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,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,4,2
Current State: 31:[34, 3], Operations: ['80/8=10', '30/10=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[30, 8, 34, 80], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [30, 34, 10]
Generated Node #0,4: 31:[30, 34, 10] Operation: 80/8=10
Moving to Node #0,4
Current State: 31:[30, 34, 10], Operations: ['80/8=10']
Exploring Operation: 30/10=3, Resulting Numbers: [34, 3]
Generated Node #0,4,2: 31:[34, 3] Operation: 30/10=3
Moving to Node #0,4,2
Current State: 31:[34, 3], Operations: ['80/8=10', '30/10=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_5 | sum_heuristic |
[
57,
91,
80,
4
] | 72 | [
"57+91=148",
"80-4=76",
"148-76=72"
] | Current State: 72:[57, 91, 80, 4], Operations: []
Exploring Operation: 57+91=148, Resulting Numbers: [80, 4, 148]
Generated Node #2: [80, 4, 148] from Operation: 57+91=148
Current State: 72:[80, 4, 148], Operations: ['57+91=148']
Exploring Operation: 80-4=76, Resulting Numbers: [148, 76]
Generated Node #3: [148, 76] from Operation: 80-4=76
Current State: 72:[148, 76], Operations: ['57+91=148', '80-4=76']
Exploring Operation: 148-76=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[57, 91, 80, 4], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [80, 4, 34]
Generated Node #0,0: 72:[80, 4, 34] Operation: 91-57=34
Exploring Operation: 91-80=11, Resulting Numbers: [57, 4, 11]
Generated Node #0,1: 72:[57, 4, 11] Operation: 91-80=11
Exploring Operation: 80/4=20, Resulting Numbers: [57, 91, 20]
Generated Node #0,2: 72:[57, 91, 20] Operation: 80/4=20
Exploring Operation: 80-57=23, Resulting Numbers: [91, 4, 23]
Generated Node #0,3: 72:[91, 4, 23] Operation: 80-57=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[80, 4, 34], Operations: ['91-57=34']
Exploring Operation: 4+34=38, Resulting Numbers: [80, 38]
Generated Node #0,0,0: 72:[80, 38] Operation: 4+34=38
Exploring Operation: 80/4=20, Resulting Numbers: [34, 20]
Generated Node #0,0,1: 72:[34, 20] Operation: 80/4=20
Exploring Operation: 80-4=76, Resulting Numbers: [34, 76]
Generated Node #0,0,2: 72:[34, 76] Operation: 80-4=76
Exploring Operation: 80-34=46, Resulting Numbers: [4, 46]
Generated Node #0,0,3: 72:[4, 46] Operation: 80-34=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[34, 20], Operations: ['91-57=34', '80/4=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,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,2
Current State: 72:[34, 76], Operations: ['91-57=34', '80-4=76']
Exploring Operation: 34*76=2584, Resulting Numbers: [2584]
2584,72 unequal: No Solution
Exploring Operation: 34+76=110, Resulting Numbers: [110]
110,72 unequal: No Solution
Exploring Operation: 76-34=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:[80, 38], Operations: ['91-57=34', '4+34=38']
Exploring Operation: 80+38=118, Resulting Numbers: [118]
118,72 unequal: No Solution
Exploring Operation: 80*38=3040, Resulting Numbers: [3040]
3040,72 unequal: No Solution
Exploring Operation: 80-38=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,3
Current State: 72:[4, 46], Operations: ['91-57=34', '80-34=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,72 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[57, 4, 11], Operations: ['91-80=11']
Exploring Operation: 11-4=7, Resulting Numbers: [57, 7]
Generated Node #0,1,0: 72:[57, 7] Operation: 11-4=7
Exploring Operation: 57-11=46, Resulting Numbers: [4, 46]
Generated Node #0,1,1: 72:[4, 46] Operation: 57-11=46
Exploring Operation: 57+11=68, Resulting Numbers: [4, 68]
Generated Node #0,1,2: 72:[4, 68] Operation: 57+11=68
Exploring Operation: 57+4=61, Resulting Numbers: [11, 61]
Generated Node #0,1,3: 72:[11, 61] Operation: 57+4=61
Moving to Node #0,1,2
Current State: 72:[4, 68], Operations: ['91-80=11', '57+11=68']
Exploring Operation: 4*68=272, Resulting Numbers: [272]
272,72 unequal: No Solution
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[57, 91, 80, 4], Operations: []
Exploring Operation: 91-80=11, Resulting Numbers: [57, 4, 11]
Generated Node #0,1: 72:[57, 4, 11] Operation: 91-80=11
Moving to Node #0,1
Current State: 72:[57, 4, 11], Operations: ['91-80=11']
Exploring Operation: 57+11=68, Resulting Numbers: [4, 68]
Generated Node #0,1,2: 72:[4, 68] Operation: 57+11=68
Moving to Node #0,1,2
Current State: 72:[4, 68], Operations: ['91-80=11', '57+11=68']
Exploring Operation: 4+68=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
58,
91,
5,
31
] | 46 | [
"91-31=60",
"60/5=12",
"58-12=46"
] | Current State: 46:[58, 91, 5, 31], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [58, 5, 60]
Generated Node #2: [58, 5, 60] from Operation: 91-31=60
Current State: 46:[58, 5, 60], Operations: ['91-31=60']
Exploring Operation: 60/5=12, Resulting Numbers: [58, 12]
Generated Node #3: [58, 12] from Operation: 60/5=12
Current State: 46:[58, 12], Operations: ['91-31=60', '60/5=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[58, 91, 5, 31], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [91, 5, 27]
Generated Node #0,0: 46:[91, 5, 27] Operation: 58-31=27
Exploring Operation: 91-31=60, Resulting Numbers: [58, 5, 60]
Generated Node #0,1: 46:[58, 5, 60] Operation: 91-31=60
Exploring Operation: 58-5=53, Resulting Numbers: [91, 31, 53]
Generated Node #0,2: 46:[91, 31, 53] Operation: 58-5=53
Exploring Operation: 91-58=33, Resulting Numbers: [5, 31, 33]
Generated Node #0,3: 46:[5, 31, 33] Operation: 91-58=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[5, 31, 33], Operations: ['91-58=33']
Exploring Operation: 31-5=26, Resulting Numbers: [33, 26]
Generated Node #0,3,0: 46:[33, 26] Operation: 31-5=26
Exploring Operation: 5+33=38, Resulting Numbers: [31, 38]
Generated Node #0,3,1: 46:[31, 38] Operation: 5+33=38
Exploring Operation: 33-31=2, Resulting Numbers: [5, 2]
Generated Node #0,3,2: 46:[5, 2] Operation: 33-31=2
Exploring Operation: 33-5=28, Resulting Numbers: [31, 28]
Generated Node #0,3,3: 46:[31, 28] Operation: 33-5=28
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[5, 2], Operations: ['91-58=33', '33-31=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[33, 26], Operations: ['91-58=33', '31-5=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,46 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[31, 28], Operations: ['91-58=33', '33-5=28']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 31+28=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 31*28=868, Resulting Numbers: [868]
868,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[31, 38], Operations: ['91-58=33', '5+33=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,46 unequal: No Solution
Exploring Operation: 31*38=1178, Resulting Numbers: [1178]
1178,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[58, 5, 60], Operations: ['91-31=60']
Exploring Operation: 60-5=55, Resulting Numbers: [58, 55]
Generated Node #0,1,0: 46:[58, 55] Operation: 60-5=55
Exploring Operation: 60/5=12, Resulting Numbers: [58, 12]
Generated Node #0,1,1: 46:[58, 12] Operation: 60/5=12
Exploring Operation: 58-5=53, Resulting Numbers: [60, 53]
Generated Node #0,1,2: 46:[60, 53] Operation: 58-5=53
Exploring Operation: 60-58=2, Resulting Numbers: [5, 2]
Generated Node #0,1,3: 46:[5, 2] Operation: 60-58=2
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[5, 2], Operations: ['91-31=60', '60-58=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[58, 55], Operations: ['91-31=60', '60-5=55']
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,46 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[60, 53], Operations: ['91-31=60', '58-5=53']
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,46 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,46 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[58, 12], Operations: ['91-31=60', '60/5=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[58, 91, 5, 31], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [58, 5, 60]
Generated Node #0,1: 46:[58, 5, 60] Operation: 91-31=60
Moving to Node #0,1
Current State: 46:[58, 5, 60], Operations: ['91-31=60']
Exploring Operation: 60/5=12, Resulting Numbers: [58, 12]
Generated Node #0,1,1: 46:[58, 12] Operation: 60/5=12
Moving to Node #0,1,1
Current State: 46:[58, 12], Operations: ['91-31=60', '60/5=12']
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
98,
53,
72,
34
] | 58 | [
"98+72=170",
"170/34=5",
"53+5=58"
] | Current State: 58:[98, 53, 72, 34], Operations: []
Exploring Operation: 98+72=170, Resulting Numbers: [53, 34, 170]
Generated Node #2: [53, 34, 170] from Operation: 98+72=170
Current State: 58:[53, 34, 170], Operations: ['98+72=170']
Exploring Operation: 170/34=5, Resulting Numbers: [53, 5]
Generated Node #3: [53, 5] from Operation: 170/34=5
Current State: 58:[53, 5], Operations: ['98+72=170', '170/34=5']
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[98, 53, 72, 34], Operations: []
Exploring Operation: 98-72=26, Resulting Numbers: [53, 34, 26]
Generated Node #0,0: 58:[53, 34, 26] Operation: 98-72=26
Exploring Operation: 98-34=64, Resulting Numbers: [53, 72, 64]
Generated Node #0,1: 58:[53, 72, 64] Operation: 98-34=64
Moving to Node #0,0
Current State: 58:[53, 34, 26], Operations: ['98-72=26']
Exploring Operation: 34+26=60, Resulting Numbers: [53, 60]
Generated Node #0,0,0: 58:[53, 60] Operation: 34+26=60
Exploring Operation: 53-26=27, Resulting Numbers: [34, 27]
Generated Node #0,0,1: 58:[34, 27] Operation: 53-26=27
Moving to Node #0,1
Current State: 58:[53, 72, 64], Operations: ['98-34=64']
Exploring Operation: 72-53=19, Resulting Numbers: [64, 19]
Generated Node #0,1,0: 58:[64, 19] Operation: 72-53=19
Exploring Operation: 72-64=8, Resulting Numbers: [53, 8]
Generated Node #0,1,1: 58:[53, 8] Operation: 72-64=8
Moving to Node #0,0,0
Current State: 58:[53, 60], Operations: ['98-72=26', '34+26=60']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 53+60=113, Resulting Numbers: [113]
113,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[34, 27], Operations: ['98-72=26', '53-26=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[53, 8], Operations: ['98-34=64', '72-64=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[64, 19], Operations: ['98-34=64', '72-53=19']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,58 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
40,
45,
70
] | 37 | [
"45-40=5",
"70/5=14",
"51-14=37"
] | Current State: 37:[51, 40, 45, 70], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [51, 70, 5]
Generated Node #2: [51, 70, 5] from Operation: 45-40=5
Current State: 37:[51, 70, 5], Operations: ['45-40=5']
Exploring Operation: 70/5=14, Resulting Numbers: [51, 14]
Generated Node #3: [51, 14] from Operation: 70/5=14
Current State: 37:[51, 14], Operations: ['45-40=5', '70/5=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[51, 40, 45, 70], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [40, 45, 19]
Generated Node #0,0: 37:[40, 45, 19] Operation: 70-51=19
Exploring Operation: 70-40=30, Resulting Numbers: [51, 45, 30]
Generated Node #0,1: 37:[51, 45, 30] Operation: 70-40=30
Moving to Node #0,0
Current State: 37:[40, 45, 19], Operations: ['70-51=19']
Exploring Operation: 45-19=26, Resulting Numbers: [40, 26]
Generated Node #0,0,0: 37:[40, 26] Operation: 45-19=26
Exploring Operation: 40-19=21, Resulting Numbers: [45, 21]
Generated Node #0,0,1: 37:[45, 21] Operation: 40-19=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[40, 26], Operations: ['70-51=19', '45-19=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[45, 21], Operations: ['70-51=19', '40-19=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 37:[51, 45, 30], Operations: ['70-40=30']
Exploring Operation: 45-30=15, Resulting Numbers: [51, 15]
Generated Node #0,1,0: 37:[51, 15] Operation: 45-30=15
Exploring Operation: 51-30=21, Resulting Numbers: [45, 21]
Generated Node #0,1,1: 37:[45, 21] Operation: 51-30=21
Moving to Node #0,1,1
Current State: 37:[45, 21], Operations: ['70-40=30', '51-30=21']
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[51, 15], Operations: ['70-40=30', '45-30=15']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,37 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
40,
28,
67,
24
] | 65 | [
"40-28=12",
"24/12=2",
"67-2=65"
] | Current State: 65:[40, 28, 67, 24], Operations: []
Exploring Operation: 40-28=12, Resulting Numbers: [67, 24, 12]
Generated Node #2: [67, 24, 12] from Operation: 40-28=12
Current State: 65:[67, 24, 12], Operations: ['40-28=12']
Exploring Operation: 24/12=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 24/12=2
Current State: 65:[67, 2], Operations: ['40-28=12', '24/12=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[40, 28, 67, 24], Operations: []
Exploring Operation: 40-28=12, Resulting Numbers: [67, 24, 12]
Generated Node #0,0: 65:[67, 24, 12] Operation: 40-28=12
Moving to Node #0,0
Current State: 65:[67, 24, 12], Operations: ['40-28=12']
Exploring Operation: 24-12=12, Resulting Numbers: [67, 12]
Generated Node #0,0,0: 65:[67, 12] Operation: 24-12=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[67, 12], Operations: ['40-28=12', '24-12=12']
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,65 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 |
[
2,
54,
5,
86
] | 22 | [
"2*5=10",
"86-54=32",
"32-10=22"
] | Current State: 22:[2, 54, 5, 86], Operations: []
Exploring Operation: 2*5=10, Resulting Numbers: [54, 86, 10]
Generated Node #2: [54, 86, 10] from Operation: 2*5=10
Current State: 22:[54, 86, 10], Operations: ['2*5=10']
Exploring Operation: 86-54=32, Resulting Numbers: [10, 32]
Generated Node #3: [10, 32] from Operation: 86-54=32
Current State: 22:[10, 32], Operations: ['2*5=10', '86-54=32']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 54, 5, 86], Operations: []
Exploring Operation: 86-54=32, Resulting Numbers: [2, 5, 32]
Generated Node #0,0: 22:[2, 5, 32] Operation: 86-54=32
Moving to Node #0,0
Current State: 22:[2, 5, 32], Operations: ['86-54=32']
Exploring Operation: 32-5=27, Resulting Numbers: [2, 27]
Generated Node #0,0,0: 22:[2, 27] Operation: 32-5=27
Moving to Node #0,0,0
Current State: 22:[2, 27], Operations: ['86-54=32', '32-5=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,22 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
72,
36,
37,
59
] | 60 | [
"72-36=36",
"37+59=96",
"96-36=60"
] | Current State: 60:[72, 36, 37, 59], Operations: []
Exploring Operation: 72-36=36, Resulting Numbers: [37, 59, 36]
Generated Node #2: [37, 59, 36] from Operation: 72-36=36
Current State: 60:[37, 59, 36], Operations: ['72-36=36']
Exploring Operation: 37+59=96, Resulting Numbers: [36, 96]
Generated Node #3: [36, 96] from Operation: 37+59=96
Current State: 60:[36, 96], Operations: ['72-36=36', '37+59=96']
Exploring Operation: 96-36=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[72, 36, 37, 59], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [37, 59, 2]
Generated Node #0,0: 60:[37, 59, 2] Operation: 72/36=2
Exploring Operation: 72-59=13, Resulting Numbers: [36, 37, 13]
Generated Node #0,1: 60:[36, 37, 13] Operation: 72-59=13
Exploring Operation: 72-37=35, Resulting Numbers: [36, 59, 35]
Generated Node #0,2: 60:[36, 59, 35] Operation: 72-37=35
Exploring Operation: 72-36=36, Resulting Numbers: [37, 59, 36]
Generated Node #0,3: 60:[37, 59, 36] Operation: 72-36=36
Moving to Node #0,0
Current State: 60:[37, 59, 2], Operations: ['72/36=2']
Exploring Operation: 59-37=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 60:[2, 22] Operation: 59-37=22
Exploring Operation: 59+2=61, Resulting Numbers: [37, 61]
Generated Node #0,0,1: 60:[37, 61] Operation: 59+2=61
Exploring Operation: 37-2=35, Resulting Numbers: [59, 35]
Generated Node #0,0,2: 60:[59, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [59, 39]
Generated Node #0,0,3: 60:[59, 39] Operation: 37+2=39
Moving to Node #0,2
Current State: 60:[36, 59, 35], Operations: ['72-37=35']
Exploring Operation: 36+35=71, Resulting Numbers: [59, 71]
Generated Node #0,2,0: 60:[59, 71] Operation: 36+35=71
Exploring Operation: 59-35=24, Resulting Numbers: [36, 24]
Generated Node #0,2,1: 60:[36, 24] Operation: 59-35=24
Exploring Operation: 59-36=23, Resulting Numbers: [35, 23]
Generated Node #0,2,2: 60:[35, 23] Operation: 59-36=23
Exploring Operation: 36-35=1, Resulting Numbers: [59, 1]
Generated Node #0,2,3: 60:[59, 1] Operation: 36-35=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[59, 1], Operations: ['72-37=35', '36-35=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[72, 36, 37, 59], Operations: []
Exploring Operation: 72-37=35, Resulting Numbers: [36, 59, 35]
Generated Node #0,2: 60:[36, 59, 35] Operation: 72-37=35
Moving to Node #0,2
Current State: 60:[36, 59, 35], Operations: ['72-37=35']
Exploring Operation: 36-35=1, Resulting Numbers: [59, 1]
Generated Node #0,2,3: 60:[59, 1] Operation: 36-35=1
Moving to Node #0,2,3
Current State: 60:[59, 1], Operations: ['72-37=35', '36-35=1']
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
51,
78,
90,
77
] | 38 | [
"51+78=129",
"90+77=167",
"167-129=38"
] | Current State: 38:[51, 78, 90, 77], Operations: []
Exploring Operation: 51+78=129, Resulting Numbers: [90, 77, 129]
Generated Node #2: [90, 77, 129] from Operation: 51+78=129
Current State: 38:[90, 77, 129], Operations: ['51+78=129']
Exploring Operation: 90+77=167, Resulting Numbers: [129, 167]
Generated Node #3: [129, 167] from Operation: 90+77=167
Current State: 38:[129, 167], Operations: ['51+78=129', '90+77=167']
Exploring Operation: 167-129=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[51, 78, 90, 77], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [51, 90, 1]
Generated Node #0,0: 38:[51, 90, 1] Operation: 78-77=1
Exploring Operation: 90-77=13, Resulting Numbers: [51, 78, 13]
Generated Node #0,1: 38:[51, 78, 13] Operation: 90-77=13
Exploring Operation: 90-78=12, Resulting Numbers: [51, 77, 12]
Generated Node #0,2: 38:[51, 77, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[51, 78, 13], Operations: ['90-77=13']
Exploring Operation: 78/13=6, Resulting Numbers: [51, 6]
Generated Node #0,1,0: 38:[51, 6] Operation: 78/13=6
Exploring Operation: 51-13=38, Resulting Numbers: [78, 38]
Generated Node #0,1,1: 38:[78, 38] Operation: 51-13=38
Exploring Operation: 78-51=27, Resulting Numbers: [13, 27]
Generated Node #0,1,2: 38:[13, 27] Operation: 78-51=27
Moving to Node #0,1,2
Current State: 38:[13, 27], Operations: ['90-77=13', '78-51=27']
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,38 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,38 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[51, 6], Operations: ['90-77=13', '78/13=6']
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,38 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[78, 38], Operations: ['90-77=13', '51-13=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,38 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,38 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[51, 77, 12], Operations: ['90-78=12']
Exploring Operation: 51-12=39, Resulting Numbers: [77, 39]
Generated Node #0,2,0: 38:[77, 39] Operation: 51-12=39
Exploring Operation: 77-51=26, Resulting Numbers: [12, 26]
Generated Node #0,2,1: 38:[12, 26] Operation: 77-51=26
Exploring Operation: 77-12=65, Resulting Numbers: [51, 65]
Generated Node #0,2,2: 38:[51, 65] Operation: 77-12=65
Moving to Node #0,2,1
Current State: 38:[12, 26], Operations: ['90-78=12', '77-51=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[51, 78, 90, 77], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [51, 77, 12]
Generated Node #0,2: 38:[51, 77, 12] Operation: 90-78=12
Moving to Node #0,2
Current State: 38:[51, 77, 12], Operations: ['90-78=12']
Exploring Operation: 77-51=26, Resulting Numbers: [12, 26]
Generated Node #0,2,1: 38:[12, 26] Operation: 77-51=26
Moving to Node #0,2,1
Current State: 38:[12, 26], Operations: ['90-78=12', '77-51=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
93,
92,
21,
78
] | 57 | [
"93-92=1",
"78-21=57",
"1*57=57"
] | Current State: 57:[93, 92, 21, 78], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [21, 78, 1]
Generated Node #2: [21, 78, 1] from Operation: 93-92=1
Current State: 57:[21, 78, 1], Operations: ['93-92=1']
Exploring Operation: 78-21=57, Resulting Numbers: [1, 57]
Generated Node #3: [1, 57] from Operation: 78-21=57
Current State: 57:[1, 57], Operations: ['93-92=1', '78-21=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[93, 92, 21, 78], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [21, 78, 1]
Generated Node #0,0: 57:[21, 78, 1] Operation: 93-92=1
Moving to Node #0,0
Current State: 57:[21, 78, 1], Operations: ['93-92=1']
Exploring Operation: 78-21=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 57:[1, 57] Operation: 78-21=57
Moving to Node #0,0,0
Current State: 57:[1, 57], Operations: ['93-92=1', '78-21=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[93, 92, 21, 78], Operations: []
Exploring Operation: 93-92=1, Resulting Numbers: [21, 78, 1]
Generated Node #0,0: 57:[21, 78, 1] Operation: 93-92=1
Moving to Node #0,0
Current State: 57:[21, 78, 1], Operations: ['93-92=1']
Exploring Operation: 78-21=57, Resulting Numbers: [1, 57]
Generated Node #0,0,0: 57:[1, 57] Operation: 78-21=57
Moving to Node #0,0,0
Current State: 57:[1, 57], Operations: ['93-92=1', '78-21=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
30,
6,
6,
74
] | 45 | [
"74-30=44",
"6/6=1",
"44+1=45"
] | Current State: 45:[30, 6, 6, 74], Operations: []
Exploring Operation: 74-30=44, Resulting Numbers: [6, 6, 44]
Generated Node #2: [6, 6, 44] from Operation: 74-30=44
Current State: 45:[6, 6, 44], Operations: ['74-30=44']
Exploring Operation: 6/6=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 6/6=1
Current State: 45:[44, 1], Operations: ['74-30=44', '6/6=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[30, 6, 6, 74], Operations: []
Exploring Operation: 30+6=36, Resulting Numbers: [6, 74, 36]
Generated Node #0,0: 45:[6, 74, 36] Operation: 30+6=36
Exploring Operation: 30/6=5, Resulting Numbers: [6, 74, 5]
Generated Node #0,1: 45:[6, 74, 5] Operation: 30/6=5
Exploring Operation: 30/6=5, Resulting Numbers: [6, 74, 5]
Generated Node #0,2: 45:[6, 74, 5] Operation: 30/6=5
Exploring Operation: 74-30=44, Resulting Numbers: [6, 6, 44]
Generated Node #0,3: 45:[6, 6, 44] Operation: 74-30=44
Moving to Node #0,3
Current State: 45:[6, 6, 44], Operations: ['74-30=44']
Exploring Operation: 6-6=0, Resulting Numbers: [44, 0]
Generated Node #0,3,0: 45:[44, 0] Operation: 6-6=0
Exploring Operation: 6+44=50, Resulting Numbers: [6, 50]
Generated Node #0,3,1: 45:[6, 50] Operation: 6+44=50
Exploring Operation: 6/6=1, Resulting Numbers: [44, 1]
Generated Node #0,3,2: 45:[44, 1] Operation: 6/6=1
Exploring Operation: 6+6=12, Resulting Numbers: [44, 12]
Generated Node #0,3,3: 45:[44, 12] Operation: 6+6=12
Moving to Node #0,2
Current State: 45:[6, 74, 5], Operations: ['30/6=5']
Exploring Operation: 6-5=1, Resulting Numbers: [74, 1]
Generated Node #0,2,0: 45:[74, 1] Operation: 6-5=1
Exploring Operation: 6+5=11, Resulting Numbers: [74, 11]
Generated Node #0,2,1: 45:[74, 11] Operation: 6+5=11
Exploring Operation: 74-6=68, Resulting Numbers: [5, 68]
Generated Node #0,2,2: 45:[5, 68] Operation: 74-6=68
Exploring Operation: 74-5=69, Resulting Numbers: [6, 69]
Generated Node #0,2,3: 45:[6, 69] Operation: 74-5=69
Moving to Node #0,1
Current State: 45:[6, 74, 5], Operations: ['30/6=5']
Exploring Operation: 74-6=68, Resulting Numbers: [5, 68]
Generated Node #0,1,0: 45:[5, 68] Operation: 74-6=68
Exploring Operation: 6-5=1, Resulting Numbers: [74, 1]
Generated Node #0,1,1: 45:[74, 1] Operation: 6-5=1
Exploring Operation: 6+5=11, Resulting Numbers: [74, 11]
Generated Node #0,1,2: 45:[74, 11] Operation: 6+5=11
Exploring Operation: 74-5=69, Resulting Numbers: [6, 69]
Generated Node #0,1,3: 45:[6, 69] Operation: 74-5=69
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[5, 68], Operations: ['30/6=5', '74-6=68']
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,45 unequal: No Solution
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,45 unequal: No Solution
No 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: 45:[6, 69], Operations: ['30/6=5', '74-5=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,45 unequal: No Solution
Exploring Operation: 6*69=414, Resulting Numbers: [414]
414,45 unequal: No Solution
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,45 unequal: No Solution
No 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: 45:[74, 1], Operations: ['30/6=5', '6-5=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,45 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,45 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,45 unequal: No Solution
No 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: 45:[74, 11], Operations: ['30/6=5', '6+5=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,45 unequal: No Solution
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,45 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,45 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: 45:[6, 74, 36], Operations: ['30+6=36']
Exploring Operation: 74-6=68, Resulting Numbers: [36, 68]
Generated Node #0,0,0: 45:[36, 68] Operation: 74-6=68
Exploring Operation: 36/6=6, Resulting Numbers: [74, 6]
Generated Node #0,0,1: 45:[74, 6] Operation: 36/6=6
Exploring Operation: 6+36=42, Resulting Numbers: [74, 42]
Generated Node #0,0,2: 45:[74, 42] Operation: 6+36=42
Exploring Operation: 74-36=38, Resulting Numbers: [6, 38]
Generated Node #0,0,3: 45:[6, 38] Operation: 74-36=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[6, 38], Operations: ['30+6=36', '74-36=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,45 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,45 unequal: No Solution
No 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: 45:[74, 6], Operations: ['30+6=36', '36/6=6']
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,45 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No 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: 45:[36, 68], Operations: ['30+6=36', '74-6=68']
Exploring Operation: 36*68=2448, Resulting Numbers: [2448]
2448,45 unequal: No Solution
Exploring Operation: 36+68=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,45 unequal: No Solution
No 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: 45:[74, 42], Operations: ['30+6=36', '6+36=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,45 unequal: No Solution
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 45:[44, 1], Operations: ['74-30=44', '6/6=1']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[30, 6, 6, 74], Operations: []
Exploring Operation: 74-30=44, Resulting Numbers: [6, 6, 44]
Generated Node #0,3: 45:[6, 6, 44] Operation: 74-30=44
Moving to Node #0,3
Current State: 45:[6, 6, 44], Operations: ['74-30=44']
Exploring Operation: 6/6=1, Resulting Numbers: [44, 1]
Generated Node #0,3,2: 45:[44, 1] Operation: 6/6=1
Moving to Node #0,3,2
Current State: 45:[44, 1], Operations: ['74-30=44', '6/6=1']
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
46,
44,
7,
28
] | 98 | [
"46-44=2",
"7*28=196",
"196/2=98"
] | Current State: 98:[46, 44, 7, 28], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [7, 28, 2]
Generated Node #2: [7, 28, 2] from Operation: 46-44=2
Current State: 98:[7, 28, 2], Operations: ['46-44=2']
Exploring Operation: 7*28=196, Resulting Numbers: [2, 196]
Generated Node #3: [2, 196] from Operation: 7*28=196
Current State: 98:[2, 196], Operations: ['46-44=2', '7*28=196']
Exploring Operation: 196/2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[46, 44, 7, 28], Operations: []
Exploring Operation: 44-28=16, Resulting Numbers: [46, 7, 16]
Generated Node #0,0: 98:[46, 7, 16] Operation: 44-28=16
Exploring Operation: 46-28=18, Resulting Numbers: [44, 7, 18]
Generated Node #0,1: 98:[44, 7, 18] Operation: 46-28=18
Moving to Node #0,0
Current State: 98:[46, 7, 16], Operations: ['44-28=16']
Exploring Operation: 46+7=53, Resulting Numbers: [16, 53]
Generated Node #0,0,0: 98:[16, 53] Operation: 46+7=53
Exploring Operation: 16-7=9, Resulting Numbers: [46, 9]
Generated Node #0,0,1: 98:[46, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[46, 9], Operations: ['44-28=16', '16-7=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[16, 53], Operations: ['44-28=16', '46+7=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,98 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: 98:[44, 7, 18], Operations: ['46-28=18']
Exploring Operation: 44+7=51, Resulting Numbers: [18, 51]
Generated Node #0,1,0: 98:[18, 51] Operation: 44+7=51
Exploring Operation: 18-7=11, Resulting Numbers: [44, 11]
Generated Node #0,1,1: 98:[44, 11] Operation: 18-7=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[18, 51], Operations: ['46-28=18', '44+7=51']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[44, 11], Operations: ['46-28=18', '18-7=11']
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
1,
26,
53
] | 98 | [
"19*1=19",
"26+53=79",
"19+79=98"
] | Current State: 98:[19, 1, 26, 53], Operations: []
Exploring Operation: 19*1=19, Resulting Numbers: [26, 53, 19]
Generated Node #2: [26, 53, 19] from Operation: 19*1=19
Current State: 98:[26, 53, 19], Operations: ['19*1=19']
Exploring Operation: 26+53=79, Resulting Numbers: [19, 79]
Generated Node #3: [19, 79] from Operation: 26+53=79
Current State: 98:[19, 79], Operations: ['19*1=19', '26+53=79']
Exploring Operation: 19+79=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[19, 1, 26, 53], Operations: []
Exploring Operation: 19+26=45, Resulting Numbers: [1, 53, 45]
Generated Node #0,0: 98:[1, 53, 45] Operation: 19+26=45
Exploring Operation: 53-26=27, Resulting Numbers: [19, 1, 27]
Generated Node #0,1: 98:[19, 1, 27] Operation: 53-26=27
Exploring Operation: 26-19=7, Resulting Numbers: [1, 53, 7]
Generated Node #0,2: 98:[1, 53, 7] Operation: 26-19=7
Exploring Operation: 19-1=18, Resulting Numbers: [26, 53, 18]
Generated Node #0,3: 98:[26, 53, 18] Operation: 19-1=18
Moving to Node #0,2
Current State: 98:[1, 53, 7], Operations: ['26-19=7']
Exploring Operation: 1*7=7, Resulting Numbers: [53, 7]
Generated Node #0,2,0: 98:[53, 7] Operation: 1*7=7
Exploring Operation: 1*53=53, Resulting Numbers: [7, 53]
Generated Node #0,2,1: 98:[7, 53] Operation: 1*53=53
Exploring Operation: 53-1=52, Resulting Numbers: [7, 52]
Generated Node #0,2,2: 98:[7, 52] Operation: 53-1=52
Exploring Operation: 53/1=53, Resulting Numbers: [7, 53]
Generated Node #0,2,3: 98:[7, 53] Operation: 53/1=53
Moving to Node #0,0
Current State: 98:[1, 53, 45], Operations: ['19+26=45']
Exploring Operation: 53-1=52, Resulting Numbers: [45, 52]
Generated Node #0,0,0: 98:[45, 52] Operation: 53-1=52
Exploring Operation: 53-45=8, Resulting Numbers: [1, 8]
Generated Node #0,0,1: 98:[1, 8] Operation: 53-45=8
Exploring Operation: 53+45=98, Resulting Numbers: [1, 98]
Generated Node #0,0,2: 98:[1, 98] Operation: 53+45=98
Exploring Operation: 1+45=46, Resulting Numbers: [53, 46]
Generated Node #0,0,3: 98:[53, 46] Operation: 1+45=46
Moving to Node #0,1
Current State: 98:[19, 1, 27], Operations: ['53-26=27']
Exploring Operation: 19+27=46, Resulting Numbers: [1, 46]
Generated Node #0,1,0: 98:[1, 46] Operation: 19+27=46
Exploring Operation: 27-1=26, Resulting Numbers: [19, 26]
Generated Node #0,1,1: 98:[19, 26] Operation: 27-1=26
Exploring Operation: 19-1=18, Resulting Numbers: [27, 18]
Generated Node #0,1,2: 98:[27, 18] Operation: 19-1=18
Exploring Operation: 27-19=8, Resulting Numbers: [1, 8]
Generated Node #0,1,3: 98:[1, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[1, 8], Operations: ['53-26=27', '27-19=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[1, 46], Operations: ['53-26=27', '19+27=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[19, 26], Operations: ['53-26=27', '27-1=26']
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,98 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[27, 18], Operations: ['53-26=27', '19-1=18']
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,98 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,98 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: 98:[26, 53, 18], Operations: ['19-1=18']
Exploring Operation: 53-26=27, Resulting Numbers: [18, 27]
Generated Node #0,3,0: 98:[18, 27] Operation: 53-26=27
Exploring Operation: 26+18=44, Resulting Numbers: [53, 44]
Generated Node #0,3,1: 98:[53, 44] Operation: 26+18=44
Exploring Operation: 26-18=8, Resulting Numbers: [53, 8]
Generated Node #0,3,2: 98:[53, 8] Operation: 26-18=8
Exploring Operation: 26+53=79, Resulting Numbers: [18, 79]
Generated Node #0,3,3: 98:[18, 79] Operation: 26+53=79
Moving to Node #0,0,2
Current State: 98:[1, 98], Operations: ['19+26=45', '53+45=98']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[19, 1, 26, 53], Operations: []
Exploring Operation: 19+26=45, Resulting Numbers: [1, 53, 45]
Generated Node #0,0: 98:[1, 53, 45] Operation: 19+26=45
Moving to Node #0,0
Current State: 98:[1, 53, 45], Operations: ['19+26=45']
Exploring Operation: 53+45=98, Resulting Numbers: [1, 98]
Generated Node #0,0,2: 98:[1, 98] Operation: 53+45=98
Moving to Node #0,0,2
Current State: 98:[1, 98], Operations: ['19+26=45', '53+45=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.965278 | hs_4 | mult_heuristic |
[
78,
54,
49,
84
] | 52 | [
"78+84=162",
"162/54=3",
"49+3=52"
] | Current State: 52:[78, 54, 49, 84], Operations: []
Exploring Operation: 78+84=162, Resulting Numbers: [54, 49, 162]
Generated Node #2: [54, 49, 162] from Operation: 78+84=162
Current State: 52:[54, 49, 162], Operations: ['78+84=162']
Exploring Operation: 162/54=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 162/54=3
Current State: 52:[49, 3], Operations: ['78+84=162', '162/54=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[78, 54, 49, 84], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [54, 49, 6]
Generated Node #0,0: 52:[54, 49, 6] Operation: 84-78=6
Exploring Operation: 78-54=24, Resulting Numbers: [49, 84, 24]
Generated Node #0,1: 52:[49, 84, 24] Operation: 78-54=24
Exploring Operation: 84-54=30, Resulting Numbers: [78, 49, 30]
Generated Node #0,2: 52:[78, 49, 30] Operation: 84-54=30
Moving to Node #0,0
Current State: 52:[54, 49, 6], Operations: ['84-78=6']
Exploring Operation: 54-6=48, Resulting Numbers: [49, 48]
Generated Node #0,0,0: 52:[49, 48] Operation: 54-6=48
Exploring Operation: 54-49=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 52:[6, 5] Operation: 54-49=5
Exploring Operation: 49+6=55, Resulting Numbers: [54, 55]
Generated Node #0,0,2: 52:[54, 55] Operation: 49+6=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[6, 5], Operations: ['84-78=6', '54-49=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,52 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[54, 55], Operations: ['84-78=6', '49+6=55']
Exploring Operation: 54+55=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 54*55=2970, Resulting Numbers: [2970]
2970,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[49, 48], Operations: ['84-78=6', '54-6=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,52 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,52 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: 52:[78, 49, 30], Operations: ['84-54=30']
Exploring Operation: 78-30=48, Resulting Numbers: [49, 48]
Generated Node #0,2,0: 52:[49, 48] Operation: 78-30=48
Exploring Operation: 78-49=29, Resulting Numbers: [30, 29]
Generated Node #0,2,1: 52:[30, 29] Operation: 78-49=29
Exploring Operation: 49-30=19, Resulting Numbers: [78, 19]
Generated Node #0,2,2: 52:[78, 19] Operation: 49-30=19
Moving to Node #0,1
Current State: 52:[49, 84, 24], Operations: ['78-54=24']
Exploring Operation: 84-24=60, Resulting Numbers: [49, 60]
Generated Node #0,1,0: 52:[49, 60] Operation: 84-24=60
Exploring Operation: 84-49=35, Resulting Numbers: [24, 35]
Generated Node #0,1,1: 52:[24, 35] Operation: 84-49=35
Exploring Operation: 49-24=25, Resulting Numbers: [84, 25]
Generated Node #0,1,2: 52:[84, 25] Operation: 49-24=25
Moving to Node #0,2,0
Current State: 52:[49, 48], Operations: ['84-54=30', '78-30=48']
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,52 unequal: No Solution
Moving to Node #0,2,1
Current State: 52:[30, 29], Operations: ['84-54=30', '78-49=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,52 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[24, 35], Operations: ['78-54=24', '84-49=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[49, 60], Operations: ['78-54=24', '84-24=60']
Exploring Operation: 49*60=2940, Resulting Numbers: [2940]
2940,52 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 49+60=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[78, 19], Operations: ['84-54=30', '49-30=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,52 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[84, 25], Operations: ['78-54=24', '49-24=25']
Exploring Operation: 84+25=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 84*25=2100, Resulting Numbers: [2100]
2100,52 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,52 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
90,
4,
35,
9
] | 42 | [
"90-4=86",
"35+9=44",
"86-44=42"
] | Current State: 42:[90, 4, 35, 9], Operations: []
Exploring Operation: 90-4=86, Resulting Numbers: [35, 9, 86]
Generated Node #2: [35, 9, 86] from Operation: 90-4=86
Current State: 42:[35, 9, 86], Operations: ['90-4=86']
Exploring Operation: 35+9=44, Resulting Numbers: [86, 44]
Generated Node #3: [86, 44] from Operation: 35+9=44
Current State: 42:[86, 44], Operations: ['90-4=86', '35+9=44']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[90, 4, 35, 9], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [4, 35, 10]
Generated Node #0,0: 42:[4, 35, 10] Operation: 90/9=10
Exploring Operation: 35+9=44, Resulting Numbers: [90, 4, 44]
Generated Node #0,1: 42:[90, 4, 44] Operation: 35+9=44
Exploring Operation: 90-4=86, Resulting Numbers: [35, 9, 86]
Generated Node #0,2: 42:[35, 9, 86] Operation: 90-4=86
Exploring Operation: 90-35=55, Resulting Numbers: [4, 9, 55]
Generated Node #0,3: 42:[4, 9, 55] Operation: 90-35=55
Exploring Operation: 90-9=81, Resulting Numbers: [4, 35, 81]
Generated Node #0,4: 42:[4, 35, 81] Operation: 90-9=81
Moving to Node #0,0
Current State: 42:[4, 35, 10], Operations: ['90/9=10']
Exploring Operation: 35+10=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 42:[4, 45] Operation: 35+10=45
Exploring Operation: 4+10=14, Resulting Numbers: [35, 14]
Generated Node #0,0,1: 42:[35, 14] Operation: 4+10=14
Exploring Operation: 4+35=39, Resulting Numbers: [10, 39]
Generated Node #0,0,2: 42:[10, 39] Operation: 4+35=39
Exploring Operation: 10-4=6, Resulting Numbers: [35, 6]
Generated Node #0,0,3: 42:[35, 6] Operation: 10-4=6
Exploring Operation: 35-10=25, Resulting Numbers: [4, 25]
Generated Node #0,0,4: 42:[4, 25] Operation: 35-10=25
Moving to Node #0,3
Current State: 42:[4, 9, 55], Operations: ['90-35=55']
Exploring Operation: 9-4=5, Resulting Numbers: [55, 5]
Generated Node #0,3,0: 42:[55, 5] Operation: 9-4=5
Exploring Operation: 55-9=46, Resulting Numbers: [4, 46]
Generated Node #0,3,1: 42:[4, 46] Operation: 55-9=46
Exploring Operation: 55-4=51, Resulting Numbers: [9, 51]
Generated Node #0,3,2: 42:[9, 51] Operation: 55-4=51
Exploring Operation: 4+9=13, Resulting Numbers: [55, 13]
Generated Node #0,3,3: 42:[55, 13] Operation: 4+9=13
Exploring Operation: 4*9=36, Resulting Numbers: [55, 36]
Generated Node #0,3,4: 42:[55, 36] Operation: 4*9=36
Moving to Node #0,4
Current State: 42:[4, 35, 81], Operations: ['90-9=81']
Exploring Operation: 4+35=39, Resulting Numbers: [81, 39]
Generated Node #0,4,0: 42:[81, 39] Operation: 4+35=39
Exploring Operation: 81-35=46, Resulting Numbers: [4, 46]
Generated Node #0,4,1: 42:[4, 46] Operation: 81-35=46
Exploring Operation: 81-4=77, Resulting Numbers: [35, 77]
Generated Node #0,4,2: 42:[35, 77] Operation: 81-4=77
Exploring Operation: 35-4=31, Resulting Numbers: [81, 31]
Generated Node #0,4,3: 42:[81, 31] Operation: 35-4=31
Exploring Operation: 4+81=85, Resulting Numbers: [35, 85]
Generated Node #0,4,4: 42:[35, 85] Operation: 4+81=85
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[4, 46], Operations: ['90-9=81', '81-35=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,42 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[90, 4, 35, 9], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [4, 35, 81]
Generated Node #0,4: 42:[4, 35, 81] Operation: 90-9=81
Moving to Node #0,4
Current State: 42:[4, 35, 81], Operations: ['90-9=81']
Exploring Operation: 81-35=46, Resulting Numbers: [4, 46]
Generated Node #0,4,1: 42:[4, 46] Operation: 81-35=46
Moving to Node #0,4,1
Current State: 42:[4, 46], Operations: ['90-9=81', '81-35=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
92,
10,
12,
72
] | 40 | [
"92-72=20",
"12-10=2",
"20*2=40"
] | Current State: 40:[92, 10, 12, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [10, 12, 20]
Generated Node #2: [10, 12, 20] from Operation: 92-72=20
Current State: 40:[10, 12, 20], Operations: ['92-72=20']
Exploring Operation: 12-10=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 12-10=2
Current State: 40:[20, 2], Operations: ['92-72=20', '12-10=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[92, 10, 12, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [10, 12, 20]
Generated Node #0,0: 40:[10, 12, 20] Operation: 92-72=20
Exploring Operation: 72/12=6, Resulting Numbers: [92, 10, 6]
Generated Node #0,1: 40:[92, 10, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [92, 10, 60]
Generated Node #0,2: 40:[92, 10, 60] Operation: 72-12=60
Exploring Operation: 92-12=80, Resulting Numbers: [10, 72, 80]
Generated Node #0,3: 40:[10, 72, 80] Operation: 92-12=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[10, 12, 20], Operations: ['92-72=20']
Exploring Operation: 20-12=8, Resulting Numbers: [10, 8]
Generated Node #0,0,0: 40:[10, 8] Operation: 20-12=8
Exploring Operation: 10+12=22, Resulting Numbers: [20, 22]
Generated Node #0,0,1: 40:[20, 22] Operation: 10+12=22
Exploring Operation: 20-10=10, Resulting Numbers: [12, 10]
Generated Node #0,0,2: 40:[12, 10] Operation: 20-10=10
Exploring Operation: 12-10=2, Resulting Numbers: [20, 2]
Generated Node #0,0,3: 40:[20, 2] Operation: 12-10=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[10, 8], Operations: ['92-72=20', '20-12=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,40 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,40 unequal: No Solution
No 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: 40:[20, 2], Operations: ['92-72=20', '12-10=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,40 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[92, 10, 12, 72], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [10, 12, 20]
Generated Node #0,0: 40:[10, 12, 20] Operation: 92-72=20
Moving to Node #0,0
Current State: 40:[10, 12, 20], Operations: ['92-72=20']
Exploring Operation: 12-10=2, Resulting Numbers: [20, 2]
Generated Node #0,0,3: 40:[20, 2] Operation: 12-10=2
Moving to Node #0,0,3
Current State: 40:[20, 2], Operations: ['92-72=20', '12-10=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
98,
97,
13,
45
] | 30 | [
"98+97=195",
"195/13=15",
"45-15=30"
] | Current State: 30:[98, 97, 13, 45], Operations: []
Exploring Operation: 98+97=195, Resulting Numbers: [13, 45, 195]
Generated Node #2: [13, 45, 195] from Operation: 98+97=195
Current State: 30:[13, 45, 195], Operations: ['98+97=195']
Exploring Operation: 195/13=15, Resulting Numbers: [45, 15]
Generated Node #3: [45, 15] from Operation: 195/13=15
Current State: 30:[45, 15], Operations: ['98+97=195', '195/13=15']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[98, 97, 13, 45], Operations: []
Exploring Operation: 98-13=85, Resulting Numbers: [97, 45, 85]
Generated Node #0,0: 30:[97, 45, 85] Operation: 98-13=85
Exploring Operation: 98-97=1, Resulting Numbers: [13, 45, 1]
Generated Node #0,1: 30:[13, 45, 1] Operation: 98-97=1
Exploring Operation: 98-45=53, Resulting Numbers: [97, 13, 53]
Generated Node #0,2: 30:[97, 13, 53] Operation: 98-45=53
Exploring Operation: 97-45=52, Resulting Numbers: [98, 13, 52]
Generated Node #0,3: 30:[98, 13, 52] Operation: 97-45=52
Moving to Node #0,1
Current State: 30:[13, 45, 1], Operations: ['98-97=1']
Exploring Operation: 13+1=14, Resulting Numbers: [45, 14]
Generated Node #0,1,0: 30:[45, 14] Operation: 13+1=14
Exploring Operation: 45-1=44, Resulting Numbers: [13, 44]
Generated Node #0,1,1: 30:[13, 44] Operation: 45-1=44
Exploring Operation: 45-13=32, Resulting Numbers: [1, 32]
Generated Node #0,1,2: 30:[1, 32] Operation: 45-13=32
Exploring Operation: 13*1=13, Resulting Numbers: [45, 13]
Generated Node #0,1,3: 30:[45, 13] Operation: 13*1=13
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[1, 32], Operations: ['98-97=1', '45-13=32']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[45, 14], Operations: ['98-97=1', '13+1=14']
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,30 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,30 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[13, 44], Operations: ['98-97=1', '45-1=44']
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,30 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[45, 13], Operations: ['98-97=1', '13*1=13']
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,30 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: 30:[98, 13, 52], Operations: ['97-45=52']
Exploring Operation: 98-13=85, Resulting Numbers: [52, 85]
Generated Node #0,3,0: 30:[52, 85] Operation: 98-13=85
Exploring Operation: 98-52=46, Resulting Numbers: [13, 46]
Generated Node #0,3,1: 30:[13, 46] Operation: 98-52=46
Exploring Operation: 52-13=39, Resulting Numbers: [98, 39]
Generated Node #0,3,2: 30:[98, 39] Operation: 52-13=39
Exploring Operation: 52/13=4, Resulting Numbers: [98, 4]
Generated Node #0,3,3: 30:[98, 4] Operation: 52/13=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[13, 46], Operations: ['97-45=52', '98-52=46']
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,30 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[98, 4], Operations: ['97-45=52', '52/13=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,30 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[52, 85], Operations: ['97-45=52', '98-13=85']
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 52+85=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Exploring Operation: 52*85=4420, Resulting Numbers: [4420]
4420,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[98, 39], Operations: ['97-45=52', '52-13=39']
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,30 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,30 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: 30:[97, 13, 53], Operations: ['98-45=53']
Exploring Operation: 53-13=40, Resulting Numbers: [97, 40]
Generated Node #0,2,0: 30:[97, 40] Operation: 53-13=40
Exploring Operation: 97-13=84, Resulting Numbers: [53, 84]
Generated Node #0,2,1: 30:[53, 84] Operation: 97-13=84
Exploring Operation: 97+13=110, Resulting Numbers: [53, 110]
Generated Node #0,2,2: 30:[53, 110] Operation: 97+13=110
Exploring Operation: 97-53=44, Resulting Numbers: [13, 44]
Generated Node #0,2,3: 30:[13, 44] Operation: 97-53=44
Moving to Node #0,0
Current State: 30:[97, 45, 85], Operations: ['98-13=85']
Exploring Operation: 97-45=52, Resulting Numbers: [85, 52]
Generated Node #0,0,0: 30:[85, 52] Operation: 97-45=52
Exploring Operation: 97+45=142, Resulting Numbers: [85, 142]
Generated Node #0,0,1: 30:[85, 142] Operation: 97+45=142
Exploring Operation: 97-85=12, Resulting Numbers: [45, 12]
Generated Node #0,0,2: 30:[45, 12] Operation: 97-85=12
Exploring Operation: 85-45=40, Resulting Numbers: [97, 40]
Generated Node #0,0,3: 30:[97, 40] Operation: 85-45=40
Moving to Node #0,2,3
Current State: 30:[13, 44], Operations: ['98-45=53', '97-53=44']
Exploring Operation: 13*44=572, Resulting Numbers: [572]
572,30 unequal: No Solution
Exploring Operation: 13+44=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[45, 12], Operations: ['98-13=85', '97-85=12']
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[53, 84], Operations: ['98-45=53', '97-13=84']
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,30 unequal: No Solution
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[85, 52], Operations: ['98-13=85', '97-45=52']
Exploring Operation: 85*52=4420, Resulting Numbers: [4420]
4420,30 unequal: No Solution
Exploring Operation: 85+52=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[97, 40], Operations: ['98-13=85', '85-45=40']
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[97, 40], Operations: ['98-45=53', '53-13=40']
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,30 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,30 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[53, 110], Operations: ['98-45=53', '97+13=110']
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 53+110=163, Resulting Numbers: [163]
163,30 unequal: No Solution
Exploring Operation: 53*110=5830, Resulting Numbers: [5830]
5830,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[85, 142], Operations: ['98-13=85', '97+45=142']
Exploring Operation: 85+142=227, Resulting Numbers: [227]
227,30 unequal: No Solution
Exploring Operation: 85*142=12070, Resulting Numbers: [12070]
12070,30 unequal: No Solution
Exploring Operation: 142-85=57, Resulting Numbers: [57]
57,30 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
33,
19,
45,
3
] | 26 | [
"19*45=855",
"3+855=858",
"858/33=26"
] | Current State: 26:[33, 19, 45, 3], Operations: []
Exploring Operation: 19*45=855, Resulting Numbers: [33, 3, 855]
Generated Node #2: [33, 3, 855] from Operation: 19*45=855
Current State: 26:[33, 3, 855], Operations: ['19*45=855']
Exploring Operation: 3+855=858, Resulting Numbers: [33, 858]
Generated Node #3: [33, 858] from Operation: 3+855=858
Current State: 26:[33, 858], Operations: ['19*45=855', '3+855=858']
Exploring Operation: 858/33=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[33, 19, 45, 3], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [19, 3, 12]
Generated Node #0,0: 26:[19, 3, 12] Operation: 45-33=12
Exploring Operation: 45-19=26, Resulting Numbers: [33, 3, 26]
Generated Node #0,1: 26:[33, 3, 26] Operation: 45-19=26
Moving to Node #0,0
Current State: 26:[19, 3, 12], Operations: ['45-33=12']
Exploring Operation: 19+3=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 26:[12, 22] Operation: 19+3=22
Exploring Operation: 19-3=16, Resulting Numbers: [12, 16]
Generated Node #0,0,1: 26:[12, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[12, 16], Operations: ['45-33=12', '19-3=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,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:[12, 22], Operations: ['45-33=12', '19+3=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,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:[33, 3, 26], Operations: ['45-19=26']
Exploring Operation: 33/3=11, Resulting Numbers: [26, 11]
Generated Node #0,1,0: 26:[26, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [26, 30]
Generated Node #0,1,1: 26:[26, 30] Operation: 33-3=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[26, 11], Operations: ['45-19=26', '33/3=11']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,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,1,1
Current State: 26:[26, 30], Operations: ['45-19=26', '33-3=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,26 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 |
[
44,
10,
17,
11
] | 11 | [
"44/11=4",
"17-10=7",
"4+7=11"
] | Current State: 11:[44, 10, 17, 11], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [10, 17, 4]
Generated Node #2: [10, 17, 4] from Operation: 44/11=4
Current State: 11:[10, 17, 4], Operations: ['44/11=4']
Exploring Operation: 17-10=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 17-10=7
Current State: 11:[4, 7], Operations: ['44/11=4', '17-10=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[44, 10, 17, 11], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [10, 17, 4]
Generated Node #0,0: 11:[10, 17, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [10, 17, 33]
Generated Node #0,1: 11:[10, 17, 33] Operation: 44-11=33
Exploring Operation: 44-17=27, Resulting Numbers: [10, 11, 27]
Generated Node #0,2: 11:[10, 11, 27] Operation: 44-17=27
Exploring Operation: 44-10=34, Resulting Numbers: [17, 11, 34]
Generated Node #0,3: 11:[17, 11, 34] Operation: 44-10=34
Moving to Node #0,0
Current State: 11:[10, 17, 4], Operations: ['44/11=4']
Exploring Operation: 17-10=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 11:[4, 7] Operation: 17-10=7
Exploring Operation: 17-4=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 11:[10, 13] Operation: 17-4=13
Exploring Operation: 10+4=14, Resulting Numbers: [17, 14]
Generated Node #0,0,2: 11:[17, 14] Operation: 10+4=14
Exploring Operation: 10-4=6, Resulting Numbers: [17, 6]
Generated Node #0,0,3: 11:[17, 6] Operation: 10-4=6
Moving to Node #0,2
Current State: 11:[10, 11, 27], Operations: ['44-17=27']
Exploring Operation: 27-11=16, Resulting Numbers: [10, 16]
Generated Node #0,2,0: 11:[10, 16] Operation: 27-11=16
Exploring Operation: 10+11=21, Resulting Numbers: [27, 21]
Generated Node #0,2,1: 11:[27, 21] Operation: 10+11=21
Exploring Operation: 11-10=1, Resulting Numbers: [27, 1]
Generated Node #0,2,2: 11:[27, 1] Operation: 11-10=1
Exploring Operation: 27-10=17, Resulting Numbers: [11, 17]
Generated Node #0,2,3: 11:[11, 17] Operation: 27-10=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[10, 16], Operations: ['44-17=27', '27-11=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[11, 17], Operations: ['44-17=27', '27-10=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,11 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[27, 21], Operations: ['44-17=27', '10+11=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,11 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[27, 1], Operations: ['44-17=27', '11-10=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,11 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: 11:[17, 11, 34], Operations: ['44-10=34']
Exploring Operation: 34/17=2, Resulting Numbers: [11, 2]
Generated Node #0,3,0: 11:[11, 2] Operation: 34/17=2
Exploring Operation: 17-11=6, Resulting Numbers: [34, 6]
Generated Node #0,3,1: 11:[34, 6] Operation: 17-11=6
Exploring Operation: 34-17=17, Resulting Numbers: [11, 17]
Generated Node #0,3,2: 11:[11, 17] Operation: 34-17=17
Exploring Operation: 34-11=23, Resulting Numbers: [17, 23]
Generated Node #0,3,3: 11:[17, 23] Operation: 34-11=23
Moving to Node #0,1
Current State: 11:[10, 17, 33], Operations: ['44-11=33']
Exploring Operation: 10+17=27, Resulting Numbers: [33, 27]
Generated Node #0,1,0: 11:[33, 27] Operation: 10+17=27
Exploring Operation: 33-10=23, Resulting Numbers: [17, 23]
Generated Node #0,1,1: 11:[17, 23] Operation: 33-10=23
Exploring Operation: 17-10=7, Resulting Numbers: [33, 7]
Generated Node #0,1,2: 11:[33, 7] Operation: 17-10=7
Exploring Operation: 33-17=16, Resulting Numbers: [10, 16]
Generated Node #0,1,3: 11:[10, 16] Operation: 33-17=16
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[10, 16], Operations: ['44-11=33', '33-17=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[17, 23], Operations: ['44-11=33', '33-10=23']
Exploring Operation: 17*23=391, Resulting Numbers: [391]
391,11 unequal: No Solution
Exploring Operation: 17+23=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[33, 7], Operations: ['44-11=33', '17-10=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,11 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[33, 27], Operations: ['44-11=33', '10+17=27']
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,11 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,11 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: 11:[10, 13], Operations: ['44/11=4', '17-4=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[11, 17], Operations: ['44-10=34', '34-17=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[11, 2], Operations: ['44-10=34', '34/17=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[17, 14], Operations: ['44/11=4', '10+4=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[4, 7], Operations: ['44/11=4', '17-10=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[44, 10, 17, 11], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [10, 17, 4]
Generated Node #0,0: 11:[10, 17, 4] Operation: 44/11=4
Moving to Node #0,0
Current State: 11:[10, 17, 4], Operations: ['44/11=4']
Exploring Operation: 17-10=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 11:[4, 7] Operation: 17-10=7
Moving to Node #0,0,0
Current State: 11:[4, 7], Operations: ['44/11=4', '17-10=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.945313 | hs_4 | sum_heuristic |
[
68,
60,
62,
2
] | 15 | [
"68-62=6",
"6-2=4",
"60/4=15"
] | Current State: 15:[68, 60, 62, 2], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [60, 2, 6]
Generated Node #2: [60, 2, 6] from Operation: 68-62=6
Current State: 15:[60, 2, 6], Operations: ['68-62=6']
Exploring Operation: 6-2=4, Resulting Numbers: [60, 4]
Generated Node #3: [60, 4] from Operation: 6-2=4
Current State: 15:[60, 4], Operations: ['68-62=6', '6-2=4']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[68, 60, 62, 2], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [60, 2, 6]
Generated Node #0,0: 15:[60, 2, 6] Operation: 68-62=6
Moving to Node #0,0
Current State: 15:[60, 2, 6], Operations: ['68-62=6']
Exploring Operation: 60/6=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 15:[2, 10] Operation: 60/6=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[2, 10], Operations: ['68-62=6', '60/6=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,15 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 |
[
31,
26,
17,
22
] | 93 | [
"31-26=5",
"22*5=110",
"110-17=93"
] | Current State: 93:[31, 26, 17, 22], Operations: []
Exploring Operation: 31-26=5, Resulting Numbers: [17, 22, 5]
Generated Node #2: [17, 22, 5] from Operation: 31-26=5
Current State: 93:[17, 22, 5], Operations: ['31-26=5']
Exploring Operation: 22*5=110, Resulting Numbers: [17, 110]
Generated Node #3: [17, 110] from Operation: 22*5=110
Current State: 93:[17, 110], Operations: ['31-26=5', '22*5=110']
Exploring Operation: 110-17=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[31, 26, 17, 22], Operations: []
Exploring Operation: 22-17=5, Resulting Numbers: [31, 26, 5]
Generated Node #0,0: 93:[31, 26, 5] Operation: 22-17=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[31, 26, 5], Operations: ['22-17=5']
Exploring Operation: 26+5=31, Resulting Numbers: [31, 31]
Generated Node #0,0,0: 93:[31, 31] Operation: 26+5=31
Moving to Node #0,0,0
Current State: 93:[31, 31], Operations: ['22-17=5', '26+5=31']
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
3,
26,
12
] | 79 | [
"26+12=38",
"2*38=76",
"3+76=79"
] | Current State: 79:[2, 3, 26, 12], Operations: []
Exploring Operation: 26+12=38, Resulting Numbers: [2, 3, 38]
Generated Node #2: [2, 3, 38] from Operation: 26+12=38
Current State: 79:[2, 3, 38], Operations: ['26+12=38']
Exploring Operation: 2*38=76, Resulting Numbers: [3, 76]
Generated Node #3: [3, 76] from Operation: 2*38=76
Current State: 79:[3, 76], Operations: ['26+12=38', '2*38=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[2, 3, 26, 12], Operations: []
Exploring Operation: 2*26=52, Resulting Numbers: [3, 12, 52]
Generated Node #0,0: 79:[3, 12, 52] Operation: 2*26=52
Exploring Operation: 3*26=78, Resulting Numbers: [2, 12, 78]
Generated Node #0,1: 79:[2, 12, 78] Operation: 3*26=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[2, 12, 78], Operations: ['3*26=78']
Exploring Operation: 2*12=24, Resulting Numbers: [78, 24]
Generated Node #0,1,0: 79:[78, 24] Operation: 2*12=24
Exploring Operation: 2+12=14, Resulting Numbers: [78, 14]
Generated Node #0,1,1: 79:[78, 14] Operation: 2+12=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[78, 24], Operations: ['3*26=78', '2*12=24']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,79 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[78, 14], Operations: ['3*26=78', '2+12=14']
Exploring Operation: 78+14=92, Resulting Numbers: [92]
92,79 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[3, 12, 52], Operations: ['2*26=52']
Exploring Operation: 3+12=15, Resulting Numbers: [52, 15]
Generated Node #0,0,0: 79:[52, 15] Operation: 3+12=15
Exploring Operation: 3*12=36, Resulting Numbers: [52, 36]
Generated Node #0,0,1: 79:[52, 36] Operation: 3*12=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[52, 36], Operations: ['2*26=52', '3*12=36']
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,79 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[52, 15], Operations: ['2*26=52', '3+12=15']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
67,
1,
22,
69
] | 70 | [
"1+22=23",
"69/23=3",
"67+3=70"
] | Current State: 70:[67, 1, 22, 69], Operations: []
Exploring Operation: 1+22=23, Resulting Numbers: [67, 69, 23]
Generated Node #2: [67, 69, 23] from Operation: 1+22=23
Current State: 70:[67, 69, 23], Operations: ['1+22=23']
Exploring Operation: 69/23=3, Resulting Numbers: [67, 3]
Generated Node #3: [67, 3] from Operation: 69/23=3
Current State: 70:[67, 3], Operations: ['1+22=23', '69/23=3']
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[67, 1, 22, 69], Operations: []
Exploring Operation: 22-1=21, Resulting Numbers: [67, 69, 21]
Generated Node #0,0: 70:[67, 69, 21] Operation: 22-1=21
Exploring Operation: 1+69=70, Resulting Numbers: [67, 22, 70]
Generated Node #0,1: 70:[67, 22, 70] Operation: 1+69=70
Exploring Operation: 67*1=67, Resulting Numbers: [22, 69, 67]
Generated Node #0,2: 70:[22, 69, 67] Operation: 67*1=67
Exploring Operation: 67+1=68, Resulting Numbers: [22, 69, 68]
Generated Node #0,3: 70:[22, 69, 68] Operation: 67+1=68
Exploring Operation: 69-67=2, Resulting Numbers: [1, 22, 2]
Generated Node #0,4: 70:[1, 22, 2] Operation: 69-67=2
Moving to Node #0,4
Current State: 70:[1, 22, 2], Operations: ['69-67=2']
Exploring Operation: 22/2=11, Resulting Numbers: [1, 11]
Generated Node #0,4,0: 70:[1, 11] Operation: 22/2=11
Exploring Operation: 22/1=22, Resulting Numbers: [2, 22]
Generated Node #0,4,1: 70:[2, 22] Operation: 22/1=22
Exploring Operation: 22-1=21, Resulting Numbers: [2, 21]
Generated Node #0,4,2: 70:[2, 21] Operation: 22-1=21
Exploring Operation: 1*22=22, Resulting Numbers: [2, 22]
Generated Node #0,4,3: 70:[2, 22] Operation: 1*22=22
Exploring Operation: 22-2=20, Resulting Numbers: [1, 20]
Generated Node #0,4,4: 70:[1, 20] Operation: 22-2=20
Moving to Node #0,1
Current State: 70:[67, 22, 70], Operations: ['1+69=70']
Exploring Operation: 70-67=3, Resulting Numbers: [22, 3]
Generated Node #0,1,0: 70:[22, 3] Operation: 70-67=3
Exploring Operation: 67+22=89, Resulting Numbers: [70, 89]
Generated Node #0,1,1: 70:[70, 89] Operation: 67+22=89
Exploring Operation: 70-22=48, Resulting Numbers: [67, 48]
Generated Node #0,1,2: 70:[67, 48] Operation: 70-22=48
Exploring Operation: 22+70=92, Resulting Numbers: [67, 92]
Generated Node #0,1,3: 70:[67, 92] Operation: 22+70=92
Exploring Operation: 67-22=45, Resulting Numbers: [70, 45]
Generated Node #0,1,4: 70:[70, 45] Operation: 67-22=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[22, 3], Operations: ['1+69=70', '70-67=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 70:[70, 45], Operations: ['1+69=70', '67-22=45']
Exploring Operation: 70*45=3150, Resulting Numbers: [3150]
3150,70 unequal: No Solution
Exploring Operation: 70+45=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[67, 48], Operations: ['1+69=70', '70-22=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[70, 89], Operations: ['1+69=70', '67+22=89']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,70 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[67, 92], Operations: ['1+69=70', '22+70=92']
Exploring Operation: 92-67=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 67+92=159, Resulting Numbers: [159]
159,70 unequal: No Solution
Exploring Operation: 67*92=6164, Resulting Numbers: [6164]
6164,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[67, 69, 21], Operations: ['22-1=21']
Exploring Operation: 67+21=88, Resulting Numbers: [69, 88]
Generated Node #0,0,0: 70:[69, 88] Operation: 67+21=88
Exploring Operation: 67-21=46, Resulting Numbers: [69, 46]
Generated Node #0,0,1: 70:[69, 46] Operation: 67-21=46
Exploring Operation: 69-67=2, Resulting Numbers: [21, 2]
Generated Node #0,0,2: 70:[21, 2] Operation: 69-67=2
Exploring Operation: 69-21=48, Resulting Numbers: [67, 48]
Generated Node #0,0,3: 70:[67, 48] Operation: 69-21=48
Exploring Operation: 69+21=90, Resulting Numbers: [67, 90]
Generated Node #0,0,4: 70:[67, 90] Operation: 69+21=90
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[21, 2], Operations: ['22-1=21', '69-67=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[69, 46], Operations: ['22-1=21', '67-21=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 70:[67, 48], Operations: ['22-1=21', '69-21=48']
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,70 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[69, 88], Operations: ['22-1=21', '67+21=88']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,70 unequal: No Solution
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 70:[67, 90], Operations: ['22-1=21', '69+21=90']
Exploring Operation: 67+90=157, Resulting Numbers: [157]
157,70 unequal: No Solution
Exploring Operation: 67*90=6030, Resulting Numbers: [6030]
6030,70 unequal: No Solution
Exploring Operation: 90-67=23, Resulting Numbers: [23]
23,70 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: 70:[22, 69, 68], Operations: ['67+1=68']
Exploring Operation: 69-22=47, Resulting Numbers: [68, 47]
Generated Node #0,3,0: 70:[68, 47] Operation: 69-22=47
Exploring Operation: 69-68=1, Resulting Numbers: [22, 1]
Generated Node #0,3,1: 70:[22, 1] Operation: 69-68=1
Exploring Operation: 68-22=46, Resulting Numbers: [69, 46]
Generated Node #0,3,2: 70:[69, 46] Operation: 68-22=46
Exploring Operation: 22+68=90, Resulting Numbers: [69, 90]
Generated Node #0,3,3: 70:[69, 90] Operation: 22+68=90
Exploring Operation: 22+69=91, Resulting Numbers: [68, 91]
Generated Node #0,3,4: 70:[68, 91] Operation: 22+69=91
Moving to Node #0,2
Current State: 70:[22, 69, 67], Operations: ['67*1=67']
Exploring Operation: 22+67=89, Resulting Numbers: [69, 89]
Generated Node #0,2,0: 70:[69, 89] Operation: 22+67=89
Exploring Operation: 22+69=91, Resulting Numbers: [67, 91]
Generated Node #0,2,1: 70:[67, 91] Operation: 22+69=91
Exploring Operation: 69-22=47, Resulting Numbers: [67, 47]
Generated Node #0,2,2: 70:[67, 47] Operation: 69-22=47
Exploring Operation: 69-67=2, Resulting Numbers: [22, 2]
Generated Node #0,2,3: 70:[22, 2] Operation: 69-67=2
Exploring Operation: 67-22=45, Resulting Numbers: [69, 45]
Generated Node #0,2,4: 70:[69, 45] Operation: 67-22=45
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[22, 2], Operations: ['67*1=67', '69-67=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[69, 45], Operations: ['67*1=67', '67-22=45']
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[67, 47], Operations: ['67*1=67', '69-22=47']
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,70 unequal: No Solution
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[69, 89], Operations: ['67*1=67', '22+67=89']
Exploring Operation: 69*89=6141, Resulting Numbers: [6141]
6141,70 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 69+89=158, Resulting Numbers: [158]
158,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[67, 91], Operations: ['67*1=67', '22+69=91']
Exploring Operation: 91-67=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 67+91=158, Resulting Numbers: [158]
158,70 unequal: No Solution
Exploring Operation: 67*91=6097, Resulting Numbers: [6097]
6097,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 70:[1, 11], Operations: ['69-67=2', '22/2=11']
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,70 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Moving to Node #0,4,4
Current State: 70:[1, 20], Operations: ['69-67=2', '22-2=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,4,2
Current State: 70:[2, 21], Operations: ['69-67=2', '22-1=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Moving to Node #0,4,3
Current State: 70:[2, 22], Operations: ['69-67=2', '1*22=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Moving to Node #0,4,1
Current State: 70:[2, 22], Operations: ['69-67=2', '22/1=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[22, 1], Operations: ['67+1=68', '69-68=1']
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,70 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,3,2
Current State: 70:[69, 46], Operations: ['67+1=68', '68-22=46']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 69*46=3174, Resulting Numbers: [3174]
3174,70 unequal: No Solution
Exploring Operation: 69+46=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Moving to Node #0,3,0
Current State: 70:[68, 47], Operations: ['67+1=68', '69-22=47']
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,70 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[69, 90], Operations: ['67+1=68', '22+68=90']
Exploring Operation: 69+90=159, Resulting Numbers: [159]
159,70 unequal: No Solution
Exploring Operation: 69*90=6210, Resulting Numbers: [6210]
6210,70 unequal: No Solution
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,70 unequal: No Solution
Moving to Node #0,3,4
Current State: 70:[68, 91], Operations: ['67+1=68', '22+69=91']
Exploring Operation: 68*91=6188, Resulting Numbers: [6188]
6188,70 unequal: No Solution
Exploring Operation: 91-68=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 68+91=159, Resulting Numbers: [159]
159,70 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
67,
3,
70
] | 15 | [
"67-2=65",
"70-65=5",
"3*5=15"
] | Current State: 15:[2, 67, 3, 70], Operations: []
Exploring Operation: 67-2=65, Resulting Numbers: [3, 70, 65]
Generated Node #2: [3, 70, 65] from Operation: 67-2=65
Current State: 15:[3, 70, 65], Operations: ['67-2=65']
Exploring Operation: 70-65=5, Resulting Numbers: [3, 5]
Generated Node #3: [3, 5] from Operation: 70-65=5
Current State: 15:[3, 5], Operations: ['67-2=65', '70-65=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[2, 67, 3, 70], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [67, 3, 35]
Generated Node #0,0: 15:[67, 3, 35] Operation: 70/2=35
Exploring Operation: 70-67=3, Resulting Numbers: [2, 3, 3]
Generated Node #0,1: 15:[2, 3, 3] Operation: 70-67=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[2, 3, 3], Operations: ['70-67=3']
Exploring Operation: 2+3=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 15:[3, 5] Operation: 2+3=5
Exploring Operation: 2+3=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 15:[3, 5] Operation: 2+3=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[3, 5], Operations: ['70-67=3', '2+3=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[2, 67, 3, 70], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [2, 3, 3]
Generated Node #0,1: 15:[2, 3, 3] Operation: 70-67=3
Moving to Node #0,1
Current State: 15:[2, 3, 3], Operations: ['70-67=3']
Exploring Operation: 2+3=5, Resulting Numbers: [3, 5]
Generated Node #0,1,0: 15:[3, 5] Operation: 2+3=5
Moving to Node #0,1,0
Current State: 15:[3, 5], Operations: ['70-67=3', '2+3=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.