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 |
|---|---|---|---|---|---|---|---|---|
[
64,
2,
59,
45
] | 100 | [
"64-59=5",
"45+5=50",
"2*50=100"
] | Current State: 100:[64, 2, 59, 45], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [2, 45, 5]
Generated Node #2: [2, 45, 5] from Operation: 64-59=5
Current State: 100:[2, 45, 5], Operations: ['64-59=5']
Exploring Operation: 45+5=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 45+5=50
Current State: 100:[2, 50], Operations: ['64-59=5', '45+5=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[64, 2, 59, 45], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [2, 45, 5]
Generated Node #0,0: 100:[2, 45, 5] Operation: 64-59=5
Exploring Operation: 64+45=109, Resulting Numbers: [2, 59, 109]
Generated Node #0,1: 100:[2, 59, 109] Operation: 64+45=109
Exploring Operation: 59+45=104, Resulting Numbers: [64, 2, 104]
Generated Node #0,2: 100:[64, 2, 104] Operation: 59+45=104
Exploring Operation: 64-45=19, Resulting Numbers: [2, 59, 19]
Generated Node #0,3: 100:[2, 59, 19] Operation: 64-45=19
Moving to Node #0,0
Current State: 100:[2, 45, 5], Operations: ['64-59=5']
Exploring Operation: 2*5=10, Resulting Numbers: [45, 10]
Generated Node #0,0,0: 100:[45, 10] Operation: 2*5=10
Exploring Operation: 2+45=47, Resulting Numbers: [5, 47]
Generated Node #0,0,1: 100:[5, 47] Operation: 2+45=47
Exploring Operation: 45/5=9, Resulting Numbers: [2, 9]
Generated Node #0,0,2: 100:[2, 9] Operation: 45/5=9
Exploring Operation: 45+5=50, Resulting Numbers: [2, 50]
Generated Node #0,0,3: 100:[2, 50] Operation: 45+5=50
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 100:[2, 50], Operations: ['64-59=5', '45+5=50']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,100 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[64, 2, 59, 45], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [2, 45, 5]
Generated Node #0,0: 100:[2, 45, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 100:[2, 45, 5], Operations: ['64-59=5']
Exploring Operation: 45+5=50, Resulting Numbers: [2, 50]
Generated Node #0,0,3: 100:[2, 50] Operation: 45+5=50
Moving to Node #0,0,3
Current State: 100:[2, 50], Operations: ['64-59=5', '45+5=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
9,
7,
29,
18
] | 24 | [
"18/9=2",
"29-7=22",
"2+22=24"
] | Current State: 24:[9, 7, 29, 18], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [7, 29, 2]
Generated Node #2: [7, 29, 2] from Operation: 18/9=2
Current State: 24:[7, 29, 2], Operations: ['18/9=2']
Exploring Operation: 29-7=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 29-7=22
Current State: 24:[2, 22], Operations: ['18/9=2', '29-7=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[9, 7, 29, 18], Operations: []
Exploring Operation: 7+18=25, Resulting Numbers: [9, 29, 25]
Generated Node #0,0: 24:[9, 29, 25] Operation: 7+18=25
Exploring Operation: 18/9=2, Resulting Numbers: [7, 29, 2]
Generated Node #0,1: 24:[7, 29, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [7, 29, 9]
Generated Node #0,2: 24:[7, 29, 9] Operation: 18-9=9
Exploring Operation: 29-18=11, Resulting Numbers: [9, 7, 11]
Generated Node #0,3: 24:[9, 7, 11] Operation: 29-18=11
Moving to Node #0,3
Current State: 24:[9, 7, 11], Operations: ['29-18=11']
Exploring Operation: 9+7=16, Resulting Numbers: [11, 16]
Generated Node #0,3,0: 24:[11, 16] Operation: 9+7=16
Exploring Operation: 11-9=2, Resulting Numbers: [7, 2]
Generated Node #0,3,1: 24:[7, 2] Operation: 11-9=2
Exploring Operation: 11-7=4, Resulting Numbers: [9, 4]
Generated Node #0,3,2: 24:[9, 4] Operation: 11-7=4
Exploring Operation: 9-7=2, Resulting Numbers: [11, 2]
Generated Node #0,3,3: 24:[11, 2] Operation: 9-7=2
Moving to Node #0,1
Current State: 24:[7, 29, 2], Operations: ['18/9=2']
Exploring Operation: 7-2=5, Resulting Numbers: [29, 5]
Generated Node #0,1,0: 24:[29, 5] Operation: 7-2=5
Exploring Operation: 29-7=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 24:[2, 22] Operation: 29-7=22
Exploring Operation: 29-2=27, Resulting Numbers: [7, 27]
Generated Node #0,1,2: 24:[7, 27] Operation: 29-2=27
Exploring Operation: 7+2=9, Resulting Numbers: [29, 9]
Generated Node #0,1,3: 24:[29, 9] Operation: 7+2=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[2, 22], Operations: ['18/9=2', '29-7=22']
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[9, 7, 29, 18], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [7, 29, 2]
Generated Node #0,1: 24:[7, 29, 2] Operation: 18/9=2
Moving to Node #0,1
Current State: 24:[7, 29, 2], Operations: ['18/9=2']
Exploring Operation: 29-7=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 24:[2, 22] Operation: 29-7=22
Moving to Node #0,1,1
Current State: 24:[2, 22], Operations: ['18/9=2', '29-7=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
2,
28,
89,
96
] | 37 | [
"2+28=30",
"96-89=7",
"30+7=37"
] | Current State: 37:[2, 28, 89, 96], Operations: []
Exploring Operation: 2+28=30, Resulting Numbers: [89, 96, 30]
Generated Node #2: [89, 96, 30] from Operation: 2+28=30
Current State: 37:[89, 96, 30], Operations: ['2+28=30']
Exploring Operation: 96-89=7, Resulting Numbers: [30, 7]
Generated Node #3: [30, 7] from Operation: 96-89=7
Current State: 37:[30, 7], Operations: ['2+28=30', '96-89=7']
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[2, 28, 89, 96], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [28, 89, 48]
Generated Node #0,0: 37:[28, 89, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[28, 89, 48], Operations: ['96/2=48']
Exploring Operation: 89-48=41, Resulting Numbers: [28, 41]
Generated Node #0,0,0: 37:[28, 41] Operation: 89-48=41
Moving to Node #0,0,0
Current State: 37:[28, 41], Operations: ['96/2=48', '89-48=41']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
7,
21,
17
] | 95 | [
"3+21=24",
"7*17=119",
"119-24=95"
] | Current State: 95:[3, 7, 21, 17], Operations: []
Exploring Operation: 3+21=24, Resulting Numbers: [7, 17, 24]
Generated Node #2: [7, 17, 24] from Operation: 3+21=24
Current State: 95:[7, 17, 24], Operations: ['3+21=24']
Exploring Operation: 7*17=119, Resulting Numbers: [24, 119]
Generated Node #3: [24, 119] from Operation: 7*17=119
Current State: 95:[24, 119], Operations: ['3+21=24', '7*17=119']
Exploring Operation: 119-24=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[3, 7, 21, 17], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [21, 17, 4]
Generated Node #0,0: 95:[21, 17, 4] Operation: 7-3=4
Exploring Operation: 21-3=18, Resulting Numbers: [7, 17, 18]
Generated Node #0,1: 95:[7, 17, 18] Operation: 21-3=18
Moving to Node #0,0
Current State: 95:[21, 17, 4], Operations: ['7-3=4']
Exploring Operation: 21-17=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 95:[4, 4] Operation: 21-17=4
Exploring Operation: 21-4=17, Resulting Numbers: [17, 17]
Generated Node #0,0,1: 95:[17, 17] Operation: 21-4=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[4, 4], Operations: ['7-3=4', '21-17=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[17, 17], Operations: ['7-3=4', '21-4=17']
Exploring Operation: 17/17=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 17-17=0, Resulting Numbers: [0]
0,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:[7, 17, 18], Operations: ['21-3=18']
Exploring Operation: 17-7=10, Resulting Numbers: [18, 10]
Generated Node #0,1,0: 95:[18, 10] Operation: 17-7=10
Exploring Operation: 7+17=24, Resulting Numbers: [18, 24]
Generated Node #0,1,1: 95:[18, 24] Operation: 7+17=24
Moving to Node #0,1,0
Current State: 95:[18, 10], Operations: ['21-3=18', '17-7=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[18, 24], Operations: ['21-3=18', '7+17=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,95 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
51,
48,
78
] | 89 | [
"51-48=3",
"33/3=11",
"78+11=89"
] | Current State: 89:[33, 51, 48, 78], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [33, 78, 3]
Generated Node #2: [33, 78, 3] from Operation: 51-48=3
Current State: 89:[33, 78, 3], Operations: ['51-48=3']
Exploring Operation: 33/3=11, Resulting Numbers: [78, 11]
Generated Node #3: [78, 11] from Operation: 33/3=11
Current State: 89:[78, 11], Operations: ['51-48=3', '33/3=11']
Exploring Operation: 78+11=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[33, 51, 48, 78], Operations: []
Exploring Operation: 33+51=84, Resulting Numbers: [48, 78, 84]
Generated Node #0,0: 89:[48, 78, 84] Operation: 33+51=84
Exploring Operation: 33+48=81, Resulting Numbers: [51, 78, 81]
Generated Node #0,1: 89:[51, 78, 81] Operation: 33+48=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[48, 78, 84], Operations: ['33+51=84']
Exploring Operation: 48+78=126, Resulting Numbers: [84, 126]
Generated Node #0,0,0: 89:[84, 126] Operation: 48+78=126
Exploring Operation: 48+84=132, Resulting Numbers: [78, 132]
Generated Node #0,0,1: 89:[78, 132] Operation: 48+84=132
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[84, 126], Operations: ['33+51=84', '48+78=126']
Exploring Operation: 126-84=42, Resulting Numbers: [42]
42,89 unequal: No Solution
Exploring Operation: 84+126=210, Resulting Numbers: [210]
210,89 unequal: No Solution
No 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: 89:[78, 132], Operations: ['33+51=84', '48+84=132']
Exploring Operation: 78+132=210, Resulting Numbers: [210]
210,89 unequal: No Solution
Exploring Operation: 132-78=54, Resulting Numbers: [54]
54,89 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: 89:[51, 78, 81], Operations: ['33+48=81']
Exploring Operation: 51+78=129, Resulting Numbers: [81, 129]
Generated Node #0,1,0: 89:[81, 129] Operation: 51+78=129
Exploring Operation: 51+81=132, Resulting Numbers: [78, 132]
Generated Node #0,1,1: 89:[78, 132] Operation: 51+81=132
Moving to Node #0,1,0
Current State: 89:[81, 129], Operations: ['33+48=81', '51+78=129']
Exploring Operation: 81+129=210, Resulting Numbers: [210]
210,89 unequal: No Solution
Exploring Operation: 129-81=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[78, 132], Operations: ['33+48=81', '51+81=132']
Exploring Operation: 78+132=210, Resulting Numbers: [210]
210,89 unequal: No Solution
Exploring Operation: 132-78=54, Resulting Numbers: [54]
54,89 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 |
[
98,
9,
12,
4
] | 86 | [
"98-9=89",
"12/4=3",
"89-3=86"
] | Current State: 86:[98, 9, 12, 4], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [12, 4, 89]
Generated Node #2: [12, 4, 89] from Operation: 98-9=89
Current State: 86:[12, 4, 89], Operations: ['98-9=89']
Exploring Operation: 12/4=3, Resulting Numbers: [89, 3]
Generated Node #3: [89, 3] from Operation: 12/4=3
Current State: 86:[89, 3], Operations: ['98-9=89', '12/4=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[98, 9, 12, 4], Operations: []
Exploring Operation: 98-12=86, Resulting Numbers: [9, 4, 86]
Generated Node #0,0: 86:[9, 4, 86] Operation: 98-12=86
Exploring Operation: 12-9=3, Resulting Numbers: [98, 4, 3]
Generated Node #0,1: 86:[98, 4, 3] Operation: 12-9=3
Exploring Operation: 98-9=89, Resulting Numbers: [12, 4, 89]
Generated Node #0,2: 86:[12, 4, 89] Operation: 98-9=89
Exploring Operation: 12/4=3, Resulting Numbers: [98, 9, 3]
Generated Node #0,3: 86:[98, 9, 3] Operation: 12/4=3
Exploring Operation: 12*4=48, Resulting Numbers: [98, 9, 48]
Generated Node #0,4: 86:[98, 9, 48] Operation: 12*4=48
Moving to Node #0,0
Current State: 86:[9, 4, 86], Operations: ['98-12=86']
Exploring Operation: 86-9=77, Resulting Numbers: [4, 77]
Generated Node #0,0,0: 86:[4, 77] Operation: 86-9=77
Exploring Operation: 9+4=13, Resulting Numbers: [86, 13]
Generated Node #0,0,1: 86:[86, 13] Operation: 9+4=13
Exploring Operation: 9-4=5, Resulting Numbers: [86, 5]
Generated Node #0,0,2: 86:[86, 5] Operation: 9-4=5
Exploring Operation: 9*4=36, Resulting Numbers: [86, 36]
Generated Node #0,0,3: 86:[86, 36] Operation: 9*4=36
Exploring Operation: 9+86=95, Resulting Numbers: [4, 95]
Generated Node #0,0,4: 86:[4, 95] Operation: 9+86=95
Moving to Node #0,2
Current State: 86:[12, 4, 89], Operations: ['98-9=89']
Exploring Operation: 89-12=77, Resulting Numbers: [4, 77]
Generated Node #0,2,0: 86:[4, 77] Operation: 89-12=77
Exploring Operation: 12/4=3, Resulting Numbers: [89, 3]
Generated Node #0,2,1: 86:[89, 3] Operation: 12/4=3
Exploring Operation: 12-4=8, Resulting Numbers: [89, 8]
Generated Node #0,2,2: 86:[89, 8] Operation: 12-4=8
Exploring Operation: 12*4=48, Resulting Numbers: [89, 48]
Generated Node #0,2,3: 86:[89, 48] Operation: 12*4=48
Exploring Operation: 89-4=85, Resulting Numbers: [12, 85]
Generated Node #0,2,4: 86:[12, 85] Operation: 89-4=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[89, 3], Operations: ['98-9=89', '12/4=3']
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,86 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[98, 9, 12, 4], Operations: []
Exploring Operation: 98-9=89, Resulting Numbers: [12, 4, 89]
Generated Node #0,2: 86:[12, 4, 89] Operation: 98-9=89
Moving to Node #0,2
Current State: 86:[12, 4, 89], Operations: ['98-9=89']
Exploring Operation: 12/4=3, Resulting Numbers: [89, 3]
Generated Node #0,2,1: 86:[89, 3] Operation: 12/4=3
Moving to Node #0,2,1
Current State: 86:[89, 3], Operations: ['98-9=89', '12/4=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
2,
98,
25,
23
] | 71 | [
"2*25=50",
"98+23=121",
"121-50=71"
] | Current State: 71:[2, 98, 25, 23], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [98, 23, 50]
Generated Node #2: [98, 23, 50] from Operation: 2*25=50
Current State: 71:[98, 23, 50], Operations: ['2*25=50']
Exploring Operation: 98+23=121, Resulting Numbers: [50, 121]
Generated Node #3: [50, 121] from Operation: 98+23=121
Current State: 71:[50, 121], Operations: ['2*25=50', '98+23=121']
Exploring Operation: 121-50=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 98, 25, 23], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [25, 23, 49]
Generated Node #0,0: 71:[25, 23, 49] Operation: 98/2=49
Exploring Operation: 2*25=50, Resulting Numbers: [98, 23, 50]
Generated Node #0,1: 71:[98, 23, 50] Operation: 2*25=50
Exploring Operation: 98-2=96, Resulting Numbers: [25, 23, 96]
Generated Node #0,2: 71:[25, 23, 96] Operation: 98-2=96
Exploring Operation: 2*23=46, Resulting Numbers: [98, 25, 46]
Generated Node #0,3: 71:[98, 25, 46] Operation: 2*23=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[98, 23, 50], Operations: ['2*25=50']
Exploring Operation: 98-23=75, Resulting Numbers: [50, 75]
Generated Node #0,1,0: 71:[50, 75] Operation: 98-23=75
Exploring Operation: 98+23=121, Resulting Numbers: [50, 121]
Generated Node #0,1,1: 71:[50, 121] Operation: 98+23=121
Exploring Operation: 23+50=73, Resulting Numbers: [98, 73]
Generated Node #0,1,2: 71:[98, 73] Operation: 23+50=73
Exploring Operation: 98-50=48, Resulting Numbers: [23, 48]
Generated Node #0,1,3: 71:[23, 48] Operation: 98-50=48
Moving to Node #0,1,0
Current State: 71:[50, 75], Operations: ['2*25=50', '98-23=75']
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,71 unequal: No Solution
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,71 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[98, 73], Operations: ['2*25=50', '23+50=73']
Exploring Operation: 98+73=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 98*73=7154, Resulting Numbers: [7154]
7154,71 unequal: No Solution
Exploring Operation: 98-73=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[23, 48], Operations: ['2*25=50', '98-50=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,71 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[2, 98, 25, 23], Operations: []
Exploring Operation: 2*25=50, Resulting Numbers: [98, 23, 50]
Generated Node #0,1: 71:[98, 23, 50] Operation: 2*25=50
Moving to Node #0,1
Current State: 71:[98, 23, 50], Operations: ['2*25=50']
Exploring Operation: 98-50=48, Resulting Numbers: [23, 48]
Generated Node #0,1,3: 71:[23, 48] Operation: 98-50=48
Moving to Node #0,1,3
Current State: 71:[23, 48], Operations: ['2*25=50', '98-50=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
82,
21,
41,
63
] | 40 | [
"82/41=2",
"63-21=42",
"42-2=40"
] | Current State: 40:[82, 21, 41, 63], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [21, 63, 2]
Generated Node #2: [21, 63, 2] from Operation: 82/41=2
Current State: 40:[21, 63, 2], Operations: ['82/41=2']
Exploring Operation: 63-21=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 63-21=42
Current State: 40:[2, 42], Operations: ['82/41=2', '63-21=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[82, 21, 41, 63], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [21, 41, 19]
Generated Node #0,0: 40:[21, 41, 19] Operation: 82-63=19
Exploring Operation: 82-41=41, Resulting Numbers: [21, 63, 41]
Generated Node #0,1: 40:[21, 63, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [21, 63, 2]
Generated Node #0,2: 40:[21, 63, 2] Operation: 82/41=2
Exploring Operation: 63/21=3, Resulting Numbers: [82, 41, 3]
Generated Node #0,3: 40:[82, 41, 3] Operation: 63/21=3
Exploring Operation: 82-21=61, Resulting Numbers: [41, 63, 61]
Generated Node #0,4: 40:[41, 63, 61] Operation: 82-21=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[21, 41, 19], Operations: ['82-63=19']
Exploring Operation: 21-19=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 40:[41, 2] Operation: 21-19=2
Exploring Operation: 41-19=22, Resulting Numbers: [21, 22]
Generated Node #0,0,1: 40:[21, 22] Operation: 41-19=22
Exploring Operation: 21+19=40, Resulting Numbers: [41, 40]
Generated Node #0,0,2: 40:[41, 40] Operation: 21+19=40
Exploring Operation: 41+19=60, Resulting Numbers: [21, 60]
Generated Node #0,0,3: 40:[21, 60] Operation: 41+19=60
Exploring Operation: 41-21=20, Resulting Numbers: [19, 20]
Generated Node #0,0,4: 40:[19, 20] Operation: 41-21=20
Moving to Node #0,0,0
Current State: 40:[41, 2], Operations: ['82-63=19', '21-19=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,40 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Moving to Node #0,0,4
Current State: 40:[19, 20], Operations: ['82-63=19', '41-21=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,40 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[41, 40], Operations: ['82-63=19', '21+19=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[21, 22], Operations: ['82-63=19', '41-19=22']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[21, 60], Operations: ['82-63=19', '41+19=60']
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,40 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,40 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[21, 63, 2], Operations: ['82/41=2']
Exploring Operation: 63/21=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 40:[2, 3] Operation: 63/21=3
Exploring Operation: 21*2=42, Resulting Numbers: [63, 42]
Generated Node #0,2,1: 40:[63, 42] Operation: 21*2=42
Exploring Operation: 63-21=42, Resulting Numbers: [2, 42]
Generated Node #0,2,2: 40:[2, 42] Operation: 63-21=42
Exploring Operation: 21-2=19, Resulting Numbers: [63, 19]
Generated Node #0,2,3: 40:[63, 19] Operation: 21-2=19
Exploring Operation: 63-2=61, Resulting Numbers: [21, 61]
Generated Node #0,2,4: 40:[21, 61] Operation: 63-2=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[2, 3], Operations: ['82/41=2', '63/21=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[2, 42], Operations: ['82/41=2', '63-21=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[82, 21, 41, 63], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [21, 63, 2]
Generated Node #0,2: 40:[21, 63, 2] Operation: 82/41=2
Moving to Node #0,2
Current State: 40:[21, 63, 2], Operations: ['82/41=2']
Exploring Operation: 63-21=42, Resulting Numbers: [2, 42]
Generated Node #0,2,2: 40:[2, 42] Operation: 63-21=42
Moving to Node #0,2,2
Current State: 40:[2, 42], Operations: ['82/41=2', '63-21=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
1,
65,
16,
67
] | 32 | [
"1*65=65",
"67-65=2",
"16*2=32"
] | Current State: 32:[1, 65, 16, 67], Operations: []
Exploring Operation: 1*65=65, Resulting Numbers: [16, 67, 65]
Generated Node #2: [16, 67, 65] from Operation: 1*65=65
Current State: 32:[16, 67, 65], Operations: ['1*65=65']
Exploring Operation: 67-65=2, Resulting Numbers: [16, 2]
Generated Node #3: [16, 2] from Operation: 67-65=2
Current State: 32:[16, 2], Operations: ['1*65=65', '67-65=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[1, 65, 16, 67], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [1, 67, 49]
Generated Node #0,0: 32:[1, 67, 49] Operation: 65-16=49
Exploring Operation: 67-16=51, Resulting Numbers: [1, 65, 51]
Generated Node #0,1: 32:[1, 65, 51] Operation: 67-16=51
Exploring Operation: 67-65=2, Resulting Numbers: [1, 16, 2]
Generated Node #0,2: 32:[1, 16, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[1, 16, 2], Operations: ['67-65=2']
Exploring Operation: 1*2=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 32:[16, 2] Operation: 1*2=2
Exploring Operation: 16/1=16, Resulting Numbers: [2, 16]
Generated Node #0,2,1: 32:[2, 16] Operation: 16/1=16
Exploring Operation: 1*16=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 32:[2, 16] Operation: 1*16=16
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[16, 2], Operations: ['67-65=2', '1*2=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[1, 65, 16, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [1, 16, 2]
Generated Node #0,2: 32:[1, 16, 2] Operation: 67-65=2
Moving to Node #0,2
Current State: 32:[1, 16, 2], Operations: ['67-65=2']
Exploring Operation: 1*2=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 32:[16, 2] Operation: 1*2=2
Moving to Node #0,2,0
Current State: 32:[16, 2], Operations: ['67-65=2', '1*2=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
73,
24,
12,
28
] | 70 | [
"28-24=4",
"12/4=3",
"73-3=70"
] | Current State: 70:[73, 24, 12, 28], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [73, 12, 4]
Generated Node #2: [73, 12, 4] from Operation: 28-24=4
Current State: 70:[73, 12, 4], Operations: ['28-24=4']
Exploring Operation: 12/4=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 12/4=3
Current State: 70:[73, 3], Operations: ['28-24=4', '12/4=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[73, 24, 12, 28], Operations: []
Exploring Operation: 28-24=4, Resulting Numbers: [73, 12, 4]
Generated Node #0,0: 70:[73, 12, 4] Operation: 28-24=4
Exploring Operation: 24/12=2, Resulting Numbers: [73, 28, 2]
Generated Node #0,1: 70:[73, 28, 2] Operation: 24/12=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[73, 12, 4], Operations: ['28-24=4']
Exploring Operation: 73-4=69, Resulting Numbers: [12, 69]
Generated Node #0,0,0: 70:[12, 69] Operation: 73-4=69
Exploring Operation: 12-4=8, Resulting Numbers: [73, 8]
Generated Node #0,0,1: 70:[73, 8] Operation: 12-4=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[12, 69], Operations: ['28-24=4', '73-4=69']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,70 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[73, 8], Operations: ['28-24=4', '12-4=8']
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[73, 28, 2], Operations: ['24/12=2']
Exploring Operation: 28/2=14, Resulting Numbers: [73, 14]
Generated Node #0,1,0: 70:[73, 14] Operation: 28/2=14
Exploring Operation: 73-2=71, Resulting Numbers: [28, 71]
Generated Node #0,1,1: 70:[28, 71] Operation: 73-2=71
Moving to Node #0,1,0
Current State: 70:[73, 14], Operations: ['24/12=2', '28/2=14']
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[28, 71], Operations: ['24/12=2', '73-2=71']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,70 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 |
[
65,
38,
79,
26
] | 50 | [
"65+38=103",
"79-26=53",
"103-53=50"
] | Current State: 50:[65, 38, 79, 26], Operations: []
Exploring Operation: 65+38=103, Resulting Numbers: [79, 26, 103]
Generated Node #2: [79, 26, 103] from Operation: 65+38=103
Current State: 50:[79, 26, 103], Operations: ['65+38=103']
Exploring Operation: 79-26=53, Resulting Numbers: [103, 53]
Generated Node #3: [103, 53] from Operation: 79-26=53
Current State: 50:[103, 53], Operations: ['65+38=103', '79-26=53']
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[65, 38, 79, 26], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [38, 26, 14]
Generated Node #0,0: 50:[38, 26, 14] Operation: 79-65=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[38, 26, 14], Operations: ['79-65=14']
Exploring Operation: 38-14=24, Resulting Numbers: [26, 24]
Generated Node #0,0,0: 50:[26, 24] Operation: 38-14=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[26, 24], Operations: ['79-65=14', '38-14=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[65, 38, 79, 26], Operations: []
Exploring Operation: 79-65=14, Resulting Numbers: [38, 26, 14]
Generated Node #0,0: 50:[38, 26, 14] Operation: 79-65=14
Moving to Node #0,0
Current State: 50:[38, 26, 14], Operations: ['79-65=14']
Exploring Operation: 38-14=24, Resulting Numbers: [26, 24]
Generated Node #0,0,0: 50:[26, 24] Operation: 38-14=24
Moving to Node #0,0,0
Current State: 50:[26, 24], Operations: ['79-65=14', '38-14=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
7,
15,
95,
28
] | 45 | [
"7+15=22",
"95-28=67",
"67-22=45"
] | Current State: 45:[7, 15, 95, 28], Operations: []
Exploring Operation: 7+15=22, Resulting Numbers: [95, 28, 22]
Generated Node #2: [95, 28, 22] from Operation: 7+15=22
Current State: 45:[95, 28, 22], Operations: ['7+15=22']
Exploring Operation: 95-28=67, Resulting Numbers: [22, 67]
Generated Node #3: [22, 67] from Operation: 95-28=67
Current State: 45:[22, 67], Operations: ['7+15=22', '95-28=67']
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[7, 15, 95, 28], Operations: []
Exploring Operation: 28/7=4, Resulting Numbers: [15, 95, 4]
Generated Node #0,0: 45:[15, 95, 4] Operation: 28/7=4
Exploring Operation: 95-28=67, Resulting Numbers: [7, 15, 67]
Generated Node #0,1: 45:[7, 15, 67] Operation: 95-28=67
Exploring Operation: 95-15=80, Resulting Numbers: [7, 28, 80]
Generated Node #0,2: 45:[7, 28, 80] Operation: 95-15=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[7, 15, 67], Operations: ['95-28=67']
Exploring Operation: 15-7=8, Resulting Numbers: [67, 8]
Generated Node #0,1,0: 45:[67, 8] Operation: 15-7=8
Exploring Operation: 67-15=52, Resulting Numbers: [7, 52]
Generated Node #0,1,1: 45:[7, 52] Operation: 67-15=52
Exploring Operation: 67-7=60, Resulting Numbers: [15, 60]
Generated Node #0,1,2: 45:[15, 60] Operation: 67-7=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[7, 52], Operations: ['95-28=67', '67-15=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[7, 15, 95, 28], Operations: []
Exploring Operation: 95-28=67, Resulting Numbers: [7, 15, 67]
Generated Node #0,1: 45:[7, 15, 67] Operation: 95-28=67
Moving to Node #0,1
Current State: 45:[7, 15, 67], Operations: ['95-28=67']
Exploring Operation: 67-15=52, Resulting Numbers: [7, 52]
Generated Node #0,1,1: 45:[7, 52] Operation: 67-15=52
Moving to Node #0,1,1
Current State: 45:[7, 52], Operations: ['95-28=67', '67-15=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
75,
10,
80,
70
] | 90 | [
"80+70=150",
"150/10=15",
"75+15=90"
] | Current State: 90:[75, 10, 80, 70], Operations: []
Exploring Operation: 80+70=150, Resulting Numbers: [75, 10, 150]
Generated Node #2: [75, 10, 150] from Operation: 80+70=150
Current State: 90:[75, 10, 150], Operations: ['80+70=150']
Exploring Operation: 150/10=15, Resulting Numbers: [75, 15]
Generated Node #3: [75, 15] from Operation: 150/10=15
Current State: 90:[75, 15], Operations: ['80+70=150', '150/10=15']
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[75, 10, 80, 70], Operations: []
Exploring Operation: 75-70=5, Resulting Numbers: [10, 80, 5]
Generated Node #0,0: 90:[10, 80, 5] Operation: 75-70=5
Exploring Operation: 80-70=10, Resulting Numbers: [75, 10, 10]
Generated Node #0,1: 90:[75, 10, 10] Operation: 80-70=10
Exploring Operation: 80-75=5, Resulting Numbers: [10, 70, 5]
Generated Node #0,2: 90:[10, 70, 5] Operation: 80-75=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[10, 80, 5], Operations: ['75-70=5']
Exploring Operation: 80/5=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 90:[10, 16] Operation: 80/5=16
Exploring Operation: 80/10=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 90:[5, 8] Operation: 80/10=8
Exploring Operation: 10+80=90, Resulting Numbers: [5, 90]
Generated Node #0,0,2: 90:[5, 90] Operation: 10+80=90
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[5, 90], Operations: ['75-70=5', '10+80=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,90 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No 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: 90:[10, 16], Operations: ['75-70=5', '80/5=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,90 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,90 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No 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: 90:[5, 8], Operations: ['75-70=5', '80/10=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,90 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: 90:[75, 10, 10], Operations: ['80-70=10']
Exploring Operation: 75+10=85, Resulting Numbers: [10, 85]
Generated Node #0,1,0: 90:[10, 85] Operation: 75+10=85
Exploring Operation: 75+10=85, Resulting Numbers: [10, 85]
Generated Node #0,1,1: 90:[10, 85] Operation: 75+10=85
Exploring Operation: 10/10=1, Resulting Numbers: [75, 1]
Generated Node #0,1,2: 90:[75, 1] Operation: 10/10=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[10, 85], Operations: ['80-70=10', '75+10=85']
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,90 unequal: No Solution
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,90 unequal: No Solution
No 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: 90:[10, 85], Operations: ['80-70=10', '75+10=85']
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,90 unequal: No Solution
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,90 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,90 unequal: No Solution
No 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: 90:[75, 1], Operations: ['80-70=10', '10/10=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,90 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: 90:[10, 70, 5], Operations: ['80-75=5']
Exploring Operation: 10+70=80, Resulting Numbers: [5, 80]
Generated Node #0,2,0: 90:[5, 80] Operation: 10+70=80
Exploring Operation: 70/5=14, Resulting Numbers: [10, 14]
Generated Node #0,2,1: 90:[10, 14] Operation: 70/5=14
Exploring Operation: 70/10=7, Resulting Numbers: [5, 7]
Generated Node #0,2,2: 90:[5, 7] Operation: 70/10=7
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[10, 14], Operations: ['80-75=5', '70/5=14']
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,90 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,90 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No 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: 90:[5, 7], Operations: ['80-75=5', '70/10=7']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,90 unequal: No Solution
No 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: 90:[5, 80], Operations: ['80-75=5', '10+70=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
36,
6,
62,
53
] | 39 | [
"36-6=30",
"62-53=9",
"30+9=39"
] | Current State: 39:[36, 6, 62, 53], Operations: []
Exploring Operation: 36-6=30, Resulting Numbers: [62, 53, 30]
Generated Node #2: [62, 53, 30] from Operation: 36-6=30
Current State: 39:[62, 53, 30], Operations: ['36-6=30']
Exploring Operation: 62-53=9, Resulting Numbers: [30, 9]
Generated Node #3: [30, 9] from Operation: 62-53=9
Current State: 39:[30, 9], Operations: ['36-6=30', '62-53=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[36, 6, 62, 53], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [6, 62, 17]
Generated Node #0,0: 39:[6, 62, 17] Operation: 53-36=17
Exploring Operation: 62-36=26, Resulting Numbers: [6, 53, 26]
Generated Node #0,1: 39:[6, 53, 26] Operation: 62-36=26
Exploring Operation: 62-53=9, Resulting Numbers: [36, 6, 9]
Generated Node #0,2: 39:[36, 6, 9] Operation: 62-53=9
Moving to Node #0,2
Current State: 39:[36, 6, 9], Operations: ['62-53=9']
Exploring Operation: 9-6=3, Resulting Numbers: [36, 3]
Generated Node #0,2,0: 39:[36, 3] Operation: 9-6=3
Exploring Operation: 36/9=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 39:[6, 4] Operation: 36/9=4
Exploring Operation: 6+9=15, Resulting Numbers: [36, 15]
Generated Node #0,2,2: 39:[36, 15] Operation: 6+9=15
Moving to Node #0,0
Current State: 39:[6, 62, 17], Operations: ['53-36=17']
Exploring Operation: 62-17=45, Resulting Numbers: [6, 45]
Generated Node #0,0,0: 39:[6, 45] Operation: 62-17=45
Exploring Operation: 17-6=11, Resulting Numbers: [62, 11]
Generated Node #0,0,1: 39:[62, 11] Operation: 17-6=11
Exploring Operation: 62-6=56, Resulting Numbers: [17, 56]
Generated Node #0,0,2: 39:[17, 56] Operation: 62-6=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[6, 45], Operations: ['53-36=17', '62-17=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,39 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[36, 6, 62, 53], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [6, 62, 17]
Generated Node #0,0: 39:[6, 62, 17] Operation: 53-36=17
Moving to Node #0,0
Current State: 39:[6, 62, 17], Operations: ['53-36=17']
Exploring Operation: 62-17=45, Resulting Numbers: [6, 45]
Generated Node #0,0,0: 39:[6, 45] Operation: 62-17=45
Moving to Node #0,0,0
Current State: 39:[6, 45], Operations: ['53-36=17', '62-17=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
98,
98,
32,
45
] | 77 | [
"98-98=0",
"32+45=77",
"0+77=77"
] | Current State: 77:[98, 98, 32, 45], Operations: []
Exploring Operation: 98-98=0, Resulting Numbers: [32, 45, 0]
Generated Node #2: [32, 45, 0] from Operation: 98-98=0
Current State: 77:[32, 45, 0], Operations: ['98-98=0']
Exploring Operation: 32+45=77, Resulting Numbers: [0, 77]
Generated Node #3: [0, 77] from Operation: 32+45=77
Current State: 77:[0, 77], Operations: ['98-98=0', '32+45=77']
Exploring Operation: 0+77=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[98, 98, 32, 45], Operations: []
Exploring Operation: 45-32=13, Resulting Numbers: [98, 98, 13]
Generated Node #0,0: 77:[98, 98, 13] Operation: 45-32=13
Exploring Operation: 32+45=77, Resulting Numbers: [98, 98, 77]
Generated Node #0,1: 77:[98, 98, 77] Operation: 32+45=77
Moving to Node #0,1
Current State: 77:[98, 98, 77], Operations: ['32+45=77']
Exploring Operation: 98-98=0, Resulting Numbers: [77, 0]
Generated Node #0,1,0: 77:[77, 0] Operation: 98-98=0
Exploring Operation: 98/98=1, Resulting Numbers: [77, 1]
Generated Node #0,1,1: 77:[77, 1] Operation: 98/98=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[77, 1], Operations: ['32+45=77', '98/98=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[98, 98, 32, 45], Operations: []
Exploring Operation: 32+45=77, Resulting Numbers: [98, 98, 77]
Generated Node #0,1: 77:[98, 98, 77] Operation: 32+45=77
Moving to Node #0,1
Current State: 77:[98, 98, 77], Operations: ['32+45=77']
Exploring Operation: 98/98=1, Resulting Numbers: [77, 1]
Generated Node #0,1,1: 77:[77, 1] Operation: 98/98=1
Moving to Node #0,1,1
Current State: 77:[77, 1], Operations: ['32+45=77', '98/98=1']
Exploring Operation: 77*1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
4,
66,
57,
42
] | 77 | [
"66-4=62",
"57-42=15",
"62+15=77"
] | Current State: 77:[4, 66, 57, 42], Operations: []
Exploring Operation: 66-4=62, Resulting Numbers: [57, 42, 62]
Generated Node #2: [57, 42, 62] from Operation: 66-4=62
Current State: 77:[57, 42, 62], Operations: ['66-4=62']
Exploring Operation: 57-42=15, Resulting Numbers: [62, 15]
Generated Node #3: [62, 15] from Operation: 57-42=15
Current State: 77:[62, 15], Operations: ['66-4=62', '57-42=15']
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 66, 57, 42], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [4, 66, 15]
Generated Node #0,0: 77:[4, 66, 15] Operation: 57-42=15
Moving to Node #0,0
Current State: 77:[4, 66, 15], Operations: ['57-42=15']
Exploring Operation: 66+15=81, Resulting Numbers: [4, 81]
Generated Node #0,0,0: 77:[4, 81] Operation: 66+15=81
Moving to Node #0,0,0
Current State: 77:[4, 81], Operations: ['57-42=15', '66+15=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[4, 66, 57, 42], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [4, 66, 15]
Generated Node #0,0: 77:[4, 66, 15] Operation: 57-42=15
Moving to Node #0,0
Current State: 77:[4, 66, 15], Operations: ['57-42=15']
Exploring Operation: 66+15=81, Resulting Numbers: [4, 81]
Generated Node #0,0,0: 77:[4, 81] Operation: 66+15=81
Moving to Node #0,0,0
Current State: 77:[4, 81], Operations: ['57-42=15', '66+15=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
16,
54,
34,
49
] | 10 | [
"16+34=50",
"54-49=5",
"50/5=10"
] | Current State: 10:[16, 54, 34, 49], Operations: []
Exploring Operation: 16+34=50, Resulting Numbers: [54, 49, 50]
Generated Node #2: [54, 49, 50] from Operation: 16+34=50
Current State: 10:[54, 49, 50], Operations: ['16+34=50']
Exploring Operation: 54-49=5, Resulting Numbers: [50, 5]
Generated Node #3: [50, 5] from Operation: 54-49=5
Current State: 10:[50, 5], Operations: ['16+34=50', '54-49=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[16, 54, 34, 49], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [16, 34, 5]
Generated Node #0,0: 10:[16, 34, 5] Operation: 54-49=5
Exploring Operation: 54-34=20, Resulting Numbers: [16, 49, 20]
Generated Node #0,1: 10:[16, 49, 20] Operation: 54-34=20
Exploring Operation: 54-16=38, Resulting Numbers: [34, 49, 38]
Generated Node #0,2: 10:[34, 49, 38] Operation: 54-16=38
Exploring Operation: 49-34=15, Resulting Numbers: [16, 54, 15]
Generated Node #0,3: 10:[16, 54, 15] Operation: 49-34=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[16, 34, 5], Operations: ['54-49=5']
Exploring Operation: 34-5=29, Resulting Numbers: [16, 29]
Generated Node #0,0,0: 10:[16, 29] Operation: 34-5=29
Exploring Operation: 16-5=11, Resulting Numbers: [34, 11]
Generated Node #0,0,1: 10:[34, 11] Operation: 16-5=11
Exploring Operation: 16+5=21, Resulting Numbers: [34, 21]
Generated Node #0,0,2: 10:[34, 21] Operation: 16+5=21
Exploring Operation: 34-16=18, Resulting Numbers: [5, 18]
Generated Node #0,0,3: 10:[5, 18] Operation: 34-16=18
Moving to Node #0,0,3
Current State: 10:[5, 18], Operations: ['54-49=5', '34-16=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[34, 11], Operations: ['54-49=5', '16-5=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[16, 29], Operations: ['54-49=5', '34-5=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,10 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[34, 21], Operations: ['54-49=5', '16+5=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 34*21=714, Resulting Numbers: [714]
714,10 unequal: No Solution
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[16, 49, 20], Operations: ['54-34=20']
Exploring Operation: 49-20=29, Resulting Numbers: [16, 29]
Generated Node #0,1,0: 10:[16, 29] Operation: 49-20=29
Exploring Operation: 16+49=65, Resulting Numbers: [20, 65]
Generated Node #0,1,1: 10:[20, 65] Operation: 16+49=65
Exploring Operation: 49-16=33, Resulting Numbers: [20, 33]
Generated Node #0,1,2: 10:[20, 33] Operation: 49-16=33
Exploring Operation: 20-16=4, Resulting Numbers: [49, 4]
Generated Node #0,1,3: 10:[49, 4] Operation: 20-16=4
Moving to Node #0,1,0
Current State: 10:[16, 29], Operations: ['54-34=20', '49-20=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[20, 33], Operations: ['54-34=20', '49-16=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,10 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[49, 4], Operations: ['54-34=20', '20-16=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,10 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[20, 65], Operations: ['54-34=20', '16+49=65']
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,10 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[16, 54, 15], Operations: ['49-34=15']
Exploring Operation: 54-16=38, Resulting Numbers: [15, 38]
Generated Node #0,3,0: 10:[15, 38] Operation: 54-16=38
Exploring Operation: 16+54=70, Resulting Numbers: [15, 70]
Generated Node #0,3,1: 10:[15, 70] Operation: 16+54=70
Exploring Operation: 16-15=1, Resulting Numbers: [54, 1]
Generated Node #0,3,2: 10:[54, 1] Operation: 16-15=1
Exploring Operation: 54-15=39, Resulting Numbers: [16, 39]
Generated Node #0,3,3: 10:[16, 39] Operation: 54-15=39
Moving to Node #0,3,0
Current State: 10:[15, 38], Operations: ['49-34=15', '54-16=38']
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,10 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[16, 39], Operations: ['49-34=15', '54-15=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 16*39=624, Resulting Numbers: [624]
624,10 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[54, 1], Operations: ['49-34=15', '16-15=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[15, 70], Operations: ['49-34=15', '16+54=70']
Exploring Operation: 15*70=1050, Resulting Numbers: [1050]
1050,10 unequal: No Solution
Exploring Operation: 15+70=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[34, 49, 38], Operations: ['54-16=38']
Exploring Operation: 38-34=4, Resulting Numbers: [49, 4]
Generated Node #0,2,0: 10:[49, 4] Operation: 38-34=4
Exploring Operation: 34+49=83, Resulting Numbers: [38, 83]
Generated Node #0,2,1: 10:[38, 83] Operation: 34+49=83
Exploring Operation: 49-34=15, Resulting Numbers: [38, 15]
Generated Node #0,2,2: 10:[38, 15] Operation: 49-34=15
Exploring Operation: 49-38=11, Resulting Numbers: [34, 11]
Generated Node #0,2,3: 10:[34, 11] Operation: 49-38=11
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[34, 11], Operations: ['54-16=38', '49-38=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[38, 15], Operations: ['54-16=38', '49-34=15']
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[49, 4], Operations: ['54-16=38', '38-34=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,10 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[38, 83], Operations: ['54-16=38', '34+49=83']
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,10 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,10 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
19,
19,
46,
1
] | 46 | [
"19-19=0",
"46*1=46",
"0+46=46"
] | Current State: 46:[19, 19, 46, 1], Operations: []
Exploring Operation: 19-19=0, Resulting Numbers: [46, 1, 0]
Generated Node #2: [46, 1, 0] from Operation: 19-19=0
Current State: 46:[46, 1, 0], Operations: ['19-19=0']
Exploring Operation: 46*1=46, Resulting Numbers: [0, 46]
Generated Node #3: [0, 46] from Operation: 46*1=46
Current State: 46:[0, 46], Operations: ['19-19=0', '46*1=46']
Exploring Operation: 0+46=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[19, 19, 46, 1], Operations: []
Exploring Operation: 19+1=20, Resulting Numbers: [19, 46, 20]
Generated Node #0,0: 46:[19, 46, 20] Operation: 19+1=20
Exploring Operation: 19+1=20, Resulting Numbers: [19, 46, 20]
Generated Node #0,1: 46:[19, 46, 20] Operation: 19+1=20
Exploring Operation: 19-19=0, Resulting Numbers: [46, 1, 0]
Generated Node #0,2: 46:[46, 1, 0] Operation: 19-19=0
Exploring Operation: 19/19=1, Resulting Numbers: [46, 1, 1]
Generated Node #0,3: 46:[46, 1, 1] Operation: 19/19=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[46, 1, 1], Operations: ['19/19=1']
Exploring Operation: 46*1=46, Resulting Numbers: [1, 46]
Generated Node #0,3,0: 46:[1, 46] Operation: 46*1=46
Exploring Operation: 46/1=46, Resulting Numbers: [1, 46]
Generated Node #0,3,1: 46:[1, 46] Operation: 46/1=46
Exploring Operation: 46*1=46, Resulting Numbers: [1, 46]
Generated Node #0,3,2: 46:[1, 46] Operation: 46*1=46
Exploring Operation: 1+1=2, Resulting Numbers: [46, 2]
Generated Node #0,3,3: 46:[46, 2] Operation: 1+1=2
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[46, 2], Operations: ['19/19=1', '1+1=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[1, 46], Operations: ['19/19=1', '46*1=46']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[19, 19, 46, 1], Operations: []
Exploring Operation: 19/19=1, Resulting Numbers: [46, 1, 1]
Generated Node #0,3: 46:[46, 1, 1] Operation: 19/19=1
Moving to Node #0,3
Current State: 46:[46, 1, 1], Operations: ['19/19=1']
Exploring Operation: 46*1=46, Resulting Numbers: [1, 46]
Generated Node #0,3,0: 46:[1, 46] Operation: 46*1=46
Moving to Node #0,3,0
Current State: 46:[1, 46], Operations: ['19/19=1', '46*1=46']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
46,
78,
88,
80
] | 24 | [
"78-46=32",
"88-80=8",
"32-8=24"
] | Current State: 24:[46, 78, 88, 80], Operations: []
Exploring Operation: 78-46=32, Resulting Numbers: [88, 80, 32]
Generated Node #2: [88, 80, 32] from Operation: 78-46=32
Current State: 24:[88, 80, 32], Operations: ['78-46=32']
Exploring Operation: 88-80=8, Resulting Numbers: [32, 8]
Generated Node #3: [32, 8] from Operation: 88-80=8
Current State: 24:[32, 8], Operations: ['78-46=32', '88-80=8']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[46, 78, 88, 80], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [46, 78, 8]
Generated Node #0,0: 24:[46, 78, 8] Operation: 88-80=8
Exploring Operation: 88-78=10, Resulting Numbers: [46, 80, 10]
Generated Node #0,1: 24:[46, 80, 10] Operation: 88-78=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[46, 78, 8], Operations: ['88-80=8']
Exploring Operation: 46-8=38, Resulting Numbers: [78, 38]
Generated Node #0,0,0: 24:[78, 38] Operation: 46-8=38
Exploring Operation: 78-46=32, Resulting Numbers: [8, 32]
Generated Node #0,0,1: 24:[8, 32] Operation: 78-46=32
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[8, 32], Operations: ['88-80=8', '78-46=32']
Exploring Operation: 32/8=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[46, 78, 88, 80], Operations: []
Exploring Operation: 88-80=8, Resulting Numbers: [46, 78, 8]
Generated Node #0,0: 24:[46, 78, 8] Operation: 88-80=8
Moving to Node #0,0
Current State: 24:[46, 78, 8], Operations: ['88-80=8']
Exploring Operation: 78-46=32, Resulting Numbers: [8, 32]
Generated Node #0,0,1: 24:[8, 32] Operation: 78-46=32
Moving to Node #0,0,1
Current State: 24:[8, 32], Operations: ['88-80=8', '78-46=32']
Exploring Operation: 32-8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
92,
27,
55,
94
] | 84 | [
"92-27=65",
"55+94=149",
"149-65=84"
] | Current State: 84:[92, 27, 55, 94], Operations: []
Exploring Operation: 92-27=65, Resulting Numbers: [55, 94, 65]
Generated Node #2: [55, 94, 65] from Operation: 92-27=65
Current State: 84:[55, 94, 65], Operations: ['92-27=65']
Exploring Operation: 55+94=149, Resulting Numbers: [65, 149]
Generated Node #3: [65, 149] from Operation: 55+94=149
Current State: 84:[65, 149], Operations: ['92-27=65', '55+94=149']
Exploring Operation: 149-65=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[92, 27, 55, 94], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [92, 27, 39]
Generated Node #0,0: 84:[92, 27, 39] Operation: 94-55=39
Exploring Operation: 55-27=28, Resulting Numbers: [92, 94, 28]
Generated Node #0,1: 84:[92, 94, 28] Operation: 55-27=28
Exploring Operation: 94-92=2, Resulting Numbers: [27, 55, 2]
Generated Node #0,2: 84:[27, 55, 2] Operation: 94-92=2
Exploring Operation: 92-55=37, Resulting Numbers: [27, 94, 37]
Generated Node #0,3: 84:[27, 94, 37] Operation: 92-55=37
Moving to Node #0,0
Current State: 84:[92, 27, 39], Operations: ['94-55=39']
Exploring Operation: 27+39=66, Resulting Numbers: [92, 66]
Generated Node #0,0,0: 84:[92, 66] Operation: 27+39=66
Exploring Operation: 92-27=65, Resulting Numbers: [39, 65]
Generated Node #0,0,1: 84:[39, 65] Operation: 92-27=65
Exploring Operation: 39-27=12, Resulting Numbers: [92, 12]
Generated Node #0,0,2: 84:[92, 12] Operation: 39-27=12
Exploring Operation: 92-39=53, Resulting Numbers: [27, 53]
Generated Node #0,0,3: 84:[27, 53] Operation: 92-39=53
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[92, 12], Operations: ['94-55=39', '39-27=12']
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 92+12=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 92*12=1104, Resulting Numbers: [1104]
1104,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[27, 53], Operations: ['94-55=39', '92-39=53']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 27+53=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 27*53=1431, Resulting Numbers: [1431]
1431,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[39, 65], Operations: ['94-55=39', '92-27=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,84 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,84 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[92, 66], Operations: ['94-55=39', '27+39=66']
Exploring Operation: 92*66=6072, Resulting Numbers: [6072]
6072,84 unequal: No Solution
Exploring Operation: 92+66=158, Resulting Numbers: [158]
158,84 unequal: No Solution
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 84:[27, 55, 2], Operations: ['94-92=2']
Exploring Operation: 27+55=82, Resulting Numbers: [2, 82]
Generated Node #0,2,0: 84:[2, 82] Operation: 27+55=82
Exploring Operation: 27+2=29, Resulting Numbers: [55, 29]
Generated Node #0,2,1: 84:[55, 29] Operation: 27+2=29
Exploring Operation: 55-2=53, Resulting Numbers: [27, 53]
Generated Node #0,2,2: 84:[27, 53] Operation: 55-2=53
Exploring Operation: 55-27=28, Resulting Numbers: [2, 28]
Generated Node #0,2,3: 84:[2, 28] Operation: 55-27=28
Moving to Node #0,3
Current State: 84:[27, 94, 37], Operations: ['92-55=37']
Exploring Operation: 37-27=10, Resulting Numbers: [94, 10]
Generated Node #0,3,0: 84:[94, 10] Operation: 37-27=10
Exploring Operation: 27+37=64, Resulting Numbers: [94, 64]
Generated Node #0,3,1: 84:[94, 64] Operation: 27+37=64
Exploring Operation: 94-37=57, Resulting Numbers: [27, 57]
Generated Node #0,3,2: 84:[27, 57] Operation: 94-37=57
Exploring Operation: 94-27=67, Resulting Numbers: [37, 67]
Generated Node #0,3,3: 84:[37, 67] Operation: 94-27=67
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[94, 10], Operations: ['92-55=37', '37-27=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[92, 27, 55, 94], Operations: []
Exploring Operation: 92-55=37, Resulting Numbers: [27, 94, 37]
Generated Node #0,3: 84:[27, 94, 37] Operation: 92-55=37
Moving to Node #0,3
Current State: 84:[27, 94, 37], Operations: ['92-55=37']
Exploring Operation: 37-27=10, Resulting Numbers: [94, 10]
Generated Node #0,3,0: 84:[94, 10] Operation: 37-27=10
Moving to Node #0,3,0
Current State: 84:[94, 10], Operations: ['92-55=37', '37-27=10']
Exploring Operation: 94-10=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
16,
89,
40,
39
] | 72 | [
"89-16=73",
"40-39=1",
"73-1=72"
] | Current State: 72:[16, 89, 40, 39], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [40, 39, 73]
Generated Node #2: [40, 39, 73] from Operation: 89-16=73
Current State: 72:[40, 39, 73], Operations: ['89-16=73']
Exploring Operation: 40-39=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 40-39=1
Current State: 72:[73, 1], Operations: ['89-16=73', '40-39=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[16, 89, 40, 39], Operations: []
Exploring Operation: 40-39=1, Resulting Numbers: [16, 89, 1]
Generated Node #0,0: 72:[16, 89, 1] Operation: 40-39=1
Exploring Operation: 89-16=73, Resulting Numbers: [40, 39, 73]
Generated Node #0,1: 72:[40, 39, 73] Operation: 89-16=73
Exploring Operation: 89-39=50, Resulting Numbers: [16, 40, 50]
Generated Node #0,2: 72:[16, 40, 50] Operation: 89-39=50
Exploring Operation: 89-40=49, Resulting Numbers: [16, 39, 49]
Generated Node #0,3: 72:[16, 39, 49] Operation: 89-40=49
Exploring Operation: 40-16=24, Resulting Numbers: [89, 39, 24]
Generated Node #0,4: 72:[89, 39, 24] Operation: 40-16=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[40, 39, 73], Operations: ['89-16=73']
Exploring Operation: 73-39=34, Resulting Numbers: [40, 34]
Generated Node #0,1,0: 72:[40, 34] Operation: 73-39=34
Exploring Operation: 40-39=1, Resulting Numbers: [73, 1]
Generated Node #0,1,1: 72:[73, 1] Operation: 40-39=1
Exploring Operation: 40+39=79, Resulting Numbers: [73, 79]
Generated Node #0,1,2: 72:[73, 79] Operation: 40+39=79
Exploring Operation: 40+73=113, Resulting Numbers: [39, 113]
Generated Node #0,1,3: 72:[39, 113] Operation: 40+73=113
Exploring Operation: 73-40=33, Resulting Numbers: [39, 33]
Generated Node #0,1,4: 72:[39, 33] Operation: 73-40=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[73, 1], Operations: ['89-16=73', '40-39=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,72 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[16, 89, 40, 39], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [40, 39, 73]
Generated Node #0,1: 72:[40, 39, 73] Operation: 89-16=73
Moving to Node #0,1
Current State: 72:[40, 39, 73], Operations: ['89-16=73']
Exploring Operation: 40-39=1, Resulting Numbers: [73, 1]
Generated Node #0,1,1: 72:[73, 1] Operation: 40-39=1
Moving to Node #0,1,1
Current State: 72:[73, 1], Operations: ['89-16=73', '40-39=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
28,
21,
39,
56
] | 47 | [
"28-21=7",
"56/7=8",
"39+8=47"
] | Current State: 47:[28, 21, 39, 56], Operations: []
Exploring Operation: 28-21=7, Resulting Numbers: [39, 56, 7]
Generated Node #2: [39, 56, 7] from Operation: 28-21=7
Current State: 47:[39, 56, 7], Operations: ['28-21=7']
Exploring Operation: 56/7=8, Resulting Numbers: [39, 8]
Generated Node #3: [39, 8] from Operation: 56/7=8
Current State: 47:[39, 8], Operations: ['28-21=7', '56/7=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[28, 21, 39, 56], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [21, 39, 28]
Generated Node #0,0: 47:[21, 39, 28] Operation: 56-28=28
Exploring Operation: 28+21=49, Resulting Numbers: [39, 56, 49]
Generated Node #0,1: 47:[39, 56, 49] Operation: 28+21=49
Exploring Operation: 21+39=60, Resulting Numbers: [28, 56, 60]
Generated Node #0,2: 47:[28, 56, 60] Operation: 21+39=60
Exploring Operation: 56-21=35, Resulting Numbers: [28, 39, 35]
Generated Node #0,3: 47:[28, 39, 35] Operation: 56-21=35
Moving to Node #0,1
Current State: 47:[39, 56, 49], Operations: ['28+21=49']
Exploring Operation: 56-49=7, Resulting Numbers: [39, 7]
Generated Node #0,1,0: 47:[39, 7] Operation: 56-49=7
Exploring Operation: 49-39=10, Resulting Numbers: [56, 10]
Generated Node #0,1,1: 47:[56, 10] Operation: 49-39=10
Exploring Operation: 56-39=17, Resulting Numbers: [49, 17]
Generated Node #0,1,2: 47:[49, 17] Operation: 56-39=17
Exploring Operation: 39+56=95, Resulting Numbers: [49, 95]
Generated Node #0,1,3: 47:[49, 95] Operation: 39+56=95
Moving to Node #0,3
Current State: 47:[28, 39, 35], Operations: ['56-21=35']
Exploring Operation: 39-28=11, Resulting Numbers: [35, 11]
Generated Node #0,3,0: 47:[35, 11] Operation: 39-28=11
Exploring Operation: 28+35=63, Resulting Numbers: [39, 63]
Generated Node #0,3,1: 47:[39, 63] Operation: 28+35=63
Exploring Operation: 28+39=67, Resulting Numbers: [35, 67]
Generated Node #0,3,2: 47:[35, 67] Operation: 28+39=67
Exploring Operation: 39+35=74, Resulting Numbers: [28, 74]
Generated Node #0,3,3: 47:[28, 74] Operation: 39+35=74
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[39, 63], Operations: ['56-21=35', '28+35=63']
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,47 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[35, 67], Operations: ['56-21=35', '28+39=67']
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[28, 74], Operations: ['56-21=35', '39+35=74']
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,47 unequal: No Solution
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[35, 11], Operations: ['56-21=35', '39-28=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 47:[28, 56, 60], Operations: ['21+39=60']
Exploring Operation: 28+60=88, Resulting Numbers: [56, 88]
Generated Node #0,2,0: 47:[56, 88] Operation: 28+60=88
Exploring Operation: 56-28=28, Resulting Numbers: [60, 28]
Generated Node #0,2,1: 47:[60, 28] Operation: 56-28=28
Exploring Operation: 60-28=32, Resulting Numbers: [56, 32]
Generated Node #0,2,2: 47:[56, 32] Operation: 60-28=32
Exploring Operation: 28+56=84, Resulting Numbers: [60, 84]
Generated Node #0,2,3: 47:[60, 84] Operation: 28+56=84
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[56, 32], Operations: ['21+39=60', '60-28=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[60, 28], Operations: ['21+39=60', '56-28=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[56, 88], Operations: ['21+39=60', '28+60=88']
Exploring Operation: 56*88=4928, Resulting Numbers: [4928]
4928,47 unequal: No Solution
Exploring Operation: 56+88=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[60, 84], Operations: ['21+39=60', '28+56=84']
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,47 unequal: No Solution
Exploring Operation: 60*84=5040, Resulting Numbers: [5040]
5040,47 unequal: No Solution
Exploring Operation: 60+84=144, Resulting Numbers: [144]
144,47 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: 47:[21, 39, 28], Operations: ['56-28=28']
Exploring Operation: 21+39=60, Resulting Numbers: [28, 60]
Generated Node #0,0,0: 47:[28, 60] Operation: 21+39=60
Exploring Operation: 21+28=49, Resulting Numbers: [39, 49]
Generated Node #0,0,1: 47:[39, 49] Operation: 21+28=49
Exploring Operation: 39-21=18, Resulting Numbers: [28, 18]
Generated Node #0,0,2: 47:[28, 18] Operation: 39-21=18
Exploring Operation: 39+28=67, Resulting Numbers: [21, 67]
Generated Node #0,0,3: 47:[21, 67] Operation: 39+28=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[39, 49], Operations: ['56-28=28', '21+28=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[28, 60], Operations: ['56-28=28', '21+39=60']
Exploring Operation: 28*60=1680, Resulting Numbers: [1680]
1680,47 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 28+60=88, Resulting Numbers: [88]
88,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[21, 67], Operations: ['56-28=28', '39+28=67']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 21+67=88, Resulting Numbers: [88]
88,47 unequal: No Solution
Exploring Operation: 21*67=1407, Resulting Numbers: [1407]
1407,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[28, 18], Operations: ['56-28=28', '39-21=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 47:[49, 17], Operations: ['28+21=49', '56-39=17']
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,47 unequal: No Solution
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[56, 10], Operations: ['28+21=49', '49-39=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,47 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[39, 7], Operations: ['28+21=49', '56-49=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[49, 95], Operations: ['28+21=49', '39+56=95']
Exploring Operation: 49*95=4655, Resulting Numbers: [4655]
4655,47 unequal: No Solution
Exploring Operation: 49+95=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 95-49=46, Resulting Numbers: [46]
46,47 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
31,
47,
48,
17
] | 30 | [
"31*47=1457",
"1457-17=1440",
"1440/48=30"
] | Current State: 30:[31, 47, 48, 17], Operations: []
Exploring Operation: 31*47=1457, Resulting Numbers: [48, 17, 1457]
Generated Node #2: [48, 17, 1457] from Operation: 31*47=1457
Current State: 30:[48, 17, 1457], Operations: ['31*47=1457']
Exploring Operation: 1457-17=1440, Resulting Numbers: [48, 1440]
Generated Node #3: [48, 1440] from Operation: 1457-17=1440
Current State: 30:[48, 1440], Operations: ['31*47=1457', '1457-17=1440']
Exploring Operation: 1440/48=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[31, 47, 48, 17], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [31, 17, 1]
Generated Node #0,0: 30:[31, 17, 1] Operation: 48-47=1
Exploring Operation: 47-17=30, Resulting Numbers: [31, 48, 30]
Generated Node #0,1: 30:[31, 48, 30] Operation: 47-17=30
Moving to Node #0,0
Current State: 30:[31, 17, 1], Operations: ['48-47=1']
Exploring Operation: 31-17=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 30:[1, 14] Operation: 31-17=14
Exploring Operation: 31-1=30, Resulting Numbers: [17, 30]
Generated Node #0,0,1: 30:[17, 30] Operation: 31-1=30
Moving to Node #0,1
Current State: 30:[31, 48, 30], Operations: ['47-17=30']
Exploring Operation: 48-31=17, Resulting Numbers: [30, 17]
Generated Node #0,1,0: 30:[30, 17] Operation: 48-31=17
Exploring Operation: 48-30=18, Resulting Numbers: [31, 18]
Generated Node #0,1,1: 30:[31, 18] Operation: 48-30=18
Moving to Node #0,0,0
Current State: 30:[1, 14], Operations: ['48-47=1', '31-17=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[30, 17], Operations: ['47-17=30', '48-31=17']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[17, 30], Operations: ['48-47=1', '31-1=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[31, 18], Operations: ['47-17=30', '48-30=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
21,
40,
13
] | 93 | [
"21-13=8",
"40/8=5",
"98-5=93"
] | Current State: 93:[98, 21, 40, 13], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [98, 40, 8]
Generated Node #2: [98, 40, 8] from Operation: 21-13=8
Current State: 93:[98, 40, 8], Operations: ['21-13=8']
Exploring Operation: 40/8=5, Resulting Numbers: [98, 5]
Generated Node #3: [98, 5] from Operation: 40/8=5
Current State: 93:[98, 5], Operations: ['21-13=8', '40/8=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[98, 21, 40, 13], Operations: []
Exploring Operation: 40-13=27, Resulting Numbers: [98, 21, 27]
Generated Node #0,0: 93:[98, 21, 27] Operation: 40-13=27
Exploring Operation: 21-13=8, Resulting Numbers: [98, 40, 8]
Generated Node #0,1: 93:[98, 40, 8] Operation: 21-13=8
Exploring Operation: 98-13=85, Resulting Numbers: [21, 40, 85]
Generated Node #0,2: 93:[21, 40, 85] Operation: 98-13=85
Exploring Operation: 21+13=34, Resulting Numbers: [98, 40, 34]
Generated Node #0,3: 93:[98, 40, 34] Operation: 21+13=34
Moving to Node #0,3
Current State: 93:[98, 40, 34], Operations: ['21+13=34']
Exploring Operation: 40-34=6, Resulting Numbers: [98, 6]
Generated Node #0,3,0: 93:[98, 6] Operation: 40-34=6
Exploring Operation: 98-40=58, Resulting Numbers: [34, 58]
Generated Node #0,3,1: 93:[34, 58] Operation: 98-40=58
Exploring Operation: 98-34=64, Resulting Numbers: [40, 64]
Generated Node #0,3,2: 93:[40, 64] Operation: 98-34=64
Exploring Operation: 40+34=74, Resulting Numbers: [98, 74]
Generated Node #0,3,3: 93:[98, 74] Operation: 40+34=74
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 93:[98, 6], Operations: ['21+13=34', '40-34=6']
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,93 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 93:[98, 74], Operations: ['21+13=34', '40+34=74']
Exploring Operation: 98-74=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 98*74=7252, Resulting Numbers: [7252]
7252,93 unequal: No Solution
Exploring Operation: 98+74=172, Resulting Numbers: [172]
172,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 93:[34, 58], Operations: ['21+13=34', '98-40=58']
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 93:[40, 64], Operations: ['21+13=34', '98-34=64']
Exploring Operation: 40*64=2560, Resulting Numbers: [2560]
2560,93 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 40+64=104, Resulting Numbers: [104]
104,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 93:[98, 40, 8], Operations: ['21-13=8']
Exploring Operation: 40-8=32, Resulting Numbers: [98, 32]
Generated Node #0,1,0: 93:[98, 32] Operation: 40-8=32
Exploring Operation: 98+8=106, Resulting Numbers: [40, 106]
Generated Node #0,1,1: 93:[40, 106] Operation: 98+8=106
Exploring Operation: 40/8=5, Resulting Numbers: [98, 5]
Generated Node #0,1,2: 93:[98, 5] Operation: 40/8=5
Exploring Operation: 98-8=90, Resulting Numbers: [40, 90]
Generated Node #0,1,3: 93:[40, 90] Operation: 98-8=90
Moving to Node #0,0
Current State: 93:[98, 21, 27], Operations: ['40-13=27']
Exploring Operation: 98+21=119, Resulting Numbers: [27, 119]
Generated Node #0,0,0: 93:[27, 119] Operation: 98+21=119
Exploring Operation: 27-21=6, Resulting Numbers: [98, 6]
Generated Node #0,0,1: 93:[98, 6] Operation: 27-21=6
Exploring Operation: 98-21=77, Resulting Numbers: [27, 77]
Generated Node #0,0,2: 93:[27, 77] Operation: 98-21=77
Exploring Operation: 21+27=48, Resulting Numbers: [98, 48]
Generated Node #0,0,3: 93:[98, 48] Operation: 21+27=48
Moving to Node #0,2
Current State: 93:[21, 40, 85], Operations: ['98-13=85']
Exploring Operation: 85-40=45, Resulting Numbers: [21, 45]
Generated Node #0,2,0: 93:[21, 45] Operation: 85-40=45
Exploring Operation: 21+85=106, Resulting Numbers: [40, 106]
Generated Node #0,2,1: 93:[40, 106] Operation: 21+85=106
Exploring Operation: 40-21=19, Resulting Numbers: [85, 19]
Generated Node #0,2,2: 93:[85, 19] Operation: 40-21=19
Exploring Operation: 21+40=61, Resulting Numbers: [85, 61]
Generated Node #0,2,3: 93:[85, 61] Operation: 21+40=61
Moving to Node #0,1,0
Current State: 93:[98, 32], Operations: ['21-13=8', '40-8=32']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,93 unequal: No Solution
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,93 unequal: No Solution
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[98, 5], Operations: ['21-13=8', '40/8=5']
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,93 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[98, 21, 40, 13], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [98, 40, 8]
Generated Node #0,1: 93:[98, 40, 8] Operation: 21-13=8
Moving to Node #0,1
Current State: 93:[98, 40, 8], Operations: ['21-13=8']
Exploring Operation: 40/8=5, Resulting Numbers: [98, 5]
Generated Node #0,1,2: 93:[98, 5] Operation: 40/8=5
Moving to Node #0,1,2
Current State: 93:[98, 5], Operations: ['21-13=8', '40/8=5']
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.963542 | hs_4 | mult_heuristic |
[
30,
24,
2,
14
] | 23 | [
"30/2=15",
"24+14=38",
"38-15=23"
] | Current State: 23:[30, 24, 2, 14], Operations: []
Exploring Operation: 30/2=15, Resulting Numbers: [24, 14, 15]
Generated Node #2: [24, 14, 15] from Operation: 30/2=15
Current State: 23:[24, 14, 15], Operations: ['30/2=15']
Exploring Operation: 24+14=38, Resulting Numbers: [15, 38]
Generated Node #3: [15, 38] from Operation: 24+14=38
Current State: 23:[15, 38], Operations: ['30/2=15', '24+14=38']
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[30, 24, 2, 14], Operations: []
Exploring Operation: 2*14=28, Resulting Numbers: [30, 24, 28]
Generated Node #0,0: 23:[30, 24, 28] Operation: 2*14=28
Exploring Operation: 2+14=16, Resulting Numbers: [30, 24, 16]
Generated Node #0,1: 23:[30, 24, 16] Operation: 2+14=16
Exploring Operation: 30-2=28, Resulting Numbers: [24, 14, 28]
Generated Node #0,2: 23:[24, 14, 28] Operation: 30-2=28
Moving to Node #0,0
Current State: 23:[30, 24, 28], Operations: ['2*14=28']
Exploring Operation: 30-24=6, Resulting Numbers: [28, 6]
Generated Node #0,0,0: 23:[28, 6] Operation: 30-24=6
Exploring Operation: 30-28=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 23:[24, 2] Operation: 30-28=2
Exploring Operation: 28-24=4, Resulting Numbers: [30, 4]
Generated Node #0,0,2: 23:[30, 4] Operation: 28-24=4
Moving to Node #0,1
Current State: 23:[30, 24, 16], Operations: ['2+14=16']
Exploring Operation: 30-24=6, Resulting Numbers: [16, 6]
Generated Node #0,1,0: 23:[16, 6] Operation: 30-24=6
Exploring Operation: 24-16=8, Resulting Numbers: [30, 8]
Generated Node #0,1,1: 23:[30, 8] Operation: 24-16=8
Exploring Operation: 30-16=14, Resulting Numbers: [24, 14]
Generated Node #0,1,2: 23:[24, 14] Operation: 30-16=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[24, 14], Operations: ['2+14=16', '30-16=14']
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[30, 8], Operations: ['2+14=16', '24-16=8']
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30+8=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,1,0
Current State: 23:[16, 6], Operations: ['2+14=16', '30-24=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,23 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[24, 14, 28], Operations: ['30-2=28']
Exploring Operation: 24-14=10, Resulting Numbers: [28, 10]
Generated Node #0,2,0: 23:[28, 10] Operation: 24-14=10
Exploring Operation: 24+14=38, Resulting Numbers: [28, 38]
Generated Node #0,2,1: 23:[28, 38] Operation: 24+14=38
Exploring Operation: 28-14=14, Resulting Numbers: [24, 14]
Generated Node #0,2,2: 23:[24, 14] Operation: 28-14=14
Moving to Node #0,2,2
Current State: 23:[24, 14], Operations: ['30-2=28', '28-14=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,23 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[28, 10], Operations: ['30-2=28', '24-14=10']
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,23 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[28, 38], Operations: ['30-2=28', '24+14=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,23 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[28, 6], Operations: ['2*14=28', '30-24=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 28*6=168, Resulting Numbers: [168]
168,23 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[24, 2], Operations: ['2*14=28', '30-28=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[30, 4], Operations: ['2*14=28', '28-24=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,23 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
11,
91,
24
] | 26 | [
"52-11=41",
"91-24=67",
"67-41=26"
] | Current State: 26:[52, 11, 91, 24], Operations: []
Exploring Operation: 52-11=41, Resulting Numbers: [91, 24, 41]
Generated Node #2: [91, 24, 41] from Operation: 52-11=41
Current State: 26:[91, 24, 41], Operations: ['52-11=41']
Exploring Operation: 91-24=67, Resulting Numbers: [41, 67]
Generated Node #3: [41, 67] from Operation: 91-24=67
Current State: 26:[41, 67], Operations: ['52-11=41', '91-24=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[52, 11, 91, 24], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [11, 91, 28]
Generated Node #0,0: 26:[11, 91, 28] Operation: 52-24=28
Exploring Operation: 91-24=67, Resulting Numbers: [52, 11, 67]
Generated Node #0,1: 26:[52, 11, 67] Operation: 91-24=67
Exploring Operation: 91-52=39, Resulting Numbers: [11, 24, 39]
Generated Node #0,2: 26:[11, 24, 39] Operation: 91-52=39
Moving to Node #0,2
Current State: 26:[11, 24, 39], Operations: ['91-52=39']
Exploring Operation: 39-24=15, Resulting Numbers: [11, 15]
Generated Node #0,2,0: 26:[11, 15] Operation: 39-24=15
Exploring Operation: 39-11=28, Resulting Numbers: [24, 28]
Generated Node #0,2,1: 26:[24, 28] Operation: 39-11=28
Exploring Operation: 24-11=13, Resulting Numbers: [39, 13]
Generated Node #0,2,2: 26:[39, 13] Operation: 24-11=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[11, 15], Operations: ['91-52=39', '39-24=15']
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,26 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,26 unequal: No Solution
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[52, 11, 91, 24], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [11, 24, 39]
Generated Node #0,2: 26:[11, 24, 39] Operation: 91-52=39
Moving to Node #0,2
Current State: 26:[11, 24, 39], Operations: ['91-52=39']
Exploring Operation: 39-24=15, Resulting Numbers: [11, 15]
Generated Node #0,2,0: 26:[11, 15] Operation: 39-24=15
Moving to Node #0,2,0
Current State: 26:[11, 15], Operations: ['91-52=39', '39-24=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
49,
67,
46,
94
] | 81 | [
"49-46=3",
"94-67=27",
"3*27=81"
] | Current State: 81:[49, 67, 46, 94], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [67, 94, 3]
Generated Node #2: [67, 94, 3] from Operation: 49-46=3
Current State: 81:[67, 94, 3], Operations: ['49-46=3']
Exploring Operation: 94-67=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 94-67=27
Current State: 81:[3, 27], Operations: ['49-46=3', '94-67=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[49, 67, 46, 94], Operations: []
Exploring Operation: 49+46=95, Resulting Numbers: [67, 94, 95]
Generated Node #0,0: 81:[67, 94, 95] Operation: 49+46=95
Exploring Operation: 49-46=3, Resulting Numbers: [67, 94, 3]
Generated Node #0,1: 81:[67, 94, 3] Operation: 49-46=3
Exploring Operation: 67-46=21, Resulting Numbers: [49, 94, 21]
Generated Node #0,2: 81:[49, 94, 21] Operation: 67-46=21
Exploring Operation: 67-49=18, Resulting Numbers: [46, 94, 18]
Generated Node #0,3: 81:[46, 94, 18] Operation: 67-49=18
Exploring Operation: 94-67=27, Resulting Numbers: [49, 46, 27]
Generated Node #0,4: 81:[49, 46, 27] Operation: 94-67=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[67, 94, 3], Operations: ['49-46=3']
Exploring Operation: 67+3=70, Resulting Numbers: [94, 70]
Generated Node #0,1,0: 81:[94, 70] Operation: 67+3=70
Exploring Operation: 94-3=91, Resulting Numbers: [67, 91]
Generated Node #0,1,1: 81:[67, 91] Operation: 94-3=91
Exploring Operation: 94+3=97, Resulting Numbers: [67, 97]
Generated Node #0,1,2: 81:[67, 97] Operation: 94+3=97
Exploring Operation: 94-67=27, Resulting Numbers: [3, 27]
Generated Node #0,1,3: 81:[3, 27] Operation: 94-67=27
Exploring Operation: 67-3=64, Resulting Numbers: [94, 64]
Generated Node #0,1,4: 81:[94, 64] Operation: 67-3=64
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[3, 27], Operations: ['49-46=3', '94-67=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[49, 67, 46, 94], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [67, 94, 3]
Generated Node #0,1: 81:[67, 94, 3] Operation: 49-46=3
Moving to Node #0,1
Current State: 81:[67, 94, 3], Operations: ['49-46=3']
Exploring Operation: 94-67=27, Resulting Numbers: [3, 27]
Generated Node #0,1,3: 81:[3, 27] Operation: 94-67=27
Moving to Node #0,1,3
Current State: 81:[3, 27], Operations: ['49-46=3', '94-67=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
25,
85,
41,
68
] | 87 | [
"85-25=60",
"68-41=27",
"60+27=87"
] | Current State: 87:[25, 85, 41, 68], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [41, 68, 60]
Generated Node #2: [41, 68, 60] from Operation: 85-25=60
Current State: 87:[41, 68, 60], Operations: ['85-25=60']
Exploring Operation: 68-41=27, Resulting Numbers: [60, 27]
Generated Node #3: [60, 27] from Operation: 68-41=27
Current State: 87:[60, 27], Operations: ['85-25=60', '68-41=27']
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[25, 85, 41, 68], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [85, 41, 43]
Generated Node #0,0: 87:[85, 41, 43] Operation: 68-25=43
Exploring Operation: 25+68=93, Resulting Numbers: [85, 41, 93]
Generated Node #0,1: 87:[85, 41, 93] Operation: 25+68=93
Exploring Operation: 68-41=27, Resulting Numbers: [25, 85, 27]
Generated Node #0,2: 87:[25, 85, 27] Operation: 68-41=27
Exploring Operation: 85-68=17, Resulting Numbers: [25, 41, 17]
Generated Node #0,3: 87:[25, 41, 17] Operation: 85-68=17
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[25, 85, 27], Operations: ['68-41=27']
Exploring Operation: 25+27=52, Resulting Numbers: [85, 52]
Generated Node #0,2,0: 87:[85, 52] Operation: 25+27=52
Exploring Operation: 85-25=60, Resulting Numbers: [27, 60]
Generated Node #0,2,1: 87:[27, 60] Operation: 85-25=60
Exploring Operation: 27-25=2, Resulting Numbers: [85, 2]
Generated Node #0,2,2: 87:[85, 2] Operation: 27-25=2
Exploring Operation: 25+85=110, Resulting Numbers: [27, 110]
Generated Node #0,2,3: 87:[27, 110] Operation: 25+85=110
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[85, 2], Operations: ['68-41=27', '27-25=2']
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,87 unequal: No Solution
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[25, 85, 41, 68], Operations: []
Exploring Operation: 68-41=27, Resulting Numbers: [25, 85, 27]
Generated Node #0,2: 87:[25, 85, 27] Operation: 68-41=27
Moving to Node #0,2
Current State: 87:[25, 85, 27], Operations: ['68-41=27']
Exploring Operation: 27-25=2, Resulting Numbers: [85, 2]
Generated Node #0,2,2: 87:[85, 2] Operation: 27-25=2
Moving to Node #0,2,2
Current State: 87:[85, 2], Operations: ['68-41=27', '27-25=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
87,
98,
84,
1
] | 73 | [
"98-87=11",
"84*1=84",
"84-11=73"
] | Current State: 73:[87, 98, 84, 1], Operations: []
Exploring Operation: 98-87=11, Resulting Numbers: [84, 1, 11]
Generated Node #2: [84, 1, 11] from Operation: 98-87=11
Current State: 73:[84, 1, 11], Operations: ['98-87=11']
Exploring Operation: 84*1=84, Resulting Numbers: [11, 84]
Generated Node #3: [11, 84] from Operation: 84*1=84
Current State: 73:[11, 84], Operations: ['98-87=11', '84*1=84']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[87, 98, 84, 1], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [87, 84, 97]
Generated Node #0,0: 73:[87, 84, 97] Operation: 98-1=97
Exploring Operation: 84-1=83, Resulting Numbers: [87, 98, 83]
Generated Node #0,1: 73:[87, 98, 83] Operation: 84-1=83
Exploring Operation: 87-1=86, Resulting Numbers: [98, 84, 86]
Generated Node #0,2: 73:[98, 84, 86] Operation: 87-1=86
Moving to Node #0,0
Current State: 73:[87, 84, 97], Operations: ['98-1=97']
Exploring Operation: 97-87=10, Resulting Numbers: [84, 10]
Generated Node #0,0,0: 73:[84, 10] Operation: 97-87=10
Exploring Operation: 87-84=3, Resulting Numbers: [97, 3]
Generated Node #0,0,1: 73:[97, 3] Operation: 87-84=3
Exploring Operation: 97-84=13, Resulting Numbers: [87, 13]
Generated Node #0,0,2: 73:[87, 13] Operation: 97-84=13
Moving to Node #0,1
Current State: 73:[87, 98, 83], Operations: ['84-1=83']
Exploring Operation: 98-83=15, Resulting Numbers: [87, 15]
Generated Node #0,1,0: 73:[87, 15] Operation: 98-83=15
Exploring Operation: 98-87=11, Resulting Numbers: [83, 11]
Generated Node #0,1,1: 73:[83, 11] Operation: 98-87=11
Exploring Operation: 87-83=4, Resulting Numbers: [98, 4]
Generated Node #0,1,2: 73:[98, 4] Operation: 87-83=4
Moving to Node #0,2
Current State: 73:[98, 84, 86], Operations: ['87-1=86']
Exploring Operation: 98-86=12, Resulting Numbers: [84, 12]
Generated Node #0,2,0: 73:[84, 12] Operation: 98-86=12
Exploring Operation: 98-84=14, Resulting Numbers: [86, 14]
Generated Node #0,2,1: 73:[86, 14] Operation: 98-84=14
Exploring Operation: 86-84=2, Resulting Numbers: [98, 2]
Generated Node #0,2,2: 73:[98, 2] Operation: 86-84=2
Moving to Node #0,1,0
Current State: 73:[87, 15], Operations: ['84-1=83', '98-83=15']
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,73 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[84, 12], Operations: ['87-1=86', '98-86=12']
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[83, 11], Operations: ['84-1=83', '98-87=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,73 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[86, 14], Operations: ['87-1=86', '98-84=14']
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,73 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[84, 10], Operations: ['98-1=97', '97-87=10']
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,73 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[87, 13], Operations: ['98-1=97', '97-84=13']
Exploring Operation: 87*13=1131, Resulting Numbers: [1131]
1131,73 unequal: No Solution
Exploring Operation: 87+13=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 87-13=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[97, 3], Operations: ['98-1=97', '87-84=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,73 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[98, 4], Operations: ['84-1=83', '87-83=4']
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,73 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[98, 2], Operations: ['87-1=86', '86-84=2']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,73 unequal: No Solution
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,73 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
55,
66,
2,
42
] | 70 | [
"55*2=110",
"42*110=4620",
"4620/66=70"
] | Current State: 70:[55, 66, 2, 42], Operations: []
Exploring Operation: 55*2=110, Resulting Numbers: [66, 42, 110]
Generated Node #2: [66, 42, 110] from Operation: 55*2=110
Current State: 70:[66, 42, 110], Operations: ['55*2=110']
Exploring Operation: 42*110=4620, Resulting Numbers: [66, 4620]
Generated Node #3: [66, 4620] from Operation: 42*110=4620
Current State: 70:[66, 4620], Operations: ['55*2=110', '42*110=4620']
Exploring Operation: 4620/66=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[55, 66, 2, 42], Operations: []
Exploring Operation: 55-42=13, Resulting Numbers: [66, 2, 13]
Generated Node #0,0: 70:[66, 2, 13] Operation: 55-42=13
Exploring Operation: 66-55=11, Resulting Numbers: [2, 42, 11]
Generated Node #0,1: 70:[2, 42, 11] Operation: 66-55=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[66, 2, 13], Operations: ['55-42=13']
Exploring Operation: 66+2=68, Resulting Numbers: [13, 68]
Generated Node #0,0,0: 70:[13, 68] Operation: 66+2=68
Exploring Operation: 66/2=33, Resulting Numbers: [13, 33]
Generated Node #0,0,1: 70:[13, 33] Operation: 66/2=33
Moving to Node #0,0,0
Current State: 70:[13, 68], Operations: ['55-42=13', '66+2=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,70 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[13, 33], Operations: ['55-42=13', '66/2=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[2, 42, 11], Operations: ['66-55=11']
Exploring Operation: 42-2=40, Resulting Numbers: [11, 40]
Generated Node #0,1,0: 70:[11, 40] Operation: 42-2=40
Exploring Operation: 42-11=31, Resulting Numbers: [2, 31]
Generated Node #0,1,1: 70:[2, 31] Operation: 42-11=31
Moving to Node #0,1,1
Current State: 70:[2, 31], Operations: ['66-55=11', '42-11=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[11, 40], Operations: ['66-55=11', '42-2=40']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,70 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 |
[
88,
27,
86,
74
] | 80 | [
"88+74=162",
"162/27=6",
"86-6=80"
] | Current State: 80:[88, 27, 86, 74], Operations: []
Exploring Operation: 88+74=162, Resulting Numbers: [27, 86, 162]
Generated Node #2: [27, 86, 162] from Operation: 88+74=162
Current State: 80:[27, 86, 162], Operations: ['88+74=162']
Exploring Operation: 162/27=6, Resulting Numbers: [86, 6]
Generated Node #3: [86, 6] from Operation: 162/27=6
Current State: 80:[86, 6], Operations: ['88+74=162', '162/27=6']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[88, 27, 86, 74], Operations: []
Exploring Operation: 88-27=61, Resulting Numbers: [86, 74, 61]
Generated Node #0,0: 80:[86, 74, 61] Operation: 88-27=61
Exploring Operation: 88-74=14, Resulting Numbers: [27, 86, 14]
Generated Node #0,1: 80:[27, 86, 14] Operation: 88-74=14
Exploring Operation: 86-74=12, Resulting Numbers: [88, 27, 12]
Generated Node #0,2: 80:[88, 27, 12] Operation: 86-74=12
Exploring Operation: 88-86=2, Resulting Numbers: [27, 74, 2]
Generated Node #0,3: 80:[27, 74, 2] Operation: 88-86=2
Exploring Operation: 74-27=47, Resulting Numbers: [88, 86, 47]
Generated Node #0,4: 80:[88, 86, 47] Operation: 74-27=47
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[27, 74, 2], Operations: ['88-86=2']
Exploring Operation: 74+2=76, Resulting Numbers: [27, 76]
Generated Node #0,3,0: 80:[27, 76] Operation: 74+2=76
Exploring Operation: 27-2=25, Resulting Numbers: [74, 25]
Generated Node #0,3,1: 80:[74, 25] Operation: 27-2=25
Exploring Operation: 74-27=47, Resulting Numbers: [2, 47]
Generated Node #0,3,2: 80:[2, 47] Operation: 74-27=47
Exploring Operation: 74/2=37, Resulting Numbers: [27, 37]
Generated Node #0,3,3: 80:[27, 37] Operation: 74/2=37
Exploring Operation: 27+2=29, Resulting Numbers: [74, 29]
Generated Node #0,3,4: 80:[74, 29] Operation: 27+2=29
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 80:[2, 47], Operations: ['88-86=2', '74-27=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,80 unequal: No Solution
No 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: 80:[27, 37], Operations: ['88-86=2', '74/2=37']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,80 unequal: No Solution
No 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: 80:[27, 76], Operations: ['88-86=2', '74+2=76']
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,80 unequal: No Solution
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,80 unequal: No Solution
No 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: 80:[74, 25], Operations: ['88-86=2', '27-2=25']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 74+25=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 74*25=1850, Resulting Numbers: [1850]
1850,80 unequal: No Solution
No 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: 80:[74, 29], Operations: ['88-86=2', '27+2=29']
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,80 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,80 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: 80:[27, 86, 14], Operations: ['88-74=14']
Exploring Operation: 27+14=41, Resulting Numbers: [86, 41]
Generated Node #0,1,0: 80:[86, 41] Operation: 27+14=41
Exploring Operation: 27-14=13, Resulting Numbers: [86, 13]
Generated Node #0,1,1: 80:[86, 13] Operation: 27-14=13
Exploring Operation: 86+14=100, Resulting Numbers: [27, 100]
Generated Node #0,1,2: 80:[27, 100] Operation: 86+14=100
Exploring Operation: 86-14=72, Resulting Numbers: [27, 72]
Generated Node #0,1,3: 80:[27, 72] Operation: 86-14=72
Exploring Operation: 86-27=59, Resulting Numbers: [14, 59]
Generated Node #0,1,4: 80:[14, 59] Operation: 86-27=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[86, 41], Operations: ['88-74=14', '27+14=41']
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 86+41=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 86*41=3526, Resulting Numbers: [3526]
3526,80 unequal: No Solution
No 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: 80:[86, 13], Operations: ['88-74=14', '27-14=13']
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,80 unequal: No Solution
No 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: 80:[27, 72], Operations: ['88-74=14', '86-14=72']
Exploring Operation: 27*72=1944, Resulting Numbers: [1944]
1944,80 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,80 unequal: No Solution
No 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: 80:[14, 59], Operations: ['88-74=14', '86-27=59']
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,80 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,80 unequal: No Solution
No 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: 80:[27, 100], Operations: ['88-74=14', '86+14=100']
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 27*100=2700, Resulting Numbers: [2700]
2700,80 unequal: No Solution
Exploring Operation: 27+100=127, Resulting Numbers: [127]
127,80 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: 80:[88, 27, 12], Operations: ['86-74=12']
Exploring Operation: 88+12=100, Resulting Numbers: [27, 100]
Generated Node #0,2,0: 80:[27, 100] Operation: 88+12=100
Exploring Operation: 88-27=61, Resulting Numbers: [12, 61]
Generated Node #0,2,1: 80:[12, 61] Operation: 88-27=61
Exploring Operation: 27+12=39, Resulting Numbers: [88, 39]
Generated Node #0,2,2: 80:[88, 39] Operation: 27+12=39
Exploring Operation: 27-12=15, Resulting Numbers: [88, 15]
Generated Node #0,2,3: 80:[88, 15] Operation: 27-12=15
Exploring Operation: 88-12=76, Resulting Numbers: [27, 76]
Generated Node #0,2,4: 80:[27, 76] Operation: 88-12=76
Moving to Node #0,2,2
Current State: 80:[88, 39], Operations: ['86-74=12', '27+12=39']
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,80 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[88, 15], Operations: ['86-74=12', '27-12=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,80 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,80 unequal: No Solution
Moving to Node #0,2,4
Current State: 80:[27, 76], Operations: ['86-74=12', '88-12=76']
Exploring Operation: 27*76=2052, Resulting Numbers: [2052]
2052,80 unequal: No Solution
Exploring Operation: 27+76=103, Resulting Numbers: [103]
103,80 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[12, 61], Operations: ['86-74=12', '88-27=61']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 12*61=732, Resulting Numbers: [732]
732,80 unequal: No Solution
Moving to Node #0,2,0
Current State: 80:[27, 100], Operations: ['86-74=12', '88+12=100']
Exploring Operation: 27*100=2700, Resulting Numbers: [2700]
2700,80 unequal: No Solution
Exploring Operation: 27+100=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,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,4
Current State: 80:[88, 86, 47], Operations: ['74-27=47']
Exploring Operation: 88+47=135, Resulting Numbers: [86, 135]
Generated Node #0,4,0: 80:[86, 135] Operation: 88+47=135
Exploring Operation: 86+47=133, Resulting Numbers: [88, 133]
Generated Node #0,4,1: 80:[88, 133] Operation: 86+47=133
Exploring Operation: 86-47=39, Resulting Numbers: [88, 39]
Generated Node #0,4,2: 80:[88, 39] Operation: 86-47=39
Exploring Operation: 88-86=2, Resulting Numbers: [47, 2]
Generated Node #0,4,3: 80:[47, 2] Operation: 88-86=2
Exploring Operation: 88-47=41, Resulting Numbers: [86, 41]
Generated Node #0,4,4: 80:[86, 41] Operation: 88-47=41
Moving to Node #0,4,3
Current State: 80:[47, 2], Operations: ['74-27=47', '88-86=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,80 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[86, 41], Operations: ['74-27=47', '88-47=41']
Exploring Operation: 86+41=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Exploring Operation: 86-41=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 86*41=3526, Resulting Numbers: [3526]
3526,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[88, 39], Operations: ['74-27=47', '86-47=39']
Exploring Operation: 88*39=3432, Resulting Numbers: [3432]
3432,80 unequal: No Solution
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 88+39=127, Resulting Numbers: [127]
127,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[86, 135], Operations: ['74-27=47', '88+47=135']
Exploring Operation: 135-86=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 86+135=221, Resulting Numbers: [221]
221,80 unequal: No Solution
Exploring Operation: 86*135=11610, Resulting Numbers: [11610]
11610,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[88, 133], Operations: ['74-27=47', '86+47=133']
Exploring Operation: 88+133=221, Resulting Numbers: [221]
221,80 unequal: No Solution
Exploring Operation: 133-88=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 88*133=11704, Resulting Numbers: [11704]
11704,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
Current State: 80:[86, 74, 61], Operations: ['88-27=61']
Exploring Operation: 86-61=25, Resulting Numbers: [74, 25]
Generated Node #0,0,0: 80:[74, 25] Operation: 86-61=25
Exploring Operation: 74-61=13, Resulting Numbers: [86, 13]
Generated Node #0,0,1: 80:[86, 13] Operation: 74-61=13
Exploring Operation: 86+61=147, Resulting Numbers: [74, 147]
Generated Node #0,0,2: 80:[74, 147] Operation: 86+61=147
Exploring Operation: 74+61=135, Resulting Numbers: [86, 135]
Generated Node #0,0,3: 80:[86, 135] Operation: 74+61=135
Exploring Operation: 86-74=12, Resulting Numbers: [61, 12]
Generated Node #0,0,4: 80:[61, 12] Operation: 86-74=12
Moving to Node #0,0,1
Current State: 80:[86, 13], Operations: ['88-27=61', '74-61=13']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 86+13=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 86*13=1118, Resulting Numbers: [1118]
1118,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[74, 25], Operations: ['88-27=61', '86-61=25']
Exploring Operation: 74*25=1850, Resulting Numbers: [1850]
1850,80 unequal: No Solution
Exploring Operation: 74+25=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,0,4
Current State: 80:[61, 12], Operations: ['88-27=61', '86-74=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[86, 135], Operations: ['88-27=61', '74+61=135']
Exploring Operation: 86+135=221, Resulting Numbers: [221]
221,80 unequal: No Solution
Exploring Operation: 86*135=11610, Resulting Numbers: [11610]
11610,80 unequal: No Solution
Exploring Operation: 135-86=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[74, 147], Operations: ['88-27=61', '86+61=147']
Exploring Operation: 74*147=10878, Resulting Numbers: [10878]
10878,80 unequal: No Solution
Exploring Operation: 74+147=221, Resulting Numbers: [221]
221,80 unequal: No Solution
Exploring Operation: 147-74=73, Resulting Numbers: [73]
73,80 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 |
[
71,
2,
58,
34
] | 50 | [
"71*2=142",
"58+34=92",
"142-92=50"
] | Current State: 50:[71, 2, 58, 34], Operations: []
Exploring Operation: 71*2=142, Resulting Numbers: [58, 34, 142]
Generated Node #2: [58, 34, 142] from Operation: 71*2=142
Current State: 50:[58, 34, 142], Operations: ['71*2=142']
Exploring Operation: 58+34=92, Resulting Numbers: [142, 92]
Generated Node #3: [142, 92] from Operation: 58+34=92
Current State: 50:[142, 92], Operations: ['71*2=142', '58+34=92']
Exploring Operation: 142-92=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[71, 2, 58, 34], Operations: []
Exploring Operation: 71-34=37, Resulting Numbers: [2, 58, 37]
Generated Node #0,0: 50:[2, 58, 37] Operation: 71-34=37
Exploring Operation: 71-58=13, Resulting Numbers: [2, 34, 13]
Generated Node #0,1: 50:[2, 34, 13] Operation: 71-58=13
Exploring Operation: 58-34=24, Resulting Numbers: [71, 2, 24]
Generated Node #0,2: 50:[71, 2, 24] Operation: 58-34=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[2, 34, 13], Operations: ['71-58=13']
Exploring Operation: 34-2=32, Resulting Numbers: [13, 32]
Generated Node #0,1,0: 50:[13, 32] Operation: 34-2=32
Exploring Operation: 34+13=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 50:[2, 47] Operation: 34+13=47
Exploring Operation: 34-13=21, Resulting Numbers: [2, 21]
Generated Node #0,1,2: 50:[2, 21] Operation: 34-13=21
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[2, 47], Operations: ['71-58=13', '34+13=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[2, 21], Operations: ['71-58=13', '34-13=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[13, 32], Operations: ['71-58=13', '34-2=32']
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,50 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[2, 58, 37], Operations: ['71-34=37']
Exploring Operation: 58-2=56, Resulting Numbers: [37, 56]
Generated Node #0,0,0: 50:[37, 56] Operation: 58-2=56
Exploring Operation: 58-37=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 50:[2, 21] Operation: 58-37=21
Exploring Operation: 58/2=29, Resulting Numbers: [37, 29]
Generated Node #0,0,2: 50:[37, 29] Operation: 58/2=29
Moving to Node #0,0,1
Current State: 50:[2, 21], Operations: ['71-34=37', '58-37=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,50 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[37, 29], Operations: ['71-34=37', '58/2=29']
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[37, 56], Operations: ['71-34=37', '58-2=56']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 37*56=2072, Resulting Numbers: [2072]
2072,50 unequal: No Solution
Exploring Operation: 37+56=93, Resulting Numbers: [93]
93,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[71, 2, 24], Operations: ['58-34=24']
Exploring Operation: 2+24=26, Resulting Numbers: [71, 26]
Generated Node #0,2,0: 50:[71, 26] Operation: 2+24=26
Exploring Operation: 71-24=47, Resulting Numbers: [2, 47]
Generated Node #0,2,1: 50:[2, 47] Operation: 71-24=47
Exploring Operation: 71-2=69, Resulting Numbers: [24, 69]
Generated Node #0,2,2: 50:[24, 69] Operation: 71-2=69
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 50:[2, 47], Operations: ['58-34=24', '71-24=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,50 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 50:[24, 69], Operations: ['58-34=24', '71-2=69']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,50 unequal: No Solution
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,50 unequal: No Solution
Exploring Operation: 24*69=1656, Resulting Numbers: [1656]
1656,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 50:[71, 26], Operations: ['58-34=24', '2+24=26']
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,50 unequal: No Solution
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,50 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
75,
22,
24,
68
] | 18 | [
"75*22=1650",
"24*68=1632",
"1650-1632=18"
] | Current State: 18:[75, 22, 24, 68], Operations: []
Exploring Operation: 75*22=1650, Resulting Numbers: [24, 68, 1650]
Generated Node #2: [24, 68, 1650] from Operation: 75*22=1650
Current State: 18:[24, 68, 1650], Operations: ['75*22=1650']
Exploring Operation: 24*68=1632, Resulting Numbers: [1650, 1632]
Generated Node #3: [1650, 1632] from Operation: 24*68=1632
Current State: 18:[1650, 1632], Operations: ['75*22=1650', '24*68=1632']
Exploring Operation: 1650-1632=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[75, 22, 24, 68], Operations: []
Exploring Operation: 75-24=51, Resulting Numbers: [22, 68, 51]
Generated Node #0,0: 18:[22, 68, 51] Operation: 75-24=51
Exploring Operation: 75-68=7, Resulting Numbers: [22, 24, 7]
Generated Node #0,1: 18:[22, 24, 7] Operation: 75-68=7
Exploring Operation: 68-24=44, Resulting Numbers: [75, 22, 44]
Generated Node #0,2: 18:[75, 22, 44] Operation: 68-24=44
Moving to Node #0,1
Current State: 18:[22, 24, 7], Operations: ['75-68=7']
Exploring Operation: 24-7=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 18:[22, 17] Operation: 24-7=17
Exploring Operation: 24-22=2, Resulting Numbers: [7, 2]
Generated Node #0,1,1: 18:[7, 2] Operation: 24-22=2
Exploring Operation: 22-7=15, Resulting Numbers: [24, 15]
Generated Node #0,1,2: 18:[24, 15] Operation: 22-7=15
Moving to Node #0,0
Current State: 18:[22, 68, 51], Operations: ['75-24=51']
Exploring Operation: 51-22=29, Resulting Numbers: [68, 29]
Generated Node #0,0,0: 18:[68, 29] Operation: 51-22=29
Exploring Operation: 68-51=17, Resulting Numbers: [22, 17]
Generated Node #0,0,1: 18:[22, 17] Operation: 68-51=17
Exploring Operation: 68-22=46, Resulting Numbers: [51, 46]
Generated Node #0,0,2: 18:[51, 46] Operation: 68-22=46
Moving to Node #0,2
Current State: 18:[75, 22, 44], Operations: ['68-24=44']
Exploring Operation: 44/22=2, Resulting Numbers: [75, 2]
Generated Node #0,2,0: 18:[75, 2] Operation: 44/22=2
Exploring Operation: 75-44=31, Resulting Numbers: [22, 31]
Generated Node #0,2,1: 18:[22, 31] Operation: 75-44=31
Exploring Operation: 75-22=53, Resulting Numbers: [44, 53]
Generated Node #0,2,2: 18:[44, 53] Operation: 75-22=53
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 18:[22, 31], Operations: ['68-24=44', '75-44=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,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,0
Current State: 18:[75, 2], Operations: ['68-24=44', '44/22=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,18 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,18 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,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,2
Current State: 18:[44, 53], Operations: ['68-24=44', '75-22=53']
Exploring Operation: 44*53=2332, Resulting Numbers: [2332]
2332,18 unequal: No Solution
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,18 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: 18:[7, 2], Operations: ['75-68=7', '24-22=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[22, 17], Operations: ['75-68=7', '24-7=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,18 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[22, 17], Operations: ['75-24=51', '68-51=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[24, 15], Operations: ['75-68=7', '22-7=15']
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,18 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[51, 46], Operations: ['75-24=51', '68-22=46']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[68, 29], Operations: ['75-24=51', '51-22=29']
Exploring Operation: 68*29=1972, Resulting Numbers: [1972]
1972,18 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
11,
76,
5,
51
] | 19 | [
"76-11=65",
"51-5=46",
"65-46=19"
] | Current State: 19:[11, 76, 5, 51], Operations: []
Exploring Operation: 76-11=65, Resulting Numbers: [5, 51, 65]
Generated Node #2: [5, 51, 65] from Operation: 76-11=65
Current State: 19:[5, 51, 65], Operations: ['76-11=65']
Exploring Operation: 51-5=46, Resulting Numbers: [65, 46]
Generated Node #3: [65, 46] from Operation: 51-5=46
Current State: 19:[65, 46], Operations: ['76-11=65', '51-5=46']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[11, 76, 5, 51], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [11, 5, 25]
Generated Node #0,0: 19:[11, 5, 25] Operation: 76-51=25
Exploring Operation: 76-11=65, Resulting Numbers: [5, 51, 65]
Generated Node #0,1: 19:[5, 51, 65] Operation: 76-11=65
Exploring Operation: 11+5=16, Resulting Numbers: [76, 51, 16]
Generated Node #0,2: 19:[76, 51, 16] Operation: 11+5=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[11, 5, 25], Operations: ['76-51=25']
Exploring Operation: 11-5=6, Resulting Numbers: [25, 6]
Generated Node #0,0,0: 19:[25, 6] Operation: 11-5=6
Exploring Operation: 25-5=20, Resulting Numbers: [11, 20]
Generated Node #0,0,1: 19:[11, 20] Operation: 25-5=20
Exploring Operation: 11+5=16, Resulting Numbers: [25, 16]
Generated Node #0,0,2: 19:[25, 16] Operation: 11+5=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[11, 20], Operations: ['76-51=25', '25-5=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,19 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[25, 16], Operations: ['76-51=25', '11+5=16']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[25, 6], Operations: ['76-51=25', '11-5=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[11, 76, 5, 51], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [11, 5, 25]
Generated Node #0,0: 19:[11, 5, 25] Operation: 76-51=25
Moving to Node #0,0
Current State: 19:[11, 5, 25], Operations: ['76-51=25']
Exploring Operation: 11-5=6, Resulting Numbers: [25, 6]
Generated Node #0,0,0: 19:[25, 6] Operation: 11-5=6
Moving to Node #0,0,0
Current State: 19:[25, 6], Operations: ['76-51=25', '11-5=6']
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
61,
31,
1,
95
] | 64 | [
"61-31=30",
"95-1=94",
"94-30=64"
] | Current State: 64:[61, 31, 1, 95], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [1, 95, 30]
Generated Node #2: [1, 95, 30] from Operation: 61-31=30
Current State: 64:[1, 95, 30], Operations: ['61-31=30']
Exploring Operation: 95-1=94, Resulting Numbers: [30, 94]
Generated Node #3: [30, 94] from Operation: 95-1=94
Current State: 64:[30, 94], Operations: ['61-31=30', '95-1=94']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[61, 31, 1, 95], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [61, 1, 64]
Generated Node #0,0: 64:[61, 1, 64] Operation: 95-31=64
Exploring Operation: 95-61=34, Resulting Numbers: [31, 1, 34]
Generated Node #0,1: 64:[31, 1, 34] Operation: 95-61=34
Exploring Operation: 61+1=62, Resulting Numbers: [31, 95, 62]
Generated Node #0,2: 64:[31, 95, 62] Operation: 61+1=62
Exploring Operation: 61-31=30, Resulting Numbers: [1, 95, 30]
Generated Node #0,3: 64:[1, 95, 30] Operation: 61-31=30
Moving to Node #0,0
Current State: 64:[61, 1, 64], Operations: ['95-31=64']
Exploring Operation: 61+1=62, Resulting Numbers: [64, 62]
Generated Node #0,0,0: 64:[64, 62] Operation: 61+1=62
Exploring Operation: 61/1=61, Resulting Numbers: [64, 61]
Generated Node #0,0,1: 64:[64, 61] Operation: 61/1=61
Exploring Operation: 64-61=3, Resulting Numbers: [1, 3]
Generated Node #0,0,2: 64:[1, 3] Operation: 64-61=3
Exploring Operation: 61*1=61, Resulting Numbers: [64, 61]
Generated Node #0,0,3: 64:[64, 61] Operation: 61*1=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[64, 62], Operations: ['95-31=64', '61+1=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,64 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[1, 3], Operations: ['95-31=64', '64-61=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[64, 61], Operations: ['95-31=64', '61/1=61']
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 64+61=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 64*61=3904, Resulting Numbers: [3904]
3904,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 64:[64, 61], Operations: ['95-31=64', '61*1=61']
Exploring Operation: 64+61=125, Resulting Numbers: [125]
125,64 unequal: No Solution
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 64*61=3904, Resulting Numbers: [3904]
3904,64 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: 64:[31, 1, 34], Operations: ['95-61=34']
Exploring Operation: 34-1=33, Resulting Numbers: [31, 33]
Generated Node #0,1,0: 64:[31, 33] Operation: 34-1=33
Exploring Operation: 31+1=32, Resulting Numbers: [34, 32]
Generated Node #0,1,1: 64:[34, 32] Operation: 31+1=32
Exploring Operation: 31+34=65, Resulting Numbers: [1, 65]
Generated Node #0,1,2: 64:[1, 65] Operation: 31+34=65
Exploring Operation: 34-31=3, Resulting Numbers: [1, 3]
Generated Node #0,1,3: 64:[1, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[31, 33], Operations: ['95-61=34', '34-1=33']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 31*33=1023, Resulting Numbers: [1023]
1023,64 unequal: No Solution
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[61, 31, 1, 95], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [31, 1, 34]
Generated Node #0,1: 64:[31, 1, 34] Operation: 95-61=34
Moving to Node #0,1
Current State: 64:[31, 1, 34], Operations: ['95-61=34']
Exploring Operation: 34-1=33, Resulting Numbers: [31, 33]
Generated Node #0,1,0: 64:[31, 33] Operation: 34-1=33
Moving to Node #0,1,0
Current State: 64:[31, 33], Operations: ['95-61=34', '34-1=33']
Exploring Operation: 31+33=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
9,
37,
37,
76
] | 85 | [
"9+37=46",
"76-37=39",
"46+39=85"
] | Current State: 85:[9, 37, 37, 76], Operations: []
Exploring Operation: 9+37=46, Resulting Numbers: [76, 46]
Generated Node #2: [76, 46] from Operation: 9+37=46
Current State: 85:[76, 46], Operations: ['9+37=46']
Exploring Operation: 76-37=39, Resulting Numbers: [46, 39]
Generated Node #3: [46, 39] from Operation: 76-37=39
Current State: 85:[46, 39], Operations: ['9+37=46', '76-37=39']
Exploring Operation: 46+39=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[9, 37, 37, 76], Operations: []
Exploring Operation: 37-9=28, Resulting Numbers: [37, 76, 28]
Generated Node #0,0: 85:[37, 76, 28] Operation: 37-9=28
Exploring Operation: 37-9=28, Resulting Numbers: [37, 76, 28]
Generated Node #0,1: 85:[37, 76, 28] Operation: 37-9=28
Exploring Operation: 37+37=74, Resulting Numbers: [9, 76, 74]
Generated Node #0,2: 85:[9, 76, 74] Operation: 37+37=74
Exploring Operation: 37-37=0, Resulting Numbers: [9, 76, 0]
Generated Node #0,3: 85:[9, 76, 0] Operation: 37-37=0
Exploring Operation: 37/37=1, Resulting Numbers: [9, 76, 1]
Generated Node #0,4: 85:[9, 76, 1] Operation: 37/37=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[9, 76, 1], Operations: ['37/37=1']
Exploring Operation: 9*1=9, Resulting Numbers: [76, 9]
Generated Node #0,4,0: 85:[76, 9] Operation: 9*1=9
Exploring Operation: 9/1=9, Resulting Numbers: [76, 9]
Generated Node #0,4,1: 85:[76, 9] Operation: 9/1=9
Exploring Operation: 76+1=77, Resulting Numbers: [9, 77]
Generated Node #0,4,2: 85:[9, 77] Operation: 76+1=77
Exploring Operation: 9+76=85, Resulting Numbers: [1, 85]
Generated Node #0,4,3: 85:[1, 85] Operation: 9+76=85
Exploring Operation: 9-1=8, Resulting Numbers: [76, 8]
Generated Node #0,4,4: 85:[76, 8] Operation: 9-1=8
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 85:[1, 85], Operations: ['37/37=1', '9+76=85']
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[9, 37, 37, 76], Operations: []
Exploring Operation: 37/37=1, Resulting Numbers: [9, 76, 1]
Generated Node #0,4: 85:[9, 76, 1] Operation: 37/37=1
Moving to Node #0,4
Current State: 85:[9, 76, 1], Operations: ['37/37=1']
Exploring Operation: 9+76=85, Resulting Numbers: [1, 85]
Generated Node #0,4,3: 85:[1, 85] Operation: 9+76=85
Moving to Node #0,4,3
Current State: 85:[1, 85], Operations: ['37/37=1', '9+76=85']
Exploring Operation: 1*85=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
4,
44,
93,
38
] | 44 | [
"44/4=11",
"93-38=55",
"55-11=44"
] | Current State: 44:[4, 44, 93, 38], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [93, 38, 11]
Generated Node #2: [93, 38, 11] from Operation: 44/4=11
Current State: 44:[93, 38, 11], Operations: ['44/4=11']
Exploring Operation: 93-38=55, Resulting Numbers: [11, 55]
Generated Node #3: [11, 55] from Operation: 93-38=55
Current State: 44:[11, 55], Operations: ['44/4=11', '93-38=55']
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 44, 93, 38], Operations: []
Exploring Operation: 93-4=89, Resulting Numbers: [44, 38, 89]
Generated Node #0,0: 44:[44, 38, 89] Operation: 93-4=89
Exploring Operation: 4+38=42, Resulting Numbers: [44, 93, 42]
Generated Node #0,1: 44:[44, 93, 42] Operation: 4+38=42
Exploring Operation: 93-44=49, Resulting Numbers: [4, 38, 49]
Generated Node #0,2: 44:[4, 38, 49] Operation: 93-44=49
Exploring Operation: 93-38=55, Resulting Numbers: [4, 44, 55]
Generated Node #0,3: 44:[4, 44, 55] Operation: 93-38=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[4, 38, 49], Operations: ['93-44=49']
Exploring Operation: 38-4=34, Resulting Numbers: [49, 34]
Generated Node #0,2,0: 44:[49, 34] Operation: 38-4=34
Exploring Operation: 4+38=42, Resulting Numbers: [49, 42]
Generated Node #0,2,1: 44:[49, 42] Operation: 4+38=42
Exploring Operation: 49-38=11, Resulting Numbers: [4, 11]
Generated Node #0,2,2: 44:[4, 11] Operation: 49-38=11
Exploring Operation: 49-4=45, Resulting Numbers: [38, 45]
Generated Node #0,2,3: 44:[38, 45] Operation: 49-4=45
Moving to Node #0,2,2
Current State: 44:[4, 11], Operations: ['93-44=49', '49-38=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[4, 44, 93, 38], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [4, 38, 49]
Generated Node #0,2: 44:[4, 38, 49] Operation: 93-44=49
Moving to Node #0,2
Current State: 44:[4, 38, 49], Operations: ['93-44=49']
Exploring Operation: 49-38=11, Resulting Numbers: [4, 11]
Generated Node #0,2,2: 44:[4, 11] Operation: 49-38=11
Moving to Node #0,2,2
Current State: 44:[4, 11], Operations: ['93-44=49', '49-38=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
13,
19,
34,
69
] | 67 | [
"13+19=32",
"69-34=35",
"32+35=67"
] | Current State: 67:[13, 19, 34, 69], Operations: []
Exploring Operation: 13+19=32, Resulting Numbers: [34, 69, 32]
Generated Node #2: [34, 69, 32] from Operation: 13+19=32
Current State: 67:[34, 69, 32], Operations: ['13+19=32']
Exploring Operation: 69-34=35, Resulting Numbers: [32, 35]
Generated Node #3: [32, 35] from Operation: 69-34=35
Current State: 67:[32, 35], Operations: ['13+19=32', '69-34=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[13, 19, 34, 69], Operations: []
Exploring Operation: 19+34=53, Resulting Numbers: [13, 69, 53]
Generated Node #0,0: 67:[13, 69, 53] Operation: 19+34=53
Exploring Operation: 13+34=47, Resulting Numbers: [19, 69, 47]
Generated Node #0,1: 67:[19, 69, 47] Operation: 13+34=47
Exploring Operation: 13+19=32, Resulting Numbers: [34, 69, 32]
Generated Node #0,2: 67:[34, 69, 32] Operation: 13+19=32
Moving to Node #0,0
Current State: 67:[13, 69, 53], Operations: ['19+34=53']
Exploring Operation: 69-13=56, Resulting Numbers: [53, 56]
Generated Node #0,0,0: 67:[53, 56] Operation: 69-13=56
Exploring Operation: 13+69=82, Resulting Numbers: [53, 82]
Generated Node #0,0,1: 67:[53, 82] Operation: 13+69=82
Exploring Operation: 13+53=66, Resulting Numbers: [69, 66]
Generated Node #0,0,2: 67:[69, 66] Operation: 13+53=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[69, 66], Operations: ['19+34=53', '13+53=66']
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 69*66=4554, Resulting Numbers: [4554]
4554,67 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[53, 56], Operations: ['19+34=53', '69-13=56']
Exploring Operation: 53*56=2968, Resulting Numbers: [2968]
2968,67 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,67 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[53, 82], Operations: ['19+34=53', '13+69=82']
Exploring Operation: 82-53=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 53+82=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 53*82=4346, Resulting Numbers: [4346]
4346,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 67:[19, 69, 47], Operations: ['13+34=47']
Exploring Operation: 69-19=50, Resulting Numbers: [47, 50]
Generated Node #0,1,0: 67:[47, 50] Operation: 69-19=50
Exploring Operation: 19+69=88, Resulting Numbers: [47, 88]
Generated Node #0,1,1: 67:[47, 88] Operation: 19+69=88
Exploring Operation: 19+47=66, Resulting Numbers: [69, 66]
Generated Node #0,1,2: 67:[69, 66] Operation: 19+47=66
Moving to Node #0,2
Current State: 67:[34, 69, 32], Operations: ['13+19=32']
Exploring Operation: 34+32=66, Resulting Numbers: [69, 66]
Generated Node #0,2,0: 67:[69, 66] Operation: 34+32=66
Exploring Operation: 69-34=35, Resulting Numbers: [32, 35]
Generated Node #0,2,1: 67:[32, 35] Operation: 69-34=35
Exploring Operation: 69-32=37, Resulting Numbers: [34, 37]
Generated Node #0,2,2: 67:[34, 37] Operation: 69-32=37
Moving to Node #0,1,2
Current State: 67:[69, 66], Operations: ['13+34=47', '19+47=66']
Exploring Operation: 69*66=4554, Resulting Numbers: [4554]
4554,67 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[69, 66], Operations: ['13+19=32', '34+32=66']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 69*66=4554, Resulting Numbers: [4554]
4554,67 unequal: No Solution
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[47, 50], Operations: ['13+34=47', '69-19=50']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 47*50=2350, Resulting Numbers: [2350]
2350,67 unequal: No Solution
Exploring Operation: 47+50=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[47, 88], Operations: ['13+34=47', '19+69=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[34, 37], Operations: ['13+19=32', '69-32=37']
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,67 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[32, 35], Operations: ['13+19=32', '69-34=35']
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[13, 19, 34, 69], Operations: []
Exploring Operation: 13+19=32, Resulting Numbers: [34, 69, 32]
Generated Node #0,2: 67:[34, 69, 32] Operation: 13+19=32
Moving to Node #0,2
Current State: 67:[34, 69, 32], Operations: ['13+19=32']
Exploring Operation: 69-34=35, Resulting Numbers: [32, 35]
Generated Node #0,2,1: 67:[32, 35] Operation: 69-34=35
Moving to Node #0,2,1
Current State: 67:[32, 35], Operations: ['13+19=32', '69-34=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.963542 | hs_3 | mult_heuristic |
[
80,
3,
96,
7
] | 56 | [
"7-3=4",
"96/4=24",
"80-24=56"
] | Current State: 56:[80, 3, 96, 7], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [80, 96, 4]
Generated Node #2: [80, 96, 4] from Operation: 7-3=4
Current State: 56:[80, 96, 4], Operations: ['7-3=4']
Exploring Operation: 96/4=24, Resulting Numbers: [80, 24]
Generated Node #3: [80, 24] from Operation: 96/4=24
Current State: 56:[80, 24], Operations: ['7-3=4', '96/4=24']
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[80, 3, 96, 7], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [3, 7, 16]
Generated Node #0,0: 56:[3, 7, 16] Operation: 96-80=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[3, 7, 16], Operations: ['96-80=16']
Exploring Operation: 16-3=13, Resulting Numbers: [7, 13]
Generated Node #0,0,0: 56:[7, 13] Operation: 16-3=13
Moving to Node #0,0,0
Current State: 56:[7, 13], Operations: ['96-80=16', '16-3=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,56 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 |
[
7,
84,
40,
24
] | 38 | [
"84/7=12",
"24/12=2",
"40-2=38"
] | Current State: 38:[7, 84, 40, 24], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [40, 24, 12]
Generated Node #2: [40, 24, 12] from Operation: 84/7=12
Current State: 38:[40, 24, 12], Operations: ['84/7=12']
Exploring Operation: 24/12=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 24/12=2
Current State: 38:[40, 2], Operations: ['84/7=12', '24/12=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[7, 84, 40, 24], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [40, 24, 12]
Generated Node #0,0: 38:[40, 24, 12] Operation: 84/7=12
Exploring Operation: 84-24=60, Resulting Numbers: [7, 40, 60]
Generated Node #0,1: 38:[7, 40, 60] Operation: 84-24=60
Exploring Operation: 24-7=17, Resulting Numbers: [84, 40, 17]
Generated Node #0,2: 38:[84, 40, 17] Operation: 24-7=17
Exploring Operation: 84-7=77, Resulting Numbers: [40, 24, 77]
Generated Node #0,3: 38:[40, 24, 77] Operation: 84-7=77
Exploring Operation: 84-40=44, Resulting Numbers: [7, 24, 44]
Generated Node #0,4: 38:[7, 24, 44] Operation: 84-40=44
Moving to Node #0,0
Current State: 38:[40, 24, 12], Operations: ['84/7=12']
Exploring Operation: 24+12=36, Resulting Numbers: [40, 36]
Generated Node #0,0,0: 38:[40, 36] Operation: 24+12=36
Exploring Operation: 24/12=2, Resulting Numbers: [40, 2]
Generated Node #0,0,1: 38:[40, 2] Operation: 24/12=2
Exploring Operation: 40-24=16, Resulting Numbers: [12, 16]
Generated Node #0,0,2: 38:[12, 16] Operation: 40-24=16
Exploring Operation: 40-12=28, Resulting Numbers: [24, 28]
Generated Node #0,0,3: 38:[24, 28] Operation: 40-12=28
Exploring Operation: 24-12=12, Resulting Numbers: [40, 12]
Generated Node #0,0,4: 38:[40, 12] Operation: 24-12=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[40, 2], Operations: ['84/7=12', '24/12=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[7, 84, 40, 24], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [40, 24, 12]
Generated Node #0,0: 38:[40, 24, 12] Operation: 84/7=12
Moving to Node #0,0
Current State: 38:[40, 24, 12], Operations: ['84/7=12']
Exploring Operation: 24/12=2, Resulting Numbers: [40, 2]
Generated Node #0,0,1: 38:[40, 2] Operation: 24/12=2
Moving to Node #0,0,1
Current State: 38:[40, 2], Operations: ['84/7=12', '24/12=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
74,
18,
65,
24
] | 22 | [
"74-65=9",
"18/9=2",
"24-2=22"
] | Current State: 22:[74, 18, 65, 24], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [18, 24, 9]
Generated Node #2: [18, 24, 9] from Operation: 74-65=9
Current State: 22:[18, 24, 9], Operations: ['74-65=9']
Exploring Operation: 18/9=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 18/9=2
Current State: 22:[24, 2], Operations: ['74-65=9', '18/9=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[74, 18, 65, 24], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [18, 24, 9]
Generated Node #0,0: 22:[18, 24, 9] Operation: 74-65=9
Exploring Operation: 74-24=50, Resulting Numbers: [18, 65, 50]
Generated Node #0,1: 22:[18, 65, 50] Operation: 74-24=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[18, 24, 9], Operations: ['74-65=9']
Exploring Operation: 18-9=9, Resulting Numbers: [24, 9]
Generated Node #0,0,0: 22:[24, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 22:[24, 2] Operation: 18/9=2
Moving to Node #0,0,1
Current State: 22:[24, 2], Operations: ['74-65=9', '18/9=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[74, 18, 65, 24], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [18, 24, 9]
Generated Node #0,0: 22:[18, 24, 9] Operation: 74-65=9
Moving to Node #0,0
Current State: 22:[18, 24, 9], Operations: ['74-65=9']
Exploring Operation: 18/9=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 22:[24, 2] Operation: 18/9=2
Moving to Node #0,0,1
Current State: 22:[24, 2], Operations: ['74-65=9', '18/9=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
90,
64,
4,
86
] | 18 | [
"90-64=26",
"4*26=104",
"104-86=18"
] | Current State: 18:[90, 64, 4, 86], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [4, 86, 26]
Generated Node #2: [4, 86, 26] from Operation: 90-64=26
Current State: 18:[4, 86, 26], Operations: ['90-64=26']
Exploring Operation: 4*26=104, Resulting Numbers: [86, 104]
Generated Node #3: [86, 104] from Operation: 4*26=104
Current State: 18:[86, 104], Operations: ['90-64=26', '4*26=104']
Exploring Operation: 104-86=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[90, 64, 4, 86], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [64, 4, 4]
Generated Node #0,0: 18:[64, 4, 4] Operation: 90-86=4
Exploring Operation: 90-64=26, Resulting Numbers: [4, 86, 26]
Generated Node #0,1: 18:[4, 86, 26] Operation: 90-64=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[64, 4, 4], Operations: ['90-86=4']
Exploring Operation: 64/4=16, Resulting Numbers: [4, 16]
Generated Node #0,0,0: 18:[4, 16] Operation: 64/4=16
Exploring Operation: 64/4=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 18:[4, 16] Operation: 64/4=16
Moving to Node #0,0,0
Current State: 18:[4, 16], Operations: ['90-86=4', '64/4=16']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[4, 16], Operations: ['90-86=4', '64/4=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,18 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,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:[4, 86, 26], Operations: ['90-64=26']
Exploring Operation: 86-26=60, Resulting Numbers: [4, 60]
Generated Node #0,1,0: 18:[4, 60] Operation: 86-26=60
Exploring Operation: 86-4=82, Resulting Numbers: [26, 82]
Generated Node #0,1,1: 18:[26, 82] Operation: 86-4=82
Moving to Node #0,1,0
Current State: 18:[4, 60], Operations: ['90-64=26', '86-26=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[26, 82], Operations: ['90-64=26', '86-4=82']
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,18 unequal: No Solution
Exploring Operation: 26+82=108, Resulting Numbers: [108]
108,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 | sum_heuristic |
[
4,
20,
21,
6
] | 30 | [
"20-4=16",
"21-16=5",
"6*5=30"
] | Current State: 30:[4, 20, 21, 6], Operations: []
Exploring Operation: 20-4=16, Resulting Numbers: [21, 6, 16]
Generated Node #2: [21, 6, 16] from Operation: 20-4=16
Current State: 30:[21, 6, 16], Operations: ['20-4=16']
Exploring Operation: 21-16=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 21-16=5
Current State: 30:[6, 5], Operations: ['20-4=16', '21-16=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[4, 20, 21, 6], Operations: []
Exploring Operation: 21-6=15, Resulting Numbers: [4, 20, 15]
Generated Node #0,0: 30:[4, 20, 15] Operation: 21-6=15
Exploring Operation: 20/4=5, Resulting Numbers: [21, 6, 5]
Generated Node #0,1: 30:[21, 6, 5] Operation: 20/4=5
Exploring Operation: 21-20=1, Resulting Numbers: [4, 6, 1]
Generated Node #0,2: 30:[4, 6, 1] Operation: 21-20=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[4, 6, 1], Operations: ['21-20=1']
Exploring Operation: 4+1=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 30:[6, 5] Operation: 4+1=5
Exploring Operation: 4-1=3, Resulting Numbers: [6, 3]
Generated Node #0,2,1: 30:[6, 3] Operation: 4-1=3
Exploring Operation: 4+6=10, Resulting Numbers: [1, 10]
Generated Node #0,2,2: 30:[1, 10] Operation: 4+6=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 30:[6, 5], Operations: ['21-20=1', '4+1=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[4, 20, 21, 6], Operations: []
Exploring Operation: 21-20=1, Resulting Numbers: [4, 6, 1]
Generated Node #0,2: 30:[4, 6, 1] Operation: 21-20=1
Moving to Node #0,2
Current State: 30:[4, 6, 1], Operations: ['21-20=1']
Exploring Operation: 4+1=5, Resulting Numbers: [6, 5]
Generated Node #0,2,0: 30:[6, 5] Operation: 4+1=5
Moving to Node #0,2,0
Current State: 30:[6, 5], Operations: ['21-20=1', '4+1=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
44,
47,
62,
47
] | 18 | [
"44+47=91",
"62+47=109",
"109-91=18"
] | Current State: 18:[44, 47, 62, 47], Operations: []
Exploring Operation: 44+47=91, Resulting Numbers: [62, 91]
Generated Node #2: [62, 91] from Operation: 44+47=91
Current State: 18:[62, 91], Operations: ['44+47=91']
Exploring Operation: 62+47=109, Resulting Numbers: [91, 109]
Generated Node #3: [91, 109] from Operation: 62+47=109
Current State: 18:[91, 109], Operations: ['44+47=91', '62+47=109']
Exploring Operation: 109-91=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[44, 47, 62, 47], Operations: []
Exploring Operation: 47-47=0, Resulting Numbers: [44, 62, 0]
Generated Node #0,0: 18:[44, 62, 0] Operation: 47-47=0
Exploring Operation: 62-47=15, Resulting Numbers: [44, 47, 15]
Generated Node #0,1: 18:[44, 47, 15] Operation: 62-47=15
Exploring Operation: 62-44=18, Resulting Numbers: [47, 47, 18]
Generated Node #0,2: 18:[47, 47, 18] Operation: 62-44=18
Exploring Operation: 47/47=1, Resulting Numbers: [44, 62, 1]
Generated Node #0,3: 18:[44, 62, 1] Operation: 47/47=1
Exploring Operation: 62-47=15, Resulting Numbers: [44, 47, 15]
Generated Node #0,4: 18:[44, 47, 15] Operation: 62-47=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[44, 47, 15], Operations: ['62-47=15']
Exploring Operation: 47+15=62, Resulting Numbers: [44, 62]
Generated Node #0,1,0: 18:[44, 62] Operation: 47+15=62
Exploring Operation: 47-15=32, Resulting Numbers: [44, 32]
Generated Node #0,1,1: 18:[44, 32] Operation: 47-15=32
Exploring Operation: 44+15=59, Resulting Numbers: [47, 59]
Generated Node #0,1,2: 18:[47, 59] Operation: 44+15=59
Exploring Operation: 44-15=29, Resulting Numbers: [47, 29]
Generated Node #0,1,3: 18:[47, 29] Operation: 44-15=29
Exploring Operation: 47-44=3, Resulting Numbers: [15, 3]
Generated Node #0,1,4: 18:[15, 3] Operation: 47-44=3
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 18:[15, 3], Operations: ['62-47=15', '47-44=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,18 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[44, 47, 62, 47], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [44, 47, 15]
Generated Node #0,1: 18:[44, 47, 15] Operation: 62-47=15
Moving to Node #0,1
Current State: 18:[44, 47, 15], Operations: ['62-47=15']
Exploring Operation: 47-44=3, Resulting Numbers: [15, 3]
Generated Node #0,1,4: 18:[15, 3] Operation: 47-44=3
Moving to Node #0,1,4
Current State: 18:[15, 3], Operations: ['62-47=15', '47-44=3']
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
90,
4,
95,
62
] | 53 | [
"90-4=86",
"95-62=33",
"86-33=53"
] | Current State: 53:[90, 4, 95, 62], Operations: []
Exploring Operation: 90-4=86, Resulting Numbers: [95, 62, 86]
Generated Node #2: [95, 62, 86] from Operation: 90-4=86
Current State: 53:[95, 62, 86], Operations: ['90-4=86']
Exploring Operation: 95-62=33, Resulting Numbers: [86, 33]
Generated Node #3: [86, 33] from Operation: 95-62=33
Current State: 53:[86, 33], Operations: ['90-4=86', '95-62=33']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[90, 4, 95, 62], Operations: []
Exploring Operation: 95-4=91, Resulting Numbers: [90, 62, 91]
Generated Node #0,0: 53:[90, 62, 91] Operation: 95-4=91
Exploring Operation: 90-4=86, Resulting Numbers: [95, 62, 86]
Generated Node #0,1: 53:[95, 62, 86] Operation: 90-4=86
Moving to Node #0,0
Current State: 53:[90, 62, 91], Operations: ['95-4=91']
Exploring Operation: 91-90=1, Resulting Numbers: [62, 1]
Generated Node #0,0,0: 53:[62, 1] Operation: 91-90=1
Exploring Operation: 91-62=29, Resulting Numbers: [90, 29]
Generated Node #0,0,1: 53:[90, 29] Operation: 91-62=29
Moving to Node #0,1
Current State: 53:[95, 62, 86], Operations: ['90-4=86']
Exploring Operation: 95-62=33, Resulting Numbers: [86, 33]
Generated Node #0,1,0: 53:[86, 33] Operation: 95-62=33
Exploring Operation: 95-86=9, Resulting Numbers: [62, 9]
Generated Node #0,1,1: 53:[62, 9] Operation: 95-86=9
Moving to Node #0,1,0
Current State: 53:[86, 33], Operations: ['90-4=86', '95-62=33']
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,53 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[90, 4, 95, 62], Operations: []
Exploring Operation: 90-4=86, Resulting Numbers: [95, 62, 86]
Generated Node #0,1: 53:[95, 62, 86] Operation: 90-4=86
Moving to Node #0,1
Current State: 53:[95, 62, 86], Operations: ['90-4=86']
Exploring Operation: 95-62=33, Resulting Numbers: [86, 33]
Generated Node #0,1,0: 53:[86, 33] Operation: 95-62=33
Moving to Node #0,1,0
Current State: 53:[86, 33], Operations: ['90-4=86', '95-62=33']
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
23,
69,
99,
26
] | 59 | [
"69/23=3",
"99/3=33",
"26+33=59"
] | Current State: 59:[23, 69, 99, 26], Operations: []
Exploring Operation: 69/23=3, Resulting Numbers: [99, 26, 3]
Generated Node #2: [99, 26, 3] from Operation: 69/23=3
Current State: 59:[99, 26, 3], Operations: ['69/23=3']
Exploring Operation: 99/3=33, Resulting Numbers: [26, 33]
Generated Node #3: [26, 33] from Operation: 99/3=33
Current State: 59:[26, 33], Operations: ['69/23=3', '99/3=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[23, 69, 99, 26], Operations: []
Exploring Operation: 99-23=76, Resulting Numbers: [69, 26, 76]
Generated Node #0,0: 59:[69, 26, 76] Operation: 99-23=76
Exploring Operation: 23+26=49, Resulting Numbers: [69, 99, 49]
Generated Node #0,1: 59:[69, 99, 49] Operation: 23+26=49
Exploring Operation: 99-26=73, Resulting Numbers: [23, 69, 73]
Generated Node #0,2: 59:[23, 69, 73] Operation: 99-26=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[69, 26, 76], Operations: ['99-23=76']
Exploring Operation: 69-26=43, Resulting Numbers: [76, 43]
Generated Node #0,0,0: 59:[76, 43] Operation: 69-26=43
Exploring Operation: 69+26=95, Resulting Numbers: [76, 95]
Generated Node #0,0,1: 59:[76, 95] Operation: 69+26=95
Exploring Operation: 76-26=50, Resulting Numbers: [69, 50]
Generated Node #0,0,2: 59:[69, 50] Operation: 76-26=50
Moving to Node #0,0,2
Current State: 59:[69, 50], Operations: ['99-23=76', '76-26=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[76, 43], Operations: ['99-23=76', '69-26=43']
Exploring Operation: 76*43=3268, Resulting Numbers: [3268]
3268,59 unequal: No Solution
Exploring Operation: 76-43=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 76+43=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[76, 95], Operations: ['99-23=76', '69+26=95']
Exploring Operation: 76*95=7220, Resulting Numbers: [7220]
7220,59 unequal: No Solution
Exploring Operation: 95-76=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 76+95=171, Resulting Numbers: [171]
171,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,1
Current State: 59:[69, 99, 49], Operations: ['23+26=49']
Exploring Operation: 99-49=50, Resulting Numbers: [69, 50]
Generated Node #0,1,0: 59:[69, 50] Operation: 99-49=50
Exploring Operation: 69-49=20, Resulting Numbers: [99, 20]
Generated Node #0,1,1: 59:[99, 20] Operation: 69-49=20
Exploring Operation: 99-69=30, Resulting Numbers: [49, 30]
Generated Node #0,1,2: 59:[49, 30] Operation: 99-69=30
Moving to Node #0,1,0
Current State: 59:[69, 50], Operations: ['23+26=49', '99-49=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[49, 30], Operations: ['23+26=49', '99-69=30']
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,59 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[99, 20], Operations: ['23+26=49', '69-49=20']
Exploring Operation: 99-20=79, Resulting Numbers: [79]
79,59 unequal: No Solution
Exploring Operation: 99+20=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 99*20=1980, Resulting Numbers: [1980]
1980,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,2
Current State: 59:[23, 69, 73], Operations: ['99-26=73']
Exploring Operation: 23+69=92, Resulting Numbers: [73, 92]
Generated Node #0,2,0: 59:[73, 92] Operation: 23+69=92
Exploring Operation: 73-23=50, Resulting Numbers: [69, 50]
Generated Node #0,2,1: 59:[69, 50] Operation: 73-23=50
Exploring Operation: 69-23=46, Resulting Numbers: [73, 46]
Generated Node #0,2,2: 59:[73, 46] Operation: 69-23=46
Moving to Node #0,2,1
Current State: 59:[69, 50], Operations: ['99-26=73', '73-23=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[73, 46], Operations: ['99-26=73', '69-23=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,59 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[73, 92], Operations: ['99-26=73', '23+69=92']
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,59 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
40,
17,
10,
39
] | 60 | [
"40/10=4",
"17+39=56",
"4+56=60"
] | Current State: 60:[40, 17, 10, 39], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [17, 39, 4]
Generated Node #2: [17, 39, 4] from Operation: 40/10=4
Current State: 60:[17, 39, 4], Operations: ['40/10=4']
Exploring Operation: 17+39=56, Resulting Numbers: [4, 56]
Generated Node #3: [4, 56] from Operation: 17+39=56
Current State: 60:[4, 56], Operations: ['40/10=4', '17+39=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[40, 17, 10, 39], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [17, 39, 4]
Generated Node #0,0: 60:[17, 39, 4] Operation: 40/10=4
Exploring Operation: 40-39=1, Resulting Numbers: [17, 10, 1]
Generated Node #0,1: 60:[17, 10, 1] Operation: 40-39=1
Exploring Operation: 40-10=30, Resulting Numbers: [17, 39, 30]
Generated Node #0,2: 60:[17, 39, 30] Operation: 40-10=30
Exploring Operation: 40-17=23, Resulting Numbers: [10, 39, 23]
Generated Node #0,3: 60:[10, 39, 23] Operation: 40-17=23
Exploring Operation: 40+17=57, Resulting Numbers: [10, 39, 57]
Generated Node #0,4: 60:[10, 39, 57] Operation: 40+17=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[17, 10, 1], Operations: ['40-39=1']
Exploring Operation: 17*1=17, Resulting Numbers: [10, 17]
Generated Node #0,1,0: 60:[10, 17] Operation: 17*1=17
Exploring Operation: 17+1=18, Resulting Numbers: [10, 18]
Generated Node #0,1,1: 60:[10, 18] Operation: 17+1=18
Exploring Operation: 17/1=17, Resulting Numbers: [10, 17]
Generated Node #0,1,2: 60:[10, 17] Operation: 17/1=17
Exploring Operation: 17-1=16, Resulting Numbers: [10, 16]
Generated Node #0,1,3: 60:[10, 16] Operation: 17-1=16
Exploring Operation: 17-10=7, Resulting Numbers: [1, 7]
Generated Node #0,1,4: 60:[1, 7] Operation: 17-10=7
Moving to Node #0,1,3
Current State: 60:[10, 16], Operations: ['40-39=1', '17-1=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,60 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[10, 18], Operations: ['40-39=1', '17+1=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,60 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[1, 7], Operations: ['40-39=1', '17-10=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[10, 17], Operations: ['40-39=1', '17*1=17']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,60 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[10, 17], Operations: ['40-39=1', '17/1=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,60 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,60 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[17, 39, 4], Operations: ['40/10=4']
Exploring Operation: 17-4=13, Resulting Numbers: [39, 13]
Generated Node #0,0,0: 60:[39, 13] Operation: 17-4=13
Exploring Operation: 39-17=22, Resulting Numbers: [4, 22]
Generated Node #0,0,1: 60:[4, 22] Operation: 39-17=22
Exploring Operation: 17+39=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 60:[4, 56] Operation: 17+39=56
Exploring Operation: 39-4=35, Resulting Numbers: [17, 35]
Generated Node #0,0,3: 60:[17, 35] Operation: 39-4=35
Exploring Operation: 17+4=21, Resulting Numbers: [39, 21]
Generated Node #0,0,4: 60:[39, 21] Operation: 17+4=21
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[4, 22], Operations: ['40/10=4', '39-17=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,60 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[4, 56], Operations: ['40/10=4', '17+39=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[40, 17, 10, 39], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [17, 39, 4]
Generated Node #0,0: 60:[17, 39, 4] Operation: 40/10=4
Moving to Node #0,0
Current State: 60:[17, 39, 4], Operations: ['40/10=4']
Exploring Operation: 17+39=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 60:[4, 56] Operation: 17+39=56
Moving to Node #0,0,2
Current State: 60:[4, 56], Operations: ['40/10=4', '17+39=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
14,
14,
97,
25
] | 44 | [
"14+14=28",
"97-25=72",
"72-28=44"
] | Current State: 44:[14, 14, 97, 25], Operations: []
Exploring Operation: 14+14=28, Resulting Numbers: [97, 25, 28]
Generated Node #2: [97, 25, 28] from Operation: 14+14=28
Current State: 44:[97, 25, 28], Operations: ['14+14=28']
Exploring Operation: 97-25=72, Resulting Numbers: [28, 72]
Generated Node #3: [28, 72] from Operation: 97-25=72
Current State: 44:[28, 72], Operations: ['14+14=28', '97-25=72']
Exploring Operation: 72-28=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[14, 14, 97, 25], Operations: []
Exploring Operation: 97-14=83, Resulting Numbers: [14, 25, 83]
Generated Node #0,0: 44:[14, 25, 83] Operation: 97-14=83
Exploring Operation: 97-14=83, Resulting Numbers: [14, 25, 83]
Generated Node #0,1: 44:[14, 25, 83] Operation: 97-14=83
Exploring Operation: 97-25=72, Resulting Numbers: [14, 14, 72]
Generated Node #0,2: 44:[14, 14, 72] Operation: 97-25=72
Exploring Operation: 25-14=11, Resulting Numbers: [14, 97, 11]
Generated Node #0,3: 44:[14, 97, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[14, 14, 72], Operations: ['97-25=72']
Exploring Operation: 14/14=1, Resulting Numbers: [72, 1]
Generated Node #0,2,0: 44:[72, 1] Operation: 14/14=1
Exploring Operation: 72-14=58, Resulting Numbers: [14, 58]
Generated Node #0,2,1: 44:[14, 58] Operation: 72-14=58
Exploring Operation: 14-14=0, Resulting Numbers: [72, 0]
Generated Node #0,2,2: 44:[72, 0] Operation: 14-14=0
Exploring Operation: 72-14=58, Resulting Numbers: [14, 58]
Generated Node #0,2,3: 44:[14, 58] Operation: 72-14=58
Moving to Node #0,2,1
Current State: 44:[14, 58], Operations: ['97-25=72', '72-14=58']
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,44 unequal: No Solution
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,44 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[14, 14, 97, 25], Operations: []
Exploring Operation: 97-25=72, Resulting Numbers: [14, 14, 72]
Generated Node #0,2: 44:[14, 14, 72] Operation: 97-25=72
Moving to Node #0,2
Current State: 44:[14, 14, 72], Operations: ['97-25=72']
Exploring Operation: 72-14=58, Resulting Numbers: [14, 58]
Generated Node #0,2,1: 44:[14, 58] Operation: 72-14=58
Moving to Node #0,2,1
Current State: 44:[14, 58], Operations: ['97-25=72', '72-14=58']
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
59,
43,
96,
82
] | 30 | [
"59-43=16",
"96-82=14",
"16+14=30"
] | Current State: 30:[59, 43, 96, 82], Operations: []
Exploring Operation: 59-43=16, Resulting Numbers: [96, 82, 16]
Generated Node #2: [96, 82, 16] from Operation: 59-43=16
Current State: 30:[96, 82, 16], Operations: ['59-43=16']
Exploring Operation: 96-82=14, Resulting Numbers: [16, 14]
Generated Node #3: [16, 14] from Operation: 96-82=14
Current State: 30:[16, 14], Operations: ['59-43=16', '96-82=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[59, 43, 96, 82], Operations: []
Exploring Operation: 96-59=37, Resulting Numbers: [43, 82, 37]
Generated Node #0,0: 30:[43, 82, 37] Operation: 96-59=37
Exploring Operation: 96-82=14, Resulting Numbers: [59, 43, 14]
Generated Node #0,1: 30:[59, 43, 14] Operation: 96-82=14
Exploring Operation: 82-59=23, Resulting Numbers: [43, 96, 23]
Generated Node #0,2: 30:[43, 96, 23] Operation: 82-59=23
Moving to Node #0,1
Current State: 30:[59, 43, 14], Operations: ['96-82=14']
Exploring Operation: 59-14=45, Resulting Numbers: [43, 45]
Generated Node #0,1,0: 30:[43, 45] Operation: 59-14=45
Exploring Operation: 43-14=29, Resulting Numbers: [59, 29]
Generated Node #0,1,1: 30:[59, 29] Operation: 43-14=29
Exploring Operation: 59-43=16, Resulting Numbers: [14, 16]
Generated Node #0,1,2: 30:[14, 16] Operation: 59-43=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[14, 16], Operations: ['96-82=14', '59-43=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[59, 43, 96, 82], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [59, 43, 14]
Generated Node #0,1: 30:[59, 43, 14] Operation: 96-82=14
Moving to Node #0,1
Current State: 30:[59, 43, 14], Operations: ['96-82=14']
Exploring Operation: 59-43=16, Resulting Numbers: [14, 16]
Generated Node #0,1,2: 30:[14, 16] Operation: 59-43=16
Moving to Node #0,1,2
Current State: 30:[14, 16], Operations: ['96-82=14', '59-43=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
36,
15,
93,
40
] | 33 | [
"40-36=4",
"15*4=60",
"93-60=33"
] | Current State: 33:[36, 15, 93, 40], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [15, 93, 4]
Generated Node #2: [15, 93, 4] from Operation: 40-36=4
Current State: 33:[15, 93, 4], Operations: ['40-36=4']
Exploring Operation: 15*4=60, Resulting Numbers: [93, 60]
Generated Node #3: [93, 60] from Operation: 15*4=60
Current State: 33:[93, 60], Operations: ['40-36=4', '15*4=60']
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[36, 15, 93, 40], Operations: []
Exploring Operation: 93-40=53, Resulting Numbers: [36, 15, 53]
Generated Node #0,0: 33:[36, 15, 53] Operation: 93-40=53
Exploring Operation: 93-36=57, Resulting Numbers: [15, 40, 57]
Generated Node #0,1: 33:[15, 40, 57] Operation: 93-36=57
Moving to Node #0,0
Current State: 33:[36, 15, 53], Operations: ['93-40=53']
Exploring Operation: 53-36=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 33:[15, 17] Operation: 53-36=17
Exploring Operation: 53-15=38, Resulting Numbers: [36, 38]
Generated Node #0,0,1: 33:[36, 38] Operation: 53-15=38
Moving to Node #0,1
Current State: 33:[15, 40, 57], Operations: ['93-36=57']
Exploring Operation: 57-15=42, Resulting Numbers: [40, 42]
Generated Node #0,1,0: 33:[40, 42] Operation: 57-15=42
Exploring Operation: 57-40=17, Resulting Numbers: [15, 17]
Generated Node #0,1,1: 33:[15, 17] Operation: 57-40=17
Moving to Node #0,0,1
Current State: 33:[36, 38], Operations: ['93-40=53', '53-15=38']
Exploring Operation: 36+38=74, Resulting Numbers: [74]
74,33 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[15, 17], Operations: ['93-36=57', '57-40=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[15, 17], Operations: ['93-40=53', '53-36=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[40, 42], Operations: ['93-36=57', '57-15=42']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 40+42=82, Resulting Numbers: [82]
82,33 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
60,
6,
58
] | 75 | [
"60-58=2",
"6/2=3",
"78-3=75"
] | Current State: 75:[78, 60, 6, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [78, 6, 2]
Generated Node #2: [78, 6, 2] from Operation: 60-58=2
Current State: 75:[78, 6, 2], Operations: ['60-58=2']
Exploring Operation: 6/2=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 6/2=3
Current State: 75:[78, 3], Operations: ['60-58=2', '6/2=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[78, 60, 6, 58], Operations: []
Exploring Operation: 60+6=66, Resulting Numbers: [78, 58, 66]
Generated Node #0,0: 75:[78, 58, 66] Operation: 60+6=66
Exploring Operation: 60-58=2, Resulting Numbers: [78, 6, 2]
Generated Node #0,1: 75:[78, 6, 2] Operation: 60-58=2
Exploring Operation: 60/6=10, Resulting Numbers: [78, 58, 10]
Generated Node #0,2: 75:[78, 58, 10] Operation: 60/6=10
Exploring Operation: 78-60=18, Resulting Numbers: [6, 58, 18]
Generated Node #0,3: 75:[6, 58, 18] Operation: 78-60=18
Exploring Operation: 78-58=20, Resulting Numbers: [60, 6, 20]
Generated Node #0,4: 75:[60, 6, 20] Operation: 78-58=20
Moving to Node #0,1
Current State: 75:[78, 6, 2], Operations: ['60-58=2']
Exploring Operation: 78-6=72, Resulting Numbers: [2, 72]
Generated Node #0,1,0: 75:[2, 72] Operation: 78-6=72
Exploring Operation: 6/2=3, Resulting Numbers: [78, 3]
Generated Node #0,1,1: 75:[78, 3] Operation: 6/2=3
Exploring Operation: 78-2=76, Resulting Numbers: [6, 76]
Generated Node #0,1,2: 75:[6, 76] Operation: 78-2=76
Exploring Operation: 78/6=13, Resulting Numbers: [2, 13]
Generated Node #0,1,3: 75:[2, 13] Operation: 78/6=13
Exploring Operation: 6-2=4, Resulting Numbers: [78, 4]
Generated Node #0,1,4: 75:[78, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[6, 76], Operations: ['60-58=2', '78-2=76']
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,75 unequal: No Solution
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,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:[78, 3], Operations: ['60-58=2', '6/2=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,75 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[78, 60, 6, 58], Operations: []
Exploring Operation: 60-58=2, Resulting Numbers: [78, 6, 2]
Generated Node #0,1: 75:[78, 6, 2] Operation: 60-58=2
Moving to Node #0,1
Current State: 75:[78, 6, 2], Operations: ['60-58=2']
Exploring Operation: 6/2=3, Resulting Numbers: [78, 3]
Generated Node #0,1,1: 75:[78, 3] Operation: 6/2=3
Moving to Node #0,1,1
Current State: 75:[78, 3], Operations: ['60-58=2', '6/2=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
5,
51,
20,
61
] | 35 | [
"51-5=46",
"20+61=81",
"81-46=35"
] | Current State: 35:[5, 51, 20, 61], Operations: []
Exploring Operation: 51-5=46, Resulting Numbers: [20, 61, 46]
Generated Node #2: [20, 61, 46] from Operation: 51-5=46
Current State: 35:[20, 61, 46], Operations: ['51-5=46']
Exploring Operation: 20+61=81, Resulting Numbers: [46, 81]
Generated Node #3: [46, 81] from Operation: 20+61=81
Current State: 35:[46, 81], Operations: ['51-5=46', '20+61=81']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[5, 51, 20, 61], Operations: []
Exploring Operation: 61-51=10, Resulting Numbers: [5, 20, 10]
Generated Node #0,0: 35:[5, 20, 10] Operation: 61-51=10
Moving to Node #0,0
Current State: 35:[5, 20, 10], Operations: ['61-51=10']
Exploring Operation: 20-10=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 35:[5, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[5, 10], Operations: ['61-51=10', '20-10=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,35 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 |
[
90,
10,
71,
80
] | 89 | [
"90-10=80",
"80-71=9",
"80+9=89"
] | Current State: 89:[90, 10, 71, 80], Operations: []
Exploring Operation: 90-10=80, Resulting Numbers: [71, 80, 80]
Generated Node #2: [71, 80, 80] from Operation: 90-10=80
Current State: 89:[71, 80, 80], Operations: ['90-10=80']
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,89 equal: Goal Reached
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[90, 10, 71, 80], Operations: []
Exploring Operation: 10+80=90, Resulting Numbers: [90, 71, 90]
Generated Node #0,0: 89:[90, 71, 90] Operation: 10+80=90
Exploring Operation: 10+71=81, Resulting Numbers: [90, 80, 81]
Generated Node #0,1: 89:[90, 80, 81] Operation: 10+71=81
Exploring Operation: 90+10=100, Resulting Numbers: [71, 80, 100]
Generated Node #0,2: 89:[71, 80, 100] Operation: 90+10=100
Exploring Operation: 90-10=80, Resulting Numbers: [71, 80, 80]
Generated Node #0,3: 89:[71, 80, 80] Operation: 90-10=80
Moving to Node #0,1
Current State: 89:[90, 80, 81], Operations: ['10+71=81']
Exploring Operation: 90-81=9, Resulting Numbers: [80, 9]
Generated Node #0,1,0: 89:[80, 9] Operation: 90-81=9
Exploring Operation: 90-80=10, Resulting Numbers: [81, 10]
Generated Node #0,1,1: 89:[81, 10] Operation: 90-80=10
Exploring Operation: 90+80=170, Resulting Numbers: [81, 170]
Generated Node #0,1,2: 89:[81, 170] Operation: 90+80=170
Exploring Operation: 80+81=161, Resulting Numbers: [90, 161]
Generated Node #0,1,3: 89:[90, 161] Operation: 80+81=161
Moving to Node #0,0
Current State: 89:[90, 71, 90], Operations: ['10+80=90']
Exploring Operation: 90-71=19, Resulting Numbers: [90, 19]
Generated Node #0,0,0: 89:[90, 19] Operation: 90-71=19
Exploring Operation: 90+71=161, Resulting Numbers: [90, 161]
Generated Node #0,0,1: 89:[90, 161] Operation: 90+71=161
Exploring Operation: 71+90=161, Resulting Numbers: [90, 161]
Generated Node #0,0,2: 89:[90, 161] Operation: 71+90=161
Exploring Operation: 90-71=19, Resulting Numbers: [90, 19]
Generated Node #0,0,3: 89:[90, 19] Operation: 90-71=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[90, 19], Operations: ['10+80=90', '90-71=19']
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,89 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[90, 19], Operations: ['10+80=90', '90-71=19']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[90, 161], Operations: ['10+80=90', '90+71=161']
Exploring Operation: 90+161=251, Resulting Numbers: [251]
251,89 unequal: No Solution
Exploring Operation: 161-90=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 90*161=14490, Resulting Numbers: [14490]
14490,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[90, 161], Operations: ['10+80=90', '71+90=161']
Exploring Operation: 90*161=14490, Resulting Numbers: [14490]
14490,89 unequal: No Solution
Exploring Operation: 161-90=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 90+161=251, Resulting Numbers: [251]
251,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 89:[71, 80, 80], Operations: ['90-10=80']
Exploring Operation: 71+80=151, Resulting Numbers: [80, 151]
Generated Node #0,3,0: 89:[80, 151] Operation: 71+80=151
Exploring Operation: 80-71=9, Resulting Numbers: [80, 9]
Generated Node #0,3,1: 89:[80, 9] Operation: 80-71=9
Exploring Operation: 71+80=151, Resulting Numbers: [80, 151]
Generated Node #0,3,2: 89:[80, 151] Operation: 71+80=151
Exploring Operation: 80-71=9, Resulting Numbers: [80, 9]
Generated Node #0,3,3: 89:[80, 9] Operation: 80-71=9
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[80, 151], Operations: ['90-10=80', '71+80=151']
Exploring Operation: 80*151=12080, Resulting Numbers: [12080]
12080,89 unequal: No Solution
Exploring Operation: 80+151=231, Resulting Numbers: [231]
231,89 unequal: No Solution
Exploring Operation: 151-80=71, Resulting Numbers: [71]
71,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[80, 151], Operations: ['90-10=80', '71+80=151']
Exploring Operation: 80*151=12080, Resulting Numbers: [12080]
12080,89 unequal: No Solution
Exploring Operation: 151-80=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 80+151=231, Resulting Numbers: [231]
231,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[80, 9], Operations: ['90-10=80', '80-71=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[90, 10, 71, 80], Operations: []
Exploring Operation: 90-10=80, Resulting Numbers: [71, 80, 80]
Generated Node #0,3: 89:[71, 80, 80] Operation: 90-10=80
Moving to Node #0,3
Current State: 89:[71, 80, 80], Operations: ['90-10=80']
Exploring Operation: 80-71=9, Resulting Numbers: [80, 9]
Generated Node #0,3,1: 89:[80, 9] Operation: 80-71=9
Moving to Node #0,3,1
Current State: 89:[80, 9], Operations: ['90-10=80', '80-71=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | mult_heuristic |
[
17,
96,
72,
99
] | 87 | [
"17+99=116",
"72*116=8352",
"8352/96=87"
] | Current State: 87:[17, 96, 72, 99], Operations: []
Exploring Operation: 17+99=116, Resulting Numbers: [96, 72, 116]
Generated Node #2: [96, 72, 116] from Operation: 17+99=116
Current State: 87:[96, 72, 116], Operations: ['17+99=116']
Exploring Operation: 72*116=8352, Resulting Numbers: [96, 8352]
Generated Node #3: [96, 8352] from Operation: 72*116=8352
Current State: 87:[96, 8352], Operations: ['17+99=116', '72*116=8352']
Exploring Operation: 8352/96=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[17, 96, 72, 99], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [17, 96, 27]
Generated Node #0,0: 87:[17, 96, 27] Operation: 99-72=27
Exploring Operation: 99-17=82, Resulting Numbers: [96, 72, 82]
Generated Node #0,1: 87:[96, 72, 82] Operation: 99-17=82
Exploring Operation: 17+72=89, Resulting Numbers: [96, 99, 89]
Generated Node #0,2: 87:[96, 99, 89] Operation: 17+72=89
Exploring Operation: 99-96=3, Resulting Numbers: [17, 72, 3]
Generated Node #0,3: 87:[17, 72, 3] Operation: 99-96=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[17, 96, 27], Operations: ['99-72=27']
Exploring Operation: 17+96=113, Resulting Numbers: [27, 113]
Generated Node #0,0,0: 87:[27, 113] Operation: 17+96=113
Exploring Operation: 96-17=79, Resulting Numbers: [27, 79]
Generated Node #0,0,1: 87:[27, 79] Operation: 96-17=79
Exploring Operation: 27-17=10, Resulting Numbers: [96, 10]
Generated Node #0,0,2: 87:[96, 10] Operation: 27-17=10
Exploring Operation: 17+27=44, Resulting Numbers: [96, 44]
Generated Node #0,0,3: 87:[96, 44] Operation: 17+27=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[27, 79], Operations: ['99-72=27', '96-17=79']
Exploring Operation: 27+79=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 27*79=2133, Resulting Numbers: [2133]
2133,87 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,87 unequal: No Solution
No 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: 87:[96, 10], Operations: ['99-72=27', '27-17=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,87 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,87 unequal: No Solution
No 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: 87:[96, 44], Operations: ['99-72=27', '17+27=44']
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,87 unequal: No Solution
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,87 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,87 unequal: No Solution
No 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: 87:[27, 113], Operations: ['99-72=27', '17+96=113']
Exploring Operation: 113-27=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 27*113=3051, Resulting Numbers: [3051]
3051,87 unequal: No Solution
Exploring Operation: 27+113=140, Resulting Numbers: [140]
140,87 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: 87:[96, 99, 89], Operations: ['17+72=89']
Exploring Operation: 96+99=195, Resulting Numbers: [89, 195]
Generated Node #0,2,0: 87:[89, 195] Operation: 96+99=195
Exploring Operation: 99-89=10, Resulting Numbers: [96, 10]
Generated Node #0,2,1: 87:[96, 10] Operation: 99-89=10
Exploring Operation: 99-96=3, Resulting Numbers: [89, 3]
Generated Node #0,2,2: 87:[89, 3] Operation: 99-96=3
Exploring Operation: 96-89=7, Resulting Numbers: [99, 7]
Generated Node #0,2,3: 87:[99, 7] Operation: 96-89=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[89, 3], Operations: ['17+72=89', '99-96=3']
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,87 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,87 unequal: No Solution
No 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: 87:[96, 10], Operations: ['17+72=89', '99-89=10']
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,87 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,87 unequal: No Solution
No 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: 87:[99, 7], Operations: ['17+72=89', '96-89=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 99+7=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 99*7=693, Resulting Numbers: [693]
693,87 unequal: No Solution
No 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: 87:[89, 195], Operations: ['17+72=89', '96+99=195']
Exploring Operation: 89*195=17355, Resulting Numbers: [17355]
17355,87 unequal: No Solution
Exploring Operation: 195-89=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 89+195=284, Resulting Numbers: [284]
284,87 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: 87:[17, 72, 3], Operations: ['99-96=3']
Exploring Operation: 17+72=89, Resulting Numbers: [3, 89]
Generated Node #0,3,0: 87:[3, 89] Operation: 17+72=89
Exploring Operation: 17+3=20, Resulting Numbers: [72, 20]
Generated Node #0,3,1: 87:[72, 20] Operation: 17+3=20
Exploring Operation: 72+3=75, Resulting Numbers: [17, 75]
Generated Node #0,3,2: 87:[17, 75] Operation: 72+3=75
Exploring Operation: 72/3=24, Resulting Numbers: [17, 24]
Generated Node #0,3,3: 87:[17, 24] Operation: 72/3=24
Moving to Node #0,3,0
Current State: 87:[3, 89], Operations: ['99-96=3', '17+72=89']
Exploring Operation: 3+89=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 3*89=267, Resulting Numbers: [267]
267,87 unequal: No Solution
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[17, 24], Operations: ['99-96=3', '72/3=24']
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,87 unequal: No Solution
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[17, 75], Operations: ['99-96=3', '72+3=75']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[72, 20], Operations: ['99-96=3', '17+3=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,87 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,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
Current State: 87:[96, 72, 82], Operations: ['99-17=82']
Exploring Operation: 96-82=14, Resulting Numbers: [72, 14]
Generated Node #0,1,0: 87:[72, 14] Operation: 96-82=14
Exploring Operation: 96-72=24, Resulting Numbers: [82, 24]
Generated Node #0,1,1: 87:[82, 24] Operation: 96-72=24
Exploring Operation: 82-72=10, Resulting Numbers: [96, 10]
Generated Node #0,1,2: 87:[96, 10] Operation: 82-72=10
Exploring Operation: 72+82=154, Resulting Numbers: [96, 154]
Generated Node #0,1,3: 87:[96, 154] Operation: 72+82=154
Moving to Node #0,1,1
Current State: 87:[82, 24], Operations: ['99-17=82', '96-72=24']
Exploring Operation: 82*24=1968, Resulting Numbers: [1968]
1968,87 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[96, 10], Operations: ['99-17=82', '82-72=10']
Exploring Operation: 96*10=960, Resulting Numbers: [960]
960,87 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 96+10=106, Resulting Numbers: [106]
106,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[72, 14], Operations: ['99-17=82', '96-82=14']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 72*14=1008, Resulting Numbers: [1008]
1008,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[96, 154], Operations: ['99-17=82', '72+82=154']
Exploring Operation: 96*154=14784, Resulting Numbers: [14784]
14784,87 unequal: No Solution
Exploring Operation: 154-96=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 96+154=250, Resulting Numbers: [250]
250,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
76,
74,
49,
46
] | 97 | [
"76-74=2",
"49+46=95",
"2+95=97"
] | Current State: 97:[76, 74, 49, 46], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [49, 46, 2]
Generated Node #2: [49, 46, 2] from Operation: 76-74=2
Current State: 97:[49, 46, 2], Operations: ['76-74=2']
Exploring Operation: 49+46=95, Resulting Numbers: [2, 95]
Generated Node #3: [2, 95] from Operation: 49+46=95
Current State: 97:[2, 95], Operations: ['76-74=2', '49+46=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[76, 74, 49, 46], Operations: []
Exploring Operation: 49+46=95, Resulting Numbers: [76, 74, 95]
Generated Node #0,0: 97:[76, 74, 95] Operation: 49+46=95
Exploring Operation: 74+46=120, Resulting Numbers: [76, 49, 120]
Generated Node #0,1: 97:[76, 49, 120] Operation: 74+46=120
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[76, 74, 95], Operations: ['49+46=95']
Exploring Operation: 74+95=169, Resulting Numbers: [76, 169]
Generated Node #0,0,0: 97:[76, 169] Operation: 74+95=169
Exploring Operation: 76+74=150, Resulting Numbers: [95, 150]
Generated Node #0,0,1: 97:[95, 150] Operation: 76+74=150
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[95, 150], Operations: ['49+46=95', '76+74=150']
Exploring Operation: 95+150=245, Resulting Numbers: [245]
245,97 unequal: No Solution
Exploring Operation: 150-95=55, Resulting Numbers: [55]
55,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[76, 169], Operations: ['49+46=95', '74+95=169']
Exploring Operation: 76+169=245, Resulting Numbers: [245]
245,97 unequal: No Solution
Exploring Operation: 169-76=93, Resulting Numbers: [93]
93,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[76, 49, 120], Operations: ['74+46=120']
Exploring Operation: 120-49=71, Resulting Numbers: [76, 71]
Generated Node #0,1,0: 97:[76, 71] Operation: 120-49=71
Exploring Operation: 76+49=125, Resulting Numbers: [120, 125]
Generated Node #0,1,1: 97:[120, 125] Operation: 76+49=125
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[76, 71], Operations: ['74+46=120', '120-49=71']
Exploring Operation: 76-71=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 76+71=147, Resulting Numbers: [147]
147,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[120, 125], Operations: ['74+46=120', '76+49=125']
Exploring Operation: 125-120=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 120+125=245, Resulting Numbers: [245]
245,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
59,
12,
85
] | 71 | [
"59-33=26",
"12+85=97",
"97-26=71"
] | Current State: 71:[33, 59, 12, 85], Operations: []
Exploring Operation: 59-33=26, Resulting Numbers: [12, 85, 26]
Generated Node #2: [12, 85, 26] from Operation: 59-33=26
Current State: 71:[12, 85, 26], Operations: ['59-33=26']
Exploring Operation: 12+85=97, Resulting Numbers: [26, 97]
Generated Node #3: [26, 97] from Operation: 12+85=97
Current State: 71:[26, 97], Operations: ['59-33=26', '12+85=97']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[33, 59, 12, 85], Operations: []
Exploring Operation: 59+12=71, Resulting Numbers: [33, 85, 71]
Generated Node #0,0: 71:[33, 85, 71] Operation: 59+12=71
Exploring Operation: 33+12=45, Resulting Numbers: [59, 85, 45]
Generated Node #0,1: 71:[59, 85, 45] Operation: 33+12=45
Moving to Node #0,0
Current State: 71:[33, 85, 71], Operations: ['59+12=71']
Exploring Operation: 85-33=52, Resulting Numbers: [71, 52]
Generated Node #0,0,0: 71:[71, 52] Operation: 85-33=52
Exploring Operation: 33+85=118, Resulting Numbers: [71, 118]
Generated Node #0,0,1: 71:[71, 118] Operation: 33+85=118
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[71, 52], Operations: ['59+12=71', '85-33=52']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 71+52=123, Resulting Numbers: [123]
123,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[71, 118], Operations: ['59+12=71', '33+85=118']
Exploring Operation: 118-71=47, Resulting Numbers: [47]
47,71 unequal: No Solution
Exploring Operation: 71+118=189, Resulting Numbers: [189]
189,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[59, 85, 45], Operations: ['33+12=45']
Exploring Operation: 85-45=40, Resulting Numbers: [59, 40]
Generated Node #0,1,0: 71:[59, 40] Operation: 85-45=40
Exploring Operation: 59+45=104, Resulting Numbers: [85, 104]
Generated Node #0,1,1: 71:[85, 104] Operation: 59+45=104
Moving to Node #0,1,0
Current State: 71:[59, 40], Operations: ['33+12=45', '85-45=40']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 59+40=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[85, 104], Operations: ['33+12=45', '59+45=104']
Exploring Operation: 104-85=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 85+104=189, Resulting Numbers: [189]
189,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
15,
2,
76
] | 95 | [
"17*2=34",
"76-15=61",
"34+61=95"
] | Current State: 95:[17, 15, 2, 76], Operations: []
Exploring Operation: 17*2=34, Resulting Numbers: [15, 76, 34]
Generated Node #2: [15, 76, 34] from Operation: 17*2=34
Current State: 95:[15, 76, 34], Operations: ['17*2=34']
Exploring Operation: 76-15=61, Resulting Numbers: [34, 61]
Generated Node #3: [34, 61] from Operation: 76-15=61
Current State: 95:[34, 61], Operations: ['17*2=34', '76-15=61']
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[17, 15, 2, 76], Operations: []
Exploring Operation: 15+76=91, Resulting Numbers: [17, 2, 91]
Generated Node #0,0: 95:[17, 2, 91] Operation: 15+76=91
Exploring Operation: 17+76=93, Resulting Numbers: [15, 2, 93]
Generated Node #0,1: 95:[15, 2, 93] Operation: 17+76=93
Exploring Operation: 17+2=19, Resulting Numbers: [15, 76, 19]
Generated Node #0,2: 95:[15, 76, 19] Operation: 17+2=19
Moving to Node #0,0
Current State: 95:[17, 2, 91], Operations: ['15+76=91']
Exploring Operation: 17+2=19, Resulting Numbers: [91, 19]
Generated Node #0,0,0: 95:[91, 19] Operation: 17+2=19
Exploring Operation: 2+91=93, Resulting Numbers: [17, 93]
Generated Node #0,0,1: 95:[17, 93] Operation: 2+91=93
Exploring Operation: 17-2=15, Resulting Numbers: [91, 15]
Generated Node #0,0,2: 95:[91, 15] Operation: 17-2=15
Moving to Node #0,1
Current State: 95:[15, 2, 93], Operations: ['17+76=93']
Exploring Operation: 15-2=13, Resulting Numbers: [93, 13]
Generated Node #0,1,0: 95:[93, 13] Operation: 15-2=13
Exploring Operation: 15+2=17, Resulting Numbers: [93, 17]
Generated Node #0,1,1: 95:[93, 17] Operation: 15+2=17
Exploring Operation: 2+93=95, Resulting Numbers: [15, 95]
Generated Node #0,1,2: 95:[15, 95] Operation: 2+93=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[93, 17], Operations: ['17+76=93', '15+2=17']
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,95 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,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,1,2
Current State: 95:[15, 95], Operations: ['17+76=93', '2+93=95']
Exploring Operation: 15+95=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Exploring Operation: 15*95=1425, Resulting Numbers: [1425]
1425,95 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,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,1,0
Current State: 95:[93, 13], Operations: ['17+76=93', '15-2=13']
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,95 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,95 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: 95:[15, 76, 19], Operations: ['17+2=19']
Exploring Operation: 76+19=95, Resulting Numbers: [15, 95]
Generated Node #0,2,0: 95:[15, 95] Operation: 76+19=95
Exploring Operation: 76/19=4, Resulting Numbers: [15, 4]
Generated Node #0,2,1: 95:[15, 4] Operation: 76/19=4
Exploring Operation: 15+76=91, Resulting Numbers: [19, 91]
Generated Node #0,2,2: 95:[19, 91] Operation: 15+76=91
Moving to Node #0,0,0
Current State: 95:[91, 19], Operations: ['15+76=91', '17+2=19']
Exploring Operation: 91+19=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Exploring Operation: 91*19=1729, Resulting Numbers: [1729]
1729,95 unequal: No Solution
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[17, 93], Operations: ['15+76=91', '2+91=93']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 17*93=1581, Resulting Numbers: [1581]
1581,95 unequal: No Solution
Exploring Operation: 17+93=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[19, 91], Operations: ['17+2=19', '15+76=91']
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 19+91=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Exploring Operation: 19*91=1729, Resulting Numbers: [1729]
1729,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[15, 95], Operations: ['17+2=19', '76+19=95']
Exploring Operation: 15*95=1425, Resulting Numbers: [1425]
1425,95 unequal: No Solution
Exploring Operation: 95-15=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Exploring Operation: 15+95=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[15, 4], Operations: ['17+2=19', '76/19=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[91, 15], Operations: ['15+76=91', '17-2=15']
Exploring Operation: 91*15=1365, Resulting Numbers: [1365]
1365,95 unequal: No Solution
Exploring Operation: 91-15=76, Resulting Numbers: [76]
76,95 unequal: No Solution
Exploring Operation: 91+15=106, Resulting Numbers: [106]
106,95 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
52,
22,
80
] | 55 | [
"22+80=102",
"102/34=3",
"52+3=55"
] | Current State: 55:[34, 52, 22, 80], Operations: []
Exploring Operation: 22+80=102, Resulting Numbers: [34, 52, 102]
Generated Node #2: [34, 52, 102] from Operation: 22+80=102
Current State: 55:[34, 52, 102], Operations: ['22+80=102']
Exploring Operation: 102/34=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 102/34=3
Current State: 55:[52, 3], Operations: ['22+80=102', '102/34=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[34, 52, 22, 80], Operations: []
Exploring Operation: 80-34=46, Resulting Numbers: [52, 22, 46]
Generated Node #0,0: 55:[52, 22, 46] Operation: 80-34=46
Exploring Operation: 80-22=58, Resulting Numbers: [34, 52, 58]
Generated Node #0,1: 55:[34, 52, 58] Operation: 80-22=58
Exploring Operation: 34+22=56, Resulting Numbers: [52, 80, 56]
Generated Node #0,2: 55:[52, 80, 56] Operation: 34+22=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[52, 22, 46], Operations: ['80-34=46']
Exploring Operation: 22+46=68, Resulting Numbers: [52, 68]
Generated Node #0,0,0: 55:[52, 68] Operation: 22+46=68
Exploring Operation: 46-22=24, Resulting Numbers: [52, 24]
Generated Node #0,0,1: 55:[52, 24] Operation: 46-22=24
Exploring Operation: 52-46=6, Resulting Numbers: [22, 6]
Generated Node #0,0,2: 55:[22, 6] Operation: 52-46=6
Moving to Node #0,0,2
Current State: 55:[22, 6], Operations: ['80-34=46', '52-46=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[52, 68], Operations: ['80-34=46', '22+46=68']
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[52, 24], Operations: ['80-34=46', '46-22=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,55 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,55 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,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,1
Current State: 55:[34, 52, 58], Operations: ['80-22=58']
Exploring Operation: 52-34=18, Resulting Numbers: [58, 18]
Generated Node #0,1,0: 55:[58, 18] Operation: 52-34=18
Exploring Operation: 58-34=24, Resulting Numbers: [52, 24]
Generated Node #0,1,1: 55:[52, 24] Operation: 58-34=24
Exploring Operation: 58-52=6, Resulting Numbers: [34, 6]
Generated Node #0,1,2: 55:[34, 6] Operation: 58-52=6
Moving to Node #0,1,0
Current State: 55:[58, 18], Operations: ['80-22=58', '52-34=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,55 unequal: No Solution
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[52, 24], Operations: ['80-22=58', '58-34=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,55 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[34, 6], Operations: ['80-22=58', '58-52=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[52, 80, 56], Operations: ['34+22=56']
Exploring Operation: 80-52=28, Resulting Numbers: [56, 28]
Generated Node #0,2,0: 55:[56, 28] Operation: 80-52=28
Exploring Operation: 56-52=4, Resulting Numbers: [80, 4]
Generated Node #0,2,1: 55:[80, 4] Operation: 56-52=4
Exploring Operation: 80-56=24, Resulting Numbers: [52, 24]
Generated Node #0,2,2: 55:[52, 24] Operation: 80-56=24
Moving to Node #0,2,2
Current State: 55:[52, 24], Operations: ['34+22=56', '80-56=24']
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,55 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[56, 28], Operations: ['34+22=56', '80-52=28']
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,55 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[80, 4], Operations: ['34+22=56', '56-52=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,55 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
49,
17,
29,
86
] | 83 | [
"49-17=32",
"29+86=115",
"115-32=83"
] | Current State: 83:[49, 17, 29, 86], Operations: []
Exploring Operation: 49-17=32, Resulting Numbers: [29, 86, 32]
Generated Node #2: [29, 86, 32] from Operation: 49-17=32
Current State: 83:[29, 86, 32], Operations: ['49-17=32']
Exploring Operation: 29+86=115, Resulting Numbers: [32, 115]
Generated Node #3: [32, 115] from Operation: 29+86=115
Current State: 83:[32, 115], Operations: ['49-17=32', '29+86=115']
Exploring Operation: 115-32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[49, 17, 29, 86], Operations: []
Exploring Operation: 86-17=69, Resulting Numbers: [49, 29, 69]
Generated Node #0,0: 83:[49, 29, 69] Operation: 86-17=69
Exploring Operation: 49-17=32, Resulting Numbers: [29, 86, 32]
Generated Node #0,1: 83:[29, 86, 32] Operation: 49-17=32
Exploring Operation: 49+17=66, Resulting Numbers: [29, 86, 66]
Generated Node #0,2: 83:[29, 86, 66] Operation: 49+17=66
Exploring Operation: 49+29=78, Resulting Numbers: [17, 86, 78]
Generated Node #0,3: 83:[17, 86, 78] Operation: 49+29=78
Exploring Operation: 17+29=46, Resulting Numbers: [49, 86, 46]
Generated Node #0,4: 83:[49, 86, 46] Operation: 17+29=46
Moving to Node #0,2
Current State: 83:[29, 86, 66], Operations: ['49+17=66']
Exploring Operation: 29+86=115, Resulting Numbers: [66, 115]
Generated Node #0,2,0: 83:[66, 115] Operation: 29+86=115
Exploring Operation: 86-66=20, Resulting Numbers: [29, 20]
Generated Node #0,2,1: 83:[29, 20] Operation: 86-66=20
Exploring Operation: 29+66=95, Resulting Numbers: [86, 95]
Generated Node #0,2,2: 83:[86, 95] Operation: 29+66=95
Exploring Operation: 66-29=37, Resulting Numbers: [86, 37]
Generated Node #0,2,3: 83:[86, 37] Operation: 66-29=37
Exploring Operation: 86-29=57, Resulting Numbers: [66, 57]
Generated Node #0,2,4: 83:[66, 57] Operation: 86-29=57
Moving to Node #0,4
Current State: 83:[49, 86, 46], Operations: ['17+29=46']
Exploring Operation: 49-46=3, Resulting Numbers: [86, 3]
Generated Node #0,4,0: 83:[86, 3] Operation: 49-46=3
Exploring Operation: 49+46=95, Resulting Numbers: [86, 95]
Generated Node #0,4,1: 83:[86, 95] Operation: 49+46=95
Exploring Operation: 86-46=40, Resulting Numbers: [49, 40]
Generated Node #0,4,2: 83:[49, 40] Operation: 86-46=40
Exploring Operation: 86-49=37, Resulting Numbers: [46, 37]
Generated Node #0,4,3: 83:[46, 37] Operation: 86-49=37
Exploring Operation: 86+46=132, Resulting Numbers: [49, 132]
Generated Node #0,4,4: 83:[49, 132] Operation: 86+46=132
Moving to Node #0,3
Current State: 83:[17, 86, 78], Operations: ['49+29=78']
Exploring Operation: 86-78=8, Resulting Numbers: [17, 8]
Generated Node #0,3,0: 83:[17, 8] Operation: 86-78=8
Exploring Operation: 86-17=69, Resulting Numbers: [78, 69]
Generated Node #0,3,1: 83:[78, 69] Operation: 86-17=69
Exploring Operation: 17+86=103, Resulting Numbers: [78, 103]
Generated Node #0,3,2: 83:[78, 103] Operation: 17+86=103
Exploring Operation: 17+78=95, Resulting Numbers: [86, 95]
Generated Node #0,3,3: 83:[86, 95] Operation: 17+78=95
Exploring Operation: 78-17=61, Resulting Numbers: [86, 61]
Generated Node #0,3,4: 83:[86, 61] Operation: 78-17=61
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[86, 95], Operations: ['49+29=78', '17+78=95']
Exploring Operation: 86*95=8170, Resulting Numbers: [8170]
8170,83 unequal: No Solution
Exploring Operation: 86+95=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,83 unequal: No Solution
No 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: 83:[78, 69], Operations: ['49+29=78', '86-17=69']
Exploring Operation: 78*69=5382, Resulting Numbers: [5382]
5382,83 unequal: No Solution
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 78+69=147, Resulting Numbers: [147]
147,83 unequal: No Solution
No 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: 83:[78, 103], Operations: ['49+29=78', '17+86=103']
Exploring Operation: 78*103=8034, Resulting Numbers: [8034]
8034,83 unequal: No Solution
Exploring Operation: 103-78=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 78+103=181, Resulting Numbers: [181]
181,83 unequal: No Solution
No 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: 83:[86, 61], Operations: ['49+29=78', '78-17=61']
Exploring Operation: 86*61=5246, Resulting Numbers: [5246]
5246,83 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,83 unequal: No Solution
No 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: 83:[17, 8], Operations: ['49+29=78', '86-78=8']
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,83 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,83 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: 83:[49, 29, 69], Operations: ['86-17=69']
Exploring Operation: 49+29=78, Resulting Numbers: [69, 78]
Generated Node #0,0,0: 83:[69, 78] Operation: 49+29=78
Exploring Operation: 49-29=20, Resulting Numbers: [69, 20]
Generated Node #0,0,1: 83:[69, 20] Operation: 49-29=20
Exploring Operation: 49+69=118, Resulting Numbers: [29, 118]
Generated Node #0,0,2: 83:[29, 118] Operation: 49+69=118
Exploring Operation: 69-29=40, Resulting Numbers: [49, 40]
Generated Node #0,0,3: 83:[49, 40] Operation: 69-29=40
Exploring Operation: 29+69=98, Resulting Numbers: [49, 98]
Generated Node #0,0,4: 83:[49, 98] Operation: 29+69=98
Moving to Node #0,1
Current State: 83:[29, 86, 32], Operations: ['49-17=32']
Exploring Operation: 86-29=57, Resulting Numbers: [32, 57]
Generated Node #0,1,0: 83:[32, 57] Operation: 86-29=57
Exploring Operation: 29+32=61, Resulting Numbers: [86, 61]
Generated Node #0,1,1: 83:[86, 61] Operation: 29+32=61
Exploring Operation: 32-29=3, Resulting Numbers: [86, 3]
Generated Node #0,1,2: 83:[86, 3] Operation: 32-29=3
Exploring Operation: 29+86=115, Resulting Numbers: [32, 115]
Generated Node #0,1,3: 83:[32, 115] Operation: 29+86=115
Exploring Operation: 86-32=54, Resulting Numbers: [29, 54]
Generated Node #0,1,4: 83:[29, 54] Operation: 86-32=54
Moving to Node #0,2,2
Current State: 83:[86, 95], Operations: ['49+17=66', '29+66=95']
Exploring Operation: 86*95=8170, Resulting Numbers: [8170]
8170,83 unequal: No Solution
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 86+95=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Moving to Node #0,4,1
Current State: 83:[86, 95], Operations: ['17+29=46', '49+46=95']
Exploring Operation: 95-86=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 86*95=8170, Resulting Numbers: [8170]
8170,83 unequal: No Solution
Exploring Operation: 86+95=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[69, 78], Operations: ['86-17=69', '49+29=78']
Exploring Operation: 78-69=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 69+78=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 69*78=5382, Resulting Numbers: [5382]
5382,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[86, 61], Operations: ['49-17=32', '29+32=61']
Exploring Operation: 86*61=5246, Resulting Numbers: [5246]
5246,83 unequal: No Solution
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[66, 57], Operations: ['49+17=66', '86-29=57']
Exploring Operation: 66+57=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 66*57=3762, Resulting Numbers: [3762]
3762,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[66, 115], Operations: ['49+17=66', '29+86=115']
Exploring Operation: 66*115=7590, Resulting Numbers: [7590]
7590,83 unequal: No Solution
Exploring Operation: 66+115=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Exploring Operation: 115-66=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[49, 98], Operations: ['86-17=69', '29+69=98']
Exploring Operation: 49*98=4802, Resulting Numbers: [4802]
4802,83 unequal: No Solution
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 49+98=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[86, 37], Operations: ['49+17=66', '66-29=37']
Exploring Operation: 86*37=3182, Resulting Numbers: [3182]
3182,83 unequal: No Solution
Exploring Operation: 86+37=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[49, 40], Operations: ['17+29=46', '86-46=40']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,83 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[49, 40], Operations: ['86-17=69', '69-29=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[69, 20], Operations: ['86-17=69', '49-29=20']
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 69*20=1380, Resulting Numbers: [1380]
1380,83 unequal: No Solution
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[32, 57], Operations: ['49-17=32', '86-29=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,83 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[32, 115], Operations: ['49-17=32', '29+86=115']
Exploring Operation: 32*115=3680, Resulting Numbers: [3680]
3680,83 unequal: No Solution
Exploring Operation: 32+115=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 115-32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[49, 17, 29, 86], Operations: []
Exploring Operation: 49-17=32, Resulting Numbers: [29, 86, 32]
Generated Node #0,1: 83:[29, 86, 32] Operation: 49-17=32
Moving to Node #0,1
Current State: 83:[29, 86, 32], Operations: ['49-17=32']
Exploring Operation: 29+86=115, Resulting Numbers: [32, 115]
Generated Node #0,1,3: 83:[32, 115] Operation: 29+86=115
Moving to Node #0,1,3
Current State: 83:[32, 115], Operations: ['49-17=32', '29+86=115']
Exploring Operation: 115-32=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.922743 | hs_5 | mult_heuristic |
[
9,
59,
12,
41
] | 97 | [
"9+59=68",
"41-12=29",
"68+29=97"
] | Current State: 97:[9, 59, 12, 41], Operations: []
Exploring Operation: 9+59=68, Resulting Numbers: [12, 41, 68]
Generated Node #2: [12, 41, 68] from Operation: 9+59=68
Current State: 97:[12, 41, 68], Operations: ['9+59=68']
Exploring Operation: 41-12=29, Resulting Numbers: [68, 29]
Generated Node #3: [68, 29] from Operation: 41-12=29
Current State: 97:[68, 29], Operations: ['9+59=68', '41-12=29']
Exploring Operation: 68+29=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[9, 59, 12, 41], Operations: []
Exploring Operation: 9*12=108, Resulting Numbers: [59, 41, 108]
Generated Node #0,0: 97:[59, 41, 108] Operation: 9*12=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[59, 41, 108], Operations: ['9*12=108']
Exploring Operation: 59+41=100, Resulting Numbers: [108, 100]
Generated Node #0,0,0: 97:[108, 100] Operation: 59+41=100
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[108, 100], Operations: ['9*12=108', '59+41=100']
Exploring Operation: 108-100=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
58,
33,
6
] | 55 | [
"33+6=39",
"39/13=3",
"58-3=55"
] | Current State: 55:[13, 58, 33, 6], Operations: []
Exploring Operation: 33+6=39, Resulting Numbers: [13, 58, 39]
Generated Node #2: [13, 58, 39] from Operation: 33+6=39
Current State: 55:[13, 58, 39], Operations: ['33+6=39']
Exploring Operation: 39/13=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 39/13=3
Current State: 55:[58, 3], Operations: ['33+6=39', '39/13=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[13, 58, 33, 6], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [58, 6, 20]
Generated Node #0,0: 55:[58, 6, 20] Operation: 33-13=20
Exploring Operation: 13+33=46, Resulting Numbers: [58, 6, 46]
Generated Node #0,1: 55:[58, 6, 46] Operation: 13+33=46
Moving to Node #0,0
Current State: 55:[58, 6, 20], Operations: ['33-13=20']
Exploring Operation: 58-6=52, Resulting Numbers: [20, 52]
Generated Node #0,0,0: 55:[20, 52] Operation: 58-6=52
Exploring Operation: 20-6=14, Resulting Numbers: [58, 14]
Generated Node #0,0,1: 55:[58, 14] Operation: 20-6=14
Moving to Node #0,1
Current State: 55:[58, 6, 46], Operations: ['13+33=46']
Exploring Operation: 58-46=12, Resulting Numbers: [6, 12]
Generated Node #0,1,0: 55:[6, 12] Operation: 58-46=12
Exploring Operation: 6+46=52, Resulting Numbers: [58, 52]
Generated Node #0,1,1: 55:[58, 52] Operation: 6+46=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[6, 12], Operations: ['13+33=46', '58-46=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,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,1,1
Current State: 55:[58, 52], Operations: ['13+33=46', '6+46=52']
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 58+52=110, Resulting Numbers: [110]
110,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 55:[58, 14], Operations: ['33-13=20', '20-6=14']
Exploring Operation: 58+14=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[20, 52], Operations: ['33-13=20', '58-6=52']
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,55 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
10,
8,
42
] | 98 | [
"7+42=49",
"10-8=2",
"49*2=98"
] | Current State: 98:[7, 10, 8, 42], Operations: []
Exploring Operation: 7+42=49, Resulting Numbers: [10, 8, 49]
Generated Node #2: [10, 8, 49] from Operation: 7+42=49
Current State: 98:[10, 8, 49], Operations: ['7+42=49']
Exploring Operation: 10-8=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 10-8=2
Current State: 98:[49, 2], Operations: ['7+42=49', '10-8=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[7, 10, 8, 42], Operations: []
Exploring Operation: 10+42=52, Resulting Numbers: [7, 8, 52]
Generated Node #0,0: 98:[7, 8, 52] Operation: 10+42=52
Exploring Operation: 7+42=49, Resulting Numbers: [10, 8, 49]
Generated Node #0,1: 98:[10, 8, 49] Operation: 7+42=49
Exploring Operation: 8+42=50, Resulting Numbers: [7, 10, 50]
Generated Node #0,2: 98:[7, 10, 50] Operation: 8+42=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[7, 8, 52], Operations: ['10+42=52']
Exploring Operation: 52-7=45, Resulting Numbers: [8, 45]
Generated Node #0,0,0: 98:[8, 45] Operation: 52-7=45
Exploring Operation: 8-7=1, Resulting Numbers: [52, 1]
Generated Node #0,0,1: 98:[52, 1] Operation: 8-7=1
Exploring Operation: 7+8=15, Resulting Numbers: [52, 15]
Generated Node #0,0,2: 98:[52, 15] Operation: 7+8=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[52, 1], Operations: ['10+42=52', '8-7=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 98:[52, 15], Operations: ['10+42=52', '7+8=15']
Exploring Operation: 52+15=67, Resulting Numbers: [67]
67,98 unequal: No Solution
Exploring Operation: 52*15=780, Resulting Numbers: [780]
780,98 unequal: No Solution
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[8, 45], Operations: ['10+42=52', '52-7=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,98 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[10, 8, 49], Operations: ['7+42=49']
Exploring Operation: 10+8=18, Resulting Numbers: [49, 18]
Generated Node #0,1,0: 98:[49, 18] Operation: 10+8=18
Exploring Operation: 10-8=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 98:[49, 2] Operation: 10-8=2
Exploring Operation: 10+49=59, Resulting Numbers: [8, 59]
Generated Node #0,1,2: 98:[8, 59] Operation: 10+49=59
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[49, 2], Operations: ['7+42=49', '10-8=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[7, 10, 8, 42], Operations: []
Exploring Operation: 7+42=49, Resulting Numbers: [10, 8, 49]
Generated Node #0,1: 98:[10, 8, 49] Operation: 7+42=49
Moving to Node #0,1
Current State: 98:[10, 8, 49], Operations: ['7+42=49']
Exploring Operation: 10-8=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 98:[49, 2] Operation: 10-8=2
Moving to Node #0,1,1
Current State: 98:[49, 2], Operations: ['7+42=49', '10-8=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
71,
2,
9,
28
] | 50 | [
"71-2=69",
"28-9=19",
"69-19=50"
] | Current State: 50:[71, 2, 9, 28], Operations: []
Exploring Operation: 71-2=69, Resulting Numbers: [9, 28, 69]
Generated Node #2: [9, 28, 69] from Operation: 71-2=69
Current State: 50:[9, 28, 69], Operations: ['71-2=69']
Exploring Operation: 28-9=19, Resulting Numbers: [69, 19]
Generated Node #3: [69, 19] from Operation: 28-9=19
Current State: 50:[69, 19], Operations: ['71-2=69', '28-9=19']
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[71, 2, 9, 28], Operations: []
Exploring Operation: 71-9=62, Resulting Numbers: [2, 28, 62]
Generated Node #0,0: 50:[2, 28, 62] Operation: 71-9=62
Exploring Operation: 71-28=43, Resulting Numbers: [2, 9, 43]
Generated Node #0,1: 50:[2, 9, 43] Operation: 71-28=43
Moving to Node #0,1
Current State: 50:[2, 9, 43], Operations: ['71-28=43']
Exploring Operation: 9+43=52, Resulting Numbers: [2, 52]
Generated Node #0,1,0: 50:[2, 52] Operation: 9+43=52
Exploring Operation: 2+43=45, Resulting Numbers: [9, 45]
Generated Node #0,1,1: 50:[9, 45] Operation: 2+43=45
Moving to Node #0,0
Current State: 50:[2, 28, 62], Operations: ['71-9=62']
Exploring Operation: 62-28=34, Resulting Numbers: [2, 34]
Generated Node #0,0,0: 50:[2, 34] Operation: 62-28=34
Exploring Operation: 62/2=31, Resulting Numbers: [28, 31]
Generated Node #0,0,1: 50:[28, 31] Operation: 62/2=31
Moving to Node #0,1,0
Current State: 50:[2, 52], Operations: ['71-28=43', '9+43=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[71, 2, 9, 28], Operations: []
Exploring Operation: 71-28=43, Resulting Numbers: [2, 9, 43]
Generated Node #0,1: 50:[2, 9, 43] Operation: 71-28=43
Moving to Node #0,1
Current State: 50:[2, 9, 43], Operations: ['71-28=43']
Exploring Operation: 9+43=52, Resulting Numbers: [2, 52]
Generated Node #0,1,0: 50:[2, 52] Operation: 9+43=52
Moving to Node #0,1,0
Current State: 50:[2, 52], Operations: ['71-28=43', '9+43=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
95,
71,
60,
17
] | 92 | [
"71-60=11",
"17*11=187",
"187-95=92"
] | Current State: 92:[95, 71, 60, 17], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [95, 17, 11]
Generated Node #2: [95, 17, 11] from Operation: 71-60=11
Current State: 92:[95, 17, 11], Operations: ['71-60=11']
Exploring Operation: 17*11=187, Resulting Numbers: [95, 187]
Generated Node #3: [95, 187] from Operation: 17*11=187
Current State: 92:[95, 187], Operations: ['71-60=11', '17*11=187']
Exploring Operation: 187-95=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[95, 71, 60, 17], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [60, 17, 24]
Generated Node #0,0: 92:[60, 17, 24] Operation: 95-71=24
Exploring Operation: 71-17=54, Resulting Numbers: [95, 60, 54]
Generated Node #0,1: 92:[95, 60, 54] Operation: 71-17=54
Exploring Operation: 71+17=88, Resulting Numbers: [95, 60, 88]
Generated Node #0,2: 92:[95, 60, 88] Operation: 71+17=88
Exploring Operation: 71-60=11, Resulting Numbers: [95, 17, 11]
Generated Node #0,3: 92:[95, 17, 11] Operation: 71-60=11
Moving to Node #0,3
Current State: 92:[95, 17, 11], Operations: ['71-60=11']
Exploring Operation: 95-11=84, Resulting Numbers: [17, 84]
Generated Node #0,3,0: 92:[17, 84] Operation: 95-11=84
Exploring Operation: 95+11=106, Resulting Numbers: [17, 106]
Generated Node #0,3,1: 92:[17, 106] Operation: 95+11=106
Exploring Operation: 17+11=28, Resulting Numbers: [95, 28]
Generated Node #0,3,2: 92:[95, 28] Operation: 17+11=28
Exploring Operation: 17-11=6, Resulting Numbers: [95, 6]
Generated Node #0,3,3: 92:[95, 6] Operation: 17-11=6
Moving to Node #0,2
Current State: 92:[95, 60, 88], Operations: ['71+17=88']
Exploring Operation: 95-60=35, Resulting Numbers: [88, 35]
Generated Node #0,2,0: 92:[88, 35] Operation: 95-60=35
Exploring Operation: 88-60=28, Resulting Numbers: [95, 28]
Generated Node #0,2,1: 92:[95, 28] Operation: 88-60=28
Exploring Operation: 60+88=148, Resulting Numbers: [95, 148]
Generated Node #0,2,2: 92:[95, 148] Operation: 60+88=148
Exploring Operation: 95-88=7, Resulting Numbers: [60, 7]
Generated Node #0,2,3: 92:[60, 7] Operation: 95-88=7
Moving to Node #0,0
Current State: 92:[60, 17, 24], Operations: ['95-71=24']
Exploring Operation: 60-17=43, Resulting Numbers: [24, 43]
Generated Node #0,0,0: 92:[24, 43] Operation: 60-17=43
Exploring Operation: 60+17=77, Resulting Numbers: [24, 77]
Generated Node #0,0,1: 92:[24, 77] Operation: 60+17=77
Exploring Operation: 60-24=36, Resulting Numbers: [17, 36]
Generated Node #0,0,2: 92:[17, 36] Operation: 60-24=36
Exploring Operation: 60+24=84, Resulting Numbers: [17, 84]
Generated Node #0,0,3: 92:[17, 84] Operation: 60+24=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[24, 43], Operations: ['95-71=24', '60-17=43']
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,92 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[17, 84], Operations: ['95-71=24', '60+24=84']
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,92 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[24, 77], Operations: ['95-71=24', '60+17=77']
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[17, 36], Operations: ['95-71=24', '60-24=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,92 unequal: No Solution
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,92 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: 92:[95, 60, 54], Operations: ['71-17=54']
Exploring Operation: 95-60=35, Resulting Numbers: [54, 35]
Generated Node #0,1,0: 92:[54, 35] Operation: 95-60=35
Exploring Operation: 60+54=114, Resulting Numbers: [95, 114]
Generated Node #0,1,1: 92:[95, 114] Operation: 60+54=114
Exploring Operation: 60-54=6, Resulting Numbers: [95, 6]
Generated Node #0,1,2: 92:[95, 6] Operation: 60-54=6
Exploring Operation: 95-54=41, Resulting Numbers: [60, 41]
Generated Node #0,1,3: 92:[60, 41] Operation: 95-54=41
Moving to Node #0,3,3
Current State: 92:[95, 6], Operations: ['71-60=11', '17-11=6']
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,92 unequal: No Solution
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[95, 6], Operations: ['71-17=54', '60-54=6']
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[95, 28], Operations: ['71+17=88', '88-60=28']
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,92 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[95, 28], Operations: ['71-60=11', '17+11=28']
Exploring Operation: 95+28=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 95*28=2660, Resulting Numbers: [2660]
2660,92 unequal: No Solution
Moving to Node #0,3,0
Current State: 92:[17, 84], Operations: ['71-60=11', '95-11=84']
Exploring Operation: 17+84=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Exploring Operation: 17*84=1428, Resulting Numbers: [1428]
1428,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[88, 35], Operations: ['71+17=88', '95-60=35']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[60, 7], Operations: ['71+17=88', '95-88=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,92 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[60, 41], Operations: ['71-17=54', '95-54=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,92 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[54, 35], Operations: ['71-17=54', '95-60=35']
Exploring Operation: 54+35=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 54*35=1890, Resulting Numbers: [1890]
1890,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[17, 106], Operations: ['71-60=11', '95+11=106']
Exploring Operation: 106-17=89, Resulting Numbers: [89]
89,92 unequal: No Solution
Exploring Operation: 17+106=123, Resulting Numbers: [123]
123,92 unequal: No Solution
Exploring Operation: 17*106=1802, Resulting Numbers: [1802]
1802,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[95, 114], Operations: ['71-17=54', '60+54=114']
Exploring Operation: 95+114=209, Resulting Numbers: [209]
209,92 unequal: No Solution
Exploring Operation: 114-95=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 95*114=10830, Resulting Numbers: [10830]
10830,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[95, 148], Operations: ['71+17=88', '60+88=148']
Exploring Operation: 95+148=243, Resulting Numbers: [243]
243,92 unequal: No Solution
Exploring Operation: 148-95=53, Resulting Numbers: [53]
53,92 unequal: No Solution
Exploring Operation: 95*148=14060, Resulting Numbers: [14060]
14060,92 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
49,
66,
56
] | 82 | [
"28*66=1848",
"1848/56=33",
"49+33=82"
] | Current State: 82:[28, 49, 66, 56], Operations: []
Exploring Operation: 28*66=1848, Resulting Numbers: [49, 56, 1848]
Generated Node #2: [49, 56, 1848] from Operation: 28*66=1848
Current State: 82:[49, 56, 1848], Operations: ['28*66=1848']
Exploring Operation: 1848/56=33, Resulting Numbers: [49, 33]
Generated Node #3: [49, 33] from Operation: 1848/56=33
Current State: 82:[49, 33], Operations: ['28*66=1848', '1848/56=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[28, 49, 66, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [49, 66, 2]
Generated Node #0,0: 82:[49, 66, 2] Operation: 56/28=2
Exploring Operation: 66-28=38, Resulting Numbers: [49, 56, 38]
Generated Node #0,1: 82:[49, 56, 38] Operation: 66-28=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[49, 66, 2], Operations: ['56/28=2']
Exploring Operation: 66-49=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 82:[2, 17] Operation: 66-49=17
Exploring Operation: 66/2=33, Resulting Numbers: [49, 33]
Generated Node #0,0,1: 82:[49, 33] Operation: 66/2=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[2, 17], Operations: ['56/28=2', '66-49=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[49, 33], Operations: ['56/28=2', '66/2=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[28, 49, 66, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [49, 66, 2]
Generated Node #0,0: 82:[49, 66, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 82:[49, 66, 2], Operations: ['56/28=2']
Exploring Operation: 66/2=33, Resulting Numbers: [49, 33]
Generated Node #0,0,1: 82:[49, 33] Operation: 66/2=33
Moving to Node #0,0,1
Current State: 82:[49, 33], Operations: ['56/28=2', '66/2=33']
Exploring Operation: 49+33=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
40,
4,
16,
99
] | 71 | [
"40+4=44",
"16+99=115",
"115-44=71"
] | Current State: 71:[40, 4, 16, 99], Operations: []
Exploring Operation: 40+4=44, Resulting Numbers: [16, 99, 44]
Generated Node #2: [16, 99, 44] from Operation: 40+4=44
Current State: 71:[16, 99, 44], Operations: ['40+4=44']
Exploring Operation: 16+99=115, Resulting Numbers: [44, 115]
Generated Node #3: [44, 115] from Operation: 16+99=115
Current State: 71:[44, 115], Operations: ['40+4=44', '16+99=115']
Exploring Operation: 115-44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[40, 4, 16, 99], Operations: []
Exploring Operation: 99-4=95, Resulting Numbers: [40, 16, 95]
Generated Node #0,0: 71:[40, 16, 95] Operation: 99-4=95
Exploring Operation: 4+16=20, Resulting Numbers: [40, 99, 20]
Generated Node #0,1: 71:[40, 99, 20] Operation: 4+16=20
Exploring Operation: 40+4=44, Resulting Numbers: [16, 99, 44]
Generated Node #0,2: 71:[16, 99, 44] Operation: 40+4=44
Exploring Operation: 4*16=64, Resulting Numbers: [40, 99, 64]
Generated Node #0,3: 71:[40, 99, 64] Operation: 4*16=64
Exploring Operation: 40+16=56, Resulting Numbers: [4, 99, 56]
Generated Node #0,4: 71:[4, 99, 56] Operation: 40+16=56
Moving to Node #0,3
Current State: 71:[40, 99, 64], Operations: ['4*16=64']
Exploring Operation: 99-64=35, Resulting Numbers: [40, 35]
Generated Node #0,3,0: 71:[40, 35] Operation: 99-64=35
Exploring Operation: 40+99=139, Resulting Numbers: [64, 139]
Generated Node #0,3,1: 71:[64, 139] Operation: 40+99=139
Exploring Operation: 99-40=59, Resulting Numbers: [64, 59]
Generated Node #0,3,2: 71:[64, 59] Operation: 99-40=59
Exploring Operation: 64-40=24, Resulting Numbers: [99, 24]
Generated Node #0,3,3: 71:[99, 24] Operation: 64-40=24
Exploring Operation: 40+64=104, Resulting Numbers: [99, 104]
Generated Node #0,3,4: 71:[99, 104] Operation: 40+64=104
Moving to Node #0,1
Current State: 71:[40, 99, 20], Operations: ['4+16=20']
Exploring Operation: 99+20=119, Resulting Numbers: [40, 119]
Generated Node #0,1,0: 71:[40, 119] Operation: 99+20=119
Exploring Operation: 99-40=59, Resulting Numbers: [20, 59]
Generated Node #0,1,1: 71:[20, 59] Operation: 99-40=59
Exploring Operation: 99-20=79, Resulting Numbers: [40, 79]
Generated Node #0,1,2: 71:[40, 79] Operation: 99-20=79
Exploring Operation: 40-20=20, Resulting Numbers: [99, 20]
Generated Node #0,1,3: 71:[99, 20] Operation: 40-20=20
Exploring Operation: 40+20=60, Resulting Numbers: [99, 60]
Generated Node #0,1,4: 71:[99, 60] Operation: 40+20=60
Moving to Node #0,4
Current State: 71:[4, 99, 56], Operations: ['40+16=56']
Exploring Operation: 56-4=52, Resulting Numbers: [99, 52]
Generated Node #0,4,0: 71:[99, 52] Operation: 56-4=52
Exploring Operation: 4+56=60, Resulting Numbers: [99, 60]
Generated Node #0,4,1: 71:[99, 60] Operation: 4+56=60
Exploring Operation: 99-4=95, Resulting Numbers: [56, 95]
Generated Node #0,4,2: 71:[56, 95] Operation: 99-4=95
Exploring Operation: 56/4=14, Resulting Numbers: [99, 14]
Generated Node #0,4,3: 71:[99, 14] Operation: 56/4=14
Exploring Operation: 4+99=103, Resulting Numbers: [56, 103]
Generated Node #0,4,4: 71:[56, 103] Operation: 4+99=103
Moving to Node #0,0
Current State: 71:[40, 16, 95], Operations: ['99-4=95']
Exploring Operation: 16+95=111, Resulting Numbers: [40, 111]
Generated Node #0,0,0: 71:[40, 111] Operation: 16+95=111
Exploring Operation: 95-16=79, Resulting Numbers: [40, 79]
Generated Node #0,0,1: 71:[40, 79] Operation: 95-16=79
Exploring Operation: 95-40=55, Resulting Numbers: [16, 55]
Generated Node #0,0,2: 71:[16, 55] Operation: 95-40=55
Exploring Operation: 40-16=24, Resulting Numbers: [95, 24]
Generated Node #0,0,3: 71:[95, 24] Operation: 40-16=24
Exploring Operation: 40+16=56, Resulting Numbers: [95, 56]
Generated Node #0,0,4: 71:[95, 56] Operation: 40+16=56
Moving to Node #0,2
Current State: 71:[16, 99, 44], Operations: ['40+4=44']
Exploring Operation: 16+99=115, Resulting Numbers: [44, 115]
Generated Node #0,2,0: 71:[44, 115] Operation: 16+99=115
Exploring Operation: 99-44=55, Resulting Numbers: [16, 55]
Generated Node #0,2,1: 71:[16, 55] Operation: 99-44=55
Exploring Operation: 44-16=28, Resulting Numbers: [99, 28]
Generated Node #0,2,2: 71:[99, 28] Operation: 44-16=28
Exploring Operation: 99-16=83, Resulting Numbers: [44, 83]
Generated Node #0,2,3: 71:[44, 83] Operation: 99-16=83
Exploring Operation: 16+44=60, Resulting Numbers: [99, 60]
Generated Node #0,2,4: 71:[99, 60] Operation: 16+44=60
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[44, 83], Operations: ['40+4=44', '99-16=83']
Exploring Operation: 44*83=3652, Resulting Numbers: [3652]
3652,71 unequal: No Solution
Exploring Operation: 83-44=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 44+83=127, Resulting Numbers: [127]
127,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[99, 60], Operations: ['40+4=44', '16+44=60']
Exploring Operation: 99+60=159, Resulting Numbers: [159]
159,71 unequal: No Solution
Exploring Operation: 99*60=5940, Resulting Numbers: [5940]
5940,71 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[44, 115], Operations: ['40+4=44', '16+99=115']
Exploring Operation: 44*115=5060, Resulting Numbers: [5060]
5060,71 unequal: No Solution
Exploring Operation: 115-44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[40, 4, 16, 99], Operations: []
Exploring Operation: 40+4=44, Resulting Numbers: [16, 99, 44]
Generated Node #0,2: 71:[16, 99, 44] Operation: 40+4=44
Moving to Node #0,2
Current State: 71:[16, 99, 44], Operations: ['40+4=44']
Exploring Operation: 16+99=115, Resulting Numbers: [44, 115]
Generated Node #0,2,0: 71:[44, 115] Operation: 16+99=115
Moving to Node #0,2,0
Current State: 71:[44, 115], Operations: ['40+4=44', '16+99=115']
Exploring Operation: 115-44=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
73,
3,
1,
26
] | 50 | [
"73+3=76",
"1*26=26",
"76-26=50"
] | Current State: 50:[73, 3, 1, 26], Operations: []
Exploring Operation: 73+3=76, Resulting Numbers: [1, 26, 76]
Generated Node #2: [1, 26, 76] from Operation: 73+3=76
Current State: 50:[1, 26, 76], Operations: ['73+3=76']
Exploring Operation: 1*26=26, Resulting Numbers: [76, 26]
Generated Node #3: [76, 26] from Operation: 1*26=26
Current State: 50:[76, 26], Operations: ['73+3=76', '1*26=26']
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[73, 3, 1, 26], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [3, 1, 47]
Generated Node #0,0: 50:[3, 1, 47] Operation: 73-26=47
Exploring Operation: 73-1=72, Resulting Numbers: [3, 26, 72]
Generated Node #0,1: 50:[3, 26, 72] Operation: 73-1=72
Exploring Operation: 73-3=70, Resulting Numbers: [1, 26, 70]
Generated Node #0,2: 50:[1, 26, 70] Operation: 73-3=70
Exploring Operation: 3-1=2, Resulting Numbers: [73, 26, 2]
Generated Node #0,3: 50:[73, 26, 2] Operation: 3-1=2
Moving to Node #0,0
Current State: 50:[3, 1, 47], Operations: ['73-26=47']
Exploring Operation: 1+47=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 50:[3, 48] Operation: 1+47=48
Exploring Operation: 3+47=50, Resulting Numbers: [1, 50]
Generated Node #0,0,1: 50:[1, 50] Operation: 3+47=50
Exploring Operation: 3-1=2, Resulting Numbers: [47, 2]
Generated Node #0,0,2: 50:[47, 2] Operation: 3-1=2
Exploring Operation: 3+1=4, Resulting Numbers: [47, 4]
Generated Node #0,0,3: 50:[47, 4] Operation: 3+1=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[1, 50], Operations: ['73-26=47', '3+47=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[73, 3, 1, 26], Operations: []
Exploring Operation: 73-26=47, Resulting Numbers: [3, 1, 47]
Generated Node #0,0: 50:[3, 1, 47] Operation: 73-26=47
Moving to Node #0,0
Current State: 50:[3, 1, 47], Operations: ['73-26=47']
Exploring Operation: 3+47=50, Resulting Numbers: [1, 50]
Generated Node #0,0,1: 50:[1, 50] Operation: 3+47=50
Moving to Node #0,0,1
Current State: 50:[1, 50], Operations: ['73-26=47', '3+47=50']
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
4,
80,
11,
67
] | 21 | [
"11-4=7",
"80+67=147",
"147/7=21"
] | Current State: 21:[4, 80, 11, 67], Operations: []
Exploring Operation: 11-4=7, Resulting Numbers: [80, 67, 7]
Generated Node #2: [80, 67, 7] from Operation: 11-4=7
Current State: 21:[80, 67, 7], Operations: ['11-4=7']
Exploring Operation: 80+67=147, Resulting Numbers: [7, 147]
Generated Node #3: [7, 147] from Operation: 80+67=147
Current State: 21:[7, 147], Operations: ['11-4=7', '80+67=147']
Exploring Operation: 147/7=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[4, 80, 11, 67], Operations: []
Exploring Operation: 80-11=69, Resulting Numbers: [4, 67, 69]
Generated Node #0,0: 21:[4, 67, 69] Operation: 80-11=69
Exploring Operation: 80-67=13, Resulting Numbers: [4, 11, 13]
Generated Node #0,1: 21:[4, 11, 13] Operation: 80-67=13
Exploring Operation: 80/4=20, Resulting Numbers: [11, 67, 20]
Generated Node #0,2: 21:[11, 67, 20] Operation: 80/4=20
Moving to Node #0,1
Current State: 21:[4, 11, 13], Operations: ['80-67=13']
Exploring Operation: 13-11=2, Resulting Numbers: [4, 2]
Generated Node #0,1,0: 21:[4, 2] Operation: 13-11=2
Exploring Operation: 11+13=24, Resulting Numbers: [4, 24]
Generated Node #0,1,1: 21:[4, 24] Operation: 11+13=24
Exploring Operation: 11-4=7, Resulting Numbers: [13, 7]
Generated Node #0,1,2: 21:[13, 7] Operation: 11-4=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 21:[4, 2], Operations: ['80-67=13', '13-11=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No 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: 21:[4, 24], Operations: ['80-67=13', '11+13=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[13, 7], Operations: ['80-67=13', '11-4=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,21 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,21 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: 21:[11, 67, 20], Operations: ['80/4=20']
Exploring Operation: 67-20=47, Resulting Numbers: [11, 47]
Generated Node #0,2,0: 21:[11, 47] Operation: 67-20=47
Exploring Operation: 20-11=9, Resulting Numbers: [67, 9]
Generated Node #0,2,1: 21:[67, 9] Operation: 20-11=9
Exploring Operation: 67-11=56, Resulting Numbers: [20, 56]
Generated Node #0,2,2: 21:[20, 56] Operation: 67-11=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[11, 47], Operations: ['80/4=20', '67-20=47']
Exploring Operation: 11*47=517, Resulting Numbers: [517]
517,21 unequal: No Solution
Exploring Operation: 11+47=58, Resulting Numbers: [58]
58,21 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[20, 56], Operations: ['80/4=20', '67-11=56']
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,21 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[67, 9], Operations: ['80/4=20', '20-11=9']
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,21 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,21 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,21 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: 21:[4, 67, 69], Operations: ['80-11=69']
Exploring Operation: 69-4=65, Resulting Numbers: [67, 65]
Generated Node #0,0,0: 21:[67, 65] Operation: 69-4=65
Exploring Operation: 67-4=63, Resulting Numbers: [69, 63]
Generated Node #0,0,1: 21:[69, 63] Operation: 67-4=63
Exploring Operation: 69-67=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 21:[4, 2] Operation: 69-67=2
Moving to Node #0,0,2
Current State: 21:[4, 2], Operations: ['80-11=69', '69-67=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[67, 65], Operations: ['80-11=69', '69-4=65']
Exploring Operation: 67*65=4355, Resulting Numbers: [4355]
4355,21 unequal: No Solution
Exploring Operation: 67+65=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[69, 63], Operations: ['80-11=69', '67-4=63']
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,21 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,21 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,21 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
20,
15,
68
] | 54 | [
"20-15=5",
"70/5=14",
"68-14=54"
] | Current State: 54:[70, 20, 15, 68], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [70, 68, 5]
Generated Node #2: [70, 68, 5] from Operation: 20-15=5
Current State: 54:[70, 68, 5], Operations: ['20-15=5']
Exploring Operation: 70/5=14, Resulting Numbers: [68, 14]
Generated Node #3: [68, 14] from Operation: 70/5=14
Current State: 54:[68, 14], Operations: ['20-15=5', '70/5=14']
Exploring Operation: 68-14=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[70, 20, 15, 68], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [20, 15, 2]
Generated Node #0,0: 54:[20, 15, 2] Operation: 70-68=2
Exploring Operation: 70-15=55, Resulting Numbers: [20, 68, 55]
Generated Node #0,1: 54:[20, 68, 55] Operation: 70-15=55
Moving to Node #0,0
Current State: 54:[20, 15, 2], Operations: ['70-68=2']
Exploring Operation: 20-2=18, Resulting Numbers: [15, 18]
Generated Node #0,0,0: 54:[15, 18] Operation: 20-2=18
Exploring Operation: 20-15=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 54:[2, 5] Operation: 20-15=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[2, 5], Operations: ['70-68=2', '20-15=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[15, 18], Operations: ['70-68=2', '20-2=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,54 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: 54:[20, 68, 55], Operations: ['70-15=55']
Exploring Operation: 68-55=13, Resulting Numbers: [20, 13]
Generated Node #0,1,0: 54:[20, 13] Operation: 68-55=13
Exploring Operation: 68-20=48, Resulting Numbers: [55, 48]
Generated Node #0,1,1: 54:[55, 48] Operation: 68-20=48
Moving to Node #0,1,0
Current State: 54:[20, 13], Operations: ['70-15=55', '68-55=13']
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[55, 48], Operations: ['70-15=55', '68-20=48']
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,54 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
50,
48,
27,
5
] | 59 | [
"50-48=2",
"27*2=54",
"5+54=59"
] | Current State: 59:[50, 48, 27, 5], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [27, 5, 2]
Generated Node #2: [27, 5, 2] from Operation: 50-48=2
Current State: 59:[27, 5, 2], Operations: ['50-48=2']
Exploring Operation: 27*2=54, Resulting Numbers: [5, 54]
Generated Node #3: [5, 54] from Operation: 27*2=54
Current State: 59:[5, 54], Operations: ['50-48=2', '27*2=54']
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[50, 48, 27, 5], Operations: []
Exploring Operation: 48+5=53, Resulting Numbers: [50, 27, 53]
Generated Node #0,0: 59:[50, 27, 53] Operation: 48+5=53
Exploring Operation: 50+5=55, Resulting Numbers: [48, 27, 55]
Generated Node #0,1: 59:[48, 27, 55] Operation: 50+5=55
Moving to Node #0,0
Current State: 59:[50, 27, 53], Operations: ['48+5=53']
Exploring Operation: 50+27=77, Resulting Numbers: [53, 77]
Generated Node #0,0,0: 59:[53, 77] Operation: 50+27=77
Exploring Operation: 27+53=80, Resulting Numbers: [50, 80]
Generated Node #0,0,1: 59:[50, 80] Operation: 27+53=80
Moving to Node #0,1
Current State: 59:[48, 27, 55], Operations: ['50+5=55']
Exploring Operation: 27+55=82, Resulting Numbers: [48, 82]
Generated Node #0,1,0: 59:[48, 82] Operation: 27+55=82
Exploring Operation: 48+27=75, Resulting Numbers: [55, 75]
Generated Node #0,1,1: 59:[55, 75] Operation: 48+27=75
Moving to Node #0,1,1
Current State: 59:[55, 75], Operations: ['50+5=55', '48+27=75']
Exploring Operation: 55+75=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[53, 77], Operations: ['48+5=53', '50+27=77']
Exploring Operation: 53+77=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[50, 80], Operations: ['48+5=53', '27+53=80']
Exploring Operation: 50+80=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[48, 82], Operations: ['50+5=55', '27+55=82']
Exploring Operation: 48+82=130, Resulting Numbers: [130]
130,59 unequal: No Solution
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
16,
3,
39
] | 26 | [
"9/3=3",
"39-16=23",
"3+23=26"
] | Current State: 26:[9, 16, 3, 39], Operations: []
Exploring Operation: 9/3=3, Resulting Numbers: [16, 39, 3]
Generated Node #2: [16, 39, 3] from Operation: 9/3=3
Current State: 26:[16, 39, 3], Operations: ['9/3=3']
Exploring Operation: 39-16=23, Resulting Numbers: [3, 23]
Generated Node #3: [3, 23] from Operation: 39-16=23
Current State: 26:[3, 23], Operations: ['9/3=3', '39-16=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[9, 16, 3, 39], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [9, 16, 13]
Generated Node #0,0: 26:[9, 16, 13] Operation: 39/3=13
Exploring Operation: 39-9=30, Resulting Numbers: [16, 3, 30]
Generated Node #0,1: 26:[16, 3, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[9, 16, 13], Operations: ['39/3=13']
Exploring Operation: 9+16=25, Resulting Numbers: [13, 25]
Generated Node #0,0,0: 26:[13, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [13, 7]
Generated Node #0,0,1: 26:[13, 7] Operation: 16-9=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[13, 25], Operations: ['39/3=13', '9+16=25']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[13, 7], Operations: ['39/3=13', '16-9=7']
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[16, 3, 30], Operations: ['39-9=30']
Exploring Operation: 30-16=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 26:[3, 14] Operation: 30-16=14
Exploring Operation: 16-3=13, Resulting Numbers: [30, 13]
Generated Node #0,1,1: 26:[30, 13] Operation: 16-3=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 26:[3, 14], Operations: ['39-9=30', '30-16=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 26:[30, 13], Operations: ['39-9=30', '16-3=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,26 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
9,
59,
58
] | 30 | [
"59+58=117",
"117/9=13",
"17+13=30"
] | Current State: 30:[17, 9, 59, 58], Operations: []
Exploring Operation: 59+58=117, Resulting Numbers: [17, 9, 117]
Generated Node #2: [17, 9, 117] from Operation: 59+58=117
Current State: 30:[17, 9, 117], Operations: ['59+58=117']
Exploring Operation: 117/9=13, Resulting Numbers: [17, 13]
Generated Node #3: [17, 13] from Operation: 117/9=13
Current State: 30:[17, 13], Operations: ['59+58=117', '117/9=13']
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 9, 59, 58], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [9, 58, 42]
Generated Node #0,0: 30:[9, 58, 42] Operation: 59-17=42
Exploring Operation: 59-58=1, Resulting Numbers: [17, 9, 1]
Generated Node #0,1: 30:[17, 9, 1] Operation: 59-58=1
Exploring Operation: 58-17=41, Resulting Numbers: [9, 59, 41]
Generated Node #0,2: 30:[9, 59, 41] Operation: 58-17=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[17, 9, 1], Operations: ['59-58=1']
Exploring Operation: 17-1=16, Resulting Numbers: [9, 16]
Generated Node #0,1,0: 30:[9, 16] Operation: 17-1=16
Exploring Operation: 9+1=10, Resulting Numbers: [17, 10]
Generated Node #0,1,1: 30:[17, 10] Operation: 9+1=10
Exploring Operation: 17-9=8, Resulting Numbers: [1, 8]
Generated Node #0,1,2: 30:[1, 8] Operation: 17-9=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 30:[9, 16], Operations: ['59-58=1', '17-1=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,30 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,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,1
Current State: 30:[17, 10], Operations: ['59-58=1', '9+1=10']
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,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:[1, 8], Operations: ['59-58=1', '17-9=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,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,0
Current State: 30:[9, 58, 42], Operations: ['59-17=42']
Exploring Operation: 58-42=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 30:[9, 16] Operation: 58-42=16
Exploring Operation: 42-9=33, Resulting Numbers: [58, 33]
Generated Node #0,0,1: 30:[58, 33] Operation: 42-9=33
Exploring Operation: 58-9=49, Resulting Numbers: [42, 49]
Generated Node #0,0,2: 30:[42, 49] Operation: 58-9=49
Moving to Node #0,0,0
Current State: 30:[9, 16], Operations: ['59-17=42', '58-42=16']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,30 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[58, 33], Operations: ['59-17=42', '42-9=33']
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,30 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[42, 49], Operations: ['59-17=42', '58-9=49']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 42*49=2058, Resulting Numbers: [2058]
2058,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,2
Current State: 30:[9, 59, 41], Operations: ['58-17=41']
Exploring Operation: 41-9=32, Resulting Numbers: [59, 32]
Generated Node #0,2,0: 30:[59, 32] Operation: 41-9=32
Exploring Operation: 59-41=18, Resulting Numbers: [9, 18]
Generated Node #0,2,1: 30:[9, 18] Operation: 59-41=18
Exploring Operation: 59-9=50, Resulting Numbers: [41, 50]
Generated Node #0,2,2: 30:[41, 50] Operation: 59-9=50
Moving to Node #0,2,1
Current State: 30:[9, 18], Operations: ['58-17=41', '59-41=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[59, 32], Operations: ['58-17=41', '41-9=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[41, 50], Operations: ['58-17=41', '59-9=50']
Exploring Operation: 41+50=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 50-41=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 41*50=2050, Resulting Numbers: [2050]
2050,30 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 |
[
52,
98,
29,
39
] | 15 | [
"52+98=150",
"39-29=10",
"150/10=15"
] | Current State: 15:[52, 98, 29, 39], Operations: []
Exploring Operation: 52+98=150, Resulting Numbers: [29, 39, 150]
Generated Node #2: [29, 39, 150] from Operation: 52+98=150
Current State: 15:[29, 39, 150], Operations: ['52+98=150']
Exploring Operation: 39-29=10, Resulting Numbers: [150, 10]
Generated Node #3: [150, 10] from Operation: 39-29=10
Current State: 15:[150, 10], Operations: ['52+98=150', '39-29=10']
Exploring Operation: 150/10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[52, 98, 29, 39], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [29, 39, 46]
Generated Node #0,0: 15:[29, 39, 46] Operation: 98-52=46
Exploring Operation: 52-39=13, Resulting Numbers: [98, 29, 13]
Generated Node #0,1: 15:[98, 29, 13] Operation: 52-39=13
Exploring Operation: 98-39=59, Resulting Numbers: [52, 29, 59]
Generated Node #0,2: 15:[52, 29, 59] Operation: 98-39=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[29, 39, 46], Operations: ['98-52=46']
Exploring Operation: 46-39=7, Resulting Numbers: [29, 7]
Generated Node #0,0,0: 15:[29, 7] Operation: 46-39=7
Exploring Operation: 39-29=10, Resulting Numbers: [46, 10]
Generated Node #0,0,1: 15:[46, 10] Operation: 39-29=10
Exploring Operation: 46-29=17, Resulting Numbers: [39, 17]
Generated Node #0,0,2: 15:[39, 17] Operation: 46-29=17
Moving to Node #0,0,0
Current State: 15:[29, 7], Operations: ['98-52=46', '46-39=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,15 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[39, 17], Operations: ['98-52=46', '46-29=17']
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,15 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[46, 10], Operations: ['98-52=46', '39-29=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,15 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,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
Current State: 15:[52, 29, 59], Operations: ['98-39=59']
Exploring Operation: 52-29=23, Resulting Numbers: [59, 23]
Generated Node #0,2,0: 15:[59, 23] Operation: 52-29=23
Exploring Operation: 59-29=30, Resulting Numbers: [52, 30]
Generated Node #0,2,1: 15:[52, 30] Operation: 59-29=30
Exploring Operation: 59-52=7, Resulting Numbers: [29, 7]
Generated Node #0,2,2: 15:[29, 7] Operation: 59-52=7
Moving to Node #0,2,2
Current State: 15:[29, 7], Operations: ['98-39=59', '59-52=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[59, 23], Operations: ['98-39=59', '52-29=23']
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,15 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[52, 30], Operations: ['98-39=59', '59-29=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,15 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,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,1
Current State: 15:[98, 29, 13], Operations: ['52-39=13']
Exploring Operation: 98-13=85, Resulting Numbers: [29, 85]
Generated Node #0,1,0: 15:[29, 85] Operation: 98-13=85
Exploring Operation: 98-29=69, Resulting Numbers: [13, 69]
Generated Node #0,1,1: 15:[13, 69] Operation: 98-29=69
Exploring Operation: 29-13=16, Resulting Numbers: [98, 16]
Generated Node #0,1,2: 15:[98, 16] Operation: 29-13=16
Moving to Node #0,1,1
Current State: 15:[13, 69], Operations: ['52-39=13', '98-29=69']
Exploring Operation: 13+69=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 13*69=897, Resulting Numbers: [897]
897,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[29, 85], Operations: ['52-39=13', '98-13=85']
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,15 unequal: No Solution
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,15 unequal: No Solution
Exploring Operation: 29*85=2465, Resulting Numbers: [2465]
2465,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[98, 16], Operations: ['52-39=13', '29-13=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,15 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,15 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,15 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 |
[
98,
64,
62,
83
] | 68 | [
"64-62=2",
"83*2=166",
"166-98=68"
] | Current State: 68:[98, 64, 62, 83], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [98, 83, 2]
Generated Node #2: [98, 83, 2] from Operation: 64-62=2
Current State: 68:[98, 83, 2], Operations: ['64-62=2']
Exploring Operation: 83*2=166, Resulting Numbers: [98, 166]
Generated Node #3: [98, 166] from Operation: 83*2=166
Current State: 68:[98, 166], Operations: ['64-62=2', '83*2=166']
Exploring Operation: 166-98=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[98, 64, 62, 83], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [64, 62, 15]
Generated Node #0,0: 68:[64, 62, 15] Operation: 98-83=15
Exploring Operation: 98-64=34, Resulting Numbers: [62, 83, 34]
Generated Node #0,1: 68:[62, 83, 34] Operation: 98-64=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[64, 62, 15], Operations: ['98-83=15']
Exploring Operation: 64-62=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 68:[15, 2] Operation: 64-62=2
Exploring Operation: 62+15=77, Resulting Numbers: [64, 77]
Generated Node #0,0,1: 68:[64, 77] Operation: 62+15=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[15, 2], Operations: ['98-83=15', '64-62=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,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,0,1
Current State: 68:[64, 77], Operations: ['98-83=15', '62+15=77']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,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,1
Current State: 68:[62, 83, 34], Operations: ['98-64=34']
Exploring Operation: 62-34=28, Resulting Numbers: [83, 28]
Generated Node #0,1,0: 68:[83, 28] Operation: 62-34=28
Exploring Operation: 83-62=21, Resulting Numbers: [34, 21]
Generated Node #0,1,1: 68:[34, 21] Operation: 83-62=21
Moving to Node #0,1,1
Current State: 68:[34, 21], Operations: ['98-64=34', '83-62=21']
Exploring Operation: 34+21=55, Resulting Numbers: [55]
55,68 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[83, 28], Operations: ['98-64=34', '62-34=28']
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
77,
33,
24
] | 72 | [
"77-41=36",
"36-33=3",
"24*3=72"
] | Current State: 72:[41, 77, 33, 24], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [33, 24, 36]
Generated Node #2: [33, 24, 36] from Operation: 77-41=36
Current State: 72:[33, 24, 36], Operations: ['77-41=36']
Exploring Operation: 36-33=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 36-33=3
Current State: 72:[24, 3], Operations: ['77-41=36', '36-33=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[41, 77, 33, 24], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [33, 24, 36]
Generated Node #0,0: 72:[33, 24, 36] Operation: 77-41=36
Exploring Operation: 41+33=74, Resulting Numbers: [77, 24, 74]
Generated Node #0,1: 72:[77, 24, 74] Operation: 41+33=74
Exploring Operation: 41-24=17, Resulting Numbers: [77, 33, 17]
Generated Node #0,2: 72:[77, 33, 17] Operation: 41-24=17
Exploring Operation: 41-33=8, Resulting Numbers: [77, 24, 8]
Generated Node #0,3: 72:[77, 24, 8] Operation: 41-33=8
Moving to Node #0,0
Current State: 72:[33, 24, 36], Operations: ['77-41=36']
Exploring Operation: 33+36=69, Resulting Numbers: [24, 69]
Generated Node #0,0,0: 72:[24, 69] Operation: 33+36=69
Exploring Operation: 36-24=12, Resulting Numbers: [33, 12]
Generated Node #0,0,1: 72:[33, 12] Operation: 36-24=12
Exploring Operation: 33-24=9, Resulting Numbers: [36, 9]
Generated Node #0,0,2: 72:[36, 9] Operation: 33-24=9
Exploring Operation: 36-33=3, Resulting Numbers: [24, 3]
Generated Node #0,0,3: 72:[24, 3] Operation: 36-33=3
Moving to Node #0,3
Current State: 72:[77, 24, 8], Operations: ['41-33=8']
Exploring Operation: 77-8=69, Resulting Numbers: [24, 69]
Generated Node #0,3,0: 72:[24, 69] Operation: 77-8=69
Exploring Operation: 24+8=32, Resulting Numbers: [77, 32]
Generated Node #0,3,1: 72:[77, 32] Operation: 24+8=32
Exploring Operation: 24/8=3, Resulting Numbers: [77, 3]
Generated Node #0,3,2: 72:[77, 3] Operation: 24/8=3
Exploring Operation: 24-8=16, Resulting Numbers: [77, 16]
Generated Node #0,3,3: 72:[77, 16] Operation: 24-8=16
Moving to Node #0,1
Current State: 72:[77, 24, 74], Operations: ['41+33=74']
Exploring Operation: 77-74=3, Resulting Numbers: [24, 3]
Generated Node #0,1,0: 72:[24, 3] Operation: 77-74=3
Exploring Operation: 77-24=53, Resulting Numbers: [74, 53]
Generated Node #0,1,1: 72:[74, 53] Operation: 77-24=53
Exploring Operation: 74-24=50, Resulting Numbers: [77, 50]
Generated Node #0,1,2: 72:[77, 50] Operation: 74-24=50
Exploring Operation: 77+24=101, Resulting Numbers: [74, 101]
Generated Node #0,1,3: 72:[74, 101] Operation: 77+24=101
Moving to Node #0,2
Current State: 72:[77, 33, 17], Operations: ['41-24=17']
Exploring Operation: 33-17=16, Resulting Numbers: [77, 16]
Generated Node #0,2,0: 72:[77, 16] Operation: 33-17=16
Exploring Operation: 77-17=60, Resulting Numbers: [33, 60]
Generated Node #0,2,1: 72:[33, 60] Operation: 77-17=60
Exploring Operation: 33+17=50, Resulting Numbers: [77, 50]
Generated Node #0,2,2: 72:[77, 50] Operation: 33+17=50
Exploring Operation: 77-33=44, Resulting Numbers: [17, 44]
Generated Node #0,2,3: 72:[17, 44] Operation: 77-33=44
Moving to Node #0,0,2
Current State: 72:[36, 9], Operations: ['77-41=36', '33-24=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 36*9=324, Resulting Numbers: [324]
324,72 unequal: No Solution
Exploring Operation: 36+9=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[24, 3], Operations: ['77-41=36', '36-33=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[41, 77, 33, 24], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [33, 24, 36]
Generated Node #0,0: 72:[33, 24, 36] Operation: 77-41=36
Moving to Node #0,0
Current State: 72:[33, 24, 36], Operations: ['77-41=36']
Exploring Operation: 36-33=3, Resulting Numbers: [24, 3]
Generated Node #0,0,3: 72:[24, 3] Operation: 36-33=3
Moving to Node #0,0,3
Current State: 72:[24, 3], Operations: ['77-41=36', '36-33=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.974826 | hs_4 | mult_heuristic |
[
42,
8,
21,
84
] | 20 | [
"42*8=336",
"84+336=420",
"420/21=20"
] | Current State: 20:[42, 8, 21, 84], Operations: []
Exploring Operation: 42*8=336, Resulting Numbers: [21, 84, 336]
Generated Node #2: [21, 84, 336] from Operation: 42*8=336
Current State: 20:[21, 84, 336], Operations: ['42*8=336']
Exploring Operation: 84+336=420, Resulting Numbers: [21, 420]
Generated Node #3: [21, 420] from Operation: 84+336=420
Current State: 20:[21, 420], Operations: ['42*8=336', '84+336=420']
Exploring Operation: 420/21=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[42, 8, 21, 84], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [42, 8, 4]
Generated Node #0,0: 20:[42, 8, 4] Operation: 84/21=4
Exploring Operation: 84-42=42, Resulting Numbers: [8, 21, 42]
Generated Node #0,1: 20:[8, 21, 42] Operation: 84-42=42
Exploring Operation: 84/42=2, Resulting Numbers: [8, 21, 2]
Generated Node #0,2: 20:[8, 21, 2] Operation: 84/42=2
Exploring Operation: 42/21=2, Resulting Numbers: [8, 84, 2]
Generated Node #0,3: 20:[8, 84, 2] Operation: 42/21=2
Moving to Node #0,2
Current State: 20:[8, 21, 2], Operations: ['84/42=2']
Exploring Operation: 21-8=13, Resulting Numbers: [2, 13]
Generated Node #0,2,0: 20:[2, 13] Operation: 21-8=13
Exploring Operation: 8/2=4, Resulting Numbers: [21, 4]
Generated Node #0,2,1: 20:[21, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 20:[21, 6] Operation: 8-2=6
Exploring Operation: 8+2=10, Resulting Numbers: [21, 10]
Generated Node #0,2,3: 20:[21, 10] Operation: 8+2=10
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[21, 4], Operations: ['84/42=2', '8/2=4']
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[21, 10], Operations: ['84/42=2', '8+2=10']
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,20 unequal: No Solution
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,20 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[21, 6], Operations: ['84/42=2', '8-2=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,20 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[2, 13], Operations: ['84/42=2', '21-8=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,20 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,20 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: 20:[42, 8, 4], Operations: ['84/21=4']
Exploring Operation: 42-8=34, Resulting Numbers: [4, 34]
Generated Node #0,0,0: 20:[4, 34] Operation: 42-8=34
Exploring Operation: 8/4=2, Resulting Numbers: [42, 2]
Generated Node #0,0,1: 20:[42, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [42, 4]
Generated Node #0,0,2: 20:[42, 4] Operation: 8-4=4
Exploring Operation: 42-4=38, Resulting Numbers: [8, 38]
Generated Node #0,0,3: 20:[8, 38] Operation: 42-4=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[4, 34], Operations: ['84/21=4', '42-8=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,20 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[8, 38], Operations: ['84/21=4', '42-4=38']
Exploring Operation: 8+38=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 8*38=304, Resulting Numbers: [304]
304,20 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[42, 2], Operations: ['84/21=4', '8/4=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[42, 4], Operations: ['84/21=4', '8-4=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,20 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 20:[8, 21, 42], Operations: ['84-42=42']
Exploring Operation: 42-21=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 20:[8, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [8, 2]
Generated Node #0,1,1: 20:[8, 2] Operation: 42/21=2
Exploring Operation: 42-8=34, Resulting Numbers: [21, 34]
Generated Node #0,1,2: 20:[21, 34] Operation: 42-8=34
Exploring Operation: 21-8=13, Resulting Numbers: [42, 13]
Generated Node #0,1,3: 20:[42, 13] Operation: 21-8=13
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[8, 2], Operations: ['84-42=42', '42/21=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[8, 21], Operations: ['84-42=42', '42-21=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,20 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[21, 34], Operations: ['84-42=42', '42-8=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,20 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[42, 13], Operations: ['84-42=42', '21-8=13']
Exploring Operation: 42+13=55, Resulting Numbers: [55]
55,20 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,20 unequal: No Solution
Exploring Operation: 42*13=546, Resulting Numbers: [546]
546,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 20:[8, 84, 2], Operations: ['42/21=2']
Exploring Operation: 8+2=10, Resulting Numbers: [84, 10]
Generated Node #0,3,0: 20:[84, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [84, 4]
Generated Node #0,3,1: 20:[84, 4] Operation: 8/2=4
Exploring Operation: 84/2=42, Resulting Numbers: [8, 42]
Generated Node #0,3,2: 20:[8, 42] Operation: 84/2=42
Exploring Operation: 84-8=76, Resulting Numbers: [2, 76]
Generated Node #0,3,3: 20:[2, 76] Operation: 84-8=76
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[8, 42], Operations: ['42/21=2', '84/2=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[2, 76], Operations: ['42/21=2', '84-8=76']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,20 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[84, 10], Operations: ['42/21=2', '8+2=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,20 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,20 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[84, 4], Operations: ['42/21=2', '8/2=4']
Exploring Operation: 84*4=336, Resulting Numbers: [336]
336,20 unequal: No Solution
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,20 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 |
[
28,
86,
67,
83
] | 92 | [
"86-28=58",
"67+83=150",
"150-58=92"
] | Current State: 92:[28, 86, 67, 83], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [67, 83, 58]
Generated Node #2: [67, 83, 58] from Operation: 86-28=58
Current State: 92:[67, 83, 58], Operations: ['86-28=58']
Exploring Operation: 67+83=150, Resulting Numbers: [58, 150]
Generated Node #3: [58, 150] from Operation: 67+83=150
Current State: 92:[58, 150], Operations: ['86-28=58', '67+83=150']
Exploring Operation: 150-58=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[28, 86, 67, 83], Operations: []
Exploring Operation: 28+67=95, Resulting Numbers: [86, 83, 95]
Generated Node #0,0: 92:[86, 83, 95] Operation: 28+67=95
Exploring Operation: 67-28=39, Resulting Numbers: [86, 83, 39]
Generated Node #0,1: 92:[86, 83, 39] Operation: 67-28=39
Exploring Operation: 86-67=19, Resulting Numbers: [28, 83, 19]
Generated Node #0,2: 92:[28, 83, 19] Operation: 86-67=19
Exploring Operation: 83-67=16, Resulting Numbers: [28, 86, 16]
Generated Node #0,3: 92:[28, 86, 16] Operation: 83-67=16
Moving to Node #0,0
Current State: 92:[86, 83, 95], Operations: ['28+67=95']
Exploring Operation: 95-83=12, Resulting Numbers: [86, 12]
Generated Node #0,0,0: 92:[86, 12] Operation: 95-83=12
Exploring Operation: 86-83=3, Resulting Numbers: [95, 3]
Generated Node #0,0,1: 92:[95, 3] Operation: 86-83=3
Exploring Operation: 95-86=9, Resulting Numbers: [83, 9]
Generated Node #0,0,2: 92:[83, 9] Operation: 95-86=9
Exploring Operation: 86+83=169, Resulting Numbers: [95, 169]
Generated Node #0,0,3: 92:[95, 169] Operation: 86+83=169
Moving to Node #0,3
Current State: 92:[28, 86, 16], Operations: ['83-67=16']
Exploring Operation: 86+16=102, Resulting Numbers: [28, 102]
Generated Node #0,3,0: 92:[28, 102] Operation: 86+16=102
Exploring Operation: 28+16=44, Resulting Numbers: [86, 44]
Generated Node #0,3,1: 92:[86, 44] Operation: 28+16=44
Exploring Operation: 28-16=12, Resulting Numbers: [86, 12]
Generated Node #0,3,2: 92:[86, 12] Operation: 28-16=12
Exploring Operation: 86-28=58, Resulting Numbers: [16, 58]
Generated Node #0,3,3: 92:[16, 58] Operation: 86-28=58
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[86, 44], Operations: ['83-67=16', '28+16=44']
Exploring Operation: 86*44=3784, Resulting Numbers: [3784]
3784,92 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,92 unequal: No Solution
Exploring Operation: 86+44=130, Resulting Numbers: [130]
130,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[86, 12], Operations: ['83-67=16', '28-16=12']
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,92 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[28, 102], Operations: ['83-67=16', '86+16=102']
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,92 unequal: No Solution
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[16, 58], Operations: ['83-67=16', '86-28=58']
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,92 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,92 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: 92:[28, 83, 19], Operations: ['86-67=19']
Exploring Operation: 28-19=9, Resulting Numbers: [83, 9]
Generated Node #0,2,0: 92:[83, 9] Operation: 28-19=9
Exploring Operation: 28+19=47, Resulting Numbers: [83, 47]
Generated Node #0,2,1: 92:[83, 47] Operation: 28+19=47
Exploring Operation: 83-28=55, Resulting Numbers: [19, 55]
Generated Node #0,2,2: 92:[19, 55] Operation: 83-28=55
Exploring Operation: 83+19=102, Resulting Numbers: [28, 102]
Generated Node #0,2,3: 92:[28, 102] Operation: 83+19=102
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[83, 47], Operations: ['86-67=19', '28+19=47']
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,92 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[19, 55], Operations: ['86-67=19', '83-28=55']
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,92 unequal: No Solution
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[83, 9], Operations: ['86-67=19', '28-19=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[28, 86, 67, 83], Operations: []
Exploring Operation: 86-67=19, Resulting Numbers: [28, 83, 19]
Generated Node #0,2: 92:[28, 83, 19] Operation: 86-67=19
Moving to Node #0,2
Current State: 92:[28, 83, 19], Operations: ['86-67=19']
Exploring Operation: 28-19=9, Resulting Numbers: [83, 9]
Generated Node #0,2,0: 92:[83, 9] Operation: 28-19=9
Moving to Node #0,2,0
Current State: 92:[83, 9], Operations: ['86-67=19', '28-19=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_4 | sum_heuristic |
[
21,
89,
27,
3
] | 59 | [
"89-21=68",
"27/3=9",
"68-9=59"
] | Current State: 59:[21, 89, 27, 3], Operations: []
Exploring Operation: 89-21=68, Resulting Numbers: [27, 3, 68]
Generated Node #2: [27, 3, 68] from Operation: 89-21=68
Current State: 59:[27, 3, 68], Operations: ['89-21=68']
Exploring Operation: 27/3=9, Resulting Numbers: [68, 9]
Generated Node #3: [68, 9] from Operation: 27/3=9
Current State: 59:[68, 9], Operations: ['89-21=68', '27/3=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[21, 89, 27, 3], Operations: []
Exploring Operation: 21+3=24, Resulting Numbers: [89, 27, 24]
Generated Node #0,0: 59:[89, 27, 24] Operation: 21+3=24
Exploring Operation: 21*3=63, Resulting Numbers: [89, 27, 63]
Generated Node #0,1: 59:[89, 27, 63] Operation: 21*3=63
Exploring Operation: 27*3=81, Resulting Numbers: [21, 89, 81]
Generated Node #0,2: 59:[21, 89, 81] Operation: 27*3=81
Exploring Operation: 89-21=68, Resulting Numbers: [27, 3, 68]
Generated Node #0,3: 59:[27, 3, 68] Operation: 89-21=68
Exploring Operation: 21+27=48, Resulting Numbers: [89, 3, 48]
Generated Node #0,4: 59:[89, 3, 48] Operation: 21+27=48
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[89, 27, 63], Operations: ['21*3=63']
Exploring Operation: 89+27=116, Resulting Numbers: [63, 116]
Generated Node #0,1,0: 59:[63, 116] Operation: 89+27=116
Exploring Operation: 27+63=90, Resulting Numbers: [89, 90]
Generated Node #0,1,1: 59:[89, 90] Operation: 27+63=90
Exploring Operation: 89-63=26, Resulting Numbers: [27, 26]
Generated Node #0,1,2: 59:[27, 26] Operation: 89-63=26
Exploring Operation: 89-27=62, Resulting Numbers: [63, 62]
Generated Node #0,1,3: 59:[63, 62] Operation: 89-27=62
Exploring Operation: 63-27=36, Resulting Numbers: [89, 36]
Generated Node #0,1,4: 59:[89, 36] Operation: 63-27=36
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[63, 62], Operations: ['21*3=63', '89-27=62']
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,59 unequal: No Solution
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,59 unequal: No Solution
No 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: 59:[89, 36], Operations: ['21*3=63', '63-27=36']
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,59 unequal: No Solution
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,59 unequal: No Solution
No 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: 59:[63, 116], Operations: ['21*3=63', '89+27=116']
Exploring Operation: 63*116=7308, Resulting Numbers: [7308]
7308,59 unequal: No Solution
Exploring Operation: 63+116=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 116-63=53, Resulting Numbers: [53]
53,59 unequal: No Solution
No 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: 59:[89, 90], Operations: ['21*3=63', '27+63=90']
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 89+90=179, Resulting Numbers: [179]
179,59 unequal: No Solution
Exploring Operation: 89*90=8010, Resulting Numbers: [8010]
8010,59 unequal: No Solution
No 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: 59:[27, 26], Operations: ['21*3=63', '89-63=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,59 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,59 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: 59:[21, 89, 81], Operations: ['27*3=81']
Exploring Operation: 89-21=68, Resulting Numbers: [81, 68]
Generated Node #0,2,0: 59:[81, 68] Operation: 89-21=68
Exploring Operation: 21+89=110, Resulting Numbers: [81, 110]
Generated Node #0,2,1: 59:[81, 110] Operation: 21+89=110
Exploring Operation: 21+81=102, Resulting Numbers: [89, 102]
Generated Node #0,2,2: 59:[89, 102] Operation: 21+81=102
Exploring Operation: 89-81=8, Resulting Numbers: [21, 8]
Generated Node #0,2,3: 59:[21, 8] Operation: 89-81=8
Exploring Operation: 81-21=60, Resulting Numbers: [89, 60]
Generated Node #0,2,4: 59:[89, 60] Operation: 81-21=60
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[81, 68], Operations: ['27*3=81', '89-21=68']
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 81*68=5508, Resulting Numbers: [5508]
5508,59 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,59 unequal: No Solution
No 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: 59:[89, 60], Operations: ['27*3=81', '81-21=60']
Exploring Operation: 89+60=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 89*60=5340, Resulting Numbers: [5340]
5340,59 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,59 unequal: No Solution
No 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: 59:[81, 110], Operations: ['27*3=81', '21+89=110']
Exploring Operation: 81+110=191, Resulting Numbers: [191]
191,59 unequal: No Solution
Exploring Operation: 81*110=8910, Resulting Numbers: [8910]
8910,59 unequal: No Solution
Exploring Operation: 110-81=29, Resulting Numbers: [29]
29,59 unequal: No Solution
No 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: 59:[89, 102], Operations: ['27*3=81', '21+81=102']
Exploring Operation: 102-89=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 89+102=191, Resulting Numbers: [191]
191,59 unequal: No Solution
Exploring Operation: 89*102=9078, Resulting Numbers: [9078]
9078,59 unequal: No Solution
No 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: 59:[21, 8], Operations: ['27*3=81', '89-81=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,59 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,59 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: 59:[89, 27, 24], Operations: ['21+3=24']
Exploring Operation: 27+24=51, Resulting Numbers: [89, 51]
Generated Node #0,0,0: 59:[89, 51] Operation: 27+24=51
Exploring Operation: 89-24=65, Resulting Numbers: [27, 65]
Generated Node #0,0,1: 59:[27, 65] Operation: 89-24=65
Exploring Operation: 89+24=113, Resulting Numbers: [27, 113]
Generated Node #0,0,2: 59:[27, 113] Operation: 89+24=113
Exploring Operation: 27-24=3, Resulting Numbers: [89, 3]
Generated Node #0,0,3: 59:[89, 3] Operation: 27-24=3
Exploring Operation: 89-27=62, Resulting Numbers: [24, 62]
Generated Node #0,0,4: 59:[24, 62] Operation: 89-27=62
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[89, 51], Operations: ['21+3=24', '27+24=51']
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,59 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No 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: 59:[27, 65], Operations: ['21+3=24', '89-24=65']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,59 unequal: No Solution
No 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: 59:[24, 62], Operations: ['21+3=24', '89-27=62']
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,59 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,59 unequal: No Solution
No 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: 59:[27, 113], Operations: ['21+3=24', '89+24=113']
Exploring Operation: 113-27=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 27*113=3051, Resulting Numbers: [3051]
3051,59 unequal: No Solution
Exploring Operation: 27+113=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No 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: 59:[89, 3], Operations: ['21+3=24', '27-24=3']
Exploring Operation: 89-3=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 89*3=267, Resulting Numbers: [267]
267,59 unequal: No Solution
Exploring Operation: 89+3=92, Resulting Numbers: [92]
92,59 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: 59:[27, 3, 68], Operations: ['89-21=68']
Exploring Operation: 27+3=30, Resulting Numbers: [68, 30]
Generated Node #0,3,0: 59:[68, 30] Operation: 27+3=30
Exploring Operation: 3+68=71, Resulting Numbers: [27, 71]
Generated Node #0,3,1: 59:[27, 71] Operation: 3+68=71
Exploring Operation: 27-3=24, Resulting Numbers: [68, 24]
Generated Node #0,3,2: 59:[68, 24] Operation: 27-3=24
Exploring Operation: 68-3=65, Resulting Numbers: [27, 65]
Generated Node #0,3,3: 59:[27, 65] Operation: 68-3=65
Exploring Operation: 27*3=81, Resulting Numbers: [68, 81]
Generated Node #0,3,4: 59:[68, 81] Operation: 27*3=81
Moving to Node #0,3,4
Current State: 59:[68, 81], Operations: ['89-21=68', '27*3=81']
Exploring Operation: 68+81=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 68*81=5508, Resulting Numbers: [5508]
5508,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[27, 65], Operations: ['89-21=68', '68-3=65']
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,59 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[68, 30], Operations: ['89-21=68', '27+3=30']
Exploring Operation: 68+30=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 68*30=2040, Resulting Numbers: [2040]
2040,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[27, 71], Operations: ['89-21=68', '3+68=71']
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,59 unequal: No Solution
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[68, 24], Operations: ['89-21=68', '27-3=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,59 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,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,4
Current State: 59:[89, 3, 48], Operations: ['21+27=48']
Exploring Operation: 89-3=86, Resulting Numbers: [48, 86]
Generated Node #0,4,0: 59:[48, 86] Operation: 89-3=86
Exploring Operation: 89+3=92, Resulting Numbers: [48, 92]
Generated Node #0,4,1: 59:[48, 92] Operation: 89+3=92
Exploring Operation: 48/3=16, Resulting Numbers: [89, 16]
Generated Node #0,4,2: 59:[89, 16] Operation: 48/3=16
Exploring Operation: 48-3=45, Resulting Numbers: [89, 45]
Generated Node #0,4,3: 59:[89, 45] Operation: 48-3=45
Exploring Operation: 3+48=51, Resulting Numbers: [89, 51]
Generated Node #0,4,4: 59:[89, 51] Operation: 3+48=51
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[48, 86], Operations: ['21+27=48', '89-3=86']
Exploring Operation: 48+86=134, Resulting Numbers: [134]
134,59 unequal: No Solution
Exploring Operation: 86-48=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 48*86=4128, Resulting Numbers: [4128]
4128,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[89, 51], Operations: ['21+27=48', '3+48=51']
Exploring Operation: 89*51=4539, Resulting Numbers: [4539]
4539,59 unequal: No Solution
Exploring Operation: 89-51=38, Resulting Numbers: [38]
38,59 unequal: No Solution
Exploring Operation: 89+51=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[48, 92], Operations: ['21+27=48', '89+3=92']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,59 unequal: No Solution
Exploring Operation: 48*92=4416, Resulting Numbers: [4416]
4416,59 unequal: No Solution
Exploring Operation: 48+92=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[89, 45], Operations: ['21+27=48', '48-3=45']
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,59 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,59 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[89, 16], Operations: ['21+27=48', '48/3=16']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,59 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,59 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 |
[
19,
49,
71,
4
] | 45 | [
"49-19=30",
"71+4=75",
"75-30=45"
] | Current State: 45:[19, 49, 71, 4], Operations: []
Exploring Operation: 49-19=30, Resulting Numbers: [71, 4, 30]
Generated Node #2: [71, 4, 30] from Operation: 49-19=30
Current State: 45:[71, 4, 30], Operations: ['49-19=30']
Exploring Operation: 71+4=75, Resulting Numbers: [30, 75]
Generated Node #3: [30, 75] from Operation: 71+4=75
Current State: 45:[30, 75], Operations: ['49-19=30', '71+4=75']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[19, 49, 71, 4], Operations: []
Exploring Operation: 19-4=15, Resulting Numbers: [49, 71, 15]
Generated Node #0,0: 45:[49, 71, 15] Operation: 19-4=15
Exploring Operation: 71-19=52, Resulting Numbers: [49, 4, 52]
Generated Node #0,1: 45:[49, 4, 52] Operation: 71-19=52
Exploring Operation: 71-49=22, Resulting Numbers: [19, 4, 22]
Generated Node #0,2: 45:[19, 4, 22] Operation: 71-49=22
Exploring Operation: 49-4=45, Resulting Numbers: [19, 71, 45]
Generated Node #0,3: 45:[19, 71, 45] Operation: 49-4=45
Moving to Node #0,1
Current State: 45:[49, 4, 52], Operations: ['71-19=52']
Exploring Operation: 52/4=13, Resulting Numbers: [49, 13]
Generated Node #0,1,0: 45:[49, 13] Operation: 52/4=13
Exploring Operation: 52-49=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 45:[4, 3] Operation: 52-49=3
Exploring Operation: 52-4=48, Resulting Numbers: [49, 48]
Generated Node #0,1,2: 45:[49, 48] Operation: 52-4=48
Exploring Operation: 49-4=45, Resulting Numbers: [52, 45]
Generated Node #0,1,3: 45:[52, 45] Operation: 49-4=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[4, 3], Operations: ['71-19=52', '52-49=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,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:[49, 13], Operations: ['71-19=52', '52/4=13']
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,45 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,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:[49, 48], Operations: ['71-19=52', '52-4=48']
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,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:[52, 45], Operations: ['71-19=52', '49-4=45']
Exploring Operation: 52+45=97, Resulting Numbers: [97]
97,45 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 52*45=2340, Resulting Numbers: [2340]
2340,45 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: 45:[19, 4, 22], Operations: ['71-49=22']
Exploring Operation: 19+22=41, Resulting Numbers: [4, 41]
Generated Node #0,2,0: 45:[4, 41] Operation: 19+22=41
Exploring Operation: 19-4=15, Resulting Numbers: [22, 15]
Generated Node #0,2,1: 45:[22, 15] Operation: 19-4=15
Exploring Operation: 22-19=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 45:[4, 3] Operation: 22-19=3
Exploring Operation: 22-4=18, Resulting Numbers: [19, 18]
Generated Node #0,2,3: 45:[19, 18] Operation: 22-4=18
Moving to Node #0,3
Current State: 45:[19, 71, 45], Operations: ['49-4=45']
Exploring Operation: 19+71=90, Resulting Numbers: [45, 90]
Generated Node #0,3,0: 45:[45, 90] Operation: 19+71=90
Exploring Operation: 45-19=26, Resulting Numbers: [71, 26]
Generated Node #0,3,1: 45:[71, 26] Operation: 45-19=26
Exploring Operation: 71-19=52, Resulting Numbers: [45, 52]
Generated Node #0,3,2: 45:[45, 52] Operation: 71-19=52
Exploring Operation: 71-45=26, Resulting Numbers: [19, 26]
Generated Node #0,3,3: 45:[19, 26] Operation: 71-45=26
Moving to Node #0,0
Current State: 45:[49, 71, 15], Operations: ['19-4=15']
Exploring Operation: 49-15=34, Resulting Numbers: [71, 34]
Generated Node #0,0,0: 45:[71, 34] Operation: 49-15=34
Exploring Operation: 49+15=64, Resulting Numbers: [71, 64]
Generated Node #0,0,1: 45:[71, 64] Operation: 49+15=64
Exploring Operation: 71-15=56, Resulting Numbers: [49, 56]
Generated Node #0,0,2: 45:[49, 56] Operation: 71-15=56
Exploring Operation: 71-49=22, Resulting Numbers: [15, 22]
Generated Node #0,0,3: 45:[15, 22] Operation: 71-49=22
Moving to Node #0,2,2
Current State: 45:[4, 3], Operations: ['71-49=22', '22-19=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[4, 41], Operations: ['71-49=22', '19+22=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,45 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[19, 49, 71, 4], Operations: []
Exploring Operation: 71-49=22, Resulting Numbers: [19, 4, 22]
Generated Node #0,2: 45:[19, 4, 22] Operation: 71-49=22
Moving to Node #0,2
Current State: 45:[19, 4, 22], Operations: ['71-49=22']
Exploring Operation: 19+22=41, Resulting Numbers: [4, 41]
Generated Node #0,2,0: 45:[4, 41] Operation: 19+22=41
Moving to Node #0,2,0
Current State: 45:[4, 41], Operations: ['71-49=22', '19+22=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.963542 | hs_4 | sum_heuristic |
[
79,
27,
54,
20
] | 97 | [
"79+20=99",
"54/27=2",
"99-2=97"
] | Current State: 97:[79, 27, 54, 20], Operations: []
Exploring Operation: 79+20=99, Resulting Numbers: [27, 54, 99]
Generated Node #2: [27, 54, 99] from Operation: 79+20=99
Current State: 97:[27, 54, 99], Operations: ['79+20=99']
Exploring Operation: 54/27=2, Resulting Numbers: [99, 2]
Generated Node #3: [99, 2] from Operation: 54/27=2
Current State: 97:[99, 2], Operations: ['79+20=99', '54/27=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[79, 27, 54, 20], Operations: []
Exploring Operation: 27+54=81, Resulting Numbers: [79, 20, 81]
Generated Node #0,0: 97:[79, 20, 81] Operation: 27+54=81
Exploring Operation: 27+20=47, Resulting Numbers: [79, 54, 47]
Generated Node #0,1: 97:[79, 54, 47] Operation: 27+20=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[79, 20, 81], Operations: ['27+54=81']
Exploring Operation: 20+81=101, Resulting Numbers: [79, 101]
Generated Node #0,0,0: 97:[79, 101] Operation: 20+81=101
Exploring Operation: 79+20=99, Resulting Numbers: [81, 99]
Generated Node #0,0,1: 97:[81, 99] Operation: 79+20=99
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[81, 99], Operations: ['27+54=81', '79+20=99']
Exploring Operation: 99-81=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 81+99=180, Resulting Numbers: [180]
180,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[79, 101], Operations: ['27+54=81', '20+81=101']
Exploring Operation: 101-79=22, Resulting Numbers: [22]
22,97 unequal: No Solution
Exploring Operation: 79+101=180, Resulting Numbers: [180]
180,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[79, 54, 47], Operations: ['27+20=47']
Exploring Operation: 79+47=126, Resulting Numbers: [54, 126]
Generated Node #0,1,0: 97:[54, 126] Operation: 79+47=126
Exploring Operation: 54+47=101, Resulting Numbers: [79, 101]
Generated Node #0,1,1: 97:[79, 101] Operation: 54+47=101
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[79, 101], Operations: ['27+20=47', '54+47=101']
Exploring Operation: 79+101=180, Resulting Numbers: [180]
180,97 unequal: No Solution
Exploring Operation: 101-79=22, Resulting Numbers: [22]
22,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[54, 126], Operations: ['27+20=47', '79+47=126']
Exploring Operation: 126-54=72, Resulting Numbers: [72]
72,97 unequal: No Solution
Exploring Operation: 54+126=180, Resulting Numbers: [180]
180,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
99,
27,
87,
83
] | 44 | [
"99+27=126",
"87+83=170",
"170-126=44"
] | Current State: 44:[99, 27, 87, 83], Operations: []
Exploring Operation: 99+27=126, Resulting Numbers: [87, 83, 126]
Generated Node #2: [87, 83, 126] from Operation: 99+27=126
Current State: 44:[87, 83, 126], Operations: ['99+27=126']
Exploring Operation: 87+83=170, Resulting Numbers: [126, 170]
Generated Node #3: [126, 170] from Operation: 87+83=170
Current State: 44:[126, 170], Operations: ['99+27=126', '87+83=170']
Exploring Operation: 170-126=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[99, 27, 87, 83], Operations: []
Exploring Operation: 99-27=72, Resulting Numbers: [87, 83, 72]
Generated Node #0,0: 44:[87, 83, 72] Operation: 99-27=72
Exploring Operation: 99-87=12, Resulting Numbers: [27, 83, 12]
Generated Node #0,1: 44:[27, 83, 12] Operation: 99-87=12
Exploring Operation: 87-83=4, Resulting Numbers: [99, 27, 4]
Generated Node #0,2: 44:[99, 27, 4] Operation: 87-83=4
Exploring Operation: 87-27=60, Resulting Numbers: [99, 83, 60]
Generated Node #0,3: 44:[99, 83, 60] Operation: 87-27=60
Exploring Operation: 99-83=16, Resulting Numbers: [27, 87, 16]
Generated Node #0,4: 44:[27, 87, 16] Operation: 99-83=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[27, 83, 12], Operations: ['99-87=12']
Exploring Operation: 83+12=95, Resulting Numbers: [27, 95]
Generated Node #0,1,0: 44:[27, 95] Operation: 83+12=95
Exploring Operation: 83-27=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 44:[12, 56] Operation: 83-27=56
Exploring Operation: 83-12=71, Resulting Numbers: [27, 71]
Generated Node #0,1,2: 44:[27, 71] Operation: 83-12=71
Exploring Operation: 27-12=15, Resulting Numbers: [83, 15]
Generated Node #0,1,3: 44:[83, 15] Operation: 27-12=15
Exploring Operation: 27+12=39, Resulting Numbers: [83, 39]
Generated Node #0,1,4: 44:[83, 39] Operation: 27+12=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[12, 56], Operations: ['99-87=12', '83-27=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,44 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[99, 27, 87, 83], Operations: []
Exploring Operation: 99-87=12, Resulting Numbers: [27, 83, 12]
Generated Node #0,1: 44:[27, 83, 12] Operation: 99-87=12
Moving to Node #0,1
Current State: 44:[27, 83, 12], Operations: ['99-87=12']
Exploring Operation: 83-27=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 44:[12, 56] Operation: 83-27=56
Moving to Node #0,1,1
Current State: 44:[12, 56], Operations: ['99-87=12', '83-27=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
21,
62,
58,
50
] | 25 | [
"21+62=83",
"58+50=108",
"108-83=25"
] | Current State: 25:[21, 62, 58, 50], Operations: []
Exploring Operation: 21+62=83, Resulting Numbers: [58, 50, 83]
Generated Node #2: [58, 50, 83] from Operation: 21+62=83
Current State: 25:[58, 50, 83], Operations: ['21+62=83']
Exploring Operation: 58+50=108, Resulting Numbers: [83, 108]
Generated Node #3: [83, 108] from Operation: 58+50=108
Current State: 25:[83, 108], Operations: ['21+62=83', '58+50=108']
Exploring Operation: 108-83=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[21, 62, 58, 50], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [58, 50, 41]
Generated Node #0,0: 25:[58, 50, 41] Operation: 62-21=41
Exploring Operation: 62-50=12, Resulting Numbers: [21, 58, 12]
Generated Node #0,1: 25:[21, 58, 12] Operation: 62-50=12
Exploring Operation: 62-58=4, Resulting Numbers: [21, 50, 4]
Generated Node #0,2: 25:[21, 50, 4] Operation: 62-58=4
Exploring Operation: 58-50=8, Resulting Numbers: [21, 62, 8]
Generated Node #0,3: 25:[21, 62, 8] Operation: 58-50=8
Moving to Node #0,2
Current State: 25:[21, 50, 4], Operations: ['62-58=4']
Exploring Operation: 50-21=29, Resulting Numbers: [4, 29]
Generated Node #0,2,0: 25:[4, 29] Operation: 50-21=29
Exploring Operation: 21-4=17, Resulting Numbers: [50, 17]
Generated Node #0,2,1: 25:[50, 17] Operation: 21-4=17
Exploring Operation: 50-4=46, Resulting Numbers: [21, 46]
Generated Node #0,2,2: 25:[21, 46] Operation: 50-4=46
Exploring Operation: 21+4=25, Resulting Numbers: [50, 25]
Generated Node #0,2,3: 25:[50, 25] Operation: 21+4=25
Moving to Node #0,3
Current State: 25:[21, 62, 8], Operations: ['58-50=8']
Exploring Operation: 21-8=13, Resulting Numbers: [62, 13]
Generated Node #0,3,0: 25:[62, 13] Operation: 21-8=13
Exploring Operation: 62-21=41, Resulting Numbers: [8, 41]
Generated Node #0,3,1: 25:[8, 41] Operation: 62-21=41
Exploring Operation: 62-8=54, Resulting Numbers: [21, 54]
Generated Node #0,3,2: 25:[21, 54] Operation: 62-8=54
Exploring Operation: 21+8=29, Resulting Numbers: [62, 29]
Generated Node #0,3,3: 25:[62, 29] Operation: 21+8=29
Moving to Node #0,1
Current State: 25:[21, 58, 12], Operations: ['62-50=12']
Exploring Operation: 58-21=37, Resulting Numbers: [12, 37]
Generated Node #0,1,0: 25:[12, 37] Operation: 58-21=37
Exploring Operation: 21+12=33, Resulting Numbers: [58, 33]
Generated Node #0,1,1: 25:[58, 33] Operation: 21+12=33
Exploring Operation: 58-12=46, Resulting Numbers: [21, 46]
Generated Node #0,1,2: 25:[21, 46] Operation: 58-12=46
Exploring Operation: 21-12=9, Resulting Numbers: [58, 9]
Generated Node #0,1,3: 25:[58, 9] Operation: 21-12=9
Moving to Node #0,0
Current State: 25:[58, 50, 41], Operations: ['62-21=41']
Exploring Operation: 58+50=108, Resulting Numbers: [41, 108]
Generated Node #0,0,0: 25:[41, 108] Operation: 58+50=108
Exploring Operation: 58-50=8, Resulting Numbers: [41, 8]
Generated Node #0,0,1: 25:[41, 8] Operation: 58-50=8
Exploring Operation: 58-41=17, Resulting Numbers: [50, 17]
Generated Node #0,0,2: 25:[50, 17] Operation: 58-41=17
Exploring Operation: 50-41=9, Resulting Numbers: [58, 9]
Generated Node #0,0,3: 25:[58, 9] Operation: 50-41=9
Moving to Node #0,2,0
Current State: 25:[4, 29], Operations: ['62-58=4', '50-21=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[21, 62, 58, 50], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [21, 50, 4]
Generated Node #0,2: 25:[21, 50, 4] Operation: 62-58=4
Moving to Node #0,2
Current State: 25:[21, 50, 4], Operations: ['62-58=4']
Exploring Operation: 50-21=29, Resulting Numbers: [4, 29]
Generated Node #0,2,0: 25:[4, 29] Operation: 50-21=29
Moving to Node #0,2,0
Current State: 25:[4, 29], Operations: ['62-58=4', '50-21=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.978299 | hs_4 | mult_heuristic |
[
91,
6,
61,
58
] | 34 | [
"91-6=85",
"61+58=119",
"119-85=34"
] | Current State: 34:[91, 6, 61, 58], Operations: []
Exploring Operation: 91-6=85, Resulting Numbers: [61, 58, 85]
Generated Node #2: [61, 58, 85] from Operation: 91-6=85
Current State: 34:[61, 58, 85], Operations: ['91-6=85']
Exploring Operation: 61+58=119, Resulting Numbers: [85, 119]
Generated Node #3: [85, 119] from Operation: 61+58=119
Current State: 34:[85, 119], Operations: ['91-6=85', '61+58=119']
Exploring Operation: 119-85=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[91, 6, 61, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [6, 61, 33]
Generated Node #0,0: 34:[6, 61, 33] Operation: 91-58=33
Exploring Operation: 61-58=3, Resulting Numbers: [91, 6, 3]
Generated Node #0,1: 34:[91, 6, 3] Operation: 61-58=3
Exploring Operation: 91-61=30, Resulting Numbers: [6, 58, 30]
Generated Node #0,2: 34:[6, 58, 30] Operation: 91-61=30
Exploring Operation: 91-6=85, Resulting Numbers: [61, 58, 85]
Generated Node #0,3: 34:[61, 58, 85] Operation: 91-6=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[6, 61, 33], Operations: ['91-58=33']
Exploring Operation: 61-33=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 34:[6, 28] Operation: 61-33=28
Exploring Operation: 6+33=39, Resulting Numbers: [61, 39]
Generated Node #0,0,1: 34:[61, 39] Operation: 6+33=39
Exploring Operation: 61-6=55, Resulting Numbers: [33, 55]
Generated Node #0,0,2: 34:[33, 55] Operation: 61-6=55
Exploring Operation: 6+61=67, Resulting Numbers: [33, 67]
Generated Node #0,0,3: 34:[33, 67] Operation: 6+61=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[6, 28], Operations: ['91-58=33', '61-33=28']
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,34 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[91, 6, 61, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [6, 61, 33]
Generated Node #0,0: 34:[6, 61, 33] Operation: 91-58=33
Moving to Node #0,0
Current State: 34:[6, 61, 33], Operations: ['91-58=33']
Exploring Operation: 61-33=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 34:[6, 28] Operation: 61-33=28
Moving to Node #0,0,0
Current State: 34:[6, 28], Operations: ['91-58=33', '61-33=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
79,
83,
48,
42
] | 54 | [
"83-79=4",
"48/4=12",
"42+12=54"
] | Current State: 54:[79, 83, 48, 42], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [48, 42, 4]
Generated Node #2: [48, 42, 4] from Operation: 83-79=4
Current State: 54:[48, 42, 4], Operations: ['83-79=4']
Exploring Operation: 48/4=12, Resulting Numbers: [42, 12]
Generated Node #3: [42, 12] from Operation: 48/4=12
Current State: 54:[42, 12], Operations: ['83-79=4', '48/4=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[79, 83, 48, 42], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [48, 42, 4]
Generated Node #0,0: 54:[48, 42, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 54:[48, 42, 4], Operations: ['83-79=4']
Exploring Operation: 48-42=6, Resulting Numbers: [4, 6]
Generated Node #0,0,0: 54:[4, 6] Operation: 48-42=6
Moving to Node #0,0,0
Current State: 54:[4, 6], Operations: ['83-79=4', '48-42=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
3,
25,
65
] | 37 | [
"65-61=4",
"3*4=12",
"25+12=37"
] | Current State: 37:[61, 3, 25, 65], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [3, 25, 4]
Generated Node #2: [3, 25, 4] from Operation: 65-61=4
Current State: 37:[3, 25, 4], Operations: ['65-61=4']
Exploring Operation: 3*4=12, Resulting Numbers: [25, 12]
Generated Node #3: [25, 12] from Operation: 3*4=12
Current State: 37:[25, 12], Operations: ['65-61=4', '3*4=12']
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[61, 3, 25, 65], Operations: []
Exploring Operation: 61-3=58, Resulting Numbers: [25, 65, 58]
Generated Node #0,0: 37:[25, 65, 58] Operation: 61-3=58
Exploring Operation: 3+25=28, Resulting Numbers: [61, 65, 28]
Generated Node #0,1: 37:[61, 65, 28] Operation: 3+25=28
Exploring Operation: 65-3=62, Resulting Numbers: [61, 25, 62]
Generated Node #0,2: 37:[61, 25, 62] Operation: 65-3=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[25, 65, 58], Operations: ['61-3=58']
Exploring Operation: 65-58=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 37:[25, 7] Operation: 65-58=7
Exploring Operation: 58-25=33, Resulting Numbers: [65, 33]
Generated Node #0,0,1: 37:[65, 33] Operation: 58-25=33
Exploring Operation: 65-25=40, Resulting Numbers: [58, 40]
Generated Node #0,0,2: 37:[58, 40] Operation: 65-25=40
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[58, 40], Operations: ['61-3=58', '65-25=40']
Exploring Operation: 58*40=2320, Resulting Numbers: [2320]
2320,37 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[65, 33], Operations: ['61-3=58', '58-25=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,37 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[25, 7], Operations: ['61-3=58', '65-58=7']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,37 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,37 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: 37:[61, 65, 28], Operations: ['3+25=28']
Exploring Operation: 65-61=4, Resulting Numbers: [28, 4]
Generated Node #0,1,0: 37:[28, 4] Operation: 65-61=4
Exploring Operation: 61-28=33, Resulting Numbers: [65, 33]
Generated Node #0,1,1: 37:[65, 33] Operation: 61-28=33
Exploring Operation: 65-28=37, Resulting Numbers: [61, 37]
Generated Node #0,1,2: 37:[61, 37] Operation: 65-28=37
Moving to Node #0,1,2
Current State: 37:[61, 37], Operations: ['3+25=28', '65-28=37']
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,37 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[65, 33], Operations: ['3+25=28', '61-28=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,37 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[28, 4], Operations: ['3+25=28', '65-61=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,37 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[61, 25, 62], Operations: ['65-3=62']
Exploring Operation: 61-25=36, Resulting Numbers: [62, 36]
Generated Node #0,2,0: 37:[62, 36] Operation: 61-25=36
Exploring Operation: 62-61=1, Resulting Numbers: [25, 1]
Generated Node #0,2,1: 37:[25, 1] Operation: 62-61=1
Exploring Operation: 62-25=37, Resulting Numbers: [61, 37]
Generated Node #0,2,2: 37:[61, 37] Operation: 62-25=37
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[61, 37], Operations: ['65-3=62', '62-25=37']
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,37 unequal: No Solution
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,37 unequal: No Solution
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[62, 36], Operations: ['65-3=62', '61-25=36']
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[25, 1], Operations: ['65-3=62', '62-61=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
17,
16,
37
] | 30 | [
"17-8=9",
"37-16=21",
"9+21=30"
] | Current State: 30:[8, 17, 16, 37], Operations: []
Exploring Operation: 17-8=9, Resulting Numbers: [16, 37, 9]
Generated Node #2: [16, 37, 9] from Operation: 17-8=9
Current State: 30:[16, 37, 9], Operations: ['17-8=9']
Exploring Operation: 37-16=21, Resulting Numbers: [9, 21]
Generated Node #3: [9, 21] from Operation: 37-16=21
Current State: 30:[9, 21], Operations: ['17-8=9', '37-16=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[8, 17, 16, 37], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [17, 16, 29]
Generated Node #0,0: 30:[17, 16, 29] Operation: 37-8=29
Exploring Operation: 17-8=9, Resulting Numbers: [16, 37, 9]
Generated Node #0,1: 30:[16, 37, 9] Operation: 17-8=9
Exploring Operation: 16/8=2, Resulting Numbers: [17, 37, 2]
Generated Node #0,2: 30:[17, 37, 2] Operation: 16/8=2
Exploring Operation: 37-17=20, Resulting Numbers: [8, 16, 20]
Generated Node #0,3: 30:[8, 16, 20] Operation: 37-17=20
Exploring Operation: 17-16=1, Resulting Numbers: [8, 37, 1]
Generated Node #0,4: 30:[8, 37, 1] Operation: 17-16=1
Moving to Node #0,0
Current State: 30:[17, 16, 29], Operations: ['37-8=29']
Exploring Operation: 29-16=13, Resulting Numbers: [17, 13]
Generated Node #0,0,0: 30:[17, 13] Operation: 29-16=13
Exploring Operation: 17-16=1, Resulting Numbers: [29, 1]
Generated Node #0,0,1: 30:[29, 1] Operation: 17-16=1
Exploring Operation: 29-17=12, Resulting Numbers: [16, 12]
Generated Node #0,0,2: 30:[16, 12] Operation: 29-17=12
Exploring Operation: 17+16=33, Resulting Numbers: [29, 33]
Generated Node #0,0,3: 30:[29, 33] Operation: 17+16=33
Exploring Operation: 17+29=46, Resulting Numbers: [16, 46]
Generated Node #0,0,4: 30:[16, 46] Operation: 17+29=46
Moving to Node #0,3
Current State: 30:[8, 16, 20], Operations: ['37-17=20']
Exploring Operation: 16/8=2, Resulting Numbers: [20, 2]
Generated Node #0,3,0: 30:[20, 2] Operation: 16/8=2
Exploring Operation: 20-8=12, Resulting Numbers: [16, 12]
Generated Node #0,3,1: 30:[16, 12] Operation: 20-8=12
Exploring Operation: 20-16=4, Resulting Numbers: [8, 4]
Generated Node #0,3,2: 30:[8, 4] Operation: 20-16=4
Exploring Operation: 8+20=28, Resulting Numbers: [16, 28]
Generated Node #0,3,3: 30:[16, 28] Operation: 8+20=28
Exploring Operation: 16-8=8, Resulting Numbers: [20, 8]
Generated Node #0,3,4: 30:[20, 8] Operation: 16-8=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[16, 12], Operations: ['37-17=20', '20-8=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[8, 4], Operations: ['37-17=20', '20-16=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[16, 28], Operations: ['37-17=20', '8+20=28']
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,30 unequal: No Solution
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,30 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[20, 2], Operations: ['37-17=20', '16/8=2']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,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,4
Current State: 30:[20, 8], Operations: ['37-17=20', '16-8=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,30 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,30 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: 30:[16, 37, 9], Operations: ['17-8=9']
Exploring Operation: 37-9=28, Resulting Numbers: [16, 28]
Generated Node #0,1,0: 30:[16, 28] Operation: 37-9=28
Exploring Operation: 37+9=46, Resulting Numbers: [16, 46]
Generated Node #0,1,1: 30:[16, 46] Operation: 37+9=46
Exploring Operation: 16-9=7, Resulting Numbers: [37, 7]
Generated Node #0,1,2: 30:[37, 7] Operation: 16-9=7
Exploring Operation: 16+9=25, Resulting Numbers: [37, 25]
Generated Node #0,1,3: 30:[37, 25] Operation: 16+9=25
Exploring Operation: 37-16=21, Resulting Numbers: [9, 21]
Generated Node #0,1,4: 30:[9, 21] Operation: 37-16=21
Moving to Node #0,2
Current State: 30:[17, 37, 2], Operations: ['16/8=2']
Exploring Operation: 17*2=34, Resulting Numbers: [37, 34]
Generated Node #0,2,0: 30:[37, 34] Operation: 17*2=34
Exploring Operation: 17-2=15, Resulting Numbers: [37, 15]
Generated Node #0,2,1: 30:[37, 15] Operation: 17-2=15
Exploring Operation: 17+2=19, Resulting Numbers: [37, 19]
Generated Node #0,2,2: 30:[37, 19] Operation: 17+2=19
Exploring Operation: 37-2=35, Resulting Numbers: [17, 35]
Generated Node #0,2,3: 30:[17, 35] Operation: 37-2=35
Exploring Operation: 37-17=20, Resulting Numbers: [2, 20]
Generated Node #0,2,4: 30:[2, 20] Operation: 37-17=20
Moving to Node #0,4
Current State: 30:[8, 37, 1], Operations: ['17-16=1']
Exploring Operation: 37-8=29, Resulting Numbers: [1, 29]
Generated Node #0,4,0: 30:[1, 29] Operation: 37-8=29
Exploring Operation: 37-1=36, Resulting Numbers: [8, 36]
Generated Node #0,4,1: 30:[8, 36] Operation: 37-1=36
Exploring Operation: 8+1=9, Resulting Numbers: [37, 9]
Generated Node #0,4,2: 30:[37, 9] Operation: 8+1=9
Exploring Operation: 8-1=7, Resulting Numbers: [37, 7]
Generated Node #0,4,3: 30:[37, 7] Operation: 8-1=7
Exploring Operation: 8*1=8, Resulting Numbers: [37, 8]
Generated Node #0,4,4: 30:[37, 8] Operation: 8*1=8
Moving to Node #0,0,1
Current State: 30:[29, 1], Operations: ['37-8=29', '17-16=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[8, 17, 16, 37], Operations: []
Exploring Operation: 37-8=29, Resulting Numbers: [17, 16, 29]
Generated Node #0,0: 30:[17, 16, 29] Operation: 37-8=29
Moving to Node #0,0
Current State: 30:[17, 16, 29], Operations: ['37-8=29']
Exploring Operation: 17-16=1, Resulting Numbers: [29, 1]
Generated Node #0,0,1: 30:[29, 1] Operation: 17-16=1
Moving to Node #0,0,1
Current State: 30:[29, 1], Operations: ['37-8=29', '17-16=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.954861 | hs_5 | mult_heuristic |
[
84,
94,
7,
16
] | 48 | [
"94-84=10",
"10-7=3",
"16*3=48"
] | Current State: 48:[84, 94, 7, 16], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [7, 16, 10]
Generated Node #2: [7, 16, 10] from Operation: 94-84=10
Current State: 48:[7, 16, 10], Operations: ['94-84=10']
Exploring Operation: 10-7=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 10-7=3
Current State: 48:[16, 3], Operations: ['94-84=10', '10-7=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[84, 94, 7, 16], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [94, 16, 12]
Generated Node #0,0: 48:[94, 16, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [94, 16, 77]
Generated Node #0,1: 48:[94, 16, 77] Operation: 84-7=77
Exploring Operation: 94-16=78, Resulting Numbers: [84, 7, 78]
Generated Node #0,2: 48:[84, 7, 78] Operation: 94-16=78
Exploring Operation: 84-16=68, Resulting Numbers: [94, 7, 68]
Generated Node #0,3: 48:[94, 7, 68] Operation: 84-16=68
Exploring Operation: 94-84=10, Resulting Numbers: [7, 16, 10]
Generated Node #0,4: 48:[7, 16, 10] Operation: 94-84=10
Moving to Node #0,4
Current State: 48:[7, 16, 10], Operations: ['94-84=10']
Exploring Operation: 10-7=3, Resulting Numbers: [16, 3]
Generated Node #0,4,0: 48:[16, 3] Operation: 10-7=3
Exploring Operation: 7+10=17, Resulting Numbers: [16, 17]
Generated Node #0,4,1: 48:[16, 17] Operation: 7+10=17
Exploring Operation: 16-7=9, Resulting Numbers: [10, 9]
Generated Node #0,4,2: 48:[10, 9] Operation: 16-7=9
Exploring Operation: 16-10=6, Resulting Numbers: [7, 6]
Generated Node #0,4,3: 48:[7, 6] Operation: 16-10=6
Exploring Operation: 7+16=23, Resulting Numbers: [10, 23]
Generated Node #0,4,4: 48:[10, 23] Operation: 7+16=23
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[16, 3], Operations: ['94-84=10', '10-7=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[84, 94, 7, 16], Operations: []
Exploring Operation: 94-84=10, Resulting Numbers: [7, 16, 10]
Generated Node #0,4: 48:[7, 16, 10] Operation: 94-84=10
Moving to Node #0,4
Current State: 48:[7, 16, 10], Operations: ['94-84=10']
Exploring Operation: 10-7=3, Resulting Numbers: [16, 3]
Generated Node #0,4,0: 48:[16, 3] Operation: 10-7=3
Moving to Node #0,4,0
Current State: 48:[16, 3], Operations: ['94-84=10', '10-7=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
55,
75,
34,
13
] | 27 | [
"75-55=20",
"34+13=47",
"47-20=27"
] | Current State: 27:[55, 75, 34, 13], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [34, 13, 20]
Generated Node #2: [34, 13, 20] from Operation: 75-55=20
Current State: 27:[34, 13, 20], Operations: ['75-55=20']
Exploring Operation: 34+13=47, Resulting Numbers: [20, 47]
Generated Node #3: [20, 47] from Operation: 34+13=47
Current State: 27:[20, 47], Operations: ['75-55=20', '34+13=47']
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[55, 75, 34, 13], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [75, 13, 21]
Generated Node #0,0: 27:[75, 13, 21] Operation: 55-34=21
Exploring Operation: 75-13=62, Resulting Numbers: [55, 34, 62]
Generated Node #0,1: 27:[55, 34, 62] Operation: 75-13=62
Exploring Operation: 75-55=20, Resulting Numbers: [34, 13, 20]
Generated Node #0,2: 27:[34, 13, 20] Operation: 75-55=20
Exploring Operation: 55-13=42, Resulting Numbers: [75, 34, 42]
Generated Node #0,3: 27:[75, 34, 42] Operation: 55-13=42
Exploring Operation: 75-34=41, Resulting Numbers: [55, 13, 41]
Generated Node #0,4: 27:[55, 13, 41] Operation: 75-34=41
Moving to Node #0,2
Current State: 27:[34, 13, 20], Operations: ['75-55=20']
Exploring Operation: 20-13=7, Resulting Numbers: [34, 7]
Generated Node #0,2,0: 27:[34, 7] Operation: 20-13=7
Exploring Operation: 13+20=33, Resulting Numbers: [34, 33]
Generated Node #0,2,1: 27:[34, 33] Operation: 13+20=33
Exploring Operation: 34-13=21, Resulting Numbers: [20, 21]
Generated Node #0,2,2: 27:[20, 21] Operation: 34-13=21
Exploring Operation: 34+13=47, Resulting Numbers: [20, 47]
Generated Node #0,2,3: 27:[20, 47] Operation: 34+13=47
Exploring Operation: 34-20=14, Resulting Numbers: [13, 14]
Generated Node #0,2,4: 27:[13, 14] Operation: 34-20=14
Moving to Node #0,4
Current State: 27:[55, 13, 41], Operations: ['75-34=41']
Exploring Operation: 41-13=28, Resulting Numbers: [55, 28]
Generated Node #0,4,0: 27:[55, 28] Operation: 41-13=28
Exploring Operation: 55-13=42, Resulting Numbers: [41, 42]
Generated Node #0,4,1: 27:[41, 42] Operation: 55-13=42
Exploring Operation: 55-41=14, Resulting Numbers: [13, 14]
Generated Node #0,4,2: 27:[13, 14] Operation: 55-41=14
Exploring Operation: 55+13=68, Resulting Numbers: [41, 68]
Generated Node #0,4,3: 27:[41, 68] Operation: 55+13=68
Exploring Operation: 13+41=54, Resulting Numbers: [55, 54]
Generated Node #0,4,4: 27:[55, 54] Operation: 13+41=54
Moving to Node #0,0
Current State: 27:[75, 13, 21], Operations: ['55-34=21']
Exploring Operation: 75-13=62, Resulting Numbers: [21, 62]
Generated Node #0,0,0: 27:[21, 62] Operation: 75-13=62
Exploring Operation: 75+13=88, Resulting Numbers: [21, 88]
Generated Node #0,0,1: 27:[21, 88] Operation: 75+13=88
Exploring Operation: 21-13=8, Resulting Numbers: [75, 8]
Generated Node #0,0,2: 27:[75, 8] Operation: 21-13=8
Exploring Operation: 13+21=34, Resulting Numbers: [75, 34]
Generated Node #0,0,3: 27:[75, 34] Operation: 13+21=34
Exploring Operation: 75-21=54, Resulting Numbers: [13, 54]
Generated Node #0,0,4: 27:[13, 54] Operation: 75-21=54
Moving to Node #0,1
Current State: 27:[55, 34, 62], Operations: ['75-13=62']
Exploring Operation: 55+34=89, Resulting Numbers: [62, 89]
Generated Node #0,1,0: 27:[62, 89] Operation: 55+34=89
Exploring Operation: 62-55=7, Resulting Numbers: [34, 7]
Generated Node #0,1,1: 27:[34, 7] Operation: 62-55=7
Exploring Operation: 55-34=21, Resulting Numbers: [62, 21]
Generated Node #0,1,2: 27:[62, 21] Operation: 55-34=21
Exploring Operation: 62-34=28, Resulting Numbers: [55, 28]
Generated Node #0,1,3: 27:[55, 28] Operation: 62-34=28
Exploring Operation: 55+62=117, Resulting Numbers: [34, 117]
Generated Node #0,1,4: 27:[34, 117] Operation: 55+62=117
Moving to Node #0,3
Current State: 27:[75, 34, 42], Operations: ['55-13=42']
Exploring Operation: 75-42=33, Resulting Numbers: [34, 33]
Generated Node #0,3,0: 27:[34, 33] Operation: 75-42=33
Exploring Operation: 42-34=8, Resulting Numbers: [75, 8]
Generated Node #0,3,1: 27:[75, 8] Operation: 42-34=8
Exploring Operation: 75-34=41, Resulting Numbers: [42, 41]
Generated Node #0,3,2: 27:[42, 41] Operation: 75-34=41
Exploring Operation: 75+34=109, Resulting Numbers: [42, 109]
Generated Node #0,3,3: 27:[42, 109] Operation: 75+34=109
Exploring Operation: 75+42=117, Resulting Numbers: [34, 117]
Generated Node #0,3,4: 27:[34, 117] Operation: 75+42=117
Moving to Node #0,2,0
Current State: 27:[34, 7], Operations: ['75-55=20', '20-13=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,27 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,27 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[55, 75, 34, 13], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [34, 13, 20]
Generated Node #0,2: 27:[34, 13, 20] Operation: 75-55=20
Moving to Node #0,2
Current State: 27:[34, 13, 20], Operations: ['75-55=20']
Exploring Operation: 20-13=7, Resulting Numbers: [34, 7]
Generated Node #0,2,0: 27:[34, 7] Operation: 20-13=7
Moving to Node #0,2,0
Current State: 27:[34, 7], Operations: ['75-55=20', '20-13=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.967882 | hs_5 | mult_heuristic |
[
29,
46,
32,
56
] | 34 | [
"32-29=3",
"46+56=102",
"102/3=34"
] | Current State: 34:[29, 46, 32, 56], Operations: []
Exploring Operation: 32-29=3, Resulting Numbers: [46, 56, 3]
Generated Node #2: [46, 56, 3] from Operation: 32-29=3
Current State: 34:[46, 56, 3], Operations: ['32-29=3']
Exploring Operation: 46+56=102, Resulting Numbers: [3, 102]
Generated Node #3: [3, 102] from Operation: 46+56=102
Current State: 34:[3, 102], Operations: ['32-29=3', '46+56=102']
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[29, 46, 32, 56], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [29, 32, 10]
Generated Node #0,0: 34:[29, 32, 10] Operation: 56-46=10
Exploring Operation: 56-29=27, Resulting Numbers: [46, 32, 27]
Generated Node #0,1: 34:[46, 32, 27] Operation: 56-29=27
Exploring Operation: 46-29=17, Resulting Numbers: [32, 56, 17]
Generated Node #0,2: 34:[32, 56, 17] Operation: 46-29=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[29, 32, 10], Operations: ['56-46=10']
Exploring Operation: 32-29=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 34:[10, 3] Operation: 32-29=3
Exploring Operation: 29-10=19, Resulting Numbers: [32, 19]
Generated Node #0,0,1: 34:[32, 19] Operation: 29-10=19
Exploring Operation: 29+10=39, Resulting Numbers: [32, 39]
Generated Node #0,0,2: 34:[32, 39] Operation: 29+10=39
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[32, 19], Operations: ['56-46=10', '29-10=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,34 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,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:[32, 39], Operations: ['56-46=10', '29+10=39']
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,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,0
Current State: 34:[10, 3], Operations: ['56-46=10', '32-29=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,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,1
Current State: 34:[46, 32, 27], Operations: ['56-29=27']
Exploring Operation: 46-27=19, Resulting Numbers: [32, 19]
Generated Node #0,1,0: 34:[32, 19] Operation: 46-27=19
Exploring Operation: 46-32=14, Resulting Numbers: [27, 14]
Generated Node #0,1,1: 34:[27, 14] Operation: 46-32=14
Exploring Operation: 32-27=5, Resulting Numbers: [46, 5]
Generated Node #0,1,2: 34:[46, 5] Operation: 32-27=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 34:[32, 19], Operations: ['56-29=27', '46-27=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,34 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,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:[27, 14], Operations: ['56-29=27', '46-32=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,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,2
Current State: 34:[46, 5], Operations: ['56-29=27', '32-27=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,34 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,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:[32, 56, 17], Operations: ['46-29=17']
Exploring Operation: 56-32=24, Resulting Numbers: [17, 24]
Generated Node #0,2,0: 34:[17, 24] Operation: 56-32=24
Exploring Operation: 56-17=39, Resulting Numbers: [32, 39]
Generated Node #0,2,1: 34:[32, 39] Operation: 56-17=39
Exploring Operation: 32-17=15, Resulting Numbers: [56, 15]
Generated Node #0,2,2: 34:[56, 15] Operation: 32-17=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[17, 24], Operations: ['46-29=17', '56-32=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 17*24=408, Resulting Numbers: [408]
408,34 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,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:[32, 39], Operations: ['46-29=17', '56-17=39']
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,34 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,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:[56, 15], Operations: ['46-29=17', '32-17=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,34 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,34 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
43,
27,
13,
24
] | 53 | [
"43-27=16",
"13+24=37",
"16+37=53"
] | Current State: 53:[43, 27, 13, 24], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [13, 24, 16]
Generated Node #2: [13, 24, 16] from Operation: 43-27=16
Current State: 53:[13, 24, 16], Operations: ['43-27=16']
Exploring Operation: 13+24=37, Resulting Numbers: [16, 37]
Generated Node #3: [16, 37] from Operation: 13+24=37
Current State: 53:[16, 37], Operations: ['43-27=16', '13+24=37']
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[43, 27, 13, 24], Operations: []
Exploring Operation: 27+13=40, Resulting Numbers: [43, 24, 40]
Generated Node #0,0: 53:[43, 24, 40] Operation: 27+13=40
Exploring Operation: 27+24=51, Resulting Numbers: [43, 13, 51]
Generated Node #0,1: 53:[43, 13, 51] Operation: 27+24=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[43, 24, 40], Operations: ['27+13=40']
Exploring Operation: 43+24=67, Resulting Numbers: [40, 67]
Generated Node #0,0,0: 53:[40, 67] Operation: 43+24=67
Exploring Operation: 24+40=64, Resulting Numbers: [43, 64]
Generated Node #0,0,1: 53:[43, 64] Operation: 24+40=64
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[43, 64], Operations: ['27+13=40', '24+40=64']
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,53 unequal: No Solution
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,53 unequal: No Solution
No 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: 53:[40, 67], Operations: ['27+13=40', '43+24=67']
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,53 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: 53:[43, 13, 51], Operations: ['27+24=51']
Exploring Operation: 13+51=64, Resulting Numbers: [43, 64]
Generated Node #0,1,0: 53:[43, 64] Operation: 13+51=64
Exploring Operation: 43+13=56, Resulting Numbers: [51, 56]
Generated Node #0,1,1: 53:[51, 56] Operation: 43+13=56
Moving to Node #0,1,1
Current State: 53:[51, 56], Operations: ['27+24=51', '43+13=56']
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[43, 64], Operations: ['27+24=51', '13+51=64']
Exploring Operation: 43+64=107, Resulting Numbers: [107]
107,53 unequal: No Solution
Exploring Operation: 64-43=21, Resulting Numbers: [21]
21,53 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 |
[
62,
22,
12,
16
] | 64 | [
"22-16=6",
"12/6=2",
"62+2=64"
] | Current State: 64:[62, 22, 12, 16], Operations: []
Exploring Operation: 22-16=6, Resulting Numbers: [62, 12, 6]
Generated Node #2: [62, 12, 6] from Operation: 22-16=6
Current State: 64:[62, 12, 6], Operations: ['22-16=6']
Exploring Operation: 12/6=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 12/6=2
Current State: 64:[62, 2], Operations: ['22-16=6', '12/6=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[62, 22, 12, 16], Operations: []
Exploring Operation: 22-12=10, Resulting Numbers: [62, 16, 10]
Generated Node #0,0: 64:[62, 16, 10] Operation: 22-12=10
Exploring Operation: 22+12=34, Resulting Numbers: [62, 16, 34]
Generated Node #0,1: 64:[62, 16, 34] Operation: 22+12=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[62, 16, 10], Operations: ['22-12=10']
Exploring Operation: 62+10=72, Resulting Numbers: [16, 72]
Generated Node #0,0,0: 64:[16, 72] Operation: 62+10=72
Exploring Operation: 16-10=6, Resulting Numbers: [62, 6]
Generated Node #0,0,1: 64:[62, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[62, 6], Operations: ['22-12=10', '16-10=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[16, 72], Operations: ['22-12=10', '62+10=72']
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[62, 16, 34], Operations: ['22+12=34']
Exploring Operation: 62-34=28, Resulting Numbers: [16, 28]
Generated Node #0,1,0: 64:[16, 28] Operation: 62-34=28
Exploring Operation: 34-16=18, Resulting Numbers: [62, 18]
Generated Node #0,1,1: 64:[62, 18] Operation: 34-16=18
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[16, 28], Operations: ['22+12=34', '62-34=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[62, 18], Operations: ['22+12=34', '34-16=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,64 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
84,
13,
39
] | 53 | [
"98+84=182",
"182/13=14",
"39+14=53"
] | Current State: 53:[98, 84, 13, 39], Operations: []
Exploring Operation: 98+84=182, Resulting Numbers: [13, 39, 182]
Generated Node #2: [13, 39, 182] from Operation: 98+84=182
Current State: 53:[13, 39, 182], Operations: ['98+84=182']
Exploring Operation: 182/13=14, Resulting Numbers: [39, 14]
Generated Node #3: [39, 14] from Operation: 182/13=14
Current State: 53:[39, 14], Operations: ['98+84=182', '182/13=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[98, 84, 13, 39], Operations: []
Exploring Operation: 13+39=52, Resulting Numbers: [98, 84, 52]
Generated Node #0,0: 53:[98, 84, 52] Operation: 13+39=52
Exploring Operation: 98-13=85, Resulting Numbers: [84, 39, 85]
Generated Node #0,1: 53:[84, 39, 85] Operation: 98-13=85
Exploring Operation: 84-13=71, Resulting Numbers: [98, 39, 71]
Generated Node #0,2: 53:[98, 39, 71] Operation: 84-13=71
Exploring Operation: 98-39=59, Resulting Numbers: [84, 13, 59]
Generated Node #0,3: 53:[84, 13, 59] Operation: 98-39=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[98, 84, 52], Operations: ['13+39=52']
Exploring Operation: 84-52=32, Resulting Numbers: [98, 32]
Generated Node #0,0,0: 53:[98, 32] Operation: 84-52=32
Exploring Operation: 98-52=46, Resulting Numbers: [84, 46]
Generated Node #0,0,1: 53:[84, 46] Operation: 98-52=46
Exploring Operation: 98-84=14, Resulting Numbers: [52, 14]
Generated Node #0,0,2: 53:[52, 14] Operation: 98-84=14
Exploring Operation: 98+52=150, Resulting Numbers: [84, 150]
Generated Node #0,0,3: 53:[84, 150] Operation: 98+52=150
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 53:[84, 46], Operations: ['13+39=52', '98-52=46']
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,53 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No 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: 53:[52, 14], Operations: ['13+39=52', '98-84=14']
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,53 unequal: No Solution
No 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: 53:[98, 32], Operations: ['13+39=52', '84-52=32']
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,53 unequal: No Solution
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,53 unequal: No Solution
No 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: 53:[84, 150], Operations: ['13+39=52', '98+52=150']
Exploring Operation: 84*150=12600, Resulting Numbers: [12600]
12600,53 unequal: No Solution
Exploring Operation: 150-84=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 84+150=234, Resulting Numbers: [234]
234,53 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: 53:[84, 39, 85], Operations: ['98-13=85']
Exploring Operation: 85-39=46, Resulting Numbers: [84, 46]
Generated Node #0,1,0: 53:[84, 46] Operation: 85-39=46
Exploring Operation: 84+39=123, Resulting Numbers: [85, 123]
Generated Node #0,1,1: 53:[85, 123] Operation: 84+39=123
Exploring Operation: 85-84=1, Resulting Numbers: [39, 1]
Generated Node #0,1,2: 53:[39, 1] Operation: 85-84=1
Exploring Operation: 84-39=45, Resulting Numbers: [85, 45]
Generated Node #0,1,3: 53:[85, 45] Operation: 84-39=45
Moving to Node #0,1,0
Current State: 53:[84, 46], Operations: ['98-13=85', '85-39=46']
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[85, 45], Operations: ['98-13=85', '84-39=45']
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,53 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[39, 1], Operations: ['98-13=85', '85-84=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[85, 123], Operations: ['98-13=85', '84+39=123']
Exploring Operation: 85*123=10455, Resulting Numbers: [10455]
10455,53 unequal: No Solution
Exploring Operation: 123-85=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 85+123=208, Resulting Numbers: [208]
208,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[98, 39, 71], Operations: ['84-13=71']
Exploring Operation: 98+39=137, Resulting Numbers: [71, 137]
Generated Node #0,2,0: 53:[71, 137] Operation: 98+39=137
Exploring Operation: 71-39=32, Resulting Numbers: [98, 32]
Generated Node #0,2,1: 53:[98, 32] Operation: 71-39=32
Exploring Operation: 98-71=27, Resulting Numbers: [39, 27]
Generated Node #0,2,2: 53:[39, 27] Operation: 98-71=27
Exploring Operation: 98-39=59, Resulting Numbers: [71, 59]
Generated Node #0,2,3: 53:[71, 59] Operation: 98-39=59
Moving to Node #0,2,3
Current State: 53:[71, 59], Operations: ['84-13=71', '98-39=59']
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,53 unequal: No Solution
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[39, 27], Operations: ['84-13=71', '98-71=27']
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,53 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[98, 32], Operations: ['84-13=71', '71-39=32']
Exploring Operation: 98-32=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 98+32=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 98*32=3136, Resulting Numbers: [3136]
3136,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[71, 137], Operations: ['84-13=71', '98+39=137']
Exploring Operation: 137-71=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 71+137=208, Resulting Numbers: [208]
208,53 unequal: No Solution
Exploring Operation: 71*137=9727, Resulting Numbers: [9727]
9727,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
Current State: 53:[84, 13, 59], Operations: ['98-39=59']
Exploring Operation: 84-13=71, Resulting Numbers: [59, 71]
Generated Node #0,3,0: 53:[59, 71] Operation: 84-13=71
Exploring Operation: 59-13=46, Resulting Numbers: [84, 46]
Generated Node #0,3,1: 53:[84, 46] Operation: 59-13=46
Exploring Operation: 84+13=97, Resulting Numbers: [59, 97]
Generated Node #0,3,2: 53:[59, 97] Operation: 84+13=97
Exploring Operation: 13+59=72, Resulting Numbers: [84, 72]
Generated Node #0,3,3: 53:[84, 72] Operation: 13+59=72
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[59, 71], Operations: ['98-39=59', '84-13=71']
Exploring Operation: 59*71=4189, Resulting Numbers: [4189]
4189,53 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,53 unequal: No Solution
No 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: 53:[84, 46], Operations: ['98-39=59', '59-13=46']
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,53 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No 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: 53:[59, 97], Operations: ['98-39=59', '84+13=97']
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,53 unequal: No Solution
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No 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: 53:[84, 72], Operations: ['98-39=59', '13+59=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,53 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,53 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
15,
30,
48
] | 57 | [
"11+48=59",
"30/15=2",
"59-2=57"
] | Current State: 57:[11, 15, 30, 48], Operations: []
Exploring Operation: 11+48=59, Resulting Numbers: [15, 30, 59]
Generated Node #2: [15, 30, 59] from Operation: 11+48=59
Current State: 57:[15, 30, 59], Operations: ['11+48=59']
Exploring Operation: 30/15=2, Resulting Numbers: [59, 2]
Generated Node #3: [59, 2] from Operation: 30/15=2
Current State: 57:[59, 2], Operations: ['11+48=59', '30/15=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[11, 15, 30, 48], Operations: []
Exploring Operation: 30-11=19, Resulting Numbers: [15, 48, 19]
Generated Node #0,0: 57:[15, 48, 19] Operation: 30-11=19
Exploring Operation: 11+48=59, Resulting Numbers: [15, 30, 59]
Generated Node #0,1: 57:[15, 30, 59] Operation: 11+48=59
Exploring Operation: 30/15=2, Resulting Numbers: [11, 48, 2]
Generated Node #0,2: 57:[11, 48, 2] Operation: 30/15=2
Exploring Operation: 48-30=18, Resulting Numbers: [11, 15, 18]
Generated Node #0,3: 57:[11, 15, 18] Operation: 48-30=18
Moving to Node #0,0
Current State: 57:[15, 48, 19], Operations: ['30-11=19']
Exploring Operation: 48-15=33, Resulting Numbers: [19, 33]
Generated Node #0,0,0: 57:[19, 33] Operation: 48-15=33
Exploring Operation: 19-15=4, Resulting Numbers: [48, 4]
Generated Node #0,0,1: 57:[48, 4] Operation: 19-15=4
Exploring Operation: 15+48=63, Resulting Numbers: [19, 63]
Generated Node #0,0,2: 57:[19, 63] Operation: 15+48=63
Exploring Operation: 48+19=67, Resulting Numbers: [15, 67]
Generated Node #0,0,3: 57:[15, 67] Operation: 48+19=67
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[19, 63], Operations: ['30-11=19', '15+48=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,57 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,57 unequal: No Solution
No 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: 57:[48, 4], Operations: ['30-11=19', '19-15=4']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,57 unequal: No Solution
No 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: 57:[19, 33], Operations: ['30-11=19', '48-15=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,57 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No 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: 57:[15, 67], Operations: ['30-11=19', '48+19=67']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,57 unequal: No Solution
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,57 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: 57:[11, 15, 18], Operations: ['48-30=18']
Exploring Operation: 15-11=4, Resulting Numbers: [18, 4]
Generated Node #0,3,0: 57:[18, 4] Operation: 15-11=4
Exploring Operation: 18-11=7, Resulting Numbers: [15, 7]
Generated Node #0,3,1: 57:[15, 7] Operation: 18-11=7
Exploring Operation: 11+15=26, Resulting Numbers: [18, 26]
Generated Node #0,3,2: 57:[18, 26] Operation: 11+15=26
Exploring Operation: 18-15=3, Resulting Numbers: [11, 3]
Generated Node #0,3,3: 57:[11, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[18, 4], Operations: ['48-30=18', '15-11=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,57 unequal: No Solution
No 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: 57:[15, 7], Operations: ['48-30=18', '18-11=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,57 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,57 unequal: No Solution
No 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: 57:[18, 26], Operations: ['48-30=18', '11+15=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,57 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,57 unequal: No Solution
No 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: 57:[11, 3], Operations: ['48-30=18', '18-15=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,57 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: 57:[15, 30, 59], Operations: ['11+48=59']
Exploring Operation: 15+30=45, Resulting Numbers: [59, 45]
Generated Node #0,1,0: 57:[59, 45] Operation: 15+30=45
Exploring Operation: 30/15=2, Resulting Numbers: [59, 2]
Generated Node #0,1,1: 57:[59, 2] Operation: 30/15=2
Exploring Operation: 30-15=15, Resulting Numbers: [59, 15]
Generated Node #0,1,2: 57:[59, 15] Operation: 30-15=15
Exploring Operation: 59-30=29, Resulting Numbers: [15, 29]
Generated Node #0,1,3: 57:[15, 29] Operation: 59-30=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[59, 2], Operations: ['11+48=59', '30/15=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[11, 15, 30, 48], Operations: []
Exploring Operation: 11+48=59, Resulting Numbers: [15, 30, 59]
Generated Node #0,1: 57:[15, 30, 59] Operation: 11+48=59
Moving to Node #0,1
Current State: 57:[15, 30, 59], Operations: ['11+48=59']
Exploring Operation: 30/15=2, Resulting Numbers: [59, 2]
Generated Node #0,1,1: 57:[59, 2] Operation: 30/15=2
Moving to Node #0,1,1
Current State: 57:[59, 2], Operations: ['11+48=59', '30/15=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
40,
20,
68,
28
] | 98 | [
"40/20=2",
"68+28=96",
"2+96=98"
] | Current State: 98:[40, 20, 68, 28], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [68, 28, 2]
Generated Node #2: [68, 28, 2] from Operation: 40/20=2
Current State: 98:[68, 28, 2], Operations: ['40/20=2']
Exploring Operation: 68+28=96, Resulting Numbers: [2, 96]
Generated Node #3: [2, 96] from Operation: 68+28=96
Current State: 98:[2, 96], Operations: ['40/20=2', '68+28=96']
Exploring Operation: 2+96=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[40, 20, 68, 28], Operations: []
Exploring Operation: 68-28=40, Resulting Numbers: [40, 20, 40]
Generated Node #0,0: 98:[40, 20, 40] Operation: 68-28=40
Exploring Operation: 68-20=48, Resulting Numbers: [40, 28, 48]
Generated Node #0,1: 98:[40, 28, 48] Operation: 68-20=48
Exploring Operation: 68+28=96, Resulting Numbers: [40, 20, 96]
Generated Node #0,2: 98:[40, 20, 96] Operation: 68+28=96
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[40, 20, 96], Operations: ['68+28=96']
Exploring Operation: 40/20=2, Resulting Numbers: [96, 2]
Generated Node #0,2,0: 98:[96, 2] Operation: 40/20=2
Exploring Operation: 40-20=20, Resulting Numbers: [96, 20]
Generated Node #0,2,1: 98:[96, 20] Operation: 40-20=20
Exploring Operation: 40+20=60, Resulting Numbers: [96, 60]
Generated Node #0,2,2: 98:[96, 60] Operation: 40+20=60
Moving to Node #0,2,0
Current State: 98:[96, 2], Operations: ['68+28=96', '40/20=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[40, 20, 68, 28], Operations: []
Exploring Operation: 68+28=96, Resulting Numbers: [40, 20, 96]
Generated Node #0,2: 98:[40, 20, 96] Operation: 68+28=96
Moving to Node #0,2
Current State: 98:[40, 20, 96], Operations: ['68+28=96']
Exploring Operation: 40/20=2, Resulting Numbers: [96, 2]
Generated Node #0,2,0: 98:[96, 2] Operation: 40/20=2
Moving to Node #0,2,0
Current State: 98:[96, 2], Operations: ['68+28=96', '40/20=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
37,
42,
93,
79
] | 93 | [
"37+42=79",
"93+79=172",
"172-79=93"
] | Current State: 93:[37, 42, 93, 79], Operations: []
Exploring Operation: 37+42=79, Resulting Numbers: [93, 79, 79]
Generated Node #2: [93, 79, 79] from Operation: 37+42=79
Current State: 93:[93, 79, 79], Operations: ['37+42=79']
Exploring Operation: 93+79=172, Resulting Numbers: [172]
172,93 equal: Goal Reached
Exploring Operation: 172-79=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[37, 42, 93, 79], Operations: []
Exploring Operation: 79-42=37, Resulting Numbers: [37, 93, 37]
Generated Node #0,0: 93:[37, 93, 37] Operation: 79-42=37
Exploring Operation: 79-37=42, Resulting Numbers: [42, 93, 42]
Generated Node #0,1: 93:[42, 93, 42] Operation: 79-37=42
Exploring Operation: 42-37=5, Resulting Numbers: [93, 79, 5]
Generated Node #0,2: 93:[93, 79, 5] Operation: 42-37=5
Moving to Node #0,0
Current State: 93:[37, 93, 37], Operations: ['79-42=37']
Exploring Operation: 37+37=74, Resulting Numbers: [93, 74]
Generated Node #0,0,0: 93:[93, 74] Operation: 37+37=74
Exploring Operation: 37-37=0, Resulting Numbers: [93, 0]
Generated Node #0,0,1: 93:[93, 0] Operation: 37-37=0
Exploring Operation: 37/37=1, Resulting Numbers: [93, 1]
Generated Node #0,0,2: 93:[93, 1] Operation: 37/37=1
Moving to Node #0,2
Current State: 93:[93, 79, 5], Operations: ['42-37=5']
Exploring Operation: 79+5=84, Resulting Numbers: [93, 84]
Generated Node #0,2,0: 93:[93, 84] Operation: 79+5=84
Exploring Operation: 93-79=14, Resulting Numbers: [5, 14]
Generated Node #0,2,1: 93:[5, 14] Operation: 93-79=14
Exploring Operation: 93+5=98, Resulting Numbers: [79, 98]
Generated Node #0,2,2: 93:[79, 98] Operation: 93+5=98
Moving to Node #0,1
Current State: 93:[42, 93, 42], Operations: ['79-37=42']
Exploring Operation: 42+42=84, Resulting Numbers: [93, 84]
Generated Node #0,1,0: 93:[93, 84] Operation: 42+42=84
Exploring Operation: 42/42=1, Resulting Numbers: [93, 1]
Generated Node #0,1,1: 93:[93, 1] Operation: 42/42=1
Exploring Operation: 42-42=0, Resulting Numbers: [93, 0]
Generated Node #0,1,2: 93:[93, 0] Operation: 42-42=0
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[93, 1], Operations: ['79-37=42', '42/42=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[37, 42, 93, 79], Operations: []
Exploring Operation: 79-37=42, Resulting Numbers: [42, 93, 42]
Generated Node #0,1: 93:[42, 93, 42] Operation: 79-37=42
Moving to Node #0,1
Current State: 93:[42, 93, 42], Operations: ['79-37=42']
Exploring Operation: 42/42=1, Resulting Numbers: [93, 1]
Generated Node #0,1,1: 93:[93, 1] Operation: 42/42=1
Moving to Node #0,1,1
Current State: 93:[93, 1], Operations: ['79-37=42', '42/42=1']
Exploring Operation: 93*1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
53,
99,
17,
42
] | 71 | [
"99-53=46",
"42-17=25",
"46+25=71"
] | Current State: 71:[53, 99, 17, 42], Operations: []
Exploring Operation: 99-53=46, Resulting Numbers: [17, 42, 46]
Generated Node #2: [17, 42, 46] from Operation: 99-53=46
Current State: 71:[17, 42, 46], Operations: ['99-53=46']
Exploring Operation: 42-17=25, Resulting Numbers: [46, 25]
Generated Node #3: [46, 25] from Operation: 42-17=25
Current State: 71:[46, 25], Operations: ['99-53=46', '42-17=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[53, 99, 17, 42], Operations: []
Exploring Operation: 99-17=82, Resulting Numbers: [53, 42, 82]
Generated Node #0,0: 71:[53, 42, 82] Operation: 99-17=82
Exploring Operation: 53+17=70, Resulting Numbers: [99, 42, 70]
Generated Node #0,1: 71:[99, 42, 70] Operation: 53+17=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[53, 42, 82], Operations: ['99-17=82']
Exploring Operation: 82-42=40, Resulting Numbers: [53, 40]
Generated Node #0,0,0: 71:[53, 40] Operation: 82-42=40
Exploring Operation: 53+42=95, Resulting Numbers: [82, 95]
Generated Node #0,0,1: 71:[82, 95] Operation: 53+42=95
Moving to Node #0,0,1
Current State: 71:[82, 95], Operations: ['99-17=82', '53+42=95']
Exploring Operation: 95-82=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 82+95=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[53, 40], Operations: ['99-17=82', '82-42=40']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[99, 42, 70], Operations: ['53+17=70']
Exploring Operation: 99-42=57, Resulting Numbers: [70, 57]
Generated Node #0,1,0: 71:[70, 57] Operation: 99-42=57
Exploring Operation: 42+70=112, Resulting Numbers: [99, 112]
Generated Node #0,1,1: 71:[99, 112] Operation: 42+70=112
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[70, 57], Operations: ['53+17=70', '99-42=57']
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 70+57=127, Resulting Numbers: [127]
127,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[99, 112], Operations: ['53+17=70', '42+70=112']
Exploring Operation: 99+112=211, Resulting Numbers: [211]
211,71 unequal: No Solution
Exploring Operation: 112-99=13, Resulting Numbers: [13]
13,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
43,
80,
67
] | 13 | [
"43-17=26",
"80-67=13",
"26-13=13"
] | Current State: 13:[17, 43, 80, 67], Operations: []
Exploring Operation: 43-17=26, Resulting Numbers: [80, 67, 26]
Generated Node #2: [80, 67, 26] from Operation: 43-17=26
Current State: 13:[80, 67, 26], Operations: ['43-17=26']
Exploring Operation: 80-67=13, Resulting Numbers: [26, 13]
Generated Node #3: [26, 13] from Operation: 80-67=13
Current State: 13:[26, 13], Operations: ['43-17=26', '80-67=13']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[17, 43, 80, 67], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [17, 67, 37]
Generated Node #0,0: 13:[17, 67, 37] Operation: 80-43=37
Exploring Operation: 80-17=63, Resulting Numbers: [43, 67, 63]
Generated Node #0,1: 13:[43, 67, 63] Operation: 80-17=63
Exploring Operation: 43-17=26, Resulting Numbers: [80, 67, 26]
Generated Node #0,2: 13:[80, 67, 26] Operation: 43-17=26
Exploring Operation: 80-67=13, Resulting Numbers: [17, 43, 13]
Generated Node #0,3: 13:[17, 43, 13] Operation: 80-67=13
Exploring Operation: 67-43=24, Resulting Numbers: [17, 80, 24]
Generated Node #0,4: 13:[17, 80, 24] Operation: 67-43=24
Moving to Node #0,3
Current State: 13:[17, 43, 13], Operations: ['80-67=13']
Exploring Operation: 17-13=4, Resulting Numbers: [43, 4]
Generated Node #0,3,0: 13:[43, 4] Operation: 17-13=4
Exploring Operation: 17+43=60, Resulting Numbers: [13, 60]
Generated Node #0,3,1: 13:[13, 60] Operation: 17+43=60
Exploring Operation: 43-17=26, Resulting Numbers: [13, 26]
Generated Node #0,3,2: 13:[13, 26] Operation: 43-17=26
Exploring Operation: 17+13=30, Resulting Numbers: [43, 30]
Generated Node #0,3,3: 13:[43, 30] Operation: 17+13=30
Exploring Operation: 43-13=30, Resulting Numbers: [17, 30]
Generated Node #0,3,4: 13:[17, 30] Operation: 43-13=30
Moving to Node #0,4
Current State: 13:[17, 80, 24], Operations: ['67-43=24']
Exploring Operation: 80-17=63, Resulting Numbers: [24, 63]
Generated Node #0,4,0: 13:[24, 63] Operation: 80-17=63
Exploring Operation: 17+80=97, Resulting Numbers: [24, 97]
Generated Node #0,4,1: 13:[24, 97] Operation: 17+80=97
Exploring Operation: 24-17=7, Resulting Numbers: [80, 7]
Generated Node #0,4,2: 13:[80, 7] Operation: 24-17=7
Exploring Operation: 17+24=41, Resulting Numbers: [80, 41]
Generated Node #0,4,3: 13:[80, 41] Operation: 17+24=41
Exploring Operation: 80-24=56, Resulting Numbers: [17, 56]
Generated Node #0,4,4: 13:[17, 56] Operation: 80-24=56
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 13:[17, 56], Operations: ['67-43=24', '80-24=56']
Exploring Operation: 17+56=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 17*56=952, Resulting Numbers: [952]
952,13 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 13:[24, 63], Operations: ['67-43=24', '80-17=63']
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,13 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 13:[80, 7], Operations: ['67-43=24', '24-17=7']
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,13 unequal: No Solution
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,13 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 13:[24, 97], Operations: ['67-43=24', '17+80=97']
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,13 unequal: No Solution
Exploring Operation: 24+97=121, Resulting Numbers: [121]
121,13 unequal: No Solution
Exploring Operation: 24*97=2328, Resulting Numbers: [2328]
2328,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 13:[80, 41], Operations: ['67-43=24', '17+24=41']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,13 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[17, 67, 37], Operations: ['80-43=37']
Exploring Operation: 37-17=20, Resulting Numbers: [67, 20]
Generated Node #0,0,0: 13:[67, 20] Operation: 37-17=20
Exploring Operation: 17+67=84, Resulting Numbers: [37, 84]
Generated Node #0,0,1: 13:[37, 84] Operation: 17+67=84
Exploring Operation: 67-37=30, Resulting Numbers: [17, 30]
Generated Node #0,0,2: 13:[17, 30] Operation: 67-37=30
Exploring Operation: 67-17=50, Resulting Numbers: [37, 50]
Generated Node #0,0,3: 13:[37, 50] Operation: 67-17=50
Exploring Operation: 17+37=54, Resulting Numbers: [67, 54]
Generated Node #0,0,4: 13:[67, 54] Operation: 17+37=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[17, 30], Operations: ['80-43=37', '67-37=30']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[17, 43, 80, 67], Operations: []
Exploring Operation: 80-43=37, Resulting Numbers: [17, 67, 37]
Generated Node #0,0: 13:[17, 67, 37] Operation: 80-43=37
Moving to Node #0,0
Current State: 13:[17, 67, 37], Operations: ['80-43=37']
Exploring Operation: 67-37=30, Resulting Numbers: [17, 30]
Generated Node #0,0,2: 13:[17, 30] Operation: 67-37=30
Moving to Node #0,0,2
Current State: 13:[17, 30], Operations: ['80-43=37', '67-37=30']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
3,
81,
99,
30
] | 45 | [
"3+81=84",
"99+30=129",
"129-84=45"
] | Current State: 45:[3, 81, 99, 30], Operations: []
Exploring Operation: 3+81=84, Resulting Numbers: [99, 30, 84]
Generated Node #2: [99, 30, 84] from Operation: 3+81=84
Current State: 45:[99, 30, 84], Operations: ['3+81=84']
Exploring Operation: 99+30=129, Resulting Numbers: [84, 129]
Generated Node #3: [84, 129] from Operation: 99+30=129
Current State: 45:[84, 129], Operations: ['3+81=84', '99+30=129']
Exploring Operation: 129-84=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[3, 81, 99, 30], Operations: []
Exploring Operation: 81-30=51, Resulting Numbers: [3, 99, 51]
Generated Node #0,0: 45:[3, 99, 51] Operation: 81-30=51
Exploring Operation: 99-81=18, Resulting Numbers: [3, 30, 18]
Generated Node #0,1: 45:[3, 30, 18] Operation: 99-81=18
Moving to Node #0,1
Current State: 45:[3, 30, 18], Operations: ['99-81=18']
Exploring Operation: 30-18=12, Resulting Numbers: [3, 12]
Generated Node #0,1,0: 45:[3, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 45:[3, 48] Operation: 30+18=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[3, 12], Operations: ['99-81=18', '30-18=12']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[3, 48], Operations: ['99-81=18', '30+18=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[3, 81, 99, 30], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [3, 30, 18]
Generated Node #0,1: 45:[3, 30, 18] Operation: 99-81=18
Moving to Node #0,1
Current State: 45:[3, 30, 18], Operations: ['99-81=18']
Exploring Operation: 30+18=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 45:[3, 48] Operation: 30+18=48
Moving to Node #0,1,1
Current State: 45:[3, 48], Operations: ['99-81=18', '30+18=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
91,
44,
51,
19
] | 42 | [
"51-44=7",
"19*7=133",
"133-91=42"
] | Current State: 42:[91, 44, 51, 19], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [91, 19, 7]
Generated Node #2: [91, 19, 7] from Operation: 51-44=7
Current State: 42:[91, 19, 7], Operations: ['51-44=7']
Exploring Operation: 19*7=133, Resulting Numbers: [91, 133]
Generated Node #3: [91, 133] from Operation: 19*7=133
Current State: 42:[91, 133], Operations: ['51-44=7', '19*7=133']
Exploring Operation: 133-91=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[91, 44, 51, 19], Operations: []
Exploring Operation: 91-19=72, Resulting Numbers: [44, 51, 72]
Generated Node #0,0: 42:[44, 51, 72] Operation: 91-19=72
Exploring Operation: 91-51=40, Resulting Numbers: [44, 19, 40]
Generated Node #0,1: 42:[44, 19, 40] Operation: 91-51=40
Exploring Operation: 51-44=7, Resulting Numbers: [91, 19, 7]
Generated Node #0,2: 42:[91, 19, 7] Operation: 51-44=7
Exploring Operation: 91-44=47, Resulting Numbers: [51, 19, 47]
Generated Node #0,3: 42:[51, 19, 47] Operation: 91-44=47
Moving to Node #0,1
Current State: 42:[44, 19, 40], Operations: ['91-51=40']
Exploring Operation: 19+40=59, Resulting Numbers: [44, 59]
Generated Node #0,1,0: 42:[44, 59] Operation: 19+40=59
Exploring Operation: 44-19=25, Resulting Numbers: [40, 25]
Generated Node #0,1,1: 42:[40, 25] Operation: 44-19=25
Exploring Operation: 44-40=4, Resulting Numbers: [19, 4]
Generated Node #0,1,2: 42:[19, 4] Operation: 44-40=4
Exploring Operation: 40-19=21, Resulting Numbers: [44, 21]
Generated Node #0,1,3: 42:[44, 21] Operation: 40-19=21
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[44, 21], Operations: ['91-51=40', '40-19=21']
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[19, 4], Operations: ['91-51=40', '44-40=4']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[40, 25], Operations: ['91-51=40', '44-19=25']
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,42 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,42 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[44, 59], Operations: ['91-51=40', '19+40=59']
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,42 unequal: No Solution
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,42 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: 42:[51, 19, 47], Operations: ['91-44=47']
Exploring Operation: 51-47=4, Resulting Numbers: [19, 4]
Generated Node #0,3,0: 42:[19, 4] Operation: 51-47=4
Exploring Operation: 47-19=28, Resulting Numbers: [51, 28]
Generated Node #0,3,1: 42:[51, 28] Operation: 47-19=28
Exploring Operation: 51-19=32, Resulting Numbers: [47, 32]
Generated Node #0,3,2: 42:[47, 32] Operation: 51-19=32
Exploring Operation: 51+19=70, Resulting Numbers: [47, 70]
Generated Node #0,3,3: 42:[47, 70] Operation: 51+19=70
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[19, 4], Operations: ['91-44=47', '51-47=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,42 unequal: No Solution
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 42:[47, 32], Operations: ['91-44=47', '51-19=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 42:[51, 28], Operations: ['91-44=47', '47-19=28']
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,42 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 42:[47, 70], Operations: ['91-44=47', '51+19=70']
Exploring Operation: 47+70=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 47*70=3290, Resulting Numbers: [3290]
3290,42 unequal: No Solution
Exploring Operation: 70-47=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 42:[44, 51, 72], Operations: ['91-19=72']
Exploring Operation: 44+51=95, Resulting Numbers: [72, 95]
Generated Node #0,0,0: 42:[72, 95] Operation: 44+51=95
Exploring Operation: 51-44=7, Resulting Numbers: [72, 7]
Generated Node #0,0,1: 42:[72, 7] Operation: 51-44=7
Exploring Operation: 72-51=21, Resulting Numbers: [44, 21]
Generated Node #0,0,2: 42:[44, 21] Operation: 72-51=21
Exploring Operation: 72-44=28, Resulting Numbers: [51, 28]
Generated Node #0,0,3: 42:[51, 28] Operation: 72-44=28
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[44, 21], Operations: ['91-19=72', '72-51=21']
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,42 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,42 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[51, 28], Operations: ['91-19=72', '72-44=28']
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[72, 7], Operations: ['91-19=72', '51-44=7']
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,42 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,42 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[72, 95], Operations: ['91-19=72', '44+51=95']
Exploring Operation: 95-72=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 72*95=6840, Resulting Numbers: [6840]
6840,42 unequal: No Solution
Exploring Operation: 72+95=167, Resulting Numbers: [167]
167,42 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: 42:[91, 19, 7], Operations: ['51-44=7']
Exploring Operation: 19-7=12, Resulting Numbers: [91, 12]
Generated Node #0,2,0: 42:[91, 12] Operation: 19-7=12
Exploring Operation: 91-19=72, Resulting Numbers: [7, 72]
Generated Node #0,2,1: 42:[7, 72] Operation: 91-19=72
Exploring Operation: 91-7=84, Resulting Numbers: [19, 84]
Generated Node #0,2,2: 42:[19, 84] Operation: 91-7=84
Exploring Operation: 91/7=13, Resulting Numbers: [19, 13]
Generated Node #0,2,3: 42:[19, 13] Operation: 91/7=13
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[19, 13], Operations: ['51-44=7', '91/7=13']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,42 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[7, 72], Operations: ['51-44=7', '91-19=72']
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,42 unequal: No Solution
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[19, 84], Operations: ['51-44=7', '91-7=84']
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,42 unequal: No Solution
Exploring Operation: 19+84=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 19*84=1596, Resulting Numbers: [1596]
1596,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[91, 12], Operations: ['51-44=7', '19-7=12']
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,42 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
78,
48,
74
] | 12 | [
"48/16=3",
"78-74=4",
"3*4=12"
] | Current State: 12:[16, 78, 48, 74], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [78, 74, 3]
Generated Node #2: [78, 74, 3] from Operation: 48/16=3
Current State: 12:[78, 74, 3], Operations: ['48/16=3']
Exploring Operation: 78-74=4, Resulting Numbers: [3, 4]
Generated Node #3: [3, 4] from Operation: 78-74=4
Current State: 12:[3, 4], Operations: ['48/16=3', '78-74=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[16, 78, 48, 74], Operations: []
Exploring Operation: 48/16=3, Resulting Numbers: [78, 74, 3]
Generated Node #0,0: 12:[78, 74, 3] Operation: 48/16=3
Exploring Operation: 74-48=26, Resulting Numbers: [16, 78, 26]
Generated Node #0,1: 12:[16, 78, 26] Operation: 74-48=26
Exploring Operation: 78-48=30, Resulting Numbers: [16, 74, 30]
Generated Node #0,2: 12:[16, 74, 30] Operation: 78-48=30
Exploring Operation: 78-74=4, Resulting Numbers: [16, 48, 4]
Generated Node #0,3: 12:[16, 48, 4] Operation: 78-74=4
Moving to Node #0,3
Current State: 12:[16, 48, 4], Operations: ['78-74=4']
Exploring Operation: 48-16=32, Resulting Numbers: [4, 32]
Generated Node #0,3,0: 12:[4, 32] Operation: 48-16=32
Exploring Operation: 48/4=12, Resulting Numbers: [16, 12]
Generated Node #0,3,1: 12:[16, 12] Operation: 48/4=12
Exploring Operation: 16-4=12, Resulting Numbers: [48, 12]
Generated Node #0,3,2: 12:[48, 12] Operation: 16-4=12
Exploring Operation: 48/16=3, Resulting Numbers: [4, 3]
Generated Node #0,3,3: 12:[4, 3] Operation: 48/16=3
Moving to Node #0,2
Current State: 12:[16, 74, 30], Operations: ['78-48=30']
Exploring Operation: 74-30=44, Resulting Numbers: [16, 44]
Generated Node #0,2,0: 12:[16, 44] Operation: 74-30=44
Exploring Operation: 16+74=90, Resulting Numbers: [30, 90]
Generated Node #0,2,1: 12:[30, 90] Operation: 16+74=90
Exploring Operation: 30-16=14, Resulting Numbers: [74, 14]
Generated Node #0,2,2: 12:[74, 14] Operation: 30-16=14
Exploring Operation: 74-16=58, Resulting Numbers: [30, 58]
Generated Node #0,2,3: 12:[30, 58] Operation: 74-16=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[16, 44], Operations: ['78-48=30', '74-30=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,12 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,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:[74, 14], Operations: ['78-48=30', '30-16=14']
Exploring Operation: 74*14=1036, Resulting Numbers: [1036]
1036,12 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[30, 58], Operations: ['78-48=30', '74-16=58']
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,12 unequal: No Solution
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,12 unequal: No Solution
Exploring Operation: 58-30=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,2,1
Current State: 12:[30, 90], Operations: ['78-48=30', '16+74=90']
Exploring Operation: 30+90=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Exploring Operation: 30*90=2700, Resulting Numbers: [2700]
2700,12 unequal: No Solution
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[16, 78, 26], Operations: ['74-48=26']
Exploring Operation: 78/26=3, Resulting Numbers: [16, 3]
Generated Node #0,1,0: 12:[16, 3] Operation: 78/26=3
Exploring Operation: 78-16=62, Resulting Numbers: [26, 62]
Generated Node #0,1,1: 12:[26, 62] Operation: 78-16=62
Exploring Operation: 78-26=52, Resulting Numbers: [16, 52]
Generated Node #0,1,2: 12:[16, 52] Operation: 78-26=52
Exploring Operation: 26-16=10, Resulting Numbers: [78, 10]
Generated Node #0,1,3: 12:[78, 10] Operation: 26-16=10
Moving to Node #0,0
Current State: 12:[78, 74, 3], Operations: ['48/16=3']
Exploring Operation: 78-74=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 12:[3, 4] Operation: 78-74=4
Exploring Operation: 78-3=75, Resulting Numbers: [74, 75]
Generated Node #0,0,1: 12:[74, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [74, 26]
Generated Node #0,0,2: 12:[74, 26] Operation: 78/3=26
Exploring Operation: 74-3=71, Resulting Numbers: [78, 71]
Generated Node #0,0,3: 12:[78, 71] Operation: 74-3=71
Moving to Node #0,3,3
Current State: 12:[4, 3], Operations: ['78-74=4', '48/16=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[16, 78, 48, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [16, 48, 4]
Generated Node #0,3: 12:[16, 48, 4] Operation: 78-74=4
Moving to Node #0,3
Current State: 12:[16, 48, 4], Operations: ['78-74=4']
Exploring Operation: 48/16=3, Resulting Numbers: [4, 3]
Generated Node #0,3,3: 12:[4, 3] Operation: 48/16=3
Moving to Node #0,3,3
Current State: 12:[4, 3], Operations: ['78-74=4', '48/16=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.