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 |
|---|---|---|---|---|---|---|---|---|
[
20,
90,
45,
26
] | 30 | [
"26-20=6",
"90/6=15",
"45-15=30"
] | Current State: 30:[20, 90, 45, 26], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [90, 45, 6]
Generated Node #2: [90, 45, 6] from Operation: 26-20=6
Current State: 30:[90, 45, 6], Operations: ['26-20=6']
Exploring Operation: 90/6=15, Resulting Numbers: [45, 15]
Generated Node #3: [45, 15] from Operation: 90/6=15
Current State: 30:[45, 15], Operations: ['26-20=6', '90/6=15']
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[20, 90, 45, 26], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [45, 26, 70]
Generated Node #0,0: 30:[45, 26, 70] Operation: 90-20=70
Exploring Operation: 45-20=25, Resulting Numbers: [90, 26, 25]
Generated Node #0,1: 30:[90, 26, 25] Operation: 45-20=25
Exploring Operation: 90/45=2, Resulting Numbers: [20, 26, 2]
Generated Node #0,2: 30:[20, 26, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [20, 26, 45]
Generated Node #0,3: 30:[20, 26, 45] Operation: 90-45=45
Exploring Operation: 90-26=64, Resulting Numbers: [20, 45, 64]
Generated Node #0,4: 30:[20, 45, 64] Operation: 90-26=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[20, 26, 2], Operations: ['90/45=2']
Exploring Operation: 20/2=10, Resulting Numbers: [26, 10]
Generated Node #0,2,0: 30:[26, 10] Operation: 20/2=10
Exploring Operation: 26-20=6, Resulting Numbers: [2, 6]
Generated Node #0,2,1: 30:[2, 6] Operation: 26-20=6
Exploring Operation: 26+2=28, Resulting Numbers: [20, 28]
Generated Node #0,2,2: 30:[20, 28] Operation: 26+2=28
Exploring Operation: 26/2=13, Resulting Numbers: [20, 13]
Generated Node #0,2,3: 30:[20, 13] Operation: 26/2=13
Exploring Operation: 20-2=18, Resulting Numbers: [26, 18]
Generated Node #0,2,4: 30:[26, 18] Operation: 20-2=18
Moving to Node #0,2,1
Current State: 30:[2, 6], Operations: ['90/45=2', '26-20=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[26, 10], Operations: ['90/45=2', '20/2=10']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,30 unequal: No Solution
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[20, 28], Operations: ['90/45=2', '26+2=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,30 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[20, 13], Operations: ['90/45=2', '26/2=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,30 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,30 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,2,4
Current State: 30:[26, 18], Operations: ['90/45=2', '20-2=18']
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,30 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[20, 26, 45], Operations: ['90-45=45']
Exploring Operation: 45-26=19, Resulting Numbers: [20, 19]
Generated Node #0,3,0: 30:[20, 19] Operation: 45-26=19
Exploring Operation: 20+26=46, Resulting Numbers: [45, 46]
Generated Node #0,3,1: 30:[45, 46] Operation: 20+26=46
Exploring Operation: 45-20=25, Resulting Numbers: [26, 25]
Generated Node #0,3,2: 30:[26, 25] Operation: 45-20=25
Exploring Operation: 20+45=65, Resulting Numbers: [26, 65]
Generated Node #0,3,3: 30:[26, 65] Operation: 20+45=65
Exploring Operation: 26-20=6, Resulting Numbers: [45, 6]
Generated Node #0,3,4: 30:[45, 6] Operation: 26-20=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[20, 19], Operations: ['90-45=45', '45-26=19']
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,30 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,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,3,2
Current State: 30:[26, 25], Operations: ['90-45=45', '45-20=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,30 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,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,3,4
Current State: 30:[45, 6], Operations: ['90-45=45', '26-20=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 45+6=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 45*6=270, Resulting Numbers: [270]
270,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,3,1
Current State: 30:[45, 46], Operations: ['90-45=45', '20+26=46']
Exploring Operation: 45*46=2070, Resulting Numbers: [2070]
2070,30 unequal: No Solution
Exploring Operation: 45+46=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,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,3,3
Current State: 30:[26, 65], Operations: ['90-45=45', '20+45=65']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,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,4
Current State: 30:[20, 45, 64], Operations: ['90-26=64']
Exploring Operation: 64-45=19, Resulting Numbers: [20, 19]
Generated Node #0,4,0: 30:[20, 19] Operation: 64-45=19
Exploring Operation: 20+45=65, Resulting Numbers: [64, 65]
Generated Node #0,4,1: 30:[64, 65] Operation: 20+45=65
Exploring Operation: 45-20=25, Resulting Numbers: [64, 25]
Generated Node #0,4,2: 30:[64, 25] Operation: 45-20=25
Exploring Operation: 20+64=84, Resulting Numbers: [45, 84]
Generated Node #0,4,3: 30:[45, 84] Operation: 20+64=84
Exploring Operation: 64-20=44, Resulting Numbers: [45, 44]
Generated Node #0,4,4: 30:[45, 44] Operation: 64-20=44
Moving to Node #0,4,0
Current State: 30:[20, 19], Operations: ['90-26=64', '64-45=19']
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,30 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Moving to Node #0,4,4
Current State: 30:[45, 44], Operations: ['90-26=64', '64-20=44']
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,30 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Moving to Node #0,4,2
Current State: 30:[64, 25], Operations: ['90-26=64', '45-20=25']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 64*25=1600, Resulting Numbers: [1600]
1600,30 unequal: No Solution
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Moving to Node #0,4,1
Current State: 30:[64, 65], Operations: ['90-26=64', '20+45=65']
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,30 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,30 unequal: No Solution
Moving to Node #0,4,3
Current State: 30:[45, 84], Operations: ['90-26=64', '20+64=84']
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,30 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,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,0
Current State: 30:[45, 26, 70], Operations: ['90-20=70']
Exploring Operation: 70-45=25, Resulting Numbers: [26, 25]
Generated Node #0,0,0: 30:[26, 25] Operation: 70-45=25
Exploring Operation: 45+26=71, Resulting Numbers: [70, 71]
Generated Node #0,0,1: 30:[70, 71] Operation: 45+26=71
Exploring Operation: 70-26=44, Resulting Numbers: [45, 44]
Generated Node #0,0,2: 30:[45, 44] Operation: 70-26=44
Exploring Operation: 26+70=96, Resulting Numbers: [45, 96]
Generated Node #0,0,3: 30:[45, 96] Operation: 26+70=96
Exploring Operation: 45-26=19, Resulting Numbers: [70, 19]
Generated Node #0,0,4: 30:[70, 19] Operation: 45-26=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[26, 25], Operations: ['90-20=70', '70-45=25']
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,30 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,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,0,2
Current State: 30:[45, 44], Operations: ['90-20=70', '70-26=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 45*44=1980, Resulting Numbers: [1980]
1980,30 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,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,0,4
Current State: 30:[70, 19], Operations: ['90-20=70', '45-26=19']
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,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,0,1
Current State: 30:[70, 71], Operations: ['90-20=70', '45+26=71']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,30 unequal: No Solution
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,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,0,3
Current State: 30:[45, 96], Operations: ['90-20=70', '26+70=96']
Exploring Operation: 45*96=4320, Resulting Numbers: [4320]
4320,30 unequal: No Solution
Exploring Operation: 45+96=141, Resulting Numbers: [141]
141,30 unequal: No Solution
Exploring Operation: 96-45=51, Resulting Numbers: [51]
51,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,1
Current State: 30:[90, 26, 25], Operations: ['45-20=25']
Exploring Operation: 26-25=1, Resulting Numbers: [90, 1]
Generated Node #0,1,0: 30:[90, 1] Operation: 26-25=1
Exploring Operation: 90-26=64, Resulting Numbers: [25, 64]
Generated Node #0,1,1: 30:[25, 64] Operation: 90-26=64
Exploring Operation: 90-25=65, Resulting Numbers: [26, 65]
Generated Node #0,1,2: 30:[26, 65] Operation: 90-25=65
Exploring Operation: 90+25=115, Resulting Numbers: [26, 115]
Generated Node #0,1,3: 30:[26, 115] Operation: 90+25=115
Exploring Operation: 26+25=51, Resulting Numbers: [90, 51]
Generated Node #0,1,4: 30:[90, 51] Operation: 26+25=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[25, 64], Operations: ['45-20=25', '90-26=64']
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,30 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,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,1,2
Current State: 30:[26, 65], Operations: ['45-20=25', '90-25=65']
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,30 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,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,1,0
Current State: 30:[90, 1], Operations: ['45-20=25', '26-25=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 90/1=90, Resulting Numbers: [90]
90,30 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,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,1,4
Current State: 30:[90, 51], Operations: ['45-20=25', '26+25=51']
Exploring Operation: 90*51=4590, Resulting Numbers: [4590]
4590,30 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,30 unequal: No Solution
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,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,1,3
Current State: 30:[26, 115], Operations: ['45-20=25', '90+25=115']
Exploring Operation: 115-26=89, Resulting Numbers: [89]
89,30 unequal: No Solution
Exploring Operation: 26*115=2990, Resulting Numbers: [2990]
2990,30 unequal: No Solution
Exploring Operation: 26+115=141, Resulting Numbers: [141]
141,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
79,
17,
86
] | 87 | [
"86-79=7",
"10*7=70",
"17+70=87"
] | Current State: 87:[10, 79, 17, 86], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [10, 17, 7]
Generated Node #2: [10, 17, 7] from Operation: 86-79=7
Current State: 87:[10, 17, 7], Operations: ['86-79=7']
Exploring Operation: 10*7=70, Resulting Numbers: [17, 70]
Generated Node #3: [17, 70] from Operation: 10*7=70
Current State: 87:[17, 70], Operations: ['86-79=7', '10*7=70']
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[10, 79, 17, 86], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [79, 86, 7]
Generated Node #0,0: 87:[79, 86, 7] Operation: 17-10=7
Exploring Operation: 10+79=89, Resulting Numbers: [17, 86, 89]
Generated Node #0,1: 87:[17, 86, 89] Operation: 10+79=89
Exploring Operation: 10+17=27, Resulting Numbers: [79, 86, 27]
Generated Node #0,2: 87:[79, 86, 27] Operation: 10+17=27
Moving to Node #0,2
Current State: 87:[79, 86, 27], Operations: ['10+17=27']
Exploring Operation: 86-79=7, Resulting Numbers: [27, 7]
Generated Node #0,2,0: 87:[27, 7] Operation: 86-79=7
Exploring Operation: 79+27=106, Resulting Numbers: [86, 106]
Generated Node #0,2,1: 87:[86, 106] Operation: 79+27=106
Exploring Operation: 79-27=52, Resulting Numbers: [86, 52]
Generated Node #0,2,2: 87:[86, 52] Operation: 79-27=52
Moving to Node #0,0
Current State: 87:[79, 86, 7], Operations: ['17-10=7']
Exploring Operation: 79+7=86, Resulting Numbers: [86, 86]
Generated Node #0,0,0: 87:[86, 86] Operation: 79+7=86
Exploring Operation: 86-79=7, Resulting Numbers: [7, 7]
Generated Node #0,0,1: 87:[7, 7] Operation: 86-79=7
Exploring Operation: 86+7=93, Resulting Numbers: [79, 93]
Generated Node #0,0,2: 87:[79, 93] Operation: 86+7=93
Moving to Node #0,1
Current State: 87:[17, 86, 89], Operations: ['10+79=89']
Exploring Operation: 17+86=103, Resulting Numbers: [89, 103]
Generated Node #0,1,0: 87:[89, 103] Operation: 17+86=103
Exploring Operation: 89-86=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 87:[17, 3] Operation: 89-86=3
Exploring Operation: 89-17=72, Resulting Numbers: [86, 72]
Generated Node #0,1,2: 87:[86, 72] Operation: 89-17=72
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[17, 3], Operations: ['10+79=89', '89-86=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 87:[86, 72], Operations: ['10+79=89', '89-17=72']
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,87 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[89, 103], Operations: ['10+79=89', '17+86=103']
Exploring Operation: 89*103=9167, Resulting Numbers: [9167]
9167,87 unequal: No Solution
Exploring Operation: 89+103=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 103-89=14, Resulting Numbers: [14]
14,87 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: 87:[86, 86], Operations: ['17-10=7', '79+7=86']
Exploring Operation: 86+86=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 86-86=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 86/86=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[27, 7], Operations: ['10+17=27', '86-79=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[7, 7], Operations: ['17-10=7', '86-79=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[79, 93], Operations: ['17-10=7', '86+7=93']
Exploring Operation: 79*93=7347, Resulting Numbers: [7347]
7347,87 unequal: No Solution
Exploring Operation: 79+93=172, Resulting Numbers: [172]
172,87 unequal: No Solution
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[86, 106], Operations: ['10+17=27', '79+27=106']
Exploring Operation: 86+106=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,87 unequal: No Solution
Exploring Operation: 86*106=9116, Resulting Numbers: [9116]
9116,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[86, 52], Operations: ['10+17=27', '79-27=52']
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,87 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
22,
35,
92,
9
] | 71 | [
"22*9=198",
"35+92=127",
"198-127=71"
] | Current State: 71:[22, 35, 92, 9], Operations: []
Exploring Operation: 22*9=198, Resulting Numbers: [35, 92, 198]
Generated Node #2: [35, 92, 198] from Operation: 22*9=198
Current State: 71:[35, 92, 198], Operations: ['22*9=198']
Exploring Operation: 35+92=127, Resulting Numbers: [198, 127]
Generated Node #3: [198, 127] from Operation: 35+92=127
Current State: 71:[198, 127], Operations: ['22*9=198', '35+92=127']
Exploring Operation: 198-127=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[22, 35, 92, 9], Operations: []
Exploring Operation: 22+35=57, Resulting Numbers: [92, 9, 57]
Generated Node #0,0: 71:[92, 9, 57] Operation: 22+35=57
Moving to Node #0,0
Current State: 71:[92, 9, 57], Operations: ['22+35=57']
Exploring Operation: 92-9=83, Resulting Numbers: [57, 83]
Generated Node #0,0,0: 71:[57, 83] Operation: 92-9=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[57, 83], Operations: ['22+35=57', '92-9=83']
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,71 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 |
[
14,
31,
31,
21
] | 55 | [
"14+31=45",
"31-21=10",
"45+10=55"
] | Current State: 55:[14, 31, 31, 21], Operations: []
Exploring Operation: 14+31=45, Resulting Numbers: [21, 45]
Generated Node #2: [21, 45] from Operation: 14+31=45
Current State: 55:[21, 45], Operations: ['14+31=45']
Exploring Operation: 31-21=10, Resulting Numbers: [45, 10]
Generated Node #3: [45, 10] from Operation: 31-21=10
Current State: 55:[45, 10], Operations: ['14+31=45', '31-21=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[14, 31, 31, 21], Operations: []
Exploring Operation: 31/31=1, Resulting Numbers: [14, 21, 1]
Generated Node #0,0: 55:[14, 21, 1] Operation: 31/31=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[14, 21, 1], Operations: ['31/31=1']
Exploring Operation: 21-14=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 55:[1, 7] Operation: 21-14=7
Moving to Node #0,0,0
Current State: 55:[1, 7], Operations: ['31/31=1', '21-14=7']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,55 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 |
[
40,
72,
34,
73
] | 74 | [
"40+34=74",
"73-72=1",
"74*1=74"
] | Current State: 74:[40, 72, 34, 73], Operations: []
Exploring Operation: 40+34=74, Resulting Numbers: [72, 73, 74]
Generated Node #2: [72, 73, 74] from Operation: 40+34=74
Current State: 74:[72, 73, 74], Operations: ['40+34=74']
Exploring Operation: 73-72=1, Resulting Numbers: [74, 1]
Generated Node #3: [74, 1] from Operation: 73-72=1
Current State: 74:[74, 1], Operations: ['40+34=74', '73-72=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[40, 72, 34, 73], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [40, 73, 38]
Generated Node #0,0: 74:[40, 73, 38] Operation: 72-34=38
Exploring Operation: 40-34=6, Resulting Numbers: [72, 73, 6]
Generated Node #0,1: 74:[72, 73, 6] Operation: 40-34=6
Exploring Operation: 40+34=74, Resulting Numbers: [72, 73, 74]
Generated Node #0,2: 74:[72, 73, 74] Operation: 40+34=74
Moving to Node #0,2
Current State: 74:[72, 73, 74], Operations: ['40+34=74']
Exploring Operation: 74-72=2, Resulting Numbers: [73, 2]
Generated Node #0,2,0: 74:[73, 2] Operation: 74-72=2
Exploring Operation: 74-73=1, Resulting Numbers: [72, 1]
Generated Node #0,2,1: 74:[72, 1] Operation: 74-73=1
Exploring Operation: 73-72=1, Resulting Numbers: [74, 1]
Generated Node #0,2,2: 74:[74, 1] Operation: 73-72=1
Moving to Node #0,0
Current State: 74:[40, 73, 38], Operations: ['72-34=38']
Exploring Operation: 40+38=78, Resulting Numbers: [73, 78]
Generated Node #0,0,0: 74:[73, 78] Operation: 40+38=78
Exploring Operation: 73-40=33, Resulting Numbers: [38, 33]
Generated Node #0,0,1: 74:[38, 33] Operation: 73-40=33
Exploring Operation: 40-38=2, Resulting Numbers: [73, 2]
Generated Node #0,0,2: 74:[73, 2] Operation: 40-38=2
Moving to Node #0,1
Current State: 74:[72, 73, 6], Operations: ['40-34=6']
Exploring Operation: 73+6=79, Resulting Numbers: [72, 79]
Generated Node #0,1,0: 74:[72, 79] Operation: 73+6=79
Exploring Operation: 73-72=1, Resulting Numbers: [6, 1]
Generated Node #0,1,1: 74:[6, 1] Operation: 73-72=1
Exploring Operation: 72+6=78, Resulting Numbers: [73, 78]
Generated Node #0,1,2: 74:[73, 78] Operation: 72+6=78
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[6, 1], Operations: ['40-34=6', '73-72=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,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:[73, 78], Operations: ['40-34=6', '72+6=78']
Exploring Operation: 73*78=5694, Resulting Numbers: [5694]
5694,74 unequal: No Solution
Exploring Operation: 73+78=151, Resulting Numbers: [151]
151,74 unequal: No Solution
Exploring Operation: 78-73=5, Resulting Numbers: [5]
5,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:[72, 79], Operations: ['40-34=6', '73+6=79']
Exploring Operation: 72+79=151, Resulting Numbers: [151]
151,74 unequal: No Solution
Exploring Operation: 72*79=5688, Resulting Numbers: [5688]
5688,74 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,74 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: 74:[73, 2], Operations: ['40+34=74', '74-72=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[74, 1], Operations: ['40+34=74', '73-72=1']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[40, 72, 34, 73], Operations: []
Exploring Operation: 40+34=74, Resulting Numbers: [72, 73, 74]
Generated Node #0,2: 74:[72, 73, 74] Operation: 40+34=74
Moving to Node #0,2
Current State: 74:[72, 73, 74], Operations: ['40+34=74']
Exploring Operation: 73-72=1, Resulting Numbers: [74, 1]
Generated Node #0,2,2: 74:[74, 1] Operation: 73-72=1
Moving to Node #0,2,2
Current State: 74:[74, 1], Operations: ['40+34=74', '73-72=1']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
43,
84,
37,
28
] | 50 | [
"84-43=41",
"37-28=9",
"41+9=50"
] | Current State: 50:[43, 84, 37, 28], Operations: []
Exploring Operation: 84-43=41, Resulting Numbers: [37, 28, 41]
Generated Node #2: [37, 28, 41] from Operation: 84-43=41
Current State: 50:[37, 28, 41], Operations: ['84-43=41']
Exploring Operation: 37-28=9, Resulting Numbers: [41, 9]
Generated Node #3: [41, 9] from Operation: 37-28=9
Current State: 50:[41, 9], Operations: ['84-43=41', '37-28=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[43, 84, 37, 28], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [43, 28, 47]
Generated Node #0,0: 50:[43, 28, 47] Operation: 84-37=47
Exploring Operation: 84/28=3, Resulting Numbers: [43, 37, 3]
Generated Node #0,1: 50:[43, 37, 3] Operation: 84/28=3
Moving to Node #0,0
Current State: 50:[43, 28, 47], Operations: ['84-37=47']
Exploring Operation: 47-43=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 50:[28, 4] Operation: 47-43=4
Exploring Operation: 43-28=15, Resulting Numbers: [47, 15]
Generated Node #0,0,1: 50:[47, 15] Operation: 43-28=15
Moving to Node #0,1
Current State: 50:[43, 37, 3], Operations: ['84/28=3']
Exploring Operation: 43+3=46, Resulting Numbers: [37, 46]
Generated Node #0,1,0: 50:[37, 46] Operation: 43+3=46
Exploring Operation: 43-37=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 50:[3, 6] Operation: 43-37=6
Moving to Node #0,1,1
Current State: 50:[3, 6], Operations: ['84/28=3', '43-37=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[28, 4], Operations: ['84-37=47', '47-43=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[47, 15], Operations: ['84-37=47', '43-28=15']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 47+15=62, Resulting Numbers: [62]
62,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[37, 46], Operations: ['84/28=3', '43+3=46']
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,50 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
6,
37,
50
] | 78 | [
"85+6=91",
"50-37=13",
"91-13=78"
] | Current State: 78:[85, 6, 37, 50], Operations: []
Exploring Operation: 85+6=91, Resulting Numbers: [37, 50, 91]
Generated Node #2: [37, 50, 91] from Operation: 85+6=91
Current State: 78:[37, 50, 91], Operations: ['85+6=91']
Exploring Operation: 50-37=13, Resulting Numbers: [91, 13]
Generated Node #3: [91, 13] from Operation: 50-37=13
Current State: 78:[91, 13], Operations: ['85+6=91', '50-37=13']
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[85, 6, 37, 50], Operations: []
Exploring Operation: 85-6=79, Resulting Numbers: [37, 50, 79]
Generated Node #0,0: 78:[37, 50, 79] Operation: 85-6=79
Exploring Operation: 85-50=35, Resulting Numbers: [6, 37, 35]
Generated Node #0,1: 78:[6, 37, 35] Operation: 85-50=35
Exploring Operation: 50-37=13, Resulting Numbers: [85, 6, 13]
Generated Node #0,2: 78:[85, 6, 13] Operation: 50-37=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[6, 37, 35], Operations: ['85-50=35']
Exploring Operation: 35-6=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 78:[37, 29] Operation: 35-6=29
Exploring Operation: 37-35=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 78:[6, 2] Operation: 37-35=2
Exploring Operation: 6+35=41, Resulting Numbers: [37, 41]
Generated Node #0,1,2: 78:[37, 41] Operation: 6+35=41
Moving to Node #0,1,1
Current State: 78:[6, 2], Operations: ['85-50=35', '37-35=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[37, 41], Operations: ['85-50=35', '6+35=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[85, 6, 37, 50], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [6, 37, 35]
Generated Node #0,1: 78:[6, 37, 35] Operation: 85-50=35
Moving to Node #0,1
Current State: 78:[6, 37, 35], Operations: ['85-50=35']
Exploring Operation: 6+35=41, Resulting Numbers: [37, 41]
Generated Node #0,1,2: 78:[37, 41] Operation: 6+35=41
Moving to Node #0,1,2
Current State: 78:[37, 41], Operations: ['85-50=35', '6+35=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
34,
82,
10,
29
] | 77 | [
"34+82=116",
"10+29=39",
"116-39=77"
] | Current State: 77:[34, 82, 10, 29], Operations: []
Exploring Operation: 34+82=116, Resulting Numbers: [10, 29, 116]
Generated Node #2: [10, 29, 116] from Operation: 34+82=116
Current State: 77:[10, 29, 116], Operations: ['34+82=116']
Exploring Operation: 10+29=39, Resulting Numbers: [116, 39]
Generated Node #3: [116, 39] from Operation: 10+29=39
Current State: 77:[116, 39], Operations: ['34+82=116', '10+29=39']
Exploring Operation: 116-39=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[34, 82, 10, 29], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [82, 10, 5]
Generated Node #0,0: 77:[82, 10, 5] Operation: 34-29=5
Exploring Operation: 34+29=63, Resulting Numbers: [82, 10, 63]
Generated Node #0,1: 77:[82, 10, 63] Operation: 34+29=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[82, 10, 5], Operations: ['34-29=5']
Exploring Operation: 82-5=77, Resulting Numbers: [10, 77]
Generated Node #0,0,0: 77:[10, 77] Operation: 82-5=77
Exploring Operation: 82-10=72, Resulting Numbers: [5, 72]
Generated Node #0,0,1: 77:[5, 72] Operation: 82-10=72
Moving to Node #0,0,0
Current State: 77:[10, 77], Operations: ['34-29=5', '82-5=77']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[5, 72], Operations: ['34-29=5', '82-10=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:[34, 82, 10, 29], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [82, 10, 5]
Generated Node #0,0: 77:[82, 10, 5] Operation: 34-29=5
Moving to Node #0,0
Current State: 77:[82, 10, 5], Operations: ['34-29=5']
Exploring Operation: 82-10=72, Resulting Numbers: [5, 72]
Generated Node #0,0,1: 77:[5, 72] Operation: 82-10=72
Moving to Node #0,0,1
Current State: 77:[5, 72], Operations: ['34-29=5', '82-10=72']
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
34,
34,
36,
90
] | 14 | [
"34+34=68",
"90-36=54",
"68-54=14"
] | Current State: 14:[34, 34, 36, 90], Operations: []
Exploring Operation: 34+34=68, Resulting Numbers: [36, 90, 68]
Generated Node #2: [36, 90, 68] from Operation: 34+34=68
Current State: 14:[36, 90, 68], Operations: ['34+34=68']
Exploring Operation: 90-36=54, Resulting Numbers: [68, 54]
Generated Node #3: [68, 54] from Operation: 90-36=54
Current State: 14:[68, 54], Operations: ['34+34=68', '90-36=54']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[34, 34, 36, 90], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [34, 34, 54]
Generated Node #0,0: 14:[34, 34, 54] Operation: 90-36=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[34, 34, 54], Operations: ['90-36=54']
Exploring Operation: 54-34=20, Resulting Numbers: [34, 20]
Generated Node #0,0,0: 14:[34, 20] Operation: 54-34=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[34, 20], Operations: ['90-36=54', '54-34=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[34, 34, 36, 90], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [34, 34, 54]
Generated Node #0,0: 14:[34, 34, 54] Operation: 90-36=54
Moving to Node #0,0
Current State: 14:[34, 34, 54], Operations: ['90-36=54']
Exploring Operation: 54-34=20, Resulting Numbers: [34, 20]
Generated Node #0,0,0: 14:[34, 20] Operation: 54-34=20
Moving to Node #0,0,0
Current State: 14:[34, 20], Operations: ['90-36=54', '54-34=20']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
65,
73,
63,
3
] | 91 | [
"65+63=128",
"73*3=219",
"219-128=91"
] | Current State: 91:[65, 73, 63, 3], Operations: []
Exploring Operation: 65+63=128, Resulting Numbers: [73, 3, 128]
Generated Node #2: [73, 3, 128] from Operation: 65+63=128
Current State: 91:[73, 3, 128], Operations: ['65+63=128']
Exploring Operation: 73*3=219, Resulting Numbers: [128, 219]
Generated Node #3: [128, 219] from Operation: 73*3=219
Current State: 91:[128, 219], Operations: ['65+63=128', '73*3=219']
Exploring Operation: 219-128=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[65, 73, 63, 3], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [63, 3, 8]
Generated Node #0,0: 91:[63, 3, 8] Operation: 73-65=8
Exploring Operation: 63/3=21, Resulting Numbers: [65, 73, 21]
Generated Node #0,1: 91:[65, 73, 21] Operation: 63/3=21
Exploring Operation: 73-63=10, Resulting Numbers: [65, 3, 10]
Generated Node #0,2: 91:[65, 3, 10] Operation: 73-63=10
Exploring Operation: 65-63=2, Resulting Numbers: [73, 3, 2]
Generated Node #0,3: 91:[73, 3, 2] Operation: 65-63=2
Moving to Node #0,3
Current State: 91:[73, 3, 2], Operations: ['65-63=2']
Exploring Operation: 73+2=75, Resulting Numbers: [3, 75]
Generated Node #0,3,0: 91:[3, 75] Operation: 73+2=75
Exploring Operation: 73+3=76, Resulting Numbers: [2, 76]
Generated Node #0,3,1: 91:[2, 76] Operation: 73+3=76
Exploring Operation: 3*2=6, Resulting Numbers: [73, 6]
Generated Node #0,3,2: 91:[73, 6] Operation: 3*2=6
Exploring Operation: 3+2=5, Resulting Numbers: [73, 5]
Generated Node #0,3,3: 91:[73, 5] Operation: 3+2=5
Moving to Node #0,2
Current State: 91:[65, 3, 10], Operations: ['73-63=10']
Exploring Operation: 65+10=75, Resulting Numbers: [3, 75]
Generated Node #0,2,0: 91:[3, 75] Operation: 65+10=75
Exploring Operation: 65+3=68, Resulting Numbers: [10, 68]
Generated Node #0,2,1: 91:[10, 68] Operation: 65+3=68
Exploring Operation: 3+10=13, Resulting Numbers: [65, 13]
Generated Node #0,2,2: 91:[65, 13] Operation: 3+10=13
Exploring Operation: 10-3=7, Resulting Numbers: [65, 7]
Generated Node #0,2,3: 91:[65, 7] Operation: 10-3=7
Moving to Node #0,0
Current State: 91:[63, 3, 8], Operations: ['73-65=8']
Exploring Operation: 63+8=71, Resulting Numbers: [3, 71]
Generated Node #0,0,0: 91:[3, 71] Operation: 63+8=71
Exploring Operation: 63+3=66, Resulting Numbers: [8, 66]
Generated Node #0,0,1: 91:[8, 66] Operation: 63+3=66
Exploring Operation: 63/3=21, Resulting Numbers: [8, 21]
Generated Node #0,0,2: 91:[8, 21] Operation: 63/3=21
Exploring Operation: 3+8=11, Resulting Numbers: [63, 11]
Generated Node #0,0,3: 91:[63, 11] Operation: 3+8=11
Moving to Node #0,1
Current State: 91:[65, 73, 21], Operations: ['63/3=21']
Exploring Operation: 73-65=8, Resulting Numbers: [21, 8]
Generated Node #0,1,0: 91:[21, 8] Operation: 73-65=8
Exploring Operation: 65+21=86, Resulting Numbers: [73, 86]
Generated Node #0,1,1: 91:[73, 86] Operation: 65+21=86
Exploring Operation: 65-21=44, Resulting Numbers: [73, 44]
Generated Node #0,1,2: 91:[73, 44] Operation: 65-21=44
Exploring Operation: 73+21=94, Resulting Numbers: [65, 94]
Generated Node #0,1,3: 91:[65, 94] Operation: 73+21=94
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[21, 8], Operations: ['63/3=21', '73-65=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,91 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[73, 86], Operations: ['63/3=21', '65+21=86']
Exploring Operation: 86-73=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 73+86=159, Resulting Numbers: [159]
159,91 unequal: No Solution
Exploring Operation: 73*86=6278, Resulting Numbers: [6278]
6278,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[65, 94], Operations: ['63/3=21', '73+21=94']
Exploring Operation: 65+94=159, Resulting Numbers: [159]
159,91 unequal: No Solution
Exploring Operation: 94-65=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 65*94=6110, Resulting Numbers: [6110]
6110,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[73, 44], Operations: ['63/3=21', '65-21=44']
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,91 unequal: No Solution
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 91:[8, 21], Operations: ['73-65=8', '63/3=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,91 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,91 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[73, 6], Operations: ['65-63=2', '3*2=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,91 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,91 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[2, 76], Operations: ['65-63=2', '73+3=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,91 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,91 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,2,0
Current State: 91:[3, 75], Operations: ['73-63=10', '65+10=75']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[3, 75], Operations: ['65-63=2', '73+2=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,91 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,91 unequal: No Solution
Moving to Node #0,3,3
Current State: 91:[73, 5], Operations: ['65-63=2', '3+2=5']
Exploring Operation: 73*5=365, Resulting Numbers: [365]
365,91 unequal: No Solution
Exploring Operation: 73+5=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[3, 71], Operations: ['73-65=8', '63+8=71']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,91 unequal: No Solution
Exploring Operation: 3*71=213, Resulting Numbers: [213]
213,91 unequal: No Solution
Exploring Operation: 3+71=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[65, 13], Operations: ['73-63=10', '3+10=13']
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[10, 68], Operations: ['73-63=10', '65+3=68']
Exploring Operation: 10*68=680, Resulting Numbers: [680]
680,91 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 10+68=78, Resulting Numbers: [78]
78,91 unequal: No Solution
Moving to Node #0,2,3
Current State: 91:[65, 7], Operations: ['73-63=10', '10-3=7']
Exploring Operation: 65*7=455, Resulting Numbers: [455]
455,91 unequal: No Solution
Exploring Operation: 65+7=72, Resulting Numbers: [72]
72,91 unequal: No Solution
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[8, 66], Operations: ['73-65=8', '63+3=66']
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,91 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,91 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,0,3
Current State: 91:[63, 11], Operations: ['73-65=8', '3+8=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,91 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,91 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
48,
74,
80,
72
] | 56 | [
"74-72=2",
"48/2=24",
"80-24=56"
] | Current State: 56:[48, 74, 80, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [48, 80, 2]
Generated Node #2: [48, 80, 2] from Operation: 74-72=2
Current State: 56:[48, 80, 2], Operations: ['74-72=2']
Exploring Operation: 48/2=24, Resulting Numbers: [80, 24]
Generated Node #3: [80, 24] from Operation: 48/2=24
Current State: 56:[80, 24], Operations: ['74-72=2', '48/2=24']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[48, 74, 80, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [48, 80, 2]
Generated Node #0,0: 56:[48, 80, 2] Operation: 74-72=2
Exploring Operation: 80-74=6, Resulting Numbers: [48, 72, 6]
Generated Node #0,1: 56:[48, 72, 6] Operation: 80-74=6
Exploring Operation: 80-72=8, Resulting Numbers: [48, 74, 8]
Generated Node #0,2: 56:[48, 74, 8] Operation: 80-72=8
Exploring Operation: 80-48=32, Resulting Numbers: [74, 72, 32]
Generated Node #0,3: 56:[74, 72, 32] Operation: 80-48=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[48, 72, 6], Operations: ['80-74=6']
Exploring Operation: 72/6=12, Resulting Numbers: [48, 12]
Generated Node #0,1,0: 56:[48, 12] Operation: 72/6=12
Exploring Operation: 72-48=24, Resulting Numbers: [6, 24]
Generated Node #0,1,1: 56:[6, 24] Operation: 72-48=24
Exploring Operation: 48+6=54, Resulting Numbers: [72, 54]
Generated Node #0,1,2: 56:[72, 54] Operation: 48+6=54
Exploring Operation: 48/6=8, Resulting Numbers: [72, 8]
Generated Node #0,1,3: 56:[72, 8] Operation: 48/6=8
Moving to Node #0,1,1
Current State: 56:[6, 24], Operations: ['80-74=6', '72-48=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[48, 12], Operations: ['80-74=6', '72/6=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,56 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,56 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Moving to Node #0,1,3
Current State: 56:[72, 8], Operations: ['80-74=6', '48/6=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,56 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[72, 54], Operations: ['80-74=6', '48+6=54']
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,56 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,56 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,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,2
Current State: 56:[48, 74, 8], Operations: ['80-72=8']
Exploring Operation: 48+8=56, Resulting Numbers: [74, 56]
Generated Node #0,2,0: 56:[74, 56] Operation: 48+8=56
Exploring Operation: 48/8=6, Resulting Numbers: [74, 6]
Generated Node #0,2,1: 56:[74, 6] Operation: 48/8=6
Exploring Operation: 74-48=26, Resulting Numbers: [8, 26]
Generated Node #0,2,2: 56:[8, 26] Operation: 74-48=26
Exploring Operation: 74-8=66, Resulting Numbers: [48, 66]
Generated Node #0,2,3: 56:[48, 66] Operation: 74-8=66
Moving to Node #0,2,2
Current State: 56:[8, 26], Operations: ['80-72=8', '74-48=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[48, 66], Operations: ['80-72=8', '74-8=66']
Exploring Operation: 48+66=114, Resulting Numbers: [114]
114,56 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 48*66=3168, Resulting Numbers: [3168]
3168,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[74, 56], Operations: ['80-72=8', '48+8=56']
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,56 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,56 unequal: No Solution
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[74, 6], Operations: ['80-72=8', '48/8=6']
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,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
Current State: 56:[48, 80, 2], Operations: ['74-72=2']
Exploring Operation: 48/2=24, Resulting Numbers: [80, 24]
Generated Node #0,0,0: 56:[80, 24] Operation: 48/2=24
Exploring Operation: 48+2=50, Resulting Numbers: [80, 50]
Generated Node #0,0,1: 56:[80, 50] Operation: 48+2=50
Exploring Operation: 80/2=40, Resulting Numbers: [48, 40]
Generated Node #0,0,2: 56:[48, 40] Operation: 80/2=40
Exploring Operation: 80-48=32, Resulting Numbers: [2, 32]
Generated Node #0,0,3: 56:[2, 32] Operation: 80-48=32
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[2, 32], Operations: ['74-72=2', '80-48=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No 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: 56:[48, 40], Operations: ['74-72=2', '80/2=40']
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,56 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,56 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No 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: 56:[80, 24], Operations: ['74-72=2', '48/2=24']
Exploring Operation: 80+24=104, Resulting Numbers: [104]
104,56 unequal: No Solution
Exploring Operation: 80*24=1920, Resulting Numbers: [1920]
1920,56 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[48, 74, 80, 72], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [48, 80, 2]
Generated Node #0,0: 56:[48, 80, 2] Operation: 74-72=2
Moving to Node #0,0
Current State: 56:[48, 80, 2], Operations: ['74-72=2']
Exploring Operation: 48/2=24, Resulting Numbers: [80, 24]
Generated Node #0,0,0: 56:[80, 24] Operation: 48/2=24
Moving to Node #0,0,0
Current State: 56:[80, 24], Operations: ['74-72=2', '48/2=24']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_4 | sum_heuristic |
[
3,
41,
57,
9
] | 22 | [
"3+41=44",
"57+9=66",
"66-44=22"
] | Current State: 22:[3, 41, 57, 9], Operations: []
Exploring Operation: 3+41=44, Resulting Numbers: [57, 9, 44]
Generated Node #2: [57, 9, 44] from Operation: 3+41=44
Current State: 22:[57, 9, 44], Operations: ['3+41=44']
Exploring Operation: 57+9=66, Resulting Numbers: [44, 66]
Generated Node #3: [44, 66] from Operation: 57+9=66
Current State: 22:[44, 66], Operations: ['3+41=44', '57+9=66']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[3, 41, 57, 9], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [3, 41, 48]
Generated Node #0,0: 22:[3, 41, 48] Operation: 57-9=48
Exploring Operation: 41-9=32, Resulting Numbers: [3, 57, 32]
Generated Node #0,1: 22:[3, 57, 32] Operation: 41-9=32
Exploring Operation: 57-41=16, Resulting Numbers: [3, 9, 16]
Generated Node #0,2: 22:[3, 9, 16] Operation: 57-41=16
Exploring Operation: 41-3=38, Resulting Numbers: [57, 9, 38]
Generated Node #0,3: 22:[57, 9, 38] Operation: 41-3=38
Exploring Operation: 57/3=19, Resulting Numbers: [41, 9, 19]
Generated Node #0,4: 22:[41, 9, 19] Operation: 57/3=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[3, 9, 16], Operations: ['57-41=16']
Exploring Operation: 3+16=19, Resulting Numbers: [9, 19]
Generated Node #0,2,0: 22:[9, 19] Operation: 3+16=19
Exploring Operation: 16-3=13, Resulting Numbers: [9, 13]
Generated Node #0,2,1: 22:[9, 13] Operation: 16-3=13
Exploring Operation: 16-9=7, Resulting Numbers: [3, 7]
Generated Node #0,2,2: 22:[3, 7] Operation: 16-9=7
Exploring Operation: 3+9=12, Resulting Numbers: [16, 12]
Generated Node #0,2,3: 22:[16, 12] Operation: 3+9=12
Exploring Operation: 9+16=25, Resulting Numbers: [3, 25]
Generated Node #0,2,4: 22:[3, 25] Operation: 9+16=25
Moving to Node #0,2,1
Current State: 22:[9, 13], Operations: ['57-41=16', '16-3=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,22 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[3, 41, 57, 9], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [3, 9, 16]
Generated Node #0,2: 22:[3, 9, 16] Operation: 57-41=16
Moving to Node #0,2
Current State: 22:[3, 9, 16], Operations: ['57-41=16']
Exploring Operation: 16-3=13, Resulting Numbers: [9, 13]
Generated Node #0,2,1: 22:[9, 13] Operation: 16-3=13
Moving to Node #0,2,1
Current State: 22:[9, 13], Operations: ['57-41=16', '16-3=13']
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
49,
23,
90,
24
] | 40 | [
"49-23=26",
"90-24=66",
"66-26=40"
] | Current State: 40:[49, 23, 90, 24], Operations: []
Exploring Operation: 49-23=26, Resulting Numbers: [90, 24, 26]
Generated Node #2: [90, 24, 26] from Operation: 49-23=26
Current State: 40:[90, 24, 26], Operations: ['49-23=26']
Exploring Operation: 90-24=66, Resulting Numbers: [26, 66]
Generated Node #3: [26, 66] from Operation: 90-24=66
Current State: 40:[26, 66], Operations: ['49-23=26', '90-24=66']
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[49, 23, 90, 24], Operations: []
Exploring Operation: 90-23=67, Resulting Numbers: [49, 24, 67]
Generated Node #0,0: 40:[49, 24, 67] Operation: 90-23=67
Exploring Operation: 90-24=66, Resulting Numbers: [49, 23, 66]
Generated Node #0,1: 40:[49, 23, 66] Operation: 90-24=66
Exploring Operation: 90-49=41, Resulting Numbers: [23, 24, 41]
Generated Node #0,2: 40:[23, 24, 41] Operation: 90-49=41
Moving to Node #0,2
Current State: 40:[23, 24, 41], Operations: ['90-49=41']
Exploring Operation: 41-23=18, Resulting Numbers: [24, 18]
Generated Node #0,2,0: 40:[24, 18] Operation: 41-23=18
Exploring Operation: 24-23=1, Resulting Numbers: [41, 1]
Generated Node #0,2,1: 40:[41, 1] Operation: 24-23=1
Exploring Operation: 41-24=17, Resulting Numbers: [23, 17]
Generated Node #0,2,2: 40:[23, 17] Operation: 41-24=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[41, 1], Operations: ['90-49=41', '24-23=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[49, 23, 90, 24], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [23, 24, 41]
Generated Node #0,2: 40:[23, 24, 41] Operation: 90-49=41
Moving to Node #0,2
Current State: 40:[23, 24, 41], Operations: ['90-49=41']
Exploring Operation: 24-23=1, Resulting Numbers: [41, 1]
Generated Node #0,2,1: 40:[41, 1] Operation: 24-23=1
Moving to Node #0,2,1
Current State: 40:[41, 1], Operations: ['90-49=41', '24-23=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
32,
86,
74,
22
] | 72 | [
"86-22=64",
"64/32=2",
"74-2=72"
] | Current State: 72:[32, 86, 74, 22], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [32, 74, 64]
Generated Node #2: [32, 74, 64] from Operation: 86-22=64
Current State: 72:[32, 74, 64], Operations: ['86-22=64']
Exploring Operation: 64/32=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 64/32=2
Current State: 72:[74, 2], Operations: ['86-22=64', '64/32=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[32, 86, 74, 22], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [32, 74, 64]
Generated Node #0,0: 72:[32, 74, 64] Operation: 86-22=64
Exploring Operation: 32-22=10, Resulting Numbers: [86, 74, 10]
Generated Node #0,1: 72:[86, 74, 10] Operation: 32-22=10
Exploring Operation: 86-74=12, Resulting Numbers: [32, 22, 12]
Generated Node #0,2: 72:[32, 22, 12] Operation: 86-74=12
Exploring Operation: 86-32=54, Resulting Numbers: [74, 22, 54]
Generated Node #0,3: 72:[74, 22, 54] Operation: 86-32=54
Moving to Node #0,2
Current State: 72:[32, 22, 12], Operations: ['86-74=12']
Exploring Operation: 22-12=10, Resulting Numbers: [32, 10]
Generated Node #0,2,0: 72:[32, 10] Operation: 22-12=10
Exploring Operation: 32-22=10, Resulting Numbers: [12, 10]
Generated Node #0,2,1: 72:[12, 10] Operation: 32-22=10
Exploring Operation: 22+12=34, Resulting Numbers: [32, 34]
Generated Node #0,2,2: 72:[32, 34] Operation: 22+12=34
Exploring Operation: 32-12=20, Resulting Numbers: [22, 20]
Generated Node #0,2,3: 72:[22, 20] Operation: 32-12=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[12, 10], Operations: ['86-74=12', '32-22=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 72:[22, 20], Operations: ['86-74=12', '32-12=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 72:[32, 10], Operations: ['86-74=12', '22-12=10']
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,72 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 72:[32, 34], Operations: ['86-74=12', '22+12=34']
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,72 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,72 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: 72:[32, 74, 64], Operations: ['86-22=64']
Exploring Operation: 64-32=32, Resulting Numbers: [74, 32]
Generated Node #0,0,0: 72:[74, 32] Operation: 64-32=32
Exploring Operation: 74-32=42, Resulting Numbers: [64, 42]
Generated Node #0,0,1: 72:[64, 42] Operation: 74-32=42
Exploring Operation: 64/32=2, Resulting Numbers: [74, 2]
Generated Node #0,0,2: 72:[74, 2] Operation: 64/32=2
Exploring Operation: 74-64=10, Resulting Numbers: [32, 10]
Generated Node #0,0,3: 72:[32, 10] Operation: 74-64=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[74, 2], Operations: ['86-22=64', '64/32=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[32, 86, 74, 22], Operations: []
Exploring Operation: 86-22=64, Resulting Numbers: [32, 74, 64]
Generated Node #0,0: 72:[32, 74, 64] Operation: 86-22=64
Moving to Node #0,0
Current State: 72:[32, 74, 64], Operations: ['86-22=64']
Exploring Operation: 64/32=2, Resulting Numbers: [74, 2]
Generated Node #0,0,2: 72:[74, 2] Operation: 64/32=2
Moving to Node #0,0,2
Current State: 72:[74, 2], Operations: ['86-22=64', '64/32=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
27,
68,
78,
10
] | 73 | [
"78-68=10",
"10*10=100",
"100-27=73"
] | Current State: 73:[27, 68, 78, 10], Operations: []
Exploring Operation: 78-68=10, Resulting Numbers: [27, 10, 10]
Generated Node #2: [27, 10, 10] from Operation: 78-68=10
Current State: 73:[27, 10, 10], Operations: ['78-68=10']
Exploring Operation: 10*10=100, Resulting Numbers: [27, 100]
Generated Node #3: [27, 100] from Operation: 10*10=100
Current State: 73:[27, 100], Operations: ['78-68=10', '10*10=100']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[27, 68, 78, 10], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [68, 78, 17]
Generated Node #0,0: 73:[68, 78, 17] Operation: 27-10=17
Exploring Operation: 68+10=78, Resulting Numbers: [27, 78, 78]
Generated Node #0,1: 73:[27, 78, 78] Operation: 68+10=78
Exploring Operation: 68-10=58, Resulting Numbers: [27, 78, 58]
Generated Node #0,2: 73:[27, 78, 58] Operation: 68-10=58
Exploring Operation: 78-10=68, Resulting Numbers: [27, 68, 68]
Generated Node #0,3: 73:[27, 68, 68] Operation: 78-10=68
Exploring Operation: 27+10=37, Resulting Numbers: [68, 78, 37]
Generated Node #0,4: 73:[68, 78, 37] Operation: 27+10=37
Start Sub Search at level 1: Moving to Node #0,4
Current State: 73:[68, 78, 37], Operations: ['27+10=37']
Exploring Operation: 78-37=41, Resulting Numbers: [68, 41]
Generated Node #0,4,0: 73:[68, 41] Operation: 78-37=41
Exploring Operation: 68-37=31, Resulting Numbers: [78, 31]
Generated Node #0,4,1: 73:[78, 31] Operation: 68-37=31
Exploring Operation: 68+37=105, Resulting Numbers: [78, 105]
Generated Node #0,4,2: 73:[78, 105] Operation: 68+37=105
Exploring Operation: 78-68=10, Resulting Numbers: [37, 10]
Generated Node #0,4,3: 73:[37, 10] Operation: 78-68=10
Exploring Operation: 78+37=115, Resulting Numbers: [68, 115]
Generated Node #0,4,4: 73:[68, 115] Operation: 78+37=115
Moving to Node #0,4,0
Current State: 73:[68, 41], Operations: ['27+10=37', '78-37=41']
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,73 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[78, 105], Operations: ['27+10=37', '68+37=105']
Exploring Operation: 78+105=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Exploring Operation: 105-78=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 78*105=8190, Resulting Numbers: [8190]
8190,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[78, 31], Operations: ['27+10=37', '68-37=31']
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,73 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[68, 115], Operations: ['27+10=37', '78+37=115']
Exploring Operation: 68+115=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Exploring Operation: 68*115=7820, Resulting Numbers: [7820]
7820,73 unequal: No Solution
Exploring Operation: 115-68=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,4,3
Current State: 73:[37, 10], Operations: ['27+10=37', '78-68=10']
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,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,1
Current State: 73:[27, 78, 78], Operations: ['68+10=78']
Exploring Operation: 78-27=51, Resulting Numbers: [78, 51]
Generated Node #0,1,0: 73:[78, 51] Operation: 78-27=51
Exploring Operation: 27+78=105, Resulting Numbers: [78, 105]
Generated Node #0,1,1: 73:[78, 105] Operation: 27+78=105
Exploring Operation: 78/78=1, Resulting Numbers: [27, 1]
Generated Node #0,1,2: 73:[27, 1] Operation: 78/78=1
Exploring Operation: 78-27=51, Resulting Numbers: [78, 51]
Generated Node #0,1,3: 73:[78, 51] Operation: 78-27=51
Exploring Operation: 27+78=105, Resulting Numbers: [78, 105]
Generated Node #0,1,4: 73:[78, 105] Operation: 27+78=105
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[78, 51], Operations: ['68+10=78', '78-27=51']
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,73 unequal: No Solution
Exploring Operation: 78-51=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,1,3
Current State: 73:[78, 51], Operations: ['68+10=78', '78-27=51']
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,73 unequal: No Solution
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,73 unequal: No Solution
Exploring Operation: 78-51=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,1,1
Current State: 73:[78, 105], Operations: ['68+10=78', '27+78=105']
Exploring Operation: 105-78=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 78*105=8190, Resulting Numbers: [8190]
8190,73 unequal: No Solution
Exploring Operation: 78+105=183, Resulting Numbers: [183]
183,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,1,4
Current State: 73:[78, 105], Operations: ['68+10=78', '27+78=105']
Exploring Operation: 105-78=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 78*105=8190, Resulting Numbers: [8190]
8190,73 unequal: No Solution
Exploring Operation: 78+105=183, Resulting Numbers: [183]
183,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,1,2
Current State: 73:[27, 1], Operations: ['68+10=78', '78/78=1']
Exploring Operation: 27*1=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,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:[27, 68, 68], Operations: ['78-10=68']
Exploring Operation: 68+68=136, Resulting Numbers: [27, 136]
Generated Node #0,3,0: 73:[27, 136] Operation: 68+68=136
Exploring Operation: 68-27=41, Resulting Numbers: [68, 41]
Generated Node #0,3,1: 73:[68, 41] Operation: 68-27=41
Exploring Operation: 27+68=95, Resulting Numbers: [68, 95]
Generated Node #0,3,2: 73:[68, 95] Operation: 27+68=95
Exploring Operation: 68-27=41, Resulting Numbers: [68, 41]
Generated Node #0,3,3: 73:[68, 41] Operation: 68-27=41
Exploring Operation: 27+68=95, Resulting Numbers: [68, 95]
Generated Node #0,3,4: 73:[68, 95] Operation: 27+68=95
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 73:[68, 95], Operations: ['78-10=68', '27+68=95']
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,73 unequal: No Solution
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 95-68=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,3,4
Current State: 73:[68, 95], Operations: ['78-10=68', '27+68=95']
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,73 unequal: No Solution
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 95-68=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,3,1
Current State: 73:[68, 41], Operations: ['78-10=68', '68-27=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,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,3,3
Current State: 73:[68, 41], Operations: ['78-10=68', '68-27=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,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,3,0
Current State: 73:[27, 136], Operations: ['78-10=68', '68+68=136']
Exploring Operation: 27+136=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 136-27=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 27*136=3672, Resulting Numbers: [3672]
3672,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,0
Current State: 73:[68, 78, 17], Operations: ['27-10=17']
Exploring Operation: 78-17=61, Resulting Numbers: [68, 61]
Generated Node #0,0,0: 73:[68, 61] Operation: 78-17=61
Exploring Operation: 68-17=51, Resulting Numbers: [78, 51]
Generated Node #0,0,1: 73:[78, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [78, 4]
Generated Node #0,0,2: 73:[78, 4] Operation: 68/17=4
Exploring Operation: 78+17=95, Resulting Numbers: [68, 95]
Generated Node #0,0,3: 73:[68, 95] Operation: 78+17=95
Exploring Operation: 68+17=85, Resulting Numbers: [78, 85]
Generated Node #0,0,4: 73:[78, 85] Operation: 68+17=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[68, 61], Operations: ['27-10=17', '78-17=61']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,73 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,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,4
Current State: 73:[78, 85], Operations: ['27-10=17', '68+17=85']
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,73 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,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:[78, 51], Operations: ['27-10=17', '68-17=51']
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,73 unequal: No Solution
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,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:[68, 95], Operations: ['27-10=17', '78+17=95']
Exploring Operation: 68*95=6460, Resulting Numbers: [6460]
6460,73 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 68+95=163, Resulting Numbers: [163]
163,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:[78, 4], Operations: ['27-10=17', '68/17=4']
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,73 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,73 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,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,2
Current State: 73:[27, 78, 58], Operations: ['68-10=58']
Exploring Operation: 58-27=31, Resulting Numbers: [78, 31]
Generated Node #0,2,0: 73:[78, 31] Operation: 58-27=31
Exploring Operation: 78-27=51, Resulting Numbers: [58, 51]
Generated Node #0,2,1: 73:[58, 51] Operation: 78-27=51
Exploring Operation: 27+78=105, Resulting Numbers: [58, 105]
Generated Node #0,2,2: 73:[58, 105] Operation: 27+78=105
Exploring Operation: 27+58=85, Resulting Numbers: [78, 85]
Generated Node #0,2,3: 73:[78, 85] Operation: 27+58=85
Exploring Operation: 78-58=20, Resulting Numbers: [27, 20]
Generated Node #0,2,4: 73:[27, 20] Operation: 78-58=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 73:[78, 85], Operations: ['68-10=58', '27+58=85']
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,73 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,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,1
Current State: 73:[58, 51], Operations: ['68-10=58', '78-27=51']
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,73 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,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:[78, 31], Operations: ['68-10=58', '58-27=31']
Exploring Operation: 78*31=2418, Resulting Numbers: [2418]
2418,73 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 78+31=109, Resulting Numbers: [109]
109,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:[58, 105], Operations: ['68-10=58', '27+78=105']
Exploring Operation: 58*105=6090, Resulting Numbers: [6090]
6090,73 unequal: No Solution
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 58+105=163, Resulting Numbers: [163]
163,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,4
Current State: 73:[27, 20], Operations: ['68-10=58', '78-58=20']
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,73 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
49,
81,
3,
8
] | 58 | [
"49*3=147",
"81+8=89",
"147-89=58"
] | Current State: 58:[49, 81, 3, 8], Operations: []
Exploring Operation: 49*3=147, Resulting Numbers: [81, 8, 147]
Generated Node #2: [81, 8, 147] from Operation: 49*3=147
Current State: 58:[81, 8, 147], Operations: ['49*3=147']
Exploring Operation: 81+8=89, Resulting Numbers: [147, 89]
Generated Node #3: [147, 89] from Operation: 81+8=89
Current State: 58:[147, 89], Operations: ['49*3=147', '81+8=89']
Exploring Operation: 147-89=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[49, 81, 3, 8], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [3, 8, 32]
Generated Node #0,0: 58:[3, 8, 32] Operation: 81-49=32
Exploring Operation: 81/3=27, Resulting Numbers: [49, 8, 27]
Generated Node #0,1: 58:[49, 8, 27] Operation: 81/3=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[3, 8, 32], Operations: ['81-49=32']
Exploring Operation: 32/8=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 58:[3, 4] Operation: 32/8=4
Exploring Operation: 8-3=5, Resulting Numbers: [32, 5]
Generated Node #0,0,1: 58:[32, 5] Operation: 8-3=5
Moving to Node #0,0,0
Current State: 58:[3, 4], Operations: ['81-49=32', '32/8=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[32, 5], Operations: ['81-49=32', '8-3=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,58 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,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:[49, 8, 27], Operations: ['81/3=27']
Exploring Operation: 49-27=22, Resulting Numbers: [8, 22]
Generated Node #0,1,0: 58:[8, 22] Operation: 49-27=22
Exploring Operation: 49+8=57, Resulting Numbers: [27, 57]
Generated Node #0,1,1: 58:[27, 57] Operation: 49+8=57
Moving to Node #0,1,1
Current State: 58:[27, 57], Operations: ['81/3=27', '49+8=57']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[8, 22], Operations: ['81/3=27', '49-27=22']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
22,
86,
52
] | 70 | [
"90-22=68",
"86+52=138",
"138-68=70"
] | Current State: 70:[90, 22, 86, 52], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [86, 52, 68]
Generated Node #2: [86, 52, 68] from Operation: 90-22=68
Current State: 70:[86, 52, 68], Operations: ['90-22=68']
Exploring Operation: 86+52=138, Resulting Numbers: [68, 138]
Generated Node #3: [68, 138] from Operation: 86+52=138
Current State: 70:[68, 138], Operations: ['90-22=68', '86+52=138']
Exploring Operation: 138-68=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[90, 22, 86, 52], Operations: []
Exploring Operation: 86-52=34, Resulting Numbers: [90, 22, 34]
Generated Node #0,0: 70:[90, 22, 34] Operation: 86-52=34
Exploring Operation: 90-86=4, Resulting Numbers: [22, 52, 4]
Generated Node #0,1: 70:[22, 52, 4] Operation: 90-86=4
Exploring Operation: 90-52=38, Resulting Numbers: [22, 86, 38]
Generated Node #0,2: 70:[22, 86, 38] Operation: 90-52=38
Moving to Node #0,1
Current State: 70:[22, 52, 4], Operations: ['90-86=4']
Exploring Operation: 52/4=13, Resulting Numbers: [22, 13]
Generated Node #0,1,0: 70:[22, 13] Operation: 52/4=13
Exploring Operation: 52-22=30, Resulting Numbers: [4, 30]
Generated Node #0,1,1: 70:[4, 30] Operation: 52-22=30
Exploring Operation: 22+52=74, Resulting Numbers: [4, 74]
Generated Node #0,1,2: 70:[4, 74] Operation: 22+52=74
Moving to Node #0,2
Current State: 70:[22, 86, 38], Operations: ['90-52=38']
Exploring Operation: 86-22=64, Resulting Numbers: [38, 64]
Generated Node #0,2,0: 70:[38, 64] Operation: 86-22=64
Exploring Operation: 86-38=48, Resulting Numbers: [22, 48]
Generated Node #0,2,1: 70:[22, 48] Operation: 86-38=48
Exploring Operation: 38-22=16, Resulting Numbers: [86, 16]
Generated Node #0,2,2: 70:[86, 16] Operation: 38-22=16
Moving to Node #0,0
Current State: 70:[90, 22, 34], Operations: ['86-52=34']
Exploring Operation: 34-22=12, Resulting Numbers: [90, 12]
Generated Node #0,0,0: 70:[90, 12] Operation: 34-22=12
Exploring Operation: 90-22=68, Resulting Numbers: [34, 68]
Generated Node #0,0,1: 70:[34, 68] Operation: 90-22=68
Exploring Operation: 90-34=56, Resulting Numbers: [22, 56]
Generated Node #0,0,2: 70:[22, 56] Operation: 90-34=56
Moving to Node #0,0,1
Current State: 70:[34, 68], Operations: ['86-52=34', '90-22=68']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[4, 74], Operations: ['90-86=4', '22+52=74']
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,70 unequal: No Solution
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,70 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[90, 22, 86, 52], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [22, 52, 4]
Generated Node #0,1: 70:[22, 52, 4] Operation: 90-86=4
Moving to Node #0,1
Current State: 70:[22, 52, 4], Operations: ['90-86=4']
Exploring Operation: 22+52=74, Resulting Numbers: [4, 74]
Generated Node #0,1,2: 70:[4, 74] Operation: 22+52=74
Moving to Node #0,1,2
Current State: 70:[4, 74], Operations: ['90-86=4', '22+52=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.980903 | hs_3 | mult_heuristic |
[
27,
7,
30,
32
] | 75 | [
"30-27=3",
"32-7=25",
"3*25=75"
] | Current State: 75:[27, 7, 30, 32], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [7, 32, 3]
Generated Node #2: [7, 32, 3] from Operation: 30-27=3
Current State: 75:[7, 32, 3], Operations: ['30-27=3']
Exploring Operation: 32-7=25, Resulting Numbers: [3, 25]
Generated Node #3: [3, 25] from Operation: 32-7=25
Current State: 75:[3, 25], Operations: ['30-27=3', '32-7=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[27, 7, 30, 32], Operations: []
Exploring Operation: 32-27=5, Resulting Numbers: [7, 30, 5]
Generated Node #0,0: 75:[7, 30, 5] Operation: 32-27=5
Exploring Operation: 32-7=25, Resulting Numbers: [27, 30, 25]
Generated Node #0,1: 75:[27, 30, 25] Operation: 32-7=25
Exploring Operation: 32-30=2, Resulting Numbers: [27, 7, 2]
Generated Node #0,2: 75:[27, 7, 2] Operation: 32-30=2
Moving to Node #0,2
Current State: 75:[27, 7, 2], Operations: ['32-30=2']
Exploring Operation: 7-2=5, Resulting Numbers: [27, 5]
Generated Node #0,2,0: 75:[27, 5] Operation: 7-2=5
Exploring Operation: 27-2=25, Resulting Numbers: [7, 25]
Generated Node #0,2,1: 75:[7, 25] Operation: 27-2=25
Exploring Operation: 7*2=14, Resulting Numbers: [27, 14]
Generated Node #0,2,2: 75:[27, 14] Operation: 7*2=14
Moving to Node #0,0
Current State: 75:[7, 30, 5], Operations: ['32-27=5']
Exploring Operation: 30-5=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 75:[7, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [7, 6]
Generated Node #0,0,1: 75:[7, 6] Operation: 30/5=6
Exploring Operation: 30-7=23, Resulting Numbers: [5, 23]
Generated Node #0,0,2: 75:[5, 23] Operation: 30-7=23
Moving to Node #0,1
Current State: 75:[27, 30, 25], Operations: ['32-7=25']
Exploring Operation: 30-27=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 75:[25, 3] Operation: 30-27=3
Exploring Operation: 27-25=2, Resulting Numbers: [30, 2]
Generated Node #0,1,1: 75:[30, 2] Operation: 27-25=2
Exploring Operation: 30-25=5, Resulting Numbers: [27, 5]
Generated Node #0,1,2: 75:[27, 5] Operation: 30-25=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[25, 3], Operations: ['32-7=25', '30-27=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[27, 7, 30, 32], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [27, 30, 25]
Generated Node #0,1: 75:[27, 30, 25] Operation: 32-7=25
Moving to Node #0,1
Current State: 75:[27, 30, 25], Operations: ['32-7=25']
Exploring Operation: 30-27=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 75:[25, 3] Operation: 30-27=3
Moving to Node #0,1,0
Current State: 75:[25, 3], Operations: ['32-7=25', '30-27=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
8,
82,
26,
90
] | 90 | [
"90-82=8",
"8*8=64",
"26+64=90"
] | Current State: 90:[8, 82, 26, 90], Operations: []
Exploring Operation: 90-82=8, Resulting Numbers: [8, 26, 8]
Generated Node #2: [8, 26, 8] from Operation: 90-82=8
Current State: 90:[8, 26, 8], Operations: ['90-82=8']
Exploring Operation: 8*8=64, Resulting Numbers: [26, 64]
Generated Node #3: [26, 64] from Operation: 8*8=64
Current State: 90:[26, 64], Operations: ['90-82=8', '8*8=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[8, 82, 26, 90], Operations: []
Exploring Operation: 8+82=90, Resulting Numbers: [26, 90, 90]
Generated Node #0,0: 90:[26, 90, 90] Operation: 8+82=90
Moving to Node #0,0
Current State: 90:[26, 90, 90], Operations: ['8+82=90']
Exploring Operation: 90/90=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 90:[26, 1] Operation: 90/90=1
Moving to Node #0,0,0
Current State: 90:[26, 1], Operations: ['8+82=90', '90/90=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,90 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
22,
96,
51,
25
] | 83 | [
"25-22=3",
"96/3=32",
"51+32=83"
] | Current State: 83:[22, 96, 51, 25], Operations: []
Exploring Operation: 25-22=3, Resulting Numbers: [96, 51, 3]
Generated Node #2: [96, 51, 3] from Operation: 25-22=3
Current State: 83:[96, 51, 3], Operations: ['25-22=3']
Exploring Operation: 96/3=32, Resulting Numbers: [51, 32]
Generated Node #3: [51, 32] from Operation: 96/3=32
Current State: 83:[51, 32], Operations: ['25-22=3', '96/3=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[22, 96, 51, 25], Operations: []
Exploring Operation: 22+51=73, Resulting Numbers: [96, 25, 73]
Generated Node #0,0: 83:[96, 25, 73] Operation: 22+51=73
Exploring Operation: 96-22=74, Resulting Numbers: [51, 25, 74]
Generated Node #0,1: 83:[51, 25, 74] Operation: 96-22=74
Exploring Operation: 22+25=47, Resulting Numbers: [96, 51, 47]
Generated Node #0,2: 83:[96, 51, 47] Operation: 22+25=47
Exploring Operation: 51+25=76, Resulting Numbers: [22, 96, 76]
Generated Node #0,3: 83:[22, 96, 76] Operation: 51+25=76
Moving to Node #0,0
Current State: 83:[96, 25, 73], Operations: ['22+51=73']
Exploring Operation: 96-25=71, Resulting Numbers: [73, 71]
Generated Node #0,0,0: 83:[73, 71] Operation: 96-25=71
Exploring Operation: 73-25=48, Resulting Numbers: [96, 48]
Generated Node #0,0,1: 83:[96, 48] Operation: 73-25=48
Exploring Operation: 96+25=121, Resulting Numbers: [73, 121]
Generated Node #0,0,2: 83:[73, 121] Operation: 96+25=121
Exploring Operation: 25+73=98, Resulting Numbers: [96, 98]
Generated Node #0,0,3: 83:[96, 98] Operation: 25+73=98
Moving to Node #0,3
Current State: 83:[22, 96, 76], Operations: ['51+25=76']
Exploring Operation: 22+76=98, Resulting Numbers: [96, 98]
Generated Node #0,3,0: 83:[96, 98] Operation: 22+76=98
Exploring Operation: 96-22=74, Resulting Numbers: [76, 74]
Generated Node #0,3,1: 83:[76, 74] Operation: 96-22=74
Exploring Operation: 76-22=54, Resulting Numbers: [96, 54]
Generated Node #0,3,2: 83:[96, 54] Operation: 76-22=54
Exploring Operation: 22+96=118, Resulting Numbers: [76, 118]
Generated Node #0,3,3: 83:[76, 118] Operation: 22+96=118
Moving to Node #0,2
Current State: 83:[96, 51, 47], Operations: ['22+25=47']
Exploring Operation: 96-51=45, Resulting Numbers: [47, 45]
Generated Node #0,2,0: 83:[47, 45] Operation: 96-51=45
Exploring Operation: 51+47=98, Resulting Numbers: [96, 98]
Generated Node #0,2,1: 83:[96, 98] Operation: 51+47=98
Exploring Operation: 96+47=143, Resulting Numbers: [51, 143]
Generated Node #0,2,2: 83:[51, 143] Operation: 96+47=143
Exploring Operation: 96-47=49, Resulting Numbers: [51, 49]
Generated Node #0,2,3: 83:[51, 49] Operation: 96-47=49
Moving to Node #0,1
Current State: 83:[51, 25, 74], Operations: ['96-22=74']
Exploring Operation: 74-25=49, Resulting Numbers: [51, 49]
Generated Node #0,1,0: 83:[51, 49] Operation: 74-25=49
Exploring Operation: 25+74=99, Resulting Numbers: [51, 99]
Generated Node #0,1,1: 83:[51, 99] Operation: 25+74=99
Exploring Operation: 51+25=76, Resulting Numbers: [74, 76]
Generated Node #0,1,2: 83:[74, 76] Operation: 51+25=76
Exploring Operation: 51-25=26, Resulting Numbers: [74, 26]
Generated Node #0,1,3: 83:[74, 26] Operation: 51-25=26
Moving to Node #0,3,1
Current State: 83:[76, 74], Operations: ['51+25=76', '96-22=74']
Exploring Operation: 76*74=5624, Resulting Numbers: [5624]
5624,83 unequal: No Solution
Exploring Operation: 76+74=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[74, 76], Operations: ['96-22=74', '51+25=76']
Exploring Operation: 74+76=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 74*76=5624, Resulting Numbers: [5624]
5624,83 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[73, 71], Operations: ['22+51=73', '96-25=71']
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 73*71=5183, Resulting Numbers: [5183]
5183,83 unequal: No Solution
Exploring Operation: 73+71=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[96, 98], Operations: ['51+25=76', '22+76=98']
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,83 unequal: No Solution
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[96, 98], Operations: ['22+51=73', '25+73=98']
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[96, 98], Operations: ['22+25=47', '51+47=98']
Exploring Operation: 96+98=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 96*98=9408, Resulting Numbers: [9408]
9408,83 unequal: No Solution
Exploring Operation: 98-96=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[96, 54], Operations: ['51+25=76', '76-22=54']
Exploring Operation: 96+54=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Exploring Operation: 96*54=5184, Resulting Numbers: [5184]
5184,83 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[76, 118], Operations: ['51+25=76', '22+96=118']
Exploring Operation: 76*118=8968, Resulting Numbers: [8968]
8968,83 unequal: No Solution
Exploring Operation: 76+118=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 118-76=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[51, 99], Operations: ['96-22=74', '25+74=99']
Exploring Operation: 51*99=5049, Resulting Numbers: [5049]
5049,83 unequal: No Solution
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 51+99=150, Resulting Numbers: [150]
150,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[96, 48], Operations: ['22+51=73', '73-25=48']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 96+48=144, Resulting Numbers: [144]
144,83 unequal: No Solution
Exploring Operation: 96*48=4608, Resulting Numbers: [4608]
4608,83 unequal: No Solution
Exploring Operation: 96-48=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[73, 121], Operations: ['22+51=73', '96+25=121']
Exploring Operation: 73+121=194, Resulting Numbers: [194]
194,83 unequal: No Solution
Exploring Operation: 121-73=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 73*121=8833, Resulting Numbers: [8833]
8833,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[51, 49], Operations: ['96-22=74', '74-25=49']
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,83 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[51, 49], Operations: ['22+25=47', '96-47=49']
Exploring Operation: 51*49=2499, Resulting Numbers: [2499]
2499,83 unequal: No Solution
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[74, 26], Operations: ['96-22=74', '51-25=26']
Exploring Operation: 74+26=100, Resulting Numbers: [100]
100,83 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 74*26=1924, Resulting Numbers: [1924]
1924,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[47, 45], Operations: ['22+25=47', '96-51=45']
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,83 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[51, 143], Operations: ['22+25=47', '96+47=143']
Exploring Operation: 51*143=7293, Resulting Numbers: [7293]
7293,83 unequal: No Solution
Exploring Operation: 143-51=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 51+143=194, Resulting Numbers: [194]
194,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
48,
4,
28,
17
] | 63 | [
"48+4=52",
"28-17=11",
"52+11=63"
] | Current State: 63:[48, 4, 28, 17], Operations: []
Exploring Operation: 48+4=52, Resulting Numbers: [28, 17, 52]
Generated Node #2: [28, 17, 52] from Operation: 48+4=52
Current State: 63:[28, 17, 52], Operations: ['48+4=52']
Exploring Operation: 28-17=11, Resulting Numbers: [52, 11]
Generated Node #3: [52, 11] from Operation: 28-17=11
Current State: 63:[52, 11], Operations: ['48+4=52', '28-17=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[48, 4, 28, 17], Operations: []
Exploring Operation: 48-28=20, Resulting Numbers: [4, 17, 20]
Generated Node #0,0: 63:[4, 17, 20] Operation: 48-28=20
Exploring Operation: 48+17=65, Resulting Numbers: [4, 28, 65]
Generated Node #0,1: 63:[4, 28, 65] Operation: 48+17=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[4, 17, 20], Operations: ['48-28=20']
Exploring Operation: 20-17=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 63:[4, 3] Operation: 20-17=3
Exploring Operation: 4+17=21, Resulting Numbers: [20, 21]
Generated Node #0,0,1: 63:[20, 21] Operation: 4+17=21
Moving to Node #0,0,0
Current State: 63:[4, 3], Operations: ['48-28=20', '20-17=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[20, 21], Operations: ['48-28=20', '4+17=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[4, 28, 65], Operations: ['48+17=65']
Exploring Operation: 28/4=7, Resulting Numbers: [65, 7]
Generated Node #0,1,0: 63:[65, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [65, 24]
Generated Node #0,1,1: 63:[65, 24] Operation: 28-4=24
Moving to Node #0,1,0
Current State: 63:[65, 7], Operations: ['48+17=65', '28/4=7']
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 65+7=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[65, 24], Operations: ['48+17=65', '28-4=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,63 unequal: No Solution
Exploring Operation: 65+24=89, Resulting Numbers: [89]
89,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
10,
7,
1,
42
] | 61 | [
"10*42=420",
"420/7=60",
"1+60=61"
] | Current State: 61:[10, 7, 1, 42], Operations: []
Exploring Operation: 10*42=420, Resulting Numbers: [7, 1, 420]
Generated Node #2: [7, 1, 420] from Operation: 10*42=420
Current State: 61:[7, 1, 420], Operations: ['10*42=420']
Exploring Operation: 420/7=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 420/7=60
Current State: 61:[1, 60], Operations: ['10*42=420', '420/7=60']
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[10, 7, 1, 42], Operations: []
Exploring Operation: 10*7=70, Resulting Numbers: [1, 42, 70]
Generated Node #0,0: 61:[1, 42, 70] Operation: 10*7=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[1, 42, 70], Operations: ['10*7=70']
Exploring Operation: 1+42=43, Resulting Numbers: [70, 43]
Generated Node #0,0,0: 61:[70, 43] Operation: 1+42=43
Moving to Node #0,0,0
Current State: 61:[70, 43], Operations: ['10*7=70', '1+42=43']
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
14,
88,
53,
18
] | 75 | [
"18-14=4",
"88/4=22",
"53+22=75"
] | Current State: 75:[14, 88, 53, 18], Operations: []
Exploring Operation: 18-14=4, Resulting Numbers: [88, 53, 4]
Generated Node #2: [88, 53, 4] from Operation: 18-14=4
Current State: 75:[88, 53, 4], Operations: ['18-14=4']
Exploring Operation: 88/4=22, Resulting Numbers: [53, 22]
Generated Node #3: [53, 22] from Operation: 88/4=22
Current State: 75:[53, 22], Operations: ['18-14=4', '88/4=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[14, 88, 53, 18], Operations: []
Exploring Operation: 53+18=71, Resulting Numbers: [14, 88, 71]
Generated Node #0,0: 75:[14, 88, 71] Operation: 53+18=71
Exploring Operation: 88-53=35, Resulting Numbers: [14, 18, 35]
Generated Node #0,1: 75:[14, 18, 35] Operation: 88-53=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[14, 18, 35], Operations: ['88-53=35']
Exploring Operation: 35-18=17, Resulting Numbers: [14, 17]
Generated Node #0,1,0: 75:[14, 17] Operation: 35-18=17
Exploring Operation: 35-14=21, Resulting Numbers: [18, 21]
Generated Node #0,1,1: 75:[18, 21] Operation: 35-14=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[14, 17], Operations: ['88-53=35', '35-18=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[18, 21], Operations: ['88-53=35', '35-14=21']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[14, 88, 71], Operations: ['53+18=71']
Exploring Operation: 88-14=74, Resulting Numbers: [71, 74]
Generated Node #0,0,0: 75:[71, 74] Operation: 88-14=74
Exploring Operation: 88-71=17, Resulting Numbers: [14, 17]
Generated Node #0,0,1: 75:[14, 17] Operation: 88-71=17
Moving to Node #0,0,1
Current State: 75:[14, 17], Operations: ['53+18=71', '88-71=17']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[71, 74], Operations: ['53+18=71', '88-14=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,75 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
55,
44,
45
] | 59 | [
"58-55=3",
"45/3=15",
"44+15=59"
] | Current State: 59:[58, 55, 44, 45], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [44, 45, 3]
Generated Node #2: [44, 45, 3] from Operation: 58-55=3
Current State: 59:[44, 45, 3], Operations: ['58-55=3']
Exploring Operation: 45/3=15, Resulting Numbers: [44, 15]
Generated Node #3: [44, 15] from Operation: 45/3=15
Current State: 59:[44, 15], Operations: ['58-55=3', '45/3=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[58, 55, 44, 45], Operations: []
Exploring Operation: 55+44=99, Resulting Numbers: [58, 45, 99]
Generated Node #0,0: 59:[58, 45, 99] Operation: 55+44=99
Exploring Operation: 44+45=89, Resulting Numbers: [58, 55, 89]
Generated Node #0,1: 59:[58, 55, 89] Operation: 44+45=89
Moving to Node #0,1
Current State: 59:[58, 55, 89], Operations: ['44+45=89']
Exploring Operation: 89-58=31, Resulting Numbers: [55, 31]
Generated Node #0,1,0: 59:[55, 31] Operation: 89-58=31
Exploring Operation: 89-55=34, Resulting Numbers: [58, 34]
Generated Node #0,1,1: 59:[58, 34] Operation: 89-55=34
Moving to Node #0,0
Current State: 59:[58, 45, 99], Operations: ['55+44=99']
Exploring Operation: 99-58=41, Resulting Numbers: [45, 41]
Generated Node #0,0,0: 59:[45, 41] Operation: 99-58=41
Exploring Operation: 99-45=54, Resulting Numbers: [58, 54]
Generated Node #0,0,1: 59:[58, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[58, 54], Operations: ['55+44=99', '99-45=54']
Exploring Operation: 58+54=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Exploring Operation: 58-54=4, Resulting Numbers: [4]
4,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[45, 41], Operations: ['55+44=99', '99-58=41']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,59 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: 59:[58, 34], Operations: ['44+45=89', '89-55=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[55, 31], Operations: ['44+45=89', '89-58=31']
Exploring Operation: 55-31=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 55+31=86, Resulting Numbers: [86]
86,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
11,
87,
6
] | 67 | [
"25-11=14",
"87-6=81",
"81-14=67"
] | Current State: 67:[25, 11, 87, 6], Operations: []
Exploring Operation: 25-11=14, Resulting Numbers: [87, 6, 14]
Generated Node #2: [87, 6, 14] from Operation: 25-11=14
Current State: 67:[87, 6, 14], Operations: ['25-11=14']
Exploring Operation: 87-6=81, Resulting Numbers: [14, 81]
Generated Node #3: [14, 81] from Operation: 87-6=81
Current State: 67:[14, 81], Operations: ['25-11=14', '87-6=81']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[25, 11, 87, 6], Operations: []
Exploring Operation: 11+6=17, Resulting Numbers: [25, 87, 17]
Generated Node #0,0: 67:[25, 87, 17] Operation: 11+6=17
Exploring Operation: 25+6=31, Resulting Numbers: [11, 87, 31]
Generated Node #0,1: 67:[11, 87, 31] Operation: 25+6=31
Exploring Operation: 25+11=36, Resulting Numbers: [87, 6, 36]
Generated Node #0,2: 67:[87, 6, 36] Operation: 25+11=36
Exploring Operation: 87-11=76, Resulting Numbers: [25, 6, 76]
Generated Node #0,3: 67:[25, 6, 76] Operation: 87-11=76
Exploring Operation: 11*6=66, Resulting Numbers: [25, 87, 66]
Generated Node #0,4: 67:[25, 87, 66] Operation: 11*6=66
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[25, 87, 66], Operations: ['11*6=66']
Exploring Operation: 25+87=112, Resulting Numbers: [66, 112]
Generated Node #0,4,0: 67:[66, 112] Operation: 25+87=112
Exploring Operation: 87-66=21, Resulting Numbers: [25, 21]
Generated Node #0,4,1: 67:[25, 21] Operation: 87-66=21
Exploring Operation: 25+66=91, Resulting Numbers: [87, 91]
Generated Node #0,4,2: 67:[87, 91] Operation: 25+66=91
Exploring Operation: 87-25=62, Resulting Numbers: [66, 62]
Generated Node #0,4,3: 67:[66, 62] Operation: 87-25=62
Exploring Operation: 66-25=41, Resulting Numbers: [87, 41]
Generated Node #0,4,4: 67:[87, 41] Operation: 66-25=41
Moving to Node #0,4,3
Current State: 67:[66, 62], Operations: ['11*6=66', '87-25=62']
Exploring Operation: 66*62=4092, Resulting Numbers: [4092]
4092,67 unequal: No Solution
Exploring Operation: 66+62=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Exploring Operation: 66-62=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[87, 91], Operations: ['11*6=66', '25+66=91']
Exploring Operation: 87*91=7917, Resulting Numbers: [7917]
7917,67 unequal: No Solution
Exploring Operation: 91-87=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 87+91=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[66, 112], Operations: ['11*6=66', '25+87=112']
Exploring Operation: 66+112=178, Resulting Numbers: [178]
178,67 unequal: No Solution
Exploring Operation: 112-66=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 66*112=7392, Resulting Numbers: [7392]
7392,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[87, 41], Operations: ['11*6=66', '66-25=41']
Exploring Operation: 87+41=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 87*41=3567, Resulting Numbers: [3567]
3567,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[25, 21], Operations: ['11*6=66', '87-66=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,67 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[25, 87, 17], Operations: ['11+6=17']
Exploring Operation: 87-25=62, Resulting Numbers: [17, 62]
Generated Node #0,0,0: 67:[17, 62] Operation: 87-25=62
Exploring Operation: 25+17=42, Resulting Numbers: [87, 42]
Generated Node #0,0,1: 67:[87, 42] Operation: 25+17=42
Exploring Operation: 87-17=70, Resulting Numbers: [25, 70]
Generated Node #0,0,2: 67:[25, 70] Operation: 87-17=70
Exploring Operation: 25-17=8, Resulting Numbers: [87, 8]
Generated Node #0,0,3: 67:[87, 8] Operation: 25-17=8
Exploring Operation: 87+17=104, Resulting Numbers: [25, 104]
Generated Node #0,0,4: 67:[25, 104] Operation: 87+17=104
Moving to Node #0,0,1
Current State: 67:[87, 42], Operations: ['11+6=17', '25+17=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[25, 70], Operations: ['11+6=17', '87-17=70']
Exploring Operation: 25*70=1750, Resulting Numbers: [1750]
1750,67 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[17, 62], Operations: ['11+6=17', '87-25=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[87, 8], Operations: ['11+6=17', '25-17=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,67 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[25, 104], Operations: ['11+6=17', '87+17=104']
Exploring Operation: 104-25=79, Resulting Numbers: [79]
79,67 unequal: No Solution
Exploring Operation: 25+104=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 25*104=2600, Resulting Numbers: [2600]
2600,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[11, 87, 31], Operations: ['25+6=31']
Exploring Operation: 11+31=42, Resulting Numbers: [87, 42]
Generated Node #0,1,0: 67:[87, 42] Operation: 11+31=42
Exploring Operation: 11+87=98, Resulting Numbers: [31, 98]
Generated Node #0,1,1: 67:[31, 98] Operation: 11+87=98
Exploring Operation: 87-31=56, Resulting Numbers: [11, 56]
Generated Node #0,1,2: 67:[11, 56] Operation: 87-31=56
Exploring Operation: 87-11=76, Resulting Numbers: [31, 76]
Generated Node #0,1,3: 67:[31, 76] Operation: 87-11=76
Exploring Operation: 31-11=20, Resulting Numbers: [87, 20]
Generated Node #0,1,4: 67:[87, 20] Operation: 31-11=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[87, 42], Operations: ['25+6=31', '11+31=42']
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,67 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,67 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,67 unequal: No Solution
No 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: 67:[31, 76], Operations: ['25+6=31', '87-11=76']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,67 unequal: No Solution
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,67 unequal: No Solution
No 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: 67:[31, 98], Operations: ['25+6=31', '11+87=98']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[25, 11, 87, 6], Operations: []
Exploring Operation: 25+6=31, Resulting Numbers: [11, 87, 31]
Generated Node #0,1: 67:[11, 87, 31] Operation: 25+6=31
Moving to Node #0,1
Current State: 67:[11, 87, 31], Operations: ['25+6=31']
Exploring Operation: 11+87=98, Resulting Numbers: [31, 98]
Generated Node #0,1,1: 67:[31, 98] Operation: 11+87=98
Moving to Node #0,1,1
Current State: 67:[31, 98], Operations: ['25+6=31', '11+87=98']
Exploring Operation: 98-31=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
25,
57,
56,
57
] | 83 | [
"25+57=82",
"57-56=1",
"82+1=83"
] | Current State: 83:[25, 57, 56, 57], Operations: []
Exploring Operation: 25+57=82, Resulting Numbers: [56, 82]
Generated Node #2: [56, 82] from Operation: 25+57=82
Current State: 83:[56, 82], Operations: ['25+57=82']
Exploring Operation: 57-56=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 57-56=1
Current State: 83:[82, 1], Operations: ['25+57=82', '57-56=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[25, 57, 56, 57], Operations: []
Exploring Operation: 25+57=82, Resulting Numbers: [56, 57, 82]
Generated Node #0,0: 83:[56, 57, 82] Operation: 25+57=82
Moving to Node #0,0
Current State: 83:[56, 57, 82], Operations: ['25+57=82']
Exploring Operation: 56+57=113, Resulting Numbers: [82, 113]
Generated Node #0,0,0: 83:[82, 113] Operation: 56+57=113
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[82, 113], Operations: ['25+57=82', '56+57=113']
Exploring Operation: 113-82=31, Resulting Numbers: [31]
31,83 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 |
[
29,
13,
3,
25
] | 23 | [
"29-13=16",
"3*16=48",
"48-25=23"
] | Current State: 23:[29, 13, 3, 25], Operations: []
Exploring Operation: 29-13=16, Resulting Numbers: [3, 25, 16]
Generated Node #2: [3, 25, 16] from Operation: 29-13=16
Current State: 23:[3, 25, 16], Operations: ['29-13=16']
Exploring Operation: 3*16=48, Resulting Numbers: [25, 48]
Generated Node #3: [25, 48] from Operation: 3*16=48
Current State: 23:[25, 48], Operations: ['29-13=16', '3*16=48']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[29, 13, 3, 25], Operations: []
Exploring Operation: 29-3=26, Resulting Numbers: [13, 25, 26]
Generated Node #0,0: 23:[13, 25, 26] Operation: 29-3=26
Exploring Operation: 29+3=32, Resulting Numbers: [13, 25, 32]
Generated Node #0,1: 23:[13, 25, 32] Operation: 29+3=32
Exploring Operation: 25-3=22, Resulting Numbers: [29, 13, 22]
Generated Node #0,2: 23:[29, 13, 22] Operation: 25-3=22
Exploring Operation: 13+3=16, Resulting Numbers: [29, 25, 16]
Generated Node #0,3: 23:[29, 25, 16] Operation: 13+3=16
Moving to Node #0,0
Current State: 23:[13, 25, 26], Operations: ['29-3=26']
Exploring Operation: 26-13=13, Resulting Numbers: [25, 13]
Generated Node #0,0,0: 23:[25, 13] Operation: 26-13=13
Exploring Operation: 13+26=39, Resulting Numbers: [25, 39]
Generated Node #0,0,1: 23:[25, 39] Operation: 13+26=39
Exploring Operation: 13+25=38, Resulting Numbers: [26, 38]
Generated Node #0,0,2: 23:[26, 38] Operation: 13+25=38
Exploring Operation: 25-13=12, Resulting Numbers: [26, 12]
Generated Node #0,0,3: 23:[26, 12] Operation: 25-13=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[25, 13], Operations: ['29-3=26', '26-13=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,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,3
Current State: 23:[26, 12], Operations: ['29-3=26', '25-13=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,23 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,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,1
Current State: 23:[25, 39], Operations: ['29-3=26', '13+26=39']
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,23 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,23 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[26, 38], Operations: ['29-3=26', '13+25=38']
Exploring Operation: 26+38=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 26*38=988, Resulting Numbers: [988]
988,23 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: 23:[29, 25, 16], Operations: ['13+3=16']
Exploring Operation: 25-16=9, Resulting Numbers: [29, 9]
Generated Node #0,3,0: 23:[29, 9] Operation: 25-16=9
Exploring Operation: 29-16=13, Resulting Numbers: [25, 13]
Generated Node #0,3,1: 23:[25, 13] Operation: 29-16=13
Exploring Operation: 25+16=41, Resulting Numbers: [29, 41]
Generated Node #0,3,2: 23:[29, 41] Operation: 25+16=41
Exploring Operation: 29+16=45, Resulting Numbers: [25, 45]
Generated Node #0,3,3: 23:[25, 45] Operation: 29+16=45
Moving to Node #0,2
Current State: 23:[29, 13, 22], Operations: ['25-3=22']
Exploring Operation: 29+13=42, Resulting Numbers: [22, 42]
Generated Node #0,2,0: 23:[22, 42] Operation: 29+13=42
Exploring Operation: 13+22=35, Resulting Numbers: [29, 35]
Generated Node #0,2,1: 23:[29, 35] Operation: 13+22=35
Exploring Operation: 22-13=9, Resulting Numbers: [29, 9]
Generated Node #0,2,2: 23:[29, 9] Operation: 22-13=9
Exploring Operation: 29-13=16, Resulting Numbers: [22, 16]
Generated Node #0,2,3: 23:[22, 16] Operation: 29-13=16
Moving to Node #0,1
Current State: 23:[13, 25, 32], Operations: ['29+3=32']
Exploring Operation: 32-13=19, Resulting Numbers: [25, 19]
Generated Node #0,1,0: 23:[25, 19] Operation: 32-13=19
Exploring Operation: 13+25=38, Resulting Numbers: [32, 38]
Generated Node #0,1,1: 23:[32, 38] Operation: 13+25=38
Exploring Operation: 13+32=45, Resulting Numbers: [25, 45]
Generated Node #0,1,2: 23:[25, 45] Operation: 13+32=45
Exploring Operation: 25-13=12, Resulting Numbers: [32, 12]
Generated Node #0,1,3: 23:[32, 12] Operation: 25-13=12
Moving to Node #0,1,0
Current State: 23:[25, 19], Operations: ['29+3=32', '32-13=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,23 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[22, 16], Operations: ['25-3=22', '29-13=16']
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,23 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[25, 13], Operations: ['13+3=16', '29-16=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,23 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[29, 35], Operations: ['25-3=22', '13+22=35']
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,23 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[22, 42], Operations: ['25-3=22', '29+13=42']
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[29, 9], Operations: ['13+3=16', '25-16=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,23 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[32, 12], Operations: ['29+3=32', '25-13=12']
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,23 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,23 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[29, 9], Operations: ['25-3=22', '22-13=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,23 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[32, 38], Operations: ['29+3=32', '13+25=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,23 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[29, 41], Operations: ['13+3=16', '25+16=41']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 29*41=1189, Resulting Numbers: [1189]
1189,23 unequal: No Solution
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[25, 45], Operations: ['13+3=16', '29+16=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[25, 45], Operations: ['29+3=32', '13+32=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,23 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
94,
46,
32,
3
] | 13 | [
"94-46=48",
"32+3=35",
"48-35=13"
] | Current State: 13:[94, 46, 32, 3], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [32, 3, 48]
Generated Node #2: [32, 3, 48] from Operation: 94-46=48
Current State: 13:[32, 3, 48], Operations: ['94-46=48']
Exploring Operation: 32+3=35, Resulting Numbers: [48, 35]
Generated Node #3: [48, 35] from Operation: 32+3=35
Current State: 13:[48, 35], Operations: ['94-46=48', '32+3=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[94, 46, 32, 3], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [32, 3, 48]
Generated Node #0,0: 13:[32, 3, 48] Operation: 94-46=48
Exploring Operation: 46-3=43, Resulting Numbers: [94, 32, 43]
Generated Node #0,1: 13:[94, 32, 43] Operation: 46-3=43
Exploring Operation: 46-32=14, Resulting Numbers: [94, 3, 14]
Generated Node #0,2: 13:[94, 3, 14] Operation: 46-32=14
Exploring Operation: 94-32=62, Resulting Numbers: [46, 3, 62]
Generated Node #0,3: 13:[46, 3, 62] Operation: 94-32=62
Exploring Operation: 94-3=91, Resulting Numbers: [46, 32, 91]
Generated Node #0,4: 13:[46, 32, 91] Operation: 94-3=91
Moving to Node #0,0
Current State: 13:[32, 3, 48], Operations: ['94-46=48']
Exploring Operation: 48-32=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 13:[3, 16] Operation: 48-32=16
Exploring Operation: 32-3=29, Resulting Numbers: [48, 29]
Generated Node #0,0,1: 13:[48, 29] Operation: 32-3=29
Exploring Operation: 48/3=16, Resulting Numbers: [32, 16]
Generated Node #0,0,2: 13:[32, 16] Operation: 48/3=16
Exploring Operation: 48-3=45, Resulting Numbers: [32, 45]
Generated Node #0,0,3: 13:[32, 45] Operation: 48-3=45
Exploring Operation: 32+3=35, Resulting Numbers: [48, 35]
Generated Node #0,0,4: 13:[48, 35] Operation: 32+3=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[3, 16], Operations: ['94-46=48', '48-32=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[94, 46, 32, 3], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [32, 3, 48]
Generated Node #0,0: 13:[32, 3, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 13:[32, 3, 48], Operations: ['94-46=48']
Exploring Operation: 48-32=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 13:[3, 16] Operation: 48-32=16
Moving to Node #0,0,0
Current State: 13:[3, 16], Operations: ['94-46=48', '48-32=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
40,
42,
85,
6
] | 82 | [
"42-40=2",
"6/2=3",
"85-3=82"
] | Current State: 82:[40, 42, 85, 6], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [85, 6, 2]
Generated Node #2: [85, 6, 2] from Operation: 42-40=2
Current State: 82:[85, 6, 2], Operations: ['42-40=2']
Exploring Operation: 6/2=3, Resulting Numbers: [85, 3]
Generated Node #3: [85, 3] from Operation: 6/2=3
Current State: 82:[85, 3], Operations: ['42-40=2', '6/2=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[40, 42, 85, 6], Operations: []
Exploring Operation: 40+42=82, Resulting Numbers: [85, 6, 82]
Generated Node #0,0: 82:[85, 6, 82] Operation: 40+42=82
Exploring Operation: 85-6=79, Resulting Numbers: [40, 42, 79]
Generated Node #0,1: 82:[40, 42, 79] Operation: 85-6=79
Exploring Operation: 42-40=2, Resulting Numbers: [85, 6, 2]
Generated Node #0,2: 82:[85, 6, 2] Operation: 42-40=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[40, 42, 79], Operations: ['85-6=79']
Exploring Operation: 79-40=39, Resulting Numbers: [42, 39]
Generated Node #0,1,0: 82:[42, 39] Operation: 79-40=39
Exploring Operation: 40+42=82, Resulting Numbers: [79, 82]
Generated Node #0,1,1: 82:[79, 82] Operation: 40+42=82
Exploring Operation: 42-40=2, Resulting Numbers: [79, 2]
Generated Node #0,1,2: 82:[79, 2] Operation: 42-40=2
Moving to Node #0,1,0
Current State: 82:[42, 39], Operations: ['85-6=79', '79-40=39']
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,82 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[79, 82], Operations: ['85-6=79', '40+42=82']
Exploring Operation: 79*82=6478, Resulting Numbers: [6478]
6478,82 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 79+82=161, Resulting Numbers: [161]
161,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[79, 2], Operations: ['85-6=79', '42-40=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,82 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,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,0
Current State: 82:[85, 6, 82], Operations: ['40+42=82']
Exploring Operation: 85+6=91, Resulting Numbers: [82, 91]
Generated Node #0,0,0: 82:[82, 91] Operation: 85+6=91
Exploring Operation: 85-82=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 82:[6, 3] Operation: 85-82=3
Exploring Operation: 85-6=79, Resulting Numbers: [82, 79]
Generated Node #0,0,2: 82:[82, 79] Operation: 85-6=79
Moving to Node #0,0,2
Current State: 82:[82, 79], Operations: ['40+42=82', '85-6=79']
Exploring Operation: 82*79=6478, Resulting Numbers: [6478]
6478,82 unequal: No Solution
Exploring Operation: 82+79=161, Resulting Numbers: [161]
161,82 unequal: No Solution
Exploring Operation: 82-79=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[6, 3], Operations: ['40+42=82', '85-82=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[82, 91], Operations: ['40+42=82', '85+6=91']
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,82 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,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
Current State: 82:[85, 6, 2], Operations: ['42-40=2']
Exploring Operation: 6/2=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 82:[85, 3] Operation: 6/2=3
Exploring Operation: 85-2=83, Resulting Numbers: [6, 83]
Generated Node #0,2,1: 82:[6, 83] Operation: 85-2=83
Exploring Operation: 85-6=79, Resulting Numbers: [2, 79]
Generated Node #0,2,2: 82:[2, 79] Operation: 85-6=79
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[2, 79], Operations: ['42-40=2', '85-6=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,82 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,82 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,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:[85, 3], Operations: ['42-40=2', '6/2=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,82 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[40, 42, 85, 6], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [85, 6, 2]
Generated Node #0,2: 82:[85, 6, 2] Operation: 42-40=2
Moving to Node #0,2
Current State: 82:[85, 6, 2], Operations: ['42-40=2']
Exploring Operation: 6/2=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 82:[85, 3] Operation: 6/2=3
Moving to Node #0,2,0
Current State: 82:[85, 3], Operations: ['42-40=2', '6/2=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
50,
32,
94,
98
] | 78 | [
"50+32=82",
"98-94=4",
"82-4=78"
] | Current State: 78:[50, 32, 94, 98], Operations: []
Exploring Operation: 50+32=82, Resulting Numbers: [94, 98, 82]
Generated Node #2: [94, 98, 82] from Operation: 50+32=82
Current State: 78:[94, 98, 82], Operations: ['50+32=82']
Exploring Operation: 98-94=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 98-94=4
Current State: 78:[82, 4], Operations: ['50+32=82', '98-94=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[50, 32, 94, 98], Operations: []
Exploring Operation: 98-32=66, Resulting Numbers: [50, 94, 66]
Generated Node #0,0: 78:[50, 94, 66] Operation: 98-32=66
Exploring Operation: 94-50=44, Resulting Numbers: [32, 98, 44]
Generated Node #0,1: 78:[32, 98, 44] Operation: 94-50=44
Exploring Operation: 98-94=4, Resulting Numbers: [50, 32, 4]
Generated Node #0,2: 78:[50, 32, 4] Operation: 98-94=4
Exploring Operation: 98-50=48, Resulting Numbers: [32, 94, 48]
Generated Node #0,3: 78:[32, 94, 48] Operation: 98-50=48
Exploring Operation: 50+32=82, Resulting Numbers: [94, 98, 82]
Generated Node #0,4: 78:[94, 98, 82] Operation: 50+32=82
Moving to Node #0,2
Current State: 78:[50, 32, 4], Operations: ['98-94=4']
Exploring Operation: 50-32=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 78:[4, 18] Operation: 50-32=18
Exploring Operation: 50+32=82, Resulting Numbers: [4, 82]
Generated Node #0,2,1: 78:[4, 82] Operation: 50+32=82
Exploring Operation: 32/4=8, Resulting Numbers: [50, 8]
Generated Node #0,2,2: 78:[50, 8] Operation: 32/4=8
Exploring Operation: 50-4=46, Resulting Numbers: [32, 46]
Generated Node #0,2,3: 78:[32, 46] Operation: 50-4=46
Exploring Operation: 32-4=28, Resulting Numbers: [50, 28]
Generated Node #0,2,4: 78:[50, 28] Operation: 32-4=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[4, 82], Operations: ['98-94=4', '50+32=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[50, 32, 94, 98], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [50, 32, 4]
Generated Node #0,2: 78:[50, 32, 4] Operation: 98-94=4
Moving to Node #0,2
Current State: 78:[50, 32, 4], Operations: ['98-94=4']
Exploring Operation: 50+32=82, Resulting Numbers: [4, 82]
Generated Node #0,2,1: 78:[4, 82] Operation: 50+32=82
Moving to Node #0,2,1
Current State: 78:[4, 82], Operations: ['98-94=4', '50+32=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
11,
79,
38,
36
] | 16 | [
"11+79=90",
"38+36=74",
"90-74=16"
] | Current State: 16:[11, 79, 38, 36], Operations: []
Exploring Operation: 11+79=90, Resulting Numbers: [38, 36, 90]
Generated Node #2: [38, 36, 90] from Operation: 11+79=90
Current State: 16:[38, 36, 90], Operations: ['11+79=90']
Exploring Operation: 38+36=74, Resulting Numbers: [90, 74]
Generated Node #3: [90, 74] from Operation: 38+36=74
Current State: 16:[90, 74], Operations: ['11+79=90', '38+36=74']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[11, 79, 38, 36], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [11, 36, 41]
Generated Node #0,0: 16:[11, 36, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[11, 36, 41], Operations: ['79-38=41']
Exploring Operation: 41-36=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 16:[11, 5] Operation: 41-36=5
Moving to Node #0,0,0
Current State: 16:[11, 5], Operations: ['79-38=41', '41-36=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[11, 79, 38, 36], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [11, 36, 41]
Generated Node #0,0: 16:[11, 36, 41] Operation: 79-38=41
Moving to Node #0,0
Current State: 16:[11, 36, 41], Operations: ['79-38=41']
Exploring Operation: 41-36=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 16:[11, 5] Operation: 41-36=5
Moving to Node #0,0,0
Current State: 16:[11, 5], Operations: ['79-38=41', '41-36=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
30,
16,
80,
68
] | 58 | [
"30+16=46",
"80-68=12",
"46+12=58"
] | Current State: 58:[30, 16, 80, 68], Operations: []
Exploring Operation: 30+16=46, Resulting Numbers: [80, 68, 46]
Generated Node #2: [80, 68, 46] from Operation: 30+16=46
Current State: 58:[80, 68, 46], Operations: ['30+16=46']
Exploring Operation: 80-68=12, Resulting Numbers: [46, 12]
Generated Node #3: [46, 12] from Operation: 80-68=12
Current State: 58:[46, 12], Operations: ['30+16=46', '80-68=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[30, 16, 80, 68], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [30, 68, 5]
Generated Node #0,0: 58:[30, 68, 5] Operation: 80/16=5
Exploring Operation: 68-16=52, Resulting Numbers: [30, 80, 52]
Generated Node #0,1: 58:[30, 80, 52] Operation: 68-16=52
Exploring Operation: 80-68=12, Resulting Numbers: [30, 16, 12]
Generated Node #0,2: 58:[30, 16, 12] Operation: 80-68=12
Exploring Operation: 80-16=64, Resulting Numbers: [30, 68, 64]
Generated Node #0,3: 58:[30, 68, 64] Operation: 80-16=64
Exploring Operation: 80-30=50, Resulting Numbers: [16, 68, 50]
Generated Node #0,4: 58:[16, 68, 50] Operation: 80-30=50
Moving to Node #0,0
Current State: 58:[30, 68, 5], Operations: ['80/16=5']
Exploring Operation: 30-5=25, Resulting Numbers: [68, 25]
Generated Node #0,0,0: 58:[68, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [68, 6]
Generated Node #0,0,1: 58:[68, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [68, 35]
Generated Node #0,0,2: 58:[68, 35] Operation: 30+5=35
Exploring Operation: 68-30=38, Resulting Numbers: [5, 38]
Generated Node #0,0,3: 58:[5, 38] Operation: 68-30=38
Exploring Operation: 68-5=63, Resulting Numbers: [30, 63]
Generated Node #0,0,4: 58:[30, 63] Operation: 68-5=63
Moving to Node #0,3
Current State: 58:[30, 68, 64], Operations: ['80-16=64']
Exploring Operation: 30+64=94, Resulting Numbers: [68, 94]
Generated Node #0,3,0: 58:[68, 94] Operation: 30+64=94
Exploring Operation: 30+68=98, Resulting Numbers: [64, 98]
Generated Node #0,3,1: 58:[64, 98] Operation: 30+68=98
Exploring Operation: 64-30=34, Resulting Numbers: [68, 34]
Generated Node #0,3,2: 58:[68, 34] Operation: 64-30=34
Exploring Operation: 68-30=38, Resulting Numbers: [64, 38]
Generated Node #0,3,3: 58:[64, 38] Operation: 68-30=38
Exploring Operation: 68-64=4, Resulting Numbers: [30, 4]
Generated Node #0,3,4: 58:[30, 4] Operation: 68-64=4
Moving to Node #0,2
Current State: 58:[30, 16, 12], Operations: ['80-68=12']
Exploring Operation: 30+16=46, Resulting Numbers: [12, 46]
Generated Node #0,2,0: 58:[12, 46] Operation: 30+16=46
Exploring Operation: 16-12=4, Resulting Numbers: [30, 4]
Generated Node #0,2,1: 58:[30, 4] Operation: 16-12=4
Exploring Operation: 30-16=14, Resulting Numbers: [12, 14]
Generated Node #0,2,2: 58:[12, 14] Operation: 30-16=14
Exploring Operation: 16+12=28, Resulting Numbers: [30, 28]
Generated Node #0,2,3: 58:[30, 28] Operation: 16+12=28
Exploring Operation: 30-12=18, Resulting Numbers: [16, 18]
Generated Node #0,2,4: 58:[16, 18] Operation: 30-12=18
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[30, 28], Operations: ['80-68=12', '16+12=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[30, 16, 80, 68], Operations: []
Exploring Operation: 80-68=12, Resulting Numbers: [30, 16, 12]
Generated Node #0,2: 58:[30, 16, 12] Operation: 80-68=12
Moving to Node #0,2
Current State: 58:[30, 16, 12], Operations: ['80-68=12']
Exploring Operation: 16+12=28, Resulting Numbers: [30, 28]
Generated Node #0,2,3: 58:[30, 28] Operation: 16+12=28
Moving to Node #0,2,3
Current State: 58:[30, 28], Operations: ['80-68=12', '16+12=28']
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
37,
3,
51,
74
] | 94 | [
"37+74=111",
"51/3=17",
"111-17=94"
] | Current State: 94:[37, 3, 51, 74], Operations: []
Exploring Operation: 37+74=111, Resulting Numbers: [3, 51, 111]
Generated Node #2: [3, 51, 111] from Operation: 37+74=111
Current State: 94:[3, 51, 111], Operations: ['37+74=111']
Exploring Operation: 51/3=17, Resulting Numbers: [111, 17]
Generated Node #3: [111, 17] from Operation: 51/3=17
Current State: 94:[111, 17], Operations: ['37+74=111', '51/3=17']
Exploring Operation: 111-17=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[37, 3, 51, 74], Operations: []
Exploring Operation: 74-37=37, Resulting Numbers: [3, 51, 37]
Generated Node #0,0: 94:[3, 51, 37] Operation: 74-37=37
Exploring Operation: 37+74=111, Resulting Numbers: [3, 51, 111]
Generated Node #0,1: 94:[3, 51, 111] Operation: 37+74=111
Exploring Operation: 74/37=2, Resulting Numbers: [3, 51, 2]
Generated Node #0,2: 94:[3, 51, 2] Operation: 74/37=2
Moving to Node #0,2
Current State: 94:[3, 51, 2], Operations: ['74/37=2']
Exploring Operation: 51-3=48, Resulting Numbers: [2, 48]
Generated Node #0,2,0: 94:[2, 48] Operation: 51-3=48
Exploring Operation: 3-2=1, Resulting Numbers: [51, 1]
Generated Node #0,2,1: 94:[51, 1] Operation: 3-2=1
Exploring Operation: 51-2=49, Resulting Numbers: [3, 49]
Generated Node #0,2,2: 94:[3, 49] Operation: 51-2=49
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[2, 48], Operations: ['74/37=2', '51-3=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,94 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 2+48=50, Resulting Numbers: [50]
50,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[3, 49], Operations: ['74/37=2', '51-2=49']
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,94 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,94 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,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,1
Current State: 94:[51, 1], Operations: ['74/37=2', '3-2=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,94 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: 94:[3, 51, 37], Operations: ['74-37=37']
Exploring Operation: 51+37=88, Resulting Numbers: [3, 88]
Generated Node #0,0,0: 94:[3, 88] Operation: 51+37=88
Exploring Operation: 51-3=48, Resulting Numbers: [37, 48]
Generated Node #0,0,1: 94:[37, 48] Operation: 51-3=48
Exploring Operation: 3+37=40, Resulting Numbers: [51, 40]
Generated Node #0,0,2: 94:[51, 40] Operation: 3+37=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[3, 88], Operations: ['74-37=37', '51+37=88']
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,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,1
Current State: 94:[37, 48], Operations: ['74-37=37', '51-3=48']
Exploring Operation: 37+48=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,94 unequal: No Solution
Exploring Operation: 37*48=1776, Resulting Numbers: [1776]
1776,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,2
Current State: 94:[51, 40], Operations: ['74-37=37', '3+37=40']
Exploring Operation: 51*40=2040, Resulting Numbers: [2040]
2040,94 unequal: No Solution
Exploring Operation: 51+40=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,94 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: 94:[3, 51, 111], Operations: ['37+74=111']
Exploring Operation: 111-51=60, Resulting Numbers: [3, 60]
Generated Node #0,1,0: 94:[3, 60] Operation: 111-51=60
Exploring Operation: 51-3=48, Resulting Numbers: [111, 48]
Generated Node #0,1,1: 94:[111, 48] Operation: 51-3=48
Exploring Operation: 111/3=37, Resulting Numbers: [51, 37]
Generated Node #0,1,2: 94:[51, 37] Operation: 111/3=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[3, 60], Operations: ['37+74=111', '111-51=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,94 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,94 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[51, 37], Operations: ['37+74=111', '111/3=37']
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 51*37=1887, Resulting Numbers: [1887]
1887,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[111, 48], Operations: ['37+74=111', '51-3=48']
Exploring Operation: 111+48=159, Resulting Numbers: [159]
159,94 unequal: No Solution
Exploring Operation: 111-48=63, Resulting Numbers: [63]
63,94 unequal: No Solution
Exploring Operation: 111*48=5328, Resulting Numbers: [5328]
5328,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 |
[
66,
76,
6,
29
] | 18 | [
"76*6=456",
"66+456=522",
"522/29=18"
] | Current State: 18:[66, 76, 6, 29], Operations: []
Exploring Operation: 76*6=456, Resulting Numbers: [66, 29, 456]
Generated Node #2: [66, 29, 456] from Operation: 76*6=456
Current State: 18:[66, 29, 456], Operations: ['76*6=456']
Exploring Operation: 66+456=522, Resulting Numbers: [29, 522]
Generated Node #3: [29, 522] from Operation: 66+456=522
Current State: 18:[29, 522], Operations: ['76*6=456', '66+456=522']
Exploring Operation: 522/29=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[66, 76, 6, 29], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [76, 29, 11]
Generated Node #0,0: 18:[76, 29, 11] Operation: 66/6=11
Exploring Operation: 66-29=37, Resulting Numbers: [76, 6, 37]
Generated Node #0,1: 18:[76, 6, 37] Operation: 66-29=37
Exploring Operation: 76-29=47, Resulting Numbers: [66, 6, 47]
Generated Node #0,2: 18:[66, 6, 47] Operation: 76-29=47
Exploring Operation: 76-66=10, Resulting Numbers: [6, 29, 10]
Generated Node #0,3: 18:[6, 29, 10] Operation: 76-66=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[6, 29, 10], Operations: ['76-66=10']
Exploring Operation: 6+10=16, Resulting Numbers: [29, 16]
Generated Node #0,3,0: 18:[29, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [29, 4]
Generated Node #0,3,1: 18:[29, 4] Operation: 10-6=4
Exploring Operation: 29-6=23, Resulting Numbers: [10, 23]
Generated Node #0,3,2: 18:[10, 23] Operation: 29-6=23
Exploring Operation: 29-10=19, Resulting Numbers: [6, 19]
Generated Node #0,3,3: 18:[6, 19] Operation: 29-10=19
Moving to Node #0,3,3
Current State: 18:[6, 19], Operations: ['76-66=10', '29-10=19']
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,18 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[10, 23], Operations: ['76-66=10', '29-6=23']
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,18 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[29, 4], Operations: ['76-66=10', '10-6=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,18 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[29, 16], Operations: ['76-66=10', '6+10=16']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,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,0
Current State: 18:[76, 29, 11], Operations: ['66/6=11']
Exploring Operation: 29-11=18, Resulting Numbers: [76, 18]
Generated Node #0,0,0: 18:[76, 18] Operation: 29-11=18
Exploring Operation: 76-29=47, Resulting Numbers: [11, 47]
Generated Node #0,0,1: 18:[11, 47] Operation: 76-29=47
Exploring Operation: 76+11=87, Resulting Numbers: [29, 87]
Generated Node #0,0,2: 18:[29, 87] Operation: 76+11=87
Exploring Operation: 76-11=65, Resulting Numbers: [29, 65]
Generated Node #0,0,3: 18:[29, 65] Operation: 76-11=65
Moving to Node #0,0,1
Current State: 18:[11, 47], Operations: ['66/6=11', '76-29=47']
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[29, 65], Operations: ['66/6=11', '76-11=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[76, 18], Operations: ['66/6=11', '29-11=18']
Exploring Operation: 76*18=1368, Resulting Numbers: [1368]
1368,18 unequal: No Solution
Exploring Operation: 76+18=94, Resulting Numbers: [94]
94,18 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[29, 87], Operations: ['66/6=11', '76+11=87']
Exploring Operation: 87-29=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Exploring Operation: 87/29=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 29*87=2523, Resulting Numbers: [2523]
2523,18 unequal: No Solution
Exploring Operation: 29+87=116, Resulting Numbers: [116]
116,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
Current State: 18:[76, 6, 37], Operations: ['66-29=37']
Exploring Operation: 76-6=70, Resulting Numbers: [37, 70]
Generated Node #0,1,0: 18:[37, 70] Operation: 76-6=70
Exploring Operation: 37-6=31, Resulting Numbers: [76, 31]
Generated Node #0,1,1: 18:[76, 31] Operation: 37-6=31
Exploring Operation: 76-37=39, Resulting Numbers: [6, 39]
Generated Node #0,1,2: 18:[6, 39] Operation: 76-37=39
Exploring Operation: 76+6=82, Resulting Numbers: [37, 82]
Generated Node #0,1,3: 18:[37, 82] Operation: 76+6=82
Moving to Node #0,1,2
Current State: 18:[6, 39], Operations: ['66-29=37', '76-37=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,18 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[76, 31], Operations: ['66-29=37', '37-6=31']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 76+31=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Exploring Operation: 76*31=2356, Resulting Numbers: [2356]
2356,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[37, 70], Operations: ['66-29=37', '76-6=70']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 37*70=2590, Resulting Numbers: [2590]
2590,18 unequal: No Solution
Exploring Operation: 37+70=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[37, 82], Operations: ['66-29=37', '76+6=82']
Exploring Operation: 37+82=119, Resulting Numbers: [119]
119,18 unequal: No Solution
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 37*82=3034, Resulting Numbers: [3034]
3034,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[66, 6, 47], Operations: ['76-29=47']
Exploring Operation: 47-6=41, Resulting Numbers: [66, 41]
Generated Node #0,2,0: 18:[66, 41] Operation: 47-6=41
Exploring Operation: 66/6=11, Resulting Numbers: [47, 11]
Generated Node #0,2,1: 18:[47, 11] Operation: 66/6=11
Exploring Operation: 66-6=60, Resulting Numbers: [47, 60]
Generated Node #0,2,2: 18:[47, 60] Operation: 66-6=60
Exploring Operation: 66-47=19, Resulting Numbers: [6, 19]
Generated Node #0,2,3: 18:[6, 19] Operation: 66-47=19
Moving to Node #0,2,3
Current State: 18:[6, 19], Operations: ['76-29=47', '66-47=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[47, 11], Operations: ['76-29=47', '66/6=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,18 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,18 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[47, 60], Operations: ['76-29=47', '66-6=60']
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,18 unequal: No Solution
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[66, 41], Operations: ['76-29=47', '47-6=41']
Exploring Operation: 66*41=2706, Resulting Numbers: [2706]
2706,18 unequal: No Solution
Exploring Operation: 66+41=107, Resulting Numbers: [107]
107,18 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,18 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 |
[
36,
70,
32,
1
] | 65 | [
"70-36=34",
"32-1=31",
"34+31=65"
] | Current State: 65:[36, 70, 32, 1], Operations: []
Exploring Operation: 70-36=34, Resulting Numbers: [32, 1, 34]
Generated Node #2: [32, 1, 34] from Operation: 70-36=34
Current State: 65:[32, 1, 34], Operations: ['70-36=34']
Exploring Operation: 32-1=31, Resulting Numbers: [34, 31]
Generated Node #3: [34, 31] from Operation: 32-1=31
Current State: 65:[34, 31], Operations: ['70-36=34', '32-1=31']
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[36, 70, 32, 1], Operations: []
Exploring Operation: 36+32=68, Resulting Numbers: [70, 1, 68]
Generated Node #0,0: 65:[70, 1, 68] Operation: 36+32=68
Exploring Operation: 70-1=69, Resulting Numbers: [36, 32, 69]
Generated Node #0,1: 65:[36, 32, 69] Operation: 70-1=69
Exploring Operation: 70-36=34, Resulting Numbers: [32, 1, 34]
Generated Node #0,2: 65:[32, 1, 34] Operation: 70-36=34
Exploring Operation: 36-32=4, Resulting Numbers: [70, 1, 4]
Generated Node #0,3: 65:[70, 1, 4] Operation: 36-32=4
Exploring Operation: 36-1=35, Resulting Numbers: [70, 32, 35]
Generated Node #0,4: 65:[70, 32, 35] Operation: 36-1=35
Moving to Node #0,3
Current State: 65:[70, 1, 4], Operations: ['36-32=4']
Exploring Operation: 70-1=69, Resulting Numbers: [4, 69]
Generated Node #0,3,0: 65:[4, 69] Operation: 70-1=69
Exploring Operation: 70-4=66, Resulting Numbers: [1, 66]
Generated Node #0,3,1: 65:[1, 66] Operation: 70-4=66
Exploring Operation: 70*1=70, Resulting Numbers: [4, 70]
Generated Node #0,3,2: 65:[4, 70] Operation: 70*1=70
Exploring Operation: 70/1=70, Resulting Numbers: [4, 70]
Generated Node #0,3,3: 65:[4, 70] Operation: 70/1=70
Exploring Operation: 1+4=5, Resulting Numbers: [70, 5]
Generated Node #0,3,4: 65:[70, 5] Operation: 1+4=5
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[4, 69], Operations: ['36-32=4', '70-1=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[36, 70, 32, 1], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [70, 1, 4]
Generated Node #0,3: 65:[70, 1, 4] Operation: 36-32=4
Moving to Node #0,3
Current State: 65:[70, 1, 4], Operations: ['36-32=4']
Exploring Operation: 70-1=69, Resulting Numbers: [4, 69]
Generated Node #0,3,0: 65:[4, 69] Operation: 70-1=69
Moving to Node #0,3,0
Current State: 65:[4, 69], Operations: ['36-32=4', '70-1=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
29,
88,
16,
4
] | 51 | [
"88*4=352",
"352/16=22",
"29+22=51"
] | Current State: 51:[29, 88, 16, 4], Operations: []
Exploring Operation: 88*4=352, Resulting Numbers: [29, 16, 352]
Generated Node #2: [29, 16, 352] from Operation: 88*4=352
Current State: 51:[29, 16, 352], Operations: ['88*4=352']
Exploring Operation: 352/16=22, Resulting Numbers: [29, 22]
Generated Node #3: [29, 22] from Operation: 352/16=22
Current State: 51:[29, 22], Operations: ['88*4=352', '352/16=22']
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[29, 88, 16, 4], Operations: []
Exploring Operation: 88-16=72, Resulting Numbers: [29, 4, 72]
Generated Node #0,0: 51:[29, 4, 72] Operation: 88-16=72
Exploring Operation: 29-16=13, Resulting Numbers: [88, 4, 13]
Generated Node #0,1: 51:[88, 4, 13] Operation: 29-16=13
Exploring Operation: 88-29=59, Resulting Numbers: [16, 4, 59]
Generated Node #0,2: 51:[16, 4, 59] Operation: 88-29=59
Exploring Operation: 88/4=22, Resulting Numbers: [29, 16, 22]
Generated Node #0,3: 51:[29, 16, 22] Operation: 88/4=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[16, 4, 59], Operations: ['88-29=59']
Exploring Operation: 59-16=43, Resulting Numbers: [4, 43]
Generated Node #0,2,0: 51:[4, 43] Operation: 59-16=43
Exploring Operation: 59-4=55, Resulting Numbers: [16, 55]
Generated Node #0,2,1: 51:[16, 55] Operation: 59-4=55
Exploring Operation: 16/4=4, Resulting Numbers: [59, 4]
Generated Node #0,2,2: 51:[59, 4] Operation: 16/4=4
Exploring Operation: 16+4=20, Resulting Numbers: [59, 20]
Generated Node #0,2,3: 51:[59, 20] Operation: 16+4=20
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[16, 55], Operations: ['88-29=59', '59-4=55']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,51 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[4, 43], Operations: ['88-29=59', '59-16=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,51 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[59, 4], Operations: ['88-29=59', '16/4=4']
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,51 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[59, 20], Operations: ['88-29=59', '16+4=20']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 59*20=1180, Resulting Numbers: [1180]
1180,51 unequal: No Solution
Exploring Operation: 59+20=79, Resulting Numbers: [79]
79,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[29, 16, 22], Operations: ['88/4=22']
Exploring Operation: 29-22=7, Resulting Numbers: [16, 7]
Generated Node #0,3,0: 51:[16, 7] Operation: 29-22=7
Exploring Operation: 29+22=51, Resulting Numbers: [16, 51]
Generated Node #0,3,1: 51:[16, 51] Operation: 29+22=51
Exploring Operation: 29+16=45, Resulting Numbers: [22, 45]
Generated Node #0,3,2: 51:[22, 45] Operation: 29+16=45
Exploring Operation: 29-16=13, Resulting Numbers: [22, 13]
Generated Node #0,3,3: 51:[22, 13] Operation: 29-16=13
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[16, 51], Operations: ['88/4=22', '29+22=51']
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 16*51=816, Resulting Numbers: [816]
816,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[16, 7], Operations: ['88/4=22', '29-22=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[22, 13], Operations: ['88/4=22', '29-16=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,51 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[22, 45], Operations: ['88/4=22', '29+16=45']
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[29, 4, 72], Operations: ['88-16=72']
Exploring Operation: 72-29=43, Resulting Numbers: [4, 43]
Generated Node #0,0,0: 51:[4, 43] Operation: 72-29=43
Exploring Operation: 72-4=68, Resulting Numbers: [29, 68]
Generated Node #0,0,1: 51:[29, 68] Operation: 72-4=68
Exploring Operation: 29-4=25, Resulting Numbers: [72, 25]
Generated Node #0,0,2: 51:[72, 25] Operation: 29-4=25
Exploring Operation: 72/4=18, Resulting Numbers: [29, 18]
Generated Node #0,0,3: 51:[29, 18] Operation: 72/4=18
Moving to Node #0,0,0
Current State: 51:[4, 43], Operations: ['88-16=72', '72-29=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,51 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[29, 18], Operations: ['88-16=72', '72/4=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,51 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[72, 25], Operations: ['88-16=72', '29-4=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,51 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[29, 68], Operations: ['88-16=72', '72-4=68']
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,51 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[88, 4, 13], Operations: ['29-16=13']
Exploring Operation: 88/4=22, Resulting Numbers: [13, 22]
Generated Node #0,1,0: 51:[13, 22] Operation: 88/4=22
Exploring Operation: 88-4=84, Resulting Numbers: [13, 84]
Generated Node #0,1,1: 51:[13, 84] Operation: 88-4=84
Exploring Operation: 4+13=17, Resulting Numbers: [88, 17]
Generated Node #0,1,2: 51:[88, 17] Operation: 4+13=17
Exploring Operation: 88-13=75, Resulting Numbers: [4, 75]
Generated Node #0,1,3: 51:[4, 75] Operation: 88-13=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[13, 22], Operations: ['29-16=13', '88/4=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,51 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[4, 75], Operations: ['29-16=13', '88-13=75']
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,51 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[13, 84], Operations: ['29-16=13', '88-4=84']
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,51 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[88, 17], Operations: ['29-16=13', '4+13=17']
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,51 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,51 unequal: No Solution
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
17,
93,
48,
14
] | 17 | [
"48-17=31",
"93/31=3",
"14+3=17"
] | Current State: 17:[17, 93, 48, 14], Operations: []
Exploring Operation: 48-17=31, Resulting Numbers: [93, 14, 31]
Generated Node #2: [93, 14, 31] from Operation: 48-17=31
Current State: 17:[93, 14, 31], Operations: ['48-17=31']
Exploring Operation: 93/31=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 93/31=3
Current State: 17:[14, 3], Operations: ['48-17=31', '93/31=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[17, 93, 48, 14], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [17, 14, 45]
Generated Node #0,0: 17:[17, 14, 45] Operation: 93-48=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[17, 14, 45], Operations: ['93-48=45']
Exploring Operation: 45-17=28, Resulting Numbers: [14, 28]
Generated Node #0,0,0: 17:[14, 28] Operation: 45-17=28
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[14, 28], Operations: ['93-48=45', '45-17=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
83,
89,
95
] | 95 | [
"83-83=0",
"89*0=0",
"95+0=95"
] | Current State: 95:[83, 83, 89, 95], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [89, 95, 0]
Generated Node #2: [89, 95, 0] from Operation: 83-83=0
Current State: 95:[89, 95, 0], Operations: ['83-83=0']
Exploring Operation: 89*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 89*0=0
Current State: 95:[95, 0], Operations: ['83-83=0', '89*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[83, 83, 89, 95], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [89, 95, 0]
Generated Node #0,0: 95:[89, 95, 0] Operation: 83-83=0
Exploring Operation: 89-83=6, Resulting Numbers: [83, 95, 6]
Generated Node #0,1: 95:[83, 95, 6] Operation: 89-83=6
Exploring Operation: 95-83=12, Resulting Numbers: [83, 89, 12]
Generated Node #0,2: 95:[83, 89, 12] Operation: 95-83=12
Exploring Operation: 89-83=6, Resulting Numbers: [83, 95, 6]
Generated Node #0,3: 95:[83, 95, 6] Operation: 89-83=6
Exploring Operation: 83/83=1, Resulting Numbers: [89, 95, 1]
Generated Node #0,4: 95:[89, 95, 1] Operation: 83/83=1
Moving to Node #0,4
Current State: 95:[89, 95, 1], Operations: ['83/83=1']
Exploring Operation: 95*1=95, Resulting Numbers: [89, 95]
Generated Node #0,4,0: 95:[89, 95] Operation: 95*1=95
Exploring Operation: 89*1=89, Resulting Numbers: [95, 89]
Generated Node #0,4,1: 95:[95, 89] Operation: 89*1=89
Exploring Operation: 95-89=6, Resulting Numbers: [1, 6]
Generated Node #0,4,2: 95:[1, 6] Operation: 95-89=6
Exploring Operation: 89+1=90, Resulting Numbers: [95, 90]
Generated Node #0,4,3: 95:[95, 90] Operation: 89+1=90
Exploring Operation: 89/1=89, Resulting Numbers: [95, 89]
Generated Node #0,4,4: 95:[95, 89] Operation: 89/1=89
Moving to Node #0,0
Current State: 95:[89, 95, 0], Operations: ['83-83=0']
Exploring Operation: 89*0=0, Resulting Numbers: [95, 0]
Generated Node #0,0,0: 95:[95, 0] Operation: 89*0=0
Exploring Operation: 89+0=89, Resulting Numbers: [95, 89]
Generated Node #0,0,1: 95:[95, 89] Operation: 89+0=89
Exploring Operation: 89-0=89, Resulting Numbers: [95, 89]
Generated Node #0,0,2: 95:[95, 89] Operation: 89-0=89
Exploring Operation: 95+0=95, Resulting Numbers: [89, 95]
Generated Node #0,0,3: 95:[89, 95] Operation: 95+0=95
Exploring Operation: 95-89=6, Resulting Numbers: [0, 6]
Generated Node #0,0,4: 95:[0, 6] Operation: 95-89=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[95, 0], Operations: ['83-83=0', '89*0=0']
Exploring Operation: 95*0=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[83, 83, 89, 95], Operations: []
Exploring Operation: 83-83=0, Resulting Numbers: [89, 95, 0]
Generated Node #0,0: 95:[89, 95, 0] Operation: 83-83=0
Moving to Node #0,0
Current State: 95:[89, 95, 0], Operations: ['83-83=0']
Exploring Operation: 89*0=0, Resulting Numbers: [95, 0]
Generated Node #0,0,0: 95:[95, 0] Operation: 89*0=0
Moving to Node #0,0,0
Current State: 95:[95, 0], Operations: ['83-83=0', '89*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
46,
38,
10,
98
] | 18 | [
"46-38=8",
"10*8=80",
"98-80=18"
] | Current State: 18:[46, 38, 10, 98], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [10, 98, 8]
Generated Node #2: [10, 98, 8] from Operation: 46-38=8
Current State: 18:[10, 98, 8], Operations: ['46-38=8']
Exploring Operation: 10*8=80, Resulting Numbers: [98, 80]
Generated Node #3: [98, 80] from Operation: 10*8=80
Current State: 18:[98, 80], Operations: ['46-38=8', '10*8=80']
Exploring Operation: 98-80=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[46, 38, 10, 98], Operations: []
Exploring Operation: 98-38=60, Resulting Numbers: [46, 10, 60]
Generated Node #0,0: 18:[46, 10, 60] Operation: 98-38=60
Exploring Operation: 98-46=52, Resulting Numbers: [38, 10, 52]
Generated Node #0,1: 18:[38, 10, 52] Operation: 98-46=52
Moving to Node #0,1
Current State: 18:[38, 10, 52], Operations: ['98-46=52']
Exploring Operation: 52-38=14, Resulting Numbers: [10, 14]
Generated Node #0,1,0: 18:[10, 14] Operation: 52-38=14
Exploring Operation: 38-10=28, Resulting Numbers: [52, 28]
Generated Node #0,1,1: 18:[52, 28] Operation: 38-10=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[10, 14], Operations: ['98-46=52', '52-38=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,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,1
Current State: 18:[52, 28], Operations: ['98-46=52', '38-10=28']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,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:[46, 10, 60], Operations: ['98-38=60']
Exploring Operation: 60/10=6, Resulting Numbers: [46, 6]
Generated Node #0,0,0: 18:[46, 6] Operation: 60/10=6
Exploring Operation: 60-46=14, Resulting Numbers: [10, 14]
Generated Node #0,0,1: 18:[10, 14] Operation: 60-46=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[10, 14], Operations: ['98-38=60', '60-46=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,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,0,0
Current State: 18:[46, 6], Operations: ['98-38=60', '60/10=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,18 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
91,
83,
51
] | 82 | [
"91-39=52",
"83+51=134",
"134-52=82"
] | Current State: 82:[39, 91, 83, 51], Operations: []
Exploring Operation: 91-39=52, Resulting Numbers: [83, 51, 52]
Generated Node #2: [83, 51, 52] from Operation: 91-39=52
Current State: 82:[83, 51, 52], Operations: ['91-39=52']
Exploring Operation: 83+51=134, Resulting Numbers: [52, 134]
Generated Node #3: [52, 134] from Operation: 83+51=134
Current State: 82:[52, 134], Operations: ['91-39=52', '83+51=134']
Exploring Operation: 134-52=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[39, 91, 83, 51], Operations: []
Exploring Operation: 39+51=90, Resulting Numbers: [91, 83, 90]
Generated Node #0,0: 82:[91, 83, 90] Operation: 39+51=90
Exploring Operation: 91-51=40, Resulting Numbers: [39, 83, 40]
Generated Node #0,1: 82:[39, 83, 40] Operation: 91-51=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[39, 83, 40], Operations: ['91-51=40']
Exploring Operation: 83-39=44, Resulting Numbers: [40, 44]
Generated Node #0,1,0: 82:[40, 44] Operation: 83-39=44
Exploring Operation: 40-39=1, Resulting Numbers: [83, 1]
Generated Node #0,1,1: 82:[83, 1] Operation: 40-39=1
Moving to Node #0,1,1
Current State: 82:[83, 1], Operations: ['91-51=40', '40-39=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[39, 91, 83, 51], Operations: []
Exploring Operation: 91-51=40, Resulting Numbers: [39, 83, 40]
Generated Node #0,1: 82:[39, 83, 40] Operation: 91-51=40
Moving to Node #0,1
Current State: 82:[39, 83, 40], Operations: ['91-51=40']
Exploring Operation: 40-39=1, Resulting Numbers: [83, 1]
Generated Node #0,1,1: 82:[83, 1] Operation: 40-39=1
Moving to Node #0,1,1
Current State: 82:[83, 1], Operations: ['91-51=40', '40-39=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
19,
35,
3,
86
] | 35 | [
"19+35=54",
"3+86=89",
"89-54=35"
] | Current State: 35:[19, 35, 3, 86], Operations: []
Exploring Operation: 19+35=54, Resulting Numbers: [3, 86, 54]
Generated Node #2: [3, 86, 54] from Operation: 19+35=54
Current State: 35:[3, 86, 54], Operations: ['19+35=54']
Exploring Operation: 3+86=89, Resulting Numbers: [54, 89]
Generated Node #3: [54, 89] from Operation: 3+86=89
Current State: 35:[54, 89], Operations: ['19+35=54', '3+86=89']
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[19, 35, 3, 86], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [19, 3, 51]
Generated Node #0,0: 35:[19, 3, 51] Operation: 86-35=51
Exploring Operation: 86-19=67, Resulting Numbers: [35, 3, 67]
Generated Node #0,1: 35:[35, 3, 67] Operation: 86-19=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[19, 3, 51], Operations: ['86-35=51']
Exploring Operation: 51/3=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 35:[19, 17] Operation: 51/3=17
Exploring Operation: 51-19=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 35:[3, 32] Operation: 51-19=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[3, 32], Operations: ['86-35=51', '51-19=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[19, 35, 3, 86], Operations: []
Exploring Operation: 86-35=51, Resulting Numbers: [19, 3, 51]
Generated Node #0,0: 35:[19, 3, 51] Operation: 86-35=51
Moving to Node #0,0
Current State: 35:[19, 3, 51], Operations: ['86-35=51']
Exploring Operation: 51-19=32, Resulting Numbers: [3, 32]
Generated Node #0,0,1: 35:[3, 32] Operation: 51-19=32
Moving to Node #0,0,1
Current State: 35:[3, 32], Operations: ['86-35=51', '51-19=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
5,
51,
70,
82
] | 68 | [
"5+51=56",
"82-70=12",
"56+12=68"
] | Current State: 68:[5, 51, 70, 82], Operations: []
Exploring Operation: 5+51=56, Resulting Numbers: [70, 82, 56]
Generated Node #2: [70, 82, 56] from Operation: 5+51=56
Current State: 68:[70, 82, 56], Operations: ['5+51=56']
Exploring Operation: 82-70=12, Resulting Numbers: [56, 12]
Generated Node #3: [56, 12] from Operation: 82-70=12
Current State: 68:[56, 12], Operations: ['5+51=56', '82-70=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[5, 51, 70, 82], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [5, 82, 19]
Generated Node #0,0: 68:[5, 82, 19] Operation: 70-51=19
Exploring Operation: 82-70=12, Resulting Numbers: [5, 51, 12]
Generated Node #0,1: 68:[5, 51, 12] Operation: 82-70=12
Exploring Operation: 82-51=31, Resulting Numbers: [5, 70, 31]
Generated Node #0,2: 68:[5, 70, 31] Operation: 82-51=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[5, 70, 31], Operations: ['82-51=31']
Exploring Operation: 70/5=14, Resulting Numbers: [31, 14]
Generated Node #0,2,0: 68:[31, 14] Operation: 70/5=14
Exploring Operation: 5+31=36, Resulting Numbers: [70, 36]
Generated Node #0,2,1: 68:[70, 36] Operation: 5+31=36
Exploring Operation: 70-5=65, Resulting Numbers: [31, 65]
Generated Node #0,2,2: 68:[31, 65] Operation: 70-5=65
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[70, 36], Operations: ['82-51=31', '5+31=36']
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 70*36=2520, Resulting Numbers: [2520]
2520,68 unequal: No Solution
Exploring Operation: 70+36=106, Resulting Numbers: [106]
106,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[31, 14], Operations: ['82-51=31', '70/5=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[31, 65], Operations: ['82-51=31', '70-5=65']
Exploring Operation: 65-31=34, Resulting Numbers: [34]
34,68 unequal: No Solution
Exploring Operation: 31*65=2015, Resulting Numbers: [2015]
2015,68 unequal: No Solution
Exploring Operation: 31+65=96, Resulting Numbers: [96]
96,68 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: 68:[5, 82, 19], Operations: ['70-51=19']
Exploring Operation: 82-19=63, Resulting Numbers: [5, 63]
Generated Node #0,0,0: 68:[5, 63] Operation: 82-19=63
Exploring Operation: 82-5=77, Resulting Numbers: [19, 77]
Generated Node #0,0,1: 68:[19, 77] Operation: 82-5=77
Exploring Operation: 19-5=14, Resulting Numbers: [82, 14]
Generated Node #0,0,2: 68:[82, 14] Operation: 19-5=14
Moving to Node #0,0,0
Current State: 68:[5, 63], Operations: ['70-51=19', '82-19=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[5, 51, 70, 82], Operations: []
Exploring Operation: 70-51=19, Resulting Numbers: [5, 82, 19]
Generated Node #0,0: 68:[5, 82, 19] Operation: 70-51=19
Moving to Node #0,0
Current State: 68:[5, 82, 19], Operations: ['70-51=19']
Exploring Operation: 82-19=63, Resulting Numbers: [5, 63]
Generated Node #0,0,0: 68:[5, 63] Operation: 82-19=63
Moving to Node #0,0,0
Current State: 68:[5, 63], Operations: ['70-51=19', '82-19=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
96,
36,
58,
45
] | 73 | [
"96-36=60",
"58-45=13",
"60+13=73"
] | Current State: 73:[96, 36, 58, 45], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [58, 45, 60]
Generated Node #2: [58, 45, 60] from Operation: 96-36=60
Current State: 73:[58, 45, 60], Operations: ['96-36=60']
Exploring Operation: 58-45=13, Resulting Numbers: [60, 13]
Generated Node #3: [60, 13] from Operation: 58-45=13
Current State: 73:[60, 13], Operations: ['96-36=60', '58-45=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[96, 36, 58, 45], Operations: []
Exploring Operation: 36+45=81, Resulting Numbers: [96, 58, 81]
Generated Node #0,0: 73:[96, 58, 81] Operation: 36+45=81
Exploring Operation: 96-36=60, Resulting Numbers: [58, 45, 60]
Generated Node #0,1: 73:[58, 45, 60] Operation: 96-36=60
Exploring Operation: 36+58=94, Resulting Numbers: [96, 45, 94]
Generated Node #0,2: 73:[96, 45, 94] Operation: 36+58=94
Moving to Node #0,0
Current State: 73:[96, 58, 81], Operations: ['36+45=81']
Exploring Operation: 96-81=15, Resulting Numbers: [58, 15]
Generated Node #0,0,0: 73:[58, 15] Operation: 96-81=15
Exploring Operation: 81-58=23, Resulting Numbers: [96, 23]
Generated Node #0,0,1: 73:[96, 23] Operation: 81-58=23
Exploring Operation: 96-58=38, Resulting Numbers: [81, 38]
Generated Node #0,0,2: 73:[81, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[81, 38], Operations: ['36+45=81', '96-58=38']
Exploring Operation: 81*38=3078, Resulting Numbers: [3078]
3078,73 unequal: No Solution
Exploring Operation: 81+38=119, Resulting Numbers: [119]
119,73 unequal: No Solution
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,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,0
Current State: 73:[58, 15], Operations: ['36+45=81', '96-81=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,73 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[96, 36, 58, 45], Operations: []
Exploring Operation: 36+45=81, Resulting Numbers: [96, 58, 81]
Generated Node #0,0: 73:[96, 58, 81] Operation: 36+45=81
Moving to Node #0,0
Current State: 73:[96, 58, 81], Operations: ['36+45=81']
Exploring Operation: 96-81=15, Resulting Numbers: [58, 15]
Generated Node #0,0,0: 73:[58, 15] Operation: 96-81=15
Moving to Node #0,0,0
Current State: 73:[58, 15], Operations: ['36+45=81', '96-81=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
36,
57,
74,
37
] | 75 | [
"36*37=1332",
"1332/74=18",
"57+18=75"
] | Current State: 75:[36, 57, 74, 37], Operations: []
Exploring Operation: 36*37=1332, Resulting Numbers: [57, 74, 1332]
Generated Node #2: [57, 74, 1332] from Operation: 36*37=1332
Current State: 75:[57, 74, 1332], Operations: ['36*37=1332']
Exploring Operation: 1332/74=18, Resulting Numbers: [57, 18]
Generated Node #3: [57, 18] from Operation: 1332/74=18
Current State: 75:[57, 18], Operations: ['36*37=1332', '1332/74=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[36, 57, 74, 37], Operations: []
Exploring Operation: 74-57=17, Resulting Numbers: [36, 37, 17]
Generated Node #0,0: 75:[36, 37, 17] Operation: 74-57=17
Exploring Operation: 36+37=73, Resulting Numbers: [57, 74, 73]
Generated Node #0,1: 75:[57, 74, 73] Operation: 36+37=73
Exploring Operation: 57-37=20, Resulting Numbers: [36, 74, 20]
Generated Node #0,2: 75:[36, 74, 20] Operation: 57-37=20
Exploring Operation: 37-36=1, Resulting Numbers: [57, 74, 1]
Generated Node #0,3: 75:[57, 74, 1] Operation: 37-36=1
Exploring Operation: 57-36=21, Resulting Numbers: [74, 37, 21]
Generated Node #0,4: 75:[74, 37, 21] Operation: 57-36=21
Moving to Node #0,2
Current State: 75:[36, 74, 20], Operations: ['57-37=20']
Exploring Operation: 74-20=54, Resulting Numbers: [36, 54]
Generated Node #0,2,0: 75:[36, 54] Operation: 74-20=54
Exploring Operation: 36-20=16, Resulting Numbers: [74, 16]
Generated Node #0,2,1: 75:[74, 16] Operation: 36-20=16
Exploring Operation: 74-36=38, Resulting Numbers: [20, 38]
Generated Node #0,2,2: 75:[20, 38] Operation: 74-36=38
Exploring Operation: 74+20=94, Resulting Numbers: [36, 94]
Generated Node #0,2,3: 75:[36, 94] Operation: 74+20=94
Exploring Operation: 36+20=56, Resulting Numbers: [74, 56]
Generated Node #0,2,4: 75:[74, 56] Operation: 36+20=56
Moving to Node #0,4
Current State: 75:[74, 37, 21], Operations: ['57-36=21']
Exploring Operation: 74/37=2, Resulting Numbers: [21, 2]
Generated Node #0,4,0: 75:[21, 2] Operation: 74/37=2
Exploring Operation: 37+21=58, Resulting Numbers: [74, 58]
Generated Node #0,4,1: 75:[74, 58] Operation: 37+21=58
Exploring Operation: 74+21=95, Resulting Numbers: [37, 95]
Generated Node #0,4,2: 75:[37, 95] Operation: 74+21=95
Exploring Operation: 37-21=16, Resulting Numbers: [74, 16]
Generated Node #0,4,3: 75:[74, 16] Operation: 37-21=16
Exploring Operation: 74-37=37, Resulting Numbers: [21, 37]
Generated Node #0,4,4: 75:[21, 37] Operation: 74-37=37
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 75:[74, 16], Operations: ['57-36=21', '37-21=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,75 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 75:[21, 2], Operations: ['57-36=21', '74/37=2']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 75:[21, 37], Operations: ['57-36=21', '74-37=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 75:[74, 58], Operations: ['57-36=21', '37+21=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,75 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 75:[37, 95], Operations: ['57-36=21', '74+21=95']
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 37+95=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 37*95=3515, Resulting Numbers: [3515]
3515,75 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: 75:[57, 74, 73], Operations: ['36+37=73']
Exploring Operation: 74-57=17, Resulting Numbers: [73, 17]
Generated Node #0,1,0: 75:[73, 17] Operation: 74-57=17
Exploring Operation: 74-73=1, Resulting Numbers: [57, 1]
Generated Node #0,1,1: 75:[57, 1] Operation: 74-73=1
Exploring Operation: 57+74=131, Resulting Numbers: [73, 131]
Generated Node #0,1,2: 75:[73, 131] Operation: 57+74=131
Exploring Operation: 73-57=16, Resulting Numbers: [74, 16]
Generated Node #0,1,3: 75:[74, 16] Operation: 73-57=16
Exploring Operation: 57+73=130, Resulting Numbers: [74, 130]
Generated Node #0,1,4: 75:[74, 130] Operation: 57+73=130
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[74, 16], Operations: ['36+37=73', '73-57=16']
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,75 unequal: No Solution
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[73, 17], Operations: ['36+37=73', '74-57=17']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,75 unequal: No Solution
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[57, 1], Operations: ['36+37=73', '74-73=1']
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 75:[74, 130], Operations: ['36+37=73', '57+73=130']
Exploring Operation: 74*130=9620, Resulting Numbers: [9620]
9620,75 unequal: No Solution
Exploring Operation: 130-74=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 74+130=204, Resulting Numbers: [204]
204,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[73, 131], Operations: ['36+37=73', '57+74=131']
Exploring Operation: 73*131=9563, Resulting Numbers: [9563]
9563,75 unequal: No Solution
Exploring Operation: 131-73=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 73+131=204, Resulting Numbers: [204]
204,75 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: 75:[57, 74, 1], Operations: ['37-36=1']
Exploring Operation: 74+1=75, Resulting Numbers: [57, 75]
Generated Node #0,3,0: 75:[57, 75] Operation: 74+1=75
Exploring Operation: 57*1=57, Resulting Numbers: [74, 57]
Generated Node #0,3,1: 75:[74, 57] Operation: 57*1=57
Exploring Operation: 57/1=57, Resulting Numbers: [74, 57]
Generated Node #0,3,2: 75:[74, 57] Operation: 57/1=57
Exploring Operation: 57+1=58, Resulting Numbers: [74, 58]
Generated Node #0,3,3: 75:[74, 58] Operation: 57+1=58
Exploring Operation: 74-57=17, Resulting Numbers: [1, 17]
Generated Node #0,3,4: 75:[1, 17] Operation: 74-57=17
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 75:[1, 17], Operations: ['37-36=1', '74-57=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[57, 75], Operations: ['37-36=1', '74+1=75']
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,75 unequal: No Solution
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[74, 58], Operations: ['37-36=1', '57+1=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,75 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[74, 57], Operations: ['37-36=1', '57*1=57']
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,75 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[74, 57], Operations: ['37-36=1', '57/1=57']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,75 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,75 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: 75:[36, 37, 17], Operations: ['74-57=17']
Exploring Operation: 36+37=73, Resulting Numbers: [17, 73]
Generated Node #0,0,0: 75:[17, 73] Operation: 36+37=73
Exploring Operation: 37-17=20, Resulting Numbers: [36, 20]
Generated Node #0,0,1: 75:[36, 20] Operation: 37-17=20
Exploring Operation: 36-17=19, Resulting Numbers: [37, 19]
Generated Node #0,0,2: 75:[37, 19] Operation: 36-17=19
Exploring Operation: 37-36=1, Resulting Numbers: [17, 1]
Generated Node #0,0,3: 75:[17, 1] Operation: 37-36=1
Exploring Operation: 37+17=54, Resulting Numbers: [36, 54]
Generated Node #0,0,4: 75:[36, 54] Operation: 37+17=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[17, 73], Operations: ['74-57=17', '36+37=73']
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 17+73=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 17*73=1241, Resulting Numbers: [1241]
1241,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[17, 1], Operations: ['74-57=17', '37-36=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[36, 20], Operations: ['74-57=17', '37-17=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[37, 19], Operations: ['74-57=17', '36-17=19']
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 75:[36, 54], Operations: ['74-57=17', '37+17=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 75:[74, 16], Operations: ['57-37=20', '36-20=16']
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,75 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[20, 38], Operations: ['57-37=20', '74-36=38']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[74, 56], Operations: ['57-37=20', '36+20=56']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,75 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[36, 94], Operations: ['57-37=20', '74+20=94']
Exploring Operation: 36*94=3384, Resulting Numbers: [3384]
3384,75 unequal: No Solution
Exploring Operation: 36+94=130, Resulting Numbers: [130]
130,75 unequal: No Solution
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[36, 54], Operations: ['57-37=20', '74-20=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,75 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,75 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,75 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
21,
58,
93
] | 41 | [
"55+21=76",
"93-58=35",
"76-35=41"
] | Current State: 41:[55, 21, 58, 93], Operations: []
Exploring Operation: 55+21=76, Resulting Numbers: [58, 93, 76]
Generated Node #2: [58, 93, 76] from Operation: 55+21=76
Current State: 41:[58, 93, 76], Operations: ['55+21=76']
Exploring Operation: 93-58=35, Resulting Numbers: [76, 35]
Generated Node #3: [76, 35] from Operation: 93-58=35
Current State: 41:[76, 35], Operations: ['55+21=76', '93-58=35']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[55, 21, 58, 93], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [21, 58, 38]
Generated Node #0,0: 41:[21, 58, 38] Operation: 93-55=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[21, 58, 38], Operations: ['93-55=38']
Exploring Operation: 58-21=37, Resulting Numbers: [38, 37]
Generated Node #0,0,0: 41:[38, 37] Operation: 58-21=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[38, 37], Operations: ['93-55=38', '58-21=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
3,
56,
19
] | 45 | [
"10*3=30",
"56+19=75",
"75-30=45"
] | Current State: 45:[10, 3, 56, 19], Operations: []
Exploring Operation: 10*3=30, Resulting Numbers: [56, 19, 30]
Generated Node #2: [56, 19, 30] from Operation: 10*3=30
Current State: 45:[56, 19, 30], Operations: ['10*3=30']
Exploring Operation: 56+19=75, Resulting Numbers: [30, 75]
Generated Node #3: [30, 75] from Operation: 56+19=75
Current State: 45:[30, 75], Operations: ['10*3=30', '56+19=75']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[10, 3, 56, 19], Operations: []
Exploring Operation: 19-3=16, Resulting Numbers: [10, 56, 16]
Generated Node #0,0: 45:[10, 56, 16] Operation: 19-3=16
Exploring Operation: 19-10=9, Resulting Numbers: [3, 56, 9]
Generated Node #0,1: 45:[3, 56, 9] Operation: 19-10=9
Exploring Operation: 56-10=46, Resulting Numbers: [3, 19, 46]
Generated Node #0,2: 45:[3, 19, 46] Operation: 56-10=46
Exploring Operation: 56-3=53, Resulting Numbers: [10, 19, 53]
Generated Node #0,3: 45:[10, 19, 53] Operation: 56-3=53
Exploring Operation: 56-19=37, Resulting Numbers: [10, 3, 37]
Generated Node #0,4: 45:[10, 3, 37] Operation: 56-19=37
Moving to Node #0,2
Current State: 45:[3, 19, 46], Operations: ['56-10=46']
Exploring Operation: 46-3=43, Resulting Numbers: [19, 43]
Generated Node #0,2,0: 45:[19, 43] Operation: 46-3=43
Exploring Operation: 3+19=22, Resulting Numbers: [46, 22]
Generated Node #0,2,1: 45:[46, 22] Operation: 3+19=22
Exploring Operation: 46-19=27, Resulting Numbers: [3, 27]
Generated Node #0,2,2: 45:[3, 27] Operation: 46-19=27
Exploring Operation: 19-3=16, Resulting Numbers: [46, 16]
Generated Node #0,2,3: 45:[46, 16] Operation: 19-3=16
Exploring Operation: 3+46=49, Resulting Numbers: [19, 49]
Generated Node #0,2,4: 45:[19, 49] Operation: 3+46=49
Moving to Node #0,4
Current State: 45:[10, 3, 37], Operations: ['56-19=37']
Exploring Operation: 10-3=7, Resulting Numbers: [37, 7]
Generated Node #0,4,0: 45:[37, 7] Operation: 10-3=7
Exploring Operation: 10+37=47, Resulting Numbers: [3, 47]
Generated Node #0,4,1: 45:[3, 47] Operation: 10+37=47
Exploring Operation: 10+3=13, Resulting Numbers: [37, 13]
Generated Node #0,4,2: 45:[37, 13] Operation: 10+3=13
Exploring Operation: 3+37=40, Resulting Numbers: [10, 40]
Generated Node #0,4,3: 45:[10, 40] Operation: 3+37=40
Exploring Operation: 37-10=27, Resulting Numbers: [3, 27]
Generated Node #0,4,4: 45:[3, 27] Operation: 37-10=27
Moving to Node #0,1
Current State: 45:[3, 56, 9], Operations: ['19-10=9']
Exploring Operation: 9-3=6, Resulting Numbers: [56, 6]
Generated Node #0,1,0: 45:[56, 6] Operation: 9-3=6
Exploring Operation: 56-9=47, Resulting Numbers: [3, 47]
Generated Node #0,1,1: 45:[3, 47] Operation: 56-9=47
Exploring Operation: 9/3=3, Resulting Numbers: [56, 3]
Generated Node #0,1,2: 45:[56, 3] Operation: 9/3=3
Exploring Operation: 56-3=53, Resulting Numbers: [9, 53]
Generated Node #0,1,3: 45:[9, 53] Operation: 56-3=53
Exploring Operation: 3+56=59, Resulting Numbers: [9, 59]
Generated Node #0,1,4: 45:[9, 59] Operation: 3+56=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[3, 47], Operations: ['19-10=9', '56-9=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[9, 53], Operations: ['19-10=9', '56-3=53']
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[56, 3], Operations: ['19-10=9', '9/3=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,45 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,45 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[56, 6], Operations: ['19-10=9', '9-3=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 45:[9, 59], Operations: ['19-10=9', '3+56=59']
Exploring Operation: 9*59=531, Resulting Numbers: [531]
531,45 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 9+59=68, Resulting Numbers: [68]
68,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 45:[10, 56, 16], Operations: ['19-3=16']
Exploring Operation: 56-16=40, Resulting Numbers: [10, 40]
Generated Node #0,0,0: 45:[10, 40] Operation: 56-16=40
Exploring Operation: 16-10=6, Resulting Numbers: [56, 6]
Generated Node #0,0,1: 45:[56, 6] Operation: 16-10=6
Exploring Operation: 10+56=66, Resulting Numbers: [16, 66]
Generated Node #0,0,2: 45:[16, 66] Operation: 10+56=66
Exploring Operation: 10+16=26, Resulting Numbers: [56, 26]
Generated Node #0,0,3: 45:[56, 26] Operation: 10+16=26
Exploring Operation: 56-10=46, Resulting Numbers: [16, 46]
Generated Node #0,0,4: 45:[16, 46] Operation: 56-10=46
Moving to Node #0,3
Current State: 45:[10, 19, 53], Operations: ['56-3=53']
Exploring Operation: 53-10=43, Resulting Numbers: [19, 43]
Generated Node #0,3,0: 45:[19, 43] Operation: 53-10=43
Exploring Operation: 10+53=63, Resulting Numbers: [19, 63]
Generated Node #0,3,1: 45:[19, 63] Operation: 10+53=63
Exploring Operation: 19-10=9, Resulting Numbers: [53, 9]
Generated Node #0,3,2: 45:[53, 9] Operation: 19-10=9
Exploring Operation: 10+19=29, Resulting Numbers: [53, 29]
Generated Node #0,3,3: 45:[53, 29] Operation: 10+19=29
Exploring Operation: 53-19=34, Resulting Numbers: [10, 34]
Generated Node #0,3,4: 45:[10, 34] Operation: 53-19=34
Moving to Node #0,2,3
Current State: 45:[46, 16], Operations: ['56-10=46', '19-3=16']
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,45 unequal: No Solution
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[3, 47], Operations: ['56-19=37', '10+37=47']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,45 unequal: No Solution
Moving to Node #0,0,4
Current State: 45:[16, 46], Operations: ['19-3=16', '56-10=46']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[10, 40], Operations: ['56-19=37', '3+37=40']
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,45 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[10, 40], Operations: ['19-3=16', '56-16=40']
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,45 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[19, 43], Operations: ['56-10=46', '46-3=43']
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,45 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[19, 43], Operations: ['56-3=53', '53-10=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,45 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[46, 22], Operations: ['56-10=46', '3+19=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,45 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[53, 9], Operations: ['56-3=53', '19-10=9']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 53+9=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 53*9=477, Resulting Numbers: [477]
477,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[19, 49], Operations: ['56-10=46', '3+46=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,45 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[37, 13], Operations: ['56-19=37', '10+3=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,45 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[37, 7], Operations: ['56-19=37', '10-3=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 37*7=259, Resulting Numbers: [259]
259,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[56, 6], Operations: ['19-3=16', '16-10=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,45 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Moving to Node #0,3,4
Current State: 45:[10, 34], Operations: ['56-3=53', '53-19=34']
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,45 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[3, 27], Operations: ['56-10=46', '46-19=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Moving to Node #0,4,4
Current State: 45:[3, 27], Operations: ['56-19=37', '37-10=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,45 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,0,3
Current State: 45:[56, 26], Operations: ['19-3=16', '10+16=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,45 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[19, 63], Operations: ['56-3=53', '10+53=63']
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,45 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[16, 66], Operations: ['19-3=16', '10+56=66']
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 16*66=1056, Resulting Numbers: [1056]
1056,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[53, 29], Operations: ['56-3=53', '10+19=29']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 53*29=1537, Resulting Numbers: [1537]
1537,45 unequal: No Solution
Exploring Operation: 53+29=82, Resulting Numbers: [82]
82,45 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
95,
51,
93,
47
] | 31 | [
"95-51=44",
"47-44=3",
"93/3=31"
] | Current State: 31:[95, 51, 93, 47], Operations: []
Exploring Operation: 95-51=44, Resulting Numbers: [93, 47, 44]
Generated Node #2: [93, 47, 44] from Operation: 95-51=44
Current State: 31:[93, 47, 44], Operations: ['95-51=44']
Exploring Operation: 47-44=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 47-44=3
Current State: 31:[93, 3], Operations: ['95-51=44', '47-44=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[95, 51, 93, 47], Operations: []
Exploring Operation: 95-51=44, Resulting Numbers: [93, 47, 44]
Generated Node #0,0: 31:[93, 47, 44] Operation: 95-51=44
Exploring Operation: 95-93=2, Resulting Numbers: [51, 47, 2]
Generated Node #0,1: 31:[51, 47, 2] Operation: 95-93=2
Exploring Operation: 93-51=42, Resulting Numbers: [95, 47, 42]
Generated Node #0,2: 31:[95, 47, 42] Operation: 93-51=42
Moving to Node #0,1
Current State: 31:[51, 47, 2], Operations: ['95-93=2']
Exploring Operation: 51-2=49, Resulting Numbers: [47, 49]
Generated Node #0,1,0: 31:[47, 49] Operation: 51-2=49
Exploring Operation: 47-2=45, Resulting Numbers: [51, 45]
Generated Node #0,1,1: 31:[51, 45] Operation: 47-2=45
Exploring Operation: 51+2=53, Resulting Numbers: [47, 53]
Generated Node #0,1,2: 31:[47, 53] Operation: 51+2=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[47, 49], Operations: ['95-93=2', '51-2=49']
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,31 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,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:[51, 45], Operations: ['95-93=2', '47-2=45']
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,31 unequal: No Solution
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,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,2
Current State: 31:[47, 53], Operations: ['95-93=2', '51+2=53']
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,31 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,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:[93, 47, 44], Operations: ['95-51=44']
Exploring Operation: 47-44=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 31:[93, 3] Operation: 47-44=3
Exploring Operation: 93-47=46, Resulting Numbers: [44, 46]
Generated Node #0,0,1: 31:[44, 46] Operation: 93-47=46
Exploring Operation: 93-44=49, Resulting Numbers: [47, 49]
Generated Node #0,0,2: 31:[47, 49] Operation: 93-44=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[44, 46], Operations: ['95-51=44', '93-47=46']
Exploring Operation: 44*46=2024, Resulting Numbers: [2024]
2024,31 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 44+46=90, Resulting Numbers: [90]
90,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:[47, 49], Operations: ['95-51=44', '93-44=49']
Exploring Operation: 47+49=96, Resulting Numbers: [96]
96,31 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 47*49=2303, Resulting Numbers: [2303]
2303,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:[93, 3], Operations: ['95-51=44', '47-44=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,31 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[95, 51, 93, 47], Operations: []
Exploring Operation: 95-51=44, Resulting Numbers: [93, 47, 44]
Generated Node #0,0: 31:[93, 47, 44] Operation: 95-51=44
Moving to Node #0,0
Current State: 31:[93, 47, 44], Operations: ['95-51=44']
Exploring Operation: 47-44=3, Resulting Numbers: [93, 3]
Generated Node #0,0,0: 31:[93, 3] Operation: 47-44=3
Moving to Node #0,0,0
Current State: 31:[93, 3], Operations: ['95-51=44', '47-44=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
42,
54,
99,
39
] | 81 | [
"42-39=3",
"54/3=18",
"99-18=81"
] | Current State: 81:[42, 54, 99, 39], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [54, 99, 3]
Generated Node #2: [54, 99, 3] from Operation: 42-39=3
Current State: 81:[54, 99, 3], Operations: ['42-39=3']
Exploring Operation: 54/3=18, Resulting Numbers: [99, 18]
Generated Node #3: [99, 18] from Operation: 54/3=18
Current State: 81:[99, 18], Operations: ['42-39=3', '54/3=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[42, 54, 99, 39], Operations: []
Exploring Operation: 42+54=96, Resulting Numbers: [99, 39, 96]
Generated Node #0,0: 81:[99, 39, 96] Operation: 42+54=96
Exploring Operation: 54-39=15, Resulting Numbers: [42, 99, 15]
Generated Node #0,1: 81:[42, 99, 15] Operation: 54-39=15
Exploring Operation: 54-42=12, Resulting Numbers: [99, 39, 12]
Generated Node #0,2: 81:[99, 39, 12] Operation: 54-42=12
Moving to Node #0,2
Current State: 81:[99, 39, 12], Operations: ['54-42=12']
Exploring Operation: 99-39=60, Resulting Numbers: [12, 60]
Generated Node #0,2,0: 81:[12, 60] Operation: 99-39=60
Exploring Operation: 39-12=27, Resulting Numbers: [99, 27]
Generated Node #0,2,1: 81:[99, 27] Operation: 39-12=27
Exploring Operation: 99-12=87, Resulting Numbers: [39, 87]
Generated Node #0,2,2: 81:[39, 87] Operation: 99-12=87
Moving to Node #0,1
Current State: 81:[42, 99, 15], Operations: ['54-39=15']
Exploring Operation: 99-15=84, Resulting Numbers: [42, 84]
Generated Node #0,1,0: 81:[42, 84] Operation: 99-15=84
Exploring Operation: 42-15=27, Resulting Numbers: [99, 27]
Generated Node #0,1,1: 81:[99, 27] Operation: 42-15=27
Exploring Operation: 99-42=57, Resulting Numbers: [15, 57]
Generated Node #0,1,2: 81:[15, 57] Operation: 99-42=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[42, 84], Operations: ['54-39=15', '99-15=84']
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 42+84=126, Resulting Numbers: [126]
126,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[99, 27], Operations: ['54-39=15', '42-15=27']
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[15, 57], Operations: ['54-39=15', '99-42=57']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,81 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: 81:[99, 39, 96], Operations: ['42+54=96']
Exploring Operation: 99-96=3, Resulting Numbers: [39, 3]
Generated Node #0,0,0: 81:[39, 3] Operation: 99-96=3
Exploring Operation: 99-39=60, Resulting Numbers: [96, 60]
Generated Node #0,0,1: 81:[96, 60] Operation: 99-39=60
Exploring Operation: 96-39=57, Resulting Numbers: [99, 57]
Generated Node #0,0,2: 81:[99, 57] Operation: 96-39=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[39, 3], Operations: ['42+54=96', '99-96=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[96, 60], Operations: ['42+54=96', '99-39=60']
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,81 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[99, 57], Operations: ['42+54=96', '96-39=57']
Exploring Operation: 99*57=5643, Resulting Numbers: [5643]
5643,81 unequal: No Solution
Exploring Operation: 99+57=156, Resulting Numbers: [156]
156,81 unequal: No Solution
Exploring Operation: 99-57=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 81:[99, 27], Operations: ['54-42=12', '39-12=27']
Exploring Operation: 99*27=2673, Resulting Numbers: [2673]
2673,81 unequal: No Solution
Exploring Operation: 99-27=72, Resulting Numbers: [72]
72,81 unequal: No Solution
Exploring Operation: 99+27=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[39, 87], Operations: ['54-42=12', '99-12=87']
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,81 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[12, 60], Operations: ['54-42=12', '99-39=60']
Exploring Operation: 60-12=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 60/12=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
24,
14,
3,
11
] | 74 | [
"24/3=8",
"11*8=88",
"88-14=74"
] | Current State: 74:[24, 14, 3, 11], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [14, 11, 8]
Generated Node #2: [14, 11, 8] from Operation: 24/3=8
Current State: 74:[14, 11, 8], Operations: ['24/3=8']
Exploring Operation: 11*8=88, Resulting Numbers: [14, 88]
Generated Node #3: [14, 88] from Operation: 11*8=88
Current State: 74:[14, 88], Operations: ['24/3=8', '11*8=88']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[24, 14, 3, 11], Operations: []
Exploring Operation: 24+11=35, Resulting Numbers: [14, 3, 35]
Generated Node #0,0: 74:[14, 3, 35] Operation: 24+11=35
Exploring Operation: 14-11=3, Resulting Numbers: [24, 3, 3]
Generated Node #0,1: 74:[24, 3, 3] Operation: 14-11=3
Exploring Operation: 24*3=72, Resulting Numbers: [14, 11, 72]
Generated Node #0,2: 74:[14, 11, 72] Operation: 24*3=72
Exploring Operation: 24-14=10, Resulting Numbers: [3, 11, 10]
Generated Node #0,3: 74:[3, 11, 10] Operation: 24-14=10
Exploring Operation: 24+14=38, Resulting Numbers: [3, 11, 38]
Generated Node #0,4: 74:[3, 11, 38] Operation: 24+14=38
Moving to Node #0,4
Current State: 74:[3, 11, 38], Operations: ['24+14=38']
Exploring Operation: 11-3=8, Resulting Numbers: [38, 8]
Generated Node #0,4,0: 74:[38, 8] Operation: 11-3=8
Exploring Operation: 38-3=35, Resulting Numbers: [11, 35]
Generated Node #0,4,1: 74:[11, 35] Operation: 38-3=35
Exploring Operation: 3+11=14, Resulting Numbers: [38, 14]
Generated Node #0,4,2: 74:[38, 14] Operation: 3+11=14
Exploring Operation: 3*11=33, Resulting Numbers: [38, 33]
Generated Node #0,4,3: 74:[38, 33] Operation: 3*11=33
Exploring Operation: 38-11=27, Resulting Numbers: [3, 27]
Generated Node #0,4,4: 74:[3, 27] Operation: 38-11=27
Moving to Node #0,1
Current State: 74:[24, 3, 3], Operations: ['14-11=3']
Exploring Operation: 24+3=27, Resulting Numbers: [3, 27]
Generated Node #0,1,0: 74:[3, 27] Operation: 24+3=27
Exploring Operation: 24/3=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 74:[3, 8] Operation: 24/3=8
Exploring Operation: 24/3=8, Resulting Numbers: [3, 8]
Generated Node #0,1,2: 74:[3, 8] Operation: 24/3=8
Exploring Operation: 24*3=72, Resulting Numbers: [3, 72]
Generated Node #0,1,3: 74:[3, 72] Operation: 24*3=72
Exploring Operation: 24*3=72, Resulting Numbers: [3, 72]
Generated Node #0,1,4: 74:[3, 72] Operation: 24*3=72
Moving to Node #0,0
Current State: 74:[14, 3, 35], Operations: ['24+11=35']
Exploring Operation: 3+35=38, Resulting Numbers: [14, 38]
Generated Node #0,0,0: 74:[14, 38] Operation: 3+35=38
Exploring Operation: 14-3=11, Resulting Numbers: [35, 11]
Generated Node #0,0,1: 74:[35, 11] Operation: 14-3=11
Exploring Operation: 14*3=42, Resulting Numbers: [35, 42]
Generated Node #0,0,2: 74:[35, 42] Operation: 14*3=42
Exploring Operation: 14+3=17, Resulting Numbers: [35, 17]
Generated Node #0,0,3: 74:[35, 17] Operation: 14+3=17
Exploring Operation: 14+35=49, Resulting Numbers: [3, 49]
Generated Node #0,0,4: 74:[3, 49] Operation: 14+35=49
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[35, 42], Operations: ['24+11=35', '14*3=42']
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,74 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,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,1
Current State: 74:[35, 11], Operations: ['24+11=35', '14-3=11']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,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:[14, 38], Operations: ['24+11=35', '3+35=38']
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 14*38=532, Resulting Numbers: [532]
532,74 unequal: No Solution
Exploring Operation: 14+38=52, Resulting Numbers: [52]
52,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,4
Current State: 74:[3, 49], Operations: ['24+11=35', '14+35=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,74 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 74:[35, 17], Operations: ['24+11=35', '14+3=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,74 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 74:[3, 11, 10], Operations: ['24-14=10']
Exploring Operation: 3*11=33, Resulting Numbers: [10, 33]
Generated Node #0,3,0: 74:[10, 33] Operation: 3*11=33
Exploring Operation: 11-10=1, Resulting Numbers: [3, 1]
Generated Node #0,3,1: 74:[3, 1] Operation: 11-10=1
Exploring Operation: 3*10=30, Resulting Numbers: [11, 30]
Generated Node #0,3,2: 74:[11, 30] Operation: 3*10=30
Exploring Operation: 11-3=8, Resulting Numbers: [10, 8]
Generated Node #0,3,3: 74:[10, 8] Operation: 11-3=8
Exploring Operation: 10-3=7, Resulting Numbers: [11, 7]
Generated Node #0,3,4: 74:[11, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[3, 1], Operations: ['24-14=10', '11-10=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[10, 33], Operations: ['24-14=10', '3*11=33']
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,74 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,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,3,3
Current State: 74:[10, 8], Operations: ['24-14=10', '11-3=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,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,3,4
Current State: 74:[11, 7], Operations: ['24-14=10', '10-3=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,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,3,2
Current State: 74:[11, 30], Operations: ['24-14=10', '3*10=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,74 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,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:[14, 11, 72], Operations: ['24*3=72']
Exploring Operation: 11+72=83, Resulting Numbers: [14, 83]
Generated Node #0,2,0: 74:[14, 83] Operation: 11+72=83
Exploring Operation: 14-11=3, Resulting Numbers: [72, 3]
Generated Node #0,2,1: 74:[72, 3] Operation: 14-11=3
Exploring Operation: 14+11=25, Resulting Numbers: [72, 25]
Generated Node #0,2,2: 74:[72, 25] Operation: 14+11=25
Exploring Operation: 72-14=58, Resulting Numbers: [11, 58]
Generated Node #0,2,3: 74:[11, 58] Operation: 72-14=58
Exploring Operation: 14+72=86, Resulting Numbers: [11, 86]
Generated Node #0,2,4: 74:[11, 86] Operation: 14+72=86
Moving to Node #0,1,3
Current State: 74:[3, 72], Operations: ['14-11=3', '24*3=72']
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,74 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,1,4
Current State: 74:[3, 72], Operations: ['14-11=3', '24*3=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,74 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[72, 3], Operations: ['24*3=72', '14-11=3']
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,74 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[38, 33], Operations: ['24+14=38', '3*11=33']
Exploring Operation: 38+33=71, Resulting Numbers: [71]
71,74 unequal: No Solution
Exploring Operation: 38*33=1254, Resulting Numbers: [1254]
1254,74 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[38, 8], Operations: ['24+14=38', '11-3=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,74 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[3, 8], Operations: ['14-11=3', '24/3=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[3, 8], Operations: ['14-11=3', '24/3=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[11, 35], Operations: ['24+14=38', '38-3=35']
Exploring Operation: 11*35=385, Resulting Numbers: [385]
385,74 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[3, 27], Operations: ['14-11=3', '24+3=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[3, 27], Operations: ['24+14=38', '38-11=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[38, 14], Operations: ['24+14=38', '3+11=14']
Exploring Operation: 38*14=532, Resulting Numbers: [532]
532,74 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[72, 25], Operations: ['24*3=72', '14+11=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,74 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[14, 83], Operations: ['24*3=72', '11+72=83']
Exploring Operation: 14*83=1162, Resulting Numbers: [1162]
1162,74 unequal: No Solution
Exploring Operation: 14+83=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[11, 86], Operations: ['24*3=72', '14+72=86']
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,74 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[11, 58], Operations: ['24*3=72', '72-14=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,74 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,74 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,74 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
49,
5,
56,
35
] | 49 | [
"49*5=245",
"245/35=7",
"56-7=49"
] | Current State: 49:[49, 5, 56, 35], Operations: []
Exploring Operation: 49*5=245, Resulting Numbers: [56, 35, 245]
Generated Node #2: [56, 35, 245] from Operation: 49*5=245
Current State: 49:[56, 35, 245], Operations: ['49*5=245']
Exploring Operation: 245/35=7, Resulting Numbers: [56, 7]
Generated Node #3: [56, 7] from Operation: 245/35=7
Current State: 49:[56, 7], Operations: ['49*5=245', '245/35=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[49, 5, 56, 35], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [5, 35, 7]
Generated Node #0,0: 49:[5, 35, 7] Operation: 56-49=7
Exploring Operation: 56-5=51, Resulting Numbers: [49, 35, 51]
Generated Node #0,1: 49:[49, 35, 51] Operation: 56-5=51
Exploring Operation: 49-35=14, Resulting Numbers: [5, 56, 14]
Generated Node #0,2: 49:[5, 56, 14] Operation: 49-35=14
Exploring Operation: 35/5=7, Resulting Numbers: [49, 56, 7]
Generated Node #0,3: 49:[49, 56, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[49, 56, 7], Operations: ['35/5=7']
Exploring Operation: 56-49=7, Resulting Numbers: [7, 7]
Generated Node #0,3,0: 49:[7, 7] Operation: 56-49=7
Exploring Operation: 56-7=49, Resulting Numbers: [49, 49]
Generated Node #0,3,1: 49:[49, 49] Operation: 56-7=49
Exploring Operation: 49/7=7, Resulting Numbers: [56, 7]
Generated Node #0,3,2: 49:[56, 7] Operation: 49/7=7
Exploring Operation: 56/7=8, Resulting Numbers: [49, 8]
Generated Node #0,3,3: 49:[49, 8] Operation: 56/7=8
Moving to Node #0,3,0
Current State: 49:[7, 7], Operations: ['35/5=7', '56-49=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[49, 5, 56, 35], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [49, 56, 7]
Generated Node #0,3: 49:[49, 56, 7] Operation: 35/5=7
Moving to Node #0,3
Current State: 49:[49, 56, 7], Operations: ['35/5=7']
Exploring Operation: 56-49=7, Resulting Numbers: [7, 7]
Generated Node #0,3,0: 49:[7, 7] Operation: 56-49=7
Moving to Node #0,3,0
Current State: 49:[7, 7], Operations: ['35/5=7', '56-49=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
5,
4,
27,
17
] | 62 | [
"5*17=85",
"27-4=23",
"85-23=62"
] | Current State: 62:[5, 4, 27, 17], Operations: []
Exploring Operation: 5*17=85, Resulting Numbers: [4, 27, 85]
Generated Node #2: [4, 27, 85] from Operation: 5*17=85
Current State: 62:[4, 27, 85], Operations: ['5*17=85']
Exploring Operation: 27-4=23, Resulting Numbers: [85, 23]
Generated Node #3: [85, 23] from Operation: 27-4=23
Current State: 62:[85, 23], Operations: ['5*17=85', '27-4=23']
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[5, 4, 27, 17], Operations: []
Exploring Operation: 4*17=68, Resulting Numbers: [5, 27, 68]
Generated Node #0,0: 62:[5, 27, 68] Operation: 4*17=68
Exploring Operation: 17-5=12, Resulting Numbers: [4, 27, 12]
Generated Node #0,1: 62:[4, 27, 12] Operation: 17-5=12
Exploring Operation: 5+27=32, Resulting Numbers: [4, 17, 32]
Generated Node #0,2: 62:[4, 17, 32] Operation: 5+27=32
Exploring Operation: 5+17=22, Resulting Numbers: [4, 27, 22]
Generated Node #0,3: 62:[4, 27, 22] Operation: 5+17=22
Exploring Operation: 27-17=10, Resulting Numbers: [5, 4, 10]
Generated Node #0,4: 62:[5, 4, 10] Operation: 27-17=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[5, 27, 68], Operations: ['4*17=68']
Exploring Operation: 27-5=22, Resulting Numbers: [68, 22]
Generated Node #0,0,0: 62:[68, 22] Operation: 27-5=22
Exploring Operation: 68-5=63, Resulting Numbers: [27, 63]
Generated Node #0,0,1: 62:[27, 63] Operation: 68-5=63
Exploring Operation: 5+68=73, Resulting Numbers: [27, 73]
Generated Node #0,0,2: 62:[27, 73] Operation: 5+68=73
Exploring Operation: 5+27=32, Resulting Numbers: [68, 32]
Generated Node #0,0,3: 62:[68, 32] Operation: 5+27=32
Exploring Operation: 68-27=41, Resulting Numbers: [5, 41]
Generated Node #0,0,4: 62:[5, 41] Operation: 68-27=41
Moving to Node #0,0,1
Current State: 62:[27, 63], Operations: ['4*17=68', '68-5=63']
Exploring Operation: 27*63=1701, Resulting Numbers: [1701]
1701,62 unequal: No Solution
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[68, 32], Operations: ['4*17=68', '5+27=32']
Exploring Operation: 68+32=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 68*32=2176, Resulting Numbers: [2176]
2176,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[5, 41], Operations: ['4*17=68', '68-27=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[68, 22], Operations: ['4*17=68', '27-5=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,62 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[27, 73], Operations: ['4*17=68', '5+68=73']
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 27*73=1971, Resulting Numbers: [1971]
1971,62 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 62:[5, 4, 10], Operations: ['27-17=10']
Exploring Operation: 10/5=2, Resulting Numbers: [4, 2]
Generated Node #0,4,0: 62:[4, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [4, 5]
Generated Node #0,4,1: 62:[4, 5] Operation: 10-5=5
Exploring Operation: 4*10=40, Resulting Numbers: [5, 40]
Generated Node #0,4,2: 62:[5, 40] Operation: 4*10=40
Exploring Operation: 10-4=6, Resulting Numbers: [5, 6]
Generated Node #0,4,3: 62:[5, 6] Operation: 10-4=6
Exploring Operation: 5-4=1, Resulting Numbers: [10, 1]
Generated Node #0,4,4: 62:[10, 1] Operation: 5-4=1
Moving to Node #0,4,0
Current State: 62:[4, 2], Operations: ['27-17=10', '10/5=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[4, 5], Operations: ['27-17=10', '10-5=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[5, 6], Operations: ['27-17=10', '10-4=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[10, 1], Operations: ['27-17=10', '5-4=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[5, 40], Operations: ['27-17=10', '4*10=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,62 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[4, 27, 22], Operations: ['5+17=22']
Exploring Operation: 4+27=31, Resulting Numbers: [22, 31]
Generated Node #0,3,0: 62:[22, 31] Operation: 4+27=31
Exploring Operation: 27-4=23, Resulting Numbers: [22, 23]
Generated Node #0,3,1: 62:[22, 23] Operation: 27-4=23
Exploring Operation: 27-22=5, Resulting Numbers: [4, 5]
Generated Node #0,3,2: 62:[4, 5] Operation: 27-22=5
Exploring Operation: 27+22=49, Resulting Numbers: [4, 49]
Generated Node #0,3,3: 62:[4, 49] Operation: 27+22=49
Exploring Operation: 4+22=26, Resulting Numbers: [27, 26]
Generated Node #0,3,4: 62:[27, 26] Operation: 4+22=26
Moving to Node #0,3,2
Current State: 62:[4, 5], Operations: ['5+17=22', '27-22=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[27, 26], Operations: ['5+17=22', '4+22=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,62 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[22, 31], Operations: ['5+17=22', '4+27=31']
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,62 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[4, 49], Operations: ['5+17=22', '27+22=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[22, 23], Operations: ['5+17=22', '27-4=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,62 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[4, 27, 12], Operations: ['17-5=12']
Exploring Operation: 12-4=8, Resulting Numbers: [27, 8]
Generated Node #0,1,0: 62:[27, 8] Operation: 12-4=8
Exploring Operation: 4+27=31, Resulting Numbers: [12, 31]
Generated Node #0,1,1: 62:[12, 31] Operation: 4+27=31
Exploring Operation: 27+12=39, Resulting Numbers: [4, 39]
Generated Node #0,1,2: 62:[4, 39] Operation: 27+12=39
Exploring Operation: 12/4=3, Resulting Numbers: [27, 3]
Generated Node #0,1,3: 62:[27, 3] Operation: 12/4=3
Exploring Operation: 27-12=15, Resulting Numbers: [4, 15]
Generated Node #0,1,4: 62:[4, 15] Operation: 27-12=15
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 62:[27, 3], Operations: ['17-5=12', '12/4=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,62 unequal: No Solution
No 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: 62:[27, 8], Operations: ['17-5=12', '12-4=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,62 unequal: No Solution
No 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: 62:[12, 31], Operations: ['17-5=12', '4+27=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,62 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No 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: 62:[4, 39], Operations: ['17-5=12', '27+12=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,62 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,62 unequal: No Solution
No 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: 62:[4, 15], Operations: ['17-5=12', '27-12=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,62 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: 62:[4, 17, 32], Operations: ['5+27=32']
Exploring Operation: 4+17=21, Resulting Numbers: [32, 21]
Generated Node #0,2,0: 62:[32, 21] Operation: 4+17=21
Exploring Operation: 17-4=13, Resulting Numbers: [32, 13]
Generated Node #0,2,1: 62:[32, 13] Operation: 17-4=13
Exploring Operation: 4*17=68, Resulting Numbers: [32, 68]
Generated Node #0,2,2: 62:[32, 68] Operation: 4*17=68
Exploring Operation: 32-17=15, Resulting Numbers: [4, 15]
Generated Node #0,2,3: 62:[4, 15] Operation: 32-17=15
Exploring Operation: 17+32=49, Resulting Numbers: [4, 49]
Generated Node #0,2,4: 62:[4, 49] Operation: 17+32=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 62:[32, 68], Operations: ['5+27=32', '4*17=68']
Exploring Operation: 32+68=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 32*68=2176, Resulting Numbers: [2176]
2176,62 unequal: No Solution
Exploring Operation: 68-32=36, Resulting Numbers: [36]
36,62 unequal: No Solution
No 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: 62:[32, 21], Operations: ['5+27=32', '4+17=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,62 unequal: No Solution
No 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: 62:[32, 13], Operations: ['5+27=32', '17-4=13']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 32+13=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 32*13=416, Resulting Numbers: [416]
416,62 unequal: No Solution
No 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: 62:[4, 15], Operations: ['5+27=32', '32-17=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,62 unequal: No Solution
No 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: 62:[4, 49], Operations: ['5+27=32', '17+32=49']
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,62 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,62 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 |
[
23,
16,
3,
40
] | 50 | [
"23-16=7",
"3+40=43",
"7+43=50"
] | Current State: 50:[23, 16, 3, 40], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [3, 40, 7]
Generated Node #2: [3, 40, 7] from Operation: 23-16=7
Current State: 50:[3, 40, 7], Operations: ['23-16=7']
Exploring Operation: 3+40=43, Resulting Numbers: [7, 43]
Generated Node #3: [7, 43] from Operation: 3+40=43
Current State: 50:[7, 43], Operations: ['23-16=7', '3+40=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[23, 16, 3, 40], Operations: []
Exploring Operation: 23-16=7, Resulting Numbers: [3, 40, 7]
Generated Node #0,0: 50:[3, 40, 7] Operation: 23-16=7
Exploring Operation: 40-16=24, Resulting Numbers: [23, 3, 24]
Generated Node #0,1: 50:[23, 3, 24] Operation: 40-16=24
Exploring Operation: 16+40=56, Resulting Numbers: [23, 3, 56]
Generated Node #0,2: 50:[23, 3, 56] Operation: 16+40=56
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[23, 3, 24], Operations: ['40-16=24']
Exploring Operation: 23+3=26, Resulting Numbers: [24, 26]
Generated Node #0,1,0: 50:[24, 26] Operation: 23+3=26
Exploring Operation: 23+24=47, Resulting Numbers: [3, 47]
Generated Node #0,1,1: 50:[3, 47] Operation: 23+24=47
Exploring Operation: 24-23=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 50:[3, 1] Operation: 24-23=1
Moving to Node #0,1,0
Current State: 50:[24, 26], Operations: ['40-16=24', '23+3=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,50 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[23, 16, 3, 40], Operations: []
Exploring Operation: 40-16=24, Resulting Numbers: [23, 3, 24]
Generated Node #0,1: 50:[23, 3, 24] Operation: 40-16=24
Moving to Node #0,1
Current State: 50:[23, 3, 24], Operations: ['40-16=24']
Exploring Operation: 23+3=26, Resulting Numbers: [24, 26]
Generated Node #0,1,0: 50:[24, 26] Operation: 23+3=26
Moving to Node #0,1,0
Current State: 50:[24, 26], Operations: ['40-16=24', '23+3=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
40,
82,
7,
30
] | 84 | [
"82-40=42",
"42-30=12",
"7*12=84"
] | Current State: 84:[40, 82, 7, 30], Operations: []
Exploring Operation: 82-40=42, Resulting Numbers: [7, 30, 42]
Generated Node #2: [7, 30, 42] from Operation: 82-40=42
Current State: 84:[7, 30, 42], Operations: ['82-40=42']
Exploring Operation: 42-30=12, Resulting Numbers: [7, 12]
Generated Node #3: [7, 12] from Operation: 42-30=12
Current State: 84:[7, 12], Operations: ['82-40=42', '42-30=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[40, 82, 7, 30], Operations: []
Exploring Operation: 82-40=42, Resulting Numbers: [7, 30, 42]
Generated Node #0,0: 84:[7, 30, 42] Operation: 82-40=42
Exploring Operation: 40-30=10, Resulting Numbers: [82, 7, 10]
Generated Node #0,1: 84:[82, 7, 10] Operation: 40-30=10
Moving to Node #0,0
Current State: 84:[7, 30, 42], Operations: ['82-40=42']
Exploring Operation: 30-7=23, Resulting Numbers: [42, 23]
Generated Node #0,0,0: 84:[42, 23] Operation: 30-7=23
Exploring Operation: 42-30=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 84:[7, 12] Operation: 42-30=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[7, 12], Operations: ['82-40=42', '42-30=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[40, 82, 7, 30], Operations: []
Exploring Operation: 82-40=42, Resulting Numbers: [7, 30, 42]
Generated Node #0,0: 84:[7, 30, 42] Operation: 82-40=42
Moving to Node #0,0
Current State: 84:[7, 30, 42], Operations: ['82-40=42']
Exploring Operation: 42-30=12, Resulting Numbers: [7, 12]
Generated Node #0,0,1: 84:[7, 12] Operation: 42-30=12
Moving to Node #0,0,1
Current State: 84:[7, 12], Operations: ['82-40=42', '42-30=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
2,
85,
23,
56
] | 19 | [
"56-23=33",
"2*33=66",
"85-66=19"
] | Current State: 19:[2, 85, 23, 56], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [2, 85, 33]
Generated Node #2: [2, 85, 33] from Operation: 56-23=33
Current State: 19:[2, 85, 33], Operations: ['56-23=33']
Exploring Operation: 2*33=66, Resulting Numbers: [85, 66]
Generated Node #3: [85, 66] from Operation: 2*33=66
Current State: 19:[85, 66], Operations: ['56-23=33', '2*33=66']
Exploring Operation: 85-66=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[2, 85, 23, 56], Operations: []
Exploring Operation: 56/2=28, Resulting Numbers: [85, 23, 28]
Generated Node #0,0: 19:[85, 23, 28] Operation: 56/2=28
Exploring Operation: 85-56=29, Resulting Numbers: [2, 23, 29]
Generated Node #0,1: 19:[2, 23, 29] Operation: 85-56=29
Moving to Node #0,1
Current State: 19:[2, 23, 29], Operations: ['85-56=29']
Exploring Operation: 23-2=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 19:[29, 21] Operation: 23-2=21
Exploring Operation: 29-2=27, Resulting Numbers: [23, 27]
Generated Node #0,1,1: 19:[23, 27] Operation: 29-2=27
Moving to Node #0,0
Current State: 19:[85, 23, 28], Operations: ['56/2=28']
Exploring Operation: 85-23=62, Resulting Numbers: [28, 62]
Generated Node #0,0,0: 19:[28, 62] Operation: 85-23=62
Exploring Operation: 85-28=57, Resulting Numbers: [23, 57]
Generated Node #0,0,1: 19:[23, 57] Operation: 85-28=57
Moving to Node #0,1,0
Current State: 19:[29, 21], Operations: ['85-56=29', '23-2=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[23, 27], Operations: ['85-56=29', '29-2=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[23, 57], Operations: ['56/2=28', '85-28=57']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[28, 62], Operations: ['56/2=28', '85-23=62']
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,19 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
90,
30,
9,
33
] | 96 | [
"90+30=120",
"33-9=24",
"120-24=96"
] | Current State: 96:[90, 30, 9, 33], Operations: []
Exploring Operation: 90+30=120, Resulting Numbers: [9, 33, 120]
Generated Node #2: [9, 33, 120] from Operation: 90+30=120
Current State: 96:[9, 33, 120], Operations: ['90+30=120']
Exploring Operation: 33-9=24, Resulting Numbers: [120, 24]
Generated Node #3: [120, 24] from Operation: 33-9=24
Current State: 96:[120, 24], Operations: ['90+30=120', '33-9=24']
Exploring Operation: 120-24=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[90, 30, 9, 33], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [9, 33, 3]
Generated Node #0,0: 96:[9, 33, 3] Operation: 90/30=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[9, 33, 3], Operations: ['90/30=3']
Exploring Operation: 33-9=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 96:[3, 24] Operation: 33-9=24
Moving to Node #0,0,0
Current State: 96:[3, 24], Operations: ['90/30=3', '33-9=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 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 |
[
5,
83,
85,
61
] | 25 | [
"83-61=22",
"5*22=110",
"110-85=25"
] | Current State: 25:[5, 83, 85, 61], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [5, 85, 22]
Generated Node #2: [5, 85, 22] from Operation: 83-61=22
Current State: 25:[5, 85, 22], Operations: ['83-61=22']
Exploring Operation: 5*22=110, Resulting Numbers: [85, 110]
Generated Node #3: [85, 110] from Operation: 5*22=110
Current State: 25:[85, 110], Operations: ['83-61=22', '5*22=110']
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[5, 83, 85, 61], Operations: []
Exploring Operation: 85-83=2, Resulting Numbers: [5, 61, 2]
Generated Node #0,0: 25:[5, 61, 2] Operation: 85-83=2
Exploring Operation: 83-61=22, Resulting Numbers: [5, 85, 22]
Generated Node #0,1: 25:[5, 85, 22] Operation: 83-61=22
Exploring Operation: 85-61=24, Resulting Numbers: [5, 83, 24]
Generated Node #0,2: 25:[5, 83, 24] Operation: 85-61=24
Moving to Node #0,0
Current State: 25:[5, 61, 2], Operations: ['85-83=2']
Exploring Operation: 61-5=56, Resulting Numbers: [2, 56]
Generated Node #0,0,0: 25:[2, 56] Operation: 61-5=56
Exploring Operation: 5+2=7, Resulting Numbers: [61, 7]
Generated Node #0,0,1: 25:[61, 7] Operation: 5+2=7
Exploring Operation: 61-2=59, Resulting Numbers: [5, 59]
Generated Node #0,0,2: 25:[5, 59] Operation: 61-2=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[2, 56], Operations: ['85-83=2', '61-5=56']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,25 unequal: No Solution
No 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: 25:[5, 59], Operations: ['85-83=2', '61-2=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,25 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No 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: 25:[61, 7], Operations: ['85-83=2', '5+2=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,25 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,25 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: 25:[5, 83, 24], Operations: ['85-61=24']
Exploring Operation: 83-24=59, Resulting Numbers: [5, 59]
Generated Node #0,2,0: 25:[5, 59] Operation: 83-24=59
Exploring Operation: 5+24=29, Resulting Numbers: [83, 29]
Generated Node #0,2,1: 25:[83, 29] Operation: 5+24=29
Exploring Operation: 83-5=78, Resulting Numbers: [24, 78]
Generated Node #0,2,2: 25:[24, 78] Operation: 83-5=78
Moving to Node #0,1
Current State: 25:[5, 85, 22], Operations: ['83-61=22']
Exploring Operation: 85/5=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 25:[22, 17] Operation: 85/5=17
Exploring Operation: 85-5=80, Resulting Numbers: [22, 80]
Generated Node #0,1,1: 25:[22, 80] Operation: 85-5=80
Exploring Operation: 85-22=63, Resulting Numbers: [5, 63]
Generated Node #0,1,2: 25:[5, 63] Operation: 85-22=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[22, 17], Operations: ['83-61=22', '85/5=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,25 unequal: No Solution
No 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: 25:[5, 63], Operations: ['83-61=22', '85-22=63']
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 5*63=315, Resulting Numbers: [315]
315,25 unequal: No Solution
No 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: 25:[22, 80], Operations: ['83-61=22', '85-5=80']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 22*80=1760, Resulting Numbers: [1760]
1760,25 unequal: No Solution
Exploring Operation: 22+80=102, Resulting Numbers: [102]
102,25 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: 25:[5, 59], Operations: ['85-61=24', '83-24=59']
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,25 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[24, 78], Operations: ['85-61=24', '83-5=78']
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,25 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[83, 29], Operations: ['85-61=24', '5+24=29']
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,25 unequal: No Solution
Exploring Operation: 83*29=2407, Resulting Numbers: [2407]
2407,25 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
91,
5,
18
] | 36 | [
"91-32=59",
"5+18=23",
"59-23=36"
] | Current State: 36:[32, 91, 5, 18], Operations: []
Exploring Operation: 91-32=59, Resulting Numbers: [5, 18, 59]
Generated Node #2: [5, 18, 59] from Operation: 91-32=59
Current State: 36:[5, 18, 59], Operations: ['91-32=59']
Exploring Operation: 5+18=23, Resulting Numbers: [59, 23]
Generated Node #3: [59, 23] from Operation: 5+18=23
Current State: 36:[59, 23], Operations: ['91-32=59', '5+18=23']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[32, 91, 5, 18], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [32, 5, 73]
Generated Node #0,0: 36:[32, 5, 73] Operation: 91-18=73
Exploring Operation: 32-18=14, Resulting Numbers: [91, 5, 14]
Generated Node #0,1: 36:[91, 5, 14] Operation: 32-18=14
Exploring Operation: 32+5=37, Resulting Numbers: [91, 18, 37]
Generated Node #0,2: 36:[91, 18, 37] Operation: 32+5=37
Exploring Operation: 91-5=86, Resulting Numbers: [32, 18, 86]
Generated Node #0,3: 36:[32, 18, 86] Operation: 91-5=86
Exploring Operation: 91-32=59, Resulting Numbers: [5, 18, 59]
Generated Node #0,4: 36:[5, 18, 59] Operation: 91-32=59
Moving to Node #0,4
Current State: 36:[5, 18, 59], Operations: ['91-32=59']
Exploring Operation: 59-18=41, Resulting Numbers: [5, 41]
Generated Node #0,4,0: 36:[5, 41] Operation: 59-18=41
Exploring Operation: 18-5=13, Resulting Numbers: [59, 13]
Generated Node #0,4,1: 36:[59, 13] Operation: 18-5=13
Exploring Operation: 5+59=64, Resulting Numbers: [18, 64]
Generated Node #0,4,2: 36:[18, 64] Operation: 5+59=64
Exploring Operation: 59-5=54, Resulting Numbers: [18, 54]
Generated Node #0,4,3: 36:[18, 54] Operation: 59-5=54
Exploring Operation: 5+18=23, Resulting Numbers: [59, 23]
Generated Node #0,4,4: 36:[59, 23] Operation: 5+18=23
Moving to Node #0,0
Current State: 36:[32, 5, 73], Operations: ['91-18=73']
Exploring Operation: 73-5=68, Resulting Numbers: [32, 68]
Generated Node #0,0,0: 36:[32, 68] Operation: 73-5=68
Exploring Operation: 32+5=37, Resulting Numbers: [73, 37]
Generated Node #0,0,1: 36:[73, 37] Operation: 32+5=37
Exploring Operation: 73-32=41, Resulting Numbers: [5, 41]
Generated Node #0,0,2: 36:[5, 41] Operation: 73-32=41
Exploring Operation: 5+73=78, Resulting Numbers: [32, 78]
Generated Node #0,0,3: 36:[32, 78] Operation: 5+73=78
Exploring Operation: 32-5=27, Resulting Numbers: [73, 27]
Generated Node #0,0,4: 36:[73, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[5, 41], Operations: ['91-18=73', '73-32=41']
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,36 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[32, 91, 5, 18], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [32, 5, 73]
Generated Node #0,0: 36:[32, 5, 73] Operation: 91-18=73
Moving to Node #0,0
Current State: 36:[32, 5, 73], Operations: ['91-18=73']
Exploring Operation: 73-32=41, Resulting Numbers: [5, 41]
Generated Node #0,0,2: 36:[5, 41] Operation: 73-32=41
Moving to Node #0,0,2
Current State: 36:[5, 41], Operations: ['91-18=73', '73-32=41']
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
93,
29,
48,
68
] | 51 | [
"93-29=64",
"48*68=3264",
"3264/64=51"
] | Current State: 51:[93, 29, 48, 68], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [48, 68, 64]
Generated Node #2: [48, 68, 64] from Operation: 93-29=64
Current State: 51:[48, 68, 64], Operations: ['93-29=64']
Exploring Operation: 48*68=3264, Resulting Numbers: [64, 3264]
Generated Node #3: [64, 3264] from Operation: 48*68=3264
Current State: 51:[64, 3264], Operations: ['93-29=64', '48*68=3264']
Exploring Operation: 3264/64=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[93, 29, 48, 68], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [93, 48, 39]
Generated Node #0,0: 51:[93, 48, 39] Operation: 68-29=39
Exploring Operation: 93-68=25, Resulting Numbers: [29, 48, 25]
Generated Node #0,1: 51:[29, 48, 25] Operation: 93-68=25
Exploring Operation: 93-48=45, Resulting Numbers: [29, 68, 45]
Generated Node #0,2: 51:[29, 68, 45] Operation: 93-48=45
Exploring Operation: 93-29=64, Resulting Numbers: [48, 68, 64]
Generated Node #0,3: 51:[48, 68, 64] Operation: 93-29=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[29, 48, 25], Operations: ['93-68=25']
Exploring Operation: 29-25=4, Resulting Numbers: [48, 4]
Generated Node #0,1,0: 51:[48, 4] Operation: 29-25=4
Exploring Operation: 29+25=54, Resulting Numbers: [48, 54]
Generated Node #0,1,1: 51:[48, 54] Operation: 29+25=54
Exploring Operation: 48-29=19, Resulting Numbers: [25, 19]
Generated Node #0,1,2: 51:[25, 19] Operation: 48-29=19
Exploring Operation: 48-25=23, Resulting Numbers: [29, 23]
Generated Node #0,1,3: 51:[29, 23] Operation: 48-25=23
Moving to Node #0,1,0
Current State: 51:[48, 4], Operations: ['93-68=25', '29-25=4']
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,51 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[48, 54], Operations: ['93-68=25', '29+25=54']
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,51 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,51 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[25, 19], Operations: ['93-68=25', '48-29=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 25*19=475, Resulting Numbers: [475]
475,51 unequal: No Solution
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[29, 23], Operations: ['93-68=25', '48-25=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[48, 68, 64], Operations: ['93-29=64']
Exploring Operation: 68-64=4, Resulting Numbers: [48, 4]
Generated Node #0,3,0: 51:[48, 4] Operation: 68-64=4
Exploring Operation: 68-48=20, Resulting Numbers: [64, 20]
Generated Node #0,3,1: 51:[64, 20] Operation: 68-48=20
Exploring Operation: 48+68=116, Resulting Numbers: [64, 116]
Generated Node #0,3,2: 51:[64, 116] Operation: 48+68=116
Exploring Operation: 64-48=16, Resulting Numbers: [68, 16]
Generated Node #0,3,3: 51:[68, 16] Operation: 64-48=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[48, 4], Operations: ['93-29=64', '68-64=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,51 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[64, 20], Operations: ['93-29=64', '68-48=20']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 64*20=1280, Resulting Numbers: [1280]
1280,51 unequal: No Solution
Exploring Operation: 64+20=84, Resulting Numbers: [84]
84,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[68, 16], Operations: ['93-29=64', '64-48=16']
Exploring Operation: 68*16=1088, Resulting Numbers: [1088]
1088,51 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[64, 116], Operations: ['93-29=64', '48+68=116']
Exploring Operation: 64+116=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 116-64=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 64*116=7424, Resulting Numbers: [7424]
7424,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[29, 68, 45], Operations: ['93-48=45']
Exploring Operation: 68-29=39, Resulting Numbers: [45, 39]
Generated Node #0,2,0: 51:[45, 39] Operation: 68-29=39
Exploring Operation: 45-29=16, Resulting Numbers: [68, 16]
Generated Node #0,2,1: 51:[68, 16] Operation: 45-29=16
Exploring Operation: 68-45=23, Resulting Numbers: [29, 23]
Generated Node #0,2,2: 51:[29, 23] Operation: 68-45=23
Exploring Operation: 29+45=74, Resulting Numbers: [68, 74]
Generated Node #0,2,3: 51:[68, 74] Operation: 29+45=74
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[45, 39], Operations: ['93-48=45', '68-29=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,51 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[68, 16], Operations: ['93-48=45', '45-29=16']
Exploring Operation: 68*16=1088, Resulting Numbers: [1088]
1088,51 unequal: No Solution
Exploring Operation: 68-16=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 68+16=84, Resulting Numbers: [84]
84,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[29, 23], Operations: ['93-48=45', '68-45=23']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,51 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[68, 74], Operations: ['93-48=45', '29+45=74']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,51 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[93, 48, 39], Operations: ['68-29=39']
Exploring Operation: 48+39=87, Resulting Numbers: [93, 87]
Generated Node #0,0,0: 51:[93, 87] Operation: 48+39=87
Exploring Operation: 93-48=45, Resulting Numbers: [39, 45]
Generated Node #0,0,1: 51:[39, 45] Operation: 93-48=45
Exploring Operation: 48-39=9, Resulting Numbers: [93, 9]
Generated Node #0,0,2: 51:[93, 9] Operation: 48-39=9
Exploring Operation: 93-39=54, Resulting Numbers: [48, 54]
Generated Node #0,0,3: 51:[48, 54] Operation: 93-39=54
Moving to Node #0,0,3
Current State: 51:[48, 54], Operations: ['68-29=39', '93-39=54']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,51 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[39, 45], Operations: ['68-29=39', '93-48=45']
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,51 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[93, 9], Operations: ['68-29=39', '48-39=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,51 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[93, 87], Operations: ['68-29=39', '48+39=87']
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,51 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,51 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 |
[
83,
43,
39,
68
] | 66 | [
"43-39=4",
"68/4=17",
"83-17=66"
] | Current State: 66:[83, 43, 39, 68], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [83, 68, 4]
Generated Node #2: [83, 68, 4] from Operation: 43-39=4
Current State: 66:[83, 68, 4], Operations: ['43-39=4']
Exploring Operation: 68/4=17, Resulting Numbers: [83, 17]
Generated Node #3: [83, 17] from Operation: 68/4=17
Current State: 66:[83, 17], Operations: ['43-39=4', '68/4=17']
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[83, 43, 39, 68], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [43, 39, 15]
Generated Node #0,0: 66:[43, 39, 15] Operation: 83-68=15
Exploring Operation: 43-39=4, Resulting Numbers: [83, 68, 4]
Generated Node #0,1: 66:[83, 68, 4] Operation: 43-39=4
Exploring Operation: 83-39=44, Resulting Numbers: [43, 68, 44]
Generated Node #0,2: 66:[43, 68, 44] Operation: 83-39=44
Exploring Operation: 83-43=40, Resulting Numbers: [39, 68, 40]
Generated Node #0,3: 66:[39, 68, 40] Operation: 83-43=40
Exploring Operation: 68-43=25, Resulting Numbers: [83, 39, 25]
Generated Node #0,4: 66:[83, 39, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[39, 68, 40], Operations: ['83-43=40']
Exploring Operation: 39+40=79, Resulting Numbers: [68, 79]
Generated Node #0,3,0: 66:[68, 79] Operation: 39+40=79
Exploring Operation: 68-39=29, Resulting Numbers: [40, 29]
Generated Node #0,3,1: 66:[40, 29] Operation: 68-39=29
Exploring Operation: 39+68=107, Resulting Numbers: [40, 107]
Generated Node #0,3,2: 66:[40, 107] Operation: 39+68=107
Exploring Operation: 68-40=28, Resulting Numbers: [39, 28]
Generated Node #0,3,3: 66:[39, 28] Operation: 68-40=28
Exploring Operation: 40-39=1, Resulting Numbers: [68, 1]
Generated Node #0,3,4: 66:[68, 1] Operation: 40-39=1
Moving to Node #0,3,4
Current State: 66:[68, 1], Operations: ['83-43=40', '40-39=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 68/1=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[39, 28], Operations: ['83-43=40', '68-40=28']
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,66 unequal: No Solution
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[40, 29], Operations: ['83-43=40', '68-39=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,66 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[68, 79], Operations: ['83-43=40', '39+40=79']
Exploring Operation: 68*79=5372, Resulting Numbers: [5372]
5372,66 unequal: No Solution
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,66 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[40, 107], Operations: ['83-43=40', '39+68=107']
Exploring Operation: 40+107=147, Resulting Numbers: [147]
147,66 unequal: No Solution
Exploring Operation: 40*107=4280, Resulting Numbers: [4280]
4280,66 unequal: No Solution
Exploring Operation: 107-40=67, Resulting Numbers: [67]
67,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[43, 39, 15], Operations: ['83-68=15']
Exploring Operation: 43+39=82, Resulting Numbers: [15, 82]
Generated Node #0,0,0: 66:[15, 82] Operation: 43+39=82
Exploring Operation: 39-15=24, Resulting Numbers: [43, 24]
Generated Node #0,0,1: 66:[43, 24] Operation: 39-15=24
Exploring Operation: 43+15=58, Resulting Numbers: [39, 58]
Generated Node #0,0,2: 66:[39, 58] Operation: 43+15=58
Exploring Operation: 43-39=4, Resulting Numbers: [15, 4]
Generated Node #0,0,3: 66:[15, 4] Operation: 43-39=4
Exploring Operation: 43-15=28, Resulting Numbers: [39, 28]
Generated Node #0,0,4: 66:[39, 28] Operation: 43-15=28
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[15, 4], Operations: ['83-68=15', '43-39=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 66:[39, 28], Operations: ['83-68=15', '43-15=28']
Exploring Operation: 39+28=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 39*28=1092, Resulting Numbers: [1092]
1092,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[43, 24], Operations: ['83-68=15', '39-15=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 43*24=1032, Resulting Numbers: [1032]
1032,66 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[39, 58], Operations: ['83-68=15', '43+15=58']
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 39*58=2262, Resulting Numbers: [2262]
2262,66 unequal: No Solution
Exploring Operation: 39+58=97, Resulting Numbers: [97]
97,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[15, 82], Operations: ['83-68=15', '43+39=82']
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 15*82=1230, Resulting Numbers: [1230]
1230,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[83, 68, 4], Operations: ['43-39=4']
Exploring Operation: 83-68=15, Resulting Numbers: [4, 15]
Generated Node #0,1,0: 66:[4, 15] Operation: 83-68=15
Exploring Operation: 68/4=17, Resulting Numbers: [83, 17]
Generated Node #0,1,1: 66:[83, 17] Operation: 68/4=17
Exploring Operation: 83+4=87, Resulting Numbers: [68, 87]
Generated Node #0,1,2: 66:[68, 87] Operation: 83+4=87
Exploring Operation: 83-4=79, Resulting Numbers: [68, 79]
Generated Node #0,1,3: 66:[68, 79] Operation: 83-4=79
Exploring Operation: 68-4=64, Resulting Numbers: [83, 64]
Generated Node #0,1,4: 66:[83, 64] Operation: 68-4=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[4, 15], Operations: ['43-39=4', '83-68=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 66:[68, 79], Operations: ['43-39=4', '83-4=79']
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,66 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 68*79=5372, Resulting Numbers: [5372]
5372,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 66:[83, 64], Operations: ['43-39=4', '68-4=64']
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,66 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 66:[83, 17], Operations: ['43-39=4', '68/4=17']
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,66 unequal: No Solution
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,66 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[83, 43, 39, 68], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [83, 68, 4]
Generated Node #0,1: 66:[83, 68, 4] Operation: 43-39=4
Moving to Node #0,1
Current State: 66:[83, 68, 4], Operations: ['43-39=4']
Exploring Operation: 68/4=17, Resulting Numbers: [83, 17]
Generated Node #0,1,1: 66:[83, 17] Operation: 68/4=17
Moving to Node #0,1,1
Current State: 66:[83, 17], Operations: ['43-39=4', '68/4=17']
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 | hs_5 | sum_heuristic |
[
26,
18,
62,
27
] | 43 | [
"26-18=8",
"62-27=35",
"8+35=43"
] | Current State: 43:[26, 18, 62, 27], Operations: []
Exploring Operation: 26-18=8, Resulting Numbers: [62, 27, 8]
Generated Node #2: [62, 27, 8] from Operation: 26-18=8
Current State: 43:[62, 27, 8], Operations: ['26-18=8']
Exploring Operation: 62-27=35, Resulting Numbers: [8, 35]
Generated Node #3: [8, 35] from Operation: 62-27=35
Current State: 43:[8, 35], Operations: ['26-18=8', '62-27=35']
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[26, 18, 62, 27], Operations: []
Exploring Operation: 26+18=44, Resulting Numbers: [62, 27, 44]
Generated Node #0,0: 43:[62, 27, 44] Operation: 26+18=44
Exploring Operation: 62-18=44, Resulting Numbers: [26, 27, 44]
Generated Node #0,1: 43:[26, 27, 44] Operation: 62-18=44
Moving to Node #0,1
Current State: 43:[26, 27, 44], Operations: ['62-18=44']
Exploring Operation: 26+27=53, Resulting Numbers: [44, 53]
Generated Node #0,1,0: 43:[44, 53] Operation: 26+27=53
Exploring Operation: 44-26=18, Resulting Numbers: [27, 18]
Generated Node #0,1,1: 43:[27, 18] Operation: 44-26=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[44, 53], Operations: ['62-18=44', '26+27=53']
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[27, 18], Operations: ['62-18=44', '44-26=18']
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,43 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,43 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: 43:[62, 27, 44], Operations: ['26+18=44']
Exploring Operation: 62-44=18, Resulting Numbers: [27, 18]
Generated Node #0,0,0: 43:[27, 18] Operation: 62-44=18
Exploring Operation: 62-27=35, Resulting Numbers: [44, 35]
Generated Node #0,0,1: 43:[44, 35] Operation: 62-27=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[44, 35], Operations: ['26+18=44', '62-27=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,43 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[27, 18], Operations: ['26+18=44', '62-44=18']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
19,
12,
63
] | 84 | [
"19-3=16",
"63*16=1008",
"1008/12=84"
] | Current State: 84:[3, 19, 12, 63], Operations: []
Exploring Operation: 19-3=16, Resulting Numbers: [12, 63, 16]
Generated Node #2: [12, 63, 16] from Operation: 19-3=16
Current State: 84:[12, 63, 16], Operations: ['19-3=16']
Exploring Operation: 63*16=1008, Resulting Numbers: [12, 1008]
Generated Node #3: [12, 1008] from Operation: 63*16=1008
Current State: 84:[12, 1008], Operations: ['19-3=16', '63*16=1008']
Exploring Operation: 1008/12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[3, 19, 12, 63], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [19, 12, 21]
Generated Node #0,0: 84:[19, 12, 21] Operation: 63/3=21
Exploring Operation: 12+63=75, Resulting Numbers: [3, 19, 75]
Generated Node #0,1: 84:[3, 19, 75] Operation: 12+63=75
Exploring Operation: 19+63=82, Resulting Numbers: [3, 12, 82]
Generated Node #0,2: 84:[3, 12, 82] Operation: 19+63=82
Exploring Operation: 63-12=51, Resulting Numbers: [3, 19, 51]
Generated Node #0,3: 84:[3, 19, 51] Operation: 63-12=51
Exploring Operation: 63-19=44, Resulting Numbers: [3, 12, 44]
Generated Node #0,4: 84:[3, 12, 44] Operation: 63-19=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[19, 12, 21], Operations: ['63/3=21']
Exploring Operation: 19+21=40, Resulting Numbers: [12, 40]
Generated Node #0,0,0: 84:[12, 40] Operation: 19+21=40
Exploring Operation: 21-19=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 84:[12, 2] Operation: 21-19=2
Exploring Operation: 19+12=31, Resulting Numbers: [21, 31]
Generated Node #0,0,2: 84:[21, 31] Operation: 19+12=31
Exploring Operation: 21-12=9, Resulting Numbers: [19, 9]
Generated Node #0,0,3: 84:[19, 9] Operation: 21-12=9
Exploring Operation: 19-12=7, Resulting Numbers: [21, 7]
Generated Node #0,0,4: 84:[21, 7] Operation: 19-12=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[12, 2], Operations: ['63/3=21', '21-19=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 84:[21, 7], Operations: ['63/3=21', '19-12=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,84 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,84 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,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:[12, 40], Operations: ['63/3=21', '19+21=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,84 unequal: No Solution
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[21, 31], Operations: ['63/3=21', '19+12=31']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,84 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 84:[19, 9], Operations: ['63/3=21', '21-12=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,84 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[3, 12, 82], Operations: ['19+63=82']
Exploring Operation: 82-3=79, Resulting Numbers: [12, 79]
Generated Node #0,2,0: 84:[12, 79] Operation: 82-3=79
Exploring Operation: 3+82=85, Resulting Numbers: [12, 85]
Generated Node #0,2,1: 84:[12, 85] Operation: 3+82=85
Exploring Operation: 3+12=15, Resulting Numbers: [82, 15]
Generated Node #0,2,2: 84:[82, 15] Operation: 3+12=15
Exploring Operation: 12-3=9, Resulting Numbers: [82, 9]
Generated Node #0,2,3: 84:[82, 9] Operation: 12-3=9
Exploring Operation: 12/3=4, Resulting Numbers: [82, 4]
Generated Node #0,2,4: 84:[82, 4] Operation: 12/3=4
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 84:[12, 85], Operations: ['19+63=82', '3+82=85']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,84 unequal: No Solution
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,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,2,4
Current State: 84:[82, 4], Operations: ['19+63=82', '12/3=4']
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,84 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,84 unequal: No Solution
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,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,2,2
Current State: 84:[82, 15], Operations: ['19+63=82', '3+12=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,84 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,84 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,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,2,3
Current State: 84:[82, 9], Operations: ['19+63=82', '12-3=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,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,2,0
Current State: 84:[12, 79], Operations: ['19+63=82', '82-3=79']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[3, 12, 44], Operations: ['63-19=44']
Exploring Operation: 44-12=32, Resulting Numbers: [3, 32]
Generated Node #0,4,0: 84:[3, 32] Operation: 44-12=32
Exploring Operation: 12/3=4, Resulting Numbers: [44, 4]
Generated Node #0,4,1: 84:[44, 4] Operation: 12/3=4
Exploring Operation: 12-3=9, Resulting Numbers: [44, 9]
Generated Node #0,4,2: 84:[44, 9] Operation: 12-3=9
Exploring Operation: 3+12=15, Resulting Numbers: [44, 15]
Generated Node #0,4,3: 84:[44, 15] Operation: 3+12=15
Exploring Operation: 44-3=41, Resulting Numbers: [12, 41]
Generated Node #0,4,4: 84:[12, 41] Operation: 44-3=41
Moving to Node #0,4,4
Current State: 84:[12, 41], Operations: ['63-19=44', '44-3=41']
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,84 unequal: No Solution
Moving to Node #0,4,1
Current State: 84:[44, 4], Operations: ['63-19=44', '12/3=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,84 unequal: No Solution
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,84 unequal: No Solution
Exploring Operation: 44*4=176, Resulting Numbers: [176]
176,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[44, 15], Operations: ['63-19=44', '3+12=15']
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,84 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Moving to Node #0,4,0
Current State: 84:[3, 32], Operations: ['63-19=44', '44-12=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Moving to Node #0,4,2
Current State: 84:[44, 9], Operations: ['63-19=44', '12-3=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,84 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[3, 19, 75], Operations: ['12+63=75']
Exploring Operation: 19-3=16, Resulting Numbers: [75, 16]
Generated Node #0,1,0: 84:[75, 16] Operation: 19-3=16
Exploring Operation: 3+75=78, Resulting Numbers: [19, 78]
Generated Node #0,1,1: 84:[19, 78] Operation: 3+75=78
Exploring Operation: 19+75=94, Resulting Numbers: [3, 94]
Generated Node #0,1,2: 84:[3, 94] Operation: 19+75=94
Exploring Operation: 3+19=22, Resulting Numbers: [75, 22]
Generated Node #0,1,3: 84:[75, 22] Operation: 3+19=22
Exploring Operation: 75/3=25, Resulting Numbers: [19, 25]
Generated Node #0,1,4: 84:[19, 25] Operation: 75/3=25
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 84:[19, 25], Operations: ['12+63=75', '75/3=25']
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,84 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,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,1,1
Current State: 84:[19, 78], Operations: ['12+63=75', '3+75=78']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 19*78=1482, Resulting Numbers: [1482]
1482,84 unequal: No Solution
Exploring Operation: 19+78=97, Resulting Numbers: [97]
97,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,1,2
Current State: 84:[3, 94], Operations: ['12+63=75', '19+75=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 3*94=282, Resulting Numbers: [282]
282,84 unequal: No Solution
Exploring Operation: 3+94=97, Resulting Numbers: [97]
97,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,1,3
Current State: 84:[75, 22], Operations: ['12+63=75', '3+19=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,84 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,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,1,0
Current State: 84:[75, 16], Operations: ['12+63=75', '19-3=16']
Exploring Operation: 75*16=1200, Resulting Numbers: [1200]
1200,84 unequal: No Solution
Exploring Operation: 75+16=91, Resulting Numbers: [91]
91,84 unequal: No Solution
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[3, 19, 51], Operations: ['63-12=51']
Exploring Operation: 51/3=17, Resulting Numbers: [19, 17]
Generated Node #0,3,0: 84:[19, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [19, 48]
Generated Node #0,3,1: 84:[19, 48] Operation: 51-3=48
Exploring Operation: 51-19=32, Resulting Numbers: [3, 32]
Generated Node #0,3,2: 84:[3, 32] Operation: 51-19=32
Exploring Operation: 19-3=16, Resulting Numbers: [51, 16]
Generated Node #0,3,3: 84:[51, 16] Operation: 19-3=16
Exploring Operation: 3+19=22, Resulting Numbers: [51, 22]
Generated Node #0,3,4: 84:[51, 22] Operation: 3+19=22
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 84:[3, 32], Operations: ['63-12=51', '51-19=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,84 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,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,3,0
Current State: 84:[19, 17], Operations: ['63-12=51', '51/3=17']
Exploring Operation: 19+17=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 19*17=323, Resulting Numbers: [323]
323,84 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,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,3,1
Current State: 84:[19, 48], Operations: ['63-12=51', '51-3=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 19*48=912, Resulting Numbers: [912]
912,84 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,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,3,4
Current State: 84:[51, 22], Operations: ['63-12=51', '3+19=22']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,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,3,3
Current State: 84:[51, 16], Operations: ['63-12=51', '19-3=16']
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,84 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
62,
84,
19,
2
] | 39 | [
"84-62=22",
"19-2=17",
"22+17=39"
] | Current State: 39:[62, 84, 19, 2], Operations: []
Exploring Operation: 84-62=22, Resulting Numbers: [19, 2, 22]
Generated Node #2: [19, 2, 22] from Operation: 84-62=22
Current State: 39:[19, 2, 22], Operations: ['84-62=22']
Exploring Operation: 19-2=17, Resulting Numbers: [22, 17]
Generated Node #3: [22, 17] from Operation: 19-2=17
Current State: 39:[22, 17], Operations: ['84-62=22', '19-2=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[62, 84, 19, 2], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [62, 19, 42]
Generated Node #0,0: 39:[62, 19, 42] Operation: 84/2=42
Exploring Operation: 62-19=43, Resulting Numbers: [84, 2, 43]
Generated Node #0,1: 39:[84, 2, 43] Operation: 62-19=43
Exploring Operation: 84-62=22, Resulting Numbers: [19, 2, 22]
Generated Node #0,2: 39:[19, 2, 22] Operation: 84-62=22
Moving to Node #0,2
Current State: 39:[19, 2, 22], Operations: ['84-62=22']
Exploring Operation: 19+22=41, Resulting Numbers: [2, 41]
Generated Node #0,2,0: 39:[2, 41] Operation: 19+22=41
Exploring Operation: 22/2=11, Resulting Numbers: [19, 11]
Generated Node #0,2,1: 39:[19, 11] Operation: 22/2=11
Exploring Operation: 22-19=3, Resulting Numbers: [2, 3]
Generated Node #0,2,2: 39:[2, 3] Operation: 22-19=3
Moving to Node #0,0
Current State: 39:[62, 19, 42], Operations: ['84/2=42']
Exploring Operation: 42-19=23, Resulting Numbers: [62, 23]
Generated Node #0,0,0: 39:[62, 23] Operation: 42-19=23
Exploring Operation: 62-19=43, Resulting Numbers: [42, 43]
Generated Node #0,0,1: 39:[42, 43] Operation: 62-19=43
Exploring Operation: 62-42=20, Resulting Numbers: [19, 20]
Generated Node #0,0,2: 39:[19, 20] Operation: 62-42=20
Moving to Node #0,1
Current State: 39:[84, 2, 43], Operations: ['62-19=43']
Exploring Operation: 84/2=42, Resulting Numbers: [43, 42]
Generated Node #0,1,0: 39:[43, 42] Operation: 84/2=42
Exploring Operation: 84-43=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 39:[2, 41] Operation: 84-43=41
Exploring Operation: 84-2=82, Resulting Numbers: [43, 82]
Generated Node #0,1,2: 39:[43, 82] Operation: 84-2=82
Moving to Node #0,2,2
Current State: 39:[2, 3], Operations: ['84-62=22', '22-19=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,39 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[2, 41], Operations: ['62-19=43', '84-43=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[62, 84, 19, 2], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [84, 2, 43]
Generated Node #0,1: 39:[84, 2, 43] Operation: 62-19=43
Moving to Node #0,1
Current State: 39:[84, 2, 43], Operations: ['62-19=43']
Exploring Operation: 84-43=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 39:[2, 41] Operation: 84-43=41
Moving to Node #0,1,1
Current State: 39:[2, 41], Operations: ['62-19=43', '84-43=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.980903 | hs_3 | sum_heuristic |
[
7,
8,
46,
25
] | 15 | [
"7*8=56",
"46+25=71",
"71-56=15"
] | Current State: 15:[7, 8, 46, 25], Operations: []
Exploring Operation: 7*8=56, Resulting Numbers: [46, 25, 56]
Generated Node #2: [46, 25, 56] from Operation: 7*8=56
Current State: 15:[46, 25, 56], Operations: ['7*8=56']
Exploring Operation: 46+25=71, Resulting Numbers: [56, 71]
Generated Node #3: [56, 71] from Operation: 46+25=71
Current State: 15:[56, 71], Operations: ['7*8=56', '46+25=71']
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[7, 8, 46, 25], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [7, 8, 21]
Generated Node #0,0: 15:[7, 8, 21] Operation: 46-25=21
Exploring Operation: 25-7=18, Resulting Numbers: [8, 46, 18]
Generated Node #0,1: 15:[8, 46, 18] Operation: 25-7=18
Exploring Operation: 46-8=38, Resulting Numbers: [7, 25, 38]
Generated Node #0,2: 15:[7, 25, 38] Operation: 46-8=38
Exploring Operation: 46-7=39, Resulting Numbers: [8, 25, 39]
Generated Node #0,3: 15:[8, 25, 39] Operation: 46-7=39
Exploring Operation: 25-8=17, Resulting Numbers: [7, 46, 17]
Generated Node #0,4: 15:[7, 46, 17] Operation: 25-8=17
Moving to Node #0,0
Current State: 15:[7, 8, 21], Operations: ['46-25=21']
Exploring Operation: 21-7=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 15:[8, 14] Operation: 21-7=14
Exploring Operation: 8-7=1, Resulting Numbers: [21, 1]
Generated Node #0,0,1: 15:[21, 1] Operation: 8-7=1
Exploring Operation: 7+8=15, Resulting Numbers: [21, 15]
Generated Node #0,0,2: 15:[21, 15] Operation: 7+8=15
Exploring Operation: 21/7=3, Resulting Numbers: [8, 3]
Generated Node #0,0,3: 15:[8, 3] Operation: 21/7=3
Exploring Operation: 21-8=13, Resulting Numbers: [7, 13]
Generated Node #0,0,4: 15:[7, 13] Operation: 21-8=13
Moving to Node #0,4
Current State: 15:[7, 46, 17], Operations: ['25-8=17']
Exploring Operation: 46-17=29, Resulting Numbers: [7, 29]
Generated Node #0,4,0: 15:[7, 29] Operation: 46-17=29
Exploring Operation: 7+17=24, Resulting Numbers: [46, 24]
Generated Node #0,4,1: 15:[46, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [46, 10]
Generated Node #0,4,2: 15:[46, 10] Operation: 17-7=10
Exploring Operation: 46-7=39, Resulting Numbers: [17, 39]
Generated Node #0,4,3: 15:[17, 39] Operation: 46-7=39
Exploring Operation: 7+46=53, Resulting Numbers: [17, 53]
Generated Node #0,4,4: 15:[17, 53] Operation: 7+46=53
Moving to Node #0,2
Current State: 15:[7, 25, 38], Operations: ['46-8=38']
Exploring Operation: 7+25=32, Resulting Numbers: [38, 32]
Generated Node #0,2,0: 15:[38, 32] Operation: 7+25=32
Exploring Operation: 38-25=13, Resulting Numbers: [7, 13]
Generated Node #0,2,1: 15:[7, 13] Operation: 38-25=13
Exploring Operation: 25-7=18, Resulting Numbers: [38, 18]
Generated Node #0,2,2: 15:[38, 18] Operation: 25-7=18
Exploring Operation: 38-7=31, Resulting Numbers: [25, 31]
Generated Node #0,2,3: 15:[25, 31] Operation: 38-7=31
Exploring Operation: 7+38=45, Resulting Numbers: [25, 45]
Generated Node #0,2,4: 15:[25, 45] Operation: 7+38=45
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 15:[7, 13], Operations: ['46-8=38', '38-25=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[38, 18], Operations: ['46-8=38', '25-7=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[25, 31], Operations: ['46-8=38', '38-7=31']
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,15 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 15:[38, 32], Operations: ['46-8=38', '7+25=32']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 38+32=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 15:[25, 45], Operations: ['46-8=38', '7+38=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,15 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: 15:[8, 46, 18], Operations: ['25-7=18']
Exploring Operation: 8+46=54, Resulting Numbers: [18, 54]
Generated Node #0,1,0: 15:[18, 54] Operation: 8+46=54
Exploring Operation: 18-8=10, Resulting Numbers: [46, 10]
Generated Node #0,1,1: 15:[46, 10] Operation: 18-8=10
Exploring Operation: 8+18=26, Resulting Numbers: [46, 26]
Generated Node #0,1,2: 15:[46, 26] Operation: 8+18=26
Exploring Operation: 46-8=38, Resulting Numbers: [18, 38]
Generated Node #0,1,3: 15:[18, 38] Operation: 46-8=38
Exploring Operation: 46-18=28, Resulting Numbers: [8, 28]
Generated Node #0,1,4: 15:[8, 28] Operation: 46-18=28
Moving to Node #0,3
Current State: 15:[8, 25, 39], Operations: ['46-7=39']
Exploring Operation: 8+39=47, Resulting Numbers: [25, 47]
Generated Node #0,3,0: 15:[25, 47] Operation: 8+39=47
Exploring Operation: 8+25=33, Resulting Numbers: [39, 33]
Generated Node #0,3,1: 15:[39, 33] Operation: 8+25=33
Exploring Operation: 25-8=17, Resulting Numbers: [39, 17]
Generated Node #0,3,2: 15:[39, 17] Operation: 25-8=17
Exploring Operation: 39-8=31, Resulting Numbers: [25, 31]
Generated Node #0,3,3: 15:[25, 31] Operation: 39-8=31
Exploring Operation: 39-25=14, Resulting Numbers: [8, 14]
Generated Node #0,3,4: 15:[8, 14] Operation: 39-25=14
Moving to Node #0,0,3
Current State: 15:[8, 3], Operations: ['46-25=21', '21/7=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[7, 13], Operations: ['46-25=21', '21-8=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,15 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[8, 14], Operations: ['46-25=21', '21-7=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,15 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,3,4
Current State: 15:[8, 14], Operations: ['46-7=39', '39-25=14']
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,15 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[21, 15], Operations: ['46-25=21', '7+8=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 21*15=315, Resulting Numbers: [315]
315,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[21, 1], Operations: ['46-25=21', '8-7=1']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Moving to Node #0,4,0
Current State: 15:[7, 29], Operations: ['25-8=17', '46-17=29']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 7+29=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 7*29=203, Resulting Numbers: [203]
203,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[8, 28], Operations: ['25-7=18', '46-18=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,15 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[17, 39], Operations: ['25-8=17', '46-7=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[18, 38], Operations: ['25-7=18', '46-8=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[25, 31], Operations: ['46-7=39', '39-8=31']
Exploring Operation: 25*31=775, Resulting Numbers: [775]
775,15 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 25+31=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[39, 17], Operations: ['46-7=39', '25-8=17']
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,15 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[46, 10], Operations: ['25-7=18', '18-8=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,15 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[46, 10], Operations: ['25-8=17', '17-7=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,15 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Moving to Node #0,4,4
Current State: 15:[17, 53], Operations: ['25-8=17', '7+46=53']
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,15 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[46, 24], Operations: ['25-8=17', '7+17=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,15 unequal: No Solution
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,15 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[18, 54], Operations: ['25-7=18', '8+46=54']
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 18*54=972, Resulting Numbers: [972]
972,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[39, 33], Operations: ['46-7=39', '8+25=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,15 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[46, 26], Operations: ['25-7=18', '8+18=26']
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[25, 47], Operations: ['46-7=39', '8+39=47']
Exploring Operation: 25*47=1175, Resulting Numbers: [1175]
1175,15 unequal: No Solution
Exploring Operation: 25+47=72, Resulting Numbers: [72]
72,15 unequal: No Solution
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,15 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
62,
12,
98,
15
] | 12 | [
"98-62=36",
"15-12=3",
"36/3=12"
] | Current State: 12:[62, 12, 98, 15], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [12, 15, 36]
Generated Node #2: [12, 15, 36] from Operation: 98-62=36
Current State: 12:[12, 15, 36], Operations: ['98-62=36']
Exploring Operation: 15-12=3, Resulting Numbers: [36, 3]
Generated Node #3: [36, 3] from Operation: 15-12=3
Current State: 12:[36, 3], Operations: ['98-62=36', '15-12=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[62, 12, 98, 15], Operations: []
Exploring Operation: 62-15=47, Resulting Numbers: [12, 98, 47]
Generated Node #0,0: 12:[12, 98, 47] Operation: 62-15=47
Exploring Operation: 98-12=86, Resulting Numbers: [62, 15, 86]
Generated Node #0,1: 12:[62, 15, 86] Operation: 98-12=86
Exploring Operation: 98-15=83, Resulting Numbers: [62, 12, 83]
Generated Node #0,2: 12:[62, 12, 83] Operation: 98-15=83
Exploring Operation: 62-12=50, Resulting Numbers: [98, 15, 50]
Generated Node #0,3: 12:[98, 15, 50] Operation: 62-12=50
Exploring Operation: 98-62=36, Resulting Numbers: [12, 15, 36]
Generated Node #0,4: 12:[12, 15, 36] Operation: 98-62=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 12:[12, 15, 36], Operations: ['98-62=36']
Exploring Operation: 12+15=27, Resulting Numbers: [36, 27]
Generated Node #0,4,0: 12:[36, 27] Operation: 12+15=27
Exploring Operation: 15-12=3, Resulting Numbers: [36, 3]
Generated Node #0,4,1: 12:[36, 3] Operation: 15-12=3
Exploring Operation: 36-12=24, Resulting Numbers: [15, 24]
Generated Node #0,4,2: 12:[15, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [15, 3]
Generated Node #0,4,3: 12:[15, 3] Operation: 36/12=3
Exploring Operation: 36-15=21, Resulting Numbers: [12, 21]
Generated Node #0,4,4: 12:[12, 21] Operation: 36-15=21
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 12:[15, 3], Operations: ['98-62=36', '36/12=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[62, 12, 98, 15], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [12, 15, 36]
Generated Node #0,4: 12:[12, 15, 36] Operation: 98-62=36
Moving to Node #0,4
Current State: 12:[12, 15, 36], Operations: ['98-62=36']
Exploring Operation: 36/12=3, Resulting Numbers: [15, 3]
Generated Node #0,4,3: 12:[15, 3] Operation: 36/12=3
Moving to Node #0,4,3
Current State: 12:[15, 3], Operations: ['98-62=36', '36/12=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
91,
95,
11,
92
] | 77 | [
"95-91=4",
"92-11=81",
"81-4=77"
] | Current State: 77:[91, 95, 11, 92], Operations: []
Exploring Operation: 95-91=4, Resulting Numbers: [11, 92, 4]
Generated Node #2: [11, 92, 4] from Operation: 95-91=4
Current State: 77:[11, 92, 4], Operations: ['95-91=4']
Exploring Operation: 92-11=81, Resulting Numbers: [4, 81]
Generated Node #3: [4, 81] from Operation: 92-11=81
Current State: 77:[4, 81], Operations: ['95-91=4', '92-11=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[91, 95, 11, 92], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [91, 11, 3]
Generated Node #0,0: 77:[91, 11, 3] Operation: 95-92=3
Exploring Operation: 92-91=1, Resulting Numbers: [95, 11, 1]
Generated Node #0,1: 77:[95, 11, 1] Operation: 92-91=1
Exploring Operation: 95-91=4, Resulting Numbers: [11, 92, 4]
Generated Node #0,2: 77:[11, 92, 4] Operation: 95-91=4
Moving to Node #0,0
Current State: 77:[91, 11, 3], Operations: ['95-92=3']
Exploring Operation: 91-11=80, Resulting Numbers: [3, 80]
Generated Node #0,0,0: 77:[3, 80] Operation: 91-11=80
Exploring Operation: 91-3=88, Resulting Numbers: [11, 88]
Generated Node #0,0,1: 77:[11, 88] Operation: 91-3=88
Exploring Operation: 11-3=8, Resulting Numbers: [91, 8]
Generated Node #0,0,2: 77:[91, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[3, 80], Operations: ['95-92=3', '91-11=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,77 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,77 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[91, 95, 11, 92], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [91, 11, 3]
Generated Node #0,0: 77:[91, 11, 3] Operation: 95-92=3
Moving to Node #0,0
Current State: 77:[91, 11, 3], Operations: ['95-92=3']
Exploring Operation: 91-11=80, Resulting Numbers: [3, 80]
Generated Node #0,0,0: 77:[3, 80] Operation: 91-11=80
Moving to Node #0,0,0
Current State: 77:[3, 80], Operations: ['95-92=3', '91-11=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
26,
63,
5,
58
] | 90 | [
"63-26=37",
"58-5=53",
"37+53=90"
] | Current State: 90:[26, 63, 5, 58], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [5, 58, 37]
Generated Node #2: [5, 58, 37] from Operation: 63-26=37
Current State: 90:[5, 58, 37], Operations: ['63-26=37']
Exploring Operation: 58-5=53, Resulting Numbers: [37, 53]
Generated Node #3: [37, 53] from Operation: 58-5=53
Current State: 90:[37, 53], Operations: ['63-26=37', '58-5=53']
Exploring Operation: 37+53=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[26, 63, 5, 58], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [5, 58, 37]
Generated Node #0,0: 90:[5, 58, 37] Operation: 63-26=37
Exploring Operation: 26+63=89, Resulting Numbers: [5, 58, 89]
Generated Node #0,1: 90:[5, 58, 89] Operation: 26+63=89
Exploring Operation: 63-58=5, Resulting Numbers: [26, 5, 5]
Generated Node #0,2: 90:[26, 5, 5] Operation: 63-58=5
Moving to Node #0,2
Current State: 90:[26, 5, 5], Operations: ['63-58=5']
Exploring Operation: 26+5=31, Resulting Numbers: [5, 31]
Generated Node #0,2,0: 90:[5, 31] Operation: 26+5=31
Exploring Operation: 26+5=31, Resulting Numbers: [5, 31]
Generated Node #0,2,1: 90:[5, 31] Operation: 26+5=31
Exploring Operation: 26-5=21, Resulting Numbers: [5, 21]
Generated Node #0,2,2: 90:[5, 21] Operation: 26-5=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[5, 31], Operations: ['63-58=5', '26+5=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[5, 31], Operations: ['63-58=5', '26+5=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,90 unequal: No Solution
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[5, 21], Operations: ['63-58=5', '26-5=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,90 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: 90:[5, 58, 89], Operations: ['26+63=89']
Exploring Operation: 5+89=94, Resulting Numbers: [58, 94]
Generated Node #0,1,0: 90:[58, 94] Operation: 5+89=94
Exploring Operation: 58-5=53, Resulting Numbers: [89, 53]
Generated Node #0,1,1: 90:[89, 53] Operation: 58-5=53
Exploring Operation: 89-58=31, Resulting Numbers: [5, 31]
Generated Node #0,1,2: 90:[5, 31] Operation: 89-58=31
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[5, 31], Operations: ['26+63=89', '89-58=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[89, 53], Operations: ['26+63=89', '58-5=53']
Exploring Operation: 89-53=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 89+53=142, Resulting Numbers: [142]
142,90 unequal: No Solution
Exploring Operation: 89*53=4717, Resulting Numbers: [4717]
4717,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[58, 94], Operations: ['26+63=89', '5+89=94']
Exploring Operation: 58*94=5452, Resulting Numbers: [5452]
5452,90 unequal: No Solution
Exploring Operation: 58+94=152, Resulting Numbers: [152]
152,90 unequal: No Solution
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,90 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: 90:[5, 58, 37], Operations: ['63-26=37']
Exploring Operation: 58-5=53, Resulting Numbers: [37, 53]
Generated Node #0,0,0: 90:[37, 53] Operation: 58-5=53
Exploring Operation: 58+37=95, Resulting Numbers: [5, 95]
Generated Node #0,0,1: 90:[5, 95] Operation: 58+37=95
Exploring Operation: 58-37=21, Resulting Numbers: [5, 21]
Generated Node #0,0,2: 90:[5, 21] Operation: 58-37=21
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 90:[5, 21], Operations: ['63-26=37', '58-37=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[5, 95], Operations: ['63-26=37', '58+37=95']
Exploring Operation: 5+95=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[26, 63, 5, 58], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [5, 58, 37]
Generated Node #0,0: 90:[5, 58, 37] Operation: 63-26=37
Moving to Node #0,0
Current State: 90:[5, 58, 37], Operations: ['63-26=37']
Exploring Operation: 58+37=95, Resulting Numbers: [5, 95]
Generated Node #0,0,1: 90:[5, 95] Operation: 58+37=95
Moving to Node #0,0,1
Current State: 90:[5, 95], Operations: ['63-26=37', '58+37=95']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_3 | mult_heuristic |
[
50,
2,
73,
6
] | 65 | [
"50-2=48",
"48/6=8",
"73-8=65"
] | Current State: 65:[50, 2, 73, 6], Operations: []
Exploring Operation: 50-2=48, Resulting Numbers: [73, 6, 48]
Generated Node #2: [73, 6, 48] from Operation: 50-2=48
Current State: 65:[73, 6, 48], Operations: ['50-2=48']
Exploring Operation: 48/6=8, Resulting Numbers: [73, 8]
Generated Node #3: [73, 8] from Operation: 48/6=8
Current State: 65:[73, 8], Operations: ['50-2=48', '48/6=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[50, 2, 73, 6], Operations: []
Exploring Operation: 50/2=25, Resulting Numbers: [73, 6, 25]
Generated Node #0,0: 65:[73, 6, 25] Operation: 50/2=25
Exploring Operation: 73-50=23, Resulting Numbers: [2, 6, 23]
Generated Node #0,1: 65:[2, 6, 23] Operation: 73-50=23
Exploring Operation: 73-6=67, Resulting Numbers: [50, 2, 67]
Generated Node #0,2: 65:[50, 2, 67] Operation: 73-6=67
Exploring Operation: 50+6=56, Resulting Numbers: [2, 73, 56]
Generated Node #0,3: 65:[2, 73, 56] Operation: 50+6=56
Exploring Operation: 50+2=52, Resulting Numbers: [73, 6, 52]
Generated Node #0,4: 65:[73, 6, 52] Operation: 50+2=52
Moving to Node #0,1
Current State: 65:[2, 6, 23], Operations: ['73-50=23']
Exploring Operation: 23-6=17, Resulting Numbers: [2, 17]
Generated Node #0,1,0: 65:[2, 17] Operation: 23-6=17
Exploring Operation: 6/2=3, Resulting Numbers: [23, 3]
Generated Node #0,1,1: 65:[23, 3] Operation: 6/2=3
Exploring Operation: 2*6=12, Resulting Numbers: [23, 12]
Generated Node #0,1,2: 65:[23, 12] Operation: 2*6=12
Exploring Operation: 6-2=4, Resulting Numbers: [23, 4]
Generated Node #0,1,3: 65:[23, 4] Operation: 6-2=4
Exploring Operation: 23-2=21, Resulting Numbers: [6, 21]
Generated Node #0,1,4: 65:[6, 21] Operation: 23-2=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[2, 17], Operations: ['73-50=23', '23-6=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 65:[6, 21], Operations: ['73-50=23', '23-2=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[23, 12], Operations: ['73-50=23', '2*6=12']
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,65 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,65 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 65:[23, 4], Operations: ['73-50=23', '6-2=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[23, 3], Operations: ['73-50=23', '6/2=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,65 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: 65:[2, 73, 56], Operations: ['50+6=56']
Exploring Operation: 56-2=54, Resulting Numbers: [73, 54]
Generated Node #0,3,0: 65:[73, 54] Operation: 56-2=54
Exploring Operation: 73-56=17, Resulting Numbers: [2, 17]
Generated Node #0,3,1: 65:[2, 17] Operation: 73-56=17
Exploring Operation: 2+56=58, Resulting Numbers: [73, 58]
Generated Node #0,3,2: 65:[73, 58] Operation: 2+56=58
Exploring Operation: 2+73=75, Resulting Numbers: [56, 75]
Generated Node #0,3,3: 65:[56, 75] Operation: 2+73=75
Exploring Operation: 73-2=71, Resulting Numbers: [56, 71]
Generated Node #0,3,4: 65:[56, 71] Operation: 73-2=71
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 65:[2, 17], Operations: ['50+6=56', '73-56=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 65:[73, 58], Operations: ['50+6=56', '2+56=58']
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,65 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 65:[56, 71], Operations: ['50+6=56', '73-2=71']
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 65:[73, 54], Operations: ['50+6=56', '56-2=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[56, 75], Operations: ['50+6=56', '2+73=75']
Exploring Operation: 56+75=131, Resulting Numbers: [131]
131,65 unequal: No Solution
Exploring Operation: 75-56=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 56*75=4200, Resulting Numbers: [4200]
4200,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[50, 2, 67], Operations: ['73-6=67']
Exploring Operation: 67-50=17, Resulting Numbers: [2, 17]
Generated Node #0,2,0: 65:[2, 17] Operation: 67-50=17
Exploring Operation: 50+2=52, Resulting Numbers: [67, 52]
Generated Node #0,2,1: 65:[67, 52] Operation: 50+2=52
Exploring Operation: 50/2=25, Resulting Numbers: [67, 25]
Generated Node #0,2,2: 65:[67, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [67, 48]
Generated Node #0,2,3: 65:[67, 48] Operation: 50-2=48
Exploring Operation: 67-2=65, Resulting Numbers: [50, 65]
Generated Node #0,2,4: 65:[50, 65] Operation: 67-2=65
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[2, 17], Operations: ['73-6=67', '67-50=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[67, 25], Operations: ['73-6=67', '50/2=25']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 67+25=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 67*25=1675, Resulting Numbers: [1675]
1675,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[67, 52], Operations: ['73-6=67', '50+2=52']
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,65 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 65:[50, 65], Operations: ['73-6=67', '67-2=65']
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 50*65=3250, Resulting Numbers: [3250]
3250,65 unequal: No Solution
Exploring Operation: 50+65=115, Resulting Numbers: [115]
115,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[67, 48], Operations: ['73-6=67', '50-2=48']
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,65 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 65:[73, 6, 25], Operations: ['50/2=25']
Exploring Operation: 6+25=31, Resulting Numbers: [73, 31]
Generated Node #0,0,0: 65:[73, 31] Operation: 6+25=31
Exploring Operation: 73-6=67, Resulting Numbers: [25, 67]
Generated Node #0,0,1: 65:[25, 67] Operation: 73-6=67
Exploring Operation: 73-25=48, Resulting Numbers: [6, 48]
Generated Node #0,0,2: 65:[6, 48] Operation: 73-25=48
Exploring Operation: 25-6=19, Resulting Numbers: [73, 19]
Generated Node #0,0,3: 65:[73, 19] Operation: 25-6=19
Exploring Operation: 73+6=79, Resulting Numbers: [25, 79]
Generated Node #0,0,4: 65:[25, 79] Operation: 73+6=79
Moving to Node #0,4
Current State: 65:[73, 6, 52], Operations: ['50+2=52']
Exploring Operation: 73-52=21, Resulting Numbers: [6, 21]
Generated Node #0,4,0: 65:[6, 21] Operation: 73-52=21
Exploring Operation: 73+6=79, Resulting Numbers: [52, 79]
Generated Node #0,4,1: 65:[52, 79] Operation: 73+6=79
Exploring Operation: 52-6=46, Resulting Numbers: [73, 46]
Generated Node #0,4,2: 65:[73, 46] Operation: 52-6=46
Exploring Operation: 73-6=67, Resulting Numbers: [52, 67]
Generated Node #0,4,3: 65:[52, 67] Operation: 73-6=67
Exploring Operation: 6+52=58, Resulting Numbers: [73, 58]
Generated Node #0,4,4: 65:[73, 58] Operation: 6+52=58
Moving to Node #0,4,0
Current State: 65:[6, 21], Operations: ['50+2=52', '73-52=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[25, 67], Operations: ['50/2=25', '73-6=67']
Exploring Operation: 25*67=1675, Resulting Numbers: [1675]
1675,65 unequal: No Solution
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[73, 19], Operations: ['50/2=25', '25-6=19']
Exploring Operation: 73+19=92, Resulting Numbers: [92]
92,65 unequal: No Solution
Exploring Operation: 73*19=1387, Resulting Numbers: [1387]
1387,65 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,4,3
Current State: 65:[52, 67], Operations: ['50+2=52', '73-6=67']
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,65 unequal: No Solution
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,4,4
Current State: 65:[73, 58], Operations: ['50+2=52', '6+52=58']
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,65 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,65 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,0,2
Current State: 65:[6, 48], Operations: ['50/2=25', '73-25=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,65 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[25, 79], Operations: ['50/2=25', '73+6=79']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[73, 31], Operations: ['50/2=25', '6+25=31']
Exploring Operation: 73*31=2263, Resulting Numbers: [2263]
2263,65 unequal: No Solution
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 73+31=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Moving to Node #0,4,2
Current State: 65:[73, 46], Operations: ['50+2=52', '52-6=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,65 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,65 unequal: No Solution
Moving to Node #0,4,1
Current State: 65:[52, 79], Operations: ['50+2=52', '73+6=79']
Exploring Operation: 52*79=4108, Resulting Numbers: [4108]
4108,65 unequal: No Solution
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 52+79=131, Resulting Numbers: [131]
131,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
91,
31,
53
] | 34 | [
"11*91=1001",
"53+1001=1054",
"1054/31=34"
] | Current State: 34:[11, 91, 31, 53], Operations: []
Exploring Operation: 11*91=1001, Resulting Numbers: [31, 53, 1001]
Generated Node #2: [31, 53, 1001] from Operation: 11*91=1001
Current State: 34:[31, 53, 1001], Operations: ['11*91=1001']
Exploring Operation: 53+1001=1054, Resulting Numbers: [31, 1054]
Generated Node #3: [31, 1054] from Operation: 53+1001=1054
Current State: 34:[31, 1054], Operations: ['11*91=1001', '53+1001=1054']
Exploring Operation: 1054/31=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[11, 91, 31, 53], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [11, 53, 60]
Generated Node #0,0: 34:[11, 53, 60] Operation: 91-31=60
Exploring Operation: 91-53=38, Resulting Numbers: [11, 31, 38]
Generated Node #0,1: 34:[11, 31, 38] Operation: 91-53=38
Exploring Operation: 53-11=42, Resulting Numbers: [91, 31, 42]
Generated Node #0,2: 34:[91, 31, 42] Operation: 53-11=42
Exploring Operation: 91-11=80, Resulting Numbers: [31, 53, 80]
Generated Node #0,3: 34:[31, 53, 80] Operation: 91-11=80
Exploring Operation: 53-31=22, Resulting Numbers: [11, 91, 22]
Generated Node #0,4: 34:[11, 91, 22] Operation: 53-31=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[11, 31, 38], Operations: ['91-53=38']
Exploring Operation: 38-31=7, Resulting Numbers: [11, 7]
Generated Node #0,1,0: 34:[11, 7] Operation: 38-31=7
Exploring Operation: 38-11=27, Resulting Numbers: [31, 27]
Generated Node #0,1,1: 34:[31, 27] Operation: 38-11=27
Exploring Operation: 31-11=20, Resulting Numbers: [38, 20]
Generated Node #0,1,2: 34:[38, 20] Operation: 31-11=20
Exploring Operation: 11+38=49, Resulting Numbers: [31, 49]
Generated Node #0,1,3: 34:[31, 49] Operation: 11+38=49
Exploring Operation: 11+31=42, Resulting Numbers: [38, 42]
Generated Node #0,1,4: 34:[38, 42] Operation: 11+31=42
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 34:[38, 20], Operations: ['91-53=38', '31-11=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 38+20=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 38*20=760, Resulting Numbers: [760]
760,34 unequal: No Solution
No 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: 34:[31, 27], Operations: ['91-53=38', '38-11=27']
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,34 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,34 unequal: No Solution
No 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: 34:[11, 7], Operations: ['91-53=38', '38-31=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No 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: 34:[38, 42], Operations: ['91-53=38', '11+31=42']
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,34 unequal: No Solution
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,34 unequal: No Solution
No 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: 34:[31, 49], Operations: ['91-53=38', '11+38=49']
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,34 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: 34:[11, 53, 60], Operations: ['91-31=60']
Exploring Operation: 60-53=7, Resulting Numbers: [11, 7]
Generated Node #0,0,0: 34:[11, 7] Operation: 60-53=7
Exploring Operation: 60-11=49, Resulting Numbers: [53, 49]
Generated Node #0,0,1: 34:[53, 49] Operation: 60-11=49
Exploring Operation: 11+60=71, Resulting Numbers: [53, 71]
Generated Node #0,0,2: 34:[53, 71] Operation: 11+60=71
Exploring Operation: 11+53=64, Resulting Numbers: [60, 64]
Generated Node #0,0,3: 34:[60, 64] Operation: 11+53=64
Exploring Operation: 53-11=42, Resulting Numbers: [60, 42]
Generated Node #0,0,4: 34:[60, 42] Operation: 53-11=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[11, 7], Operations: ['91-31=60', '60-53=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,34 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No 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: 34:[53, 49], Operations: ['91-31=60', '60-11=49']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,34 unequal: No Solution
No 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: 34:[60, 42], Operations: ['91-31=60', '53-11=42']
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,34 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,34 unequal: No Solution
No 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: 34:[53, 71], Operations: ['91-31=60', '11+60=71']
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,34 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,34 unequal: No Solution
No 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: 34:[60, 64], Operations: ['91-31=60', '11+53=64']
Exploring Operation: 60+64=124, Resulting Numbers: [124]
124,34 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 60*64=3840, Resulting Numbers: [3840]
3840,34 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: 34:[91, 31, 42], Operations: ['53-11=42']
Exploring Operation: 42-31=11, Resulting Numbers: [91, 11]
Generated Node #0,2,0: 34:[91, 11] Operation: 42-31=11
Exploring Operation: 31+42=73, Resulting Numbers: [91, 73]
Generated Node #0,2,1: 34:[91, 73] Operation: 31+42=73
Exploring Operation: 91-31=60, Resulting Numbers: [42, 60]
Generated Node #0,2,2: 34:[42, 60] Operation: 91-31=60
Exploring Operation: 91+31=122, Resulting Numbers: [42, 122]
Generated Node #0,2,3: 34:[42, 122] Operation: 91+31=122
Exploring Operation: 91-42=49, Resulting Numbers: [31, 49]
Generated Node #0,2,4: 34:[31, 49] Operation: 91-42=49
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 34:[31, 49], Operations: ['53-11=42', '91-42=49']
Exploring Operation: 31*49=1519, Resulting Numbers: [1519]
1519,34 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 31+49=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No 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: 34:[42, 60], Operations: ['53-11=42', '91-31=60']
Exploring Operation: 42*60=2520, Resulting Numbers: [2520]
2520,34 unequal: No Solution
Exploring Operation: 42+60=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No 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: 34:[91, 11], Operations: ['53-11=42', '42-31=11']
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,34 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No 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: 34:[91, 73], Operations: ['53-11=42', '31+42=73']
Exploring Operation: 91+73=164, Resulting Numbers: [164]
164,34 unequal: No Solution
Exploring Operation: 91*73=6643, Resulting Numbers: [6643]
6643,34 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,34 unequal: No Solution
No 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: 34:[42, 122], Operations: ['53-11=42', '91+31=122']
Exploring Operation: 42*122=5124, Resulting Numbers: [5124]
5124,34 unequal: No Solution
Exploring Operation: 42+122=164, Resulting Numbers: [164]
164,34 unequal: No Solution
Exploring Operation: 122-42=80, Resulting Numbers: [80]
80,34 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: 34:[31, 53, 80], Operations: ['91-11=80']
Exploring Operation: 80-31=49, Resulting Numbers: [53, 49]
Generated Node #0,3,0: 34:[53, 49] Operation: 80-31=49
Exploring Operation: 53-31=22, Resulting Numbers: [80, 22]
Generated Node #0,3,1: 34:[80, 22] Operation: 53-31=22
Exploring Operation: 31+80=111, Resulting Numbers: [53, 111]
Generated Node #0,3,2: 34:[53, 111] Operation: 31+80=111
Exploring Operation: 31+53=84, Resulting Numbers: [80, 84]
Generated Node #0,3,3: 34:[80, 84] Operation: 31+53=84
Exploring Operation: 80-53=27, Resulting Numbers: [31, 27]
Generated Node #0,3,4: 34:[31, 27] Operation: 80-53=27
Moving to Node #0,3,4
Current State: 34:[31, 27], Operations: ['91-11=80', '80-53=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,34 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[53, 49], Operations: ['91-11=80', '80-31=49']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,34 unequal: No Solution
Moving to Node #0,3,1
Current State: 34:[80, 22], Operations: ['91-11=80', '53-31=22']
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[53, 111], Operations: ['91-11=80', '31+80=111']
Exploring Operation: 111-53=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 53*111=5883, Resulting Numbers: [5883]
5883,34 unequal: No Solution
Exploring Operation: 53+111=164, Resulting Numbers: [164]
164,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[80, 84], Operations: ['91-11=80', '31+53=84']
Exploring Operation: 80+84=164, Resulting Numbers: [164]
164,34 unequal: No Solution
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 80*84=6720, Resulting Numbers: [6720]
6720,34 unequal: No Solution
No 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: 34:[11, 91, 22], Operations: ['53-31=22']
Exploring Operation: 11+22=33, Resulting Numbers: [91, 33]
Generated Node #0,4,0: 34:[91, 33] Operation: 11+22=33
Exploring Operation: 22-11=11, Resulting Numbers: [91, 11]
Generated Node #0,4,1: 34:[91, 11] Operation: 22-11=11
Exploring Operation: 91-11=80, Resulting Numbers: [22, 80]
Generated Node #0,4,2: 34:[22, 80] Operation: 91-11=80
Exploring Operation: 91-22=69, Resulting Numbers: [11, 69]
Generated Node #0,4,3: 34:[11, 69] Operation: 91-22=69
Exploring Operation: 22/11=2, Resulting Numbers: [91, 2]
Generated Node #0,4,4: 34:[91, 2] Operation: 22/11=2
Moving to Node #0,4,3
Current State: 34:[11, 69], Operations: ['53-31=22', '91-22=69']
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,34 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[22, 80], Operations: ['53-31=22', '91-11=80']
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Exploring Operation: 22*80=1760, Resulting Numbers: [1760]
1760,34 unequal: No Solution
Exploring Operation: 22+80=102, Resulting Numbers: [102]
102,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[91, 2], Operations: ['53-31=22', '22/11=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,34 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[91, 33], Operations: ['53-31=22', '11+22=33']
Exploring Operation: 91+33=124, Resulting Numbers: [124]
124,34 unequal: No Solution
Exploring Operation: 91*33=3003, Resulting Numbers: [3003]
3003,34 unequal: No Solution
Exploring Operation: 91-33=58, Resulting Numbers: [58]
58,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[91, 11], Operations: ['53-31=22', '22-11=11']
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,34 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
46,
4,
13,
1
] | 85 | [
"4-1=3",
"13*3=39",
"46+39=85"
] | Current State: 85:[46, 4, 13, 1], Operations: []
Exploring Operation: 4-1=3, Resulting Numbers: [46, 13, 3]
Generated Node #2: [46, 13, 3] from Operation: 4-1=3
Current State: 85:[46, 13, 3], Operations: ['4-1=3']
Exploring Operation: 13*3=39, Resulting Numbers: [46, 39]
Generated Node #3: [46, 39] from Operation: 13*3=39
Current State: 85:[46, 39], Operations: ['4-1=3', '13*3=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[46, 4, 13, 1], Operations: []
Exploring Operation: 46-13=33, Resulting Numbers: [4, 1, 33]
Generated Node #0,0: 85:[4, 1, 33] Operation: 46-13=33
Exploring Operation: 46-4=42, Resulting Numbers: [13, 1, 42]
Generated Node #0,1: 85:[13, 1, 42] Operation: 46-4=42
Exploring Operation: 46+13=59, Resulting Numbers: [4, 1, 59]
Generated Node #0,2: 85:[4, 1, 59] Operation: 46+13=59
Moving to Node #0,0
Current State: 85:[4, 1, 33], Operations: ['46-13=33']
Exploring Operation: 4+1=5, Resulting Numbers: [33, 5]
Generated Node #0,0,0: 85:[33, 5] Operation: 4+1=5
Exploring Operation: 33-1=32, Resulting Numbers: [4, 32]
Generated Node #0,0,1: 85:[4, 32] Operation: 33-1=32
Exploring Operation: 33-4=29, Resulting Numbers: [1, 29]
Generated Node #0,0,2: 85:[1, 29] Operation: 33-4=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[33, 5], Operations: ['46-13=33', '4+1=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[4, 32], Operations: ['46-13=33', '33-1=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[1, 29], Operations: ['46-13=33', '33-4=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,85 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: 85:[4, 1, 59], Operations: ['46+13=59']
Exploring Operation: 1+59=60, Resulting Numbers: [4, 60]
Generated Node #0,2,0: 85:[4, 60] Operation: 1+59=60
Exploring Operation: 4+1=5, Resulting Numbers: [59, 5]
Generated Node #0,2,1: 85:[59, 5] Operation: 4+1=5
Exploring Operation: 4+59=63, Resulting Numbers: [1, 63]
Generated Node #0,2,2: 85:[1, 63] Operation: 4+59=63
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[4, 60], Operations: ['46+13=59', '1+59=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[59, 5], Operations: ['46+13=59', '4+1=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,85 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[1, 63], Operations: ['46+13=59', '4+59=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[13, 1, 42], Operations: ['46-4=42']
Exploring Operation: 42-1=41, Resulting Numbers: [13, 41]
Generated Node #0,1,0: 85:[13, 41] Operation: 42-1=41
Exploring Operation: 13+1=14, Resulting Numbers: [42, 14]
Generated Node #0,1,1: 85:[42, 14] Operation: 13+1=14
Exploring Operation: 42-13=29, Resulting Numbers: [1, 29]
Generated Node #0,1,2: 85:[1, 29] Operation: 42-13=29
Moving to Node #0,1,2
Current State: 85:[1, 29], Operations: ['46-4=42', '42-13=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[13, 41], Operations: ['46-4=42', '42-1=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[42, 14], Operations: ['46-4=42', '13+1=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 42+14=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
98,
96,
96
] | 60 | [
"96-66=30",
"98-96=2",
"30*2=60"
] | Current State: 60:[66, 98, 96, 96], Operations: []
Exploring Operation: 96-66=30, Resulting Numbers: [98, 30]
Generated Node #2: [98, 30] from Operation: 96-66=30
Current State: 60:[98, 30], Operations: ['96-66=30']
Exploring Operation: 98-96=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 98-96=2
Current State: 60:[30, 2], Operations: ['96-66=30', '98-96=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[66, 98, 96, 96], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [66, 96, 2]
Generated Node #0,0: 60:[66, 96, 2] Operation: 98-96=2
Exploring Operation: 96/96=1, Resulting Numbers: [66, 98, 1]
Generated Node #0,1: 60:[66, 98, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [66, 98, 0]
Generated Node #0,2: 60:[66, 98, 0] Operation: 96-96=0
Exploring Operation: 98-96=2, Resulting Numbers: [66, 96, 2]
Generated Node #0,3: 60:[66, 96, 2] Operation: 98-96=2
Exploring Operation: 98-66=32, Resulting Numbers: [96, 96, 32]
Generated Node #0,4: 60:[96, 96, 32] Operation: 98-66=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[66, 96, 2], Operations: ['98-96=2']
Exploring Operation: 66-2=64, Resulting Numbers: [96, 64]
Generated Node #0,0,0: 60:[96, 64] Operation: 66-2=64
Exploring Operation: 96-66=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 60:[2, 30] Operation: 96-66=30
Exploring Operation: 96/2=48, Resulting Numbers: [66, 48]
Generated Node #0,0,2: 60:[66, 48] Operation: 96/2=48
Exploring Operation: 66/2=33, Resulting Numbers: [96, 33]
Generated Node #0,0,3: 60:[96, 33] Operation: 66/2=33
Exploring Operation: 96-2=94, Resulting Numbers: [66, 94]
Generated Node #0,0,4: 60:[66, 94] Operation: 96-2=94
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[2, 30], Operations: ['98-96=2', '96-66=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[66, 98, 96, 96], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [66, 96, 2]
Generated Node #0,0: 60:[66, 96, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 60:[66, 96, 2], Operations: ['98-96=2']
Exploring Operation: 96-66=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 60:[2, 30] Operation: 96-66=30
Moving to Node #0,0,1
Current State: 60:[2, 30], Operations: ['98-96=2', '96-66=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
6,
75,
36,
71
] | 15 | [
"75-71=4",
"36/4=9",
"6+9=15"
] | Current State: 15:[6, 75, 36, 71], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [6, 36, 4]
Generated Node #2: [6, 36, 4] from Operation: 75-71=4
Current State: 15:[6, 36, 4], Operations: ['75-71=4']
Exploring Operation: 36/4=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 36/4=9
Current State: 15:[6, 9], Operations: ['75-71=4', '36/4=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[6, 75, 36, 71], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [75, 71, 6]
Generated Node #0,0: 15:[75, 71, 6] Operation: 36/6=6
Exploring Operation: 75-71=4, Resulting Numbers: [6, 36, 4]
Generated Node #0,1: 15:[6, 36, 4] Operation: 75-71=4
Exploring Operation: 71-36=35, Resulting Numbers: [6, 75, 35]
Generated Node #0,2: 15:[6, 75, 35] Operation: 71-36=35
Exploring Operation: 75-36=39, Resulting Numbers: [6, 71, 39]
Generated Node #0,3: 15:[6, 71, 39] Operation: 75-36=39
Moving to Node #0,1
Current State: 15:[6, 36, 4], Operations: ['75-71=4']
Exploring Operation: 36/4=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 15:[6, 9] Operation: 36/4=9
Exploring Operation: 36/6=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 15:[4, 6] Operation: 36/6=6
Exploring Operation: 36-4=32, Resulting Numbers: [6, 32]
Generated Node #0,1,2: 15:[6, 32] Operation: 36-4=32
Exploring Operation: 36-6=30, Resulting Numbers: [4, 30]
Generated Node #0,1,3: 15:[4, 30] Operation: 36-6=30
Moving to Node #0,3
Current State: 15:[6, 71, 39], Operations: ['75-36=39']
Exploring Operation: 39-6=33, Resulting Numbers: [71, 33]
Generated Node #0,3,0: 15:[71, 33] Operation: 39-6=33
Exploring Operation: 71-6=65, Resulting Numbers: [39, 65]
Generated Node #0,3,1: 15:[39, 65] Operation: 71-6=65
Exploring Operation: 6+71=77, Resulting Numbers: [39, 77]
Generated Node #0,3,2: 15:[39, 77] Operation: 6+71=77
Exploring Operation: 71-39=32, Resulting Numbers: [6, 32]
Generated Node #0,3,3: 15:[6, 32] Operation: 71-39=32
Moving to Node #0,2
Current State: 15:[6, 75, 35], Operations: ['71-36=35']
Exploring Operation: 6+75=81, Resulting Numbers: [35, 81]
Generated Node #0,2,0: 15:[35, 81] Operation: 6+75=81
Exploring Operation: 75-35=40, Resulting Numbers: [6, 40]
Generated Node #0,2,1: 15:[6, 40] Operation: 75-35=40
Exploring Operation: 35-6=29, Resulting Numbers: [75, 29]
Generated Node #0,2,2: 15:[75, 29] Operation: 35-6=29
Exploring Operation: 75-6=69, Resulting Numbers: [35, 69]
Generated Node #0,2,3: 15:[35, 69] Operation: 75-6=69
Moving to Node #0,0
Current State: 15:[75, 71, 6], Operations: ['36/6=6']
Exploring Operation: 75+6=81, Resulting Numbers: [71, 81]
Generated Node #0,0,0: 15:[71, 81] Operation: 75+6=81
Exploring Operation: 71-6=65, Resulting Numbers: [75, 65]
Generated Node #0,0,1: 15:[75, 65] Operation: 71-6=65
Exploring Operation: 75-6=69, Resulting Numbers: [71, 69]
Generated Node #0,0,2: 15:[71, 69] Operation: 75-6=69
Exploring Operation: 75-71=4, Resulting Numbers: [6, 4]
Generated Node #0,0,3: 15:[6, 4] Operation: 75-71=4
Moving to Node #0,1,1
Current State: 15:[4, 6], Operations: ['75-71=4', '36/6=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[6, 4], Operations: ['36/6=6', '75-71=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[6, 9], Operations: ['75-71=4', '36/4=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[6, 75, 36, 71], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [6, 36, 4]
Generated Node #0,1: 15:[6, 36, 4] Operation: 75-71=4
Moving to Node #0,1
Current State: 15:[6, 36, 4], Operations: ['75-71=4']
Exploring Operation: 36/4=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 15:[6, 9] Operation: 36/4=9
Moving to Node #0,1,0
Current State: 15:[6, 9], Operations: ['75-71=4', '36/4=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.971354 | hs_4 | mult_heuristic |
[
4,
45,
99,
36
] | 44 | [
"4*99=396",
"45-36=9",
"396/9=44"
] | Current State: 44:[4, 45, 99, 36], Operations: []
Exploring Operation: 4*99=396, Resulting Numbers: [45, 36, 396]
Generated Node #2: [45, 36, 396] from Operation: 4*99=396
Current State: 44:[45, 36, 396], Operations: ['4*99=396']
Exploring Operation: 45-36=9, Resulting Numbers: [396, 9]
Generated Node #3: [396, 9] from Operation: 45-36=9
Current State: 44:[396, 9], Operations: ['4*99=396', '45-36=9']
Exploring Operation: 396/9=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 45, 99, 36], Operations: []
Exploring Operation: 99-36=63, Resulting Numbers: [4, 45, 63]
Generated Node #0,0: 44:[4, 45, 63] Operation: 99-36=63
Exploring Operation: 99-45=54, Resulting Numbers: [4, 36, 54]
Generated Node #0,1: 44:[4, 36, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[4, 36, 54], Operations: ['99-45=54']
Exploring Operation: 36/4=9, Resulting Numbers: [54, 9]
Generated Node #0,1,0: 44:[54, 9] Operation: 36/4=9
Exploring Operation: 54-36=18, Resulting Numbers: [4, 18]
Generated Node #0,1,1: 44:[4, 18] Operation: 54-36=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[4, 18], Operations: ['99-45=54', '54-36=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[54, 9], Operations: ['99-45=54', '36/4=9']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[4, 45, 63], Operations: ['99-36=63']
Exploring Operation: 63-45=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 44:[4, 18] Operation: 63-45=18
Exploring Operation: 63-4=59, Resulting Numbers: [45, 59]
Generated Node #0,0,1: 44:[45, 59] Operation: 63-4=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[4, 18], Operations: ['99-36=63', '63-45=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[45, 59], Operations: ['99-36=63', '63-4=59']
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,44 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
64,
23,
36,
19
] | 95 | [
"64-23=41",
"41-36=5",
"19*5=95"
] | Current State: 95:[64, 23, 36, 19], Operations: []
Exploring Operation: 64-23=41, Resulting Numbers: [36, 19, 41]
Generated Node #2: [36, 19, 41] from Operation: 64-23=41
Current State: 95:[36, 19, 41], Operations: ['64-23=41']
Exploring Operation: 41-36=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 41-36=5
Current State: 95:[19, 5], Operations: ['64-23=41', '41-36=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[64, 23, 36, 19], Operations: []
Exploring Operation: 64+36=100, Resulting Numbers: [23, 19, 100]
Generated Node #0,0: 95:[23, 19, 100] Operation: 64+36=100
Exploring Operation: 64-36=28, Resulting Numbers: [23, 19, 28]
Generated Node #0,1: 95:[23, 19, 28] Operation: 64-36=28
Exploring Operation: 64+23=87, Resulting Numbers: [36, 19, 87]
Generated Node #0,2: 95:[36, 19, 87] Operation: 64+23=87
Moving to Node #0,0
Current State: 95:[23, 19, 100], Operations: ['64+36=100']
Exploring Operation: 100-19=81, Resulting Numbers: [23, 81]
Generated Node #0,0,0: 95:[23, 81] Operation: 100-19=81
Exploring Operation: 23-19=4, Resulting Numbers: [100, 4]
Generated Node #0,0,1: 95:[100, 4] Operation: 23-19=4
Exploring Operation: 100-23=77, Resulting Numbers: [19, 77]
Generated Node #0,0,2: 95:[19, 77] Operation: 100-23=77
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[100, 4], Operations: ['64+36=100', '23-19=4']
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,95 unequal: No Solution
Exploring Operation: 100+4=104, Resulting Numbers: [104]
104,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[23, 81], Operations: ['64+36=100', '100-19=81']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,95 unequal: No Solution
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[19, 77], Operations: ['64+36=100', '100-23=77']
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,95 unequal: No Solution
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,95 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: 95:[23, 19, 28], Operations: ['64-36=28']
Exploring Operation: 28-19=9, Resulting Numbers: [23, 9]
Generated Node #0,1,0: 95:[23, 9] Operation: 28-19=9
Exploring Operation: 28-23=5, Resulting Numbers: [19, 5]
Generated Node #0,1,1: 95:[19, 5] Operation: 28-23=5
Exploring Operation: 23-19=4, Resulting Numbers: [28, 4]
Generated Node #0,1,2: 95:[28, 4] Operation: 23-19=4
Moving to Node #0,2
Current State: 95:[36, 19, 87], Operations: ['64+23=87']
Exploring Operation: 36+87=123, Resulting Numbers: [19, 123]
Generated Node #0,2,0: 95:[19, 123] Operation: 36+87=123
Exploring Operation: 36-19=17, Resulting Numbers: [87, 17]
Generated Node #0,2,1: 95:[87, 17] Operation: 36-19=17
Exploring Operation: 19+87=106, Resulting Numbers: [36, 106]
Generated Node #0,2,2: 95:[36, 106] Operation: 19+87=106
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[87, 17], Operations: ['64+23=87', '36-19=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,95 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[19, 123], Operations: ['64+23=87', '36+87=123']
Exploring Operation: 19+123=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 19*123=2337, Resulting Numbers: [2337]
2337,95 unequal: No Solution
Exploring Operation: 123-19=104, Resulting Numbers: [104]
104,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[36, 106], Operations: ['64+23=87', '19+87=106']
Exploring Operation: 36+106=142, Resulting Numbers: [142]
142,95 unequal: No Solution
Exploring Operation: 36*106=3816, Resulting Numbers: [3816]
3816,95 unequal: No Solution
Exploring Operation: 106-36=70, Resulting Numbers: [70]
70,95 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: 95:[19, 5], Operations: ['64-36=28', '28-23=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[64, 23, 36, 19], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [23, 19, 28]
Generated Node #0,1: 95:[23, 19, 28] Operation: 64-36=28
Moving to Node #0,1
Current State: 95:[23, 19, 28], Operations: ['64-36=28']
Exploring Operation: 28-23=5, Resulting Numbers: [19, 5]
Generated Node #0,1,1: 95:[19, 5] Operation: 28-23=5
Moving to Node #0,1,1
Current State: 95:[19, 5], Operations: ['64-36=28', '28-23=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
72,
25,
4,
70
] | 27 | [
"72-25=47",
"4+70=74",
"74-47=27"
] | Current State: 27:[72, 25, 4, 70], Operations: []
Exploring Operation: 72-25=47, Resulting Numbers: [4, 70, 47]
Generated Node #2: [4, 70, 47] from Operation: 72-25=47
Current State: 27:[4, 70, 47], Operations: ['72-25=47']
Exploring Operation: 4+70=74, Resulting Numbers: [47, 74]
Generated Node #3: [47, 74] from Operation: 4+70=74
Current State: 27:[47, 74], Operations: ['72-25=47', '4+70=74']
Exploring Operation: 74-47=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[72, 25, 4, 70], Operations: []
Exploring Operation: 72/4=18, Resulting Numbers: [25, 70, 18]
Generated Node #0,0: 27:[25, 70, 18] Operation: 72/4=18
Exploring Operation: 72-25=47, Resulting Numbers: [4, 70, 47]
Generated Node #0,1: 27:[4, 70, 47] Operation: 72-25=47
Exploring Operation: 70-25=45, Resulting Numbers: [72, 4, 45]
Generated Node #0,2: 27:[72, 4, 45] Operation: 70-25=45
Exploring Operation: 72-70=2, Resulting Numbers: [25, 4, 2]
Generated Node #0,3: 27:[25, 4, 2] Operation: 72-70=2
Moving to Node #0,3
Current State: 27:[25, 4, 2], Operations: ['72-70=2']
Exploring Operation: 25+2=27, Resulting Numbers: [4, 27]
Generated Node #0,3,0: 27:[4, 27] Operation: 25+2=27
Exploring Operation: 25+4=29, Resulting Numbers: [2, 29]
Generated Node #0,3,1: 27:[2, 29] Operation: 25+4=29
Exploring Operation: 4-2=2, Resulting Numbers: [25, 2]
Generated Node #0,3,2: 27:[25, 2] Operation: 4-2=2
Exploring Operation: 4*2=8, Resulting Numbers: [25, 8]
Generated Node #0,3,3: 27:[25, 8] Operation: 4*2=8
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[4, 27], Operations: ['72-70=2', '25+2=27']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 4*27=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 4+27=31, Resulting Numbers: [31]
31,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[2, 29], Operations: ['72-70=2', '25+4=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[72, 25, 4, 70], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [25, 4, 2]
Generated Node #0,3: 27:[25, 4, 2] Operation: 72-70=2
Moving to Node #0,3
Current State: 27:[25, 4, 2], Operations: ['72-70=2']
Exploring Operation: 25+4=29, Resulting Numbers: [2, 29]
Generated Node #0,3,1: 27:[2, 29] Operation: 25+4=29
Moving to Node #0,3,1
Current State: 27:[2, 29], Operations: ['72-70=2', '25+4=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
97,
25,
63,
44
] | 35 | [
"97-25=72",
"63+44=107",
"107-72=35"
] | Current State: 35:[97, 25, 63, 44], Operations: []
Exploring Operation: 97-25=72, Resulting Numbers: [63, 44, 72]
Generated Node #2: [63, 44, 72] from Operation: 97-25=72
Current State: 35:[63, 44, 72], Operations: ['97-25=72']
Exploring Operation: 63+44=107, Resulting Numbers: [72, 107]
Generated Node #3: [72, 107] from Operation: 63+44=107
Current State: 35:[72, 107], Operations: ['97-25=72', '63+44=107']
Exploring Operation: 107-72=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[97, 25, 63, 44], Operations: []
Exploring Operation: 63-25=38, Resulting Numbers: [97, 44, 38]
Generated Node #0,0: 35:[97, 44, 38] Operation: 63-25=38
Exploring Operation: 97-63=34, Resulting Numbers: [25, 44, 34]
Generated Node #0,1: 35:[25, 44, 34] Operation: 97-63=34
Exploring Operation: 97-25=72, Resulting Numbers: [63, 44, 72]
Generated Node #0,2: 35:[63, 44, 72] Operation: 97-25=72
Exploring Operation: 97-44=53, Resulting Numbers: [25, 63, 53]
Generated Node #0,3: 35:[25, 63, 53] Operation: 97-44=53
Exploring Operation: 63-44=19, Resulting Numbers: [97, 25, 19]
Generated Node #0,4: 35:[97, 25, 19] Operation: 63-44=19
Moving to Node #0,1
Current State: 35:[25, 44, 34], Operations: ['97-63=34']
Exploring Operation: 44-34=10, Resulting Numbers: [25, 10]
Generated Node #0,1,0: 35:[25, 10] Operation: 44-34=10
Exploring Operation: 25+44=69, Resulting Numbers: [34, 69]
Generated Node #0,1,1: 35:[34, 69] Operation: 25+44=69
Exploring Operation: 44-25=19, Resulting Numbers: [34, 19]
Generated Node #0,1,2: 35:[34, 19] Operation: 44-25=19
Exploring Operation: 25+34=59, Resulting Numbers: [44, 59]
Generated Node #0,1,3: 35:[44, 59] Operation: 25+34=59
Exploring Operation: 34-25=9, Resulting Numbers: [44, 9]
Generated Node #0,1,4: 35:[44, 9] Operation: 34-25=9
Moving to Node #0,3
Current State: 35:[25, 63, 53], Operations: ['97-44=53']
Exploring Operation: 63-25=38, Resulting Numbers: [53, 38]
Generated Node #0,3,0: 35:[53, 38] Operation: 63-25=38
Exploring Operation: 25+63=88, Resulting Numbers: [53, 88]
Generated Node #0,3,1: 35:[53, 88] Operation: 25+63=88
Exploring Operation: 25+53=78, Resulting Numbers: [63, 78]
Generated Node #0,3,2: 35:[63, 78] Operation: 25+53=78
Exploring Operation: 63-53=10, Resulting Numbers: [25, 10]
Generated Node #0,3,3: 35:[25, 10] Operation: 63-53=10
Exploring Operation: 53-25=28, Resulting Numbers: [63, 28]
Generated Node #0,3,4: 35:[63, 28] Operation: 53-25=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[25, 10], Operations: ['97-44=53', '63-53=10']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[97, 25, 63, 44], Operations: []
Exploring Operation: 97-44=53, Resulting Numbers: [25, 63, 53]
Generated Node #0,3: 35:[25, 63, 53] Operation: 97-44=53
Moving to Node #0,3
Current State: 35:[25, 63, 53], Operations: ['97-44=53']
Exploring Operation: 63-53=10, Resulting Numbers: [25, 10]
Generated Node #0,3,3: 35:[25, 10] Operation: 63-53=10
Moving to Node #0,3,3
Current State: 35:[25, 10], Operations: ['97-44=53', '63-53=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
98,
96,
16,
33
] | 65 | [
"98-96=2",
"16*2=32",
"33+32=65"
] | Current State: 65:[98, 96, 16, 33], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [16, 33, 2]
Generated Node #2: [16, 33, 2] from Operation: 98-96=2
Current State: 65:[16, 33, 2], Operations: ['98-96=2']
Exploring Operation: 16*2=32, Resulting Numbers: [33, 32]
Generated Node #3: [33, 32] from Operation: 16*2=32
Current State: 65:[33, 32], Operations: ['98-96=2', '16*2=32']
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[98, 96, 16, 33], Operations: []
Exploring Operation: 98-33=65, Resulting Numbers: [96, 16, 65]
Generated Node #0,0: 65:[96, 16, 65] Operation: 98-33=65
Exploring Operation: 98-96=2, Resulting Numbers: [16, 33, 2]
Generated Node #0,1: 65:[16, 33, 2] Operation: 98-96=2
Moving to Node #0,1
Current State: 65:[16, 33, 2], Operations: ['98-96=2']
Exploring Operation: 33*2=66, Resulting Numbers: [16, 66]
Generated Node #0,1,0: 65:[16, 66] Operation: 33*2=66
Exploring Operation: 33-16=17, Resulting Numbers: [2, 17]
Generated Node #0,1,1: 65:[2, 17] Operation: 33-16=17
Moving to Node #0,0
Current State: 65:[96, 16, 65], Operations: ['98-33=65']
Exploring Operation: 96-16=80, Resulting Numbers: [65, 80]
Generated Node #0,0,0: 65:[65, 80] Operation: 96-16=80
Exploring Operation: 96/16=6, Resulting Numbers: [65, 6]
Generated Node #0,0,1: 65:[65, 6] Operation: 96/16=6
Moving to Node #0,0,1
Current State: 65:[65, 6], Operations: ['98-33=65', '96/16=6']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[16, 66], Operations: ['98-96=2', '33*2=66']
Exploring Operation: 16+66=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 66-16=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[2, 17], Operations: ['98-96=2', '33-16=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,65 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[65, 80], Operations: ['98-33=65', '96-16=80']
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
46,
44,
69
] | 41 | [
"46/2=23",
"69/23=3",
"44-3=41"
] | Current State: 41:[2, 46, 44, 69], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [44, 69, 23]
Generated Node #2: [44, 69, 23] from Operation: 46/2=23
Current State: 41:[44, 69, 23], Operations: ['46/2=23']
Exploring Operation: 69/23=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 69/23=3
Current State: 41:[44, 3], Operations: ['46/2=23', '69/23=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 46, 44, 69], Operations: []
Exploring Operation: 46-2=44, Resulting Numbers: [44, 69, 44]
Generated Node #0,0: 41:[44, 69, 44] Operation: 46-2=44
Exploring Operation: 44-2=42, Resulting Numbers: [46, 69, 42]
Generated Node #0,1: 41:[46, 69, 42] Operation: 44-2=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[44, 69, 44], Operations: ['46-2=44']
Exploring Operation: 69-44=25, Resulting Numbers: [44, 25]
Generated Node #0,0,0: 41:[44, 25] Operation: 69-44=25
Exploring Operation: 69-44=25, Resulting Numbers: [44, 25]
Generated Node #0,0,1: 41:[44, 25] Operation: 69-44=25
Moving to Node #0,0,0
Current State: 41:[44, 25], Operations: ['46-2=44', '69-44=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,41 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[44, 25], Operations: ['46-2=44', '69-44=25']
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[46, 69, 42], Operations: ['44-2=42']
Exploring Operation: 69-46=23, Resulting Numbers: [42, 23]
Generated Node #0,1,0: 41:[42, 23] Operation: 69-46=23
Exploring Operation: 69-42=27, Resulting Numbers: [46, 27]
Generated Node #0,1,1: 41:[46, 27] Operation: 69-42=27
Moving to Node #0,1,0
Current State: 41:[42, 23], Operations: ['44-2=42', '69-46=23']
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,41 unequal: No Solution
Exploring Operation: 42+23=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[46, 27], Operations: ['44-2=42', '69-42=27']
Exploring Operation: 46+27=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 46-27=19, Resulting Numbers: [19]
19,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
29,
16,
5
] | 36 | [
"19+16=35",
"35/5=7",
"29+7=36"
] | Current State: 36:[19, 29, 16, 5], Operations: []
Exploring Operation: 19+16=35, Resulting Numbers: [29, 5, 35]
Generated Node #2: [29, 5, 35] from Operation: 19+16=35
Current State: 36:[29, 5, 35], Operations: ['19+16=35']
Exploring Operation: 35/5=7, Resulting Numbers: [29, 7]
Generated Node #3: [29, 7] from Operation: 35/5=7
Current State: 36:[29, 7], Operations: ['19+16=35', '35/5=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[19, 29, 16, 5], Operations: []
Exploring Operation: 29-19=10, Resulting Numbers: [16, 5, 10]
Generated Node #0,0: 36:[16, 5, 10] Operation: 29-19=10
Exploring Operation: 29-16=13, Resulting Numbers: [19, 5, 13]
Generated Node #0,1: 36:[19, 5, 13] Operation: 29-16=13
Moving to Node #0,1
Current State: 36:[19, 5, 13], Operations: ['29-16=13']
Exploring Operation: 19-13=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 36:[5, 6] Operation: 19-13=6
Exploring Operation: 5+13=18, Resulting Numbers: [19, 18]
Generated Node #0,1,1: 36:[19, 18] Operation: 5+13=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[5, 6], Operations: ['29-16=13', '19-13=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,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,1,1
Current State: 36:[19, 18], Operations: ['29-16=13', '5+13=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,36 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: 36:[16, 5, 10], Operations: ['29-19=10']
Exploring Operation: 16-10=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 36:[5, 6] Operation: 16-10=6
Exploring Operation: 16-5=11, Resulting Numbers: [10, 11]
Generated Node #0,0,1: 36:[10, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[5, 6], Operations: ['29-19=10', '16-10=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,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,0,1
Current State: 36:[10, 11], Operations: ['29-19=10', '16-5=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
66,
44,
39
] | 75 | [
"44*39=1716",
"1716-66=1650",
"1650/22=75"
] | Current State: 75:[22, 66, 44, 39], Operations: []
Exploring Operation: 44*39=1716, Resulting Numbers: [22, 66, 1716]
Generated Node #2: [22, 66, 1716] from Operation: 44*39=1716
Current State: 75:[22, 66, 1716], Operations: ['44*39=1716']
Exploring Operation: 1716-66=1650, Resulting Numbers: [22, 1650]
Generated Node #3: [22, 1650] from Operation: 1716-66=1650
Current State: 75:[22, 1650], Operations: ['44*39=1716', '1716-66=1650']
Exploring Operation: 1650/22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[22, 66, 44, 39], Operations: []
Exploring Operation: 44-39=5, Resulting Numbers: [22, 66, 5]
Generated Node #0,0: 75:[22, 66, 5] Operation: 44-39=5
Exploring Operation: 44+39=83, Resulting Numbers: [22, 66, 83]
Generated Node #0,1: 75:[22, 66, 83] Operation: 44+39=83
Exploring Operation: 66-44=22, Resulting Numbers: [22, 39, 22]
Generated Node #0,2: 75:[22, 39, 22] Operation: 66-44=22
Moving to Node #0,0
Current State: 75:[22, 66, 5], Operations: ['44-39=5']
Exploring Operation: 66/22=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 75:[5, 3] Operation: 66/22=3
Exploring Operation: 22+5=27, Resulting Numbers: [66, 27]
Generated Node #0,0,1: 75:[66, 27] Operation: 22+5=27
Exploring Operation: 66+5=71, Resulting Numbers: [22, 71]
Generated Node #0,0,2: 75:[22, 71] Operation: 66+5=71
Moving to Node #0,1
Current State: 75:[22, 66, 83], Operations: ['44+39=83']
Exploring Operation: 83-66=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 75:[22, 17] Operation: 83-66=17
Exploring Operation: 22+66=88, Resulting Numbers: [83, 88]
Generated Node #0,1,1: 75:[83, 88] Operation: 22+66=88
Exploring Operation: 66/22=3, Resulting Numbers: [83, 3]
Generated Node #0,1,2: 75:[83, 3] Operation: 66/22=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[22, 17], Operations: ['44+39=83', '83-66=17']
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,75 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[83, 3], Operations: ['44+39=83', '66/22=3']
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,75 unequal: No Solution
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[83, 88], Operations: ['44+39=83', '22+66=88']
Exploring Operation: 83+88=171, Resulting Numbers: [171]
171,75 unequal: No Solution
Exploring Operation: 88-83=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 83*88=7304, Resulting Numbers: [7304]
7304,75 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: 75:[22, 39, 22], Operations: ['66-44=22']
Exploring Operation: 22/22=1, Resulting Numbers: [39, 1]
Generated Node #0,2,0: 75:[39, 1] Operation: 22/22=1
Exploring Operation: 39-22=17, Resulting Numbers: [22, 17]
Generated Node #0,2,1: 75:[22, 17] Operation: 39-22=17
Exploring Operation: 39-22=17, Resulting Numbers: [22, 17]
Generated Node #0,2,2: 75:[22, 17] Operation: 39-22=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[22, 17], Operations: ['66-44=22', '39-22=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[22, 17], Operations: ['66-44=22', '39-22=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,75 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[39, 1], Operations: ['66-44=22', '22/22=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,75 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: 75:[5, 3], Operations: ['44-39=5', '66/22=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[22, 71], Operations: ['44-39=5', '66+5=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,75 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[66, 27], Operations: ['44-39=5', '22+5=27']
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,75 unequal: No Solution
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,75 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,75 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
95,
96,
96
] | 24 | [
"96-96=0",
"95*0=0",
"24+0=24"
] | Current State: 24:[24, 95, 96, 96], Operations: []
Exploring Operation: 96-96=0, Resulting Numbers: [24, 95, 0]
Generated Node #2: [24, 95, 0] from Operation: 96-96=0
Current State: 24:[24, 95, 0], Operations: ['96-96=0']
Exploring Operation: 95*0=0, Resulting Numbers: [24, 0]
Generated Node #3: [24, 0] from Operation: 95*0=0
Current State: 24:[24, 0], Operations: ['96-96=0', '95*0=0']
Exploring Operation: 24+0=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[24, 95, 96, 96], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [24, 96, 1]
Generated Node #0,0: 24:[24, 96, 1] Operation: 96-95=1
Exploring Operation: 96/96=1, Resulting Numbers: [24, 95, 1]
Generated Node #0,1: 24:[24, 95, 1] Operation: 96/96=1
Exploring Operation: 96-96=0, Resulting Numbers: [24, 95, 0]
Generated Node #0,2: 24:[24, 95, 0] Operation: 96-96=0
Exploring Operation: 96-95=1, Resulting Numbers: [24, 96, 1]
Generated Node #0,3: 24:[24, 96, 1] Operation: 96-95=1
Moving to Node #0,1
Current State: 24:[24, 95, 1], Operations: ['96/96=1']
Exploring Operation: 95-1=94, Resulting Numbers: [24, 94]
Generated Node #0,1,0: 24:[24, 94] Operation: 95-1=94
Exploring Operation: 95-24=71, Resulting Numbers: [1, 71]
Generated Node #0,1,1: 24:[1, 71] Operation: 95-24=71
Exploring Operation: 24/1=24, Resulting Numbers: [95, 24]
Generated Node #0,1,2: 24:[95, 24] Operation: 24/1=24
Exploring Operation: 24*1=24, Resulting Numbers: [95, 24]
Generated Node #0,1,3: 24:[95, 24] Operation: 24*1=24
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[1, 71], Operations: ['96/96=1', '95-24=71']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 1*71=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[24, 94], Operations: ['96/96=1', '95-1=94']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,24 unequal: No Solution
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[95, 24], Operations: ['96/96=1', '24/1=24']
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,24 unequal: No Solution
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[95, 24], Operations: ['96/96=1', '24*1=24']
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,24 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: 24:[24, 95, 0], Operations: ['96-96=0']
Exploring Operation: 24+0=24, Resulting Numbers: [95, 24]
Generated Node #0,2,0: 24:[95, 24] Operation: 24+0=24
Exploring Operation: 24-0=24, Resulting Numbers: [95, 24]
Generated Node #0,2,1: 24:[95, 24] Operation: 24-0=24
Exploring Operation: 95*0=0, Resulting Numbers: [24, 0]
Generated Node #0,2,2: 24:[24, 0] Operation: 95*0=0
Exploring Operation: 95-24=71, Resulting Numbers: [0, 71]
Generated Node #0,2,3: 24:[0, 71] Operation: 95-24=71
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[24, 0], Operations: ['96-96=0', '95*0=0']
Exploring Operation: 24*0=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[24, 95, 96, 96], Operations: []
Exploring Operation: 96-96=0, Resulting Numbers: [24, 95, 0]
Generated Node #0,2: 24:[24, 95, 0] Operation: 96-96=0
Moving to Node #0,2
Current State: 24:[24, 95, 0], Operations: ['96-96=0']
Exploring Operation: 95*0=0, Resulting Numbers: [24, 0]
Generated Node #0,2,2: 24:[24, 0] Operation: 95*0=0
Moving to Node #0,2,2
Current State: 24:[24, 0], Operations: ['96-96=0', '95*0=0']
Exploring Operation: 24-0=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
30,
90,
24,
7
] | 12 | [
"30+90=120",
"120/24=5",
"7+5=12"
] | Current State: 12:[30, 90, 24, 7], Operations: []
Exploring Operation: 30+90=120, Resulting Numbers: [24, 7, 120]
Generated Node #2: [24, 7, 120] from Operation: 30+90=120
Current State: 12:[24, 7, 120], Operations: ['30+90=120']
Exploring Operation: 120/24=5, Resulting Numbers: [7, 5]
Generated Node #3: [7, 5] from Operation: 120/24=5
Current State: 12:[7, 5], Operations: ['30+90=120', '120/24=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[30, 90, 24, 7], Operations: []
Exploring Operation: 90-24=66, Resulting Numbers: [30, 7, 66]
Generated Node #0,0: 12:[30, 7, 66] Operation: 90-24=66
Exploring Operation: 90/30=3, Resulting Numbers: [24, 7, 3]
Generated Node #0,1: 12:[24, 7, 3] Operation: 90/30=3
Exploring Operation: 30-24=6, Resulting Numbers: [90, 7, 6]
Generated Node #0,2: 12:[90, 7, 6] Operation: 30-24=6
Exploring Operation: 90-30=60, Resulting Numbers: [24, 7, 60]
Generated Node #0,3: 12:[24, 7, 60] Operation: 90-30=60
Exploring Operation: 30-7=23, Resulting Numbers: [90, 24, 23]
Generated Node #0,4: 12:[90, 24, 23] Operation: 30-7=23
Moving to Node #0,1
Current State: 12:[24, 7, 3], Operations: ['90/30=3']
Exploring Operation: 24-3=21, Resulting Numbers: [7, 21]
Generated Node #0,1,0: 12:[7, 21] Operation: 24-3=21
Exploring Operation: 7+3=10, Resulting Numbers: [24, 10]
Generated Node #0,1,1: 12:[24, 10] Operation: 7+3=10
Exploring Operation: 24/3=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 12:[7, 8] Operation: 24/3=8
Exploring Operation: 7-3=4, Resulting Numbers: [24, 4]
Generated Node #0,1,3: 12:[24, 4] Operation: 7-3=4
Exploring Operation: 24-7=17, Resulting Numbers: [3, 17]
Generated Node #0,1,4: 12:[3, 17] Operation: 24-7=17
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[7, 8], Operations: ['90/30=3', '24/3=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,12 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[3, 17], Operations: ['90/30=3', '24-7=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[7, 21], Operations: ['90/30=3', '24-3=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,12 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[24, 4], Operations: ['90/30=3', '7-3=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[24, 10], Operations: ['90/30=3', '7+3=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 12:[24, 7, 60], Operations: ['90-30=60']
Exploring Operation: 60-7=53, Resulting Numbers: [24, 53]
Generated Node #0,3,0: 12:[24, 53] Operation: 60-7=53
Exploring Operation: 24+7=31, Resulting Numbers: [60, 31]
Generated Node #0,3,1: 12:[60, 31] Operation: 24+7=31
Exploring Operation: 24-7=17, Resulting Numbers: [60, 17]
Generated Node #0,3,2: 12:[60, 17] Operation: 24-7=17
Exploring Operation: 7+60=67, Resulting Numbers: [24, 67]
Generated Node #0,3,3: 12:[24, 67] Operation: 7+60=67
Exploring Operation: 60-24=36, Resulting Numbers: [7, 36]
Generated Node #0,3,4: 12:[7, 36] Operation: 60-24=36
Moving to Node #0,0
Current State: 12:[30, 7, 66], Operations: ['90-24=66']
Exploring Operation: 66-7=59, Resulting Numbers: [30, 59]
Generated Node #0,0,0: 12:[30, 59] Operation: 66-7=59
Exploring Operation: 30+7=37, Resulting Numbers: [66, 37]
Generated Node #0,0,1: 12:[66, 37] Operation: 30+7=37
Exploring Operation: 30-7=23, Resulting Numbers: [66, 23]
Generated Node #0,0,2: 12:[66, 23] Operation: 30-7=23
Exploring Operation: 7+66=73, Resulting Numbers: [30, 73]
Generated Node #0,0,3: 12:[30, 73] Operation: 7+66=73
Exploring Operation: 66-30=36, Resulting Numbers: [7, 36]
Generated Node #0,0,4: 12:[7, 36] Operation: 66-30=36
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[7, 36], Operations: ['90-24=66', '66-30=36']
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[30, 59], Operations: ['90-24=66', '66-7=59']
Exploring Operation: 30*59=1770, Resulting Numbers: [1770]
1770,12 unequal: No Solution
Exploring Operation: 30+59=89, Resulting Numbers: [89]
89,12 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[66, 23], Operations: ['90-24=66', '30-7=23']
Exploring Operation: 66*23=1518, Resulting Numbers: [1518]
1518,12 unequal: No Solution
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,12 unequal: No Solution
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[66, 37], Operations: ['90-24=66', '30+7=37']
Exploring Operation: 66+37=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Exploring Operation: 66*37=2442, Resulting Numbers: [2442]
2442,12 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[30, 73], Operations: ['90-24=66', '7+66=73']
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,12 unequal: No Solution
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,12 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,12 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: 12:[90, 7, 6], Operations: ['30-24=6']
Exploring Operation: 7+6=13, Resulting Numbers: [90, 13]
Generated Node #0,2,0: 12:[90, 13] Operation: 7+6=13
Exploring Operation: 90-7=83, Resulting Numbers: [6, 83]
Generated Node #0,2,1: 12:[6, 83] Operation: 90-7=83
Exploring Operation: 90-6=84, Resulting Numbers: [7, 84]
Generated Node #0,2,2: 12:[7, 84] Operation: 90-6=84
Exploring Operation: 90/6=15, Resulting Numbers: [7, 15]
Generated Node #0,2,3: 12:[7, 15] Operation: 90/6=15
Exploring Operation: 7-6=1, Resulting Numbers: [90, 1]
Generated Node #0,2,4: 12:[90, 1] Operation: 7-6=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[7, 15], Operations: ['30-24=6', '90/6=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,12 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[6, 83], Operations: ['30-24=6', '90-7=83']
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,12 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[7, 84], Operations: ['30-24=6', '90-6=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 7*84=588, Resulting Numbers: [588]
588,12 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[30, 90, 24, 7], Operations: []
Exploring Operation: 30-24=6, Resulting Numbers: [90, 7, 6]
Generated Node #0,2: 12:[90, 7, 6] Operation: 30-24=6
Moving to Node #0,2
Current State: 12:[90, 7, 6], Operations: ['30-24=6']
Exploring Operation: 90-6=84, Resulting Numbers: [7, 84]
Generated Node #0,2,2: 12:[7, 84] Operation: 90-6=84
Moving to Node #0,2,2
Current State: 12:[7, 84], Operations: ['30-24=6', '90-6=84']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.939236 | hs_5 | sum_heuristic |
[
5,
73,
75,
74
] | 80 | [
"5+75=80",
"74-73=1",
"80*1=80"
] | Current State: 80:[5, 73, 75, 74], Operations: []
Exploring Operation: 5+75=80, Resulting Numbers: [73, 74, 80]
Generated Node #2: [73, 74, 80] from Operation: 5+75=80
Current State: 80:[73, 74, 80], Operations: ['5+75=80']
Exploring Operation: 74-73=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 74-73=1
Current State: 80:[80, 1], Operations: ['5+75=80', '74-73=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[5, 73, 75, 74], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [5, 74, 2]
Generated Node #0,0: 80:[5, 74, 2] Operation: 75-73=2
Exploring Operation: 75-74=1, Resulting Numbers: [5, 73, 1]
Generated Node #0,1: 80:[5, 73, 1] Operation: 75-74=1
Exploring Operation: 74-73=1, Resulting Numbers: [5, 75, 1]
Generated Node #0,2: 80:[5, 75, 1] Operation: 74-73=1
Moving to Node #0,0
Current State: 80:[5, 74, 2], Operations: ['75-73=2']
Exploring Operation: 74+2=76, Resulting Numbers: [5, 76]
Generated Node #0,0,0: 80:[5, 76] Operation: 74+2=76
Exploring Operation: 74/2=37, Resulting Numbers: [5, 37]
Generated Node #0,0,1: 80:[5, 37] Operation: 74/2=37
Exploring Operation: 5+74=79, Resulting Numbers: [2, 79]
Generated Node #0,0,2: 80:[2, 79] Operation: 5+74=79
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[2, 79], Operations: ['75-73=2', '5+74=79']
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,80 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[5, 37], Operations: ['75-73=2', '74/2=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,80 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,80 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[5, 76], Operations: ['75-73=2', '74+2=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,80 unequal: No Solution
Exploring Operation: 5*76=380, Resulting Numbers: [380]
380,80 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,80 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: 80:[5, 75, 1], Operations: ['74-73=1']
Exploring Operation: 75/5=15, Resulting Numbers: [1, 15]
Generated Node #0,2,0: 80:[1, 15] Operation: 75/5=15
Exploring Operation: 5+75=80, Resulting Numbers: [1, 80]
Generated Node #0,2,1: 80:[1, 80] Operation: 5+75=80
Exploring Operation: 75+1=76, Resulting Numbers: [5, 76]
Generated Node #0,2,2: 80:[5, 76] Operation: 75+1=76
Moving to Node #0,1
Current State: 80:[5, 73, 1], Operations: ['75-74=1']
Exploring Operation: 5*1=5, Resulting Numbers: [73, 5]
Generated Node #0,1,0: 80:[73, 5] Operation: 5*1=5
Exploring Operation: 73+1=74, Resulting Numbers: [5, 74]
Generated Node #0,1,1: 80:[5, 74] Operation: 73+1=74
Exploring Operation: 5+73=78, Resulting Numbers: [1, 78]
Generated Node #0,1,2: 80:[1, 78] Operation: 5+73=78
Moving to Node #0,2,1
Current State: 80:[1, 80], Operations: ['74-73=1', '5+75=80']
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[5, 73, 75, 74], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [5, 75, 1]
Generated Node #0,2: 80:[5, 75, 1] Operation: 74-73=1
Moving to Node #0,2
Current State: 80:[5, 75, 1], Operations: ['74-73=1']
Exploring Operation: 5+75=80, Resulting Numbers: [1, 80]
Generated Node #0,2,1: 80:[1, 80] Operation: 5+75=80
Moving to Node #0,2,1
Current State: 80:[1, 80], Operations: ['74-73=1', '5+75=80']
Exploring Operation: 1*80=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
97,
79,
61,
67
] | 48 | [
"97+79=176",
"61+67=128",
"176-128=48"
] | Current State: 48:[97, 79, 61, 67], Operations: []
Exploring Operation: 97+79=176, Resulting Numbers: [61, 67, 176]
Generated Node #2: [61, 67, 176] from Operation: 97+79=176
Current State: 48:[61, 67, 176], Operations: ['97+79=176']
Exploring Operation: 61+67=128, Resulting Numbers: [176, 128]
Generated Node #3: [176, 128] from Operation: 61+67=128
Current State: 48:[176, 128], Operations: ['97+79=176', '61+67=128']
Exploring Operation: 176-128=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[97, 79, 61, 67], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [79, 67, 36]
Generated Node #0,0: 48:[79, 67, 36] Operation: 97-61=36
Exploring Operation: 79-67=12, Resulting Numbers: [97, 61, 12]
Generated Node #0,1: 48:[97, 61, 12] Operation: 79-67=12
Exploring Operation: 97-79=18, Resulting Numbers: [61, 67, 18]
Generated Node #0,2: 48:[61, 67, 18] Operation: 97-79=18
Exploring Operation: 97-67=30, Resulting Numbers: [79, 61, 30]
Generated Node #0,3: 48:[79, 61, 30] Operation: 97-67=30
Exploring Operation: 79-61=18, Resulting Numbers: [97, 67, 18]
Generated Node #0,4: 48:[97, 67, 18] Operation: 79-61=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[61, 67, 18], Operations: ['97-79=18']
Exploring Operation: 61+18=79, Resulting Numbers: [67, 79]
Generated Node #0,2,0: 48:[67, 79] Operation: 61+18=79
Exploring Operation: 67+18=85, Resulting Numbers: [61, 85]
Generated Node #0,2,1: 48:[61, 85] Operation: 67+18=85
Exploring Operation: 67-18=49, Resulting Numbers: [61, 49]
Generated Node #0,2,2: 48:[61, 49] Operation: 67-18=49
Exploring Operation: 61-18=43, Resulting Numbers: [67, 43]
Generated Node #0,2,3: 48:[67, 43] Operation: 61-18=43
Exploring Operation: 67-61=6, Resulting Numbers: [18, 6]
Generated Node #0,2,4: 48:[18, 6] Operation: 67-61=6
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 48:[18, 6], Operations: ['97-79=18', '67-61=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,48 unequal: No Solution
No 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: 48:[61, 49], Operations: ['97-79=18', '67-18=49']
Exploring Operation: 61+49=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 61*49=2989, Resulting Numbers: [2989]
2989,48 unequal: No Solution
No 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: 48:[67, 43], Operations: ['97-79=18', '61-18=43']
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,48 unequal: No Solution
No 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: 48:[67, 79], Operations: ['97-79=18', '61+18=79']
Exploring Operation: 67*79=5293, Resulting Numbers: [5293]
5293,48 unequal: No Solution
Exploring Operation: 67+79=146, Resulting Numbers: [146]
146,48 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No 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: 48:[61, 85], Operations: ['97-79=18', '67+18=85']
Exploring Operation: 61*85=5185, Resulting Numbers: [5185]
5185,48 unequal: No Solution
Exploring Operation: 61+85=146, Resulting Numbers: [146]
146,48 unequal: No Solution
Exploring Operation: 85-61=24, Resulting Numbers: [24]
24,48 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: 48:[79, 61, 30], Operations: ['97-67=30']
Exploring Operation: 61-30=31, Resulting Numbers: [79, 31]
Generated Node #0,3,0: 48:[79, 31] Operation: 61-30=31
Exploring Operation: 79+30=109, Resulting Numbers: [61, 109]
Generated Node #0,3,1: 48:[61, 109] Operation: 79+30=109
Exploring Operation: 61+30=91, Resulting Numbers: [79, 91]
Generated Node #0,3,2: 48:[79, 91] Operation: 61+30=91
Exploring Operation: 79-30=49, Resulting Numbers: [61, 49]
Generated Node #0,3,3: 48:[61, 49] Operation: 79-30=49
Exploring Operation: 79-61=18, Resulting Numbers: [30, 18]
Generated Node #0,3,4: 48:[30, 18] Operation: 79-61=18
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 48:[30, 18], Operations: ['97-67=30', '79-61=18']
Exploring Operation: 30*18=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[97, 79, 61, 67], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [79, 61, 30]
Generated Node #0,3: 48:[79, 61, 30] Operation: 97-67=30
Moving to Node #0,3
Current State: 48:[79, 61, 30], Operations: ['97-67=30']
Exploring Operation: 79-61=18, Resulting Numbers: [30, 18]
Generated Node #0,3,4: 48:[30, 18] Operation: 79-61=18
Moving to Node #0,3,4
Current State: 48:[30, 18], Operations: ['97-67=30', '79-61=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
22,
85,
90,
58
] | 75 | [
"22+85=107",
"90-58=32",
"107-32=75"
] | Current State: 75:[22, 85, 90, 58], Operations: []
Exploring Operation: 22+85=107, Resulting Numbers: [90, 58, 107]
Generated Node #2: [90, 58, 107] from Operation: 22+85=107
Current State: 75:[90, 58, 107], Operations: ['22+85=107']
Exploring Operation: 90-58=32, Resulting Numbers: [107, 32]
Generated Node #3: [107, 32] from Operation: 90-58=32
Current State: 75:[107, 32], Operations: ['22+85=107', '90-58=32']
Exploring Operation: 107-32=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[22, 85, 90, 58], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [22, 85, 32]
Generated Node #0,0: 75:[22, 85, 32] Operation: 90-58=32
Exploring Operation: 90-85=5, Resulting Numbers: [22, 58, 5]
Generated Node #0,1: 75:[22, 58, 5] Operation: 90-85=5
Exploring Operation: 85-58=27, Resulting Numbers: [22, 90, 27]
Generated Node #0,2: 75:[22, 90, 27] Operation: 85-58=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[22, 85, 32], Operations: ['90-58=32']
Exploring Operation: 85-22=63, Resulting Numbers: [32, 63]
Generated Node #0,0,0: 75:[32, 63] Operation: 85-22=63
Exploring Operation: 32-22=10, Resulting Numbers: [85, 10]
Generated Node #0,0,1: 75:[85, 10] Operation: 32-22=10
Exploring Operation: 85-32=53, Resulting Numbers: [22, 53]
Generated Node #0,0,2: 75:[22, 53] Operation: 85-32=53
Moving to Node #0,0,1
Current State: 75:[85, 10], Operations: ['90-58=32', '32-22=10']
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,75 unequal: No Solution
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[22, 85, 90, 58], Operations: []
Exploring Operation: 90-58=32, Resulting Numbers: [22, 85, 32]
Generated Node #0,0: 75:[22, 85, 32] Operation: 90-58=32
Moving to Node #0,0
Current State: 75:[22, 85, 32], Operations: ['90-58=32']
Exploring Operation: 32-22=10, Resulting Numbers: [85, 10]
Generated Node #0,0,1: 75:[85, 10] Operation: 32-22=10
Moving to Node #0,0,1
Current State: 75:[85, 10], Operations: ['90-58=32', '32-22=10']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
4,
8,
25,
57
] | 20 | [
"4+8=12",
"57-25=32",
"32-12=20"
] | Current State: 20:[4, 8, 25, 57], Operations: []
Exploring Operation: 4+8=12, Resulting Numbers: [25, 57, 12]
Generated Node #2: [25, 57, 12] from Operation: 4+8=12
Current State: 20:[25, 57, 12], Operations: ['4+8=12']
Exploring Operation: 57-25=32, Resulting Numbers: [12, 32]
Generated Node #3: [12, 32] from Operation: 57-25=32
Current State: 20:[12, 32], Operations: ['4+8=12', '57-25=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[4, 8, 25, 57], Operations: []
Exploring Operation: 57-8=49, Resulting Numbers: [4, 25, 49]
Generated Node #0,0: 20:[4, 25, 49] Operation: 57-8=49
Exploring Operation: 25-4=21, Resulting Numbers: [8, 57, 21]
Generated Node #0,1: 20:[8, 57, 21] Operation: 25-4=21
Exploring Operation: 57-25=32, Resulting Numbers: [4, 8, 32]
Generated Node #0,2: 20:[4, 8, 32] Operation: 57-25=32
Exploring Operation: 57-4=53, Resulting Numbers: [8, 25, 53]
Generated Node #0,3: 20:[8, 25, 53] Operation: 57-4=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[4, 8, 32], Operations: ['57-25=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8, 8]
Generated Node #0,2,0: 20:[8, 8] Operation: 32/4=8
Exploring Operation: 32/8=4, Resulting Numbers: [4, 4]
Generated Node #0,2,1: 20:[4, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [4, 24]
Generated Node #0,2,2: 20:[4, 24] Operation: 32-8=24
Exploring Operation: 32-4=28, Resulting Numbers: [8, 28]
Generated Node #0,2,3: 20:[8, 28] Operation: 32-4=28
Moving to Node #0,2,1
Current State: 20:[4, 4], Operations: ['57-25=32', '32/8=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[4, 24], Operations: ['57-25=32', '32-8=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[4, 8, 25, 57], Operations: []
Exploring Operation: 57-25=32, Resulting Numbers: [4, 8, 32]
Generated Node #0,2: 20:[4, 8, 32] Operation: 57-25=32
Moving to Node #0,2
Current State: 20:[4, 8, 32], Operations: ['57-25=32']
Exploring Operation: 32-8=24, Resulting Numbers: [4, 24]
Generated Node #0,2,2: 20:[4, 24] Operation: 32-8=24
Moving to Node #0,2,2
Current State: 20:[4, 24], Operations: ['57-25=32', '32-8=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
17,
67,
1,
51
] | 55 | [
"67+1=68",
"68/17=4",
"51+4=55"
] | Current State: 55:[17, 67, 1, 51], Operations: []
Exploring Operation: 67+1=68, Resulting Numbers: [17, 51, 68]
Generated Node #2: [17, 51, 68] from Operation: 67+1=68
Current State: 55:[17, 51, 68], Operations: ['67+1=68']
Exploring Operation: 68/17=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 68/17=4
Current State: 55:[51, 4], Operations: ['67+1=68', '68/17=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[17, 67, 1, 51], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [67, 1, 3]
Generated Node #0,0: 55:[67, 1, 3] Operation: 51/17=3
Exploring Operation: 17-1=16, Resulting Numbers: [67, 51, 16]
Generated Node #0,1: 55:[67, 51, 16] Operation: 17-1=16
Exploring Operation: 67-51=16, Resulting Numbers: [17, 1, 16]
Generated Node #0,2: 55:[17, 1, 16] Operation: 67-51=16
Exploring Operation: 67-17=50, Resulting Numbers: [1, 51, 50]
Generated Node #0,3: 55:[1, 51, 50] Operation: 67-17=50
Moving to Node #0,3
Current State: 55:[1, 51, 50], Operations: ['67-17=50']
Exploring Operation: 1*51=51, Resulting Numbers: [50, 51]
Generated Node #0,3,0: 55:[50, 51] Operation: 1*51=51
Exploring Operation: 1+51=52, Resulting Numbers: [50, 52]
Generated Node #0,3,1: 55:[50, 52] Operation: 1+51=52
Exploring Operation: 51-50=1, Resulting Numbers: [1, 1]
Generated Node #0,3,2: 55:[1, 1] Operation: 51-50=1
Exploring Operation: 1+50=51, Resulting Numbers: [51, 51]
Generated Node #0,3,3: 55:[51, 51] Operation: 1+50=51
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[50, 52], Operations: ['67-17=50', '1+51=52']
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 50+52=102, Resulting Numbers: [102]
102,55 unequal: No Solution
Exploring Operation: 50*52=2600, Resulting Numbers: [2600]
2600,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[1, 1], Operations: ['67-17=50', '51-50=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[51, 51], Operations: ['67-17=50', '1+50=51']
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,55 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[50, 51], Operations: ['67-17=50', '1*51=51']
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,55 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,55 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,55 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: 55:[17, 1, 16], Operations: ['67-51=16']
Exploring Operation: 17*1=17, Resulting Numbers: [16, 17]
Generated Node #0,2,0: 55:[16, 17] Operation: 17*1=17
Exploring Operation: 17-1=16, Resulting Numbers: [16, 16]
Generated Node #0,2,1: 55:[16, 16] Operation: 17-1=16
Exploring Operation: 16-1=15, Resulting Numbers: [17, 15]
Generated Node #0,2,2: 55:[17, 15] Operation: 16-1=15
Exploring Operation: 17-16=1, Resulting Numbers: [1, 1]
Generated Node #0,2,3: 55:[1, 1] Operation: 17-16=1
Moving to Node #0,0
Current State: 55:[67, 1, 3], Operations: ['51/17=3']
Exploring Operation: 67-3=64, Resulting Numbers: [1, 64]
Generated Node #0,0,0: 55:[1, 64] Operation: 67-3=64
Exploring Operation: 1+3=4, Resulting Numbers: [67, 4]
Generated Node #0,0,1: 55:[67, 4] Operation: 1+3=4
Exploring Operation: 67*1=67, Resulting Numbers: [3, 67]
Generated Node #0,0,2: 55:[3, 67] Operation: 67*1=67
Exploring Operation: 67-1=66, Resulting Numbers: [3, 66]
Generated Node #0,0,3: 55:[3, 66] Operation: 67-1=66
Moving to Node #0,1
Current State: 55:[67, 51, 16], Operations: ['17-1=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67, 67]
Generated Node #0,1,0: 55:[67, 67] Operation: 51+16=67
Exploring Operation: 67+16=83, Resulting Numbers: [51, 83]
Generated Node #0,1,1: 55:[51, 83] Operation: 67+16=83
Exploring Operation: 67-16=51, Resulting Numbers: [51, 51]
Generated Node #0,1,2: 55:[51, 51] Operation: 67-16=51
Exploring Operation: 67-51=16, Resulting Numbers: [16, 16]
Generated Node #0,1,3: 55:[16, 16] Operation: 67-51=16
Moving to Node #0,2,3
Current State: 55:[1, 1], Operations: ['67-51=16', '17-16=1']
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[51, 51], Operations: ['17-1=16', '67-16=51']
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,55 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[17, 15], Operations: ['67-51=16', '16-1=15']
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[16, 16], Operations: ['17-1=16', '67-51=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,55 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[16, 16], Operations: ['67-51=16', '17-1=16']
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[16, 17], Operations: ['67-51=16', '17*1=17']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[3, 66], Operations: ['51/17=3', '67-1=66']
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,55 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[67, 4], Operations: ['51/17=3', '1+3=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[1, 64], Operations: ['51/17=3', '67-3=64']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[3, 67], Operations: ['51/17=3', '67*1=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[67, 67], Operations: ['17-1=16', '51+16=67']
Exploring Operation: 67+67=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 67-67=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 67*67=4489, Resulting Numbers: [4489]
4489,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[51, 83], Operations: ['17-1=16', '67+16=83']
Exploring Operation: 51+83=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 51*83=4233, Resulting Numbers: [4233]
4233,55 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
21,
33,
2,
44
] | 100 | [
"21+33=54",
"2+44=46",
"54+46=100"
] | Current State: 100:[21, 33, 2, 44], Operations: []
Exploring Operation: 21+33=54, Resulting Numbers: [2, 44, 54]
Generated Node #2: [2, 44, 54] from Operation: 21+33=54
Current State: 100:[2, 44, 54], Operations: ['21+33=54']
Exploring Operation: 2+44=46, Resulting Numbers: [54, 46]
Generated Node #3: [54, 46] from Operation: 2+44=46
Current State: 100:[54, 46], Operations: ['21+33=54', '2+44=46']
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[21, 33, 2, 44], Operations: []
Exploring Operation: 21+33=54, Resulting Numbers: [2, 44, 54]
Generated Node #0,0: 100:[2, 44, 54] Operation: 21+33=54
Exploring Operation: 44-33=11, Resulting Numbers: [21, 2, 11]
Generated Node #0,1: 100:[21, 2, 11] Operation: 44-33=11
Exploring Operation: 33-21=12, Resulting Numbers: [2, 44, 12]
Generated Node #0,2: 100:[2, 44, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[21, 2, 11], Operations: ['44-33=11']
Exploring Operation: 11-2=9, Resulting Numbers: [21, 9]
Generated Node #0,1,0: 100:[21, 9] Operation: 11-2=9
Exploring Operation: 21-11=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 100:[2, 10] Operation: 21-11=10
Exploring Operation: 21-2=19, Resulting Numbers: [11, 19]
Generated Node #0,1,2: 100:[11, 19] Operation: 21-2=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[2, 10], Operations: ['44-33=11', '21-11=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[21, 9], Operations: ['44-33=11', '11-2=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,100 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,100 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[11, 19], Operations: ['44-33=11', '21-2=19']
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 11*19=209, Resulting Numbers: [209]
209,100 unequal: No Solution
Exploring Operation: 11+19=30, Resulting Numbers: [30]
30,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[2, 44, 12], Operations: ['33-21=12']
Exploring Operation: 44/2=22, Resulting Numbers: [12, 22]
Generated Node #0,2,0: 100:[12, 22] Operation: 44/2=22
Exploring Operation: 2+44=46, Resulting Numbers: [12, 46]
Generated Node #0,2,1: 100:[12, 46] Operation: 2+44=46
Exploring Operation: 12-2=10, Resulting Numbers: [44, 10]
Generated Node #0,2,2: 100:[44, 10] Operation: 12-2=10
Moving to Node #0,2,0
Current State: 100:[12, 22], Operations: ['33-21=12', '44/2=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[12, 46], Operations: ['33-21=12', '2+44=46']
Exploring Operation: 12*46=552, Resulting Numbers: [552]
552,100 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 12+46=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[44, 10], Operations: ['33-21=12', '12-2=10']
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,100 unequal: No Solution
No 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: 100:[2, 44, 54], Operations: ['21+33=54']
Exploring Operation: 44/2=22, Resulting Numbers: [54, 22]
Generated Node #0,0,0: 100:[54, 22] Operation: 44/2=22
Exploring Operation: 44+54=98, Resulting Numbers: [2, 98]
Generated Node #0,0,1: 100:[2, 98] Operation: 44+54=98
Exploring Operation: 54-44=10, Resulting Numbers: [2, 10]
Generated Node #0,0,2: 100:[2, 10] Operation: 54-44=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[2, 10], Operations: ['21+33=54', '54-44=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[2, 98], Operations: ['21+33=54', '44+54=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[21, 33, 2, 44], Operations: []
Exploring Operation: 21+33=54, Resulting Numbers: [2, 44, 54]
Generated Node #0,0: 100:[2, 44, 54] Operation: 21+33=54
Moving to Node #0,0
Current State: 100:[2, 44, 54], Operations: ['21+33=54']
Exploring Operation: 44+54=98, Resulting Numbers: [2, 98]
Generated Node #0,0,1: 100:[2, 98] Operation: 44+54=98
Moving to Node #0,0,1
Current State: 100:[2, 98], Operations: ['21+33=54', '44+54=98']
Exploring Operation: 2+98=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_3 | mult_heuristic |
[
21,
77,
69,
58
] | 87 | [
"21+77=98",
"69-58=11",
"98-11=87"
] | Current State: 87:[21, 77, 69, 58], Operations: []
Exploring Operation: 21+77=98, Resulting Numbers: [69, 58, 98]
Generated Node #2: [69, 58, 98] from Operation: 21+77=98
Current State: 87:[69, 58, 98], Operations: ['21+77=98']
Exploring Operation: 69-58=11, Resulting Numbers: [98, 11]
Generated Node #3: [98, 11] from Operation: 69-58=11
Current State: 87:[98, 11], Operations: ['21+77=98', '69-58=11']
Exploring Operation: 98-11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[21, 77, 69, 58], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [21, 77, 11]
Generated Node #0,0: 87:[21, 77, 11] Operation: 69-58=11
Exploring Operation: 21+58=79, Resulting Numbers: [77, 69, 79]
Generated Node #0,1: 87:[77, 69, 79] Operation: 21+58=79
Moving to Node #0,0
Current State: 87:[21, 77, 11], Operations: ['69-58=11']
Exploring Operation: 77+11=88, Resulting Numbers: [21, 88]
Generated Node #0,0,0: 87:[21, 88] Operation: 77+11=88
Exploring Operation: 77/11=7, Resulting Numbers: [21, 7]
Generated Node #0,0,1: 87:[21, 7] Operation: 77/11=7
Moving to Node #0,1
Current State: 87:[77, 69, 79], Operations: ['21+58=79']
Exploring Operation: 77-69=8, Resulting Numbers: [79, 8]
Generated Node #0,1,0: 87:[79, 8] Operation: 77-69=8
Exploring Operation: 79-69=10, Resulting Numbers: [77, 10]
Generated Node #0,1,1: 87:[77, 10] Operation: 79-69=10
Moving to Node #0,0,0
Current State: 87:[21, 88], Operations: ['69-58=11', '77+11=88']
Exploring Operation: 21+88=109, Resulting Numbers: [109]
109,87 unequal: No Solution
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[21, 7], Operations: ['69-58=11', '77/11=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[79, 8], Operations: ['21+58=79', '77-69=8']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,87 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[21, 77, 69, 58], Operations: []
Exploring Operation: 21+58=79, Resulting Numbers: [77, 69, 79]
Generated Node #0,1: 87:[77, 69, 79] Operation: 21+58=79
Moving to Node #0,1
Current State: 87:[77, 69, 79], Operations: ['21+58=79']
Exploring Operation: 77-69=8, Resulting Numbers: [79, 8]
Generated Node #0,1,0: 87:[79, 8] Operation: 77-69=8
Moving to Node #0,1,0
Current State: 87:[79, 8], Operations: ['21+58=79', '77-69=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
50,
68,
64,
27
] | 92 | [
"50-27=23",
"68-64=4",
"23*4=92"
] | Current State: 92:[50, 68, 64, 27], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [68, 64, 23]
Generated Node #2: [68, 64, 23] from Operation: 50-27=23
Current State: 92:[68, 64, 23], Operations: ['50-27=23']
Exploring Operation: 68-64=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 68-64=4
Current State: 92:[23, 4], Operations: ['50-27=23', '68-64=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[50, 68, 64, 27], Operations: []
Exploring Operation: 64+27=91, Resulting Numbers: [50, 68, 91]
Generated Node #0,0: 92:[50, 68, 91] Operation: 64+27=91
Exploring Operation: 68-64=4, Resulting Numbers: [50, 27, 4]
Generated Node #0,1: 92:[50, 27, 4] Operation: 68-64=4
Exploring Operation: 68-27=41, Resulting Numbers: [50, 64, 41]
Generated Node #0,2: 92:[50, 64, 41] Operation: 68-27=41
Exploring Operation: 68-50=18, Resulting Numbers: [64, 27, 18]
Generated Node #0,3: 92:[64, 27, 18] Operation: 68-50=18
Exploring Operation: 68+27=95, Resulting Numbers: [50, 64, 95]
Generated Node #0,4: 92:[50, 64, 95] Operation: 68+27=95
Moving to Node #0,1
Current State: 92:[50, 27, 4], Operations: ['68-64=4']
Exploring Operation: 27+4=31, Resulting Numbers: [50, 31]
Generated Node #0,1,0: 92:[50, 31] Operation: 27+4=31
Exploring Operation: 50-27=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 92:[4, 23] Operation: 50-27=23
Exploring Operation: 50-4=46, Resulting Numbers: [27, 46]
Generated Node #0,1,2: 92:[27, 46] Operation: 50-4=46
Exploring Operation: 27-4=23, Resulting Numbers: [50, 23]
Generated Node #0,1,3: 92:[50, 23] Operation: 27-4=23
Exploring Operation: 50+4=54, Resulting Numbers: [27, 54]
Generated Node #0,1,4: 92:[27, 54] Operation: 50+4=54
Moving to Node #0,4
Current State: 92:[50, 64, 95], Operations: ['68+27=95']
Exploring Operation: 95-50=45, Resulting Numbers: [64, 45]
Generated Node #0,4,0: 92:[64, 45] Operation: 95-50=45
Exploring Operation: 50+95=145, Resulting Numbers: [64, 145]
Generated Node #0,4,1: 92:[64, 145] Operation: 50+95=145
Exploring Operation: 95-64=31, Resulting Numbers: [50, 31]
Generated Node #0,4,2: 92:[50, 31] Operation: 95-64=31
Exploring Operation: 64-50=14, Resulting Numbers: [95, 14]
Generated Node #0,4,3: 92:[95, 14] Operation: 64-50=14
Exploring Operation: 50+64=114, Resulting Numbers: [95, 114]
Generated Node #0,4,4: 92:[95, 114] Operation: 50+64=114
Moving to Node #0,0
Current State: 92:[50, 68, 91], Operations: ['64+27=91']
Exploring Operation: 68-50=18, Resulting Numbers: [91, 18]
Generated Node #0,0,0: 92:[91, 18] Operation: 68-50=18
Exploring Operation: 91-50=41, Resulting Numbers: [68, 41]
Generated Node #0,0,1: 92:[68, 41] Operation: 91-50=41
Exploring Operation: 50+68=118, Resulting Numbers: [91, 118]
Generated Node #0,0,2: 92:[91, 118] Operation: 50+68=118
Exploring Operation: 50+91=141, Resulting Numbers: [68, 141]
Generated Node #0,0,3: 92:[68, 141] Operation: 50+91=141
Exploring Operation: 91-68=23, Resulting Numbers: [50, 23]
Generated Node #0,0,4: 92:[50, 23] Operation: 91-68=23
Moving to Node #0,2
Current State: 92:[50, 64, 41], Operations: ['68-27=41']
Exploring Operation: 50+41=91, Resulting Numbers: [64, 91]
Generated Node #0,2,0: 92:[64, 91] Operation: 50+41=91
Exploring Operation: 64-50=14, Resulting Numbers: [41, 14]
Generated Node #0,2,1: 92:[41, 14] Operation: 64-50=14
Exploring Operation: 64-41=23, Resulting Numbers: [50, 23]
Generated Node #0,2,2: 92:[50, 23] Operation: 64-41=23
Exploring Operation: 64+41=105, Resulting Numbers: [50, 105]
Generated Node #0,2,3: 92:[50, 105] Operation: 64+41=105
Exploring Operation: 50-41=9, Resulting Numbers: [64, 9]
Generated Node #0,2,4: 92:[64, 9] Operation: 50-41=9
Moving to Node #0,3
Current State: 92:[64, 27, 18], Operations: ['68-50=18']
Exploring Operation: 64+18=82, Resulting Numbers: [27, 82]
Generated Node #0,3,0: 92:[27, 82] Operation: 64+18=82
Exploring Operation: 64-18=46, Resulting Numbers: [27, 46]
Generated Node #0,3,1: 92:[27, 46] Operation: 64-18=46
Exploring Operation: 64-27=37, Resulting Numbers: [18, 37]
Generated Node #0,3,2: 92:[18, 37] Operation: 64-27=37
Exploring Operation: 27+18=45, Resulting Numbers: [64, 45]
Generated Node #0,3,3: 92:[64, 45] Operation: 27+18=45
Exploring Operation: 64+27=91, Resulting Numbers: [18, 91]
Generated Node #0,3,4: 92:[18, 91] Operation: 64+27=91
Moving to Node #0,1,1
Current State: 92:[4, 23], Operations: ['68-64=4', '50-27=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[50, 68, 64, 27], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [50, 27, 4]
Generated Node #0,1: 92:[50, 27, 4] Operation: 68-64=4
Moving to Node #0,1
Current State: 92:[50, 27, 4], Operations: ['68-64=4']
Exploring Operation: 50-27=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 92:[4, 23] Operation: 50-27=23
Moving to Node #0,1,1
Current State: 92:[4, 23], Operations: ['68-64=4', '50-27=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.96875 | hs_5 | sum_heuristic |
[
41,
26,
37,
46
] | 98 | [
"41-26=15",
"37+46=83",
"15+83=98"
] | Current State: 98:[41, 26, 37, 46], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [37, 46, 15]
Generated Node #2: [37, 46, 15] from Operation: 41-26=15
Current State: 98:[37, 46, 15], Operations: ['41-26=15']
Exploring Operation: 37+46=83, Resulting Numbers: [15, 83]
Generated Node #3: [15, 83] from Operation: 37+46=83
Current State: 98:[15, 83], Operations: ['41-26=15', '37+46=83']
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[41, 26, 37, 46], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [41, 46, 11]
Generated Node #0,0: 98:[41, 46, 11] Operation: 37-26=11
Exploring Operation: 41-37=4, Resulting Numbers: [26, 46, 4]
Generated Node #0,1: 98:[26, 46, 4] Operation: 41-37=4
Exploring Operation: 41-26=15, Resulting Numbers: [37, 46, 15]
Generated Node #0,2: 98:[37, 46, 15] Operation: 41-26=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[41, 46, 11], Operations: ['37-26=11']
Exploring Operation: 46-41=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 98:[11, 5] Operation: 46-41=5
Exploring Operation: 41+46=87, Resulting Numbers: [11, 87]
Generated Node #0,0,1: 98:[11, 87] Operation: 41+46=87
Exploring Operation: 41+11=52, Resulting Numbers: [46, 52]
Generated Node #0,0,2: 98:[46, 52] Operation: 41+11=52
Moving to Node #0,0,0
Current State: 98:[11, 5], Operations: ['37-26=11', '46-41=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[46, 52], Operations: ['37-26=11', '41+11=52']
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,98 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[41, 26, 37, 46], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [41, 46, 11]
Generated Node #0,0: 98:[41, 46, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 98:[41, 46, 11], Operations: ['37-26=11']
Exploring Operation: 41+11=52, Resulting Numbers: [46, 52]
Generated Node #0,0,2: 98:[46, 52] Operation: 41+11=52
Moving to Node #0,0,2
Current State: 98:[46, 52], Operations: ['37-26=11', '41+11=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
62,
44,
79,
97
] | 66 | [
"79+97=176",
"176/44=4",
"62+4=66"
] | Current State: 66:[62, 44, 79, 97], Operations: []
Exploring Operation: 79+97=176, Resulting Numbers: [62, 44, 176]
Generated Node #2: [62, 44, 176] from Operation: 79+97=176
Current State: 66:[62, 44, 176], Operations: ['79+97=176']
Exploring Operation: 176/44=4, Resulting Numbers: [62, 4]
Generated Node #3: [62, 4] from Operation: 176/44=4
Current State: 66:[62, 4], Operations: ['79+97=176', '176/44=4']
Exploring Operation: 62+4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[62, 44, 79, 97], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [62, 44, 18]
Generated Node #0,0: 66:[62, 44, 18] Operation: 97-79=18
Exploring Operation: 97-44=53, Resulting Numbers: [62, 79, 53]
Generated Node #0,1: 66:[62, 79, 53] Operation: 97-44=53
Exploring Operation: 79-44=35, Resulting Numbers: [62, 97, 35]
Generated Node #0,2: 66:[62, 97, 35] Operation: 79-44=35
Exploring Operation: 97-62=35, Resulting Numbers: [44, 79, 35]
Generated Node #0,3: 66:[44, 79, 35] Operation: 97-62=35
Moving to Node #0,0
Current State: 66:[62, 44, 18], Operations: ['97-79=18']
Exploring Operation: 62-44=18, Resulting Numbers: [18, 18]
Generated Node #0,0,0: 66:[18, 18] Operation: 62-44=18
Exploring Operation: 44-18=26, Resulting Numbers: [62, 26]
Generated Node #0,0,1: 66:[62, 26] Operation: 44-18=26
Exploring Operation: 44+18=62, Resulting Numbers: [62, 62]
Generated Node #0,0,2: 66:[62, 62] Operation: 44+18=62
Exploring Operation: 62-18=44, Resulting Numbers: [44, 44]
Generated Node #0,0,3: 66:[44, 44] Operation: 62-18=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[18, 18], Operations: ['97-79=18', '62-44=18']
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,66 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[62, 26], Operations: ['97-79=18', '44-18=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,66 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[62, 62], Operations: ['97-79=18', '44+18=62']
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,66 unequal: No Solution
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[44, 44], Operations: ['97-79=18', '62-18=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,66 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 66:[44, 79, 35], Operations: ['97-62=35']
Exploring Operation: 44-35=9, Resulting Numbers: [79, 9]
Generated Node #0,3,0: 66:[79, 9] Operation: 44-35=9
Exploring Operation: 79-44=35, Resulting Numbers: [35, 35]
Generated Node #0,3,1: 66:[35, 35] Operation: 79-44=35
Exploring Operation: 79-35=44, Resulting Numbers: [44, 44]
Generated Node #0,3,2: 66:[44, 44] Operation: 79-35=44
Exploring Operation: 44+35=79, Resulting Numbers: [79, 79]
Generated Node #0,3,3: 66:[79, 79] Operation: 44+35=79
Moving to Node #0,1
Current State: 66:[62, 79, 53], Operations: ['97-44=53']
Exploring Operation: 79-53=26, Resulting Numbers: [62, 26]
Generated Node #0,1,0: 66:[62, 26] Operation: 79-53=26
Exploring Operation: 79-62=17, Resulting Numbers: [53, 17]
Generated Node #0,1,1: 66:[53, 17] Operation: 79-62=17
Exploring Operation: 62+53=115, Resulting Numbers: [79, 115]
Generated Node #0,1,2: 66:[79, 115] Operation: 62+53=115
Exploring Operation: 62-53=9, Resulting Numbers: [79, 9]
Generated Node #0,1,3: 66:[79, 9] Operation: 62-53=9
Moving to Node #0,2
Current State: 66:[62, 97, 35], Operations: ['79-44=35']
Exploring Operation: 62+35=97, Resulting Numbers: [97, 97]
Generated Node #0,2,0: 66:[97, 97] Operation: 62+35=97
Exploring Operation: 97-62=35, Resulting Numbers: [35, 35]
Generated Node #0,2,1: 66:[35, 35] Operation: 97-62=35
Exploring Operation: 62-35=27, Resulting Numbers: [97, 27]
Generated Node #0,2,2: 66:[97, 27] Operation: 62-35=27
Exploring Operation: 97-35=62, Resulting Numbers: [62, 62]
Generated Node #0,2,3: 66:[62, 62] Operation: 97-35=62
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[35, 35], Operations: ['79-44=35', '97-62=35']
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[62, 62], Operations: ['79-44=35', '97-35=62']
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[97, 27], Operations: ['79-44=35', '62-35=27']
Exploring Operation: 97+27=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 97*27=2619, Resulting Numbers: [2619]
2619,66 unequal: No Solution
Exploring Operation: 97-27=70, Resulting Numbers: [70]
70,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[97, 97], Operations: ['79-44=35', '62+35=97']
Exploring Operation: 97/97=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 97+97=194, Resulting Numbers: [194]
194,66 unequal: No Solution
Exploring Operation: 97*97=9409, Resulting Numbers: [9409]
9409,66 unequal: No Solution
Exploring Operation: 97-97=0, Resulting Numbers: [0]
0,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 66:[35, 35], Operations: ['97-62=35', '79-44=35']
Exploring Operation: 35*35=1225, Resulting Numbers: [1225]
1225,66 unequal: No Solution
Exploring Operation: 35/35=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 35-35=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[62, 26], Operations: ['97-44=53', '79-53=26']
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[79, 9], Operations: ['97-44=53', '62-53=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,66 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[79, 9], Operations: ['97-62=35', '44-35=9']
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,66 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[53, 17], Operations: ['97-44=53', '79-62=17']
Exploring Operation: 53*17=901, Resulting Numbers: [901]
901,66 unequal: No Solution
Exploring Operation: 53+17=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[44, 44], Operations: ['97-62=35', '79-35=44']
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,66 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,66 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[79, 79], Operations: ['97-62=35', '44+35=79']
Exploring Operation: 79*79=6241, Resulting Numbers: [6241]
6241,66 unequal: No Solution
Exploring Operation: 79+79=158, Resulting Numbers: [158]
158,66 unequal: No Solution
Exploring Operation: 79-79=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 79/79=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[79, 115], Operations: ['97-44=53', '62+53=115']
Exploring Operation: 79*115=9085, Resulting Numbers: [9085]
9085,66 unequal: No Solution
Exploring Operation: 115-79=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Exploring Operation: 79+115=194, Resulting Numbers: [194]
194,66 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
1,
3,
37
] | 62 | [
"5*37=185",
"1+185=186",
"186/3=62"
] | Current State: 62:[5, 1, 3, 37], Operations: []
Exploring Operation: 5*37=185, Resulting Numbers: [1, 3, 185]
Generated Node #2: [1, 3, 185] from Operation: 5*37=185
Current State: 62:[1, 3, 185], Operations: ['5*37=185']
Exploring Operation: 1+185=186, Resulting Numbers: [3, 186]
Generated Node #3: [3, 186] from Operation: 1+185=186
Current State: 62:[3, 186], Operations: ['5*37=185', '1+185=186']
Exploring Operation: 186/3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[5, 1, 3, 37], Operations: []
Exploring Operation: 37-5=32, Resulting Numbers: [1, 3, 32]
Generated Node #0,0: 62:[1, 3, 32] Operation: 37-5=32
Exploring Operation: 5-3=2, Resulting Numbers: [1, 37, 2]
Generated Node #0,1: 62:[1, 37, 2] Operation: 5-3=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[1, 3, 32], Operations: ['37-5=32']
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #0,0,0: 62:[3, 31] Operation: 32-1=31
Exploring Operation: 3-1=2, Resulting Numbers: [32, 2]
Generated Node #0,0,1: 62:[32, 2] Operation: 3-1=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[3, 31], Operations: ['37-5=32', '32-1=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,62 unequal: No Solution
No 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: 62:[32, 2], Operations: ['37-5=32', '3-1=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,62 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: 62:[1, 37, 2], Operations: ['5-3=2']
Exploring Operation: 37-1=36, Resulting Numbers: [2, 36]
Generated Node #0,1,0: 62:[2, 36] Operation: 37-1=36
Exploring Operation: 37-2=35, Resulting Numbers: [1, 35]
Generated Node #0,1,1: 62:[1, 35] Operation: 37-2=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[2, 36], Operations: ['5-3=2', '37-1=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,62 unequal: No Solution
No 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: 62:[1, 35], Operations: ['5-3=2', '37-2=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,62 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,
72,
52,
88
] | 39 | [
"72-6=66",
"52*66=3432",
"3432/88=39"
] | Current State: 39:[6, 72, 52, 88], Operations: []
Exploring Operation: 72-6=66, Resulting Numbers: [52, 88, 66]
Generated Node #2: [52, 88, 66] from Operation: 72-6=66
Current State: 39:[52, 88, 66], Operations: ['72-6=66']
Exploring Operation: 52*66=3432, Resulting Numbers: [88, 3432]
Generated Node #3: [88, 3432] from Operation: 52*66=3432
Current State: 39:[88, 3432], Operations: ['72-6=66', '52*66=3432']
Exploring Operation: 3432/88=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[6, 72, 52, 88], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [6, 72, 36]
Generated Node #0,0: 39:[6, 72, 36] Operation: 88-52=36
Exploring Operation: 88-72=16, Resulting Numbers: [6, 52, 16]
Generated Node #0,1: 39:[6, 52, 16] Operation: 88-72=16
Exploring Operation: 72-6=66, Resulting Numbers: [52, 88, 66]
Generated Node #0,2: 39:[52, 88, 66] Operation: 72-6=66
Exploring Operation: 72-52=20, Resulting Numbers: [6, 88, 20]
Generated Node #0,3: 39:[6, 88, 20] Operation: 72-52=20
Exploring Operation: 72/6=12, Resulting Numbers: [52, 88, 12]
Generated Node #0,4: 39:[52, 88, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[6, 52, 16], Operations: ['88-72=16']
Exploring Operation: 16-6=10, Resulting Numbers: [52, 10]
Generated Node #0,1,0: 39:[52, 10] Operation: 16-6=10
Exploring Operation: 52-16=36, Resulting Numbers: [6, 36]
Generated Node #0,1,1: 39:[6, 36] Operation: 52-16=36
Exploring Operation: 52-6=46, Resulting Numbers: [16, 46]
Generated Node #0,1,2: 39:[16, 46] Operation: 52-6=46
Exploring Operation: 6+52=58, Resulting Numbers: [16, 58]
Generated Node #0,1,3: 39:[16, 58] Operation: 6+52=58
Exploring Operation: 6+16=22, Resulting Numbers: [52, 22]
Generated Node #0,1,4: 39:[52, 22] Operation: 6+16=22
Moving to Node #0,1,1
Current State: 39:[6, 36], Operations: ['88-72=16', '52-16=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[16, 46], Operations: ['88-72=16', '52-6=46']
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[52, 10], Operations: ['88-72=16', '16-6=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[16, 58], Operations: ['88-72=16', '6+52=58']
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,39 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[52, 22], Operations: ['88-72=16', '6+16=22']
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,39 unequal: No Solution
No 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: 39:[6, 72, 36], Operations: ['88-52=36']
Exploring Operation: 6+36=42, Resulting Numbers: [72, 42]
Generated Node #0,0,0: 39:[72, 42] Operation: 6+36=42
Exploring Operation: 72-36=36, Resulting Numbers: [6, 36]
Generated Node #0,0,1: 39:[6, 36] Operation: 72-36=36
Exploring Operation: 72/6=12, Resulting Numbers: [36, 12]
Generated Node #0,0,2: 39:[36, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [36, 66]
Generated Node #0,0,3: 39:[36, 66] Operation: 72-6=66
Exploring Operation: 72/36=2, Resulting Numbers: [6, 2]
Generated Node #0,0,4: 39:[6, 2] Operation: 72/36=2
Moving to Node #0,0,2
Current State: 39:[36, 12], Operations: ['88-52=36', '72/6=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,39 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Moving to Node #0,0,4
Current State: 39:[6, 2], Operations: ['88-52=36', '72/36=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,39 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[6, 36], Operations: ['88-52=36', '72-36=36']
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,39 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[36, 66], Operations: ['88-52=36', '72-6=66']
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,39 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[72, 42], Operations: ['88-52=36', '6+36=42']
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,39 unequal: No Solution
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[6, 88, 20], Operations: ['72-52=20']
Exploring Operation: 20-6=14, Resulting Numbers: [88, 14]
Generated Node #0,3,0: 39:[88, 14] Operation: 20-6=14
Exploring Operation: 6+88=94, Resulting Numbers: [20, 94]
Generated Node #0,3,1: 39:[20, 94] Operation: 6+88=94
Exploring Operation: 6+20=26, Resulting Numbers: [88, 26]
Generated Node #0,3,2: 39:[88, 26] Operation: 6+20=26
Exploring Operation: 88-6=82, Resulting Numbers: [20, 82]
Generated Node #0,3,3: 39:[20, 82] Operation: 88-6=82
Exploring Operation: 88-20=68, Resulting Numbers: [6, 68]
Generated Node #0,3,4: 39:[6, 68] Operation: 88-20=68
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 39:[6, 68], Operations: ['72-52=20', '88-20=68']
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,39 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 39:[88, 14], Operations: ['72-52=20', '20-6=14']
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,39 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[20, 82], Operations: ['72-52=20', '88-6=82']
Exploring Operation: 82-20=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 20*82=1640, Resulting Numbers: [1640]
1640,39 unequal: No Solution
Exploring Operation: 20+82=102, Resulting Numbers: [102]
102,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 39:[20, 94], Operations: ['72-52=20', '6+88=94']
Exploring Operation: 20*94=1880, Resulting Numbers: [1880]
1880,39 unequal: No Solution
Exploring Operation: 20+94=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[88, 26], Operations: ['72-52=20', '6+20=26']
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,39 unequal: No Solution
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 39:[52, 88, 12], Operations: ['72/6=12']
Exploring Operation: 52+12=64, Resulting Numbers: [88, 64]
Generated Node #0,4,0: 39:[88, 64] Operation: 52+12=64
Exploring Operation: 52-12=40, Resulting Numbers: [88, 40]
Generated Node #0,4,1: 39:[88, 40] Operation: 52-12=40
Exploring Operation: 88+12=100, Resulting Numbers: [52, 100]
Generated Node #0,4,2: 39:[52, 100] Operation: 88+12=100
Exploring Operation: 88-52=36, Resulting Numbers: [12, 36]
Generated Node #0,4,3: 39:[12, 36] Operation: 88-52=36
Exploring Operation: 88-12=76, Resulting Numbers: [52, 76]
Generated Node #0,4,4: 39:[52, 76] Operation: 88-12=76
Moving to Node #0,4,3
Current State: 39:[12, 36], Operations: ['72/6=12', '88-52=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,39 unequal: No Solution
Moving to Node #0,4,4
Current State: 39:[52, 76], Operations: ['72/6=12', '88-12=76']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 52+76=128, Resulting Numbers: [128]
128,39 unequal: No Solution
Exploring Operation: 52*76=3952, Resulting Numbers: [3952]
3952,39 unequal: No Solution
Moving to Node #0,4,1
Current State: 39:[88, 40], Operations: ['72/6=12', '52-12=40']
Exploring Operation: 88-40=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 88+40=128, Resulting Numbers: [128]
128,39 unequal: No Solution
Exploring Operation: 88*40=3520, Resulting Numbers: [3520]
3520,39 unequal: No Solution
Moving to Node #0,4,0
Current State: 39:[88, 64], Operations: ['72/6=12', '52+12=64']
Exploring Operation: 88+64=152, Resulting Numbers: [152]
152,39 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 88*64=5632, Resulting Numbers: [5632]
5632,39 unequal: No Solution
Moving to Node #0,4,2
Current State: 39:[52, 100], Operations: ['72/6=12', '88+12=100']
Exploring Operation: 100-52=48, Resulting Numbers: [48]
48,39 unequal: No Solution
Exploring Operation: 52*100=5200, Resulting Numbers: [5200]
5200,39 unequal: No Solution
Exploring Operation: 52+100=152, Resulting Numbers: [152]
152,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[52, 88, 66], Operations: ['72-6=66']
Exploring Operation: 52+66=118, Resulting Numbers: [88, 118]
Generated Node #0,2,0: 39:[88, 118] Operation: 52+66=118
Exploring Operation: 52+88=140, Resulting Numbers: [66, 140]
Generated Node #0,2,1: 39:[66, 140] Operation: 52+88=140
Exploring Operation: 66-52=14, Resulting Numbers: [88, 14]
Generated Node #0,2,2: 39:[88, 14] Operation: 66-52=14
Exploring Operation: 88-66=22, Resulting Numbers: [52, 22]
Generated Node #0,2,3: 39:[52, 22] Operation: 88-66=22
Exploring Operation: 88-52=36, Resulting Numbers: [66, 36]
Generated Node #0,2,4: 39:[66, 36] Operation: 88-52=36
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 39:[52, 22], Operations: ['72-6=66', '88-66=22']
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 39:[66, 36], Operations: ['72-6=66', '88-52=36']
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,39 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,39 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[88, 14], Operations: ['72-6=66', '66-52=14']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 88*14=1232, Resulting Numbers: [1232]
1232,39 unequal: No Solution
Exploring Operation: 88+14=102, Resulting Numbers: [102]
102,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 39:[88, 118], Operations: ['72-6=66', '52+66=118']
Exploring Operation: 118-88=30, Resulting Numbers: [30]
30,39 unequal: No Solution
Exploring Operation: 88+118=206, Resulting Numbers: [206]
206,39 unequal: No Solution
Exploring Operation: 88*118=10384, Resulting Numbers: [10384]
10384,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 39:[66, 140], Operations: ['72-6=66', '52+88=140']
Exploring Operation: 140-66=74, Resulting Numbers: [74]
74,39 unequal: No Solution
Exploring Operation: 66*140=9240, Resulting Numbers: [9240]
9240,39 unequal: No Solution
Exploring Operation: 66+140=206, Resulting Numbers: [206]
206,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
72,
44,
37,
62
] | 91 | [
"72+44=116",
"62-37=25",
"116-25=91"
] | Current State: 91:[72, 44, 37, 62], Operations: []
Exploring Operation: 72+44=116, Resulting Numbers: [37, 62, 116]
Generated Node #2: [37, 62, 116] from Operation: 72+44=116
Current State: 91:[37, 62, 116], Operations: ['72+44=116']
Exploring Operation: 62-37=25, Resulting Numbers: [116, 25]
Generated Node #3: [116, 25] from Operation: 62-37=25
Current State: 91:[116, 25], Operations: ['72+44=116', '62-37=25']
Exploring Operation: 116-25=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[72, 44, 37, 62], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [72, 62, 7]
Generated Node #0,0: 91:[72, 62, 7] Operation: 44-37=7
Moving to Node #0,0
Current State: 91:[72, 62, 7], Operations: ['44-37=7']
Exploring Operation: 72-62=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 91:[7, 10] Operation: 72-62=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[7, 10], Operations: ['44-37=7', '72-62=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,91 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 |
[
37,
59,
14,
63
] | 92 | [
"37-14=23",
"63-59=4",
"23*4=92"
] | Current State: 92:[37, 59, 14, 63], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [59, 63, 23]
Generated Node #2: [59, 63, 23] from Operation: 37-14=23
Current State: 92:[59, 63, 23], Operations: ['37-14=23']
Exploring Operation: 63-59=4, Resulting Numbers: [23, 4]
Generated Node #3: [23, 4] from Operation: 63-59=4
Current State: 92:[23, 4], Operations: ['37-14=23', '63-59=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[37, 59, 14, 63], Operations: []
Exploring Operation: 63-37=26, Resulting Numbers: [59, 14, 26]
Generated Node #0,0: 92:[59, 14, 26] Operation: 63-37=26
Exploring Operation: 63-14=49, Resulting Numbers: [37, 59, 49]
Generated Node #0,1: 92:[37, 59, 49] Operation: 63-14=49
Exploring Operation: 59-37=22, Resulting Numbers: [14, 63, 22]
Generated Node #0,2: 92:[14, 63, 22] Operation: 59-37=22
Exploring Operation: 63-59=4, Resulting Numbers: [37, 14, 4]
Generated Node #0,3: 92:[37, 14, 4] Operation: 63-59=4
Moving to Node #0,3
Current State: 92:[37, 14, 4], Operations: ['63-59=4']
Exploring Operation: 37+14=51, Resulting Numbers: [4, 51]
Generated Node #0,3,0: 92:[4, 51] Operation: 37+14=51
Exploring Operation: 37-14=23, Resulting Numbers: [4, 23]
Generated Node #0,3,1: 92:[4, 23] Operation: 37-14=23
Exploring Operation: 37+4=41, Resulting Numbers: [14, 41]
Generated Node #0,3,2: 92:[14, 41] Operation: 37+4=41
Exploring Operation: 14+4=18, Resulting Numbers: [37, 18]
Generated Node #0,3,3: 92:[37, 18] Operation: 14+4=18
Moving to Node #0,1
Current State: 92:[37, 59, 49], Operations: ['63-14=49']
Exploring Operation: 59-37=22, Resulting Numbers: [49, 22]
Generated Node #0,1,0: 92:[49, 22] Operation: 59-37=22
Exploring Operation: 37+49=86, Resulting Numbers: [59, 86]
Generated Node #0,1,1: 92:[59, 86] Operation: 37+49=86
Exploring Operation: 37+59=96, Resulting Numbers: [49, 96]
Generated Node #0,1,2: 92:[49, 96] Operation: 37+59=96
Exploring Operation: 59-49=10, Resulting Numbers: [37, 10]
Generated Node #0,1,3: 92:[37, 10] Operation: 59-49=10
Moving to Node #0,0
Current State: 92:[59, 14, 26], Operations: ['63-37=26']
Exploring Operation: 59+26=85, Resulting Numbers: [14, 85]
Generated Node #0,0,0: 92:[14, 85] Operation: 59+26=85
Exploring Operation: 14+26=40, Resulting Numbers: [59, 40]
Generated Node #0,0,1: 92:[59, 40] Operation: 14+26=40
Exploring Operation: 59-14=45, Resulting Numbers: [26, 45]
Generated Node #0,0,2: 92:[26, 45] Operation: 59-14=45
Exploring Operation: 59-26=33, Resulting Numbers: [14, 33]
Generated Node #0,0,3: 92:[14, 33] Operation: 59-26=33
Moving to Node #0,2
Current State: 92:[14, 63, 22], Operations: ['59-37=22']
Exploring Operation: 63-14=49, Resulting Numbers: [22, 49]
Generated Node #0,2,0: 92:[22, 49] Operation: 63-14=49
Exploring Operation: 63-22=41, Resulting Numbers: [14, 41]
Generated Node #0,2,1: 92:[14, 41] Operation: 63-22=41
Exploring Operation: 63+22=85, Resulting Numbers: [14, 85]
Generated Node #0,2,2: 92:[14, 85] Operation: 63+22=85
Exploring Operation: 14+63=77, Resulting Numbers: [22, 77]
Generated Node #0,2,3: 92:[22, 77] Operation: 14+63=77
Moving to Node #0,3,1
Current State: 92:[4, 23], Operations: ['63-59=4', '37-14=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[37, 59, 14, 63], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [37, 14, 4]
Generated Node #0,3: 92:[37, 14, 4] Operation: 63-59=4
Moving to Node #0,3
Current State: 92:[37, 14, 4], Operations: ['63-59=4']
Exploring Operation: 37-14=23, Resulting Numbers: [4, 23]
Generated Node #0,3,1: 92:[4, 23] Operation: 37-14=23
Moving to Node #0,3,1
Current State: 92:[4, 23], Operations: ['63-59=4', '37-14=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.977431 | hs_4 | sum_heuristic |
[
27,
84,
69,
3
] | 69 | [
"84/3=28",
"28-27=1",
"69*1=69"
] | Current State: 69:[27, 84, 69, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [27, 69, 28]
Generated Node #2: [27, 69, 28] from Operation: 84/3=28
Current State: 69:[27, 69, 28], Operations: ['84/3=28']
Exploring Operation: 28-27=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 28-27=1
Current State: 69:[69, 1], Operations: ['84/3=28', '28-27=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[27, 84, 69, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [27, 69, 28]
Generated Node #0,0: 69:[27, 69, 28] Operation: 84/3=28
Exploring Operation: 84-27=57, Resulting Numbers: [69, 3, 57]
Generated Node #0,1: 69:[69, 3, 57] Operation: 84-27=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[27, 69, 28], Operations: ['84/3=28']
Exploring Operation: 28-27=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 69:[69, 1] Operation: 28-27=1
Exploring Operation: 27+28=55, Resulting Numbers: [69, 55]
Generated Node #0,0,1: 69:[69, 55] Operation: 27+28=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[69, 1], Operations: ['84/3=28', '28-27=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[27, 84, 69, 3], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [27, 69, 28]
Generated Node #0,0: 69:[27, 69, 28] Operation: 84/3=28
Moving to Node #0,0
Current State: 69:[27, 69, 28], Operations: ['84/3=28']
Exploring Operation: 28-27=1, Resulting Numbers: [69, 1]
Generated Node #0,0,0: 69:[69, 1] Operation: 28-27=1
Moving to Node #0,0,0
Current State: 69:[69, 1], Operations: ['84/3=28', '28-27=1']
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
95,
60,
98,
21
] | 53 | [
"98-95=3",
"21/3=7",
"60-7=53"
] | Current State: 53:[95, 60, 98, 21], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [60, 21, 3]
Generated Node #2: [60, 21, 3] from Operation: 98-95=3
Current State: 53:[60, 21, 3], Operations: ['98-95=3']
Exploring Operation: 21/3=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 21/3=7
Current State: 53:[60, 7], Operations: ['98-95=3', '21/3=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[95, 60, 98, 21], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [95, 21, 38]
Generated Node #0,0: 53:[95, 21, 38] Operation: 98-60=38
Exploring Operation: 98-21=77, Resulting Numbers: [95, 60, 77]
Generated Node #0,1: 53:[95, 60, 77] Operation: 98-21=77
Exploring Operation: 95-60=35, Resulting Numbers: [98, 21, 35]
Generated Node #0,2: 53:[98, 21, 35] Operation: 95-60=35
Exploring Operation: 95-21=74, Resulting Numbers: [60, 98, 74]
Generated Node #0,3: 53:[60, 98, 74] Operation: 95-21=74
Exploring Operation: 98-95=3, Resulting Numbers: [60, 21, 3]
Generated Node #0,4: 53:[60, 21, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 53:[95, 60, 77], Operations: ['98-21=77']
Exploring Operation: 95-77=18, Resulting Numbers: [60, 18]
Generated Node #0,1,0: 53:[60, 18] Operation: 95-77=18
Exploring Operation: 95+77=172, Resulting Numbers: [60, 172]
Generated Node #0,1,1: 53:[60, 172] Operation: 95+77=172
Exploring Operation: 77-60=17, Resulting Numbers: [95, 17]
Generated Node #0,1,2: 53:[95, 17] Operation: 77-60=17
Exploring Operation: 95+60=155, Resulting Numbers: [77, 155]
Generated Node #0,1,3: 53:[77, 155] Operation: 95+60=155
Exploring Operation: 95-60=35, Resulting Numbers: [77, 35]
Generated Node #0,1,4: 53:[77, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[60, 18], Operations: ['98-21=77', '95-77=18']
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,53 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 53:[77, 35], Operations: ['98-21=77', '95-60=35']
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[95, 17], Operations: ['98-21=77', '77-60=17']
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,53 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[60, 172], Operations: ['98-21=77', '95+77=172']
Exploring Operation: 172-60=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 60+172=232, Resulting Numbers: [232]
232,53 unequal: No Solution
Exploring Operation: 60*172=10320, Resulting Numbers: [10320]
10320,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 53:[77, 155], Operations: ['98-21=77', '95+60=155']
Exploring Operation: 77+155=232, Resulting Numbers: [232]
232,53 unequal: No Solution
Exploring Operation: 77*155=11935, Resulting Numbers: [11935]
11935,53 unequal: No Solution
Exploring Operation: 155-77=78, Resulting Numbers: [78]
78,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 53:[60, 98, 74], Operations: ['95-21=74']
Exploring Operation: 98-60=38, Resulting Numbers: [74, 38]
Generated Node #0,3,0: 53:[74, 38] Operation: 98-60=38
Exploring Operation: 60+98=158, Resulting Numbers: [74, 158]
Generated Node #0,3,1: 53:[74, 158] Operation: 60+98=158
Exploring Operation: 60+74=134, Resulting Numbers: [98, 134]
Generated Node #0,3,2: 53:[98, 134] Operation: 60+74=134
Exploring Operation: 74-60=14, Resulting Numbers: [98, 14]
Generated Node #0,3,3: 53:[98, 14] Operation: 74-60=14
Exploring Operation: 98-74=24, Resulting Numbers: [60, 24]
Generated Node #0,3,4: 53:[60, 24] Operation: 98-74=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[74, 38], Operations: ['95-21=74', '98-60=38']
Exploring Operation: 74+38=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 74*38=2812, Resulting Numbers: [2812]
2812,53 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 53:[60, 24], Operations: ['95-21=74', '98-74=24']
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[98, 14], Operations: ['95-21=74', '74-60=14']
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 98*14=1372, Resulting Numbers: [1372]
1372,53 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[74, 158], Operations: ['95-21=74', '60+98=158']
Exploring Operation: 74*158=11692, Resulting Numbers: [11692]
11692,53 unequal: No Solution
Exploring Operation: 74+158=232, Resulting Numbers: [232]
232,53 unequal: No Solution
Exploring Operation: 158-74=84, Resulting Numbers: [84]
84,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[98, 134], Operations: ['95-21=74', '60+74=134']
Exploring Operation: 134-98=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 98+134=232, Resulting Numbers: [232]
232,53 unequal: No Solution
Exploring Operation: 98*134=13132, Resulting Numbers: [13132]
13132,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 53:[95, 21, 38], Operations: ['98-60=38']
Exploring Operation: 95-38=57, Resulting Numbers: [21, 57]
Generated Node #0,0,0: 53:[21, 57] Operation: 95-38=57
Exploring Operation: 95+21=116, Resulting Numbers: [38, 116]
Generated Node #0,0,1: 53:[38, 116] Operation: 95+21=116
Exploring Operation: 38-21=17, Resulting Numbers: [95, 17]
Generated Node #0,0,2: 53:[95, 17] Operation: 38-21=17
Exploring Operation: 95-21=74, Resulting Numbers: [38, 74]
Generated Node #0,0,3: 53:[38, 74] Operation: 95-21=74
Exploring Operation: 21+38=59, Resulting Numbers: [95, 59]
Generated Node #0,0,4: 53:[95, 59] Operation: 21+38=59
Moving to Node #0,4
Current State: 53:[60, 21, 3], Operations: ['98-95=3']
Exploring Operation: 60+3=63, Resulting Numbers: [21, 63]
Generated Node #0,4,0: 53:[21, 63] Operation: 60+3=63
Exploring Operation: 21-3=18, Resulting Numbers: [60, 18]
Generated Node #0,4,1: 53:[60, 18] Operation: 21-3=18
Exploring Operation: 21*3=63, Resulting Numbers: [60, 63]
Generated Node #0,4,2: 53:[60, 63] Operation: 21*3=63
Exploring Operation: 21+3=24, Resulting Numbers: [60, 24]
Generated Node #0,4,3: 53:[60, 24] Operation: 21+3=24
Exploring Operation: 60-3=57, Resulting Numbers: [21, 57]
Generated Node #0,4,4: 53:[21, 57] Operation: 60-3=57
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[60, 63], Operations: ['98-95=3', '21*3=63']
Exploring Operation: 60+63=123, Resulting Numbers: [123]
123,53 unequal: No Solution
Exploring Operation: 60*63=3780, Resulting Numbers: [3780]
3780,53 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 53:[60, 24], Operations: ['98-95=3', '21+3=24']
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,53 unequal: No Solution
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 53:[21, 57], Operations: ['98-95=3', '60-3=57']
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 21*57=1197, Resulting Numbers: [1197]
1197,53 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 53:[21, 63], Operations: ['98-95=3', '60+3=63']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,53 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 53:[60, 18], Operations: ['98-95=3', '21-3=18']
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 60*18=1080, Resulting Numbers: [1080]
1080,53 unequal: No Solution
Exploring Operation: 60+18=78, Resulting Numbers: [78]
78,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[98, 21, 35], Operations: ['95-60=35']
Exploring Operation: 98+21=119, Resulting Numbers: [35, 119]
Generated Node #0,2,0: 53:[35, 119] Operation: 98+21=119
Exploring Operation: 35-21=14, Resulting Numbers: [98, 14]
Generated Node #0,2,1: 53:[98, 14] Operation: 35-21=14
Exploring Operation: 21+35=56, Resulting Numbers: [98, 56]
Generated Node #0,2,2: 53:[98, 56] Operation: 21+35=56
Exploring Operation: 98-35=63, Resulting Numbers: [21, 63]
Generated Node #0,2,3: 53:[21, 63] Operation: 98-35=63
Exploring Operation: 98-21=77, Resulting Numbers: [35, 77]
Generated Node #0,2,4: 53:[35, 77] Operation: 98-21=77
Moving to Node #0,0,0
Current State: 53:[21, 57], Operations: ['98-60=38', '95-38=57']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 21*57=1197, Resulting Numbers: [1197]
1197,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[38, 74], Operations: ['98-60=38', '95-21=74']
Exploring Operation: 38+74=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 38*74=2812, Resulting Numbers: [2812]
2812,53 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[21, 63], Operations: ['95-60=35', '98-35=63']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[35, 77], Operations: ['95-60=35', '98-21=77']
Exploring Operation: 35*77=2695, Resulting Numbers: [2695]
2695,53 unequal: No Solution
Exploring Operation: 35+77=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[95, 59], Operations: ['98-60=38', '21+38=59']
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,53 unequal: No Solution
Exploring Operation: 95*59=5605, Resulting Numbers: [5605]
5605,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[98, 56], Operations: ['95-60=35', '21+35=56']
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 98*56=5488, Resulting Numbers: [5488]
5488,53 unequal: No Solution
Exploring Operation: 98+56=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[95, 17], Operations: ['98-60=38', '38-21=17']
Exploring Operation: 95+17=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 95-17=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 95*17=1615, Resulting Numbers: [1615]
1615,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[38, 116], Operations: ['98-60=38', '95+21=116']
Exploring Operation: 38+116=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Exploring Operation: 116-38=78, Resulting Numbers: [78]
78,53 unequal: No Solution
Exploring Operation: 38*116=4408, Resulting Numbers: [4408]
4408,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[35, 119], Operations: ['95-60=35', '98+21=119']
Exploring Operation: 119-35=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 35*119=4165, Resulting Numbers: [4165]
4165,53 unequal: No Solution
Exploring Operation: 35+119=154, Resulting Numbers: [154]
154,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[98, 14], Operations: ['95-60=35', '35-21=14']
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,53 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,53 unequal: No Solution
Exploring Operation: 98*14=1372, Resulting Numbers: [1372]
1372,53 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
27,
56,
39
] | 72 | [
"60-39=21",
"27*56=1512",
"1512/21=72"
] | Current State: 72:[60, 27, 56, 39], Operations: []
Exploring Operation: 60-39=21, Resulting Numbers: [27, 56, 21]
Generated Node #2: [27, 56, 21] from Operation: 60-39=21
Current State: 72:[27, 56, 21], Operations: ['60-39=21']
Exploring Operation: 27*56=1512, Resulting Numbers: [21, 1512]
Generated Node #3: [21, 1512] from Operation: 27*56=1512
Current State: 72:[21, 1512], Operations: ['60-39=21', '27*56=1512']
Exploring Operation: 1512/21=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[60, 27, 56, 39], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [27, 39, 4]
Generated Node #0,0: 72:[27, 39, 4] Operation: 60-56=4
Moving to Node #0,0
Current State: 72:[27, 39, 4], Operations: ['60-56=4']
Exploring Operation: 39-27=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 72:[4, 12] Operation: 39-27=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[4, 12], Operations: ['60-56=4', '39-27=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
17,
32,
10
] | 43 | [
"17/17=1",
"32+10=42",
"1+42=43"
] | Current State: 43:[17, 17, 32, 10], Operations: []
Exploring Operation: 17/17=1, Resulting Numbers: [32, 10, 1]
Generated Node #2: [32, 10, 1] from Operation: 17/17=1
Current State: 43:[32, 10, 1], Operations: ['17/17=1']
Exploring Operation: 32+10=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 32+10=42
Current State: 43:[1, 42], Operations: ['17/17=1', '32+10=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[17, 17, 32, 10], Operations: []
Exploring Operation: 17+17=34, Resulting Numbers: [32, 10, 34]
Generated Node #0,0: 43:[32, 10, 34] Operation: 17+17=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[32, 10, 34], Operations: ['17+17=34']
Exploring Operation: 32+10=42, Resulting Numbers: [34, 42]
Generated Node #0,0,0: 43:[34, 42] Operation: 32+10=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[34, 42], Operations: ['17+17=34', '32+10=42']
Exploring Operation: 34+42=76, Resulting Numbers: [76]
76,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
14,
92,
10
] | 65 | [
"92-14=78",
"10*78=780",
"780/12=65"
] | Current State: 65:[12, 14, 92, 10], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [12, 10, 78]
Generated Node #2: [12, 10, 78] from Operation: 92-14=78
Current State: 65:[12, 10, 78], Operations: ['92-14=78']
Exploring Operation: 10*78=780, Resulting Numbers: [12, 780]
Generated Node #3: [12, 780] from Operation: 10*78=780
Current State: 65:[12, 780], Operations: ['92-14=78', '10*78=780']
Exploring Operation: 780/12=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[12, 14, 92, 10], Operations: []
Exploring Operation: 92-14=78, Resulting Numbers: [12, 10, 78]
Generated Node #0,0: 65:[12, 10, 78] Operation: 92-14=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[12, 10, 78], Operations: ['92-14=78']
Exploring Operation: 78-12=66, Resulting Numbers: [10, 66]
Generated Node #0,0,0: 65:[10, 66] Operation: 78-12=66
Moving to Node #0,0,0
Current State: 65:[10, 66], Operations: ['92-14=78', '78-12=66']
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.