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 |
|---|---|---|---|---|---|---|---|---|
[
6,
33,
27,
44
] | 54 | [
"33+27=60",
"60/6=10",
"44+10=54"
] | Current State: 54:[6, 33, 27, 44], Operations: []
Exploring Operation: 33+27=60, Resulting Numbers: [6, 44, 60]
Generated Node #2: [6, 44, 60] from Operation: 33+27=60
Current State: 54:[6, 44, 60], Operations: ['33+27=60']
Exploring Operation: 60/6=10, Resulting Numbers: [44, 10]
Generated Node #3: [44, 10] from Operation: 60/6=10
Current State: 54:[44, 10], Operations: ['33+27=60', '60/6=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[6, 33, 27, 44], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [27, 44, 27]
Generated Node #0,0: 54:[27, 44, 27] Operation: 33-6=27
Exploring Operation: 44-27=17, Resulting Numbers: [6, 33, 17]
Generated Node #0,1: 54:[6, 33, 17] Operation: 44-27=17
Exploring Operation: 44-33=11, Resulting Numbers: [6, 27, 11]
Generated Node #0,2: 54:[6, 27, 11] Operation: 44-33=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[6, 27, 11], Operations: ['44-33=11']
Exploring Operation: 11-6=5, Resulting Numbers: [27, 5]
Generated Node #0,2,0: 54:[27, 5] Operation: 11-6=5
Exploring Operation: 27-11=16, Resulting Numbers: [6, 16]
Generated Node #0,2,1: 54:[6, 16] Operation: 27-11=16
Exploring Operation: 6+11=17, Resulting Numbers: [27, 17]
Generated Node #0,2,2: 54:[27, 17] Operation: 6+11=17
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[27, 5], Operations: ['44-33=11', '11-6=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[27, 17], Operations: ['44-33=11', '6+11=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,54 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[6, 16], Operations: ['44-33=11', '27-11=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[6, 33, 17], Operations: ['44-27=17']
Exploring Operation: 33-6=27, Resulting Numbers: [17, 27]
Generated Node #0,1,0: 54:[17, 27] Operation: 33-6=27
Exploring Operation: 33-17=16, Resulting Numbers: [6, 16]
Generated Node #0,1,1: 54:[6, 16] Operation: 33-17=16
Exploring Operation: 33+17=50, Resulting Numbers: [6, 50]
Generated Node #0,1,2: 54:[6, 50] Operation: 33+17=50
Moving to Node #0,1,0
Current State: 54:[17, 27], Operations: ['44-27=17', '33-6=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,54 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[6, 16], Operations: ['44-27=17', '33-17=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,54 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[6, 50], Operations: ['44-27=17', '33+17=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[27, 44, 27], Operations: ['33-6=27']
Exploring Operation: 27+27=54, Resulting Numbers: [44, 54]
Generated Node #0,0,0: 54:[44, 54] Operation: 27+27=54
Exploring Operation: 44-27=17, Resulting Numbers: [27, 17]
Generated Node #0,0,1: 54:[27, 17] Operation: 44-27=17
Exploring Operation: 44-27=17, Resulting Numbers: [27, 17]
Generated Node #0,0,2: 54:[27, 17] Operation: 44-27=17
Moving to Node #0,0,1
Current State: 54:[27, 17], Operations: ['33-6=27', '44-27=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,54 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[27, 17], Operations: ['33-6=27', '44-27=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,54 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[44, 54], Operations: ['33-6=27', '27+27=54']
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,54 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,54 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 |
[
34,
75,
77,
19
] | 55 | [
"75-34=41",
"77+19=96",
"96-41=55"
] | Current State: 55:[34, 75, 77, 19], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [77, 19, 41]
Generated Node #2: [77, 19, 41] from Operation: 75-34=41
Current State: 55:[77, 19, 41], Operations: ['75-34=41']
Exploring Operation: 77+19=96, Resulting Numbers: [41, 96]
Generated Node #3: [41, 96] from Operation: 77+19=96
Current State: 55:[41, 96], Operations: ['75-34=41', '77+19=96']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[34, 75, 77, 19], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [34, 19, 2]
Generated Node #0,0: 55:[34, 19, 2] Operation: 77-75=2
Exploring Operation: 77-34=43, Resulting Numbers: [75, 19, 43]
Generated Node #0,1: 55:[75, 19, 43] Operation: 77-34=43
Exploring Operation: 34+19=53, Resulting Numbers: [75, 77, 53]
Generated Node #0,2: 55:[75, 77, 53] Operation: 34+19=53
Exploring Operation: 75-34=41, Resulting Numbers: [77, 19, 41]
Generated Node #0,3: 55:[77, 19, 41] Operation: 75-34=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[34, 19, 2], Operations: ['77-75=2']
Exploring Operation: 34+19=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 55:[2, 53] Operation: 34+19=53
Exploring Operation: 34-19=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 55:[2, 15] Operation: 34-19=15
Exploring Operation: 34*2=68, Resulting Numbers: [19, 68]
Generated Node #0,0,2: 55:[19, 68] Operation: 34*2=68
Exploring Operation: 34/2=17, Resulting Numbers: [19, 17]
Generated Node #0,0,3: 55:[19, 17] Operation: 34/2=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[2, 53], Operations: ['77-75=2', '34+19=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,55 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[34, 75, 77, 19], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [34, 19, 2]
Generated Node #0,0: 55:[34, 19, 2] Operation: 77-75=2
Moving to Node #0,0
Current State: 55:[34, 19, 2], Operations: ['77-75=2']
Exploring Operation: 34+19=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 55:[2, 53] Operation: 34+19=53
Moving to Node #0,0,0
Current State: 55:[2, 53], Operations: ['77-75=2', '34+19=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
70,
4,
23,
4
] | 70 | [
"4-4=0",
"23*0=0",
"70+0=70"
] | Current State: 70:[70, 4, 23, 4], Operations: []
Exploring Operation: 4-4=0, Resulting Numbers: [70, 23, 0]
Generated Node #2: [70, 23, 0] from Operation: 4-4=0
Current State: 70:[70, 23, 0], Operations: ['4-4=0']
Exploring Operation: 23*0=0, Resulting Numbers: [70, 0]
Generated Node #3: [70, 0] from Operation: 23*0=0
Current State: 70:[70, 0], Operations: ['4-4=0', '23*0=0']
Exploring Operation: 70+0=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[70, 4, 23, 4], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [70, 4, 19]
Generated Node #0,0: 70:[70, 4, 19] Operation: 23-4=19
Exploring Operation: 23+4=27, Resulting Numbers: [70, 4, 27]
Generated Node #0,1: 70:[70, 4, 27] Operation: 23+4=27
Exploring Operation: 4+23=27, Resulting Numbers: [70, 4, 27]
Generated Node #0,2: 70:[70, 4, 27] Operation: 4+23=27
Exploring Operation: 23-4=19, Resulting Numbers: [70, 4, 19]
Generated Node #0,3: 70:[70, 4, 19] Operation: 23-4=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[70, 4, 19], Operations: ['23-4=19']
Exploring Operation: 70-4=66, Resulting Numbers: [19, 66]
Generated Node #0,0,0: 70:[19, 66] Operation: 70-4=66
Exploring Operation: 70+4=74, Resulting Numbers: [19, 74]
Generated Node #0,0,1: 70:[19, 74] Operation: 70+4=74
Exploring Operation: 4*19=76, Resulting Numbers: [70, 76]
Generated Node #0,0,2: 70:[70, 76] Operation: 4*19=76
Exploring Operation: 19-4=15, Resulting Numbers: [70, 15]
Generated Node #0,0,3: 70:[70, 15] Operation: 19-4=15
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[70, 15], Operations: ['23-4=19', '19-4=15']
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,70 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,70 unequal: No Solution
No 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: 70:[70, 76], Operations: ['23-4=19', '4*19=76']
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,70 unequal: No Solution
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,70 unequal: No Solution
No 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: 70:[19, 66], Operations: ['23-4=19', '70-4=66']
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,70 unequal: No Solution
No 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: 70:[19, 74], Operations: ['23-4=19', '70+4=74']
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,70 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[70, 4, 19], Operations: ['23-4=19']
Exploring Operation: 70+4=74, Resulting Numbers: [19, 74]
Generated Node #0,3,0: 70:[19, 74] Operation: 70+4=74
Exploring Operation: 4*19=76, Resulting Numbers: [70, 76]
Generated Node #0,3,1: 70:[70, 76] Operation: 4*19=76
Exploring Operation: 19-4=15, Resulting Numbers: [70, 15]
Generated Node #0,3,2: 70:[70, 15] Operation: 19-4=15
Exploring Operation: 70-4=66, Resulting Numbers: [19, 66]
Generated Node #0,3,3: 70:[19, 66] Operation: 70-4=66
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[70, 15], Operations: ['23-4=19', '19-4=15']
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,70 unequal: No Solution
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,70 unequal: No Solution
No 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: 70:[70, 76], Operations: ['23-4=19', '4*19=76']
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,70 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,70 unequal: No Solution
No 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: 70:[19, 74], Operations: ['23-4=19', '70+4=74']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Exploring Operation: 19+74=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 19*74=1406, Resulting Numbers: [1406]
1406,70 unequal: No Solution
No 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: 70:[19, 66], Operations: ['23-4=19', '70-4=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,70 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,70 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[70, 4, 27], Operations: ['23+4=27']
Exploring Operation: 27-4=23, Resulting Numbers: [70, 23]
Generated Node #0,1,0: 70:[70, 23] Operation: 27-4=23
Exploring Operation: 70-27=43, Resulting Numbers: [4, 43]
Generated Node #0,1,1: 70:[4, 43] Operation: 70-27=43
Exploring Operation: 4+27=31, Resulting Numbers: [70, 31]
Generated Node #0,1,2: 70:[70, 31] Operation: 4+27=31
Exploring Operation: 70+4=74, Resulting Numbers: [27, 74]
Generated Node #0,1,3: 70:[27, 74] Operation: 70+4=74
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[70, 31], Operations: ['23+4=27', '4+27=31']
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,70 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,70 unequal: No Solution
No 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: 70:[70, 23], Operations: ['23+4=27', '27-4=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,70 unequal: No Solution
No 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: 70:[4, 43], Operations: ['23+4=27', '70-27=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,70 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,70 unequal: No Solution
No 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: 70:[27, 74], Operations: ['23+4=27', '70+4=74']
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,70 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[70, 4, 27], Operations: ['4+23=27']
Exploring Operation: 70-27=43, Resulting Numbers: [4, 43]
Generated Node #0,2,0: 70:[4, 43] Operation: 70-27=43
Exploring Operation: 70+4=74, Resulting Numbers: [27, 74]
Generated Node #0,2,1: 70:[27, 74] Operation: 70+4=74
Exploring Operation: 27-4=23, Resulting Numbers: [70, 23]
Generated Node #0,2,2: 70:[70, 23] Operation: 27-4=23
Exploring Operation: 4+27=31, Resulting Numbers: [70, 31]
Generated Node #0,2,3: 70:[70, 31] Operation: 4+27=31
Moving to Node #0,2,3
Current State: 70:[70, 31], Operations: ['4+23=27', '4+27=31']
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,70 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[70, 23], Operations: ['4+23=27', '27-4=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[4, 43], Operations: ['4+23=27', '70-27=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,70 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[27, 74], Operations: ['4+23=27', '70+4=74']
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,70 unequal: No Solution
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,70 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,70 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 |
[
68,
32,
8,
7
] | 10 | [
"68*8=544",
"544/32=17",
"17-7=10"
] | Current State: 10:[68, 32, 8, 7], Operations: []
Exploring Operation: 68*8=544, Resulting Numbers: [32, 7, 544]
Generated Node #2: [32, 7, 544] from Operation: 68*8=544
Current State: 10:[32, 7, 544], Operations: ['68*8=544']
Exploring Operation: 544/32=17, Resulting Numbers: [7, 17]
Generated Node #3: [7, 17] from Operation: 544/32=17
Current State: 10:[7, 17], Operations: ['68*8=544', '544/32=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[68, 32, 8, 7], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [68, 7, 4]
Generated Node #0,0: 10:[68, 7, 4] Operation: 32/8=4
Exploring Operation: 68-32=36, Resulting Numbers: [8, 7, 36]
Generated Node #0,1: 10:[8, 7, 36] Operation: 68-32=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[8, 7, 36], Operations: ['68-32=36']
Exploring Operation: 36-8=28, Resulting Numbers: [7, 28]
Generated Node #0,1,0: 10:[7, 28] Operation: 36-8=28
Exploring Operation: 36-7=29, Resulting Numbers: [8, 29]
Generated Node #0,1,1: 10:[8, 29] Operation: 36-7=29
Moving to Node #0,1,0
Current State: 10:[7, 28], Operations: ['68-32=36', '36-8=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[8, 29], Operations: ['68-32=36', '36-7=29']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[68, 7, 4], Operations: ['32/8=4']
Exploring Operation: 68-7=61, Resulting Numbers: [4, 61]
Generated Node #0,0,0: 10:[4, 61] Operation: 68-7=61
Exploring Operation: 68/4=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 10:[7, 17] Operation: 68/4=17
Moving to Node #0,0,1
Current State: 10:[7, 17], Operations: ['32/8=4', '68/4=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[68, 32, 8, 7], Operations: []
Exploring Operation: 32/8=4, Resulting Numbers: [68, 7, 4]
Generated Node #0,0: 10:[68, 7, 4] Operation: 32/8=4
Moving to Node #0,0
Current State: 10:[68, 7, 4], Operations: ['32/8=4']
Exploring Operation: 68/4=17, Resulting Numbers: [7, 17]
Generated Node #0,0,1: 10:[7, 17] Operation: 68/4=17
Moving to Node #0,0,1
Current State: 10:[7, 17], Operations: ['32/8=4', '68/4=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
85,
33,
51,
71
] | 72 | [
"85-33=52",
"71-51=20",
"52+20=72"
] | Current State: 72:[85, 33, 51, 71], Operations: []
Exploring Operation: 85-33=52, Resulting Numbers: [51, 71, 52]
Generated Node #2: [51, 71, 52] from Operation: 85-33=52
Current State: 72:[51, 71, 52], Operations: ['85-33=52']
Exploring Operation: 71-51=20, Resulting Numbers: [52, 20]
Generated Node #3: [52, 20] from Operation: 71-51=20
Current State: 72:[52, 20], Operations: ['85-33=52', '71-51=20']
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[85, 33, 51, 71], Operations: []
Exploring Operation: 85-51=34, Resulting Numbers: [33, 71, 34]
Generated Node #0,0: 72:[33, 71, 34] Operation: 85-51=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[33, 71, 34], Operations: ['85-51=34']
Exploring Operation: 34-33=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 72:[71, 1] Operation: 34-33=1
Moving to Node #0,0,0
Current State: 72:[71, 1], Operations: ['85-51=34', '34-33=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[85, 33, 51, 71], Operations: []
Exploring Operation: 85-51=34, Resulting Numbers: [33, 71, 34]
Generated Node #0,0: 72:[33, 71, 34] Operation: 85-51=34
Moving to Node #0,0
Current State: 72:[33, 71, 34], Operations: ['85-51=34']
Exploring Operation: 34-33=1, Resulting Numbers: [71, 1]
Generated Node #0,0,0: 72:[71, 1] Operation: 34-33=1
Moving to Node #0,0,0
Current State: 72:[71, 1], Operations: ['85-51=34', '34-33=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
37,
73,
81,
65
] | 35 | [
"81+65=146",
"146/73=2",
"37-2=35"
] | Current State: 35:[37, 73, 81, 65], Operations: []
Exploring Operation: 81+65=146, Resulting Numbers: [37, 73, 146]
Generated Node #2: [37, 73, 146] from Operation: 81+65=146
Current State: 35:[37, 73, 146], Operations: ['81+65=146']
Exploring Operation: 146/73=2, Resulting Numbers: [37, 2]
Generated Node #3: [37, 2] from Operation: 146/73=2
Current State: 35:[37, 2], Operations: ['81+65=146', '146/73=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[37, 73, 81, 65], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [37, 65, 8]
Generated Node #0,0: 35:[37, 65, 8] Operation: 81-73=8
Exploring Operation: 73-65=8, Resulting Numbers: [37, 81, 8]
Generated Node #0,1: 35:[37, 81, 8] Operation: 73-65=8
Moving to Node #0,0
Current State: 35:[37, 65, 8], Operations: ['81-73=8']
Exploring Operation: 65-37=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 35:[8, 28] Operation: 65-37=28
Exploring Operation: 65-8=57, Resulting Numbers: [37, 57]
Generated Node #0,0,1: 35:[37, 57] Operation: 65-8=57
Moving to Node #0,1
Current State: 35:[37, 81, 8], Operations: ['73-65=8']
Exploring Operation: 81-8=73, Resulting Numbers: [37, 73]
Generated Node #0,1,0: 35:[37, 73] Operation: 81-8=73
Exploring Operation: 81-37=44, Resulting Numbers: [8, 44]
Generated Node #0,1,1: 35:[8, 44] Operation: 81-37=44
Moving to Node #0,0,0
Current State: 35:[8, 28], Operations: ['81-73=8', '65-37=28']
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[8, 44], Operations: ['73-65=8', '81-37=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[37, 57], Operations: ['81-73=8', '65-8=57']
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[37, 73], Operations: ['73-65=8', '81-8=73']
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 37+73=110, Resulting Numbers: [110]
110,35 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
16,
59,
77
] | 27 | [
"25-16=9",
"77-59=18",
"9+18=27"
] | Current State: 27:[25, 16, 59, 77], Operations: []
Exploring Operation: 25-16=9, Resulting Numbers: [59, 77, 9]
Generated Node #2: [59, 77, 9] from Operation: 25-16=9
Current State: 27:[59, 77, 9], Operations: ['25-16=9']
Exploring Operation: 77-59=18, Resulting Numbers: [9, 18]
Generated Node #3: [9, 18] from Operation: 77-59=18
Current State: 27:[9, 18], Operations: ['25-16=9', '77-59=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[25, 16, 59, 77], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [25, 16, 18]
Generated Node #0,0: 27:[25, 16, 18] Operation: 77-59=18
Moving to Node #0,0
Current State: 27:[25, 16, 18], Operations: ['77-59=18']
Exploring Operation: 18-16=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 27:[25, 2] Operation: 18-16=2
Moving to Node #0,0,0
Current State: 27:[25, 2], Operations: ['77-59=18', '18-16=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[25, 16, 59, 77], Operations: []
Exploring Operation: 77-59=18, Resulting Numbers: [25, 16, 18]
Generated Node #0,0: 27:[25, 16, 18] Operation: 77-59=18
Moving to Node #0,0
Current State: 27:[25, 16, 18], Operations: ['77-59=18']
Exploring Operation: 18-16=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 27:[25, 2] Operation: 18-16=2
Moving to Node #0,0,0
Current State: 27:[25, 2], Operations: ['77-59=18', '18-16=2']
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
28,
34,
22,
10
] | 88 | [
"34-28=6",
"10-6=4",
"22*4=88"
] | Current State: 88:[28, 34, 22, 10], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [22, 10, 6]
Generated Node #2: [22, 10, 6] from Operation: 34-28=6
Current State: 88:[22, 10, 6], Operations: ['34-28=6']
Exploring Operation: 10-6=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 10-6=4
Current State: 88:[22, 4], Operations: ['34-28=6', '10-6=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[28, 34, 22, 10], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [34, 10, 6]
Generated Node #0,0: 88:[34, 10, 6] Operation: 28-22=6
Exploring Operation: 34-10=24, Resulting Numbers: [28, 22, 24]
Generated Node #0,1: 88:[28, 22, 24] Operation: 34-10=24
Exploring Operation: 34+10=44, Resulting Numbers: [28, 22, 44]
Generated Node #0,2: 88:[28, 22, 44] Operation: 34+10=44
Exploring Operation: 34-22=12, Resulting Numbers: [28, 10, 12]
Generated Node #0,3: 88:[28, 10, 12] Operation: 34-22=12
Exploring Operation: 34-28=6, Resulting Numbers: [22, 10, 6]
Generated Node #0,4: 88:[22, 10, 6] Operation: 34-28=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[22, 10, 6], Operations: ['34-28=6']
Exploring Operation: 22-6=16, Resulting Numbers: [10, 16]
Generated Node #0,4,0: 88:[10, 16] Operation: 22-6=16
Exploring Operation: 10-6=4, Resulting Numbers: [22, 4]
Generated Node #0,4,1: 88:[22, 4] Operation: 10-6=4
Exploring Operation: 22-10=12, Resulting Numbers: [6, 12]
Generated Node #0,4,2: 88:[6, 12] Operation: 22-10=12
Exploring Operation: 22+6=28, Resulting Numbers: [10, 28]
Generated Node #0,4,3: 88:[10, 28] Operation: 22+6=28
Exploring Operation: 10+6=16, Resulting Numbers: [22, 16]
Generated Node #0,4,4: 88:[22, 16] Operation: 10+6=16
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[22, 4], Operations: ['34-28=6', '10-6=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[28, 34, 22, 10], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [22, 10, 6]
Generated Node #0,4: 88:[22, 10, 6] Operation: 34-28=6
Moving to Node #0,4
Current State: 88:[22, 10, 6], Operations: ['34-28=6']
Exploring Operation: 10-6=4, Resulting Numbers: [22, 4]
Generated Node #0,4,1: 88:[22, 4] Operation: 10-6=4
Moving to Node #0,4,1
Current State: 88:[22, 4], Operations: ['34-28=6', '10-6=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
6,
52,
2,
20
] | 76 | [
"6+52=58",
"20-2=18",
"58+18=76"
] | Current State: 76:[6, 52, 2, 20], Operations: []
Exploring Operation: 6+52=58, Resulting Numbers: [2, 20, 58]
Generated Node #2: [2, 20, 58] from Operation: 6+52=58
Current State: 76:[2, 20, 58], Operations: ['6+52=58']
Exploring Operation: 20-2=18, Resulting Numbers: [58, 18]
Generated Node #3: [58, 18] from Operation: 20-2=18
Current State: 76:[58, 18], Operations: ['6+52=58', '20-2=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[6, 52, 2, 20], Operations: []
Exploring Operation: 52-6=46, Resulting Numbers: [2, 20, 46]
Generated Node #0,0: 76:[2, 20, 46] Operation: 52-6=46
Exploring Operation: 52-20=32, Resulting Numbers: [6, 2, 32]
Generated Node #0,1: 76:[6, 2, 32] Operation: 52-20=32
Exploring Operation: 52+20=72, Resulting Numbers: [6, 2, 72]
Generated Node #0,2: 76:[6, 2, 72] Operation: 52+20=72
Moving to Node #0,2
Current State: 76:[6, 2, 72], Operations: ['52+20=72']
Exploring Operation: 6+72=78, Resulting Numbers: [2, 78]
Generated Node #0,2,0: 76:[2, 78] Operation: 6+72=78
Exploring Operation: 6-2=4, Resulting Numbers: [72, 4]
Generated Node #0,2,1: 76:[72, 4] Operation: 6-2=4
Exploring Operation: 2+72=74, Resulting Numbers: [6, 74]
Generated Node #0,2,2: 76:[6, 74] Operation: 2+72=74
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[2, 78], Operations: ['52+20=72', '6+72=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[6, 52, 2, 20], Operations: []
Exploring Operation: 52+20=72, Resulting Numbers: [6, 2, 72]
Generated Node #0,2: 76:[6, 2, 72] Operation: 52+20=72
Moving to Node #0,2
Current State: 76:[6, 2, 72], Operations: ['52+20=72']
Exploring Operation: 6+72=78, Resulting Numbers: [2, 78]
Generated Node #0,2,0: 76:[2, 78] Operation: 6+72=78
Moving to Node #0,2,0
Current State: 76:[2, 78], Operations: ['52+20=72', '6+72=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
72,
42,
74,
21
] | 42 | [
"74-72=2",
"42-21=21",
"2*21=42"
] | Current State: 42:[72, 42, 74, 21], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [42, 21, 2]
Generated Node #2: [42, 21, 2] from Operation: 74-72=2
Current State: 42:[42, 21, 2], Operations: ['74-72=2']
Exploring Operation: 42-21=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 42-21=21
Current State: 42:[2, 21], Operations: ['74-72=2', '42-21=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[72, 42, 74, 21], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [42, 21, 2]
Generated Node #0,0: 42:[42, 21, 2] Operation: 74-72=2
Exploring Operation: 74-42=32, Resulting Numbers: [72, 21, 32]
Generated Node #0,1: 42:[72, 21, 32] Operation: 74-42=32
Exploring Operation: 72-42=30, Resulting Numbers: [74, 21, 30]
Generated Node #0,2: 42:[74, 21, 30] Operation: 72-42=30
Moving to Node #0,0
Current State: 42:[42, 21, 2], Operations: ['74-72=2']
Exploring Operation: 42/21=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 42:[2, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 42:[2, 21] Operation: 42-21=21
Exploring Operation: 42/2=21, Resulting Numbers: [21, 21]
Generated Node #0,0,2: 42:[21, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[2, 2], Operations: ['74-72=2', '42/21=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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, 21], Operations: ['74-72=2', '42-21=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[72, 42, 74, 21], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [42, 21, 2]
Generated Node #0,0: 42:[42, 21, 2] Operation: 74-72=2
Moving to Node #0,0
Current State: 42:[42, 21, 2], Operations: ['74-72=2']
Exploring Operation: 42-21=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 42:[2, 21] Operation: 42-21=21
Moving to Node #0,0,1
Current State: 42:[2, 21], Operations: ['74-72=2', '42-21=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
5,
87,
86,
55
] | 61 | [
"5+87=92",
"86-55=31",
"92-31=61"
] | Current State: 61:[5, 87, 86, 55], Operations: []
Exploring Operation: 5+87=92, Resulting Numbers: [86, 55, 92]
Generated Node #2: [86, 55, 92] from Operation: 5+87=92
Current State: 61:[86, 55, 92], Operations: ['5+87=92']
Exploring Operation: 86-55=31, Resulting Numbers: [92, 31]
Generated Node #3: [92, 31] from Operation: 86-55=31
Current State: 61:[92, 31], Operations: ['5+87=92', '86-55=31']
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[5, 87, 86, 55], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [87, 55, 81]
Generated Node #0,0: 61:[87, 55, 81] Operation: 86-5=81
Exploring Operation: 87-5=82, Resulting Numbers: [86, 55, 82]
Generated Node #0,1: 61:[86, 55, 82] Operation: 87-5=82
Moving to Node #0,0
Current State: 61:[87, 55, 81], Operations: ['86-5=81']
Exploring Operation: 87-55=32, Resulting Numbers: [81, 32]
Generated Node #0,0,0: 61:[81, 32] Operation: 87-55=32
Exploring Operation: 87-81=6, Resulting Numbers: [55, 6]
Generated Node #0,0,1: 61:[55, 6] Operation: 87-81=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[81, 32], Operations: ['86-5=81', '87-55=32']
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[55, 6], Operations: ['86-5=81', '87-81=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[5, 87, 86, 55], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [87, 55, 81]
Generated Node #0,0: 61:[87, 55, 81] Operation: 86-5=81
Moving to Node #0,0
Current State: 61:[87, 55, 81], Operations: ['86-5=81']
Exploring Operation: 87-81=6, Resulting Numbers: [55, 6]
Generated Node #0,0,1: 61:[55, 6] Operation: 87-81=6
Moving to Node #0,0,1
Current State: 61:[55, 6], Operations: ['86-5=81', '87-81=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
58,
36,
7,
23
] | 52 | [
"58-36=22",
"7+23=30",
"22+30=52"
] | Current State: 52:[58, 36, 7, 23], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [7, 23, 22]
Generated Node #2: [7, 23, 22] from Operation: 58-36=22
Current State: 52:[7, 23, 22], Operations: ['58-36=22']
Exploring Operation: 7+23=30, Resulting Numbers: [22, 30]
Generated Node #3: [22, 30] from Operation: 7+23=30
Current State: 52:[22, 30], Operations: ['58-36=22', '7+23=30']
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[58, 36, 7, 23], Operations: []
Exploring Operation: 36-7=29, Resulting Numbers: [58, 23, 29]
Generated Node #0,0: 52:[58, 23, 29] Operation: 36-7=29
Exploring Operation: 58-36=22, Resulting Numbers: [7, 23, 22]
Generated Node #0,1: 52:[7, 23, 22] Operation: 58-36=22
Exploring Operation: 36-23=13, Resulting Numbers: [58, 7, 13]
Generated Node #0,2: 52:[58, 7, 13] Operation: 36-23=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[58, 7, 13], Operations: ['36-23=13']
Exploring Operation: 58-13=45, Resulting Numbers: [7, 45]
Generated Node #0,2,0: 52:[7, 45] Operation: 58-13=45
Exploring Operation: 13-7=6, Resulting Numbers: [58, 6]
Generated Node #0,2,1: 52:[58, 6] Operation: 13-7=6
Exploring Operation: 58-7=51, Resulting Numbers: [13, 51]
Generated Node #0,2,2: 52:[13, 51] Operation: 58-7=51
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[13, 51], Operations: ['36-23=13', '58-7=51']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,52 unequal: No Solution
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[58, 6], Operations: ['36-23=13', '13-7=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,52 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[58, 36, 7, 23], Operations: []
Exploring Operation: 36-23=13, Resulting Numbers: [58, 7, 13]
Generated Node #0,2: 52:[58, 7, 13] Operation: 36-23=13
Moving to Node #0,2
Current State: 52:[58, 7, 13], Operations: ['36-23=13']
Exploring Operation: 13-7=6, Resulting Numbers: [58, 6]
Generated Node #0,2,1: 52:[58, 6] Operation: 13-7=6
Moving to Node #0,2,1
Current State: 52:[58, 6], Operations: ['36-23=13', '13-7=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
99,
63,
30,
85
] | 82 | [
"63-30=33",
"99/33=3",
"85-3=82"
] | Current State: 82:[99, 63, 30, 85], Operations: []
Exploring Operation: 63-30=33, Resulting Numbers: [99, 85, 33]
Generated Node #2: [99, 85, 33] from Operation: 63-30=33
Current State: 82:[99, 85, 33], Operations: ['63-30=33']
Exploring Operation: 99/33=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 99/33=3
Current State: 82:[85, 3], Operations: ['63-30=33', '99/33=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[99, 63, 30, 85], Operations: []
Exploring Operation: 63+30=93, Resulting Numbers: [99, 85, 93]
Generated Node #0,0: 82:[99, 85, 93] Operation: 63+30=93
Exploring Operation: 63-30=33, Resulting Numbers: [99, 85, 33]
Generated Node #0,1: 82:[99, 85, 33] Operation: 63-30=33
Exploring Operation: 99-63=36, Resulting Numbers: [30, 85, 36]
Generated Node #0,2: 82:[30, 85, 36] Operation: 99-63=36
Moving to Node #0,2
Current State: 82:[30, 85, 36], Operations: ['99-63=36']
Exploring Operation: 30+36=66, Resulting Numbers: [85, 66]
Generated Node #0,2,0: 82:[85, 66] Operation: 30+36=66
Exploring Operation: 36-30=6, Resulting Numbers: [85, 6]
Generated Node #0,2,1: 82:[85, 6] Operation: 36-30=6
Exploring Operation: 85-30=55, Resulting Numbers: [36, 55]
Generated Node #0,2,2: 82:[36, 55] Operation: 85-30=55
Moving to Node #0,1
Current State: 82:[99, 85, 33], Operations: ['63-30=33']
Exploring Operation: 99-85=14, Resulting Numbers: [33, 14]
Generated Node #0,1,0: 82:[33, 14] Operation: 99-85=14
Exploring Operation: 99-33=66, Resulting Numbers: [85, 66]
Generated Node #0,1,1: 82:[85, 66] Operation: 99-33=66
Exploring Operation: 99/33=3, Resulting Numbers: [85, 3]
Generated Node #0,1,2: 82:[85, 3] Operation: 99/33=3
Moving to Node #0,0
Current State: 82:[99, 85, 93], Operations: ['63+30=93']
Exploring Operation: 99-93=6, Resulting Numbers: [85, 6]
Generated Node #0,0,0: 82:[85, 6] Operation: 99-93=6
Exploring Operation: 99-85=14, Resulting Numbers: [93, 14]
Generated Node #0,0,1: 82:[93, 14] Operation: 99-85=14
Exploring Operation: 93-85=8, Resulting Numbers: [99, 8]
Generated Node #0,0,2: 82:[99, 8] Operation: 93-85=8
Moving to Node #0,1,2
Current State: 82:[85, 3], Operations: ['63-30=33', '99/33=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,82 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[99, 63, 30, 85], Operations: []
Exploring Operation: 63-30=33, Resulting Numbers: [99, 85, 33]
Generated Node #0,1: 82:[99, 85, 33] Operation: 63-30=33
Moving to Node #0,1
Current State: 82:[99, 85, 33], Operations: ['63-30=33']
Exploring Operation: 99/33=3, Resulting Numbers: [85, 3]
Generated Node #0,1,2: 82:[85, 3] Operation: 99/33=3
Moving to Node #0,1,2
Current State: 82:[85, 3], Operations: ['63-30=33', '99/33=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
18,
18,
2,
76
] | 38 | [
"18+18=36",
"76-2=74",
"74-36=38"
] | Current State: 38:[18, 18, 2, 76], Operations: []
Exploring Operation: 18+18=36, Resulting Numbers: [2, 76, 36]
Generated Node #2: [2, 76, 36] from Operation: 18+18=36
Current State: 38:[2, 76, 36], Operations: ['18+18=36']
Exploring Operation: 76-2=74, Resulting Numbers: [36, 74]
Generated Node #3: [36, 74] from Operation: 76-2=74
Current State: 38:[36, 74], Operations: ['18+18=36', '76-2=74']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[18, 18, 2, 76], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [18, 18, 38]
Generated Node #0,0: 38:[18, 18, 38] Operation: 76/2=38
Exploring Operation: 76-18=58, Resulting Numbers: [18, 2, 58]
Generated Node #0,1: 38:[18, 2, 58] Operation: 76-18=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[18, 18, 38], Operations: ['76/2=38']
Exploring Operation: 18/18=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 18/18=1
Exploring Operation: 18+18=36, Resulting Numbers: [38, 36]
Generated Node #0,0,1: 38:[38, 36] Operation: 18+18=36
Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['76/2=38', '18/18=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[18, 18, 2, 76], Operations: []
Exploring Operation: 76/2=38, Resulting Numbers: [18, 18, 38]
Generated Node #0,0: 38:[18, 18, 38] Operation: 76/2=38
Moving to Node #0,0
Current State: 38:[18, 18, 38], Operations: ['76/2=38']
Exploring Operation: 18/18=1, Resulting Numbers: [38, 1]
Generated Node #0,0,0: 38:[38, 1] Operation: 18/18=1
Moving to Node #0,0,0
Current State: 38:[38, 1], Operations: ['76/2=38', '18/18=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
10,
74,
52,
67
] | 79 | [
"74-10=64",
"67-52=15",
"64+15=79"
] | Current State: 79:[10, 74, 52, 67], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [52, 67, 64]
Generated Node #2: [52, 67, 64] from Operation: 74-10=64
Current State: 79:[52, 67, 64], Operations: ['74-10=64']
Exploring Operation: 67-52=15, Resulting Numbers: [64, 15]
Generated Node #3: [64, 15] from Operation: 67-52=15
Current State: 79:[64, 15], Operations: ['74-10=64', '67-52=15']
Exploring Operation: 64+15=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[10, 74, 52, 67], Operations: []
Exploring Operation: 10+52=62, Resulting Numbers: [74, 67, 62]
Generated Node #0,0: 79:[74, 67, 62] Operation: 10+52=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 67, 62], Operations: ['10+52=62']
Exploring Operation: 67+62=129, Resulting Numbers: [74, 129]
Generated Node #0,0,0: 79:[74, 129] Operation: 67+62=129
Moving to Node #0,0,0
Current State: 79:[74, 129], Operations: ['10+52=62', '67+62=129']
Exploring Operation: 129-74=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
93,
39,
16
] | 31 | [
"93-7=86",
"39+16=55",
"86-55=31"
] | Current State: 31:[7, 93, 39, 16], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [39, 16, 86]
Generated Node #2: [39, 16, 86] from Operation: 93-7=86
Current State: 31:[39, 16, 86], Operations: ['93-7=86']
Exploring Operation: 39+16=55, Resulting Numbers: [86, 55]
Generated Node #3: [86, 55] from Operation: 39+16=55
Current State: 31:[86, 55], Operations: ['93-7=86', '39+16=55']
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[7, 93, 39, 16], Operations: []
Exploring Operation: 39-7=32, Resulting Numbers: [93, 16, 32]
Generated Node #0,0: 31:[93, 16, 32] Operation: 39-7=32
Exploring Operation: 7+16=23, Resulting Numbers: [93, 39, 23]
Generated Node #0,1: 31:[93, 39, 23] Operation: 7+16=23
Exploring Operation: 93-39=54, Resulting Numbers: [7, 16, 54]
Generated Node #0,2: 31:[7, 16, 54] Operation: 93-39=54
Exploring Operation: 93-7=86, Resulting Numbers: [39, 16, 86]
Generated Node #0,3: 31:[39, 16, 86] Operation: 93-7=86
Exploring Operation: 93-16=77, Resulting Numbers: [7, 39, 77]
Generated Node #0,4: 31:[7, 39, 77] Operation: 93-16=77
Moving to Node #0,2
Current State: 31:[7, 16, 54], Operations: ['93-39=54']
Exploring Operation: 54-7=47, Resulting Numbers: [16, 47]
Generated Node #0,2,0: 31:[16, 47] Operation: 54-7=47
Exploring Operation: 54-16=38, Resulting Numbers: [7, 38]
Generated Node #0,2,1: 31:[7, 38] Operation: 54-16=38
Exploring Operation: 7+16=23, Resulting Numbers: [54, 23]
Generated Node #0,2,2: 31:[54, 23] Operation: 7+16=23
Exploring Operation: 7+54=61, Resulting Numbers: [16, 61]
Generated Node #0,2,3: 31:[16, 61] Operation: 7+54=61
Exploring Operation: 16-7=9, Resulting Numbers: [54, 9]
Generated Node #0,2,4: 31:[54, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[16, 47], Operations: ['93-39=54', '54-7=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,31 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[7, 93, 39, 16], Operations: []
Exploring Operation: 93-39=54, Resulting Numbers: [7, 16, 54]
Generated Node #0,2: 31:[7, 16, 54] Operation: 93-39=54
Moving to Node #0,2
Current State: 31:[7, 16, 54], Operations: ['93-39=54']
Exploring Operation: 54-7=47, Resulting Numbers: [16, 47]
Generated Node #0,2,0: 31:[16, 47] Operation: 54-7=47
Moving to Node #0,2,0
Current State: 31:[16, 47], Operations: ['93-39=54', '54-7=47']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
49,
55,
50,
47
] | 18 | [
"55-49=6",
"50-47=3",
"6*3=18"
] | Current State: 18:[49, 55, 50, 47], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [50, 47, 6]
Generated Node #2: [50, 47, 6] from Operation: 55-49=6
Current State: 18:[50, 47, 6], Operations: ['55-49=6']
Exploring Operation: 50-47=3, Resulting Numbers: [6, 3]
Generated Node #3: [6, 3] from Operation: 50-47=3
Current State: 18:[6, 3], Operations: ['55-49=6', '50-47=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[49, 55, 50, 47], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [49, 50, 8]
Generated Node #0,0: 18:[49, 50, 8] Operation: 55-47=8
Exploring Operation: 50-47=3, Resulting Numbers: [49, 55, 3]
Generated Node #0,1: 18:[49, 55, 3] Operation: 50-47=3
Exploring Operation: 55-49=6, Resulting Numbers: [50, 47, 6]
Generated Node #0,2: 18:[50, 47, 6] Operation: 55-49=6
Exploring Operation: 55-50=5, Resulting Numbers: [49, 47, 5]
Generated Node #0,3: 18:[49, 47, 5] Operation: 55-50=5
Exploring Operation: 50-49=1, Resulting Numbers: [55, 47, 1]
Generated Node #0,4: 18:[55, 47, 1] Operation: 50-49=1
Moving to Node #0,2
Current State: 18:[50, 47, 6], Operations: ['55-49=6']
Exploring Operation: 47-6=41, Resulting Numbers: [50, 41]
Generated Node #0,2,0: 18:[50, 41] Operation: 47-6=41
Exploring Operation: 50-6=44, Resulting Numbers: [47, 44]
Generated Node #0,2,1: 18:[47, 44] Operation: 50-6=44
Exploring Operation: 50-47=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 18:[6, 3] Operation: 50-47=3
Exploring Operation: 50+6=56, Resulting Numbers: [47, 56]
Generated Node #0,2,3: 18:[47, 56] Operation: 50+6=56
Exploring Operation: 47+6=53, Resulting Numbers: [50, 53]
Generated Node #0,2,4: 18:[50, 53] Operation: 47+6=53
Moving to Node #0,3
Current State: 18:[49, 47, 5], Operations: ['55-50=5']
Exploring Operation: 47+5=52, Resulting Numbers: [49, 52]
Generated Node #0,3,0: 18:[49, 52] Operation: 47+5=52
Exploring Operation: 49-47=2, Resulting Numbers: [5, 2]
Generated Node #0,3,1: 18:[5, 2] Operation: 49-47=2
Exploring Operation: 47-5=42, Resulting Numbers: [49, 42]
Generated Node #0,3,2: 18:[49, 42] Operation: 47-5=42
Exploring Operation: 49+5=54, Resulting Numbers: [47, 54]
Generated Node #0,3,3: 18:[47, 54] Operation: 49+5=54
Exploring Operation: 49-5=44, Resulting Numbers: [47, 44]
Generated Node #0,3,4: 18:[47, 44] Operation: 49-5=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[5, 2], Operations: ['55-50=5', '49-47=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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,3,2
Current State: 18:[49, 42], Operations: ['55-50=5', '47-5=42']
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,18 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,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,3,4
Current State: 18:[47, 44], Operations: ['55-50=5', '49-5=44']
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,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,3,0
Current State: 18:[49, 52], Operations: ['55-50=5', '47+5=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,18 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,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,3,3
Current State: 18:[47, 54], Operations: ['55-50=5', '49+5=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,18 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[49, 50, 8], Operations: ['55-47=8']
Exploring Operation: 50-8=42, Resulting Numbers: [49, 42]
Generated Node #0,0,0: 18:[49, 42] Operation: 50-8=42
Exploring Operation: 49+8=57, Resulting Numbers: [50, 57]
Generated Node #0,0,1: 18:[50, 57] Operation: 49+8=57
Exploring Operation: 50-49=1, Resulting Numbers: [8, 1]
Generated Node #0,0,2: 18:[8, 1] Operation: 50-49=1
Exploring Operation: 49-8=41, Resulting Numbers: [50, 41]
Generated Node #0,0,3: 18:[50, 41] Operation: 49-8=41
Exploring Operation: 50+8=58, Resulting Numbers: [49, 58]
Generated Node #0,0,4: 18:[49, 58] Operation: 50+8=58
Moving to Node #0,4
Current State: 18:[55, 47, 1], Operations: ['50-49=1']
Exploring Operation: 55/1=55, Resulting Numbers: [47, 55]
Generated Node #0,4,0: 18:[47, 55] Operation: 55/1=55
Exploring Operation: 47-1=46, Resulting Numbers: [55, 46]
Generated Node #0,4,1: 18:[55, 46] Operation: 47-1=46
Exploring Operation: 55-47=8, Resulting Numbers: [1, 8]
Generated Node #0,4,2: 18:[1, 8] Operation: 55-47=8
Exploring Operation: 55-1=54, Resulting Numbers: [47, 54]
Generated Node #0,4,3: 18:[47, 54] Operation: 55-1=54
Exploring Operation: 55*1=55, Resulting Numbers: [47, 55]
Generated Node #0,4,4: 18:[47, 55] Operation: 55*1=55
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[1, 8], Operations: ['50-49=1', '55-47=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,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,4,1
Current State: 18:[55, 46], Operations: ['50-49=1', '47-1=46']
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,18 unequal: No Solution
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,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,4,3
Current State: 18:[47, 54], Operations: ['50-49=1', '55-1=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,18 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,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,4,0
Current State: 18:[47, 55], Operations: ['50-49=1', '55/1=55']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,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,4,4
Current State: 18:[47, 55], Operations: ['50-49=1', '55*1=55']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,18 unequal: No Solution
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,18 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: 18:[49, 55, 3], Operations: ['50-47=3']
Exploring Operation: 49-3=46, Resulting Numbers: [55, 46]
Generated Node #0,1,0: 18:[55, 46] Operation: 49-3=46
Exploring Operation: 49+3=52, Resulting Numbers: [55, 52]
Generated Node #0,1,1: 18:[55, 52] Operation: 49+3=52
Exploring Operation: 55-3=52, Resulting Numbers: [49, 52]
Generated Node #0,1,2: 18:[49, 52] Operation: 55-3=52
Exploring Operation: 55+3=58, Resulting Numbers: [49, 58]
Generated Node #0,1,3: 18:[49, 58] Operation: 55+3=58
Exploring Operation: 55-49=6, Resulting Numbers: [3, 6]
Generated Node #0,1,4: 18:[3, 6] Operation: 55-49=6
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[3, 6], Operations: ['50-47=3', '55-49=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[49, 55, 50, 47], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [49, 55, 3]
Generated Node #0,1: 18:[49, 55, 3] Operation: 50-47=3
Moving to Node #0,1
Current State: 18:[49, 55, 3], Operations: ['50-47=3']
Exploring Operation: 55-49=6, Resulting Numbers: [3, 6]
Generated Node #0,1,4: 18:[3, 6] Operation: 55-49=6
Moving to Node #0,1,4
Current State: 18:[3, 6], Operations: ['50-47=3', '55-49=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_5 | sum_heuristic |
[
96,
16,
69,
5
] | 16 | [
"96-16=80",
"69-5=64",
"80-64=16"
] | Current State: 16:[96, 16, 69, 5], Operations: []
Exploring Operation: 96-16=80, Resulting Numbers: [69, 5, 80]
Generated Node #2: [69, 5, 80] from Operation: 96-16=80
Current State: 16:[69, 5, 80], Operations: ['96-16=80']
Exploring Operation: 69-5=64, Resulting Numbers: [80, 64]
Generated Node #3: [80, 64] from Operation: 69-5=64
Current State: 16:[80, 64], Operations: ['96-16=80', '69-5=64']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[96, 16, 69, 5], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [16, 5, 27]
Generated Node #0,0: 16:[16, 5, 27] Operation: 96-69=27
Moving to Node #0,0
Current State: 16:[16, 5, 27], Operations: ['96-69=27']
Exploring Operation: 27-16=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 16:[5, 11] Operation: 27-16=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[5, 11], Operations: ['96-69=27', '27-16=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[96, 16, 69, 5], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [16, 5, 27]
Generated Node #0,0: 16:[16, 5, 27] Operation: 96-69=27
Moving to Node #0,0
Current State: 16:[16, 5, 27], Operations: ['96-69=27']
Exploring Operation: 27-16=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 16:[5, 11] Operation: 27-16=11
Moving to Node #0,0,0
Current State: 16:[5, 11], Operations: ['96-69=27', '27-16=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
66,
46,
66,
73
] | 73 | [
"66-66=0",
"46*0=0",
"73+0=73"
] | Current State: 73:[66, 46, 66, 73], Operations: []
Exploring Operation: 66-66=0, Resulting Numbers: [46, 73, 0]
Generated Node #2: [46, 73, 0] from Operation: 66-66=0
Current State: 73:[46, 73, 0], Operations: ['66-66=0']
Exploring Operation: 46*0=0, Resulting Numbers: [73, 0]
Generated Node #3: [73, 0] from Operation: 46*0=0
Current State: 73:[73, 0], Operations: ['66-66=0', '46*0=0']
Exploring Operation: 73+0=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[66, 46, 66, 73], Operations: []
Exploring Operation: 66-46=20, Resulting Numbers: [66, 73, 20]
Generated Node #0,0: 73:[66, 73, 20] Operation: 66-46=20
Exploring Operation: 66-46=20, Resulting Numbers: [66, 73, 20]
Generated Node #0,1: 73:[66, 73, 20] Operation: 66-46=20
Exploring Operation: 66+46=112, Resulting Numbers: [66, 73, 112]
Generated Node #0,2: 73:[66, 73, 112] Operation: 66+46=112
Exploring Operation: 46+66=112, Resulting Numbers: [66, 73, 112]
Generated Node #0,3: 73:[66, 73, 112] Operation: 46+66=112
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[66, 73, 112], Operations: ['66+46=112']
Exploring Operation: 73-66=7, Resulting Numbers: [112, 7]
Generated Node #0,2,0: 73:[112, 7] Operation: 73-66=7
Exploring Operation: 112-66=46, Resulting Numbers: [73, 46]
Generated Node #0,2,1: 73:[73, 46] Operation: 112-66=46
Exploring Operation: 112-73=39, Resulting Numbers: [66, 39]
Generated Node #0,2,2: 73:[66, 39] Operation: 112-73=39
Exploring Operation: 66+73=139, Resulting Numbers: [112, 139]
Generated Node #0,2,3: 73:[112, 139] Operation: 66+73=139
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[73, 46], Operations: ['66+46=112', '112-66=46']
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,73 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[66, 39], Operations: ['66+46=112', '112-73=39']
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 66*39=2574, Resulting Numbers: [2574]
2574,73 unequal: No Solution
Exploring Operation: 66+39=105, Resulting Numbers: [105]
105,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[112, 7], Operations: ['66+46=112', '73-66=7']
Exploring Operation: 112+7=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 112/7=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 112-7=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 112*7=784, Resulting Numbers: [784]
784,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[112, 139], Operations: ['66+46=112', '66+73=139']
Exploring Operation: 112+139=251, Resulting Numbers: [251]
251,73 unequal: No Solution
Exploring Operation: 112*139=15568, Resulting Numbers: [15568]
15568,73 unequal: No Solution
Exploring Operation: 139-112=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 73:[66, 73, 112], Operations: ['46+66=112']
Exploring Operation: 112-66=46, Resulting Numbers: [73, 46]
Generated Node #0,3,0: 73:[73, 46] Operation: 112-66=46
Exploring Operation: 112-73=39, Resulting Numbers: [66, 39]
Generated Node #0,3,1: 73:[66, 39] Operation: 112-73=39
Exploring Operation: 66+73=139, Resulting Numbers: [112, 139]
Generated Node #0,3,2: 73:[112, 139] Operation: 66+73=139
Exploring Operation: 73-66=7, Resulting Numbers: [112, 7]
Generated Node #0,3,3: 73:[112, 7] Operation: 73-66=7
Moving to Node #0,3,0
Current State: 73:[73, 46], Operations: ['46+66=112', '112-66=46']
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,73 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[66, 39], Operations: ['46+66=112', '112-73=39']
Exploring Operation: 66*39=2574, Resulting Numbers: [2574]
2574,73 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 66+39=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[112, 7], Operations: ['46+66=112', '73-66=7']
Exploring Operation: 112*7=784, Resulting Numbers: [784]
784,73 unequal: No Solution
Exploring Operation: 112-7=105, Resulting Numbers: [105]
105,73 unequal: No Solution
Exploring Operation: 112/7=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 112+7=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[112, 139], Operations: ['46+66=112', '66+73=139']
Exploring Operation: 139-112=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 112*139=15568, Resulting Numbers: [15568]
15568,73 unequal: No Solution
Exploring Operation: 112+139=251, Resulting Numbers: [251]
251,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[66, 73, 20], Operations: ['66-46=20']
Exploring Operation: 66+20=86, Resulting Numbers: [73, 86]
Generated Node #0,0,0: 73:[73, 86] Operation: 66+20=86
Exploring Operation: 73-20=53, Resulting Numbers: [66, 53]
Generated Node #0,0,1: 73:[66, 53] Operation: 73-20=53
Exploring Operation: 73+20=93, Resulting Numbers: [66, 93]
Generated Node #0,0,2: 73:[66, 93] Operation: 73+20=93
Exploring Operation: 66-20=46, Resulting Numbers: [73, 46]
Generated Node #0,0,3: 73:[73, 46] Operation: 66-20=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[73, 86], Operations: ['66-46=20', '66+20=86']
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,73 unequal: No Solution
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[66, 53], Operations: ['66-46=20', '73-20=53']
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 66*53=3498, Resulting Numbers: [3498]
3498,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 73:[66, 93], Operations: ['66-46=20', '73+20=93']
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,73 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 73:[73, 46], Operations: ['66-46=20', '66-20=46']
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,73 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[66, 73, 20], Operations: ['66-46=20']
Exploring Operation: 66-20=46, Resulting Numbers: [73, 46]
Generated Node #0,1,0: 73:[73, 46] Operation: 66-20=46
Exploring Operation: 66+20=86, Resulting Numbers: [73, 86]
Generated Node #0,1,1: 73:[73, 86] Operation: 66+20=86
Exploring Operation: 73-20=53, Resulting Numbers: [66, 53]
Generated Node #0,1,2: 73:[66, 53] Operation: 73-20=53
Exploring Operation: 73+20=93, Resulting Numbers: [66, 93]
Generated Node #0,1,3: 73:[66, 93] Operation: 73+20=93
Moving to Node #0,1,1
Current State: 73:[73, 86], Operations: ['66-46=20', '66+20=86']
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,73 unequal: No Solution
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[66, 53], Operations: ['66-46=20', '73-20=53']
Exploring Operation: 66+53=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 66*53=3498, Resulting Numbers: [3498]
3498,73 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[73, 46], Operations: ['66-46=20', '66-20=46']
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[66, 93], Operations: ['66-46=20', '73+20=93']
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 66+93=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 66*93=6138, Resulting Numbers: [6138]
6138,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
38,
42,
89,
41
] | 52 | [
"42-38=4",
"89-41=48",
"4+48=52"
] | Current State: 52:[38, 42, 89, 41], Operations: []
Exploring Operation: 42-38=4, Resulting Numbers: [89, 41, 4]
Generated Node #2: [89, 41, 4] from Operation: 42-38=4
Current State: 52:[89, 41, 4], Operations: ['42-38=4']
Exploring Operation: 89-41=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 89-41=48
Current State: 52:[4, 48], Operations: ['42-38=4', '89-41=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[38, 42, 89, 41], Operations: []
Exploring Operation: 89-42=47, Resulting Numbers: [38, 41, 47]
Generated Node #0,0: 52:[38, 41, 47] Operation: 89-42=47
Exploring Operation: 89-38=51, Resulting Numbers: [42, 41, 51]
Generated Node #0,1: 52:[42, 41, 51] Operation: 89-38=51
Exploring Operation: 42-38=4, Resulting Numbers: [89, 41, 4]
Generated Node #0,2: 52:[89, 41, 4] Operation: 42-38=4
Exploring Operation: 89-41=48, Resulting Numbers: [38, 42, 48]
Generated Node #0,3: 52:[38, 42, 48] Operation: 89-41=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[42, 41, 51], Operations: ['89-38=51']
Exploring Operation: 42-41=1, Resulting Numbers: [51, 1]
Generated Node #0,1,0: 52:[51, 1] Operation: 42-41=1
Exploring Operation: 51-41=10, Resulting Numbers: [42, 10]
Generated Node #0,1,1: 52:[42, 10] Operation: 51-41=10
Exploring Operation: 42+41=83, Resulting Numbers: [51, 83]
Generated Node #0,1,2: 52:[51, 83] Operation: 42+41=83
Exploring Operation: 51-42=9, Resulting Numbers: [41, 9]
Generated Node #0,1,3: 52:[41, 9] Operation: 51-42=9
Moving to Node #0,1,0
Current State: 52:[51, 1], Operations: ['89-38=51', '42-41=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[38, 42, 89, 41], Operations: []
Exploring Operation: 89-38=51, Resulting Numbers: [42, 41, 51]
Generated Node #0,1: 52:[42, 41, 51] Operation: 89-38=51
Moving to Node #0,1
Current State: 52:[42, 41, 51], Operations: ['89-38=51']
Exploring Operation: 42-41=1, Resulting Numbers: [51, 1]
Generated Node #0,1,0: 52:[51, 1] Operation: 42-41=1
Moving to Node #0,1,0
Current State: 52:[51, 1], Operations: ['89-38=51', '42-41=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
96,
89,
10,
7
] | 77 | [
"96-89=7",
"10*7=70",
"7+70=77"
] | Current State: 77:[96, 89, 10, 7], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [10, 7, 7]
Generated Node #2: [10, 7, 7] from Operation: 96-89=7
Current State: 77:[10, 7, 7], Operations: ['96-89=7']
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,77 equal: Goal Reached
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[96, 89, 10, 7], Operations: []
Exploring Operation: 89-10=79, Resulting Numbers: [96, 7, 79]
Generated Node #0,0: 77:[96, 7, 79] Operation: 89-10=79
Exploring Operation: 96-7=89, Resulting Numbers: [89, 10, 89]
Generated Node #0,1: 77:[89, 10, 89] Operation: 96-7=89
Exploring Operation: 96-89=7, Resulting Numbers: [10, 7, 7]
Generated Node #0,2: 77:[10, 7, 7] Operation: 96-89=7
Exploring Operation: 96-10=86, Resulting Numbers: [89, 7, 86]
Generated Node #0,3: 77:[89, 7, 86] Operation: 96-10=86
Moving to Node #0,2
Current State: 77:[10, 7, 7], Operations: ['96-89=7']
Exploring Operation: 7+7=14, Resulting Numbers: [10, 14]
Generated Node #0,2,0: 77:[10, 14] Operation: 7+7=14
Exploring Operation: 10+7=17, Resulting Numbers: [7, 17]
Generated Node #0,2,1: 77:[7, 17] Operation: 10+7=17
Exploring Operation: 10-7=3, Resulting Numbers: [7, 3]
Generated Node #0,2,2: 77:[7, 3] Operation: 10-7=3
Exploring Operation: 10-7=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 77:[7, 3] Operation: 10-7=3
Moving to Node #0,3
Current State: 77:[89, 7, 86], Operations: ['96-10=86']
Exploring Operation: 89-86=3, Resulting Numbers: [7, 3]
Generated Node #0,3,0: 77:[7, 3] Operation: 89-86=3
Exploring Operation: 86-7=79, Resulting Numbers: [89, 79]
Generated Node #0,3,1: 77:[89, 79] Operation: 86-7=79
Exploring Operation: 89+7=96, Resulting Numbers: [86, 96]
Generated Node #0,3,2: 77:[86, 96] Operation: 89+7=96
Exploring Operation: 89-7=82, Resulting Numbers: [86, 82]
Generated Node #0,3,3: 77:[86, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[7, 3], Operations: ['96-10=86', '89-86=3']
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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,3,1
Current State: 77:[89, 79], Operations: ['96-10=86', '86-7=79']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,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,3,3
Current State: 77:[86, 82], Operations: ['96-10=86', '89-7=82']
Exploring Operation: 86+82=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 86*82=7052, Resulting Numbers: [7052]
7052,77 unequal: No Solution
Exploring Operation: 86-82=4, Resulting Numbers: [4]
4,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,3,2
Current State: 77:[86, 96], Operations: ['96-10=86', '89+7=96']
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,77 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,77 unequal: No Solution
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,77 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: 77:[96, 7, 79], Operations: ['89-10=79']
Exploring Operation: 96-79=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 77:[7, 17] Operation: 96-79=17
Exploring Operation: 96-7=89, Resulting Numbers: [79, 89]
Generated Node #0,0,1: 77:[79, 89] Operation: 96-7=89
Exploring Operation: 96+7=103, Resulting Numbers: [79, 103]
Generated Node #0,0,2: 77:[79, 103] Operation: 96+7=103
Exploring Operation: 79-7=72, Resulting Numbers: [96, 72]
Generated Node #0,0,3: 77:[96, 72] Operation: 79-7=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[7, 17], Operations: ['89-10=79', '96-79=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,77 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,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,0,1
Current State: 77:[79, 89], Operations: ['89-10=79', '96-7=89']
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,77 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,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,0,3
Current State: 77:[96, 72], Operations: ['89-10=79', '79-7=72']
Exploring Operation: 96*72=6912, Resulting Numbers: [6912]
6912,77 unequal: No Solution
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 96+72=168, Resulting Numbers: [168]
168,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,0,2
Current State: 77:[79, 103], Operations: ['89-10=79', '96+7=103']
Exploring Operation: 79*103=8137, Resulting Numbers: [8137]
8137,77 unequal: No Solution
Exploring Operation: 103-79=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 79+103=182, Resulting Numbers: [182]
182,77 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: 77:[89, 10, 89], Operations: ['96-7=89']
Exploring Operation: 89/89=1, Resulting Numbers: [10, 1]
Generated Node #0,1,0: 77:[10, 1] Operation: 89/89=1
Exploring Operation: 89-10=79, Resulting Numbers: [89, 79]
Generated Node #0,1,1: 77:[89, 79] Operation: 89-10=79
Exploring Operation: 89-10=79, Resulting Numbers: [89, 79]
Generated Node #0,1,2: 77:[89, 79] Operation: 89-10=79
Exploring Operation: 89-89=0, Resulting Numbers: [10, 0]
Generated Node #0,1,3: 77:[10, 0] Operation: 89-89=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[10, 1], Operations: ['96-7=89', '89/89=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,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,3
Current State: 77:[10, 0], Operations: ['96-7=89', '89-89=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,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:[89, 79], Operations: ['96-7=89', '89-10=79']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,77 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,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:[89, 79], Operations: ['96-7=89', '89-10=79']
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,77 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 77:[10, 14], Operations: ['96-89=7', '7+7=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,77 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[7, 3], Operations: ['96-89=7', '10-7=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[7, 3], Operations: ['96-89=7', '10-7=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[7, 17], Operations: ['96-89=7', '10+7=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 7*17=119, Resulting Numbers: [119]
119,77 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
68,
94,
65,
53
] | 54 | [
"68*53=3604",
"3604-94=3510",
"3510/65=54"
] | Current State: 54:[68, 94, 65, 53], Operations: []
Exploring Operation: 68*53=3604, Resulting Numbers: [94, 65, 3604]
Generated Node #2: [94, 65, 3604] from Operation: 68*53=3604
Current State: 54:[94, 65, 3604], Operations: ['68*53=3604']
Exploring Operation: 3604-94=3510, Resulting Numbers: [65, 3510]
Generated Node #3: [65, 3510] from Operation: 3604-94=3510
Current State: 54:[65, 3510], Operations: ['68*53=3604', '3604-94=3510']
Exploring Operation: 3510/65=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[68, 94, 65, 53], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [68, 65, 41]
Generated Node #0,0: 54:[68, 65, 41] Operation: 94-53=41
Exploring Operation: 68-53=15, Resulting Numbers: [94, 65, 15]
Generated Node #0,1: 54:[94, 65, 15] Operation: 68-53=15
Exploring Operation: 94-65=29, Resulting Numbers: [68, 53, 29]
Generated Node #0,2: 54:[68, 53, 29] Operation: 94-65=29
Exploring Operation: 68-65=3, Resulting Numbers: [94, 53, 3]
Generated Node #0,3: 54:[94, 53, 3] Operation: 68-65=3
Exploring Operation: 94-68=26, Resulting Numbers: [65, 53, 26]
Generated Node #0,4: 54:[65, 53, 26] Operation: 94-68=26
Moving to Node #0,4
Current State: 54:[65, 53, 26], Operations: ['94-68=26']
Exploring Operation: 53+26=79, Resulting Numbers: [65, 79]
Generated Node #0,4,0: 54:[65, 79] Operation: 53+26=79
Exploring Operation: 65+26=91, Resulting Numbers: [53, 91]
Generated Node #0,4,1: 54:[53, 91] Operation: 65+26=91
Exploring Operation: 65-26=39, Resulting Numbers: [53, 39]
Generated Node #0,4,2: 54:[53, 39] Operation: 65-26=39
Exploring Operation: 65-53=12, Resulting Numbers: [26, 12]
Generated Node #0,4,3: 54:[26, 12] Operation: 65-53=12
Exploring Operation: 53-26=27, Resulting Numbers: [65, 27]
Generated Node #0,4,4: 54:[65, 27] Operation: 53-26=27
Moving to Node #0,2
Current State: 54:[68, 53, 29], Operations: ['94-65=29']
Exploring Operation: 68-53=15, Resulting Numbers: [29, 15]
Generated Node #0,2,0: 54:[29, 15] Operation: 68-53=15
Exploring Operation: 68+29=97, Resulting Numbers: [53, 97]
Generated Node #0,2,1: 54:[53, 97] Operation: 68+29=97
Exploring Operation: 68-29=39, Resulting Numbers: [53, 39]
Generated Node #0,2,2: 54:[53, 39] Operation: 68-29=39
Exploring Operation: 53-29=24, Resulting Numbers: [68, 24]
Generated Node #0,2,3: 54:[68, 24] Operation: 53-29=24
Exploring Operation: 53+29=82, Resulting Numbers: [68, 82]
Generated Node #0,2,4: 54:[68, 82] Operation: 53+29=82
Moving to Node #0,0
Current State: 54:[68, 65, 41], Operations: ['94-53=41']
Exploring Operation: 65+41=106, Resulting Numbers: [68, 106]
Generated Node #0,0,0: 54:[68, 106] Operation: 65+41=106
Exploring Operation: 68+41=109, Resulting Numbers: [65, 109]
Generated Node #0,0,1: 54:[65, 109] Operation: 68+41=109
Exploring Operation: 65-41=24, Resulting Numbers: [68, 24]
Generated Node #0,0,2: 54:[68, 24] Operation: 65-41=24
Exploring Operation: 68-65=3, Resulting Numbers: [41, 3]
Generated Node #0,0,3: 54:[41, 3] Operation: 68-65=3
Exploring Operation: 68-41=27, Resulting Numbers: [65, 27]
Generated Node #0,0,4: 54:[65, 27] Operation: 68-41=27
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 54:[65, 27], Operations: ['94-53=41', '68-41=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,54 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 54:[41, 3], Operations: ['94-53=41', '68-65=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 54:[68, 24], Operations: ['94-53=41', '65-41=24']
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,54 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[68, 106], Operations: ['94-53=41', '65+41=106']
Exploring Operation: 68+106=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Exploring Operation: 68*106=7208, Resulting Numbers: [7208]
7208,54 unequal: No Solution
Exploring Operation: 106-68=38, Resulting Numbers: [38]
38,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[65, 109], Operations: ['94-53=41', '68+41=109']
Exploring Operation: 65*109=7085, Resulting Numbers: [7085]
7085,54 unequal: No Solution
Exploring Operation: 109-65=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 65+109=174, Resulting Numbers: [174]
174,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:[94, 53, 3], Operations: ['68-65=3']
Exploring Operation: 94-53=41, Resulting Numbers: [3, 41]
Generated Node #0,3,0: 54:[3, 41] Operation: 94-53=41
Exploring Operation: 53+3=56, Resulting Numbers: [94, 56]
Generated Node #0,3,1: 54:[94, 56] Operation: 53+3=56
Exploring Operation: 94-3=91, Resulting Numbers: [53, 91]
Generated Node #0,3,2: 54:[53, 91] Operation: 94-3=91
Exploring Operation: 53-3=50, Resulting Numbers: [94, 50]
Generated Node #0,3,3: 54:[94, 50] Operation: 53-3=50
Exploring Operation: 94+3=97, Resulting Numbers: [53, 97]
Generated Node #0,3,4: 54:[53, 97] Operation: 94+3=97
Moving to Node #0,1
Current State: 54:[94, 65, 15], Operations: ['68-53=15']
Exploring Operation: 94-65=29, Resulting Numbers: [15, 29]
Generated Node #0,1,0: 54:[15, 29] Operation: 94-65=29
Exploring Operation: 65+15=80, Resulting Numbers: [94, 80]
Generated Node #0,1,1: 54:[94, 80] Operation: 65+15=80
Exploring Operation: 94-15=79, Resulting Numbers: [65, 79]
Generated Node #0,1,2: 54:[65, 79] Operation: 94-15=79
Exploring Operation: 94+15=109, Resulting Numbers: [65, 109]
Generated Node #0,1,3: 54:[65, 109] Operation: 94+15=109
Exploring Operation: 65-15=50, Resulting Numbers: [94, 50]
Generated Node #0,1,4: 54:[94, 50] Operation: 65-15=50
Moving to Node #0,4,3
Current State: 54:[26, 12], Operations: ['94-68=26', '65-53=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[29, 15], Operations: ['94-65=29', '68-53=15']
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,54 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,1,0
Current State: 54:[15, 29], Operations: ['68-53=15', '94-65=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,54 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[65, 27], Operations: ['94-68=26', '53-26=27']
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,54 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[53, 39], Operations: ['94-65=29', '68-29=39']
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[53, 39], Operations: ['94-68=26', '65-26=39']
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[3, 41], Operations: ['68-65=3', '94-53=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,54 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[68, 24], Operations: ['94-65=29', '53-29=24']
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,54 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[65, 79], Operations: ['94-68=26', '53+26=79']
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,54 unequal: No Solution
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Moving to Node #0,1,2
Current State: 54:[65, 79], Operations: ['68-53=15', '94-15=79']
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,54 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[53, 91], Operations: ['68-65=3', '94-3=91']
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,54 unequal: No Solution
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[53, 91], Operations: ['94-68=26', '65+26=91']
Exploring Operation: 53+91=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 53*91=4823, Resulting Numbers: [4823]
4823,54 unequal: No Solution
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[94, 56], Operations: ['68-65=3', '53+3=56']
Exploring Operation: 94*56=5264, Resulting Numbers: [5264]
5264,54 unequal: No Solution
Exploring Operation: 94+56=150, Resulting Numbers: [150]
150,54 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[68, 82], Operations: ['94-65=29', '53+29=82']
Exploring Operation: 68+82=150, Resulting Numbers: [150]
150,54 unequal: No Solution
Exploring Operation: 68*82=5576, Resulting Numbers: [5576]
5576,54 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[53, 97], Operations: ['68-65=3', '94+3=97']
Exploring Operation: 53*97=5141, Resulting Numbers: [5141]
5141,54 unequal: No Solution
Exploring Operation: 53+97=150, Resulting Numbers: [150]
150,54 unequal: No Solution
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[53, 97], Operations: ['94-65=29', '68+29=97']
Exploring Operation: 53*97=5141, Resulting Numbers: [5141]
5141,54 unequal: No Solution
Exploring Operation: 53+97=150, Resulting Numbers: [150]
150,54 unequal: No Solution
Exploring Operation: 97-53=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,1,4
Current State: 54:[94, 50], Operations: ['68-53=15', '65-15=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[94, 50], Operations: ['68-65=3', '53-3=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,54 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Moving to Node #0,1,3
Current State: 54:[65, 109], Operations: ['68-53=15', '94+15=109']
Exploring Operation: 65+109=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Exploring Operation: 109-65=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 65*109=7085, Resulting Numbers: [7085]
7085,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[94, 80], Operations: ['68-53=15', '65+15=80']
Exploring Operation: 94+80=174, Resulting Numbers: [174]
174,54 unequal: No Solution
Exploring Operation: 94*80=7520, Resulting Numbers: [7520]
7520,54 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,54 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
89,
80,
24,
5
] | 69 | [
"89-80=9",
"5*9=45",
"24+45=69"
] | Current State: 69:[89, 80, 24, 5], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [24, 5, 9]
Generated Node #2: [24, 5, 9] from Operation: 89-80=9
Current State: 69:[24, 5, 9], Operations: ['89-80=9']
Exploring Operation: 5*9=45, Resulting Numbers: [24, 45]
Generated Node #3: [24, 45] from Operation: 5*9=45
Current State: 69:[24, 45], Operations: ['89-80=9', '5*9=45']
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[89, 80, 24, 5], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [24, 5, 9]
Generated Node #0,0: 69:[24, 5, 9] Operation: 89-80=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[24, 5, 9], Operations: ['89-80=9']
Exploring Operation: 9-5=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 69:[24, 4] Operation: 9-5=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[24, 4], Operations: ['89-80=9', '9-5=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
96,
31,
53,
90
] | 90 | [
"96+31=127",
"90-53=37",
"127-37=90"
] | Current State: 90:[96, 31, 53, 90], Operations: []
Exploring Operation: 96+31=127, Resulting Numbers: [53, 90, 127]
Generated Node #2: [53, 90, 127] from Operation: 96+31=127
Current State: 90:[53, 90, 127], Operations: ['96+31=127']
Exploring Operation: 90-53=37, Resulting Numbers: [127, 37]
Generated Node #3: [127, 37] from Operation: 90-53=37
Current State: 90:[127, 37], Operations: ['96+31=127', '90-53=37']
Exploring Operation: 127-37=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[96, 31, 53, 90], Operations: []
Exploring Operation: 96-53=43, Resulting Numbers: [31, 90, 43]
Generated Node #0,0: 90:[31, 90, 43] Operation: 96-53=43
Moving to Node #0,0
Current State: 90:[31, 90, 43], Operations: ['96-53=43']
Exploring Operation: 43-31=12, Resulting Numbers: [90, 12]
Generated Node #0,0,0: 90:[90, 12] Operation: 43-31=12
Moving to Node #0,0,0
Current State: 90:[90, 12], Operations: ['96-53=43', '43-31=12']
Exploring Operation: 90+12=102, Resulting Numbers: [102]
102,90 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
20,
17,
10
] | 34 | [
"21+20=41",
"17-10=7",
"41-7=34"
] | Current State: 34:[21, 20, 17, 10], Operations: []
Exploring Operation: 21+20=41, Resulting Numbers: [17, 10, 41]
Generated Node #2: [17, 10, 41] from Operation: 21+20=41
Current State: 34:[17, 10, 41], Operations: ['21+20=41']
Exploring Operation: 17-10=7, Resulting Numbers: [41, 7]
Generated Node #3: [41, 7] from Operation: 17-10=7
Current State: 34:[41, 7], Operations: ['21+20=41', '17-10=7']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[21, 20, 17, 10], Operations: []
Exploring Operation: 20/10=2, Resulting Numbers: [21, 17, 2]
Generated Node #0,0: 34:[21, 17, 2] Operation: 20/10=2
Exploring Operation: 21+10=31, Resulting Numbers: [20, 17, 31]
Generated Node #0,1: 34:[20, 17, 31] Operation: 21+10=31
Moving to Node #0,0
Current State: 34:[21, 17, 2], Operations: ['20/10=2']
Exploring Operation: 21-17=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 34:[2, 4] Operation: 21-17=4
Exploring Operation: 21-2=19, Resulting Numbers: [17, 19]
Generated Node #0,0,1: 34:[17, 19] Operation: 21-2=19
Moving to Node #0,1
Current State: 34:[20, 17, 31], Operations: ['21+10=31']
Exploring Operation: 20-17=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 34:[31, 3] Operation: 20-17=3
Exploring Operation: 20+17=37, Resulting Numbers: [31, 37]
Generated Node #0,1,1: 34:[31, 37] Operation: 20+17=37
Moving to Node #0,0,0
Current State: 34:[2, 4], Operations: ['20/10=2', '21-17=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[17, 19], Operations: ['20/10=2', '21-2=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[31, 3], Operations: ['21+10=31', '20-17=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[21, 20, 17, 10], Operations: []
Exploring Operation: 21+10=31, Resulting Numbers: [20, 17, 31]
Generated Node #0,1: 34:[20, 17, 31] Operation: 21+10=31
Moving to Node #0,1
Current State: 34:[20, 17, 31], Operations: ['21+10=31']
Exploring Operation: 20-17=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 34:[31, 3] Operation: 20-17=3
Moving to Node #0,1,0
Current State: 34:[31, 3], Operations: ['21+10=31', '20-17=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
39,
88,
35,
28
] | 71 | [
"88*35=3080",
"3080/28=110",
"110-39=71"
] | Current State: 71:[39, 88, 35, 28], Operations: []
Exploring Operation: 88*35=3080, Resulting Numbers: [39, 28, 3080]
Generated Node #2: [39, 28, 3080] from Operation: 88*35=3080
Current State: 71:[39, 28, 3080], Operations: ['88*35=3080']
Exploring Operation: 3080/28=110, Resulting Numbers: [39, 110]
Generated Node #3: [39, 110] from Operation: 3080/28=110
Current State: 71:[39, 110], Operations: ['88*35=3080', '3080/28=110']
Exploring Operation: 110-39=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[39, 88, 35, 28], Operations: []
Exploring Operation: 39+35=74, Resulting Numbers: [88, 28, 74]
Generated Node #0,0: 71:[88, 28, 74] Operation: 39+35=74
Exploring Operation: 35+28=63, Resulting Numbers: [39, 88, 63]
Generated Node #0,1: 71:[39, 88, 63] Operation: 35+28=63
Exploring Operation: 39+28=67, Resulting Numbers: [88, 35, 67]
Generated Node #0,2: 71:[88, 35, 67] Operation: 39+28=67
Moving to Node #0,1
Current State: 71:[39, 88, 63], Operations: ['35+28=63']
Exploring Operation: 39+88=127, Resulting Numbers: [63, 127]
Generated Node #0,1,0: 71:[63, 127] Operation: 39+88=127
Exploring Operation: 88-39=49, Resulting Numbers: [63, 49]
Generated Node #0,1,1: 71:[63, 49] Operation: 88-39=49
Exploring Operation: 39+63=102, Resulting Numbers: [88, 102]
Generated Node #0,1,2: 71:[88, 102] Operation: 39+63=102
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[63, 49], Operations: ['35+28=63', '88-39=49']
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 63*49=3087, Resulting Numbers: [3087]
3087,71 unequal: No Solution
Exploring Operation: 63+49=112, Resulting Numbers: [112]
112,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[88, 102], Operations: ['35+28=63', '39+63=102']
Exploring Operation: 88*102=8976, Resulting Numbers: [8976]
8976,71 unequal: No Solution
Exploring Operation: 102-88=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 88+102=190, Resulting Numbers: [190]
190,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[63, 127], Operations: ['35+28=63', '39+88=127']
Exploring Operation: 127-63=64, Resulting Numbers: [64]
64,71 unequal: No Solution
Exploring Operation: 63*127=8001, Resulting Numbers: [8001]
8001,71 unequal: No Solution
Exploring Operation: 63+127=190, Resulting Numbers: [190]
190,71 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: 71:[88, 35, 67], Operations: ['39+28=67']
Exploring Operation: 35+67=102, Resulting Numbers: [88, 102]
Generated Node #0,2,0: 71:[88, 102] Operation: 35+67=102
Exploring Operation: 88-35=53, Resulting Numbers: [67, 53]
Generated Node #0,2,1: 71:[67, 53] Operation: 88-35=53
Exploring Operation: 88+35=123, Resulting Numbers: [67, 123]
Generated Node #0,2,2: 71:[67, 123] Operation: 88+35=123
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[67, 53], Operations: ['39+28=67', '88-35=53']
Exploring Operation: 67+53=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 67-53=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 67*53=3551, Resulting Numbers: [3551]
3551,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,2,0
Current State: 71:[88, 102], Operations: ['39+28=67', '35+67=102']
Exploring Operation: 102-88=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 88+102=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 88*102=8976, Resulting Numbers: [8976]
8976,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,2,2
Current State: 71:[67, 123], Operations: ['39+28=67', '88+35=123']
Exploring Operation: 67*123=8241, Resulting Numbers: [8241]
8241,71 unequal: No Solution
Exploring Operation: 67+123=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 123-67=56, Resulting Numbers: [56]
56,71 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: 71:[88, 28, 74], Operations: ['39+35=74']
Exploring Operation: 88-28=60, Resulting Numbers: [74, 60]
Generated Node #0,0,0: 71:[74, 60] Operation: 88-28=60
Exploring Operation: 88+28=116, Resulting Numbers: [74, 116]
Generated Node #0,0,1: 71:[74, 116] Operation: 88+28=116
Exploring Operation: 74-28=46, Resulting Numbers: [88, 46]
Generated Node #0,0,2: 71:[88, 46] Operation: 74-28=46
Moving to Node #0,0,0
Current State: 71:[74, 60], Operations: ['39+35=74', '88-28=60']
Exploring Operation: 74*60=4440, Resulting Numbers: [4440]
4440,71 unequal: No Solution
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 74+60=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[88, 46], Operations: ['39+35=74', '74-28=46']
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 88+46=134, Resulting Numbers: [134]
134,71 unequal: No Solution
Exploring Operation: 88*46=4048, Resulting Numbers: [4048]
4048,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[74, 116], Operations: ['39+35=74', '88+28=116']
Exploring Operation: 116-74=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 74+116=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 74*116=8584, Resulting Numbers: [8584]
8584,71 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
78,
45,
2
] | 23 | [
"35+78=113",
"45*2=90",
"113-90=23"
] | Current State: 23:[35, 78, 45, 2], Operations: []
Exploring Operation: 35+78=113, Resulting Numbers: [45, 2, 113]
Generated Node #2: [45, 2, 113] from Operation: 35+78=113
Current State: 23:[45, 2, 113], Operations: ['35+78=113']
Exploring Operation: 45*2=90, Resulting Numbers: [113, 90]
Generated Node #3: [113, 90] from Operation: 45*2=90
Current State: 23:[113, 90], Operations: ['35+78=113', '45*2=90']
Exploring Operation: 113-90=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[35, 78, 45, 2], Operations: []
Exploring Operation: 78/2=39, Resulting Numbers: [35, 45, 39]
Generated Node #0,0: 23:[35, 45, 39] Operation: 78/2=39
Exploring Operation: 78-35=43, Resulting Numbers: [45, 2, 43]
Generated Node #0,1: 23:[45, 2, 43] Operation: 78-35=43
Exploring Operation: 78-45=33, Resulting Numbers: [35, 2, 33]
Generated Node #0,2: 23:[35, 2, 33] Operation: 78-45=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[35, 2, 33], Operations: ['78-45=33']
Exploring Operation: 35+2=37, Resulting Numbers: [33, 37]
Generated Node #0,2,0: 23:[33, 37] Operation: 35+2=37
Exploring Operation: 35-2=33, Resulting Numbers: [33, 33]
Generated Node #0,2,1: 23:[33, 33] Operation: 35-2=33
Exploring Operation: 33-2=31, Resulting Numbers: [35, 31]
Generated Node #0,2,2: 23:[35, 31] Operation: 33-2=31
Moving to Node #0,2,1
Current State: 23:[33, 33], Operations: ['78-45=33', '35-2=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[35, 31], Operations: ['78-45=33', '33-2=31']
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,23 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[33, 37], Operations: ['78-45=33', '35+2=37']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,23 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[35, 45, 39], Operations: ['78/2=39']
Exploring Operation: 39-35=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 23:[45, 4] Operation: 39-35=4
Exploring Operation: 45-35=10, Resulting Numbers: [39, 10]
Generated Node #0,0,1: 23:[39, 10] Operation: 45-35=10
Exploring Operation: 45-39=6, Resulting Numbers: [35, 6]
Generated Node #0,0,2: 23:[35, 6] Operation: 45-39=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[39, 10], Operations: ['78/2=39', '45-35=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,23 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,23 unequal: No Solution
No 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: 23:[35, 6], Operations: ['78/2=39', '45-39=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,23 unequal: No Solution
No 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: 23:[45, 4], Operations: ['78/2=39', '39-35=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,23 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: 23:[45, 2, 43], Operations: ['78-35=43']
Exploring Operation: 45-43=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 23:[2, 2] Operation: 45-43=2
Exploring Operation: 45-2=43, Resulting Numbers: [43, 43]
Generated Node #0,1,1: 23:[43, 43] Operation: 45-2=43
Exploring Operation: 43-2=41, Resulting Numbers: [45, 41]
Generated Node #0,1,2: 23:[45, 41] Operation: 43-2=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[43, 43], Operations: ['78-35=43', '45-2=43']
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 43-43=0, Resulting Numbers: [0]
0,23 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,23 unequal: No Solution
No 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: 23:[45, 41], Operations: ['78-35=43', '43-2=41']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,23 unequal: No Solution
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,23 unequal: No Solution
No 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: 23:[2, 2], Operations: ['78-35=43', '45-43=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,23 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
78,
75,
40,
42
] | 60 | [
"75+42=117",
"40*117=4680",
"4680/78=60"
] | Current State: 60:[78, 75, 40, 42], Operations: []
Exploring Operation: 75+42=117, Resulting Numbers: [78, 40, 117]
Generated Node #2: [78, 40, 117] from Operation: 75+42=117
Current State: 60:[78, 40, 117], Operations: ['75+42=117']
Exploring Operation: 40*117=4680, Resulting Numbers: [78, 4680]
Generated Node #3: [78, 4680] from Operation: 40*117=4680
Current State: 60:[78, 4680], Operations: ['75+42=117', '40*117=4680']
Exploring Operation: 4680/78=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[78, 75, 40, 42], Operations: []
Exploring Operation: 78-42=36, Resulting Numbers: [75, 40, 36]
Generated Node #0,0: 60:[75, 40, 36] Operation: 78-42=36
Exploring Operation: 78-75=3, Resulting Numbers: [40, 42, 3]
Generated Node #0,1: 60:[40, 42, 3] Operation: 78-75=3
Exploring Operation: 75-42=33, Resulting Numbers: [78, 40, 33]
Generated Node #0,2: 60:[78, 40, 33] Operation: 75-42=33
Moving to Node #0,1
Current State: 60:[40, 42, 3], Operations: ['78-75=3']
Exploring Operation: 40-3=37, Resulting Numbers: [42, 37]
Generated Node #0,1,0: 60:[42, 37] Operation: 40-3=37
Exploring Operation: 42/3=14, Resulting Numbers: [40, 14]
Generated Node #0,1,1: 60:[40, 14] Operation: 42/3=14
Exploring Operation: 42-40=2, Resulting Numbers: [3, 2]
Generated Node #0,1,2: 60:[3, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[3, 2], Operations: ['78-75=3', '42-40=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[40, 14], Operations: ['78-75=3', '42/3=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,60 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[42, 37], Operations: ['78-75=3', '40-3=37']
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,60 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,60 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: 60:[75, 40, 36], Operations: ['78-42=36']
Exploring Operation: 75-40=35, Resulting Numbers: [36, 35]
Generated Node #0,0,0: 60:[36, 35] Operation: 75-40=35
Exploring Operation: 40-36=4, Resulting Numbers: [75, 4]
Generated Node #0,0,1: 60:[75, 4] Operation: 40-36=4
Exploring Operation: 75-36=39, Resulting Numbers: [40, 39]
Generated Node #0,0,2: 60:[40, 39] Operation: 75-36=39
Moving to Node #0,2
Current State: 60:[78, 40, 33], Operations: ['75-42=33']
Exploring Operation: 78-40=38, Resulting Numbers: [33, 38]
Generated Node #0,2,0: 60:[33, 38] Operation: 78-40=38
Exploring Operation: 40-33=7, Resulting Numbers: [78, 7]
Generated Node #0,2,1: 60:[78, 7] Operation: 40-33=7
Exploring Operation: 78-33=45, Resulting Numbers: [40, 45]
Generated Node #0,2,2: 60:[40, 45] Operation: 78-33=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[33, 38], Operations: ['75-42=33', '78-40=38']
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,60 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,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,1
Current State: 60:[78, 7], Operations: ['75-42=33', '40-33=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,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:[40, 45], Operations: ['75-42=33', '78-33=45']
Exploring Operation: 40+45=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 40*45=1800, Resulting Numbers: [1800]
1800,60 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: 60:[36, 35], Operations: ['78-42=36', '75-40=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[75, 4], Operations: ['78-42=36', '40-36=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,60 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[40, 39], Operations: ['78-42=36', '75-36=39']
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,60 unequal: No Solution
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,60 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
63,
57,
28,
58
] | 92 | [
"63-57=6",
"28+58=86",
"6+86=92"
] | Current State: 92:[63, 57, 28, 58], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [28, 58, 6]
Generated Node #2: [28, 58, 6] from Operation: 63-57=6
Current State: 92:[28, 58, 6], Operations: ['63-57=6']
Exploring Operation: 28+58=86, Resulting Numbers: [6, 86]
Generated Node #3: [6, 86] from Operation: 28+58=86
Current State: 92:[6, 86], Operations: ['63-57=6', '28+58=86']
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[63, 57, 28, 58], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [63, 28, 1]
Generated Node #0,0: 92:[63, 28, 1] Operation: 58-57=1
Exploring Operation: 63-57=6, Resulting Numbers: [28, 58, 6]
Generated Node #0,1: 92:[28, 58, 6] Operation: 63-57=6
Exploring Operation: 63-58=5, Resulting Numbers: [57, 28, 5]
Generated Node #0,2: 92:[57, 28, 5] Operation: 63-58=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[57, 28, 5], Operations: ['63-58=5']
Exploring Operation: 57-28=29, Resulting Numbers: [5, 29]
Generated Node #0,2,0: 92:[5, 29] Operation: 57-28=29
Exploring Operation: 57+28=85, Resulting Numbers: [5, 85]
Generated Node #0,2,1: 92:[5, 85] Operation: 57+28=85
Exploring Operation: 57-5=52, Resulting Numbers: [28, 52]
Generated Node #0,2,2: 92:[28, 52] Operation: 57-5=52
Moving to Node #0,2,0
Current State: 92:[5, 29], Operations: ['63-58=5', '57-28=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,92 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[5, 85], Operations: ['63-58=5', '57+28=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 5+85=90, Resulting Numbers: [90]
90,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[28, 52], Operations: ['63-58=5', '57-5=52']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,92 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[28, 58, 6], Operations: ['63-57=6']
Exploring Operation: 28+58=86, Resulting Numbers: [6, 86]
Generated Node #0,1,0: 92:[6, 86] Operation: 28+58=86
Exploring Operation: 58-6=52, Resulting Numbers: [28, 52]
Generated Node #0,1,1: 92:[28, 52] Operation: 58-6=52
Exploring Operation: 58-28=30, Resulting Numbers: [6, 30]
Generated Node #0,1,2: 92:[6, 30] Operation: 58-28=30
Moving to Node #0,1,0
Current State: 92:[6, 86], Operations: ['63-57=6', '28+58=86']
Exploring Operation: 6*86=516, Resulting Numbers: [516]
516,92 unequal: No Solution
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[63, 57, 28, 58], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [28, 58, 6]
Generated Node #0,1: 92:[28, 58, 6] Operation: 63-57=6
Moving to Node #0,1
Current State: 92:[28, 58, 6], Operations: ['63-57=6']
Exploring Operation: 28+58=86, Resulting Numbers: [6, 86]
Generated Node #0,1,0: 92:[6, 86] Operation: 28+58=86
Moving to Node #0,1,0
Current State: 92:[6, 86], Operations: ['63-57=6', '28+58=86']
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
21,
65,
90,
49
] | 18 | [
"65-21=44",
"49-44=5",
"90/5=18"
] | Current State: 18:[21, 65, 90, 49], Operations: []
Exploring Operation: 65-21=44, Resulting Numbers: [90, 49, 44]
Generated Node #2: [90, 49, 44] from Operation: 65-21=44
Current State: 18:[90, 49, 44], Operations: ['65-21=44']
Exploring Operation: 49-44=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 49-44=5
Current State: 18:[90, 5], Operations: ['65-21=44', '49-44=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[21, 65, 90, 49], Operations: []
Exploring Operation: 90-65=25, Resulting Numbers: [21, 49, 25]
Generated Node #0,0: 18:[21, 49, 25] Operation: 90-65=25
Exploring Operation: 90-49=41, Resulting Numbers: [21, 65, 41]
Generated Node #0,1: 18:[21, 65, 41] Operation: 90-49=41
Moving to Node #0,0
Current State: 18:[21, 49, 25], Operations: ['90-65=25']
Exploring Operation: 49-21=28, Resulting Numbers: [25, 28]
Generated Node #0,0,0: 18:[25, 28] Operation: 49-21=28
Exploring Operation: 49-25=24, Resulting Numbers: [21, 24]
Generated Node #0,0,1: 18:[21, 24] Operation: 49-25=24
Moving to Node #0,1
Current State: 18:[21, 65, 41], Operations: ['90-49=41']
Exploring Operation: 65-21=44, Resulting Numbers: [41, 44]
Generated Node #0,1,0: 18:[41, 44] Operation: 65-21=44
Exploring Operation: 65-41=24, Resulting Numbers: [21, 24]
Generated Node #0,1,1: 18:[21, 24] Operation: 65-41=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[21, 24], Operations: ['90-49=41', '65-41=24']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,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,1,0
Current State: 18:[41, 44], Operations: ['90-49=41', '65-21=44']
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,18 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: 18:[21, 24], Operations: ['90-65=25', '49-25=24']
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[25, 28], Operations: ['90-65=25', '49-21=28']
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
52,
80,
69,
52
] | 45 | [
"80-52=28",
"69-52=17",
"28+17=45"
] | Current State: 45:[52, 80, 69, 52], Operations: []
Exploring Operation: 80-52=28, Resulting Numbers: [69, 28]
Generated Node #2: [69, 28] from Operation: 80-52=28
Current State: 45:[69, 28], Operations: ['80-52=28']
Exploring Operation: 69-52=17, Resulting Numbers: [28, 17]
Generated Node #3: [28, 17] from Operation: 69-52=17
Current State: 45:[28, 17], Operations: ['80-52=28', '69-52=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[52, 80, 69, 52], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [80, 52, 17]
Generated Node #0,0: 45:[80, 52, 17] Operation: 69-52=17
Exploring Operation: 80-69=11, Resulting Numbers: [52, 52, 11]
Generated Node #0,1: 45:[52, 52, 11] Operation: 80-69=11
Exploring Operation: 80-52=28, Resulting Numbers: [69, 52, 28]
Generated Node #0,2: 45:[69, 52, 28] Operation: 80-52=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[52, 52, 11], Operations: ['80-69=11']
Exploring Operation: 52-52=0, Resulting Numbers: [11, 0]
Generated Node #0,1,0: 45:[11, 0] Operation: 52-52=0
Exploring Operation: 52-11=41, Resulting Numbers: [52, 41]
Generated Node #0,1,1: 45:[52, 41] Operation: 52-11=41
Exploring Operation: 52/52=1, Resulting Numbers: [11, 1]
Generated Node #0,1,2: 45:[11, 1] Operation: 52/52=1
Moving to Node #0,1,2
Current State: 45:[11, 1], Operations: ['80-69=11', '52/52=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[11, 0], Operations: ['80-69=11', '52-52=0']
Exploring Operation: 11-0=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 11+0=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 11*0=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[52, 41], Operations: ['80-69=11', '52-11=41']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,45 unequal: No Solution
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,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
Current State: 45:[80, 52, 17], Operations: ['69-52=17']
Exploring Operation: 80-17=63, Resulting Numbers: [52, 63]
Generated Node #0,0,0: 45:[52, 63] Operation: 80-17=63
Exploring Operation: 52-17=35, Resulting Numbers: [80, 35]
Generated Node #0,0,1: 45:[80, 35] Operation: 52-17=35
Exploring Operation: 80-52=28, Resulting Numbers: [17, 28]
Generated Node #0,0,2: 45:[17, 28] Operation: 80-52=28
Moving to Node #0,0,2
Current State: 45:[17, 28], Operations: ['69-52=17', '80-52=28']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,45 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[52, 80, 69, 52], Operations: []
Exploring Operation: 69-52=17, Resulting Numbers: [80, 52, 17]
Generated Node #0,0: 45:[80, 52, 17] Operation: 69-52=17
Moving to Node #0,0
Current State: 45:[80, 52, 17], Operations: ['69-52=17']
Exploring Operation: 80-52=28, Resulting Numbers: [17, 28]
Generated Node #0,0,2: 45:[17, 28] Operation: 80-52=28
Moving to Node #0,0,2
Current State: 45:[17, 28], Operations: ['69-52=17', '80-52=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
86,
22,
32,
98
] | 49 | [
"86-22=64",
"32*98=3136",
"3136/64=49"
] | Current State: 49:[86, 22, 32, 98], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [32, 98, 64]
Generated Node #2: [32, 98, 64] from Operation: 86-22=64
Current State: 49:[32, 98, 64], Operations: ['86-22=64']
Exploring Operation: 32*98=3136, Resulting Numbers: [64, 3136]
Generated Node #3: [64, 3136] from Operation: 32*98=3136
Current State: 49:[64, 3136], Operations: ['86-22=64', '32*98=3136']
Exploring Operation: 3136/64=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[86, 22, 32, 98], Operations: []
Exploring Operation: 86-32=54, Resulting Numbers: [22, 98, 54]
Generated Node #0,0: 49:[22, 98, 54] Operation: 86-32=54
Exploring Operation: 98-86=12, Resulting Numbers: [22, 32, 12]
Generated Node #0,1: 49:[22, 32, 12] Operation: 98-86=12
Exploring Operation: 98-32=66, Resulting Numbers: [86, 22, 66]
Generated Node #0,2: 49:[86, 22, 66] Operation: 98-32=66
Exploring Operation: 86-22=64, Resulting Numbers: [32, 98, 64]
Generated Node #0,3: 49:[32, 98, 64] Operation: 86-22=64
Moving to Node #0,1
Current State: 49:[22, 32, 12], Operations: ['98-86=12']
Exploring Operation: 32+12=44, Resulting Numbers: [22, 44]
Generated Node #0,1,0: 49:[22, 44] Operation: 32+12=44
Exploring Operation: 22-12=10, Resulting Numbers: [32, 10]
Generated Node #0,1,1: 49:[32, 10] Operation: 22-12=10
Exploring Operation: 32-22=10, Resulting Numbers: [12, 10]
Generated Node #0,1,2: 49:[12, 10] Operation: 32-22=10
Exploring Operation: 22+32=54, Resulting Numbers: [12, 54]
Generated Node #0,1,3: 49:[12, 54] Operation: 22+32=54
Moving to Node #0,2
Current State: 49:[86, 22, 66], Operations: ['98-32=66']
Exploring Operation: 66-22=44, Resulting Numbers: [86, 44]
Generated Node #0,2,0: 49:[86, 44] Operation: 66-22=44
Exploring Operation: 86-66=20, Resulting Numbers: [22, 20]
Generated Node #0,2,1: 49:[22, 20] Operation: 86-66=20
Exploring Operation: 66/22=3, Resulting Numbers: [86, 3]
Generated Node #0,2,2: 49:[86, 3] Operation: 66/22=3
Exploring Operation: 86-22=64, Resulting Numbers: [66, 64]
Generated Node #0,2,3: 49:[66, 64] Operation: 86-22=64
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[22, 20], Operations: ['98-32=66', '86-66=20']
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,49 unequal: No Solution
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[66, 64], Operations: ['98-32=66', '86-22=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,49 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[86, 3], Operations: ['98-32=66', '66/22=3']
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,49 unequal: No Solution
Exploring Operation: 86*3=258, Resulting Numbers: [258]
258,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[86, 44], Operations: ['98-32=66', '66-22=44']
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,49 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 49:[22, 98, 54], Operations: ['86-32=54']
Exploring Operation: 22+98=120, Resulting Numbers: [54, 120]
Generated Node #0,0,0: 49:[54, 120] Operation: 22+98=120
Exploring Operation: 98-54=44, Resulting Numbers: [22, 44]
Generated Node #0,0,1: 49:[22, 44] Operation: 98-54=44
Exploring Operation: 98-22=76, Resulting Numbers: [54, 76]
Generated Node #0,0,2: 49:[54, 76] Operation: 98-22=76
Exploring Operation: 54-22=32, Resulting Numbers: [98, 32]
Generated Node #0,0,3: 49:[98, 32] Operation: 54-22=32
Moving to Node #0,3
Current State: 49:[32, 98, 64], Operations: ['86-22=64']
Exploring Operation: 98-64=34, Resulting Numbers: [32, 34]
Generated Node #0,3,0: 49:[32, 34] Operation: 98-64=34
Exploring Operation: 98-32=66, Resulting Numbers: [64, 66]
Generated Node #0,3,1: 49:[64, 66] Operation: 98-32=66
Exploring Operation: 64/32=2, Resulting Numbers: [98, 2]
Generated Node #0,3,2: 49:[98, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [98, 32]
Generated Node #0,3,3: 49:[98, 32] Operation: 64-32=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[32, 34], Operations: ['86-22=64', '98-64=34']
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,49 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[64, 66], Operations: ['86-22=64', '98-32=66']
Exploring Operation: 64+66=130, Resulting Numbers: [130]
130,49 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 64*66=4224, Resulting Numbers: [4224]
4224,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[98, 2], Operations: ['86-22=64', '64/32=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[86, 22, 32, 98], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [32, 98, 64]
Generated Node #0,3: 49:[32, 98, 64] Operation: 86-22=64
Moving to Node #0,3
Current State: 49:[32, 98, 64], Operations: ['86-22=64']
Exploring Operation: 64/32=2, Resulting Numbers: [98, 2]
Generated Node #0,3,2: 49:[98, 2] Operation: 64/32=2
Moving to Node #0,3,2
Current State: 49:[98, 2], Operations: ['86-22=64', '64/32=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_4 | sum_heuristic |
[
35,
20,
85,
32
] | 75 | [
"35+85=120",
"20*120=2400",
"2400/32=75"
] | Current State: 75:[35, 20, 85, 32], Operations: []
Exploring Operation: 35+85=120, Resulting Numbers: [20, 32, 120]
Generated Node #2: [20, 32, 120] from Operation: 35+85=120
Current State: 75:[20, 32, 120], Operations: ['35+85=120']
Exploring Operation: 20*120=2400, Resulting Numbers: [32, 2400]
Generated Node #3: [32, 2400] from Operation: 20*120=2400
Current State: 75:[32, 2400], Operations: ['35+85=120', '20*120=2400']
Exploring Operation: 2400/32=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[35, 20, 85, 32], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [20, 85, 3]
Generated Node #0,0: 75:[20, 85, 3] Operation: 35-32=3
Moving to Node #0,0
Current State: 75:[20, 85, 3], Operations: ['35-32=3']
Exploring Operation: 85-20=65, Resulting Numbers: [3, 65]
Generated Node #0,0,0: 75:[3, 65] Operation: 85-20=65
Moving to Node #0,0,0
Current State: 75:[3, 65], Operations: ['35-32=3', '85-20=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
65,
27,
38
] | 82 | [
"65-27=38",
"38/38=1",
"83-1=82"
] | Current State: 82:[83, 65, 27, 38], Operations: []
Exploring Operation: 65-27=38, Resulting Numbers: [83, 38, 38]
Generated Node #2: [83, 38, 38] from Operation: 65-27=38
Current State: 82:[83, 38, 38], Operations: ['65-27=38']
Exploring Operation: 38/38=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 38/38=1
Current State: 82:[83, 1], Operations: ['65-27=38', '38/38=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[83, 65, 27, 38], Operations: []
Exploring Operation: 65-27=38, Resulting Numbers: [83, 38, 38]
Generated Node #0,0: 82:[83, 38, 38] Operation: 65-27=38
Exploring Operation: 65+27=92, Resulting Numbers: [83, 38, 92]
Generated Node #0,1: 82:[83, 38, 92] Operation: 65+27=92
Exploring Operation: 38-27=11, Resulting Numbers: [83, 65, 11]
Generated Node #0,2: 82:[83, 65, 11] Operation: 38-27=11
Moving to Node #0,0
Current State: 82:[83, 38, 38], Operations: ['65-27=38']
Exploring Operation: 38-38=0, Resulting Numbers: [83, 0]
Generated Node #0,0,0: 82:[83, 0] Operation: 38-38=0
Exploring Operation: 38/38=1, Resulting Numbers: [83, 1]
Generated Node #0,0,1: 82:[83, 1] Operation: 38/38=1
Exploring Operation: 83-38=45, Resulting Numbers: [38, 45]
Generated Node #0,0,2: 82:[38, 45] Operation: 83-38=45
Moving to Node #0,1
Current State: 82:[83, 38, 92], Operations: ['65+27=92']
Exploring Operation: 92-83=9, Resulting Numbers: [38, 9]
Generated Node #0,1,0: 82:[38, 9] Operation: 92-83=9
Exploring Operation: 83-38=45, Resulting Numbers: [92, 45]
Generated Node #0,1,1: 82:[92, 45] Operation: 83-38=45
Exploring Operation: 92-38=54, Resulting Numbers: [83, 54]
Generated Node #0,1,2: 82:[83, 54] Operation: 92-38=54
Moving to Node #0,2
Current State: 82:[83, 65, 11], Operations: ['38-27=11']
Exploring Operation: 65+11=76, Resulting Numbers: [83, 76]
Generated Node #0,2,0: 82:[83, 76] Operation: 65+11=76
Exploring Operation: 65-11=54, Resulting Numbers: [83, 54]
Generated Node #0,2,1: 82:[83, 54] Operation: 65-11=54
Exploring Operation: 83-65=18, Resulting Numbers: [11, 18]
Generated Node #0,2,2: 82:[11, 18] Operation: 83-65=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[83, 76], Operations: ['38-27=11', '65+11=76']
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,82 unequal: No Solution
Exploring Operation: 83+76=159, Resulting Numbers: [159]
159,82 unequal: No Solution
Exploring Operation: 83*76=6308, Resulting Numbers: [6308]
6308,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[83, 54], Operations: ['38-27=11', '65-11=54']
Exploring Operation: 83-54=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 83*54=4482, Resulting Numbers: [4482]
4482,82 unequal: No Solution
Exploring Operation: 83+54=137, Resulting Numbers: [137]
137,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[11, 18], Operations: ['38-27=11', '83-65=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,82 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,82 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: 82:[83, 1], Operations: ['65-27=38', '38/38=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[83, 65, 27, 38], Operations: []
Exploring Operation: 65-27=38, Resulting Numbers: [83, 38, 38]
Generated Node #0,0: 82:[83, 38, 38] Operation: 65-27=38
Moving to Node #0,0
Current State: 82:[83, 38, 38], Operations: ['65-27=38']
Exploring Operation: 38/38=1, Resulting Numbers: [83, 1]
Generated Node #0,0,1: 82:[83, 1] Operation: 38/38=1
Moving to Node #0,0,1
Current State: 82:[83, 1], Operations: ['65-27=38', '38/38=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
92,
76,
73,
58
] | 54 | [
"92-73=19",
"76/19=4",
"58-4=54"
] | Current State: 54:[92, 76, 73, 58], Operations: []
Exploring Operation: 92-73=19, Resulting Numbers: [76, 58, 19]
Generated Node #2: [76, 58, 19] from Operation: 92-73=19
Current State: 54:[76, 58, 19], Operations: ['92-73=19']
Exploring Operation: 76/19=4, Resulting Numbers: [58, 4]
Generated Node #3: [58, 4] from Operation: 76/19=4
Current State: 54:[58, 4], Operations: ['92-73=19', '76/19=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[92, 76, 73, 58], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [92, 58, 3]
Generated Node #0,0: 54:[92, 58, 3] Operation: 76-73=3
Exploring Operation: 92-58=34, Resulting Numbers: [76, 73, 34]
Generated Node #0,1: 54:[76, 73, 34] Operation: 92-58=34
Exploring Operation: 92-73=19, Resulting Numbers: [76, 58, 19]
Generated Node #0,2: 54:[76, 58, 19] Operation: 92-73=19
Exploring Operation: 76-58=18, Resulting Numbers: [92, 73, 18]
Generated Node #0,3: 54:[92, 73, 18] Operation: 76-58=18
Exploring Operation: 92-76=16, Resulting Numbers: [73, 58, 16]
Generated Node #0,4: 54:[73, 58, 16] Operation: 92-76=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[73, 58, 16], Operations: ['92-76=16']
Exploring Operation: 58-16=42, Resulting Numbers: [73, 42]
Generated Node #0,4,0: 54:[73, 42] Operation: 58-16=42
Exploring Operation: 73-58=15, Resulting Numbers: [16, 15]
Generated Node #0,4,1: 54:[16, 15] Operation: 73-58=15
Exploring Operation: 58+16=74, Resulting Numbers: [73, 74]
Generated Node #0,4,2: 54:[73, 74] Operation: 58+16=74
Exploring Operation: 73-16=57, Resulting Numbers: [58, 57]
Generated Node #0,4,3: 54:[58, 57] Operation: 73-16=57
Exploring Operation: 73+16=89, Resulting Numbers: [58, 89]
Generated Node #0,4,4: 54:[58, 89] Operation: 73+16=89
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 54:[16, 15], Operations: ['92-76=16', '73-58=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 54:[58, 57], Operations: ['92-76=16', '73-16=57']
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 58+57=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 58*57=3306, Resulting Numbers: [3306]
3306,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 54:[73, 42], Operations: ['92-76=16', '58-16=42']
Exploring Operation: 73*42=3066, Resulting Numbers: [3066]
3066,54 unequal: No Solution
Exploring Operation: 73+42=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 54:[73, 74], Operations: ['92-76=16', '58+16=74']
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,54 unequal: No Solution
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,54 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 54:[58, 89], Operations: ['92-76=16', '73+16=89']
Exploring Operation: 58+89=147, Resulting Numbers: [147]
147,54 unequal: No Solution
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Exploring Operation: 58*89=5162, Resulting Numbers: [5162]
5162,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[76, 58, 19], Operations: ['92-73=19']
Exploring Operation: 76-58=18, Resulting Numbers: [19, 18]
Generated Node #0,2,0: 54:[19, 18] Operation: 76-58=18
Exploring Operation: 76-19=57, Resulting Numbers: [58, 57]
Generated Node #0,2,1: 54:[58, 57] Operation: 76-19=57
Exploring Operation: 76+19=95, Resulting Numbers: [58, 95]
Generated Node #0,2,2: 54:[58, 95] Operation: 76+19=95
Exploring Operation: 58-19=39, Resulting Numbers: [76, 39]
Generated Node #0,2,3: 54:[76, 39] Operation: 58-19=39
Exploring Operation: 76/19=4, Resulting Numbers: [58, 4]
Generated Node #0,2,4: 54:[58, 4] Operation: 76/19=4
Moving to Node #0,2,0
Current State: 54:[19, 18], Operations: ['92-73=19', '76-58=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,54 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Moving to Node #0,2,4
Current State: 54:[58, 4], Operations: ['92-73=19', '76/19=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[92, 76, 73, 58], Operations: []
Exploring Operation: 92-73=19, Resulting Numbers: [76, 58, 19]
Generated Node #0,2: 54:[76, 58, 19] Operation: 92-73=19
Moving to Node #0,2
Current State: 54:[76, 58, 19], Operations: ['92-73=19']
Exploring Operation: 76/19=4, Resulting Numbers: [58, 4]
Generated Node #0,2,4: 54:[58, 4] Operation: 76/19=4
Moving to Node #0,2,4
Current State: 54:[58, 4], Operations: ['92-73=19', '76/19=4']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
75,
24,
2,
84
] | 31 | [
"75-24=51",
"84-2=82",
"82-51=31"
] | Current State: 31:[75, 24, 2, 84], Operations: []
Exploring Operation: 75-24=51, Resulting Numbers: [2, 84, 51]
Generated Node #2: [2, 84, 51] from Operation: 75-24=51
Current State: 31:[2, 84, 51], Operations: ['75-24=51']
Exploring Operation: 84-2=82, Resulting Numbers: [51, 82]
Generated Node #3: [51, 82] from Operation: 84-2=82
Current State: 31:[51, 82], Operations: ['75-24=51', '84-2=82']
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[75, 24, 2, 84], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [75, 24, 42]
Generated Node #0,0: 31:[75, 24, 42] Operation: 84/2=42
Exploring Operation: 84-75=9, Resulting Numbers: [24, 2, 9]
Generated Node #0,1: 31:[24, 2, 9] Operation: 84-75=9
Exploring Operation: 75-2=73, Resulting Numbers: [24, 84, 73]
Generated Node #0,2: 31:[24, 84, 73] Operation: 75-2=73
Exploring Operation: 75-24=51, Resulting Numbers: [2, 84, 51]
Generated Node #0,3: 31:[2, 84, 51] Operation: 75-24=51
Exploring Operation: 24+2=26, Resulting Numbers: [75, 84, 26]
Generated Node #0,4: 31:[75, 84, 26] Operation: 24+2=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[24, 2, 9], Operations: ['84-75=9']
Exploring Operation: 24-2=22, Resulting Numbers: [9, 22]
Generated Node #0,1,0: 31:[9, 22] Operation: 24-2=22
Exploring Operation: 2*9=18, Resulting Numbers: [24, 18]
Generated Node #0,1,1: 31:[24, 18] Operation: 2*9=18
Exploring Operation: 24+2=26, Resulting Numbers: [9, 26]
Generated Node #0,1,2: 31:[9, 26] Operation: 24+2=26
Exploring Operation: 24+9=33, Resulting Numbers: [2, 33]
Generated Node #0,1,3: 31:[2, 33] Operation: 24+9=33
Exploring Operation: 2+9=11, Resulting Numbers: [24, 11]
Generated Node #0,1,4: 31:[24, 11] Operation: 2+9=11
Moving to Node #0,1,1
Current State: 31:[24, 18], Operations: ['84-75=9', '2*9=18']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,31 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[24, 11], Operations: ['84-75=9', '2+9=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,31 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[9, 26], Operations: ['84-75=9', '24+2=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,31 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[9, 22], Operations: ['84-75=9', '24-2=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[75, 24, 2, 84], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [24, 2, 9]
Generated Node #0,1: 31:[24, 2, 9] Operation: 84-75=9
Moving to Node #0,1
Current State: 31:[24, 2, 9], Operations: ['84-75=9']
Exploring Operation: 24-2=22, Resulting Numbers: [9, 22]
Generated Node #0,1,0: 31:[9, 22] Operation: 24-2=22
Moving to Node #0,1,0
Current State: 31:[9, 22], Operations: ['84-75=9', '24-2=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | mult_heuristic |
[
57,
36,
51,
60
] | 84 | [
"57+36=93",
"60-51=9",
"93-9=84"
] | Current State: 84:[57, 36, 51, 60], Operations: []
Exploring Operation: 57+36=93, Resulting Numbers: [51, 60, 93]
Generated Node #2: [51, 60, 93] from Operation: 57+36=93
Current State: 84:[51, 60, 93], Operations: ['57+36=93']
Exploring Operation: 60-51=9, Resulting Numbers: [93, 9]
Generated Node #3: [93, 9] from Operation: 60-51=9
Current State: 84:[93, 9], Operations: ['57+36=93', '60-51=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[57, 36, 51, 60], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [36, 51, 3]
Generated Node #0,0: 84:[36, 51, 3] Operation: 60-57=3
Exploring Operation: 57-36=21, Resulting Numbers: [51, 60, 21]
Generated Node #0,1: 84:[51, 60, 21] Operation: 57-36=21
Exploring Operation: 60-51=9, Resulting Numbers: [57, 36, 9]
Generated Node #0,2: 84:[57, 36, 9] Operation: 60-51=9
Exploring Operation: 57-51=6, Resulting Numbers: [36, 60, 6]
Generated Node #0,3: 84:[36, 60, 6] Operation: 57-51=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[36, 51, 3], Operations: ['60-57=3']
Exploring Operation: 36+51=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 84:[3, 87] Operation: 36+51=87
Exploring Operation: 51/3=17, Resulting Numbers: [36, 17]
Generated Node #0,0,1: 84:[36, 17] Operation: 51/3=17
Exploring Operation: 51-36=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 84:[3, 15] Operation: 51-36=15
Exploring Operation: 36/3=12, Resulting Numbers: [51, 12]
Generated Node #0,0,3: 84:[51, 12] Operation: 36/3=12
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[3, 15], Operations: ['60-57=3', '51-36=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,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:[3, 87], Operations: ['60-57=3', '36+51=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[57, 36, 51, 60], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [36, 51, 3]
Generated Node #0,0: 84:[36, 51, 3] Operation: 60-57=3
Moving to Node #0,0
Current State: 84:[36, 51, 3], Operations: ['60-57=3']
Exploring Operation: 36+51=87, Resulting Numbers: [3, 87]
Generated Node #0,0,0: 84:[3, 87] Operation: 36+51=87
Moving to Node #0,0,0
Current State: 84:[3, 87], Operations: ['60-57=3', '36+51=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
94,
62,
32,
35
] | 36 | [
"94-62=32",
"32/32=1",
"35+1=36"
] | Current State: 36:[94, 62, 32, 35], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [32, 35, 32]
Generated Node #2: [32, 35, 32] from Operation: 94-62=32
Current State: 36:[32, 35, 32], Operations: ['94-62=32']
Exploring Operation: 32/32=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 32/32=1
Current State: 36:[35, 1], Operations: ['94-62=32', '32/32=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[94, 62, 32, 35], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [32, 35, 32]
Generated Node #0,0: 36:[32, 35, 32] Operation: 94-62=32
Moving to Node #0,0
Current State: 36:[32, 35, 32], Operations: ['94-62=32']
Exploring Operation: 32/32=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 36:[35, 1] Operation: 32/32=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[35, 1], Operations: ['94-62=32', '32/32=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[94, 62, 32, 35], Operations: []
Exploring Operation: 94-62=32, Resulting Numbers: [32, 35, 32]
Generated Node #0,0: 36:[32, 35, 32] Operation: 94-62=32
Moving to Node #0,0
Current State: 36:[32, 35, 32], Operations: ['94-62=32']
Exploring Operation: 32/32=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 36:[35, 1] Operation: 32/32=1
Moving to Node #0,0,0
Current State: 36:[35, 1], Operations: ['94-62=32', '32/32=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
19,
56,
14,
49
] | 21 | [
"19-14=5",
"56+49=105",
"105/5=21"
] | Current State: 21:[19, 56, 14, 49], Operations: []
Exploring Operation: 19-14=5, Resulting Numbers: [56, 49, 5]
Generated Node #2: [56, 49, 5] from Operation: 19-14=5
Current State: 21:[56, 49, 5], Operations: ['19-14=5']
Exploring Operation: 56+49=105, Resulting Numbers: [5, 105]
Generated Node #3: [5, 105] from Operation: 56+49=105
Current State: 21:[5, 105], Operations: ['19-14=5', '56+49=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[19, 56, 14, 49], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [19, 14, 7]
Generated Node #0,0: 21:[19, 14, 7] Operation: 56-49=7
Exploring Operation: 56/14=4, Resulting Numbers: [19, 49, 4]
Generated Node #0,1: 21:[19, 49, 4] Operation: 56/14=4
Exploring Operation: 56-19=37, Resulting Numbers: [14, 49, 37]
Generated Node #0,2: 21:[14, 49, 37] Operation: 56-19=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[19, 14, 7], Operations: ['56-49=7']
Exploring Operation: 19-14=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 21:[7, 5] Operation: 19-14=5
Exploring Operation: 14-7=7, Resulting Numbers: [19, 7]
Generated Node #0,0,1: 21:[19, 7] Operation: 14-7=7
Exploring Operation: 14+7=21, Resulting Numbers: [19, 21]
Generated Node #0,0,2: 21:[19, 21] Operation: 14+7=21
Moving to Node #0,0,0
Current State: 21:[7, 5], Operations: ['56-49=7', '19-14=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,21 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[19, 7], Operations: ['56-49=7', '14-7=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[19, 21], Operations: ['56-49=7', '14+7=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,21 unequal: No Solution
Exploring Operation: 21-19=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,1
Current State: 21:[19, 49, 4], Operations: ['56/14=4']
Exploring Operation: 49-19=30, Resulting Numbers: [4, 30]
Generated Node #0,1,0: 21:[4, 30] Operation: 49-19=30
Exploring Operation: 49-4=45, Resulting Numbers: [19, 45]
Generated Node #0,1,1: 21:[19, 45] Operation: 49-4=45
Exploring Operation: 19+4=23, Resulting Numbers: [49, 23]
Generated Node #0,1,2: 21:[49, 23] Operation: 19+4=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[4, 30], Operations: ['56/14=4', '49-19=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,21 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,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:[19, 45], Operations: ['56/14=4', '49-4=45']
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,21 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,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,2
Current State: 21:[49, 23], Operations: ['56/14=4', '19+4=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,21 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,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,2
Current State: 21:[14, 49, 37], Operations: ['56-19=37']
Exploring Operation: 49-37=12, Resulting Numbers: [14, 12]
Generated Node #0,2,0: 21:[14, 12] Operation: 49-37=12
Exploring Operation: 49-14=35, Resulting Numbers: [37, 35]
Generated Node #0,2,1: 21:[37, 35] Operation: 49-14=35
Exploring Operation: 37-14=23, Resulting Numbers: [49, 23]
Generated Node #0,2,2: 21:[49, 23] Operation: 37-14=23
Moving to Node #0,2,0
Current State: 21:[14, 12], Operations: ['56-19=37', '49-37=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[37, 35], Operations: ['56-19=37', '49-14=35']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 37*35=1295, Resulting Numbers: [1295]
1295,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[49, 23], Operations: ['56-19=37', '37-14=23']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,21 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,21 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 |
[
40,
5,
95,
27
] | 10 | [
"40+95=135",
"135/27=5",
"5+5=10"
] | Current State: 10:[40, 5, 95, 27], Operations: []
Exploring Operation: 40+95=135, Resulting Numbers: [5, 27, 135]
Generated Node #2: [5, 27, 135] from Operation: 40+95=135
Current State: 10:[5, 27, 135], Operations: ['40+95=135']
Exploring Operation: 135/27=5, Resulting Numbers: [5, 5]
Generated Node #3: [5, 5] from Operation: 135/27=5
Current State: 10:[5, 5], Operations: ['40+95=135', '135/27=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[40, 5, 95, 27], Operations: []
Exploring Operation: 95-40=55, Resulting Numbers: [5, 27, 55]
Generated Node #0,0: 10:[5, 27, 55] Operation: 95-40=55
Exploring Operation: 95/5=19, Resulting Numbers: [40, 27, 19]
Generated Node #0,1: 10:[40, 27, 19] Operation: 95/5=19
Exploring Operation: 95-27=68, Resulting Numbers: [40, 5, 68]
Generated Node #0,2: 10:[40, 5, 68] Operation: 95-27=68
Exploring Operation: 40-27=13, Resulting Numbers: [5, 95, 13]
Generated Node #0,3: 10:[5, 95, 13] Operation: 40-27=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[40, 27, 19], Operations: ['95/5=19']
Exploring Operation: 27-19=8, Resulting Numbers: [40, 8]
Generated Node #0,1,0: 10:[40, 8] Operation: 27-19=8
Exploring Operation: 40-27=13, Resulting Numbers: [19, 13]
Generated Node #0,1,1: 10:[19, 13] Operation: 40-27=13
Exploring Operation: 40-19=21, Resulting Numbers: [27, 21]
Generated Node #0,1,2: 10:[27, 21] Operation: 40-19=21
Exploring Operation: 40+27=67, Resulting Numbers: [19, 67]
Generated Node #0,1,3: 10:[19, 67] Operation: 40+27=67
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[19, 13], Operations: ['95/5=19', '40-27=13']
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,10 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[27, 21], Operations: ['95/5=19', '40-19=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[40, 8], Operations: ['95/5=19', '27-19=8']
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 40*8=320, Resulting Numbers: [320]
320,10 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[19, 67], Operations: ['95/5=19', '40+27=67']
Exploring Operation: 19*67=1273, Resulting Numbers: [1273]
1273,10 unequal: No Solution
Exploring Operation: 19+67=86, Resulting Numbers: [86]
86,10 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[5, 27, 55], Operations: ['95-40=55']
Exploring Operation: 55-5=50, Resulting Numbers: [27, 50]
Generated Node #0,0,0: 10:[27, 50] Operation: 55-5=50
Exploring Operation: 27-5=22, Resulting Numbers: [55, 22]
Generated Node #0,0,1: 10:[55, 22] Operation: 27-5=22
Exploring Operation: 55/5=11, Resulting Numbers: [27, 11]
Generated Node #0,0,2: 10:[27, 11] Operation: 55/5=11
Exploring Operation: 55-27=28, Resulting Numbers: [5, 28]
Generated Node #0,0,3: 10:[5, 28] Operation: 55-27=28
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[27, 11], Operations: ['95-40=55', '55/5=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,10 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 10:[5, 28], Operations: ['95-40=55', '55-27=28']
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[27, 50], Operations: ['95-40=55', '55-5=50']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 27+50=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 27*50=1350, Resulting Numbers: [1350]
1350,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[55, 22], Operations: ['95-40=55', '27-5=22']
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,10 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[40, 5, 68], Operations: ['95-27=68']
Exploring Operation: 68-5=63, Resulting Numbers: [40, 63]
Generated Node #0,2,0: 10:[40, 63] Operation: 68-5=63
Exploring Operation: 40/5=8, Resulting Numbers: [68, 8]
Generated Node #0,2,1: 10:[68, 8] Operation: 40/5=8
Exploring Operation: 68-40=28, Resulting Numbers: [5, 28]
Generated Node #0,2,2: 10:[5, 28] Operation: 68-40=28
Exploring Operation: 40-5=35, Resulting Numbers: [68, 35]
Generated Node #0,2,3: 10:[68, 35] Operation: 40-5=35
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[5, 28], Operations: ['95-27=68', '68-40=28']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 5*28=140, Resulting Numbers: [140]
140,10 unequal: No Solution
Exploring Operation: 5+28=33, Resulting Numbers: [33]
33,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[68, 8], Operations: ['95-27=68', '40/5=8']
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,10 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[40, 63], Operations: ['95-27=68', '68-5=63']
Exploring Operation: 40+63=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 40*63=2520, Resulting Numbers: [2520]
2520,10 unequal: No Solution
Exploring Operation: 63-40=23, Resulting Numbers: [23]
23,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[68, 35], Operations: ['95-27=68', '40-5=35']
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,10 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[5, 95, 13], Operations: ['40-27=13']
Exploring Operation: 95-5=90, Resulting Numbers: [13, 90]
Generated Node #0,3,0: 10:[13, 90] Operation: 95-5=90
Exploring Operation: 13-5=8, Resulting Numbers: [95, 8]
Generated Node #0,3,1: 10:[95, 8] Operation: 13-5=8
Exploring Operation: 95-13=82, Resulting Numbers: [5, 82]
Generated Node #0,3,2: 10:[5, 82] Operation: 95-13=82
Exploring Operation: 95/5=19, Resulting Numbers: [13, 19]
Generated Node #0,3,3: 10:[13, 19] Operation: 95/5=19
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 10:[13, 19], Operations: ['40-27=13', '95/5=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,10 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[5, 82], Operations: ['40-27=13', '95-13=82']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,10 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[13, 90], Operations: ['40-27=13', '95-5=90']
Exploring Operation: 13+90=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 90-13=77, Resulting Numbers: [77]
77,10 unequal: No Solution
Exploring Operation: 13*90=1170, Resulting Numbers: [1170]
1170,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[95, 8], Operations: ['40-27=13', '13-5=8']
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,10 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
45,
88,
90
] | 79 | [
"90-45=45",
"45/5=9",
"88-9=79"
] | Current State: 79:[5, 45, 88, 90], Operations: []
Exploring Operation: 90-45=45, Resulting Numbers: [5, 88, 45]
Generated Node #2: [5, 88, 45] from Operation: 90-45=45
Current State: 79:[5, 88, 45], Operations: ['90-45=45']
Exploring Operation: 45/5=9, Resulting Numbers: [88, 9]
Generated Node #3: [88, 9] from Operation: 45/5=9
Current State: 79:[88, 9], Operations: ['90-45=45', '45/5=9']
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[5, 45, 88, 90], Operations: []
Exploring Operation: 5+45=50, Resulting Numbers: [88, 90, 50]
Generated Node #0,0: 79:[88, 90, 50] Operation: 5+45=50
Exploring Operation: 90-5=85, Resulting Numbers: [45, 88, 85]
Generated Node #0,1: 79:[45, 88, 85] Operation: 90-5=85
Exploring Operation: 88-5=83, Resulting Numbers: [45, 90, 83]
Generated Node #0,2: 79:[45, 90, 83] Operation: 88-5=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[88, 90, 50], Operations: ['5+45=50']
Exploring Operation: 90-50=40, Resulting Numbers: [88, 40]
Generated Node #0,0,0: 79:[88, 40] Operation: 90-50=40
Exploring Operation: 88+50=138, Resulting Numbers: [90, 138]
Generated Node #0,0,1: 79:[90, 138] Operation: 88+50=138
Exploring Operation: 88-50=38, Resulting Numbers: [90, 38]
Generated Node #0,0,2: 79:[90, 38] Operation: 88-50=38
Moving to Node #0,0,0
Current State: 79:[88, 40], Operations: ['5+45=50', '90-50=40']
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,79 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[90, 38], Operations: ['5+45=50', '88-50=38']
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,79 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[90, 138], Operations: ['5+45=50', '88+50=138']
Exploring Operation: 90+138=228, Resulting Numbers: [228]
228,79 unequal: No Solution
Exploring Operation: 138-90=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 90*138=12420, Resulting Numbers: [12420]
12420,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[45, 88, 85], Operations: ['90-5=85']
Exploring Operation: 88-45=43, Resulting Numbers: [85, 43]
Generated Node #0,1,0: 79:[85, 43] Operation: 88-45=43
Exploring Operation: 45+88=133, Resulting Numbers: [85, 133]
Generated Node #0,1,1: 79:[85, 133] Operation: 45+88=133
Exploring Operation: 85-45=40, Resulting Numbers: [88, 40]
Generated Node #0,1,2: 79:[88, 40] Operation: 85-45=40
Moving to Node #0,1,0
Current State: 79:[85, 43], Operations: ['90-5=85', '88-45=43']
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,79 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[88, 40], Operations: ['90-5=85', '85-45=40']
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,79 unequal: No Solution
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[85, 133], Operations: ['90-5=85', '45+88=133']
Exploring Operation: 133-85=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 85+133=218, Resulting Numbers: [218]
218,79 unequal: No Solution
Exploring Operation: 85*133=11305, Resulting Numbers: [11305]
11305,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[45, 90, 83], Operations: ['88-5=83']
Exploring Operation: 45+90=135, Resulting Numbers: [83, 135]
Generated Node #0,2,0: 79:[83, 135] Operation: 45+90=135
Exploring Operation: 90-45=45, Resulting Numbers: [83, 45]
Generated Node #0,2,1: 79:[83, 45] Operation: 90-45=45
Exploring Operation: 83-45=38, Resulting Numbers: [90, 38]
Generated Node #0,2,2: 79:[90, 38] Operation: 83-45=38
Moving to Node #0,2,1
Current State: 79:[83, 45], Operations: ['88-5=83', '90-45=45']
Exploring Operation: 83+45=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 83-45=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 83*45=3735, Resulting Numbers: [3735]
3735,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[90, 38], Operations: ['88-5=83', '83-45=38']
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,79 unequal: No Solution
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,79 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[83, 135], Operations: ['88-5=83', '45+90=135']
Exploring Operation: 83*135=11205, Resulting Numbers: [11205]
11205,79 unequal: No Solution
Exploring Operation: 135-83=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 83+135=218, Resulting Numbers: [218]
218,79 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 |
[
43,
17,
67,
42
] | 35 | [
"43+17=60",
"67-42=25",
"60-25=35"
] | Current State: 35:[43, 17, 67, 42], Operations: []
Exploring Operation: 43+17=60, Resulting Numbers: [67, 42, 60]
Generated Node #2: [67, 42, 60] from Operation: 43+17=60
Current State: 35:[67, 42, 60], Operations: ['43+17=60']
Exploring Operation: 67-42=25, Resulting Numbers: [60, 25]
Generated Node #3: [60, 25] from Operation: 67-42=25
Current State: 35:[60, 25], Operations: ['43+17=60', '67-42=25']
Exploring Operation: 60-25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[43, 17, 67, 42], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [17, 42, 24]
Generated Node #0,0: 35:[17, 42, 24] Operation: 67-43=24
Exploring Operation: 67-17=50, Resulting Numbers: [43, 42, 50]
Generated Node #0,1: 35:[43, 42, 50] Operation: 67-17=50
Exploring Operation: 67-42=25, Resulting Numbers: [43, 17, 25]
Generated Node #0,2: 35:[43, 17, 25] Operation: 67-42=25
Exploring Operation: 43-42=1, Resulting Numbers: [17, 67, 1]
Generated Node #0,3: 35:[17, 67, 1] Operation: 43-42=1
Exploring Operation: 43-17=26, Resulting Numbers: [67, 42, 26]
Generated Node #0,4: 35:[67, 42, 26] Operation: 43-17=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[17, 42, 24], Operations: ['67-43=24']
Exploring Operation: 42-24=18, Resulting Numbers: [17, 18]
Generated Node #0,0,0: 35:[17, 18] Operation: 42-24=18
Exploring Operation: 17+24=41, Resulting Numbers: [42, 41]
Generated Node #0,0,1: 35:[42, 41] Operation: 17+24=41
Exploring Operation: 42-17=25, Resulting Numbers: [24, 25]
Generated Node #0,0,2: 35:[24, 25] Operation: 42-17=25
Exploring Operation: 24-17=7, Resulting Numbers: [42, 7]
Generated Node #0,0,3: 35:[42, 7] Operation: 24-17=7
Exploring Operation: 17+42=59, Resulting Numbers: [24, 59]
Generated Node #0,0,4: 35:[24, 59] Operation: 17+42=59
Moving to Node #0,0,3
Current State: 35:[42, 7], Operations: ['67-43=24', '24-17=7']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,35 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,35 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[43, 17, 67, 42], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [17, 42, 24]
Generated Node #0,0: 35:[17, 42, 24] Operation: 67-43=24
Moving to Node #0,0
Current State: 35:[17, 42, 24], Operations: ['67-43=24']
Exploring Operation: 24-17=7, Resulting Numbers: [42, 7]
Generated Node #0,0,3: 35:[42, 7] Operation: 24-17=7
Moving to Node #0,0,3
Current State: 35:[42, 7], Operations: ['67-43=24', '24-17=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
41,
85,
11,
24
] | 49 | [
"41*24=984",
"85*11=935",
"984-935=49"
] | Current State: 49:[41, 85, 11, 24], Operations: []
Exploring Operation: 41*24=984, Resulting Numbers: [85, 11, 984]
Generated Node #2: [85, 11, 984] from Operation: 41*24=984
Current State: 49:[85, 11, 984], Operations: ['41*24=984']
Exploring Operation: 85*11=935, Resulting Numbers: [984, 935]
Generated Node #3: [984, 935] from Operation: 85*11=935
Current State: 49:[984, 935], Operations: ['41*24=984', '85*11=935']
Exploring Operation: 984-935=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[41, 85, 11, 24], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [41, 11, 61]
Generated Node #0,0: 49:[41, 11, 61] Operation: 85-24=61
Moving to Node #0,0
Current State: 49:[41, 11, 61], Operations: ['85-24=61']
Exploring Operation: 61-11=50, Resulting Numbers: [41, 50]
Generated Node #0,0,0: 49:[41, 50] Operation: 61-11=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[41, 50], Operations: ['85-24=61', '61-11=50']
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,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 | sum_heuristic |
[
41,
7,
87,
85
] | 36 | [
"41-7=34",
"87-85=2",
"34+2=36"
] | Current State: 36:[41, 7, 87, 85], Operations: []
Exploring Operation: 41-7=34, Resulting Numbers: [87, 85, 34]
Generated Node #2: [87, 85, 34] from Operation: 41-7=34
Current State: 36:[87, 85, 34], Operations: ['41-7=34']
Exploring Operation: 87-85=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 87-85=2
Current State: 36:[34, 2], Operations: ['41-7=34', '87-85=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[41, 7, 87, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [41, 7, 2]
Generated Node #0,0: 36:[41, 7, 2] Operation: 87-85=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[41, 7, 2], Operations: ['87-85=2']
Exploring Operation: 41-7=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 36:[2, 34] Operation: 41-7=34
Moving to Node #0,0,0
Current State: 36:[2, 34], Operations: ['87-85=2', '41-7=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[41, 7, 87, 85], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [41, 7, 2]
Generated Node #0,0: 36:[41, 7, 2] Operation: 87-85=2
Moving to Node #0,0
Current State: 36:[41, 7, 2], Operations: ['87-85=2']
Exploring Operation: 41-7=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 36:[2, 34] Operation: 41-7=34
Moving to Node #0,0,0
Current State: 36:[2, 34], Operations: ['87-85=2', '41-7=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
32,
4,
88,
93
] | 23 | [
"32-4=28",
"93-88=5",
"28-5=23"
] | Current State: 23:[32, 4, 88, 93], Operations: []
Exploring Operation: 32-4=28, Resulting Numbers: [88, 93, 28]
Generated Node #2: [88, 93, 28] from Operation: 32-4=28
Current State: 23:[88, 93, 28], Operations: ['32-4=28']
Exploring Operation: 93-88=5, Resulting Numbers: [28, 5]
Generated Node #3: [28, 5] from Operation: 93-88=5
Current State: 23:[28, 5], Operations: ['32-4=28', '93-88=5']
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[32, 4, 88, 93], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [32, 93, 22]
Generated Node #0,0: 23:[32, 93, 22] Operation: 88/4=22
Exploring Operation: 93-88=5, Resulting Numbers: [32, 4, 5]
Generated Node #0,1: 23:[32, 4, 5] Operation: 93-88=5
Exploring Operation: 88-32=56, Resulting Numbers: [4, 93, 56]
Generated Node #0,2: 23:[4, 93, 56] Operation: 88-32=56
Moving to Node #0,1
Current State: 23:[32, 4, 5], Operations: ['93-88=5']
Exploring Operation: 32-5=27, Resulting Numbers: [4, 27]
Generated Node #0,1,0: 23:[4, 27] Operation: 32-5=27
Exploring Operation: 4*5=20, Resulting Numbers: [32, 20]
Generated Node #0,1,1: 23:[32, 20] Operation: 4*5=20
Exploring Operation: 32-4=28, Resulting Numbers: [5, 28]
Generated Node #0,1,2: 23:[5, 28] Operation: 32-4=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[32, 20], Operations: ['93-88=5', '4*5=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,23 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,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,0
Current State: 23:[4, 27], Operations: ['93-88=5', '32-5=27']
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,23 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,23 unequal: No Solution
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[32, 4, 88, 93], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [32, 4, 5]
Generated Node #0,1: 23:[32, 4, 5] Operation: 93-88=5
Moving to Node #0,1
Current State: 23:[32, 4, 5], Operations: ['93-88=5']
Exploring Operation: 32-5=27, Resulting Numbers: [4, 27]
Generated Node #0,1,0: 23:[4, 27] Operation: 32-5=27
Moving to Node #0,1,0
Current State: 23:[4, 27], Operations: ['93-88=5', '32-5=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
92,
18,
57,
3
] | 14 | [
"92-18=74",
"57+3=60",
"74-60=14"
] | Current State: 14:[92, 18, 57, 3], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [57, 3, 74]
Generated Node #2: [57, 3, 74] from Operation: 92-18=74
Current State: 14:[57, 3, 74], Operations: ['92-18=74']
Exploring Operation: 57+3=60, Resulting Numbers: [74, 60]
Generated Node #3: [74, 60] from Operation: 57+3=60
Current State: 14:[74, 60], Operations: ['92-18=74', '57+3=60']
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[92, 18, 57, 3], Operations: []
Exploring Operation: 57-18=39, Resulting Numbers: [92, 3, 39]
Generated Node #0,0: 14:[92, 3, 39] Operation: 57-18=39
Exploring Operation: 57/3=19, Resulting Numbers: [92, 18, 19]
Generated Node #0,1: 14:[92, 18, 19] Operation: 57/3=19
Exploring Operation: 92-18=74, Resulting Numbers: [57, 3, 74]
Generated Node #0,2: 14:[57, 3, 74] Operation: 92-18=74
Exploring Operation: 92-57=35, Resulting Numbers: [18, 3, 35]
Generated Node #0,3: 14:[18, 3, 35] Operation: 92-57=35
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[18, 3, 35], Operations: ['92-57=35']
Exploring Operation: 18-3=15, Resulting Numbers: [35, 15]
Generated Node #0,3,0: 14:[35, 15] Operation: 18-3=15
Exploring Operation: 35-18=17, Resulting Numbers: [3, 17]
Generated Node #0,3,1: 14:[3, 17] Operation: 35-18=17
Exploring Operation: 35-3=32, Resulting Numbers: [18, 32]
Generated Node #0,3,2: 14:[18, 32] Operation: 35-3=32
Exploring Operation: 18/3=6, Resulting Numbers: [35, 6]
Generated Node #0,3,3: 14:[35, 6] Operation: 18/3=6
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 14:[3, 17], Operations: ['92-57=35', '35-18=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,14 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,14 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[92, 18, 57, 3], Operations: []
Exploring Operation: 92-57=35, Resulting Numbers: [18, 3, 35]
Generated Node #0,3: 14:[18, 3, 35] Operation: 92-57=35
Moving to Node #0,3
Current State: 14:[18, 3, 35], Operations: ['92-57=35']
Exploring Operation: 35-18=17, Resulting Numbers: [3, 17]
Generated Node #0,3,1: 14:[3, 17] Operation: 35-18=17
Moving to Node #0,3,1
Current State: 14:[3, 17], Operations: ['92-57=35', '35-18=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
14,
2,
21,
11
] | 78 | [
"21+11=32",
"2*32=64",
"14+64=78"
] | Current State: 78:[14, 2, 21, 11], Operations: []
Exploring Operation: 21+11=32, Resulting Numbers: [14, 2, 32]
Generated Node #2: [14, 2, 32] from Operation: 21+11=32
Current State: 78:[14, 2, 32], Operations: ['21+11=32']
Exploring Operation: 2*32=64, Resulting Numbers: [14, 64]
Generated Node #3: [14, 64] from Operation: 2*32=64
Current State: 78:[14, 64], Operations: ['21+11=32', '2*32=64']
Exploring Operation: 14+64=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[14, 2, 21, 11], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [2, 11, 7]
Generated Node #0,0: 78:[2, 11, 7] Operation: 21-14=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[2, 11, 7], Operations: ['21-14=7']
Exploring Operation: 2+11=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 78:[7, 13] Operation: 2+11=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[7, 13], Operations: ['21-14=7', '2+11=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,78 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 |
[
63,
69,
72,
56
] | 77 | [
"72-69=3",
"63/3=21",
"56+21=77"
] | Current State: 77:[63, 69, 72, 56], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [63, 56, 3]
Generated Node #2: [63, 56, 3] from Operation: 72-69=3
Current State: 77:[63, 56, 3], Operations: ['72-69=3']
Exploring Operation: 63/3=21, Resulting Numbers: [56, 21]
Generated Node #3: [56, 21] from Operation: 63/3=21
Current State: 77:[56, 21], Operations: ['72-69=3', '63/3=21']
Exploring Operation: 56+21=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[63, 69, 72, 56], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [69, 72, 7]
Generated Node #0,0: 77:[69, 72, 7] Operation: 63-56=7
Exploring Operation: 69-63=6, Resulting Numbers: [72, 56, 6]
Generated Node #0,1: 77:[72, 56, 6] Operation: 69-63=6
Exploring Operation: 72-56=16, Resulting Numbers: [63, 69, 16]
Generated Node #0,2: 77:[63, 69, 16] Operation: 72-56=16
Exploring Operation: 69-56=13, Resulting Numbers: [63, 72, 13]
Generated Node #0,3: 77:[63, 72, 13] Operation: 69-56=13
Moving to Node #0,0
Current State: 77:[69, 72, 7], Operations: ['63-56=7']
Exploring Operation: 69-7=62, Resulting Numbers: [72, 62]
Generated Node #0,0,0: 77:[72, 62] Operation: 69-7=62
Exploring Operation: 69+7=76, Resulting Numbers: [72, 76]
Generated Node #0,0,1: 77:[72, 76] Operation: 69+7=76
Exploring Operation: 72-69=3, Resulting Numbers: [7, 3]
Generated Node #0,0,2: 77:[7, 3] Operation: 72-69=3
Exploring Operation: 72+7=79, Resulting Numbers: [69, 79]
Generated Node #0,0,3: 77:[69, 79] Operation: 72+7=79
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[7, 3], Operations: ['63-56=7', '72-69=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,77 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,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,0,1
Current State: 77:[72, 76], Operations: ['63-56=7', '69+7=76']
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,77 unequal: No Solution
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,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,0,3
Current State: 77:[69, 79], Operations: ['63-56=7', '72+7=79']
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,77 unequal: No Solution
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,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,0,0
Current State: 77:[72, 62], Operations: ['63-56=7', '69-7=62']
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,77 unequal: No Solution
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,77 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: 77:[63, 72, 13], Operations: ['69-56=13']
Exploring Operation: 72-63=9, Resulting Numbers: [13, 9]
Generated Node #0,3,0: 77:[13, 9] Operation: 72-63=9
Exploring Operation: 63-13=50, Resulting Numbers: [72, 50]
Generated Node #0,3,1: 77:[72, 50] Operation: 63-13=50
Exploring Operation: 72+13=85, Resulting Numbers: [63, 85]
Generated Node #0,3,2: 77:[63, 85] Operation: 72+13=85
Exploring Operation: 63+13=76, Resulting Numbers: [72, 76]
Generated Node #0,3,3: 77:[72, 76] Operation: 63+13=76
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[13, 9], Operations: ['69-56=13', '72-63=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 13*9=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,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,3,3
Current State: 77:[72, 76], Operations: ['69-56=13', '63+13=76']
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,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,3,2
Current State: 77:[63, 85], Operations: ['69-56=13', '72+13=85']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,77 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,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,3,1
Current State: 77:[72, 50], Operations: ['69-56=13', '63-13=50']
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,77 unequal: No Solution
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,77 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,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:[63, 69, 16], Operations: ['72-56=16']
Exploring Operation: 69+16=85, Resulting Numbers: [63, 85]
Generated Node #0,2,0: 77:[63, 85] Operation: 69+16=85
Exploring Operation: 69-63=6, Resulting Numbers: [16, 6]
Generated Node #0,2,1: 77:[16, 6] Operation: 69-63=6
Exploring Operation: 63-16=47, Resulting Numbers: [69, 47]
Generated Node #0,2,2: 77:[69, 47] Operation: 63-16=47
Exploring Operation: 63+16=79, Resulting Numbers: [69, 79]
Generated Node #0,2,3: 77:[69, 79] Operation: 63+16=79
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[16, 6], Operations: ['72-56=16', '69-63=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,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,2,3
Current State: 77:[69, 79], Operations: ['72-56=16', '63+16=79']
Exploring Operation: 69+79=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 69*79=5451, Resulting Numbers: [5451]
5451,77 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,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,2,0
Current State: 77:[63, 85], Operations: ['72-56=16', '69+16=85']
Exploring Operation: 63*85=5355, Resulting Numbers: [5355]
5355,77 unequal: No Solution
Exploring Operation: 63+85=148, Resulting Numbers: [148]
148,77 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,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,2,2
Current State: 77:[69, 47], Operations: ['72-56=16', '63-16=47']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,77 unequal: No Solution
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,77 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: 77:[72, 56, 6], Operations: ['69-63=6']
Exploring Operation: 72+6=78, Resulting Numbers: [56, 78]
Generated Node #0,1,0: 77:[56, 78] Operation: 72+6=78
Exploring Operation: 56+6=62, Resulting Numbers: [72, 62]
Generated Node #0,1,1: 77:[72, 62] Operation: 56+6=62
Exploring Operation: 72-56=16, Resulting Numbers: [6, 16]
Generated Node #0,1,2: 77:[6, 16] Operation: 72-56=16
Exploring Operation: 72/6=12, Resulting Numbers: [56, 12]
Generated Node #0,1,3: 77:[56, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[6, 16], Operations: ['69-63=6', '72-56=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,77 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,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:[72, 62], Operations: ['69-63=6', '56+6=62']
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 72+62=134, Resulting Numbers: [134]
134,77 unequal: No Solution
Exploring Operation: 72*62=4464, Resulting Numbers: [4464]
4464,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,0
Current State: 77:[56, 78], Operations: ['69-63=6', '72+6=78']
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,77 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,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,3
Current State: 77:[56, 12], Operations: ['69-63=6', '72/6=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,77 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,77 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,77 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 |
[
3,
45,
98,
99
] | 20 | [
"99/3=33",
"98-45=53",
"53-33=20"
] | Current State: 20:[3, 45, 98, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [45, 98, 33]
Generated Node #2: [45, 98, 33] from Operation: 99/3=33
Current State: 20:[45, 98, 33], Operations: ['99/3=33']
Exploring Operation: 98-45=53, Resulting Numbers: [33, 53]
Generated Node #3: [33, 53] from Operation: 98-45=53
Current State: 20:[33, 53], Operations: ['99/3=33', '98-45=53']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[3, 45, 98, 99], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [3, 99, 53]
Generated Node #0,0: 20:[3, 99, 53] Operation: 98-45=53
Exploring Operation: 99-98=1, Resulting Numbers: [3, 45, 1]
Generated Node #0,1: 20:[3, 45, 1] Operation: 99-98=1
Moving to Node #0,1
Current State: 20:[3, 45, 1], Operations: ['99-98=1']
Exploring Operation: 45/3=15, Resulting Numbers: [1, 15]
Generated Node #0,1,0: 20:[1, 15] Operation: 45/3=15
Exploring Operation: 45-3=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 20:[1, 42] Operation: 45-3=42
Moving to Node #0,0
Current State: 20:[3, 99, 53], Operations: ['98-45=53']
Exploring Operation: 99-53=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 20:[3, 46] Operation: 99-53=46
Exploring Operation: 99/3=33, Resulting Numbers: [53, 33]
Generated Node #0,0,1: 20:[53, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[3, 46], Operations: ['98-45=53', '99-53=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,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:[53, 33], Operations: ['98-45=53', '99/3=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[3, 45, 98, 99], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [3, 99, 53]
Generated Node #0,0: 20:[3, 99, 53] Operation: 98-45=53
Moving to Node #0,0
Current State: 20:[3, 99, 53], Operations: ['98-45=53']
Exploring Operation: 99/3=33, Resulting Numbers: [53, 33]
Generated Node #0,0,1: 20:[53, 33] Operation: 99/3=33
Moving to Node #0,0,1
Current State: 20:[53, 33], Operations: ['98-45=53', '99/3=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
97,
87,
64,
42
] | 12 | [
"97-87=10",
"64-42=22",
"22-10=12"
] | Current State: 12:[97, 87, 64, 42], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [64, 42, 10]
Generated Node #2: [64, 42, 10] from Operation: 97-87=10
Current State: 12:[64, 42, 10], Operations: ['97-87=10']
Exploring Operation: 64-42=22, Resulting Numbers: [10, 22]
Generated Node #3: [10, 22] from Operation: 64-42=22
Current State: 12:[10, 22], Operations: ['97-87=10', '64-42=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[97, 87, 64, 42], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [64, 42, 10]
Generated Node #0,0: 12:[64, 42, 10] Operation: 97-87=10
Exploring Operation: 97-64=33, Resulting Numbers: [87, 42, 33]
Generated Node #0,1: 12:[87, 42, 33] Operation: 97-64=33
Exploring Operation: 87-64=23, Resulting Numbers: [97, 42, 23]
Generated Node #0,2: 12:[97, 42, 23] Operation: 87-64=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[64, 42, 10], Operations: ['97-87=10']
Exploring Operation: 42-10=32, Resulting Numbers: [64, 32]
Generated Node #0,0,0: 12:[64, 32] Operation: 42-10=32
Exploring Operation: 64-10=54, Resulting Numbers: [42, 54]
Generated Node #0,0,1: 12:[42, 54] Operation: 64-10=54
Exploring Operation: 64-42=22, Resulting Numbers: [10, 22]
Generated Node #0,0,2: 12:[10, 22] Operation: 64-42=22
Moving to Node #0,0,2
Current State: 12:[10, 22], Operations: ['97-87=10', '64-42=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,12 unequal: No Solution
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[97, 87, 64, 42], Operations: []
Exploring Operation: 97-87=10, Resulting Numbers: [64, 42, 10]
Generated Node #0,0: 12:[64, 42, 10] Operation: 97-87=10
Moving to Node #0,0
Current State: 12:[64, 42, 10], Operations: ['97-87=10']
Exploring Operation: 64-42=22, Resulting Numbers: [10, 22]
Generated Node #0,0,2: 12:[10, 22] Operation: 64-42=22
Moving to Node #0,0,2
Current State: 12:[10, 22], Operations: ['97-87=10', '64-42=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
53,
30,
64,
42
] | 60 | [
"64+42=106",
"106/53=2",
"30*2=60"
] | Current State: 60:[53, 30, 64, 42], Operations: []
Exploring Operation: 64+42=106, Resulting Numbers: [53, 30, 106]
Generated Node #2: [53, 30, 106] from Operation: 64+42=106
Current State: 60:[53, 30, 106], Operations: ['64+42=106']
Exploring Operation: 106/53=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 106/53=2
Current State: 60:[30, 2], Operations: ['64+42=106', '106/53=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[53, 30, 64, 42], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [30, 64, 11]
Generated Node #0,0: 60:[30, 64, 11] Operation: 53-42=11
Exploring Operation: 64-42=22, Resulting Numbers: [53, 30, 22]
Generated Node #0,1: 60:[53, 30, 22] Operation: 64-42=22
Exploring Operation: 64-53=11, Resulting Numbers: [30, 42, 11]
Generated Node #0,2: 60:[30, 42, 11] Operation: 64-53=11
Exploring Operation: 42-30=12, Resulting Numbers: [53, 64, 12]
Generated Node #0,3: 60:[53, 64, 12] Operation: 42-30=12
Moving to Node #0,0
Current State: 60:[30, 64, 11], Operations: ['53-42=11']
Exploring Operation: 30+11=41, Resulting Numbers: [64, 41]
Generated Node #0,0,0: 60:[64, 41] Operation: 30+11=41
Exploring Operation: 64-11=53, Resulting Numbers: [30, 53]
Generated Node #0,0,1: 60:[30, 53] Operation: 64-11=53
Exploring Operation: 30-11=19, Resulting Numbers: [64, 19]
Generated Node #0,0,2: 60:[64, 19] Operation: 30-11=19
Exploring Operation: 64-30=34, Resulting Numbers: [11, 34]
Generated Node #0,0,3: 60:[11, 34] Operation: 64-30=34
Moving to Node #0,1
Current State: 60:[53, 30, 22], Operations: ['64-42=22']
Exploring Operation: 30-22=8, Resulting Numbers: [53, 8]
Generated Node #0,1,0: 60:[53, 8] Operation: 30-22=8
Exploring Operation: 53-30=23, Resulting Numbers: [22, 23]
Generated Node #0,1,1: 60:[22, 23] Operation: 53-30=23
Exploring Operation: 53+22=75, Resulting Numbers: [30, 75]
Generated Node #0,1,2: 60:[30, 75] Operation: 53+22=75
Exploring Operation: 53-22=31, Resulting Numbers: [30, 31]
Generated Node #0,1,3: 60:[30, 31] Operation: 53-22=31
Moving to Node #0,3
Current State: 60:[53, 64, 12], Operations: ['42-30=12']
Exploring Operation: 53+12=65, Resulting Numbers: [64, 65]
Generated Node #0,3,0: 60:[64, 65] Operation: 53+12=65
Exploring Operation: 64-12=52, Resulting Numbers: [53, 52]
Generated Node #0,3,1: 60:[53, 52] Operation: 64-12=52
Exploring Operation: 64-53=11, Resulting Numbers: [12, 11]
Generated Node #0,3,2: 60:[12, 11] Operation: 64-53=11
Exploring Operation: 53-12=41, Resulting Numbers: [64, 41]
Generated Node #0,3,3: 60:[64, 41] Operation: 53-12=41
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 60:[12, 11], Operations: ['42-30=12', '64-53=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,60 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,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,3,0
Current State: 60:[64, 65], Operations: ['42-30=12', '53+12=65']
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,60 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,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,3,1
Current State: 60:[53, 52], Operations: ['42-30=12', '64-12=52']
Exploring Operation: 53+52=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 53*52=2756, Resulting Numbers: [2756]
2756,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,3,3
Current State: 60:[64, 41], Operations: ['42-30=12', '53-12=41']
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,60 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: 60:[30, 42, 11], Operations: ['64-53=11']
Exploring Operation: 42-30=12, Resulting Numbers: [11, 12]
Generated Node #0,2,0: 60:[11, 12] Operation: 42-30=12
Exploring Operation: 30+42=72, Resulting Numbers: [11, 72]
Generated Node #0,2,1: 60:[11, 72] Operation: 30+42=72
Exploring Operation: 42-11=31, Resulting Numbers: [30, 31]
Generated Node #0,2,2: 60:[30, 31] Operation: 42-11=31
Exploring Operation: 42+11=53, Resulting Numbers: [30, 53]
Generated Node #0,2,3: 60:[30, 53] Operation: 42+11=53
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[11, 12], Operations: ['64-53=11', '42-30=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,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:[30, 31], Operations: ['64-53=11', '42-11=31']
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,60 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,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:[30, 53], Operations: ['64-53=11', '42+11=53']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,60 unequal: No Solution
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,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,1
Current State: 60:[11, 72], Operations: ['64-53=11', '30+42=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 60:[30, 31], Operations: ['64-42=22', '53-22=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[22, 23], Operations: ['64-42=22', '53-30=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,60 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[64, 19], Operations: ['53-42=11', '30-11=19']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,60 unequal: No Solution
Moving to Node #0,0,3
Current State: 60:[11, 34], Operations: ['53-42=11', '64-30=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[30, 53], Operations: ['53-42=11', '64-11=53']
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,60 unequal: No Solution
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,60 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[53, 8], Operations: ['64-42=22', '30-22=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,60 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[64, 41], Operations: ['53-42=11', '30+11=41']
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,60 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[30, 75], Operations: ['64-42=22', '53+22=75']
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,60 unequal: No Solution
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,60 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
27,
49,
64,
32
] | 11 | [
"49-27=22",
"64/32=2",
"22/2=11"
] | Current State: 11:[27, 49, 64, 32], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [64, 32, 22]
Generated Node #2: [64, 32, 22] from Operation: 49-27=22
Current State: 11:[64, 32, 22], Operations: ['49-27=22']
Exploring Operation: 64/32=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 64/32=2
Current State: 11:[22, 2], Operations: ['49-27=22', '64/32=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[27, 49, 64, 32], Operations: []
Exploring Operation: 64-32=32, Resulting Numbers: [27, 49, 32]
Generated Node #0,0: 11:[27, 49, 32] Operation: 64-32=32
Exploring Operation: 49-27=22, Resulting Numbers: [64, 32, 22]
Generated Node #0,1: 11:[64, 32, 22] Operation: 49-27=22
Exploring Operation: 64-49=15, Resulting Numbers: [27, 32, 15]
Generated Node #0,2: 11:[27, 32, 15] Operation: 64-49=15
Exploring Operation: 64/32=2, Resulting Numbers: [27, 49, 2]
Generated Node #0,3: 11:[27, 49, 2] Operation: 64/32=2
Exploring Operation: 49-32=17, Resulting Numbers: [27, 64, 17]
Generated Node #0,4: 11:[27, 64, 17] Operation: 49-32=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[27, 32, 15], Operations: ['64-49=15']
Exploring Operation: 32-15=17, Resulting Numbers: [27, 17]
Generated Node #0,2,0: 11:[27, 17] Operation: 32-15=17
Exploring Operation: 27-15=12, Resulting Numbers: [32, 12]
Generated Node #0,2,1: 11:[32, 12] Operation: 27-15=12
Exploring Operation: 27+32=59, Resulting Numbers: [15, 59]
Generated Node #0,2,2: 11:[15, 59] Operation: 27+32=59
Exploring Operation: 27+15=42, Resulting Numbers: [32, 42]
Generated Node #0,2,3: 11:[32, 42] Operation: 27+15=42
Exploring Operation: 32-27=5, Resulting Numbers: [15, 5]
Generated Node #0,2,4: 11:[15, 5] Operation: 32-27=5
Moving to Node #0,2,4
Current State: 11:[15, 5], Operations: ['64-49=15', '32-27=5']
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,11 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[32, 12], Operations: ['64-49=15', '27-15=12']
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,11 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[27, 17], Operations: ['64-49=15', '32-15=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,11 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[15, 59], Operations: ['64-49=15', '27+32=59']
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[32, 42], Operations: ['64-49=15', '27+15=42']
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,11 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,11 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,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,3
Current State: 11:[27, 49, 2], Operations: ['64/32=2']
Exploring Operation: 27+2=29, Resulting Numbers: [49, 29]
Generated Node #0,3,0: 11:[49, 29] Operation: 27+2=29
Exploring Operation: 49+2=51, Resulting Numbers: [27, 51]
Generated Node #0,3,1: 11:[27, 51] Operation: 49+2=51
Exploring Operation: 49-27=22, Resulting Numbers: [2, 22]
Generated Node #0,3,2: 11:[2, 22] Operation: 49-27=22
Exploring Operation: 49-2=47, Resulting Numbers: [27, 47]
Generated Node #0,3,3: 11:[27, 47] Operation: 49-2=47
Exploring Operation: 27-2=25, Resulting Numbers: [49, 25]
Generated Node #0,3,4: 11:[49, 25] Operation: 27-2=25
Moving to Node #0,3,2
Current State: 11:[2, 22], Operations: ['64/32=2', '49-27=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[27, 49, 64, 32], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [27, 49, 2]
Generated Node #0,3: 11:[27, 49, 2] Operation: 64/32=2
Moving to Node #0,3
Current State: 11:[27, 49, 2], Operations: ['64/32=2']
Exploring Operation: 49-27=22, Resulting Numbers: [2, 22]
Generated Node #0,3,2: 11:[2, 22] Operation: 49-27=22
Moving to Node #0,3,2
Current State: 11:[2, 22], Operations: ['64/32=2', '49-27=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
86,
98,
77,
8
] | 26 | [
"86-77=9",
"8*9=72",
"98-72=26"
] | Current State: 26:[86, 98, 77, 8], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [98, 8, 9]
Generated Node #2: [98, 8, 9] from Operation: 86-77=9
Current State: 26:[98, 8, 9], Operations: ['86-77=9']
Exploring Operation: 8*9=72, Resulting Numbers: [98, 72]
Generated Node #3: [98, 72] from Operation: 8*9=72
Current State: 26:[98, 72], Operations: ['86-77=9', '8*9=72']
Exploring Operation: 98-72=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[86, 98, 77, 8], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [77, 8, 12]
Generated Node #0,0: 26:[77, 8, 12] Operation: 98-86=12
Exploring Operation: 98-77=21, Resulting Numbers: [86, 8, 21]
Generated Node #0,1: 26:[86, 8, 21] Operation: 98-77=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[77, 8, 12], Operations: ['98-86=12']
Exploring Operation: 77-12=65, Resulting Numbers: [8, 65]
Generated Node #0,0,0: 26:[8, 65] Operation: 77-12=65
Exploring Operation: 77-8=69, Resulting Numbers: [12, 69]
Generated Node #0,0,1: 26:[12, 69] Operation: 77-8=69
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[8, 65], Operations: ['98-86=12', '77-12=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,26 unequal: No Solution
No 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: 26:[12, 69], Operations: ['98-86=12', '77-8=69']
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,26 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,26 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: 26:[86, 8, 21], Operations: ['98-77=21']
Exploring Operation: 86-21=65, Resulting Numbers: [8, 65]
Generated Node #0,1,0: 26:[8, 65] Operation: 86-21=65
Exploring Operation: 86-8=78, Resulting Numbers: [21, 78]
Generated Node #0,1,1: 26:[21, 78] Operation: 86-8=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[8, 65], Operations: ['98-77=21', '86-21=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,26 unequal: No Solution
No 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: 26:[21, 78], Operations: ['98-77=21', '86-8=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,26 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 |
[
40,
84,
9,
51
] | 82 | [
"40+84=124",
"51-9=42",
"124-42=82"
] | Current State: 82:[40, 84, 9, 51], Operations: []
Exploring Operation: 40+84=124, Resulting Numbers: [9, 51, 124]
Generated Node #2: [9, 51, 124] from Operation: 40+84=124
Current State: 82:[9, 51, 124], Operations: ['40+84=124']
Exploring Operation: 51-9=42, Resulting Numbers: [124, 42]
Generated Node #3: [124, 42] from Operation: 51-9=42
Current State: 82:[124, 42], Operations: ['40+84=124', '51-9=42']
Exploring Operation: 124-42=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[40, 84, 9, 51], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [40, 84, 42]
Generated Node #0,0: 82:[40, 84, 42] Operation: 51-9=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[40, 84, 42], Operations: ['51-9=42']
Exploring Operation: 84/42=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 82:[40, 2] Operation: 84/42=2
Moving to Node #0,0,0
Current State: 82:[40, 2], Operations: ['51-9=42', '84/42=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,82 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 |
[
92,
94,
39,
11
] | 100 | [
"94-92=2",
"39+11=50",
"2*50=100"
] | Current State: 100:[92, 94, 39, 11], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [39, 11, 2]
Generated Node #2: [39, 11, 2] from Operation: 94-92=2
Current State: 100:[39, 11, 2], Operations: ['94-92=2']
Exploring Operation: 39+11=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 39+11=50
Current State: 100:[2, 50], Operations: ['94-92=2', '39+11=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[92, 94, 39, 11], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [39, 11, 2]
Generated Node #0,0: 100:[39, 11, 2] Operation: 94-92=2
Exploring Operation: 39-11=28, Resulting Numbers: [92, 94, 28]
Generated Node #0,1: 100:[92, 94, 28] Operation: 39-11=28
Exploring Operation: 94-39=55, Resulting Numbers: [92, 11, 55]
Generated Node #0,2: 100:[92, 11, 55] Operation: 94-39=55
Exploring Operation: 39+11=50, Resulting Numbers: [92, 94, 50]
Generated Node #0,3: 100:[92, 94, 50] Operation: 39+11=50
Exploring Operation: 92-39=53, Resulting Numbers: [94, 11, 53]
Generated Node #0,4: 100:[94, 11, 53] Operation: 92-39=53
Moving to Node #0,4
Current State: 100:[94, 11, 53], Operations: ['92-39=53']
Exploring Operation: 53-11=42, Resulting Numbers: [94, 42]
Generated Node #0,4,0: 100:[94, 42] Operation: 53-11=42
Exploring Operation: 94+11=105, Resulting Numbers: [53, 105]
Generated Node #0,4,1: 100:[53, 105] Operation: 94+11=105
Exploring Operation: 94-11=83, Resulting Numbers: [53, 83]
Generated Node #0,4,2: 100:[53, 83] Operation: 94-11=83
Exploring Operation: 11+53=64, Resulting Numbers: [94, 64]
Generated Node #0,4,3: 100:[94, 64] Operation: 11+53=64
Exploring Operation: 94-53=41, Resulting Numbers: [11, 41]
Generated Node #0,4,4: 100:[11, 41] Operation: 94-53=41
Moving to Node #0,0
Current State: 100:[39, 11, 2], Operations: ['94-92=2']
Exploring Operation: 11-2=9, Resulting Numbers: [39, 9]
Generated Node #0,0,0: 100:[39, 9] Operation: 11-2=9
Exploring Operation: 39-2=37, Resulting Numbers: [11, 37]
Generated Node #0,0,1: 100:[11, 37] Operation: 39-2=37
Exploring Operation: 39+2=41, Resulting Numbers: [11, 41]
Generated Node #0,0,2: 100:[11, 41] Operation: 39+2=41
Exploring Operation: 39-11=28, Resulting Numbers: [2, 28]
Generated Node #0,0,3: 100:[2, 28] Operation: 39-11=28
Exploring Operation: 39+11=50, Resulting Numbers: [2, 50]
Generated Node #0,0,4: 100:[2, 50] Operation: 39+11=50
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 100:[2, 50], Operations: ['94-92=2', '39+11=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[92, 94, 39, 11], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [39, 11, 2]
Generated Node #0,0: 100:[39, 11, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 100:[39, 11, 2], Operations: ['94-92=2']
Exploring Operation: 39+11=50, Resulting Numbers: [2, 50]
Generated Node #0,0,4: 100:[2, 50] Operation: 39+11=50
Moving to Node #0,0,4
Current State: 100:[2, 50], Operations: ['94-92=2', '39+11=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
8,
94,
98,
6
] | 44 | [
"8*6=48",
"98-94=4",
"48-4=44"
] | Current State: 44:[8, 94, 98, 6], Operations: []
Exploring Operation: 8*6=48, Resulting Numbers: [94, 98, 48]
Generated Node #2: [94, 98, 48] from Operation: 8*6=48
Current State: 44:[94, 98, 48], Operations: ['8*6=48']
Exploring Operation: 98-94=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 98-94=4
Current State: 44:[48, 4], Operations: ['8*6=48', '98-94=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[8, 94, 98, 6], Operations: []
Exploring Operation: 94-8=86, Resulting Numbers: [98, 6, 86]
Generated Node #0,0: 44:[98, 6, 86] Operation: 94-8=86
Exploring Operation: 98-94=4, Resulting Numbers: [8, 6, 4]
Generated Node #0,1: 44:[8, 6, 4] Operation: 98-94=4
Exploring Operation: 98-8=90, Resulting Numbers: [94, 6, 90]
Generated Node #0,2: 44:[94, 6, 90] Operation: 98-8=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[8, 6, 4], Operations: ['98-94=4']
Exploring Operation: 8-4=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 44:[6, 4] Operation: 8-4=4
Exploring Operation: 8-6=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 44:[4, 2] Operation: 8-6=2
Exploring Operation: 8/4=2, Resulting Numbers: [6, 2]
Generated Node #0,1,2: 44:[6, 2] Operation: 8/4=2
Moving to Node #0,1,1
Current State: 44:[4, 2], Operations: ['98-94=4', '8-6=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[6, 4], Operations: ['98-94=4', '8-4=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[6, 2], Operations: ['98-94=4', '8/4=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[98, 6, 86], Operations: ['94-8=86']
Exploring Operation: 98-86=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 44:[6, 12] Operation: 98-86=12
Exploring Operation: 86-6=80, Resulting Numbers: [98, 80]
Generated Node #0,0,1: 44:[98, 80] Operation: 86-6=80
Exploring Operation: 98-6=92, Resulting Numbers: [86, 92]
Generated Node #0,0,2: 44:[86, 92] Operation: 98-6=92
Moving to Node #0,0,0
Current State: 44:[6, 12], Operations: ['94-8=86', '98-86=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[98, 80], Operations: ['94-8=86', '86-6=80']
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 98*80=7840, Resulting Numbers: [7840]
7840,44 unequal: No Solution
Exploring Operation: 98+80=178, Resulting Numbers: [178]
178,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[86, 92], Operations: ['94-8=86', '98-6=92']
Exploring Operation: 86*92=7912, Resulting Numbers: [7912]
7912,44 unequal: No Solution
Exploring Operation: 86+92=178, Resulting Numbers: [178]
178,44 unequal: No Solution
Exploring Operation: 92-86=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[94, 6, 90], Operations: ['98-8=90']
Exploring Operation: 94-90=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 44:[6, 4] Operation: 94-90=4
Exploring Operation: 94-6=88, Resulting Numbers: [90, 88]
Generated Node #0,2,1: 44:[90, 88] Operation: 94-6=88
Exploring Operation: 90/6=15, Resulting Numbers: [94, 15]
Generated Node #0,2,2: 44:[94, 15] Operation: 90/6=15
Moving to Node #0,2,0
Current State: 44:[6, 4], Operations: ['98-8=90', '94-90=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[94, 15], Operations: ['98-8=90', '90/6=15']
Exploring Operation: 94+15=109, Resulting Numbers: [109]
109,44 unequal: No Solution
Exploring Operation: 94*15=1410, Resulting Numbers: [1410]
1410,44 unequal: No Solution
Exploring Operation: 94-15=79, Resulting Numbers: [79]
79,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[90, 88], Operations: ['98-8=90', '94-6=88']
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 90+88=178, Resulting Numbers: [178]
178,44 unequal: No Solution
Exploring Operation: 90*88=7920, Resulting Numbers: [7920]
7920,44 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 |
[
38,
31,
74,
98
] | 31 | [
"38-31=7",
"98-74=24",
"7+24=31"
] | Current State: 31:[38, 31, 74, 98], Operations: []
Exploring Operation: 38-31=7, Resulting Numbers: [74, 98, 7]
Generated Node #2: [74, 98, 7] from Operation: 38-31=7
Current State: 31:[74, 98, 7], Operations: ['38-31=7']
Exploring Operation: 98-74=24, Resulting Numbers: [7, 24]
Generated Node #3: [7, 24] from Operation: 98-74=24
Current State: 31:[7, 24], Operations: ['38-31=7', '98-74=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[38, 31, 74, 98], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [31, 74, 60]
Generated Node #0,0: 31:[31, 74, 60] Operation: 98-38=60
Exploring Operation: 74-38=36, Resulting Numbers: [31, 98, 36]
Generated Node #0,1: 31:[31, 98, 36] Operation: 74-38=36
Exploring Operation: 98-74=24, Resulting Numbers: [38, 31, 24]
Generated Node #0,2: 31:[38, 31, 24] Operation: 98-74=24
Moving to Node #0,2
Current State: 31:[38, 31, 24], Operations: ['98-74=24']
Exploring Operation: 38-31=7, Resulting Numbers: [24, 7]
Generated Node #0,2,0: 31:[24, 7] Operation: 38-31=7
Exploring Operation: 38+24=62, Resulting Numbers: [31, 62]
Generated Node #0,2,1: 31:[31, 62] Operation: 38+24=62
Exploring Operation: 38-24=14, Resulting Numbers: [31, 14]
Generated Node #0,2,2: 31:[31, 14] Operation: 38-24=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[31, 14], Operations: ['98-74=24', '38-24=14']
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,31 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No 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: 31:[24, 7], Operations: ['98-74=24', '38-31=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,31 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[38, 31, 74, 98], Operations: []
Exploring Operation: 98-74=24, Resulting Numbers: [38, 31, 24]
Generated Node #0,2: 31:[38, 31, 24] Operation: 98-74=24
Moving to Node #0,2
Current State: 31:[38, 31, 24], Operations: ['98-74=24']
Exploring Operation: 38-31=7, Resulting Numbers: [24, 7]
Generated Node #0,2,0: 31:[24, 7] Operation: 38-31=7
Moving to Node #0,2,0
Current State: 31:[24, 7], Operations: ['98-74=24', '38-31=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
83,
26,
10,
85
] | 42 | [
"85-83=2",
"26*2=52",
"52-10=42"
] | Current State: 42:[83, 26, 10, 85], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [26, 10, 2]
Generated Node #2: [26, 10, 2] from Operation: 85-83=2
Current State: 42:[26, 10, 2], Operations: ['85-83=2']
Exploring Operation: 26*2=52, Resulting Numbers: [10, 52]
Generated Node #3: [10, 52] from Operation: 26*2=52
Current State: 42:[10, 52], Operations: ['85-83=2', '26*2=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[83, 26, 10, 85], Operations: []
Exploring Operation: 85-26=59, Resulting Numbers: [83, 10, 59]
Generated Node #0,0: 42:[83, 10, 59] Operation: 85-26=59
Exploring Operation: 85-83=2, Resulting Numbers: [26, 10, 2]
Generated Node #0,1: 42:[26, 10, 2] Operation: 85-83=2
Exploring Operation: 83-26=57, Resulting Numbers: [10, 85, 57]
Generated Node #0,2: 42:[10, 85, 57] Operation: 83-26=57
Exploring Operation: 83-10=73, Resulting Numbers: [26, 85, 73]
Generated Node #0,3: 42:[26, 85, 73] Operation: 83-10=73
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[26, 10, 2], Operations: ['85-83=2']
Exploring Operation: 26+10=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 42:[2, 36] Operation: 26+10=36
Exploring Operation: 26-10=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 42:[2, 16] Operation: 26-10=16
Exploring Operation: 26/2=13, Resulting Numbers: [10, 13]
Generated Node #0,1,2: 42:[10, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [10, 24]
Generated Node #0,1,3: 42:[10, 24] Operation: 26-2=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[2, 16], Operations: ['85-83=2', '26-10=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[10, 13], Operations: ['85-83=2', '26/2=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,42 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[2, 36], Operations: ['85-83=2', '26+10=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,42 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 42:[10, 24], Operations: ['85-83=2', '26-2=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,42 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[83, 10, 59], Operations: ['85-26=59']
Exploring Operation: 83-10=73, Resulting Numbers: [59, 73]
Generated Node #0,0,0: 42:[59, 73] Operation: 83-10=73
Exploring Operation: 83-59=24, Resulting Numbers: [10, 24]
Generated Node #0,0,1: 42:[10, 24] Operation: 83-59=24
Exploring Operation: 59-10=49, Resulting Numbers: [83, 49]
Generated Node #0,0,2: 42:[83, 49] Operation: 59-10=49
Exploring Operation: 83+10=93, Resulting Numbers: [59, 93]
Generated Node #0,0,3: 42:[59, 93] Operation: 83+10=93
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[10, 24], Operations: ['85-26=59', '83-59=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[59, 73], Operations: ['85-26=59', '83-10=73']
Exploring Operation: 59*73=4307, Resulting Numbers: [4307]
4307,42 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 59+73=132, Resulting Numbers: [132]
132,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[83, 49], Operations: ['85-26=59', '59-10=49']
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[59, 93], Operations: ['85-26=59', '83+10=93']
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,42 unequal: No Solution
Exploring Operation: 59+93=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 59*93=5487, Resulting Numbers: [5487]
5487,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[10, 85, 57], Operations: ['83-26=57']
Exploring Operation: 85-57=28, Resulting Numbers: [10, 28]
Generated Node #0,2,0: 42:[10, 28] Operation: 85-57=28
Exploring Operation: 85-10=75, Resulting Numbers: [57, 75]
Generated Node #0,2,1: 42:[57, 75] Operation: 85-10=75
Exploring Operation: 10+85=95, Resulting Numbers: [57, 95]
Generated Node #0,2,2: 42:[57, 95] Operation: 10+85=95
Exploring Operation: 57-10=47, Resulting Numbers: [85, 47]
Generated Node #0,2,3: 42:[85, 47] Operation: 57-10=47
Moving to Node #0,2,0
Current State: 42:[10, 28], Operations: ['83-26=57', '85-57=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[85, 47], Operations: ['83-26=57', '57-10=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,42 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[57, 75], Operations: ['83-26=57', '85-10=75']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,42 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,42 unequal: No Solution
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[57, 95], Operations: ['83-26=57', '10+85=95']
Exploring Operation: 57*95=5415, Resulting Numbers: [5415]
5415,42 unequal: No Solution
Exploring Operation: 95-57=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 57+95=152, Resulting Numbers: [152]
152,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,3
Current State: 42:[26, 85, 73], Operations: ['83-10=73']
Exploring Operation: 26+85=111, Resulting Numbers: [73, 111]
Generated Node #0,3,0: 42:[73, 111] Operation: 26+85=111
Exploring Operation: 73-26=47, Resulting Numbers: [85, 47]
Generated Node #0,3,1: 42:[85, 47] Operation: 73-26=47
Exploring Operation: 85-73=12, Resulting Numbers: [26, 12]
Generated Node #0,3,2: 42:[26, 12] Operation: 85-73=12
Exploring Operation: 85-26=59, Resulting Numbers: [73, 59]
Generated Node #0,3,3: 42:[73, 59] Operation: 85-26=59
Moving to Node #0,3,2
Current State: 42:[26, 12], Operations: ['83-10=73', '85-73=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[73, 59], Operations: ['83-10=73', '85-26=59']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,42 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[85, 47], Operations: ['83-10=73', '73-26=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,42 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[73, 111], Operations: ['83-10=73', '26+85=111']
Exploring Operation: 73*111=8103, Resulting Numbers: [8103]
8103,42 unequal: No Solution
Exploring Operation: 73+111=184, Resulting Numbers: [184]
184,42 unequal: No Solution
Exploring Operation: 111-73=38, Resulting Numbers: [38]
38,42 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 |
[
87,
88,
31,
44
] | 76 | [
"88-87=1",
"31+44=75",
"1+75=76"
] | Current State: 76:[87, 88, 31, 44], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [31, 44, 1]
Generated Node #2: [31, 44, 1] from Operation: 88-87=1
Current State: 76:[31, 44, 1], Operations: ['88-87=1']
Exploring Operation: 31+44=75, Resulting Numbers: [1, 75]
Generated Node #3: [1, 75] from Operation: 31+44=75
Current State: 76:[1, 75], Operations: ['88-87=1', '31+44=75']
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[87, 88, 31, 44], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [87, 31, 2]
Generated Node #0,0: 76:[87, 31, 2] Operation: 88/44=2
Exploring Operation: 88-87=1, Resulting Numbers: [31, 44, 1]
Generated Node #0,1: 76:[31, 44, 1] Operation: 88-87=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[31, 44, 1], Operations: ['88-87=1']
Exploring Operation: 44-31=13, Resulting Numbers: [1, 13]
Generated Node #0,1,0: 76:[1, 13] Operation: 44-31=13
Exploring Operation: 31+44=75, Resulting Numbers: [1, 75]
Generated Node #0,1,1: 76:[1, 75] Operation: 31+44=75
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[1, 75], Operations: ['88-87=1', '31+44=75']
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[87, 88, 31, 44], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [31, 44, 1]
Generated Node #0,1: 76:[31, 44, 1] Operation: 88-87=1
Moving to Node #0,1
Current State: 76:[31, 44, 1], Operations: ['88-87=1']
Exploring Operation: 31+44=75, Resulting Numbers: [1, 75]
Generated Node #0,1,1: 76:[1, 75] Operation: 31+44=75
Moving to Node #0,1,1
Current State: 76:[1, 75], Operations: ['88-87=1', '31+44=75']
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
83,
62,
12,
9
] | 81 | [
"83-62=21",
"21-12=9",
"9*9=81"
] | Current State: 81:[83, 62, 12, 9], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [12, 9, 21]
Generated Node #2: [12, 9, 21] from Operation: 83-62=21
Current State: 81:[12, 9, 21], Operations: ['83-62=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 21-12=9
Current State: 81:[9, 9], Operations: ['83-62=21', '21-12=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 62, 12, 9], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [12, 9, 21]
Generated Node #0,0: 81:[12, 9, 21] Operation: 83-62=21
Moving to Node #0,0
Current State: 81:[12, 9, 21], Operations: ['83-62=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 21-12=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['83-62=21', '21-12=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 62, 12, 9], Operations: []
Exploring Operation: 83-62=21, Resulting Numbers: [12, 9, 21]
Generated Node #0,0: 81:[12, 9, 21] Operation: 83-62=21
Moving to Node #0,0
Current State: 81:[12, 9, 21], Operations: ['83-62=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 21-12=9
Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['83-62=21', '21-12=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
32,
3,
89,
77
] | 36 | [
"89-77=12",
"12/3=4",
"32+4=36"
] | Current State: 36:[32, 3, 89, 77], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [32, 3, 12]
Generated Node #2: [32, 3, 12] from Operation: 89-77=12
Current State: 36:[32, 3, 12], Operations: ['89-77=12']
Exploring Operation: 12/3=4, Resulting Numbers: [32, 4]
Generated Node #3: [32, 4] from Operation: 12/3=4
Current State: 36:[32, 4], Operations: ['89-77=12', '12/3=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[32, 3, 89, 77], Operations: []
Exploring Operation: 89-32=57, Resulting Numbers: [3, 77, 57]
Generated Node #0,0: 36:[3, 77, 57] Operation: 89-32=57
Exploring Operation: 77-32=45, Resulting Numbers: [3, 89, 45]
Generated Node #0,1: 36:[3, 89, 45] Operation: 77-32=45
Exploring Operation: 89-3=86, Resulting Numbers: [32, 77, 86]
Generated Node #0,2: 36:[32, 77, 86] Operation: 89-3=86
Exploring Operation: 32+3=35, Resulting Numbers: [89, 77, 35]
Generated Node #0,3: 36:[89, 77, 35] Operation: 32+3=35
Exploring Operation: 89-77=12, Resulting Numbers: [32, 3, 12]
Generated Node #0,4: 36:[32, 3, 12] Operation: 89-77=12
Moving to Node #0,4
Current State: 36:[32, 3, 12], Operations: ['89-77=12']
Exploring Operation: 3*12=36, Resulting Numbers: [32, 36]
Generated Node #0,4,0: 36:[32, 36] Operation: 3*12=36
Exploring Operation: 12-3=9, Resulting Numbers: [32, 9]
Generated Node #0,4,1: 36:[32, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [32, 4]
Generated Node #0,4,2: 36:[32, 4] Operation: 12/3=4
Exploring Operation: 32-12=20, Resulting Numbers: [3, 20]
Generated Node #0,4,3: 36:[3, 20] Operation: 32-12=20
Exploring Operation: 32+3=35, Resulting Numbers: [12, 35]
Generated Node #0,4,4: 36:[12, 35] Operation: 32+3=35
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[12, 35], Operations: ['89-77=12', '32+3=35']
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,36 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[3, 20], Operations: ['89-77=12', '32-12=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[32, 36], Operations: ['89-77=12', '3*12=36']
Exploring Operation: 32+36=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 32*36=1152, Resulting Numbers: [1152]
1152,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[32, 9], Operations: ['89-77=12', '12-3=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 32*9=288, Resulting Numbers: [288]
288,36 unequal: No Solution
Exploring Operation: 32+9=41, Resulting Numbers: [41]
41,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[32, 4], Operations: ['89-77=12', '12/3=4']
Exploring Operation: 32*4=128, Resulting Numbers: [128]
128,36 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[32, 3, 89, 77], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [32, 3, 12]
Generated Node #0,4: 36:[32, 3, 12] Operation: 89-77=12
Moving to Node #0,4
Current State: 36:[32, 3, 12], Operations: ['89-77=12']
Exploring Operation: 12/3=4, Resulting Numbers: [32, 4]
Generated Node #0,4,2: 36:[32, 4] Operation: 12/3=4
Moving to Node #0,4,2
Current State: 36:[32, 4], Operations: ['89-77=12', '12/3=4']
Exploring Operation: 32+4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | sum_heuristic |
[
29,
93,
14,
87
] | 49 | [
"29+93=122",
"87-14=73",
"122-73=49"
] | Current State: 49:[29, 93, 14, 87], Operations: []
Exploring Operation: 29+93=122, Resulting Numbers: [14, 87, 122]
Generated Node #2: [14, 87, 122] from Operation: 29+93=122
Current State: 49:[14, 87, 122], Operations: ['29+93=122']
Exploring Operation: 87-14=73, Resulting Numbers: [122, 73]
Generated Node #3: [122, 73] from Operation: 87-14=73
Current State: 49:[122, 73], Operations: ['29+93=122', '87-14=73']
Exploring Operation: 122-73=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[29, 93, 14, 87], Operations: []
Exploring Operation: 29+14=43, Resulting Numbers: [93, 87, 43]
Generated Node #0,0: 49:[93, 87, 43] Operation: 29+14=43
Exploring Operation: 93-87=6, Resulting Numbers: [29, 14, 6]
Generated Node #0,1: 49:[29, 14, 6] Operation: 93-87=6
Exploring Operation: 93-29=64, Resulting Numbers: [14, 87, 64]
Generated Node #0,2: 49:[14, 87, 64] Operation: 93-29=64
Exploring Operation: 87/29=3, Resulting Numbers: [93, 14, 3]
Generated Node #0,3: 49:[93, 14, 3] Operation: 87/29=3
Exploring Operation: 87-29=58, Resulting Numbers: [93, 14, 58]
Generated Node #0,4: 49:[93, 14, 58] Operation: 87-29=58
Moving to Node #0,1
Current State: 49:[29, 14, 6], Operations: ['93-87=6']
Exploring Operation: 29-6=23, Resulting Numbers: [14, 23]
Generated Node #0,1,0: 49:[14, 23] Operation: 29-6=23
Exploring Operation: 29-14=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 49:[6, 15] Operation: 29-14=15
Exploring Operation: 29+14=43, Resulting Numbers: [6, 43]
Generated Node #0,1,2: 49:[6, 43] Operation: 29+14=43
Exploring Operation: 14-6=8, Resulting Numbers: [29, 8]
Generated Node #0,1,3: 49:[29, 8] Operation: 14-6=8
Exploring Operation: 29+6=35, Resulting Numbers: [14, 35]
Generated Node #0,1,4: 49:[14, 35] Operation: 29+6=35
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[6, 43], Operations: ['93-87=6', '29+14=43']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[29, 93, 14, 87], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [29, 14, 6]
Generated Node #0,1: 49:[29, 14, 6] Operation: 93-87=6
Moving to Node #0,1
Current State: 49:[29, 14, 6], Operations: ['93-87=6']
Exploring Operation: 29+14=43, Resulting Numbers: [6, 43]
Generated Node #0,1,2: 49:[6, 43] Operation: 29+14=43
Moving to Node #0,1,2
Current State: 49:[6, 43], Operations: ['93-87=6', '29+14=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
34,
40,
16,
11
] | 82 | [
"40-34=6",
"11*6=66",
"16+66=82"
] | Current State: 82:[34, 40, 16, 11], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [16, 11, 6]
Generated Node #2: [16, 11, 6] from Operation: 40-34=6
Current State: 82:[16, 11, 6], Operations: ['40-34=6']
Exploring Operation: 11*6=66, Resulting Numbers: [16, 66]
Generated Node #3: [16, 66] from Operation: 11*6=66
Current State: 82:[16, 66], Operations: ['40-34=6', '11*6=66']
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[34, 40, 16, 11], Operations: []
Exploring Operation: 34+11=45, Resulting Numbers: [40, 16, 45]
Generated Node #0,0: 82:[40, 16, 45] Operation: 34+11=45
Exploring Operation: 34+16=50, Resulting Numbers: [40, 11, 50]
Generated Node #0,1: 82:[40, 11, 50] Operation: 34+16=50
Exploring Operation: 16-11=5, Resulting Numbers: [34, 40, 5]
Generated Node #0,2: 82:[34, 40, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[34, 40, 5], Operations: ['16-11=5']
Exploring Operation: 34+40=74, Resulting Numbers: [5, 74]
Generated Node #0,2,0: 82:[5, 74] Operation: 34+40=74
Exploring Operation: 34+5=39, Resulting Numbers: [40, 39]
Generated Node #0,2,1: 82:[40, 39] Operation: 34+5=39
Exploring Operation: 40-34=6, Resulting Numbers: [5, 6]
Generated Node #0,2,2: 82:[5, 6] Operation: 40-34=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[40, 39], Operations: ['16-11=5', '34+5=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,82 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[5, 6], Operations: ['16-11=5', '40-34=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[5, 74], Operations: ['16-11=5', '34+40=74']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,82 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[40, 16, 45], Operations: ['34+11=45']
Exploring Operation: 40+45=85, Resulting Numbers: [16, 85]
Generated Node #0,0,0: 82:[16, 85] Operation: 40+45=85
Exploring Operation: 45-40=5, Resulting Numbers: [16, 5]
Generated Node #0,0,1: 82:[16, 5] Operation: 45-40=5
Exploring Operation: 45-16=29, Resulting Numbers: [40, 29]
Generated Node #0,0,2: 82:[40, 29] Operation: 45-16=29
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 82:[40, 29], Operations: ['34+11=45', '45-16=29']
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,82 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[16, 85], Operations: ['34+11=45', '40+45=85']
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,82 unequal: No Solution
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[16, 5], Operations: ['34+11=45', '45-40=5']
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,82 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[40, 11, 50], Operations: ['34+16=50']
Exploring Operation: 50-11=39, Resulting Numbers: [40, 39]
Generated Node #0,1,0: 82:[40, 39] Operation: 50-11=39
Exploring Operation: 40+50=90, Resulting Numbers: [11, 90]
Generated Node #0,1,1: 82:[11, 90] Operation: 40+50=90
Exploring Operation: 50-40=10, Resulting Numbers: [11, 10]
Generated Node #0,1,2: 82:[11, 10] Operation: 50-40=10
Moving to Node #0,1,0
Current State: 82:[40, 39], Operations: ['34+16=50', '50-11=39']
Exploring Operation: 40*39=1560, Resulting Numbers: [1560]
1560,82 unequal: No Solution
Exploring Operation: 40+39=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 40-39=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[11, 90], Operations: ['34+16=50', '40+50=90']
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,82 unequal: No Solution
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,82 unequal: No Solution
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[11, 10], Operations: ['34+16=50', '50-40=10']
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,82 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,82 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,82 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 |
[
93,
83,
19,
41
] | 12 | [
"93-83=10",
"41-19=22",
"22-10=12"
] | Current State: 12:[93, 83, 19, 41], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [19, 41, 10]
Generated Node #2: [19, 41, 10] from Operation: 93-83=10
Current State: 12:[19, 41, 10], Operations: ['93-83=10']
Exploring Operation: 41-19=22, Resulting Numbers: [10, 22]
Generated Node #3: [10, 22] from Operation: 41-19=22
Current State: 12:[10, 22], Operations: ['93-83=10', '41-19=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[93, 83, 19, 41], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [19, 41, 10]
Generated Node #0,0: 12:[19, 41, 10] Operation: 93-83=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[19, 41, 10], Operations: ['93-83=10']
Exploring Operation: 41-19=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 12:[10, 22] Operation: 41-19=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[10, 22], Operations: ['93-83=10', '41-19=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[93, 83, 19, 41], Operations: []
Exploring Operation: 93-83=10, Resulting Numbers: [19, 41, 10]
Generated Node #0,0: 12:[19, 41, 10] Operation: 93-83=10
Moving to Node #0,0
Current State: 12:[19, 41, 10], Operations: ['93-83=10']
Exploring Operation: 41-19=22, Resulting Numbers: [10, 22]
Generated Node #0,0,0: 12:[10, 22] Operation: 41-19=22
Moving to Node #0,0,0
Current State: 12:[10, 22], Operations: ['93-83=10', '41-19=22']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
3,
34,
71,
68
] | 31 | [
"68-34=34",
"3*34=102",
"102-71=31"
] | Current State: 31:[3, 34, 71, 68], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [3, 71, 34]
Generated Node #2: [3, 71, 34] from Operation: 68-34=34
Current State: 31:[3, 71, 34], Operations: ['68-34=34']
Exploring Operation: 3*34=102, Resulting Numbers: [71, 102]
Generated Node #3: [71, 102] from Operation: 3*34=102
Current State: 31:[71, 102], Operations: ['68-34=34', '3*34=102']
Exploring Operation: 102-71=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[3, 34, 71, 68], Operations: []
Exploring Operation: 68-34=34, Resulting Numbers: [3, 71, 34]
Generated Node #0,0: 31:[3, 71, 34] Operation: 68-34=34
Exploring Operation: 71-68=3, Resulting Numbers: [3, 34, 3]
Generated Node #0,1: 31:[3, 34, 3] Operation: 71-68=3
Exploring Operation: 71-34=37, Resulting Numbers: [3, 68, 37]
Generated Node #0,2: 31:[3, 68, 37] Operation: 71-34=37
Moving to Node #0,1
Current State: 31:[3, 34, 3], Operations: ['71-68=3']
Exploring Operation: 34-3=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 31:[3, 31] Operation: 34-3=31
Exploring Operation: 3+3=6, Resulting Numbers: [34, 6]
Generated Node #0,1,1: 31:[34, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [34, 9]
Generated Node #0,1,2: 31:[34, 9] Operation: 3*3=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[34, 9], Operations: ['71-68=3', '3*3=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,31 unequal: No Solution
No 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: 31:[3, 31], Operations: ['71-68=3', '34-3=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,31 unequal: No Solution
No 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: 31:[34, 6], Operations: ['71-68=3', '3+3=6']
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,31 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,31 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: 31:[3, 71, 34], Operations: ['68-34=34']
Exploring Operation: 71-3=68, Resulting Numbers: [34, 68]
Generated Node #0,0,0: 31:[34, 68] Operation: 71-3=68
Exploring Operation: 71-34=37, Resulting Numbers: [3, 37]
Generated Node #0,0,1: 31:[3, 37] Operation: 71-34=37
Exploring Operation: 34-3=31, Resulting Numbers: [71, 31]
Generated Node #0,0,2: 31:[71, 31] Operation: 34-3=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[3, 37], Operations: ['68-34=34', '71-34=37']
Exploring Operation: 3*37=111, Resulting Numbers: [111]
111,31 unequal: No Solution
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,31 unequal: No Solution
No 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: 31:[34, 68], Operations: ['68-34=34', '71-3=68']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,31 unequal: No Solution
No 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: 31:[71, 31], Operations: ['68-34=34', '34-3=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,31 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,31 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: 31:[3, 68, 37], Operations: ['71-34=37']
Exploring Operation: 68-37=31, Resulting Numbers: [3, 31]
Generated Node #0,2,0: 31:[3, 31] Operation: 68-37=31
Exploring Operation: 68-3=65, Resulting Numbers: [37, 65]
Generated Node #0,2,1: 31:[37, 65] Operation: 68-3=65
Exploring Operation: 37-3=34, Resulting Numbers: [68, 34]
Generated Node #0,2,2: 31:[68, 34] Operation: 37-3=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[3, 31], Operations: ['71-34=37', '68-37=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,31 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,31 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,31 unequal: No Solution
No 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: 31:[37, 65], Operations: ['71-34=37', '68-3=65']
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,31 unequal: No Solution
Exploring Operation: 37+65=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 37*65=2405, Resulting Numbers: [2405]
2405,31 unequal: No Solution
No 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: 31:[68, 34], Operations: ['71-34=37', '37-3=34']
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,31 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,31 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 |
[
64,
40,
81,
96
] | 94 | [
"64*81=5184",
"5184/96=54",
"40+54=94"
] | Current State: 94:[64, 40, 81, 96], Operations: []
Exploring Operation: 64*81=5184, Resulting Numbers: [40, 96, 5184]
Generated Node #2: [40, 96, 5184] from Operation: 64*81=5184
Current State: 94:[40, 96, 5184], Operations: ['64*81=5184']
Exploring Operation: 5184/96=54, Resulting Numbers: [40, 54]
Generated Node #3: [40, 54] from Operation: 5184/96=54
Current State: 94:[40, 54], Operations: ['64*81=5184', '5184/96=54']
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[64, 40, 81, 96], Operations: []
Exploring Operation: 64+40=104, Resulting Numbers: [81, 96, 104]
Generated Node #0,0: 94:[81, 96, 104] Operation: 64+40=104
Exploring Operation: 81-64=17, Resulting Numbers: [40, 96, 17]
Generated Node #0,1: 94:[40, 96, 17] Operation: 81-64=17
Exploring Operation: 81-40=41, Resulting Numbers: [64, 96, 41]
Generated Node #0,2: 94:[64, 96, 41] Operation: 81-40=41
Exploring Operation: 96-64=32, Resulting Numbers: [40, 81, 32]
Generated Node #0,3: 94:[40, 81, 32] Operation: 96-64=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[40, 96, 17], Operations: ['81-64=17']
Exploring Operation: 96-17=79, Resulting Numbers: [40, 79]
Generated Node #0,1,0: 94:[40, 79] Operation: 96-17=79
Exploring Operation: 40-17=23, Resulting Numbers: [96, 23]
Generated Node #0,1,1: 94:[96, 23] Operation: 40-17=23
Exploring Operation: 40+17=57, Resulting Numbers: [96, 57]
Generated Node #0,1,2: 94:[96, 57] Operation: 40+17=57
Exploring Operation: 96-40=56, Resulting Numbers: [17, 56]
Generated Node #0,1,3: 94:[17, 56] Operation: 96-40=56
Moving to Node #0,1,2
Current State: 94:[96, 57], Operations: ['81-64=17', '40+17=57']
Exploring Operation: 96+57=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 96*57=5472, Resulting Numbers: [5472]
5472,94 unequal: No Solution
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[40, 79], Operations: ['81-64=17', '96-17=79']
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,94 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[96, 23], Operations: ['81-64=17', '40-17=23']
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[17, 56], Operations: ['81-64=17', '96-40=56']
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,94 unequal: No Solution
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[81, 96, 104], Operations: ['64+40=104']
Exploring Operation: 104-96=8, Resulting Numbers: [81, 8]
Generated Node #0,0,0: 94:[81, 8] Operation: 104-96=8
Exploring Operation: 81+96=177, Resulting Numbers: [104, 177]
Generated Node #0,0,1: 94:[104, 177] Operation: 81+96=177
Exploring Operation: 96-81=15, Resulting Numbers: [104, 15]
Generated Node #0,0,2: 94:[104, 15] Operation: 96-81=15
Exploring Operation: 104-81=23, Resulting Numbers: [96, 23]
Generated Node #0,0,3: 94:[96, 23] Operation: 104-81=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[81, 8], Operations: ['64+40=104', '104-96=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,94 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,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,0,2
Current State: 94:[104, 15], Operations: ['64+40=104', '96-81=15']
Exploring Operation: 104+15=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 104*15=1560, Resulting Numbers: [1560]
1560,94 unequal: No Solution
Exploring Operation: 104-15=89, Resulting Numbers: [89]
89,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,0,3
Current State: 94:[96, 23], Operations: ['64+40=104', '104-81=23']
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,94 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,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,0,1
Current State: 94:[104, 177], Operations: ['64+40=104', '81+96=177']
Exploring Operation: 104+177=281, Resulting Numbers: [281]
281,94 unequal: No Solution
Exploring Operation: 177-104=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Exploring Operation: 104*177=18408, Resulting Numbers: [18408]
18408,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,2
Current State: 94:[64, 96, 41], Operations: ['81-40=41']
Exploring Operation: 64-41=23, Resulting Numbers: [96, 23]
Generated Node #0,2,0: 94:[96, 23] Operation: 64-41=23
Exploring Operation: 64+41=105, Resulting Numbers: [96, 105]
Generated Node #0,2,1: 94:[96, 105] Operation: 64+41=105
Exploring Operation: 96-41=55, Resulting Numbers: [64, 55]
Generated Node #0,2,2: 94:[64, 55] Operation: 96-41=55
Exploring Operation: 96-64=32, Resulting Numbers: [41, 32]
Generated Node #0,2,3: 94:[41, 32] Operation: 96-64=32
Moving to Node #0,2,1
Current State: 94:[96, 105], Operations: ['81-40=41', '64+41=105']
Exploring Operation: 96+105=201, Resulting Numbers: [201]
201,94 unequal: No Solution
Exploring Operation: 96*105=10080, Resulting Numbers: [10080]
10080,94 unequal: No Solution
Exploring Operation: 105-96=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[41, 32], Operations: ['81-40=41', '96-64=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,94 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[96, 23], Operations: ['81-40=41', '64-41=23']
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,94 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[64, 55], Operations: ['81-40=41', '96-41=55']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[40, 81, 32], Operations: ['96-64=32']
Exploring Operation: 40-32=8, Resulting Numbers: [81, 8]
Generated Node #0,3,0: 94:[81, 8] Operation: 40-32=8
Exploring Operation: 81+32=113, Resulting Numbers: [40, 113]
Generated Node #0,3,1: 94:[40, 113] Operation: 81+32=113
Exploring Operation: 81-32=49, Resulting Numbers: [40, 49]
Generated Node #0,3,2: 94:[40, 49] Operation: 81-32=49
Exploring Operation: 81-40=41, Resulting Numbers: [32, 41]
Generated Node #0,3,3: 94:[32, 41] Operation: 81-40=41
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 94:[40, 49], Operations: ['96-64=32', '81-32=49']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 40*49=1960, Resulting Numbers: [1960]
1960,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,3,0
Current State: 94:[81, 8], Operations: ['96-64=32', '40-32=8']
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,94 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,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,3,3
Current State: 94:[32, 41], Operations: ['96-64=32', '81-40=41']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,94 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,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,3,1
Current State: 94:[40, 113], Operations: ['96-64=32', '81+32=113']
Exploring Operation: 40+113=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 40*113=4520, Resulting Numbers: [4520]
4520,94 unequal: No Solution
Exploring Operation: 113-40=73, Resulting Numbers: [73]
73,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
34,
63,
31,
37
] | 58 | [
"34-31=3",
"63/3=21",
"37+21=58"
] | Current State: 58:[34, 63, 31, 37], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [63, 37, 3]
Generated Node #2: [63, 37, 3] from Operation: 34-31=3
Current State: 58:[63, 37, 3], Operations: ['34-31=3']
Exploring Operation: 63/3=21, Resulting Numbers: [37, 21]
Generated Node #3: [37, 21] from Operation: 63/3=21
Current State: 58:[37, 21], Operations: ['34-31=3', '63/3=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[34, 63, 31, 37], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [63, 31, 3]
Generated Node #0,0: 58:[63, 31, 3] Operation: 37-34=3
Exploring Operation: 63-34=29, Resulting Numbers: [31, 37, 29]
Generated Node #0,1: 58:[31, 37, 29] Operation: 63-34=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[63, 31, 3], Operations: ['37-34=3']
Exploring Operation: 63-3=60, Resulting Numbers: [31, 60]
Generated Node #0,0,0: 58:[31, 60] Operation: 63-3=60
Exploring Operation: 63-31=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 58:[3, 32] Operation: 63-31=32
Moving to Node #0,0,0
Current State: 58:[31, 60], Operations: ['37-34=3', '63-3=60']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 31+60=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[3, 32], Operations: ['37-34=3', '63-31=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[31, 37, 29], Operations: ['63-34=29']
Exploring Operation: 31-29=2, Resulting Numbers: [37, 2]
Generated Node #0,1,0: 58:[37, 2] Operation: 31-29=2
Exploring Operation: 37-31=6, Resulting Numbers: [29, 6]
Generated Node #0,1,1: 58:[29, 6] Operation: 37-31=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[29, 6], Operations: ['63-34=29', '37-31=6']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,58 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,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,1,0
Current State: 58:[37, 2], Operations: ['63-34=29', '31-29=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
6,
9,
34,
64
] | 83 | [
"6+9=15",
"34+64=98",
"98-15=83"
] | Current State: 83:[6, 9, 34, 64], Operations: []
Exploring Operation: 6+9=15, Resulting Numbers: [34, 64, 15]
Generated Node #2: [34, 64, 15] from Operation: 6+9=15
Current State: 83:[34, 64, 15], Operations: ['6+9=15']
Exploring Operation: 34+64=98, Resulting Numbers: [15, 98]
Generated Node #3: [15, 98] from Operation: 34+64=98
Current State: 83:[15, 98], Operations: ['6+9=15', '34+64=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[6, 9, 34, 64], Operations: []
Exploring Operation: 6*9=54, Resulting Numbers: [34, 64, 54]
Generated Node #0,0: 83:[34, 64, 54] Operation: 6*9=54
Moving to Node #0,0
Current State: 83:[34, 64, 54], Operations: ['6*9=54']
Exploring Operation: 34+54=88, Resulting Numbers: [64, 88]
Generated Node #0,0,0: 83:[64, 88] Operation: 34+54=88
Moving to Node #0,0,0
Current State: 83:[64, 88], Operations: ['6*9=54', '34+54=88']
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,83 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
1,
69,
59
] | 69 | [
"1-1=0",
"59*0=0",
"69+0=69"
] | Current State: 69:[1, 1, 69, 59], Operations: []
Exploring Operation: 1-1=0, Resulting Numbers: [69, 59, 0]
Generated Node #2: [69, 59, 0] from Operation: 1-1=0
Current State: 69:[69, 59, 0], Operations: ['1-1=0']
Exploring Operation: 59*0=0, Resulting Numbers: [69, 0]
Generated Node #3: [69, 0] from Operation: 59*0=0
Current State: 69:[69, 0], Operations: ['1-1=0', '59*0=0']
Exploring Operation: 69+0=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[1, 1, 69, 59], Operations: []
Exploring Operation: 1+1=2, Resulting Numbers: [69, 59, 2]
Generated Node #0,0: 69:[69, 59, 2] Operation: 1+1=2
Exploring Operation: 1*1=1, Resulting Numbers: [69, 59, 1]
Generated Node #0,1: 69:[69, 59, 1] Operation: 1*1=1
Exploring Operation: 69-59=10, Resulting Numbers: [1, 1, 10]
Generated Node #0,2: 69:[1, 1, 10] Operation: 69-59=10
Exploring Operation: 1+59=60, Resulting Numbers: [1, 69, 60]
Generated Node #0,3: 69:[1, 69, 60] Operation: 1+59=60
Exploring Operation: 1+59=60, Resulting Numbers: [1, 69, 60]
Generated Node #0,4: 69:[1, 69, 60] Operation: 1+59=60
Moving to Node #0,0
Current State: 69:[69, 59, 2], Operations: ['1+1=2']
Exploring Operation: 69-2=67, Resulting Numbers: [59, 67]
Generated Node #0,0,0: 69:[59, 67] Operation: 69-2=67
Exploring Operation: 59-2=57, Resulting Numbers: [69, 57]
Generated Node #0,0,1: 69:[69, 57] Operation: 59-2=57
Exploring Operation: 69+2=71, Resulting Numbers: [59, 71]
Generated Node #0,0,2: 69:[59, 71] Operation: 69+2=71
Exploring Operation: 59+2=61, Resulting Numbers: [69, 61]
Generated Node #0,0,3: 69:[69, 61] Operation: 59+2=61
Exploring Operation: 69-59=10, Resulting Numbers: [2, 10]
Generated Node #0,0,4: 69:[2, 10] Operation: 69-59=10
Moving to Node #0,3
Current State: 69:[1, 69, 60], Operations: ['1+59=60']
Exploring Operation: 1*60=60, Resulting Numbers: [69, 60]
Generated Node #0,3,0: 69:[69, 60] Operation: 1*60=60
Exploring Operation: 1+60=61, Resulting Numbers: [69, 61]
Generated Node #0,3,1: 69:[69, 61] Operation: 1+60=61
Exploring Operation: 69-60=9, Resulting Numbers: [1, 9]
Generated Node #0,3,2: 69:[1, 9] Operation: 69-60=9
Exploring Operation: 1*69=69, Resulting Numbers: [60, 69]
Generated Node #0,3,3: 69:[60, 69] Operation: 1*69=69
Exploring Operation: 69/1=69, Resulting Numbers: [60, 69]
Generated Node #0,3,4: 69:[60, 69] Operation: 69/1=69
Moving to Node #0,2
Current State: 69:[1, 1, 10], Operations: ['69-59=10']
Exploring Operation: 10-1=9, Resulting Numbers: [1, 9]
Generated Node #0,2,0: 69:[1, 9] Operation: 10-1=9
Exploring Operation: 10-1=9, Resulting Numbers: [1, 9]
Generated Node #0,2,1: 69:[1, 9] Operation: 10-1=9
Exploring Operation: 1*1=1, Resulting Numbers: [10, 1]
Generated Node #0,2,2: 69:[10, 1] Operation: 1*1=1
Exploring Operation: 1+1=2, Resulting Numbers: [10, 2]
Generated Node #0,2,3: 69:[10, 2] Operation: 1+1=2
Exploring Operation: 1/1=1, Resulting Numbers: [10, 1]
Generated Node #0,2,4: 69:[10, 1] Operation: 1/1=1
Moving to Node #0,4
Current State: 69:[1, 69, 60], Operations: ['1+59=60']
Exploring Operation: 69-60=9, Resulting Numbers: [1, 9]
Generated Node #0,4,0: 69:[1, 9] Operation: 69-60=9
Exploring Operation: 69/1=69, Resulting Numbers: [60, 69]
Generated Node #0,4,1: 69:[60, 69] Operation: 69/1=69
Exploring Operation: 1*69=69, Resulting Numbers: [60, 69]
Generated Node #0,4,2: 69:[60, 69] Operation: 1*69=69
Exploring Operation: 1+60=61, Resulting Numbers: [69, 61]
Generated Node #0,4,3: 69:[69, 61] Operation: 1+60=61
Exploring Operation: 1*60=60, Resulting Numbers: [69, 60]
Generated Node #0,4,4: 69:[69, 60] Operation: 1*60=60
Moving to Node #0,1
Current State: 69:[69, 59, 1], Operations: ['1*1=1']
Exploring Operation: 69/1=69, Resulting Numbers: [59, 69]
Generated Node #0,1,0: 69:[59, 69] Operation: 69/1=69
Exploring Operation: 69*1=69, Resulting Numbers: [59, 69]
Generated Node #0,1,1: 69:[59, 69] Operation: 69*1=69
Exploring Operation: 69-59=10, Resulting Numbers: [1, 10]
Generated Node #0,1,2: 69:[1, 10] Operation: 69-59=10
Exploring Operation: 59*1=59, Resulting Numbers: [69, 59]
Generated Node #0,1,3: 69:[69, 59] Operation: 59*1=59
Exploring Operation: 59+1=60, Resulting Numbers: [69, 60]
Generated Node #0,1,4: 69:[69, 60] Operation: 59+1=60
Moving to Node #0,0,3
Current State: 69:[69, 61], Operations: ['1+1=2', '59+2=61']
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,69 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[69, 61], Operations: ['1+59=60', '1+60=61']
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[1, 9], Operations: ['1+59=60', '69-60=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[1, 9], Operations: ['69-59=10', '10-1=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[10, 2], Operations: ['69-59=10', '1+1=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[2, 10], Operations: ['1+1=2', '69-59=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[1, 9], Operations: ['69-59=10', '10-1=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,4,0
Current State: 69:[1, 9], Operations: ['1+59=60', '69-60=9']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Moving to Node #0,4,3
Current State: 69:[69, 61], Operations: ['1+59=60', '1+60=61']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[10, 1], Operations: ['69-59=10', '1/1=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[10, 1], Operations: ['69-59=10', '1*1=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[69, 60], Operations: ['1*1=1', '59+1=60']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Moving to Node #0,3,4
Current State: 69:[60, 69], Operations: ['1+59=60', '69/1=69']
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[1, 10], Operations: ['1*1=1', '69-59=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,69 unequal: No Solution
Moving to Node #0,4,2
Current State: 69:[60, 69], Operations: ['1+59=60', '1*69=69']
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,4,4
Current State: 69:[69, 60], Operations: ['1+59=60', '1*60=60']
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[60, 69], Operations: ['1+59=60', '1*69=69']
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Moving to Node #0,4,1
Current State: 69:[60, 69], Operations: ['1+59=60', '69/1=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[69, 60], Operations: ['1+59=60', '1*60=60']
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,69 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[69, 59], Operations: ['1*1=1', '59*1=59']
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 69*59=4071, Resulting Numbers: [4071]
4071,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[59, 69], Operations: ['1*1=1', '69*1=69']
Exploring Operation: 59+69=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 59*69=4071, Resulting Numbers: [4071]
4071,69 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[59, 69], Operations: ['1*1=1', '69/1=69']
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 59+69=128, Resulting Numbers: [128]
128,69 unequal: No Solution
Exploring Operation: 59*69=4071, Resulting Numbers: [4071]
4071,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[59, 71], Operations: ['1+1=2', '69+2=71']
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 59*71=4189, Resulting Numbers: [4189]
4189,69 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[59, 67], Operations: ['1+1=2', '69-2=67']
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,69 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[69, 57], Operations: ['1+1=2', '59-2=57']
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,69 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,69 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
25,
11,
42,
68
] | 62 | [
"25+11=36",
"68-42=26",
"36+26=62"
] | Current State: 62:[25, 11, 42, 68], Operations: []
Exploring Operation: 25+11=36, Resulting Numbers: [42, 68, 36]
Generated Node #2: [42, 68, 36] from Operation: 25+11=36
Current State: 62:[42, 68, 36], Operations: ['25+11=36']
Exploring Operation: 68-42=26, Resulting Numbers: [36, 26]
Generated Node #3: [36, 26] from Operation: 68-42=26
Current State: 62:[36, 26], Operations: ['25+11=36', '68-42=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[25, 11, 42, 68], Operations: []
Exploring Operation: 25+42=67, Resulting Numbers: [11, 68, 67]
Generated Node #0,0: 62:[11, 68, 67] Operation: 25+42=67
Exploring Operation: 42-11=31, Resulting Numbers: [25, 68, 31]
Generated Node #0,1: 62:[25, 68, 31] Operation: 42-11=31
Exploring Operation: 68-42=26, Resulting Numbers: [25, 11, 26]
Generated Node #0,2: 62:[25, 11, 26] Operation: 68-42=26
Moving to Node #0,1
Current State: 62:[25, 68, 31], Operations: ['42-11=31']
Exploring Operation: 25+31=56, Resulting Numbers: [68, 56]
Generated Node #0,1,0: 62:[68, 56] Operation: 25+31=56
Exploring Operation: 31-25=6, Resulting Numbers: [68, 6]
Generated Node #0,1,1: 62:[68, 6] Operation: 31-25=6
Exploring Operation: 68-25=43, Resulting Numbers: [31, 43]
Generated Node #0,1,2: 62:[31, 43] Operation: 68-25=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[68, 6], Operations: ['42-11=31', '31-25=6']
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,62 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,62 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[25, 11, 42, 68], Operations: []
Exploring Operation: 42-11=31, Resulting Numbers: [25, 68, 31]
Generated Node #0,1: 62:[25, 68, 31] Operation: 42-11=31
Moving to Node #0,1
Current State: 62:[25, 68, 31], Operations: ['42-11=31']
Exploring Operation: 31-25=6, Resulting Numbers: [68, 6]
Generated Node #0,1,1: 62:[68, 6] Operation: 31-25=6
Moving to Node #0,1,1
Current State: 62:[68, 6], Operations: ['42-11=31', '31-25=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
95,
86,
23,
6
] | 77 | [
"95-86=9",
"6*9=54",
"23+54=77"
] | Current State: 77:[95, 86, 23, 6], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [23, 6, 9]
Generated Node #2: [23, 6, 9] from Operation: 95-86=9
Current State: 77:[23, 6, 9], Operations: ['95-86=9']
Exploring Operation: 6*9=54, Resulting Numbers: [23, 54]
Generated Node #3: [23, 54] from Operation: 6*9=54
Current State: 77:[23, 54], Operations: ['95-86=9', '6*9=54']
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[95, 86, 23, 6], Operations: []
Exploring Operation: 95-86=9, Resulting Numbers: [23, 6, 9]
Generated Node #0,0: 77:[23, 6, 9] Operation: 95-86=9
Exploring Operation: 95-23=72, Resulting Numbers: [86, 6, 72]
Generated Node #0,1: 77:[86, 6, 72] Operation: 95-23=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[23, 6, 9], Operations: ['95-86=9']
Exploring Operation: 23-9=14, Resulting Numbers: [6, 14]
Generated Node #0,0,0: 77:[6, 14] Operation: 23-9=14
Exploring Operation: 23-6=17, Resulting Numbers: [9, 17]
Generated Node #0,0,1: 77:[9, 17] Operation: 23-6=17
Moving to Node #0,0,0
Current State: 77:[6, 14], Operations: ['95-86=9', '23-9=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,77 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[9, 17], Operations: ['95-86=9', '23-6=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,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
Current State: 77:[86, 6, 72], Operations: ['95-23=72']
Exploring Operation: 86-72=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 77:[6, 14] Operation: 86-72=14
Exploring Operation: 86-6=80, Resulting Numbers: [72, 80]
Generated Node #0,1,1: 77:[72, 80] Operation: 86-6=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[6, 14], Operations: ['95-23=72', '86-72=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,77 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,77 unequal: No Solution
No 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: 77:[72, 80], Operations: ['95-23=72', '86-6=80']
Exploring Operation: 72+80=152, Resulting Numbers: [152]
152,77 unequal: No Solution
Exploring Operation: 80-72=8, Resulting Numbers: [8]
8,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_2 | mult_heuristic |
[
50,
32,
10,
14
] | 23 | [
"50/10=5",
"32-14=18",
"5+18=23"
] | Current State: 23:[50, 32, 10, 14], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [32, 14, 5]
Generated Node #2: [32, 14, 5] from Operation: 50/10=5
Current State: 23:[32, 14, 5], Operations: ['50/10=5']
Exploring Operation: 32-14=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 32-14=18
Current State: 23:[5, 18], Operations: ['50/10=5', '32-14=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[50, 32, 10, 14], Operations: []
Exploring Operation: 50-32=18, Resulting Numbers: [10, 14, 18]
Generated Node #0,0: 23:[10, 14, 18] Operation: 50-32=18
Exploring Operation: 50/10=5, Resulting Numbers: [32, 14, 5]
Generated Node #0,1: 23:[32, 14, 5] Operation: 50/10=5
Exploring Operation: 50-10=40, Resulting Numbers: [32, 14, 40]
Generated Node #0,2: 23:[32, 14, 40] Operation: 50-10=40
Exploring Operation: 50-14=36, Resulting Numbers: [32, 10, 36]
Generated Node #0,3: 23:[32, 10, 36] Operation: 50-14=36
Exploring Operation: 32-10=22, Resulting Numbers: [50, 14, 22]
Generated Node #0,4: 23:[50, 14, 22] Operation: 32-10=22
Moving to Node #0,0
Current State: 23:[10, 14, 18], Operations: ['50-32=18']
Exploring Operation: 14-10=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 23:[18, 4] Operation: 14-10=4
Exploring Operation: 18-10=8, Resulting Numbers: [14, 8]
Generated Node #0,0,1: 23:[14, 8] Operation: 18-10=8
Exploring Operation: 14+18=32, Resulting Numbers: [10, 32]
Generated Node #0,0,2: 23:[10, 32] Operation: 14+18=32
Exploring Operation: 10+14=24, Resulting Numbers: [18, 24]
Generated Node #0,0,3: 23:[18, 24] Operation: 10+14=24
Exploring Operation: 10+18=28, Resulting Numbers: [14, 28]
Generated Node #0,0,4: 23:[14, 28] Operation: 10+18=28
Moving to Node #0,3
Current State: 23:[32, 10, 36], Operations: ['50-14=36']
Exploring Operation: 36-10=26, Resulting Numbers: [32, 26]
Generated Node #0,3,0: 23:[32, 26] Operation: 36-10=26
Exploring Operation: 36-32=4, Resulting Numbers: [10, 4]
Generated Node #0,3,1: 23:[10, 4] Operation: 36-32=4
Exploring Operation: 32+10=42, Resulting Numbers: [36, 42]
Generated Node #0,3,2: 23:[36, 42] Operation: 32+10=42
Exploring Operation: 32-10=22, Resulting Numbers: [36, 22]
Generated Node #0,3,3: 23:[36, 22] Operation: 32-10=22
Exploring Operation: 10+36=46, Resulting Numbers: [32, 46]
Generated Node #0,3,4: 23:[32, 46] Operation: 10+36=46
Moving to Node #0,2
Current State: 23:[32, 14, 40], Operations: ['50-10=40']
Exploring Operation: 32-14=18, Resulting Numbers: [40, 18]
Generated Node #0,2,0: 23:[40, 18] Operation: 32-14=18
Exploring Operation: 40-32=8, Resulting Numbers: [14, 8]
Generated Node #0,2,1: 23:[14, 8] Operation: 40-32=8
Exploring Operation: 32+14=46, Resulting Numbers: [40, 46]
Generated Node #0,2,2: 23:[40, 46] Operation: 32+14=46
Exploring Operation: 40-14=26, Resulting Numbers: [32, 26]
Generated Node #0,2,3: 23:[32, 26] Operation: 40-14=26
Exploring Operation: 14+40=54, Resulting Numbers: [32, 54]
Generated Node #0,2,4: 23:[32, 54] Operation: 14+40=54
Moving to Node #0,1
Current State: 23:[32, 14, 5], Operations: ['50/10=5']
Exploring Operation: 32+5=37, Resulting Numbers: [14, 37]
Generated Node #0,1,0: 23:[14, 37] Operation: 32+5=37
Exploring Operation: 32-14=18, Resulting Numbers: [5, 18]
Generated Node #0,1,1: 23:[5, 18] Operation: 32-14=18
Exploring Operation: 14+5=19, Resulting Numbers: [32, 19]
Generated Node #0,1,2: 23:[32, 19] Operation: 14+5=19
Exploring Operation: 32-5=27, Resulting Numbers: [14, 27]
Generated Node #0,1,3: 23:[14, 27] Operation: 32-5=27
Exploring Operation: 14-5=9, Resulting Numbers: [32, 9]
Generated Node #0,1,4: 23:[32, 9] Operation: 14-5=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[32, 19], Operations: ['50/10=5', '14+5=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,23 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,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,3
Current State: 23:[14, 27], Operations: ['50/10=5', '32-5=27']
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,23 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,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,0
Current State: 23:[14, 37], Operations: ['50/10=5', '32+5=37']
Exploring Operation: 14+37=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 14*37=518, Resulting Numbers: [518]
518,23 unequal: No Solution
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[50, 32, 10, 14], Operations: []
Exploring Operation: 50/10=5, Resulting Numbers: [32, 14, 5]
Generated Node #0,1: 23:[32, 14, 5] Operation: 50/10=5
Moving to Node #0,1
Current State: 23:[32, 14, 5], Operations: ['50/10=5']
Exploring Operation: 32+5=37, Resulting Numbers: [14, 37]
Generated Node #0,1,0: 23:[14, 37] Operation: 32+5=37
Moving to Node #0,1,0
Current State: 23:[14, 37], Operations: ['50/10=5', '32+5=37']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
18,
62,
54,
96
] | 30 | [
"54/18=3",
"96/3=32",
"62-32=30"
] | Current State: 30:[18, 62, 54, 96], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [62, 96, 3]
Generated Node #2: [62, 96, 3] from Operation: 54/18=3
Current State: 30:[62, 96, 3], Operations: ['54/18=3']
Exploring Operation: 96/3=32, Resulting Numbers: [62, 32]
Generated Node #3: [62, 32] from Operation: 96/3=32
Current State: 30:[62, 32], Operations: ['54/18=3', '96/3=32']
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[18, 62, 54, 96], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [62, 96, 3]
Generated Node #0,0: 30:[62, 96, 3] Operation: 54/18=3
Exploring Operation: 62-54=8, Resulting Numbers: [18, 96, 8]
Generated Node #0,1: 30:[18, 96, 8] Operation: 62-54=8
Exploring Operation: 62-18=44, Resulting Numbers: [54, 96, 44]
Generated Node #0,2: 30:[54, 96, 44] Operation: 62-18=44
Exploring Operation: 96-54=42, Resulting Numbers: [18, 62, 42]
Generated Node #0,3: 30:[18, 62, 42] Operation: 96-54=42
Exploring Operation: 96-62=34, Resulting Numbers: [18, 54, 34]
Generated Node #0,4: 30:[18, 54, 34] Operation: 96-62=34
Start Sub Search at level 1: Moving to Node #0,4
Current State: 30:[18, 54, 34], Operations: ['96-62=34']
Exploring Operation: 54/18=3, Resulting Numbers: [34, 3]
Generated Node #0,4,0: 30:[34, 3] Operation: 54/18=3
Exploring Operation: 34-18=16, Resulting Numbers: [54, 16]
Generated Node #0,4,1: 30:[54, 16] Operation: 34-18=16
Exploring Operation: 18+54=72, Resulting Numbers: [34, 72]
Generated Node #0,4,2: 30:[34, 72] Operation: 18+54=72
Exploring Operation: 54-18=36, Resulting Numbers: [34, 36]
Generated Node #0,4,3: 30:[34, 36] Operation: 54-18=36
Exploring Operation: 54-34=20, Resulting Numbers: [18, 20]
Generated Node #0,4,4: 30:[18, 20] Operation: 54-34=20
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 30:[34, 3], Operations: ['96-62=34', '54/18=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,30 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 30:[18, 20], Operations: ['96-62=34', '54-34=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 30:[34, 36], Operations: ['96-62=34', '54-18=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 30:[54, 16], Operations: ['96-62=34', '34-18=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,30 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 30:[34, 72], Operations: ['96-62=34', '18+54=72']
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,30 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,30 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,30 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[18, 62, 42], Operations: ['96-54=42']
Exploring Operation: 42-18=24, Resulting Numbers: [62, 24]
Generated Node #0,3,0: 30:[62, 24] Operation: 42-18=24
Exploring Operation: 18+62=80, Resulting Numbers: [42, 80]
Generated Node #0,3,1: 30:[42, 80] Operation: 18+62=80
Exploring Operation: 62-18=44, Resulting Numbers: [42, 44]
Generated Node #0,3,2: 30:[42, 44] Operation: 62-18=44
Exploring Operation: 62-42=20, Resulting Numbers: [18, 20]
Generated Node #0,3,3: 30:[18, 20] Operation: 62-42=20
Exploring Operation: 18+42=60, Resulting Numbers: [62, 60]
Generated Node #0,3,4: 30:[62, 60] Operation: 18+42=60
Moving to Node #0,3,3
Current State: 30:[18, 20], Operations: ['96-54=42', '62-42=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[42, 44], Operations: ['96-54=42', '62-18=44']
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,30 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[62, 24], Operations: ['96-54=42', '42-18=24']
Exploring Operation: 62+24=86, Resulting Numbers: [86]
86,30 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 62*24=1488, Resulting Numbers: [1488]
1488,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[42, 80], Operations: ['96-54=42', '18+62=80']
Exploring Operation: 42*80=3360, Resulting Numbers: [3360]
3360,30 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 42+80=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[62, 60], Operations: ['96-54=42', '18+42=60']
Exploring Operation: 62*60=3720, Resulting Numbers: [3720]
3720,30 unequal: No Solution
Exploring Operation: 62+60=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[18, 96, 8], Operations: ['62-54=8']
Exploring Operation: 96-8=88, Resulting Numbers: [18, 88]
Generated Node #0,1,0: 30:[18, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [18, 12]
Generated Node #0,1,1: 30:[18, 12] Operation: 96/8=12
Exploring Operation: 96-18=78, Resulting Numbers: [8, 78]
Generated Node #0,1,2: 30:[8, 78] Operation: 96-18=78
Exploring Operation: 18+8=26, Resulting Numbers: [96, 26]
Generated Node #0,1,3: 30:[96, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [96, 10]
Generated Node #0,1,4: 30:[96, 10] Operation: 18-8=10
Moving to Node #0,1,1
Current State: 30:[18, 12], Operations: ['62-54=8', '96/8=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[18, 62, 54, 96], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [18, 96, 8]
Generated Node #0,1: 30:[18, 96, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 30:[18, 96, 8], Operations: ['62-54=8']
Exploring Operation: 96/8=12, Resulting Numbers: [18, 12]
Generated Node #0,1,1: 30:[18, 12] Operation: 96/8=12
Moving to Node #0,1,1
Current State: 30:[18, 12], Operations: ['62-54=8', '96/8=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
69,
68,
56,
93
] | 92 | [
"68+56=124",
"69*124=8556",
"8556/93=92"
] | Current State: 92:[69, 68, 56, 93], Operations: []
Exploring Operation: 68+56=124, Resulting Numbers: [69, 93, 124]
Generated Node #2: [69, 93, 124] from Operation: 68+56=124
Current State: 92:[69, 93, 124], Operations: ['68+56=124']
Exploring Operation: 69*124=8556, Resulting Numbers: [93, 8556]
Generated Node #3: [93, 8556] from Operation: 69*124=8556
Current State: 92:[93, 8556], Operations: ['68+56=124', '69*124=8556']
Exploring Operation: 8556/93=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[69, 68, 56, 93], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [69, 93, 12]
Generated Node #0,0: 92:[69, 93, 12] Operation: 68-56=12
Exploring Operation: 93-69=24, Resulting Numbers: [68, 56, 24]
Generated Node #0,1: 92:[68, 56, 24] Operation: 93-69=24
Exploring Operation: 69-56=13, Resulting Numbers: [68, 93, 13]
Generated Node #0,2: 92:[68, 93, 13] Operation: 69-56=13
Exploring Operation: 69-68=1, Resulting Numbers: [56, 93, 1]
Generated Node #0,3: 92:[56, 93, 1] Operation: 69-68=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[56, 93, 1], Operations: ['69-68=1']
Exploring Operation: 93-56=37, Resulting Numbers: [1, 37]
Generated Node #0,3,0: 92:[1, 37] Operation: 93-56=37
Exploring Operation: 93-1=92, Resulting Numbers: [56, 92]
Generated Node #0,3,1: 92:[56, 92] Operation: 93-1=92
Exploring Operation: 56-1=55, Resulting Numbers: [93, 55]
Generated Node #0,3,2: 92:[93, 55] Operation: 56-1=55
Exploring Operation: 56*1=56, Resulting Numbers: [93, 56]
Generated Node #0,3,3: 92:[93, 56] Operation: 56*1=56
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[1, 37], Operations: ['69-68=1', '93-56=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[56, 92], Operations: ['69-68=1', '93-1=92']
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,92 unequal: No Solution
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[93, 55], Operations: ['69-68=1', '56-1=55']
Exploring Operation: 93*55=5115, Resulting Numbers: [5115]
5115,92 unequal: No Solution
Exploring Operation: 93+55=148, Resulting Numbers: [148]
148,92 unequal: No Solution
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[93, 56], Operations: ['69-68=1', '56*1=56']
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,92 unequal: No Solution
Exploring Operation: 93+56=149, Resulting Numbers: [149]
149,92 unequal: No Solution
Exploring Operation: 93*56=5208, Resulting Numbers: [5208]
5208,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[69, 93, 12], Operations: ['68-56=12']
Exploring Operation: 69+12=81, Resulting Numbers: [93, 81]
Generated Node #0,0,0: 92:[93, 81] Operation: 69+12=81
Exploring Operation: 93-12=81, Resulting Numbers: [69, 81]
Generated Node #0,0,1: 92:[69, 81] Operation: 93-12=81
Exploring Operation: 69-12=57, Resulting Numbers: [93, 57]
Generated Node #0,0,2: 92:[93, 57] Operation: 69-12=57
Exploring Operation: 93-69=24, Resulting Numbers: [12, 24]
Generated Node #0,0,3: 92:[12, 24] Operation: 93-69=24
Moving to Node #0,0,3
Current State: 92:[12, 24], Operations: ['68-56=12', '93-69=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,92 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[93, 57], Operations: ['68-56=12', '69-12=57']
Exploring Operation: 93*57=5301, Resulting Numbers: [5301]
5301,92 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 93+57=150, Resulting Numbers: [150]
150,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[93, 81], Operations: ['68-56=12', '69+12=81']
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,92 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 93*81=7533, Resulting Numbers: [7533]
7533,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[69, 81], Operations: ['68-56=12', '93-12=81']
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,92 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,92 unequal: No Solution
No 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: 92:[68, 93, 13], Operations: ['69-56=13']
Exploring Operation: 93-68=25, Resulting Numbers: [13, 25]
Generated Node #0,2,0: 92:[13, 25] Operation: 93-68=25
Exploring Operation: 93-13=80, Resulting Numbers: [68, 80]
Generated Node #0,2,1: 92:[68, 80] Operation: 93-13=80
Exploring Operation: 68-13=55, Resulting Numbers: [93, 55]
Generated Node #0,2,2: 92:[93, 55] Operation: 68-13=55
Exploring Operation: 68+13=81, Resulting Numbers: [93, 81]
Generated Node #0,2,3: 92:[93, 81] Operation: 68+13=81
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[93, 55], Operations: ['69-56=13', '68-13=55']
Exploring Operation: 93*55=5115, Resulting Numbers: [5115]
5115,92 unequal: No Solution
Exploring Operation: 93+55=148, Resulting Numbers: [148]
148,92 unequal: No Solution
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[13, 25], Operations: ['69-56=13', '93-68=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,92 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[93, 81], Operations: ['69-56=13', '68+13=81']
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,92 unequal: No Solution
Exploring Operation: 93*81=7533, Resulting Numbers: [7533]
7533,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[68, 80], Operations: ['69-56=13', '93-13=80']
Exploring Operation: 68*80=5440, Resulting Numbers: [5440]
5440,92 unequal: No Solution
Exploring Operation: 80-68=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 68+80=148, Resulting Numbers: [148]
148,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[68, 56, 24], Operations: ['93-69=24']
Exploring Operation: 68-24=44, Resulting Numbers: [56, 44]
Generated Node #0,1,0: 92:[56, 44] Operation: 68-24=44
Exploring Operation: 68+24=92, Resulting Numbers: [56, 92]
Generated Node #0,1,1: 92:[56, 92] Operation: 68+24=92
Exploring Operation: 68-56=12, Resulting Numbers: [24, 12]
Generated Node #0,1,2: 92:[24, 12] Operation: 68-56=12
Exploring Operation: 56-24=32, Resulting Numbers: [68, 32]
Generated Node #0,1,3: 92:[68, 32] Operation: 56-24=32
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[24, 12], Operations: ['93-69=24', '68-56=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,92 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[56, 92], Operations: ['93-69=24', '68+24=92']
Exploring Operation: 56+92=148, Resulting Numbers: [148]
148,92 unequal: No Solution
Exploring Operation: 56*92=5152, Resulting Numbers: [5152]
5152,92 unequal: No Solution
Exploring Operation: 92-56=36, Resulting Numbers: [36]
36,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[56, 44], Operations: ['93-69=24', '68-24=44']
Exploring Operation: 56+44=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 56*44=2464, Resulting Numbers: [2464]
2464,92 unequal: No Solution
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 92:[68, 32], Operations: ['93-69=24', '56-24=32']
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,92 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
7,
31,
88
] | 38 | [
"88-87=1",
"7+31=38",
"1*38=38"
] | Current State: 38:[87, 7, 31, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [7, 31, 1]
Generated Node #2: [7, 31, 1] from Operation: 88-87=1
Current State: 38:[7, 31, 1], Operations: ['88-87=1']
Exploring Operation: 7+31=38, Resulting Numbers: [1, 38]
Generated Node #3: [1, 38] from Operation: 7+31=38
Current State: 38:[1, 38], Operations: ['88-87=1', '7+31=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[87, 7, 31, 88], Operations: []
Exploring Operation: 88-31=57, Resulting Numbers: [87, 7, 57]
Generated Node #0,0: 38:[87, 7, 57] Operation: 88-31=57
Exploring Operation: 88-87=1, Resulting Numbers: [7, 31, 1]
Generated Node #0,1: 38:[7, 31, 1] Operation: 88-87=1
Exploring Operation: 87-31=56, Resulting Numbers: [7, 88, 56]
Generated Node #0,2: 38:[7, 88, 56] Operation: 87-31=56
Moving to Node #0,1
Current State: 38:[7, 31, 1], Operations: ['88-87=1']
Exploring Operation: 7-1=6, Resulting Numbers: [31, 6]
Generated Node #0,1,0: 38:[31, 6] Operation: 7-1=6
Exploring Operation: 31-7=24, Resulting Numbers: [1, 24]
Generated Node #0,1,1: 38:[1, 24] Operation: 31-7=24
Exploring Operation: 7+31=38, Resulting Numbers: [1, 38]
Generated Node #0,1,2: 38:[1, 38] Operation: 7+31=38
Moving to Node #0,0
Current State: 38:[87, 7, 57], Operations: ['88-31=57']
Exploring Operation: 57-7=50, Resulting Numbers: [87, 50]
Generated Node #0,0,0: 38:[87, 50] Operation: 57-7=50
Exploring Operation: 87-7=80, Resulting Numbers: [57, 80]
Generated Node #0,0,1: 38:[57, 80] Operation: 87-7=80
Exploring Operation: 87-57=30, Resulting Numbers: [7, 30]
Generated Node #0,0,2: 38:[7, 30] Operation: 87-57=30
Moving to Node #0,2
Current State: 38:[7, 88, 56], Operations: ['87-31=56']
Exploring Operation: 88-56=32, Resulting Numbers: [7, 32]
Generated Node #0,2,0: 38:[7, 32] Operation: 88-56=32
Exploring Operation: 88-7=81, Resulting Numbers: [56, 81]
Generated Node #0,2,1: 38:[56, 81] Operation: 88-7=81
Exploring Operation: 56/7=8, Resulting Numbers: [88, 8]
Generated Node #0,2,2: 38:[88, 8] Operation: 56/7=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[7, 32], Operations: ['87-31=56', '88-56=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,38 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[88, 8], Operations: ['87-31=56', '56/7=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[56, 81], Operations: ['87-31=56', '88-7=81']
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,38 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,38 unequal: No Solution
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 38:[1, 38], Operations: ['88-87=1', '7+31=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[87, 7, 31, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [7, 31, 1]
Generated Node #0,1: 38:[7, 31, 1] Operation: 88-87=1
Moving to Node #0,1
Current State: 38:[7, 31, 1], Operations: ['88-87=1']
Exploring Operation: 7+31=38, Resulting Numbers: [1, 38]
Generated Node #0,1,2: 38:[1, 38] Operation: 7+31=38
Moving to Node #0,1,2
Current State: 38:[1, 38], Operations: ['88-87=1', '7+31=38']
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
50,
1,
72,
77
] | 100 | [
"50-1=49",
"72+77=149",
"149-49=100"
] | Current State: 100:[50, 1, 72, 77], Operations: []
Exploring Operation: 50-1=49, Resulting Numbers: [72, 77, 49]
Generated Node #2: [72, 77, 49] from Operation: 50-1=49
Current State: 100:[72, 77, 49], Operations: ['50-1=49']
Exploring Operation: 72+77=149, Resulting Numbers: [49, 149]
Generated Node #3: [49, 149] from Operation: 72+77=149
Current State: 100:[49, 149], Operations: ['50-1=49', '72+77=149']
Exploring Operation: 149-49=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[50, 1, 72, 77], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [50, 1, 5]
Generated Node #0,0: 100:[50, 1, 5] Operation: 77-72=5
Moving to Node #0,0
Current State: 100:[50, 1, 5], Operations: ['77-72=5']
Exploring Operation: 50*1=50, Resulting Numbers: [5, 50]
Generated Node #0,0,0: 100:[5, 50] Operation: 50*1=50
Moving to Node #0,0,0
Current State: 100:[5, 50], Operations: ['77-72=5', '50*1=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,100 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
72,
18,
3
] | 56 | [
"72/18=4",
"3*4=12",
"68-12=56"
] | Current State: 56:[68, 72, 18, 3], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [68, 3, 4]
Generated Node #2: [68, 3, 4] from Operation: 72/18=4
Current State: 56:[68, 3, 4], Operations: ['72/18=4']
Exploring Operation: 3*4=12, Resulting Numbers: [68, 12]
Generated Node #3: [68, 12] from Operation: 3*4=12
Current State: 56:[68, 12], Operations: ['72/18=4', '3*4=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[68, 72, 18, 3], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [18, 3, 4]
Generated Node #0,0: 56:[18, 3, 4] Operation: 72-68=4
Exploring Operation: 72/18=4, Resulting Numbers: [68, 3, 4]
Generated Node #0,1: 56:[68, 3, 4] Operation: 72/18=4
Moving to Node #0,0
Current State: 56:[18, 3, 4], Operations: ['72-68=4']
Exploring Operation: 18-3=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 56:[4, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [4, 6]
Generated Node #0,0,1: 56:[4, 6] Operation: 18/3=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[4, 15], Operations: ['72-68=4', '18-3=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[4, 6], Operations: ['72-68=4', '18/3=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 56:[68, 3, 4], Operations: ['72/18=4']
Exploring Operation: 68-3=65, Resulting Numbers: [4, 65]
Generated Node #0,1,0: 56:[4, 65] Operation: 68-3=65
Exploring Operation: 68/4=17, Resulting Numbers: [3, 17]
Generated Node #0,1,1: 56:[3, 17] Operation: 68/4=17
Moving to Node #0,1,1
Current State: 56:[3, 17], Operations: ['72/18=4', '68/4=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[4, 65], Operations: ['72/18=4', '68-3=65']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,56 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,56 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
7,
16,
1
] | 50 | [
"63-1=62",
"7*16=112",
"112-62=50"
] | Current State: 50:[63, 7, 16, 1], Operations: []
Exploring Operation: 63-1=62, Resulting Numbers: [7, 16, 62]
Generated Node #2: [7, 16, 62] from Operation: 63-1=62
Current State: 50:[7, 16, 62], Operations: ['63-1=62']
Exploring Operation: 7*16=112, Resulting Numbers: [62, 112]
Generated Node #3: [62, 112] from Operation: 7*16=112
Current State: 50:[62, 112], Operations: ['63-1=62', '7*16=112']
Exploring Operation: 112-62=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[63, 7, 16, 1], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [16, 1, 9]
Generated Node #0,0: 50:[16, 1, 9] Operation: 63/7=9
Exploring Operation: 7+16=23, Resulting Numbers: [63, 1, 23]
Generated Node #0,1: 50:[63, 1, 23] Operation: 7+16=23
Exploring Operation: 63-7=56, Resulting Numbers: [16, 1, 56]
Generated Node #0,2: 50:[16, 1, 56] Operation: 63-7=56
Exploring Operation: 63-16=47, Resulting Numbers: [7, 1, 47]
Generated Node #0,3: 50:[7, 1, 47] Operation: 63-16=47
Exploring Operation: 16-7=9, Resulting Numbers: [63, 1, 9]
Generated Node #0,4: 50:[63, 1, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[7, 1, 47], Operations: ['63-16=47']
Exploring Operation: 7*1=7, Resulting Numbers: [47, 7]
Generated Node #0,3,0: 50:[47, 7] Operation: 7*1=7
Exploring Operation: 1+47=48, Resulting Numbers: [7, 48]
Generated Node #0,3,1: 50:[7, 48] Operation: 1+47=48
Exploring Operation: 7+1=8, Resulting Numbers: [47, 8]
Generated Node #0,3,2: 50:[47, 8] Operation: 7+1=8
Exploring Operation: 7/1=7, Resulting Numbers: [47, 7]
Generated Node #0,3,3: 50:[47, 7] Operation: 7/1=7
Exploring Operation: 7-1=6, Resulting Numbers: [47, 6]
Generated Node #0,3,4: 50:[47, 6] Operation: 7-1=6
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 50:[7, 48], Operations: ['63-16=47', '1+47=48']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 7+48=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 7*48=336, Resulting Numbers: [336]
336,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 50:[47, 6], Operations: ['63-16=47', '7-1=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,50 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[47, 7], Operations: ['63-16=47', '7*1=7']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,50 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 50:[47, 8], Operations: ['63-16=47', '7+1=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 50:[47, 7], Operations: ['63-16=47', '7/1=7']
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[16, 1, 9], Operations: ['63/7=9']
Exploring Operation: 16*1=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 50:[9, 16] Operation: 16*1=16
Exploring Operation: 1+9=10, Resulting Numbers: [16, 10]
Generated Node #0,0,1: 50:[16, 10] Operation: 1+9=10
Exploring Operation: 16+9=25, Resulting Numbers: [1, 25]
Generated Node #0,0,2: 50:[1, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [1, 7]
Generated Node #0,0,3: 50:[1, 7] Operation: 16-9=7
Exploring Operation: 16-1=15, Resulting Numbers: [9, 15]
Generated Node #0,0,4: 50:[9, 15] Operation: 16-1=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[1, 25], Operations: ['63/7=9', '16+9=25']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 50:[1, 7], Operations: ['63/7=9', '16-9=7']
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[16, 10], Operations: ['63/7=9', '1+9=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,50 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 50:[9, 15], Operations: ['63/7=9', '16-1=15']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 9+15=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 9*15=135, Resulting Numbers: [135]
135,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[9, 16], Operations: ['63/7=9', '16*1=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,50 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[16, 1, 56], Operations: ['63-7=56']
Exploring Operation: 16/1=16, Resulting Numbers: [56, 16]
Generated Node #0,2,0: 50:[56, 16] Operation: 16/1=16
Exploring Operation: 16*1=16, Resulting Numbers: [56, 16]
Generated Node #0,2,1: 50:[56, 16] Operation: 16*1=16
Exploring Operation: 16-1=15, Resulting Numbers: [56, 15]
Generated Node #0,2,2: 50:[56, 15] Operation: 16-1=15
Exploring Operation: 56-16=40, Resulting Numbers: [1, 40]
Generated Node #0,2,3: 50:[1, 40] Operation: 56-16=40
Exploring Operation: 56-1=55, Resulting Numbers: [16, 55]
Generated Node #0,2,4: 50:[16, 55] Operation: 56-1=55
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[56, 15], Operations: ['63-7=56', '16-1=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 50:[1, 40], Operations: ['63-7=56', '56-16=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 50:[16, 55], Operations: ['63-7=56', '56-1=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,50 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[56, 16], Operations: ['63-7=56', '16/1=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,50 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[56, 16], Operations: ['63-7=56', '16*1=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 56*16=896, Resulting Numbers: [896]
896,50 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[63, 1, 9], Operations: ['16-7=9']
Exploring Operation: 63/9=7, Resulting Numbers: [1, 7]
Generated Node #0,4,0: 50:[1, 7] Operation: 63/9=7
Exploring Operation: 63-9=54, Resulting Numbers: [1, 54]
Generated Node #0,4,1: 50:[1, 54] Operation: 63-9=54
Exploring Operation: 63*1=63, Resulting Numbers: [9, 63]
Generated Node #0,4,2: 50:[9, 63] Operation: 63*1=63
Exploring Operation: 1+9=10, Resulting Numbers: [63, 10]
Generated Node #0,4,3: 50:[63, 10] Operation: 1+9=10
Exploring Operation: 63-1=62, Resulting Numbers: [9, 62]
Generated Node #0,4,4: 50:[9, 62] Operation: 63-1=62
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 50:[1, 7], Operations: ['16-7=9', '63/9=7']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 50:[1, 54], Operations: ['16-7=9', '63-9=54']
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 50:[63, 10], Operations: ['16-7=9', '1+9=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,50 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 50:[9, 62], Operations: ['16-7=9', '63-1=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,50 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 50:[9, 63], Operations: ['16-7=9', '63*1=63']
Exploring Operation: 9*63=567, Resulting Numbers: [567]
567,50 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[63, 1, 23], Operations: ['7+16=23']
Exploring Operation: 1+23=24, Resulting Numbers: [63, 24]
Generated Node #0,1,0: 50:[63, 24] Operation: 1+23=24
Exploring Operation: 63-23=40, Resulting Numbers: [1, 40]
Generated Node #0,1,1: 50:[1, 40] Operation: 63-23=40
Exploring Operation: 63-1=62, Resulting Numbers: [23, 62]
Generated Node #0,1,2: 50:[23, 62] Operation: 63-1=62
Exploring Operation: 63*1=63, Resulting Numbers: [23, 63]
Generated Node #0,1,3: 50:[23, 63] Operation: 63*1=63
Exploring Operation: 63/1=63, Resulting Numbers: [23, 63]
Generated Node #0,1,4: 50:[23, 63] Operation: 63/1=63
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[1, 40], Operations: ['7+16=23', '63-23=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[63, 24], Operations: ['7+16=23', '1+23=24']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 63+24=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 63*24=1512, Resulting Numbers: [1512]
1512,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[23, 62], Operations: ['7+16=23', '63-1=62']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 23+62=85, Resulting Numbers: [85]
85,50 unequal: No Solution
Exploring Operation: 23*62=1426, Resulting Numbers: [1426]
1426,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 50:[23, 63], Operations: ['7+16=23', '63*1=63']
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,50 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 50:[23, 63], Operations: ['7+16=23', '63/1=63']
Exploring Operation: 23+63=86, Resulting Numbers: [86]
86,50 unequal: No Solution
Exploring Operation: 23*63=1449, Resulting Numbers: [1449]
1449,50 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
35,
46,
38,
3
] | 33 | [
"35+46=81",
"38*3=114",
"114-81=33"
] | Current State: 33:[35, 46, 38, 3], Operations: []
Exploring Operation: 35+46=81, Resulting Numbers: [38, 3, 81]
Generated Node #2: [38, 3, 81] from Operation: 35+46=81
Current State: 33:[38, 3, 81], Operations: ['35+46=81']
Exploring Operation: 38*3=114, Resulting Numbers: [81, 114]
Generated Node #3: [81, 114] from Operation: 38*3=114
Current State: 33:[81, 114], Operations: ['35+46=81', '38*3=114']
Exploring Operation: 114-81=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[35, 46, 38, 3], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [46, 3, 3]
Generated Node #0,0: 33:[46, 3, 3] Operation: 38-35=3
Exploring Operation: 38-3=35, Resulting Numbers: [35, 46, 35]
Generated Node #0,1: 33:[35, 46, 35] Operation: 38-3=35
Exploring Operation: 46-38=8, Resulting Numbers: [35, 3, 8]
Generated Node #0,2: 33:[35, 3, 8] Operation: 46-38=8
Exploring Operation: 46-3=43, Resulting Numbers: [35, 38, 43]
Generated Node #0,3: 33:[35, 38, 43] Operation: 46-3=43
Exploring Operation: 46-35=11, Resulting Numbers: [38, 3, 11]
Generated Node #0,4: 33:[38, 3, 11] Operation: 46-35=11
Moving to Node #0,2
Current State: 33:[35, 3, 8], Operations: ['46-38=8']
Exploring Operation: 35-8=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 33:[3, 27] Operation: 35-8=27
Exploring Operation: 35+3=38, Resulting Numbers: [8, 38]
Generated Node #0,2,1: 33:[8, 38] Operation: 35+3=38
Exploring Operation: 35-3=32, Resulting Numbers: [8, 32]
Generated Node #0,2,2: 33:[8, 32] Operation: 35-3=32
Exploring Operation: 3+8=11, Resulting Numbers: [35, 11]
Generated Node #0,2,3: 33:[35, 11] Operation: 3+8=11
Exploring Operation: 8-3=5, Resulting Numbers: [35, 5]
Generated Node #0,2,4: 33:[35, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[35, 11], Operations: ['46-38=8', '3+8=11']
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,33 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[8, 32], Operations: ['46-38=8', '35-3=32']
Exploring Operation: 8+32=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 8*32=256, Resulting Numbers: [256]
256,33 unequal: No Solution
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 33:[35, 5], Operations: ['46-38=8', '8-3=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,33 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[3, 27], Operations: ['46-38=8', '35-8=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[8, 38], Operations: ['46-38=8', '35+3=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,33 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,33 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: 33:[38, 3, 11], Operations: ['46-35=11']
Exploring Operation: 38-11=27, Resulting Numbers: [3, 27]
Generated Node #0,4,0: 33:[3, 27] Operation: 38-11=27
Exploring Operation: 38+3=41, Resulting Numbers: [11, 41]
Generated Node #0,4,1: 33:[11, 41] Operation: 38+3=41
Exploring Operation: 38-3=35, Resulting Numbers: [11, 35]
Generated Node #0,4,2: 33:[11, 35] Operation: 38-3=35
Exploring Operation: 3+11=14, Resulting Numbers: [38, 14]
Generated Node #0,4,3: 33:[38, 14] Operation: 3+11=14
Exploring Operation: 3*11=33, Resulting Numbers: [38, 33]
Generated Node #0,4,4: 33:[38, 33] Operation: 3*11=33
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 33:[11, 35], Operations: ['46-35=11', '38-3=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,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,4,4
Current State: 33:[38, 33], Operations: ['46-35=11', '3*11=33']
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,33 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,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,4,0
Current State: 33:[3, 27], Operations: ['46-35=11', '38-11=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,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,4,1
Current State: 33:[11, 41], Operations: ['46-35=11', '38+3=41']
Exploring Operation: 11*41=451, Resulting Numbers: [451]
451,33 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 11+41=52, Resulting Numbers: [52]
52,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,4,3
Current State: 33:[38, 14], Operations: ['46-35=11', '3+11=14']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,33 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,33 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: 33:[46, 3, 3], Operations: ['38-35=3']
Exploring Operation: 3/3=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 33:[46, 1] Operation: 3/3=1
Exploring Operation: 46-3=43, Resulting Numbers: [3, 43]
Generated Node #0,0,1: 33:[3, 43] Operation: 46-3=43
Exploring Operation: 46+3=49, Resulting Numbers: [3, 49]
Generated Node #0,0,2: 33:[3, 49] Operation: 46+3=49
Exploring Operation: 3*3=9, Resulting Numbers: [46, 9]
Generated Node #0,0,3: 33:[46, 9] Operation: 3*3=9
Exploring Operation: 46-3=43, Resulting Numbers: [3, 43]
Generated Node #0,0,4: 33:[3, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[3, 43], Operations: ['38-35=3', '46-3=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 33:[3, 43], Operations: ['38-35=3', '46-3=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,33 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[46, 1], Operations: ['38-35=3', '3/3=1']
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,33 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[46, 9], Operations: ['38-35=3', '3*3=9']
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,33 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 33:[3, 49], Operations: ['38-35=3', '46+3=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,33 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 33:[35, 46, 35], Operations: ['38-3=35']
Exploring Operation: 35+46=81, Resulting Numbers: [35, 81]
Generated Node #0,1,0: 33:[35, 81] Operation: 35+46=81
Exploring Operation: 46-35=11, Resulting Numbers: [35, 11]
Generated Node #0,1,1: 33:[35, 11] Operation: 46-35=11
Exploring Operation: 46-35=11, Resulting Numbers: [35, 11]
Generated Node #0,1,2: 33:[35, 11] Operation: 46-35=11
Exploring Operation: 35/35=1, Resulting Numbers: [46, 1]
Generated Node #0,1,3: 33:[46, 1] Operation: 35/35=1
Exploring Operation: 35-35=0, Resulting Numbers: [46, 0]
Generated Node #0,1,4: 33:[46, 0] Operation: 35-35=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[35, 11], Operations: ['38-3=35', '46-35=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,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,2
Current State: 33:[35, 11], Operations: ['38-3=35', '46-35=11']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,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,3
Current State: 33:[46, 1], Operations: ['38-3=35', '35/35=1']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 46+1=47, Resulting Numbers: [47]
47,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,4
Current State: 33:[46, 0], Operations: ['38-3=35', '35-35=0']
Exploring Operation: 46*0=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 46-0=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 46+0=46, Resulting Numbers: [46]
46,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,0
Current State: 33:[35, 81], Operations: ['38-3=35', '35+46=81']
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,33 unequal: No Solution
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,33 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: 33:[35, 38, 43], Operations: ['46-3=43']
Exploring Operation: 43-38=5, Resulting Numbers: [35, 5]
Generated Node #0,3,0: 33:[35, 5] Operation: 43-38=5
Exploring Operation: 43-35=8, Resulting Numbers: [38, 8]
Generated Node #0,3,1: 33:[38, 8] Operation: 43-35=8
Exploring Operation: 35+43=78, Resulting Numbers: [38, 78]
Generated Node #0,3,2: 33:[38, 78] Operation: 35+43=78
Exploring Operation: 38-35=3, Resulting Numbers: [43, 3]
Generated Node #0,3,3: 33:[43, 3] Operation: 38-35=3
Exploring Operation: 35+38=73, Resulting Numbers: [43, 73]
Generated Node #0,3,4: 33:[43, 73] Operation: 35+38=73
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[35, 5], Operations: ['46-3=43', '43-38=5']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,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,3,1
Current State: 33:[38, 8], Operations: ['46-3=43', '43-35=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,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,3,3
Current State: 33:[43, 3], Operations: ['46-3=43', '38-35=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,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,3,2
Current State: 33:[38, 78], Operations: ['46-3=43', '35+43=78']
Exploring Operation: 38+78=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 38*78=2964, Resulting Numbers: [2964]
2964,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,3,4
Current State: 33:[43, 73], Operations: ['46-3=43', '35+38=73']
Exploring Operation: 73-43=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 43*73=3139, Resulting Numbers: [3139]
3139,33 unequal: No Solution
Exploring Operation: 43+73=116, Resulting Numbers: [116]
116,33 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 |
[
16,
59,
69,
5
] | 31 | [
"59-16=43",
"69+5=74",
"74-43=31"
] | Current State: 31:[16, 59, 69, 5], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [69, 5, 43]
Generated Node #2: [69, 5, 43] from Operation: 59-16=43
Current State: 31:[69, 5, 43], Operations: ['59-16=43']
Exploring Operation: 69+5=74, Resulting Numbers: [43, 74]
Generated Node #3: [43, 74] from Operation: 69+5=74
Current State: 31:[43, 74], Operations: ['59-16=43', '69+5=74']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[16, 59, 69, 5], Operations: []
Exploring Operation: 59-16=43, Resulting Numbers: [69, 5, 43]
Generated Node #0,0: 31:[69, 5, 43] Operation: 59-16=43
Exploring Operation: 16+5=21, Resulting Numbers: [59, 69, 21]
Generated Node #0,1: 31:[59, 69, 21] Operation: 16+5=21
Exploring Operation: 69-16=53, Resulting Numbers: [59, 5, 53]
Generated Node #0,2: 31:[59, 5, 53] Operation: 69-16=53
Exploring Operation: 69-59=10, Resulting Numbers: [16, 5, 10]
Generated Node #0,3: 31:[16, 5, 10] Operation: 69-59=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[16, 5, 10], Operations: ['69-59=10']
Exploring Operation: 5*10=50, Resulting Numbers: [16, 50]
Generated Node #0,3,0: 31:[16, 50] Operation: 5*10=50
Exploring Operation: 16+5=21, Resulting Numbers: [10, 21]
Generated Node #0,3,1: 31:[10, 21] Operation: 16+5=21
Exploring Operation: 5+10=15, Resulting Numbers: [16, 15]
Generated Node #0,3,2: 31:[16, 15] Operation: 5+10=15
Exploring Operation: 16+10=26, Resulting Numbers: [5, 26]
Generated Node #0,3,3: 31:[5, 26] Operation: 16+10=26
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 31:[10, 21], Operations: ['69-59=10', '16+5=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,31 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[16, 59, 69, 5], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [16, 5, 10]
Generated Node #0,3: 31:[16, 5, 10] Operation: 69-59=10
Moving to Node #0,3
Current State: 31:[16, 5, 10], Operations: ['69-59=10']
Exploring Operation: 16+5=21, Resulting Numbers: [10, 21]
Generated Node #0,3,1: 31:[10, 21] Operation: 16+5=21
Moving to Node #0,3,1
Current State: 31:[10, 21], Operations: ['69-59=10', '16+5=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
77,
13,
61,
39
] | 48 | [
"77-61=16",
"39/13=3",
"16*3=48"
] | Current State: 48:[77, 13, 61, 39], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [13, 39, 16]
Generated Node #2: [13, 39, 16] from Operation: 77-61=16
Current State: 48:[13, 39, 16], Operations: ['77-61=16']
Exploring Operation: 39/13=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 39/13=3
Current State: 48:[16, 3], Operations: ['77-61=16', '39/13=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[77, 13, 61, 39], Operations: []
Exploring Operation: 61-13=48, Resulting Numbers: [77, 39, 48]
Generated Node #0,0: 48:[77, 39, 48] Operation: 61-13=48
Exploring Operation: 77-61=16, Resulting Numbers: [13, 39, 16]
Generated Node #0,1: 48:[13, 39, 16] Operation: 77-61=16
Exploring Operation: 77-39=38, Resulting Numbers: [13, 61, 38]
Generated Node #0,2: 48:[13, 61, 38] Operation: 77-39=38
Exploring Operation: 77-13=64, Resulting Numbers: [61, 39, 64]
Generated Node #0,3: 48:[61, 39, 64] Operation: 77-13=64
Exploring Operation: 61-39=22, Resulting Numbers: [77, 13, 22]
Generated Node #0,4: 48:[77, 13, 22] Operation: 61-39=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[13, 39, 16], Operations: ['77-61=16']
Exploring Operation: 39+16=55, Resulting Numbers: [13, 55]
Generated Node #0,1,0: 48:[13, 55] Operation: 39+16=55
Exploring Operation: 39-16=23, Resulting Numbers: [13, 23]
Generated Node #0,1,1: 48:[13, 23] Operation: 39-16=23
Exploring Operation: 39/13=3, Resulting Numbers: [16, 3]
Generated Node #0,1,2: 48:[16, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [16, 26]
Generated Node #0,1,3: 48:[16, 26] Operation: 39-13=26
Exploring Operation: 13+39=52, Resulting Numbers: [16, 52]
Generated Node #0,1,4: 48:[16, 52] Operation: 13+39=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 48:[16, 3], Operations: ['77-61=16', '39/13=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[77, 13, 61, 39], Operations: []
Exploring Operation: 77-61=16, Resulting Numbers: [13, 39, 16]
Generated Node #0,1: 48:[13, 39, 16] Operation: 77-61=16
Moving to Node #0,1
Current State: 48:[13, 39, 16], Operations: ['77-61=16']
Exploring Operation: 39/13=3, Resulting Numbers: [16, 3]
Generated Node #0,1,2: 48:[16, 3] Operation: 39/13=3
Moving to Node #0,1,2
Current State: 48:[16, 3], Operations: ['77-61=16', '39/13=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
91,
3,
50,
37
] | 32 | [
"91-37=54",
"54/3=18",
"50-18=32"
] | Current State: 32:[91, 3, 50, 37], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [3, 50, 54]
Generated Node #2: [3, 50, 54] from Operation: 91-37=54
Current State: 32:[3, 50, 54], Operations: ['91-37=54']
Exploring Operation: 54/3=18, Resulting Numbers: [50, 18]
Generated Node #3: [50, 18] from Operation: 54/3=18
Current State: 32:[50, 18], Operations: ['91-37=54', '54/3=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[91, 3, 50, 37], Operations: []
Exploring Operation: 50-37=13, Resulting Numbers: [91, 3, 13]
Generated Node #0,0: 32:[91, 3, 13] Operation: 50-37=13
Exploring Operation: 91-50=41, Resulting Numbers: [3, 37, 41]
Generated Node #0,1: 32:[3, 37, 41] Operation: 91-50=41
Exploring Operation: 91-3=88, Resulting Numbers: [50, 37, 88]
Generated Node #0,2: 32:[50, 37, 88] Operation: 91-3=88
Exploring Operation: 91-37=54, Resulting Numbers: [3, 50, 54]
Generated Node #0,3: 32:[3, 50, 54] Operation: 91-37=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 32:[3, 37, 41], Operations: ['91-50=41']
Exploring Operation: 41-3=38, Resulting Numbers: [37, 38]
Generated Node #0,1,0: 32:[37, 38] Operation: 41-3=38
Exploring Operation: 37-3=34, Resulting Numbers: [41, 34]
Generated Node #0,1,1: 32:[41, 34] Operation: 37-3=34
Exploring Operation: 41-37=4, Resulting Numbers: [3, 4]
Generated Node #0,1,2: 32:[3, 4] Operation: 41-37=4
Exploring Operation: 3+37=40, Resulting Numbers: [41, 40]
Generated Node #0,1,3: 32:[41, 40] Operation: 3+37=40
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[3, 4], Operations: ['91-50=41', '41-37=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No 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: 32:[37, 38], Operations: ['91-50=41', '41-3=38']
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,32 unequal: No Solution
No 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: 32:[41, 34], Operations: ['91-50=41', '37-3=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,32 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,32 unequal: No Solution
No 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: 32:[41, 40], Operations: ['91-50=41', '3+37=40']
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,32 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,32 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,32 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: 32:[3, 50, 54], Operations: ['91-37=54']
Exploring Operation: 54-50=4, Resulting Numbers: [3, 4]
Generated Node #0,3,0: 32:[3, 4] Operation: 54-50=4
Exploring Operation: 54-3=51, Resulting Numbers: [50, 51]
Generated Node #0,3,1: 32:[50, 51] Operation: 54-3=51
Exploring Operation: 54/3=18, Resulting Numbers: [50, 18]
Generated Node #0,3,2: 32:[50, 18] Operation: 54/3=18
Exploring Operation: 50-3=47, Resulting Numbers: [54, 47]
Generated Node #0,3,3: 32:[54, 47] Operation: 50-3=47
Moving to Node #0,3,0
Current State: 32:[3, 4], Operations: ['91-37=54', '54-50=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[50, 18], Operations: ['91-37=54', '54/3=18']
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,32 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[91, 3, 50, 37], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [3, 50, 54]
Generated Node #0,3: 32:[3, 50, 54] Operation: 91-37=54
Moving to Node #0,3
Current State: 32:[3, 50, 54], Operations: ['91-37=54']
Exploring Operation: 54/3=18, Resulting Numbers: [50, 18]
Generated Node #0,3,2: 32:[50, 18] Operation: 54/3=18
Moving to Node #0,3,2
Current State: 32:[50, 18], Operations: ['91-37=54', '54/3=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
75,
67,
54,
12
] | 74 | [
"75-67=8",
"54+12=66",
"8+66=74"
] | Current State: 74:[75, 67, 54, 12], Operations: []
Exploring Operation: 75-67=8, Resulting Numbers: [54, 12, 8]
Generated Node #2: [54, 12, 8] from Operation: 75-67=8
Current State: 74:[54, 12, 8], Operations: ['75-67=8']
Exploring Operation: 54+12=66, Resulting Numbers: [8, 66]
Generated Node #3: [8, 66] from Operation: 54+12=66
Current State: 74:[8, 66], Operations: ['75-67=8', '54+12=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[75, 67, 54, 12], Operations: []
Exploring Operation: 54+12=66, Resulting Numbers: [75, 67, 66]
Generated Node #0,0: 74:[75, 67, 66] Operation: 54+12=66
Exploring Operation: 54-12=42, Resulting Numbers: [75, 67, 42]
Generated Node #0,1: 74:[75, 67, 42] Operation: 54-12=42
Moving to Node #0,1
Current State: 74:[75, 67, 42], Operations: ['54-12=42']
Exploring Operation: 75-67=8, Resulting Numbers: [42, 8]
Generated Node #0,1,0: 74:[42, 8] Operation: 75-67=8
Exploring Operation: 75-42=33, Resulting Numbers: [67, 33]
Generated Node #0,1,1: 74:[67, 33] Operation: 75-42=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[42, 8], Operations: ['54-12=42', '75-67=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 42+8=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,1,1
Current State: 74:[67, 33], Operations: ['54-12=42', '75-42=33']
Exploring Operation: 67+33=100, Resulting Numbers: [100]
100,74 unequal: No Solution
Exploring Operation: 67-33=34, Resulting Numbers: [34]
34,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:[75, 67, 66], Operations: ['54+12=66']
Exploring Operation: 67-66=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 67-66=1
Exploring Operation: 75-67=8, Resulting Numbers: [66, 8]
Generated Node #0,0,1: 74:[66, 8] Operation: 75-67=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['54+12=66', '67-66=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[75, 67, 54, 12], Operations: []
Exploring Operation: 54+12=66, Resulting Numbers: [75, 67, 66]
Generated Node #0,0: 74:[75, 67, 66] Operation: 54+12=66
Moving to Node #0,0
Current State: 74:[75, 67, 66], Operations: ['54+12=66']
Exploring Operation: 67-66=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 67-66=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['54+12=66', '67-66=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
22,
8,
36,
10
] | 94 | [
"36-22=14",
"8*10=80",
"14+80=94"
] | Current State: 94:[22, 8, 36, 10], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [8, 10, 14]
Generated Node #2: [8, 10, 14] from Operation: 36-22=14
Current State: 94:[8, 10, 14], Operations: ['36-22=14']
Exploring Operation: 8*10=80, Resulting Numbers: [14, 80]
Generated Node #3: [14, 80] from Operation: 8*10=80
Current State: 94:[14, 80], Operations: ['36-22=14', '8*10=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[22, 8, 36, 10], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [8, 36, 12]
Generated Node #0,0: 94:[8, 36, 12] Operation: 22-10=12
Exploring Operation: 22+36=58, Resulting Numbers: [8, 10, 58]
Generated Node #0,1: 94:[8, 10, 58] Operation: 22+36=58
Exploring Operation: 36-22=14, Resulting Numbers: [8, 10, 14]
Generated Node #0,2: 94:[8, 10, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[8, 10, 58], Operations: ['22+36=58']
Exploring Operation: 58-8=50, Resulting Numbers: [10, 50]
Generated Node #0,1,0: 94:[10, 50] Operation: 58-8=50
Exploring Operation: 10-8=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 94:[58, 2] Operation: 10-8=2
Exploring Operation: 58-10=48, Resulting Numbers: [8, 48]
Generated Node #0,1,2: 94:[8, 48] Operation: 58-10=48
Moving to Node #0,1,2
Current State: 94:[8, 48], Operations: ['22+36=58', '58-10=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[10, 50], Operations: ['22+36=58', '58-8=50']
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[58, 2], Operations: ['22+36=58', '10-8=2']
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,94 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[8, 10, 14], Operations: ['36-22=14']
Exploring Operation: 10-8=2, Resulting Numbers: [14, 2]
Generated Node #0,2,0: 94:[14, 2] Operation: 10-8=2
Exploring Operation: 14-10=4, Resulting Numbers: [8, 4]
Generated Node #0,2,1: 94:[8, 4] Operation: 14-10=4
Exploring Operation: 14-8=6, Resulting Numbers: [10, 6]
Generated Node #0,2,2: 94:[10, 6] Operation: 14-8=6
Moving to Node #0,2,1
Current State: 94:[8, 4], Operations: ['36-22=14', '14-10=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[14, 2], Operations: ['36-22=14', '10-8=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[10, 6], Operations: ['36-22=14', '14-8=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,94 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[8, 36, 12], Operations: ['22-10=12']
Exploring Operation: 36+12=48, Resulting Numbers: [8, 48]
Generated Node #0,0,0: 94:[8, 48] Operation: 36+12=48
Exploring Operation: 8+36=44, Resulting Numbers: [12, 44]
Generated Node #0,0,1: 94:[12, 44] Operation: 8+36=44
Exploring Operation: 36/12=3, Resulting Numbers: [8, 3]
Generated Node #0,0,2: 94:[8, 3] Operation: 36/12=3
Moving to Node #0,0,0
Current State: 94:[8, 48], Operations: ['22-10=12', '36+12=48']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[8, 3], Operations: ['22-10=12', '36/12=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,94 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[12, 44], Operations: ['22-10=12', '8+36=44']
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,94 unequal: No Solution
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,94 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 |
[
57,
46,
11,
44
] | 92 | [
"57-11=46",
"46-44=2",
"46*2=92"
] | Current State: 92:[57, 46, 11, 44], Operations: []
Exploring Operation: 57-11=46, Resulting Numbers: [46, 44, 46]
Generated Node #2: [46, 44, 46] from Operation: 57-11=46
Current State: 92:[46, 44, 46], Operations: ['57-11=46']
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,92 equal: Goal Reached
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[57, 46, 11, 44], Operations: []
Exploring Operation: 57-11=46, Resulting Numbers: [46, 44, 46]
Generated Node #0,0: 92:[46, 44, 46] Operation: 57-11=46
Moving to Node #0,0
Current State: 92:[46, 44, 46], Operations: ['57-11=46']
Exploring Operation: 46-44=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 92:[46, 2] Operation: 46-44=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[46, 2], Operations: ['57-11=46', '46-44=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[57, 46, 11, 44], Operations: []
Exploring Operation: 57-11=46, Resulting Numbers: [46, 44, 46]
Generated Node #0,0: 92:[46, 44, 46] Operation: 57-11=46
Moving to Node #0,0
Current State: 92:[46, 44, 46], Operations: ['57-11=46']
Exploring Operation: 46-44=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 92:[46, 2] Operation: 46-44=2
Moving to Node #0,0,0
Current State: 92:[46, 2], Operations: ['57-11=46', '46-44=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
74,
9,
51,
81
] | 14 | [
"74-51=23",
"81/9=9",
"23-9=14"
] | Current State: 14:[74, 9, 51, 81], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [9, 81, 23]
Generated Node #2: [9, 81, 23] from Operation: 74-51=23
Current State: 14:[9, 81, 23], Operations: ['74-51=23']
Exploring Operation: 81/9=9, Resulting Numbers: [23, 9]
Generated Node #3: [23, 9] from Operation: 81/9=9
Current State: 14:[23, 9], Operations: ['74-51=23', '81/9=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[74, 9, 51, 81], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [9, 51, 7]
Generated Node #0,0: 14:[9, 51, 7] Operation: 81-74=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[9, 51, 7], Operations: ['81-74=7']
Exploring Operation: 51-9=42, Resulting Numbers: [7, 42]
Generated Node #0,0,0: 14:[7, 42] Operation: 51-9=42
Moving to Node #0,0,0
Current State: 14:[7, 42], Operations: ['81-74=7', '51-9=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
67,
34,
79
] | 43 | [
"67-65=2",
"79-34=45",
"45-2=43"
] | Current State: 43:[65, 67, 34, 79], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [34, 79, 2]
Generated Node #2: [34, 79, 2] from Operation: 67-65=2
Current State: 43:[34, 79, 2], Operations: ['67-65=2']
Exploring Operation: 79-34=45, Resulting Numbers: [2, 45]
Generated Node #3: [2, 45] from Operation: 79-34=45
Current State: 43:[2, 45], Operations: ['67-65=2', '79-34=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[65, 67, 34, 79], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [65, 67, 45]
Generated Node #0,0: 43:[65, 67, 45] Operation: 79-34=45
Exploring Operation: 79-65=14, Resulting Numbers: [67, 34, 14]
Generated Node #0,1: 43:[67, 34, 14] Operation: 79-65=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[65, 67, 45], Operations: ['79-34=45']
Exploring Operation: 67-65=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 43:[45, 2] Operation: 67-65=2
Exploring Operation: 67-45=22, Resulting Numbers: [65, 22]
Generated Node #0,0,1: 43:[65, 22] Operation: 67-45=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[45, 2], Operations: ['79-34=45', '67-65=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[65, 67, 34, 79], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [65, 67, 45]
Generated Node #0,0: 43:[65, 67, 45] Operation: 79-34=45
Moving to Node #0,0
Current State: 43:[65, 67, 45], Operations: ['79-34=45']
Exploring Operation: 67-65=2, Resulting Numbers: [45, 2]
Generated Node #0,0,0: 43:[45, 2] Operation: 67-65=2
Moving to Node #0,0,0
Current State: 43:[45, 2], Operations: ['79-34=45', '67-65=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
69,
38,
9,
79
] | 52 | [
"79-69=10",
"9*10=90",
"90-38=52"
] | Current State: 52:[69, 38, 9, 79], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [38, 9, 10]
Generated Node #2: [38, 9, 10] from Operation: 79-69=10
Current State: 52:[38, 9, 10], Operations: ['79-69=10']
Exploring Operation: 9*10=90, Resulting Numbers: [38, 90]
Generated Node #3: [38, 90] from Operation: 9*10=90
Current State: 52:[38, 90], Operations: ['79-69=10', '9*10=90']
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[69, 38, 9, 79], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [9, 79, 31]
Generated Node #0,0: 52:[9, 79, 31] Operation: 69-38=31
Exploring Operation: 79-69=10, Resulting Numbers: [38, 9, 10]
Generated Node #0,1: 52:[38, 9, 10] Operation: 79-69=10
Exploring Operation: 79-38=41, Resulting Numbers: [69, 9, 41]
Generated Node #0,2: 52:[69, 9, 41] Operation: 79-38=41
Moving to Node #0,1
Current State: 52:[38, 9, 10], Operations: ['79-69=10']
Exploring Operation: 38+9=47, Resulting Numbers: [10, 47]
Generated Node #0,1,0: 52:[10, 47] Operation: 38+9=47
Exploring Operation: 38-10=28, Resulting Numbers: [9, 28]
Generated Node #0,1,1: 52:[9, 28] Operation: 38-10=28
Exploring Operation: 38-9=29, Resulting Numbers: [10, 29]
Generated Node #0,1,2: 52:[10, 29] Operation: 38-9=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[9, 28], Operations: ['79-69=10', '38-10=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 52:[10, 29], Operations: ['79-69=10', '38-9=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,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:[10, 47], Operations: ['79-69=10', '38+9=47']
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,52 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,52 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,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:[69, 9, 41], Operations: ['79-38=41']
Exploring Operation: 69-41=28, Resulting Numbers: [9, 28]
Generated Node #0,2,0: 52:[9, 28] Operation: 69-41=28
Exploring Operation: 9+41=50, Resulting Numbers: [69, 50]
Generated Node #0,2,1: 52:[69, 50] Operation: 9+41=50
Exploring Operation: 69-9=60, Resulting Numbers: [41, 60]
Generated Node #0,2,2: 52:[41, 60] Operation: 69-9=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 52:[9, 28], Operations: ['79-38=41', '69-41=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,52 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,52 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,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,1
Current State: 52:[69, 50], Operations: ['79-38=41', '9+41=50']
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,52 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,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:[41, 60], Operations: ['79-38=41', '69-9=60']
Exploring Operation: 41+60=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 41*60=2460, Resulting Numbers: [2460]
2460,52 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[9, 79, 31], Operations: ['69-38=31']
Exploring Operation: 31-9=22, Resulting Numbers: [79, 22]
Generated Node #0,0,0: 52:[79, 22] Operation: 31-9=22
Exploring Operation: 79-31=48, Resulting Numbers: [9, 48]
Generated Node #0,0,1: 52:[9, 48] Operation: 79-31=48
Exploring Operation: 79-9=70, Resulting Numbers: [31, 70]
Generated Node #0,0,2: 52:[31, 70] Operation: 79-9=70
Moving to Node #0,0,1
Current State: 52:[9, 48], Operations: ['69-38=31', '79-31=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,52 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Moving to Node #0,0,2
Current State: 52:[31, 70], Operations: ['69-38=31', '79-9=70']
Exploring Operation: 31*70=2170, Resulting Numbers: [2170]
2170,52 unequal: No Solution
Exploring Operation: 31+70=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[79, 22], Operations: ['69-38=31', '31-9=22']
Exploring Operation: 79+22=101, Resulting Numbers: [101]
101,52 unequal: No Solution
Exploring Operation: 79*22=1738, Resulting Numbers: [1738]
1738,52 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
48,
5,
24,
55
] | 65 | [
"48*5=240",
"240/24=10",
"55+10=65"
] | Current State: 65:[48, 5, 24, 55], Operations: []
Exploring Operation: 48*5=240, Resulting Numbers: [24, 55, 240]
Generated Node #2: [24, 55, 240] from Operation: 48*5=240
Current State: 65:[24, 55, 240], Operations: ['48*5=240']
Exploring Operation: 240/24=10, Resulting Numbers: [55, 10]
Generated Node #3: [55, 10] from Operation: 240/24=10
Current State: 65:[55, 10], Operations: ['48*5=240', '240/24=10']
Exploring Operation: 55+10=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[48, 5, 24, 55], Operations: []
Exploring Operation: 55-48=7, Resulting Numbers: [5, 24, 7]
Generated Node #0,0: 65:[5, 24, 7] Operation: 55-48=7
Exploring Operation: 48/24=2, Resulting Numbers: [5, 55, 2]
Generated Node #0,1: 65:[5, 55, 2] Operation: 48/24=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[5, 24, 7], Operations: ['55-48=7']
Exploring Operation: 24-5=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 65:[7, 19] Operation: 24-5=19
Exploring Operation: 24-7=17, Resulting Numbers: [5, 17]
Generated Node #0,0,1: 65:[5, 17] Operation: 24-7=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[5, 17], Operations: ['55-48=7', '24-7=17']
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[7, 19], Operations: ['55-48=7', '24-5=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[5, 55, 2], Operations: ['48/24=2']
Exploring Operation: 5+55=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 65:[2, 60] Operation: 5+55=60
Exploring Operation: 55/5=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 65:[2, 11] Operation: 55/5=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[2, 11], Operations: ['48/24=2', '55/5=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[2, 60], Operations: ['48/24=2', '5+55=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
27,
43,
96,
8
] | 88 | [
"43-27=16",
"96+8=104",
"104-16=88"
] | Current State: 88:[27, 43, 96, 8], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [96, 8, 16]
Generated Node #2: [96, 8, 16] from Operation: 43-27=16
Current State: 88:[96, 8, 16], Operations: ['43-27=16']
Exploring Operation: 96+8=104, Resulting Numbers: [16, 104]
Generated Node #3: [16, 104] from Operation: 96+8=104
Current State: 88:[16, 104], Operations: ['43-27=16', '96+8=104']
Exploring Operation: 104-16=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[27, 43, 96, 8], Operations: []
Exploring Operation: 96-8=88, Resulting Numbers: [27, 43, 88]
Generated Node #0,0: 88:[27, 43, 88] Operation: 96-8=88
Exploring Operation: 27-8=19, Resulting Numbers: [43, 96, 19]
Generated Node #0,1: 88:[43, 96, 19] Operation: 27-8=19
Exploring Operation: 43-27=16, Resulting Numbers: [96, 8, 16]
Generated Node #0,2: 88:[96, 8, 16] Operation: 43-27=16
Exploring Operation: 96/8=12, Resulting Numbers: [27, 43, 12]
Generated Node #0,3: 88:[27, 43, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[27, 43, 88], Operations: ['96-8=88']
Exploring Operation: 88-27=61, Resulting Numbers: [43, 61]
Generated Node #0,0,0: 88:[43, 61] Operation: 88-27=61
Exploring Operation: 43-27=16, Resulting Numbers: [88, 16]
Generated Node #0,0,1: 88:[88, 16] Operation: 43-27=16
Exploring Operation: 88-43=45, Resulting Numbers: [27, 45]
Generated Node #0,0,2: 88:[27, 45] Operation: 88-43=45
Exploring Operation: 27+43=70, Resulting Numbers: [88, 70]
Generated Node #0,0,3: 88:[88, 70] Operation: 27+43=70
Moving to Node #0,0,1
Current State: 88:[88, 16], Operations: ['96-8=88', '43-27=16']
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,88 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[27, 45], Operations: ['96-8=88', '88-43=45']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[88, 70], Operations: ['96-8=88', '27+43=70']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,88 unequal: No Solution
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[43, 61], Operations: ['96-8=88', '88-27=61']
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,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:[27, 43, 12], Operations: ['96/8=12']
Exploring Operation: 27+12=39, Resulting Numbers: [43, 39]
Generated Node #0,3,0: 88:[43, 39] Operation: 27+12=39
Exploring Operation: 27-12=15, Resulting Numbers: [43, 15]
Generated Node #0,3,1: 88:[43, 15] Operation: 27-12=15
Exploring Operation: 43-27=16, Resulting Numbers: [12, 16]
Generated Node #0,3,2: 88:[12, 16] Operation: 43-27=16
Exploring Operation: 43-12=31, Resulting Numbers: [27, 31]
Generated Node #0,3,3: 88:[27, 31] Operation: 43-12=31
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 88:[43, 15], Operations: ['96/8=12', '27-12=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,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:[43, 39], Operations: ['96/8=12', '27+12=39']
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,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:[12, 16], Operations: ['96/8=12', '43-27=16']
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,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,3
Current State: 88:[27, 31], Operations: ['96/8=12', '43-12=31']
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,88 unequal: No Solution
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,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,1
Current State: 88:[43, 96, 19], Operations: ['27-8=19']
Exploring Operation: 43+19=62, Resulting Numbers: [96, 62]
Generated Node #0,1,0: 88:[96, 62] Operation: 43+19=62
Exploring Operation: 43-19=24, Resulting Numbers: [96, 24]
Generated Node #0,1,1: 88:[96, 24] Operation: 43-19=24
Exploring Operation: 96-43=53, Resulting Numbers: [19, 53]
Generated Node #0,1,2: 88:[19, 53] Operation: 96-43=53
Exploring Operation: 96-19=77, Resulting Numbers: [43, 77]
Generated Node #0,1,3: 88:[43, 77] Operation: 96-19=77
Moving to Node #0,1,1
Current State: 88:[96, 24], Operations: ['27-8=19', '43-19=24']
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 96*24=2304, Resulting Numbers: [2304]
2304,88 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 96+24=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[43, 77], Operations: ['27-8=19', '96-19=77']
Exploring Operation: 43*77=3311, Resulting Numbers: [3311]
3311,88 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 43+77=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[19, 53], Operations: ['27-8=19', '96-43=53']
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,88 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[96, 62], Operations: ['27-8=19', '43+19=62']
Exploring Operation: 96*62=5952, Resulting Numbers: [5952]
5952,88 unequal: No Solution
Exploring Operation: 96+62=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,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,2
Current State: 88:[96, 8, 16], Operations: ['43-27=16']
Exploring Operation: 96/8=12, Resulting Numbers: [16, 12]
Generated Node #0,2,0: 88:[16, 12] Operation: 96/8=12
Exploring Operation: 96-8=88, Resulting Numbers: [16, 88]
Generated Node #0,2,1: 88:[16, 88] Operation: 96-8=88
Exploring Operation: 96/16=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 88:[8, 6] Operation: 96/16=6
Exploring Operation: 96-16=80, Resulting Numbers: [8, 80]
Generated Node #0,2,3: 88:[8, 80] Operation: 96-16=80
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[8, 6], Operations: ['43-27=16', '96/16=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,88 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,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:[16, 88], Operations: ['43-27=16', '96-8=88']
Exploring Operation: 16+88=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,88 unequal: No Solution
Exploring Operation: 16*88=1408, Resulting Numbers: [1408]
1408,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:[16, 12], Operations: ['43-27=16', '96/8=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,88 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,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:[8, 80], Operations: ['43-27=16', '96-16=80']
Exploring Operation: 8*80=640, Resulting Numbers: [640]
640,88 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 8+80=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[27, 43, 96, 8], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [96, 8, 16]
Generated Node #0,2: 88:[96, 8, 16] Operation: 43-27=16
Moving to Node #0,2
Current State: 88:[96, 8, 16], Operations: ['43-27=16']
Exploring Operation: 96-16=80, Resulting Numbers: [8, 80]
Generated Node #0,2,3: 88:[8, 80] Operation: 96-16=80
Moving to Node #0,2,3
Current State: 88:[8, 80], Operations: ['43-27=16', '96-16=80']
Exploring Operation: 8+80=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.936632 | hs_4 | sum_heuristic |
[
22,
72,
2,
88
] | 60 | [
"22*2=44",
"88-72=16",
"44+16=60"
] | Current State: 60:[22, 72, 2, 88], Operations: []
Exploring Operation: 22*2=44, Resulting Numbers: [72, 88, 44]
Generated Node #2: [72, 88, 44] from Operation: 22*2=44
Current State: 60:[72, 88, 44], Operations: ['22*2=44']
Exploring Operation: 88-72=16, Resulting Numbers: [44, 16]
Generated Node #3: [44, 16] from Operation: 88-72=16
Current State: 60:[44, 16], Operations: ['22*2=44', '88-72=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[22, 72, 2, 88], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [72, 2, 4]
Generated Node #0,0: 60:[72, 2, 4] Operation: 88/22=4
Exploring Operation: 88-72=16, Resulting Numbers: [22, 2, 16]
Generated Node #0,1: 60:[22, 2, 16] Operation: 88-72=16
Exploring Operation: 88-22=66, Resulting Numbers: [72, 2, 66]
Generated Node #0,2: 60:[72, 2, 66] Operation: 88-22=66
Exploring Operation: 88/2=44, Resulting Numbers: [22, 72, 44]
Generated Node #0,3: 60:[22, 72, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 60:[22, 2, 16], Operations: ['88-72=16']
Exploring Operation: 22-16=6, Resulting Numbers: [2, 6]
Generated Node #0,1,0: 60:[2, 6] Operation: 22-16=6
Exploring Operation: 16-2=14, Resulting Numbers: [22, 14]
Generated Node #0,1,1: 60:[22, 14] Operation: 16-2=14
Exploring Operation: 22/2=11, Resulting Numbers: [16, 11]
Generated Node #0,1,2: 60:[16, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [16, 20]
Generated Node #0,1,3: 60:[16, 20] Operation: 22-2=20
Moving to Node #0,0
Current State: 60:[72, 2, 4], Operations: ['88/22=4']
Exploring Operation: 72-4=68, Resulting Numbers: [2, 68]
Generated Node #0,0,0: 60:[2, 68] Operation: 72-4=68
Exploring Operation: 72-2=70, Resulting Numbers: [4, 70]
Generated Node #0,0,1: 60:[4, 70] Operation: 72-2=70
Exploring Operation: 72/4=18, Resulting Numbers: [2, 18]
Generated Node #0,0,2: 60:[2, 18] Operation: 72/4=18
Exploring Operation: 72/2=36, Resulting Numbers: [4, 36]
Generated Node #0,0,3: 60:[4, 36] Operation: 72/2=36
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[2, 18], Operations: ['88/22=4', '72/4=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[4, 36], Operations: ['88/22=4', '72/2=36']
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,60 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,60 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[2, 68], Operations: ['88/22=4', '72-4=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[4, 70], Operations: ['88/22=4', '72-2=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,60 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,60 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: 60:[72, 2, 66], Operations: ['88-22=66']
Exploring Operation: 66/2=33, Resulting Numbers: [72, 33]
Generated Node #0,2,0: 60:[72, 33] Operation: 66/2=33
Exploring Operation: 72-2=70, Resulting Numbers: [66, 70]
Generated Node #0,2,1: 60:[66, 70] Operation: 72-2=70
Exploring Operation: 72-66=6, Resulting Numbers: [2, 6]
Generated Node #0,2,2: 60:[2, 6] Operation: 72-66=6
Exploring Operation: 72/2=36, Resulting Numbers: [66, 36]
Generated Node #0,2,3: 60:[66, 36] Operation: 72/2=36
Moving to Node #0,3
Current State: 60:[22, 72, 44], Operations: ['88/2=44']
Exploring Operation: 44-22=22, Resulting Numbers: [72, 22]
Generated Node #0,3,0: 60:[72, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [72, 2]
Generated Node #0,3,1: 60:[72, 2] Operation: 44/22=2
Exploring Operation: 72-44=28, Resulting Numbers: [22, 28]
Generated Node #0,3,2: 60:[22, 28] Operation: 72-44=28
Exploring Operation: 22+44=66, Resulting Numbers: [72, 66]
Generated Node #0,3,3: 60:[72, 66] Operation: 22+44=66
Moving to Node #0,1,0
Current State: 60:[2, 6], Operations: ['88-72=16', '22-16=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[2, 6], Operations: ['88-22=66', '72-66=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[16, 20], Operations: ['88-72=16', '22-2=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 16*20=320, Resulting Numbers: [320]
320,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[16, 11], Operations: ['88-72=16', '22/2=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[22, 14], Operations: ['88-72=16', '16-2=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[22, 28], Operations: ['88/2=44', '72-44=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,60 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,2,3
Current State: 60:[66, 36], Operations: ['88-22=66', '72/2=36']
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,60 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[72, 2], Operations: ['88/2=44', '44/22=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,60 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,60 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[72, 22], Operations: ['88/2=44', '44-22=22']
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,60 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 72*22=1584, Resulting Numbers: [1584]
1584,60 unequal: No Solution
Moving to Node #0,2,0
Current State: 60:[72, 33], Operations: ['88-22=66', '66/2=33']
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,60 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[66, 70], Operations: ['88-22=66', '72-2=70']
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,60 unequal: No Solution
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,60 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[72, 66], Operations: ['88/2=44', '22+44=66']
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,60 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,60 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
56,
54,
1,
21
] | 19 | [
"56-54=2",
"1*21=21",
"21-2=19"
] | Current State: 19:[56, 54, 1, 21], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [1, 21, 2]
Generated Node #2: [1, 21, 2] from Operation: 56-54=2
Current State: 19:[1, 21, 2], Operations: ['56-54=2']
Exploring Operation: 1*21=21, Resulting Numbers: [2, 21]
Generated Node #3: [2, 21] from Operation: 1*21=21
Current State: 19:[2, 21], Operations: ['56-54=2', '1*21=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[56, 54, 1, 21], Operations: []
Exploring Operation: 54-1=53, Resulting Numbers: [56, 21, 53]
Generated Node #0,0: 19:[56, 21, 53] Operation: 54-1=53
Exploring Operation: 56-54=2, Resulting Numbers: [1, 21, 2]
Generated Node #0,1: 19:[1, 21, 2] Operation: 56-54=2
Exploring Operation: 56-21=35, Resulting Numbers: [54, 1, 35]
Generated Node #0,2: 19:[54, 1, 35] Operation: 56-21=35
Exploring Operation: 56-1=55, Resulting Numbers: [54, 21, 55]
Generated Node #0,3: 19:[54, 21, 55] Operation: 56-1=55
Exploring Operation: 54-21=33, Resulting Numbers: [56, 1, 33]
Generated Node #0,4: 19:[56, 1, 33] Operation: 54-21=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[1, 21, 2], Operations: ['56-54=2']
Exploring Operation: 1*21=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 19:[2, 21] Operation: 1*21=21
Exploring Operation: 1+2=3, Resulting Numbers: [21, 3]
Generated Node #0,1,1: 19:[21, 3] Operation: 1+2=3
Exploring Operation: 21-2=19, Resulting Numbers: [1, 19]
Generated Node #0,1,2: 19:[1, 19] Operation: 21-2=19
Exploring Operation: 21-1=20, Resulting Numbers: [2, 20]
Generated Node #0,1,3: 19:[2, 20] Operation: 21-1=20
Exploring Operation: 21/1=21, Resulting Numbers: [2, 21]
Generated Node #0,1,4: 19:[2, 21] Operation: 21/1=21
Moving to Node #0,1,1
Current State: 19:[21, 3], Operations: ['56-54=2', '1+2=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[2, 20], Operations: ['56-54=2', '21-1=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[1, 19], Operations: ['56-54=2', '21-2=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[56, 54, 1, 21], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [1, 21, 2]
Generated Node #0,1: 19:[1, 21, 2] Operation: 56-54=2
Moving to Node #0,1
Current State: 19:[1, 21, 2], Operations: ['56-54=2']
Exploring Operation: 21-2=19, Resulting Numbers: [1, 19]
Generated Node #0,1,2: 19:[1, 19] Operation: 21-2=19
Moving to Node #0,1,2
Current State: 19:[1, 19], Operations: ['56-54=2', '21-2=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
24,
3,
32,
6
] | 74 | [
"24+32=56",
"3*6=18",
"56+18=74"
] | Current State: 74:[24, 3, 32, 6], Operations: []
Exploring Operation: 24+32=56, Resulting Numbers: [3, 6, 56]
Generated Node #2: [3, 6, 56] from Operation: 24+32=56
Current State: 74:[3, 6, 56], Operations: ['24+32=56']
Exploring Operation: 3*6=18, Resulting Numbers: [56, 18]
Generated Node #3: [56, 18] from Operation: 3*6=18
Current State: 74:[56, 18], Operations: ['24+32=56', '3*6=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[24, 3, 32, 6], Operations: []
Exploring Operation: 24*3=72, Resulting Numbers: [32, 6, 72]
Generated Node #0,0: 74:[32, 6, 72] Operation: 24*3=72
Exploring Operation: 24/6=4, Resulting Numbers: [3, 32, 4]
Generated Node #0,1: 74:[3, 32, 4] Operation: 24/6=4
Exploring Operation: 32-24=8, Resulting Numbers: [3, 6, 8]
Generated Node #0,2: 74:[3, 6, 8] Operation: 32-24=8
Moving to Node #0,1
Current State: 74:[3, 32, 4], Operations: ['24/6=4']
Exploring Operation: 4-3=1, Resulting Numbers: [32, 1]
Generated Node #0,1,0: 74:[32, 1] Operation: 4-3=1
Exploring Operation: 32+4=36, Resulting Numbers: [3, 36]
Generated Node #0,1,1: 74:[3, 36] Operation: 32+4=36
Exploring Operation: 3+32=35, Resulting Numbers: [4, 35]
Generated Node #0,1,2: 74:[4, 35] Operation: 3+32=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[3, 36], Operations: ['24/6=4', '32+4=36']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,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:[4, 35], Operations: ['24/6=4', '3+32=35']
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,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:[32, 1], Operations: ['24/6=4', '4-3=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,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:[32, 6, 72], Operations: ['24*3=72']
Exploring Operation: 72-32=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 74:[6, 40] Operation: 72-32=40
Exploring Operation: 32+6=38, Resulting Numbers: [72, 38]
Generated Node #0,0,1: 74:[72, 38] Operation: 32+6=38
Exploring Operation: 6+72=78, Resulting Numbers: [32, 78]
Generated Node #0,0,2: 74:[32, 78] Operation: 6+72=78
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[72, 38], Operations: ['24*3=72', '32+6=38']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 72*38=2736, Resulting Numbers: [2736]
2736,74 unequal: No Solution
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,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,0
Current State: 74:[6, 40], Operations: ['24*3=72', '72-32=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,74 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,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,2
Current State: 74:[32, 78], Operations: ['24*3=72', '6+72=78']
Exploring Operation: 32+78=110, Resulting Numbers: [110]
110,74 unequal: No Solution
Exploring Operation: 32*78=2496, Resulting Numbers: [2496]
2496,74 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,74 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: 74:[3, 6, 8], Operations: ['32-24=8']
Exploring Operation: 8-6=2, Resulting Numbers: [3, 2]
Generated Node #0,2,0: 74:[3, 2] Operation: 8-6=2
Exploring Operation: 6-3=3, Resulting Numbers: [8, 3]
Generated Node #0,2,1: 74:[8, 3] Operation: 6-3=3
Exploring Operation: 6/3=2, Resulting Numbers: [8, 2]
Generated Node #0,2,2: 74:[8, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[3, 2], Operations: ['32-24=8', '8-6=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,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:[8, 2], Operations: ['32-24=8', '6/3=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,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,1
Current State: 74:[8, 3], Operations: ['32-24=8', '6-3=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,74 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 |
[
86,
58,
29,
37
] | 36 | [
"86-58=28",
"37-29=8",
"28+8=36"
] | Current State: 36:[86, 58, 29, 37], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [29, 37, 28]
Generated Node #2: [29, 37, 28] from Operation: 86-58=28
Current State: 36:[29, 37, 28], Operations: ['86-58=28']
Exploring Operation: 37-29=8, Resulting Numbers: [28, 8]
Generated Node #3: [28, 8] from Operation: 37-29=8
Current State: 36:[28, 8], Operations: ['86-58=28', '37-29=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[86, 58, 29, 37], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [29, 37, 28]
Generated Node #0,0: 36:[29, 37, 28] Operation: 86-58=28
Exploring Operation: 58-29=29, Resulting Numbers: [86, 37, 29]
Generated Node #0,1: 36:[86, 37, 29] Operation: 58-29=29
Exploring Operation: 86-29=57, Resulting Numbers: [58, 37, 57]
Generated Node #0,2: 36:[58, 37, 57] Operation: 86-29=57
Exploring Operation: 58/29=2, Resulting Numbers: [86, 37, 2]
Generated Node #0,3: 36:[86, 37, 2] Operation: 58/29=2
Exploring Operation: 86-37=49, Resulting Numbers: [58, 29, 49]
Generated Node #0,4: 36:[58, 29, 49] Operation: 86-37=49
Moving to Node #0,0
Current State: 36:[29, 37, 28], Operations: ['86-58=28']
Exploring Operation: 37-28=9, Resulting Numbers: [29, 9]
Generated Node #0,0,0: 36:[29, 9] Operation: 37-28=9
Exploring Operation: 29-28=1, Resulting Numbers: [37, 1]
Generated Node #0,0,1: 36:[37, 1] Operation: 29-28=1
Exploring Operation: 37-29=8, Resulting Numbers: [28, 8]
Generated Node #0,0,2: 36:[28, 8] Operation: 37-29=8
Exploring Operation: 29+28=57, Resulting Numbers: [37, 57]
Generated Node #0,0,3: 36:[37, 57] Operation: 29+28=57
Exploring Operation: 37+28=65, Resulting Numbers: [29, 65]
Generated Node #0,0,4: 36:[29, 65] Operation: 37+28=65
Moving to Node #0,4
Current State: 36:[58, 29, 49], Operations: ['86-37=49']
Exploring Operation: 58-49=9, Resulting Numbers: [29, 9]
Generated Node #0,4,0: 36:[29, 9] Operation: 58-49=9
Exploring Operation: 58+29=87, Resulting Numbers: [49, 87]
Generated Node #0,4,1: 36:[49, 87] Operation: 58+29=87
Exploring Operation: 49-29=20, Resulting Numbers: [58, 20]
Generated Node #0,4,2: 36:[58, 20] Operation: 49-29=20
Exploring Operation: 58-29=29, Resulting Numbers: [49, 29]
Generated Node #0,4,3: 36:[49, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [49, 2]
Generated Node #0,4,4: 36:[49, 2] Operation: 58/29=2
Moving to Node #0,2
Current State: 36:[58, 37, 57], Operations: ['86-29=57']
Exploring Operation: 58-37=21, Resulting Numbers: [57, 21]
Generated Node #0,2,0: 36:[57, 21] Operation: 58-37=21
Exploring Operation: 57-37=20, Resulting Numbers: [58, 20]
Generated Node #0,2,1: 36:[58, 20] Operation: 57-37=20
Exploring Operation: 58+37=95, Resulting Numbers: [57, 95]
Generated Node #0,2,2: 36:[57, 95] Operation: 58+37=95
Exploring Operation: 58-57=1, Resulting Numbers: [37, 1]
Generated Node #0,2,3: 36:[37, 1] Operation: 58-57=1
Exploring Operation: 58+57=115, Resulting Numbers: [37, 115]
Generated Node #0,2,4: 36:[37, 115] Operation: 58+57=115
Moving to Node #0,3
Current State: 36:[86, 37, 2], Operations: ['58/29=2']
Exploring Operation: 37-2=35, Resulting Numbers: [86, 35]
Generated Node #0,3,0: 36:[86, 35] Operation: 37-2=35
Exploring Operation: 86-37=49, Resulting Numbers: [2, 49]
Generated Node #0,3,1: 36:[2, 49] Operation: 86-37=49
Exploring Operation: 86+2=88, Resulting Numbers: [37, 88]
Generated Node #0,3,2: 36:[37, 88] Operation: 86+2=88
Exploring Operation: 86-2=84, Resulting Numbers: [37, 84]
Generated Node #0,3,3: 36:[37, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [37, 43]
Generated Node #0,3,4: 36:[37, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[37, 43], Operations: ['58/29=2', '86/2=43']
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,36 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,36 unequal: No Solution
No 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: 36:[2, 49], Operations: ['58/29=2', '86-37=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,36 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,36 unequal: No Solution
No 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: 36:[37, 84], Operations: ['58/29=2', '86-2=84']
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,36 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,36 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,36 unequal: No Solution
No 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: 36:[86, 35], Operations: ['58/29=2', '37-2=35']
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,36 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,36 unequal: No Solution
No 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: 36:[37, 88], Operations: ['58/29=2', '86+2=88']
Exploring Operation: 37*88=3256, Resulting Numbers: [3256]
3256,36 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 37+88=125, Resulting Numbers: [125]
125,36 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: 36:[86, 37, 29], Operations: ['58-29=29']
Exploring Operation: 86+29=115, Resulting Numbers: [37, 115]
Generated Node #0,1,0: 36:[37, 115] Operation: 86+29=115
Exploring Operation: 37+29=66, Resulting Numbers: [86, 66]
Generated Node #0,1,1: 36:[86, 66] Operation: 37+29=66
Exploring Operation: 86-29=57, Resulting Numbers: [37, 57]
Generated Node #0,1,2: 36:[37, 57] Operation: 86-29=57
Exploring Operation: 86-37=49, Resulting Numbers: [29, 49]
Generated Node #0,1,3: 36:[29, 49] Operation: 86-37=49
Exploring Operation: 37-29=8, Resulting Numbers: [86, 8]
Generated Node #0,1,4: 36:[86, 8] Operation: 37-29=8
Moving to Node #0,0,1
Current State: 36:[37, 1], Operations: ['86-58=28', '29-28=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[86, 58, 29, 37], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [29, 37, 28]
Generated Node #0,0: 36:[29, 37, 28] Operation: 86-58=28
Moving to Node #0,0
Current State: 36:[29, 37, 28], Operations: ['86-58=28']
Exploring Operation: 29-28=1, Resulting Numbers: [37, 1]
Generated Node #0,0,1: 36:[37, 1] Operation: 29-28=1
Moving to Node #0,0,1
Current State: 36:[37, 1], Operations: ['86-58=28', '29-28=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
8,
11,
6,
69
] | 24 | [
"11*6=66",
"69-66=3",
"8*3=24"
] | Current State: 24:[8, 11, 6, 69], Operations: []
Exploring Operation: 11*6=66, Resulting Numbers: [8, 69, 66]
Generated Node #2: [8, 69, 66] from Operation: 11*6=66
Current State: 24:[8, 69, 66], Operations: ['11*6=66']
Exploring Operation: 69-66=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 69-66=3
Current State: 24:[8, 3], Operations: ['11*6=66', '69-66=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[8, 11, 6, 69], Operations: []
Exploring Operation: 69-6=63, Resulting Numbers: [8, 11, 63]
Generated Node #0,0: 24:[8, 11, 63] Operation: 69-6=63
Exploring Operation: 69-11=58, Resulting Numbers: [8, 6, 58]
Generated Node #0,1: 24:[8, 6, 58] Operation: 69-11=58
Exploring Operation: 69-8=61, Resulting Numbers: [11, 6, 61]
Generated Node #0,2: 24:[11, 6, 61] Operation: 69-8=61
Moving to Node #0,1
Current State: 24:[8, 6, 58], Operations: ['69-11=58']
Exploring Operation: 8-6=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 24:[58, 2] Operation: 8-6=2
Exploring Operation: 58-8=50, Resulting Numbers: [6, 50]
Generated Node #0,1,1: 24:[6, 50] Operation: 58-8=50
Exploring Operation: 58-6=52, Resulting Numbers: [8, 52]
Generated Node #0,1,2: 24:[8, 52] Operation: 58-6=52
Moving to Node #0,2
Current State: 24:[11, 6, 61], Operations: ['69-8=61']
Exploring Operation: 11-6=5, Resulting Numbers: [61, 5]
Generated Node #0,2,0: 24:[61, 5] Operation: 11-6=5
Exploring Operation: 61-11=50, Resulting Numbers: [6, 50]
Generated Node #0,2,1: 24:[6, 50] Operation: 61-11=50
Exploring Operation: 61-6=55, Resulting Numbers: [11, 55]
Generated Node #0,2,2: 24:[11, 55] Operation: 61-6=55
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[6, 50], Operations: ['69-8=61', '61-11=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[11, 55], Operations: ['69-8=61', '61-6=55']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[61, 5], Operations: ['69-8=61', '11-6=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,24 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[8, 11, 63], Operations: ['69-6=63']
Exploring Operation: 63-8=55, Resulting Numbers: [11, 55]
Generated Node #0,0,0: 24:[11, 55] Operation: 63-8=55
Exploring Operation: 63-11=52, Resulting Numbers: [8, 52]
Generated Node #0,0,1: 24:[8, 52] Operation: 63-11=52
Exploring Operation: 11-8=3, Resulting Numbers: [63, 3]
Generated Node #0,0,2: 24:[63, 3] Operation: 11-8=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[8, 52], Operations: ['69-6=63', '63-11=52']
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[11, 55], Operations: ['69-6=63', '63-8=55']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[63, 3], Operations: ['69-6=63', '11-8=3']
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,24 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 24:[6, 50], Operations: ['69-11=58', '58-8=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[8, 52], Operations: ['69-11=58', '58-6=52']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,24 unequal: No Solution
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[58, 2], Operations: ['69-11=58', '8-6=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,24 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,24 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
39,
29,
11,
15
] | 43 | [
"29+15=44",
"44/11=4",
"39+4=43"
] | Current State: 43:[39, 29, 11, 15], Operations: []
Exploring Operation: 29+15=44, Resulting Numbers: [39, 11, 44]
Generated Node #2: [39, 11, 44] from Operation: 29+15=44
Current State: 43:[39, 11, 44], Operations: ['29+15=44']
Exploring Operation: 44/11=4, Resulting Numbers: [39, 4]
Generated Node #3: [39, 4] from Operation: 44/11=4
Current State: 43:[39, 4], Operations: ['29+15=44', '44/11=4']
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[39, 29, 11, 15], Operations: []
Exploring Operation: 29+11=40, Resulting Numbers: [39, 15, 40]
Generated Node #0,0: 43:[39, 15, 40] Operation: 29+11=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[39, 15, 40], Operations: ['29+11=40']
Exploring Operation: 39+15=54, Resulting Numbers: [40, 54]
Generated Node #0,0,0: 43:[40, 54] Operation: 39+15=54
Moving to Node #0,0,0
Current State: 43:[40, 54], Operations: ['29+11=40', '39+15=54']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,43 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 |
[
45,
15,
88,
71
] | 20 | [
"45/15=3",
"88-71=17",
"3+17=20"
] | Current State: 20:[45, 15, 88, 71], Operations: []
Exploring Operation: 45/15=3, Resulting Numbers: [88, 71, 3]
Generated Node #2: [88, 71, 3] from Operation: 45/15=3
Current State: 20:[88, 71, 3], Operations: ['45/15=3']
Exploring Operation: 88-71=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 88-71=17
Current State: 20:[3, 17], Operations: ['45/15=3', '88-71=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[45, 15, 88, 71], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [45, 15, 17]
Generated Node #0,0: 20:[45, 15, 17] Operation: 88-71=17
Exploring Operation: 88-45=43, Resulting Numbers: [15, 71, 43]
Generated Node #0,1: 20:[15, 71, 43] Operation: 88-45=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[45, 15, 17], Operations: ['88-71=17']
Exploring Operation: 45/15=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 20:[17, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [17, 30]
Generated Node #0,0,1: 20:[17, 30] Operation: 45-15=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[17, 3], Operations: ['88-71=17', '45/15=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[45, 15, 88, 71], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [45, 15, 17]
Generated Node #0,0: 20:[45, 15, 17] Operation: 88-71=17
Moving to Node #0,0
Current State: 20:[45, 15, 17], Operations: ['88-71=17']
Exploring Operation: 45/15=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 20:[17, 3] Operation: 45/15=3
Moving to Node #0,0,0
Current State: 20:[17, 3], Operations: ['88-71=17', '45/15=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
61,
63,
18,
61
] | 44 | [
"61/61=1",
"63-18=45",
"45-1=44"
] | Current State: 44:[61, 63, 18, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [63, 18, 1]
Generated Node #2: [63, 18, 1] from Operation: 61/61=1
Current State: 44:[63, 18, 1], Operations: ['61/61=1']
Exploring Operation: 63-18=45, Resulting Numbers: [1, 45]
Generated Node #3: [1, 45] from Operation: 63-18=45
Current State: 44:[1, 45], Operations: ['61/61=1', '63-18=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[61, 63, 18, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [63, 18, 1]
Generated Node #0,0: 44:[63, 18, 1] Operation: 61/61=1
Exploring Operation: 61-61=0, Resulting Numbers: [63, 18, 0]
Generated Node #0,1: 44:[63, 18, 0] Operation: 61-61=0
Exploring Operation: 63-18=45, Resulting Numbers: [61, 61, 45]
Generated Node #0,2: 44:[61, 61, 45] Operation: 63-18=45
Exploring Operation: 63-61=2, Resulting Numbers: [18, 61, 2]
Generated Node #0,3: 44:[18, 61, 2] Operation: 63-61=2
Exploring Operation: 63-61=2, Resulting Numbers: [61, 18, 2]
Generated Node #0,4: 44:[61, 18, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[18, 61, 2], Operations: ['63-61=2']
Exploring Operation: 18+2=20, Resulting Numbers: [61, 20]
Generated Node #0,3,0: 44:[61, 20] Operation: 18+2=20
Exploring Operation: 18-2=16, Resulting Numbers: [61, 16]
Generated Node #0,3,1: 44:[61, 16] Operation: 18-2=16
Exploring Operation: 61-2=59, Resulting Numbers: [18, 59]
Generated Node #0,3,2: 44:[18, 59] Operation: 61-2=59
Exploring Operation: 18/2=9, Resulting Numbers: [61, 9]
Generated Node #0,3,3: 44:[61, 9] Operation: 18/2=9
Exploring Operation: 61-18=43, Resulting Numbers: [2, 43]
Generated Node #0,3,4: 44:[2, 43] Operation: 61-18=43
Moving to Node #0,3,4
Current State: 44:[2, 43], Operations: ['63-61=2', '61-18=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[18, 59], Operations: ['63-61=2', '61-2=59']
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,44 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[61, 20], Operations: ['63-61=2', '18+2=20']
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,44 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[61, 9], Operations: ['63-61=2', '18/2=9']
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,44 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[61, 16], Operations: ['63-61=2', '18-2=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[61, 18, 2], Operations: ['63-61=2']
Exploring Operation: 18+2=20, Resulting Numbers: [61, 20]
Generated Node #0,4,0: 44:[61, 20] Operation: 18+2=20
Exploring Operation: 18-2=16, Resulting Numbers: [61, 16]
Generated Node #0,4,1: 44:[61, 16] Operation: 18-2=16
Exploring Operation: 61-2=59, Resulting Numbers: [18, 59]
Generated Node #0,4,2: 44:[18, 59] Operation: 61-2=59
Exploring Operation: 61-18=43, Resulting Numbers: [2, 43]
Generated Node #0,4,3: 44:[2, 43] Operation: 61-18=43
Exploring Operation: 18/2=9, Resulting Numbers: [61, 9]
Generated Node #0,4,4: 44:[61, 9] Operation: 18/2=9
Moving to Node #0,4,3
Current State: 44:[2, 43], Operations: ['63-61=2', '61-18=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,44 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Moving to Node #0,4,2
Current State: 44:[18, 59], Operations: ['63-61=2', '61-2=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,44 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,44 unequal: No Solution
Moving to Node #0,4,0
Current State: 44:[61, 20], Operations: ['63-61=2', '18+2=20']
Exploring Operation: 61*20=1220, Resulting Numbers: [1220]
1220,44 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 61+20=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Moving to Node #0,4,4
Current State: 44:[61, 9], Operations: ['63-61=2', '18/2=9']
Exploring Operation: 61*9=549, Resulting Numbers: [549]
549,44 unequal: No Solution
Exploring Operation: 61+9=70, Resulting Numbers: [70]
70,44 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,44 unequal: No Solution
Moving to Node #0,4,1
Current State: 44:[61, 16], Operations: ['63-61=2', '18-2=16']
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,44 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[63, 18, 1], Operations: ['61/61=1']
Exploring Operation: 63/1=63, Resulting Numbers: [18, 63]
Generated Node #0,0,0: 44:[18, 63] Operation: 63/1=63
Exploring Operation: 18+1=19, Resulting Numbers: [63, 19]
Generated Node #0,0,1: 44:[63, 19] Operation: 18+1=19
Exploring Operation: 63-18=45, Resulting Numbers: [1, 45]
Generated Node #0,0,2: 44:[1, 45] Operation: 63-18=45
Exploring Operation: 63-1=62, Resulting Numbers: [18, 62]
Generated Node #0,0,3: 44:[18, 62] Operation: 63-1=62
Exploring Operation: 63*1=63, Resulting Numbers: [18, 63]
Generated Node #0,0,4: 44:[18, 63] Operation: 63*1=63
Moving to Node #0,0,2
Current State: 44:[1, 45], Operations: ['61/61=1', '63-18=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[61, 63, 18, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [63, 18, 1]
Generated Node #0,0: 44:[63, 18, 1] Operation: 61/61=1
Moving to Node #0,0
Current State: 44:[63, 18, 1], Operations: ['61/61=1']
Exploring Operation: 63-18=45, Resulting Numbers: [1, 45]
Generated Node #0,0,2: 44:[1, 45] Operation: 63-18=45
Moving to Node #0,0,2
Current State: 44:[1, 45], Operations: ['61/61=1', '63-18=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
94,
12,
72,
18
] | 33 | [
"94-72=22",
"18*22=396",
"396/12=33"
] | Current State: 33:[94, 12, 72, 18], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [12, 18, 22]
Generated Node #2: [12, 18, 22] from Operation: 94-72=22
Current State: 33:[12, 18, 22], Operations: ['94-72=22']
Exploring Operation: 18*22=396, Resulting Numbers: [12, 396]
Generated Node #3: [12, 396] from Operation: 18*22=396
Current State: 33:[12, 396], Operations: ['94-72=22', '18*22=396']
Exploring Operation: 396/12=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[94, 12, 72, 18], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [94, 12, 4]
Generated Node #0,0: 33:[94, 12, 4] Operation: 72/18=4
Exploring Operation: 94-18=76, Resulting Numbers: [12, 72, 76]
Generated Node #0,1: 33:[12, 72, 76] Operation: 94-18=76
Exploring Operation: 72/12=6, Resulting Numbers: [94, 18, 6]
Generated Node #0,2: 33:[94, 18, 6] Operation: 72/12=6
Exploring Operation: 72-18=54, Resulting Numbers: [94, 12, 54]
Generated Node #0,3: 33:[94, 12, 54] Operation: 72-18=54
Exploring Operation: 94-72=22, Resulting Numbers: [12, 18, 22]
Generated Node #0,4: 33:[12, 18, 22] Operation: 94-72=22
Moving to Node #0,4
Current State: 33:[12, 18, 22], Operations: ['94-72=22']
Exploring Operation: 22-12=10, Resulting Numbers: [18, 10]
Generated Node #0,4,0: 33:[18, 10] Operation: 22-12=10
Exploring Operation: 18+22=40, Resulting Numbers: [12, 40]
Generated Node #0,4,1: 33:[12, 40] Operation: 18+22=40
Exploring Operation: 22-18=4, Resulting Numbers: [12, 4]
Generated Node #0,4,2: 33:[12, 4] Operation: 22-18=4
Exploring Operation: 12+18=30, Resulting Numbers: [22, 30]
Generated Node #0,4,3: 33:[22, 30] Operation: 12+18=30
Exploring Operation: 12+22=34, Resulting Numbers: [18, 34]
Generated Node #0,4,4: 33:[18, 34] Operation: 12+22=34
Moving to Node #0,0
Current State: 33:[94, 12, 4], Operations: ['72/18=4']
Exploring Operation: 94-4=90, Resulting Numbers: [12, 90]
Generated Node #0,0,0: 33:[12, 90] Operation: 94-4=90
Exploring Operation: 12-4=8, Resulting Numbers: [94, 8]
Generated Node #0,0,1: 33:[94, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [94, 3]
Generated Node #0,0,2: 33:[94, 3] Operation: 12/4=3
Exploring Operation: 94-12=82, Resulting Numbers: [4, 82]
Generated Node #0,0,3: 33:[4, 82] Operation: 94-12=82
Exploring Operation: 94+4=98, Resulting Numbers: [12, 98]
Generated Node #0,0,4: 33:[12, 98] Operation: 94+4=98
Moving to Node #0,2
Current State: 33:[94, 18, 6], Operations: ['72/12=6']
Exploring Operation: 18+6=24, Resulting Numbers: [94, 24]
Generated Node #0,2,0: 33:[94, 24] Operation: 18+6=24
Exploring Operation: 94-18=76, Resulting Numbers: [6, 76]
Generated Node #0,2,1: 33:[6, 76] Operation: 94-18=76
Exploring Operation: 18-6=12, Resulting Numbers: [94, 12]
Generated Node #0,2,2: 33:[94, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [94, 3]
Generated Node #0,2,3: 33:[94, 3] Operation: 18/6=3
Exploring Operation: 94-6=88, Resulting Numbers: [18, 88]
Generated Node #0,2,4: 33:[18, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[6, 76], Operations: ['72/12=6', '94-18=76']
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[94, 3], Operations: ['72/12=6', '18/6=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,33 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[94, 12], Operations: ['72/12=6', '18-6=12']
Exploring Operation: 94-12=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 94+12=106, Resulting Numbers: [106]
106,33 unequal: No Solution
Exploring Operation: 94*12=1128, Resulting Numbers: [1128]
1128,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 33:[18, 88], Operations: ['72/12=6', '94-6=88']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 18*88=1584, Resulting Numbers: [1584]
1584,33 unequal: No Solution
Exploring Operation: 18+88=106, Resulting Numbers: [106]
106,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[94, 24], Operations: ['72/12=6', '18+6=24']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 94*24=2256, Resulting Numbers: [2256]
2256,33 unequal: No Solution
Exploring Operation: 94+24=118, Resulting Numbers: [118]
118,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 33:[12, 72, 76], Operations: ['94-18=76']
Exploring Operation: 76-72=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 33:[12, 4] Operation: 76-72=4
Exploring Operation: 76-12=64, Resulting Numbers: [72, 64]
Generated Node #0,1,1: 33:[72, 64] Operation: 76-12=64
Exploring Operation: 12+72=84, Resulting Numbers: [76, 84]
Generated Node #0,1,2: 33:[76, 84] Operation: 12+72=84
Exploring Operation: 72/12=6, Resulting Numbers: [76, 6]
Generated Node #0,1,3: 33:[76, 6] Operation: 72/12=6
Exploring Operation: 72-12=60, Resulting Numbers: [76, 60]
Generated Node #0,1,4: 33:[76, 60] Operation: 72-12=60
Moving to Node #0,3
Current State: 33:[94, 12, 54], Operations: ['72-18=54']
Exploring Operation: 94-54=40, Resulting Numbers: [12, 40]
Generated Node #0,3,0: 33:[12, 40] Operation: 94-54=40
Exploring Operation: 12+54=66, Resulting Numbers: [94, 66]
Generated Node #0,3,1: 33:[94, 66] Operation: 12+54=66
Exploring Operation: 94+12=106, Resulting Numbers: [54, 106]
Generated Node #0,3,2: 33:[54, 106] Operation: 94+12=106
Exploring Operation: 54-12=42, Resulting Numbers: [94, 42]
Generated Node #0,3,3: 33:[94, 42] Operation: 54-12=42
Exploring Operation: 94-12=82, Resulting Numbers: [54, 82]
Generated Node #0,3,4: 33:[54, 82] Operation: 94-12=82
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[12, 40], Operations: ['72-18=54', '94-54=40']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,33 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,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,3,3
Current State: 33:[94, 42], Operations: ['72-18=54', '54-12=42']
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,33 unequal: No Solution
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,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,3,4
Current State: 33:[54, 82], Operations: ['72-18=54', '94-12=82']
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,33 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,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,3,1
Current State: 33:[94, 66], Operations: ['72-18=54', '12+54=66']
Exploring Operation: 94*66=6204, Resulting Numbers: [6204]
6204,33 unequal: No Solution
Exploring Operation: 94-66=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 94+66=160, Resulting Numbers: [160]
160,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[54, 106], Operations: ['72-18=54', '94+12=106']
Exploring Operation: 106-54=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 54+106=160, Resulting Numbers: [160]
160,33 unequal: No Solution
Exploring Operation: 54*106=5724, Resulting Numbers: [5724]
5724,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 33:[12, 4], Operations: ['94-72=22', '22-18=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[12, 4], Operations: ['94-18=76', '76-72=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Moving to Node #0,4,1
Current State: 33:[12, 40], Operations: ['94-72=22', '18+22=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,33 unequal: No Solution
Moving to Node #0,4,0
Current State: 33:[18, 10], Operations: ['94-72=22', '22-12=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,33 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Moving to Node #0,4,4
Current State: 33:[18, 34], Operations: ['94-72=22', '12+22=34']
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,33 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Moving to Node #0,4,3
Current State: 33:[22, 30], Operations: ['94-72=22', '12+18=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,33 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[76, 6], Operations: ['94-18=76', '72/12=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,33 unequal: No Solution
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,33 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[4, 82], Operations: ['72/18=4', '94-12=82']
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,33 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[12, 90], Operations: ['72/18=4', '94-4=90']
Exploring Operation: 12+90=102, Resulting Numbers: [102]
102,33 unequal: No Solution
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 12*90=1080, Resulting Numbers: [1080]
1080,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[94, 3], Operations: ['72/18=4', '12/4=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,33 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,33 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[94, 8], Operations: ['72/18=4', '12-4=8']
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,33 unequal: No Solution
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,33 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Moving to Node #0,0,4
Current State: 33:[12, 98], Operations: ['72/18=4', '94+4=98']
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 12+98=110, Resulting Numbers: [110]
110,33 unequal: No Solution
Exploring Operation: 12*98=1176, Resulting Numbers: [1176]
1176,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[76, 60], Operations: ['94-18=76', '72-12=60']
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 76+60=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 76*60=4560, Resulting Numbers: [4560]
4560,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[72, 64], Operations: ['94-18=76', '76-12=64']
Exploring Operation: 72+64=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 72*64=4608, Resulting Numbers: [4608]
4608,33 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[76, 84], Operations: ['94-18=76', '12+72=84']
Exploring Operation: 84-76=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 76*84=6384, Resulting Numbers: [6384]
6384,33 unequal: No Solution
Exploring Operation: 76+84=160, Resulting Numbers: [160]
160,33 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
23,
57,
95,
62
] | 77 | [
"23+57=80",
"95+62=157",
"157-80=77"
] | Current State: 77:[23, 57, 95, 62], Operations: []
Exploring Operation: 23+57=80, Resulting Numbers: [95, 62, 80]
Generated Node #2: [95, 62, 80] from Operation: 23+57=80
Current State: 77:[95, 62, 80], Operations: ['23+57=80']
Exploring Operation: 95+62=157, Resulting Numbers: [80, 157]
Generated Node #3: [80, 157] from Operation: 95+62=157
Current State: 77:[80, 157], Operations: ['23+57=80', '95+62=157']
Exploring Operation: 157-80=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[23, 57, 95, 62], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [23, 62, 38]
Generated Node #0,0: 77:[23, 62, 38] Operation: 95-57=38
Exploring Operation: 23+57=80, Resulting Numbers: [95, 62, 80]
Generated Node #0,1: 77:[95, 62, 80] Operation: 23+57=80
Exploring Operation: 23+62=85, Resulting Numbers: [57, 95, 85]
Generated Node #0,2: 77:[57, 95, 85] Operation: 23+62=85
Exploring Operation: 95-23=72, Resulting Numbers: [57, 62, 72]
Generated Node #0,3: 77:[57, 62, 72] Operation: 95-23=72
Exploring Operation: 62-57=5, Resulting Numbers: [23, 95, 5]
Generated Node #0,4: 77:[23, 95, 5] Operation: 62-57=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[23, 95, 5], Operations: ['62-57=5']
Exploring Operation: 23+5=28, Resulting Numbers: [95, 28]
Generated Node #0,4,0: 77:[95, 28] Operation: 23+5=28
Exploring Operation: 95-5=90, Resulting Numbers: [23, 90]
Generated Node #0,4,1: 77:[23, 90] Operation: 95-5=90
Exploring Operation: 95-23=72, Resulting Numbers: [5, 72]
Generated Node #0,4,2: 77:[5, 72] Operation: 95-23=72
Exploring Operation: 23-5=18, Resulting Numbers: [95, 18]
Generated Node #0,4,3: 77:[95, 18] Operation: 23-5=18
Exploring Operation: 95/5=19, Resulting Numbers: [23, 19]
Generated Node #0,4,4: 77:[23, 19] Operation: 95/5=19
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 77:[5, 72], Operations: ['62-57=5', '95-23=72']
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[23, 57, 95, 62], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [23, 95, 5]
Generated Node #0,4: 77:[23, 95, 5] Operation: 62-57=5
Moving to Node #0,4
Current State: 77:[23, 95, 5], Operations: ['62-57=5']
Exploring Operation: 95-23=72, Resulting Numbers: [5, 72]
Generated Node #0,4,2: 77:[5, 72] Operation: 95-23=72
Moving to Node #0,4,2
Current State: 77:[5, 72], Operations: ['62-57=5', '95-23=72']
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.