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,
60,
21,
36
] | 51 | [
"64+21=85",
"36*85=3060",
"3060/60=51"
] | Current State: 51:[64, 60, 21, 36], Operations: []
Exploring Operation: 64+21=85, Resulting Numbers: [60, 36, 85]
Generated Node #2: [60, 36, 85] from Operation: 64+21=85
Current State: 51:[60, 36, 85], Operations: ['64+21=85']
Exploring Operation: 36*85=3060, Resulting Numbers: [60, 3060]
Generated Node #3: [60, 3060] from Operation: 36*85=3060
Current State: 51:[60, 3060], Operations: ['64+21=85', '36*85=3060']
Exploring Operation: 3060/60=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[64, 60, 21, 36], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [64, 21, 24]
Generated Node #0,0: 51:[64, 21, 24] Operation: 60-36=24
Exploring Operation: 64-36=28, Resulting Numbers: [60, 21, 28]
Generated Node #0,1: 51:[60, 21, 28] Operation: 64-36=28
Exploring Operation: 64-60=4, Resulting Numbers: [21, 36, 4]
Generated Node #0,2: 51:[21, 36, 4] Operation: 64-60=4
Moving to Node #0,2
Current State: 51:[21, 36, 4], Operations: ['64-60=4']
Exploring Operation: 36/4=9, Resulting Numbers: [21, 9]
Generated Node #0,2,0: 51:[21, 9] Operation: 36/4=9
Exploring Operation: 21+36=57, Resulting Numbers: [4, 57]
Generated Node #0,2,1: 51:[4, 57] Operation: 21+36=57
Exploring Operation: 36-21=15, Resulting Numbers: [4, 15]
Generated Node #0,2,2: 51:[4, 15] Operation: 36-21=15
Moving to Node #0,0
Current State: 51:[64, 21, 24], Operations: ['60-36=24']
Exploring Operation: 24-21=3, Resulting Numbers: [64, 3]
Generated Node #0,0,0: 51:[64, 3] Operation: 24-21=3
Exploring Operation: 64-24=40, Resulting Numbers: [21, 40]
Generated Node #0,0,1: 51:[21, 40] Operation: 64-24=40
Exploring Operation: 64-21=43, Resulting Numbers: [24, 43]
Generated Node #0,0,2: 51:[24, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 51:[64, 3], Operations: ['60-36=24', '24-21=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 64*3=192, Resulting Numbers: [192]
192,51 unequal: No Solution
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[21, 40], Operations: ['60-36=24', '64-24=40']
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[24, 43], Operations: ['60-36=24', '64-21=43']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,51 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: 51:[60, 21, 28], Operations: ['64-36=28']
Exploring Operation: 28-21=7, Resulting Numbers: [60, 7]
Generated Node #0,1,0: 51:[60, 7] Operation: 28-21=7
Exploring Operation: 21+28=49, Resulting Numbers: [60, 49]
Generated Node #0,1,1: 51:[60, 49] Operation: 21+28=49
Exploring Operation: 60-28=32, Resulting Numbers: [21, 32]
Generated Node #0,1,2: 51:[21, 32] Operation: 60-28=32
Moving to Node #0,2,2
Current State: 51:[4, 15], Operations: ['64-60=4', '36-21=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[4, 57], Operations: ['64-60=4', '21+36=57']
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,51 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,51 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[21, 9], Operations: ['64-60=4', '36/4=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,51 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[60, 49], Operations: ['64-36=28', '21+28=49']
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,51 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[60, 7], Operations: ['64-36=28', '28-21=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,51 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[21, 32], Operations: ['64-36=28', '60-28=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,51 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,51 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,51 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
90,
70,
38,
44
] | 26 | [
"90-70=20",
"44-38=6",
"20+6=26"
] | Current State: 26:[90, 70, 38, 44], Operations: []
Exploring Operation: 90-70=20, Resulting Numbers: [38, 44, 20]
Generated Node #2: [38, 44, 20] from Operation: 90-70=20
Current State: 26:[38, 44, 20], Operations: ['90-70=20']
Exploring Operation: 44-38=6, Resulting Numbers: [20, 6]
Generated Node #3: [20, 6] from Operation: 44-38=6
Current State: 26:[20, 6], Operations: ['90-70=20', '44-38=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[90, 70, 38, 44], Operations: []
Exploring Operation: 90-44=46, Resulting Numbers: [70, 38, 46]
Generated Node #0,0: 26:[70, 38, 46] Operation: 90-44=46
Exploring Operation: 90-70=20, Resulting Numbers: [38, 44, 20]
Generated Node #0,1: 26:[38, 44, 20] Operation: 90-70=20
Exploring Operation: 70-44=26, Resulting Numbers: [90, 38, 26]
Generated Node #0,2: 26:[90, 38, 26] Operation: 70-44=26
Moving to Node #0,1
Current State: 26:[38, 44, 20], Operations: ['90-70=20']
Exploring Operation: 44-38=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 26:[20, 6] Operation: 44-38=6
Exploring Operation: 44-20=24, Resulting Numbers: [38, 24]
Generated Node #0,1,1: 26:[38, 24] Operation: 44-20=24
Exploring Operation: 38-20=18, Resulting Numbers: [44, 18]
Generated Node #0,1,2: 26:[44, 18] Operation: 38-20=18
Moving to Node #0,0
Current State: 26:[70, 38, 46], Operations: ['90-44=46']
Exploring Operation: 46-38=8, Resulting Numbers: [70, 8]
Generated Node #0,0,0: 26:[70, 8] Operation: 46-38=8
Exploring Operation: 70-38=32, Resulting Numbers: [46, 32]
Generated Node #0,0,1: 26:[46, 32] Operation: 70-38=32
Exploring Operation: 70-46=24, Resulting Numbers: [38, 24]
Generated Node #0,0,2: 26:[38, 24] Operation: 70-46=24
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[38, 24], Operations: ['90-44=46', '70-46=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[46, 32], Operations: ['90-44=46', '70-38=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,26 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,26 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[70, 8], Operations: ['90-44=46', '46-38=8']
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,26 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,26 unequal: No Solution
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,26 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: 26:[90, 38, 26], Operations: ['70-44=26']
Exploring Operation: 38-26=12, Resulting Numbers: [90, 12]
Generated Node #0,2,0: 26:[90, 12] Operation: 38-26=12
Exploring Operation: 90-38=52, Resulting Numbers: [26, 52]
Generated Node #0,2,1: 26:[26, 52] Operation: 90-38=52
Exploring Operation: 90-26=64, Resulting Numbers: [38, 64]
Generated Node #0,2,2: 26:[38, 64] Operation: 90-26=64
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[26, 52], Operations: ['70-44=26', '90-38=52']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[90, 70, 38, 44], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [90, 38, 26]
Generated Node #0,2: 26:[90, 38, 26] Operation: 70-44=26
Moving to Node #0,2
Current State: 26:[90, 38, 26], Operations: ['70-44=26']
Exploring Operation: 90-38=52, Resulting Numbers: [26, 52]
Generated Node #0,2,1: 26:[26, 52] Operation: 90-38=52
Moving to Node #0,2,1
Current State: 26:[26, 52], Operations: ['70-44=26', '90-38=52']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
5,
96,
34,
12
] | 86 | [
"5*34=170",
"96-12=84",
"170-84=86"
] | Current State: 86:[5, 96, 34, 12], Operations: []
Exploring Operation: 5*34=170, Resulting Numbers: [96, 12, 170]
Generated Node #2: [96, 12, 170] from Operation: 5*34=170
Current State: 86:[96, 12, 170], Operations: ['5*34=170']
Exploring Operation: 96-12=84, Resulting Numbers: [170, 84]
Generated Node #3: [170, 84] from Operation: 96-12=84
Current State: 86:[170, 84], Operations: ['5*34=170', '96-12=84']
Exploring Operation: 170-84=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[5, 96, 34, 12], Operations: []
Exploring Operation: 96-5=91, Resulting Numbers: [34, 12, 91]
Generated Node #0,0: 86:[34, 12, 91] Operation: 96-5=91
Exploring Operation: 96/12=8, Resulting Numbers: [5, 34, 8]
Generated Node #0,1: 86:[5, 34, 8] Operation: 96/12=8
Exploring Operation: 5+34=39, Resulting Numbers: [96, 12, 39]
Generated Node #0,2: 86:[96, 12, 39] Operation: 5+34=39
Exploring Operation: 34+12=46, Resulting Numbers: [5, 96, 46]
Generated Node #0,3: 86:[5, 96, 46] Operation: 34+12=46
Exploring Operation: 96-12=84, Resulting Numbers: [5, 34, 84]
Generated Node #0,4: 86:[5, 34, 84] Operation: 96-12=84
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[5, 34, 84], Operations: ['96-12=84']
Exploring Operation: 84-5=79, Resulting Numbers: [34, 79]
Generated Node #0,4,0: 86:[34, 79] Operation: 84-5=79
Exploring Operation: 5+84=89, Resulting Numbers: [34, 89]
Generated Node #0,4,1: 86:[34, 89] Operation: 5+84=89
Exploring Operation: 84-34=50, Resulting Numbers: [5, 50]
Generated Node #0,4,2: 86:[5, 50] Operation: 84-34=50
Exploring Operation: 5+34=39, Resulting Numbers: [84, 39]
Generated Node #0,4,3: 86:[84, 39] Operation: 5+34=39
Exploring Operation: 34-5=29, Resulting Numbers: [84, 29]
Generated Node #0,4,4: 86:[84, 29] Operation: 34-5=29
Moving to Node #0,4,3
Current State: 86:[84, 39], Operations: ['96-12=84', '5+34=39']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[5, 50], Operations: ['96-12=84', '84-34=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,86 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[34, 89], Operations: ['96-12=84', '5+84=89']
Exploring Operation: 34*89=3026, Resulting Numbers: [3026]
3026,86 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 34+89=123, Resulting Numbers: [123]
123,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[34, 79], Operations: ['96-12=84', '84-5=79']
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[84, 29], Operations: ['96-12=84', '34-5=29']
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,86 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[5, 96, 46], Operations: ['34+12=46']
Exploring Operation: 5+46=51, Resulting Numbers: [96, 51]
Generated Node #0,3,0: 86:[96, 51] Operation: 5+46=51
Exploring Operation: 46-5=41, Resulting Numbers: [96, 41]
Generated Node #0,3,1: 86:[96, 41] Operation: 46-5=41
Exploring Operation: 96-5=91, Resulting Numbers: [46, 91]
Generated Node #0,3,2: 86:[46, 91] Operation: 96-5=91
Exploring Operation: 5+96=101, Resulting Numbers: [46, 101]
Generated Node #0,3,3: 86:[46, 101] Operation: 5+96=101
Exploring Operation: 96-46=50, Resulting Numbers: [5, 50]
Generated Node #0,3,4: 86:[5, 50] Operation: 96-46=50
Moving to Node #0,3,2
Current State: 86:[46, 91], Operations: ['34+12=46', '96-5=91']
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[5, 50], Operations: ['34+12=46', '96-46=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,86 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Moving to Node #0,3,1
Current State: 86:[96, 41], Operations: ['34+12=46', '46-5=41']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,86 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[96, 51], Operations: ['34+12=46', '5+46=51']
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,86 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[46, 101], Operations: ['34+12=46', '5+96=101']
Exploring Operation: 101-46=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 46+101=147, Resulting Numbers: [147]
147,86 unequal: No Solution
Exploring Operation: 46*101=4646, Resulting Numbers: [4646]
4646,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[5, 34, 8], Operations: ['96/12=8']
Exploring Operation: 5+34=39, Resulting Numbers: [8, 39]
Generated Node #0,1,0: 86:[8, 39] Operation: 5+34=39
Exploring Operation: 8-5=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 86:[34, 3] Operation: 8-5=3
Exploring Operation: 34-5=29, Resulting Numbers: [8, 29]
Generated Node #0,1,2: 86:[8, 29] Operation: 34-5=29
Exploring Operation: 5*8=40, Resulting Numbers: [34, 40]
Generated Node #0,1,3: 86:[34, 40] Operation: 5*8=40
Exploring Operation: 34+8=42, Resulting Numbers: [5, 42]
Generated Node #0,1,4: 86:[5, 42] Operation: 34+8=42
Moving to Node #0,1,4
Current State: 86:[5, 42], Operations: ['96/12=8', '34+8=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 5*42=210, Resulting Numbers: [210]
210,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[34, 3], Operations: ['96/12=8', '8-5=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[8, 39], Operations: ['96/12=8', '5+34=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,86 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[34, 40], Operations: ['96/12=8', '5*8=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,86 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[8, 29], Operations: ['96/12=8', '34-5=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[34, 12, 91], Operations: ['96-5=91']
Exploring Operation: 91-12=79, Resulting Numbers: [34, 79]
Generated Node #0,0,0: 86:[34, 79] Operation: 91-12=79
Exploring Operation: 34-12=22, Resulting Numbers: [91, 22]
Generated Node #0,0,1: 86:[91, 22] Operation: 34-12=22
Exploring Operation: 91-34=57, Resulting Numbers: [12, 57]
Generated Node #0,0,2: 86:[12, 57] Operation: 91-34=57
Exploring Operation: 12+91=103, Resulting Numbers: [34, 103]
Generated Node #0,0,3: 86:[34, 103] Operation: 12+91=103
Exploring Operation: 34+12=46, Resulting Numbers: [91, 46]
Generated Node #0,0,4: 86:[91, 46] Operation: 34+12=46
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 86:[91, 46], Operations: ['96-5=91', '34+12=46']
Exploring Operation: 91*46=4186, Resulting Numbers: [4186]
4186,86 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 91+46=137, Resulting Numbers: [137]
137,86 unequal: No Solution
No 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: 86:[34, 79], Operations: ['96-5=91', '91-12=79']
Exploring Operation: 34*79=2686, Resulting Numbers: [2686]
2686,86 unequal: No Solution
Exploring Operation: 34+79=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 79-34=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No 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: 86:[12, 57], Operations: ['96-5=91', '91-34=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,86 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No 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: 86:[91, 22], Operations: ['96-5=91', '34-12=22']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 91+22=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 91*22=2002, Resulting Numbers: [2002]
2002,86 unequal: No Solution
No 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: 86:[34, 103], Operations: ['96-5=91', '12+91=103']
Exploring Operation: 103-34=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 34+103=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Exploring Operation: 34*103=3502, Resulting Numbers: [3502]
3502,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[96, 12, 39], Operations: ['5+34=39']
Exploring Operation: 12+39=51, Resulting Numbers: [96, 51]
Generated Node #0,2,0: 86:[96, 51] Operation: 12+39=51
Exploring Operation: 96+12=108, Resulting Numbers: [39, 108]
Generated Node #0,2,1: 86:[39, 108] Operation: 96+12=108
Exploring Operation: 96-12=84, Resulting Numbers: [39, 84]
Generated Node #0,2,2: 86:[39, 84] Operation: 96-12=84
Exploring Operation: 96/12=8, Resulting Numbers: [39, 8]
Generated Node #0,2,3: 86:[39, 8] Operation: 96/12=8
Exploring Operation: 96-39=57, Resulting Numbers: [12, 57]
Generated Node #0,2,4: 86:[12, 57] Operation: 96-39=57
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[39, 84], Operations: ['5+34=39', '96-12=84']
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,86 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,86 unequal: No Solution
No 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: 86:[39, 8], Operations: ['5+34=39', '96/12=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,86 unequal: No Solution
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,86 unequal: No Solution
No 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: 86:[96, 51], Operations: ['5+34=39', '12+39=51']
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,86 unequal: No Solution
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,86 unequal: No Solution
No 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: 86:[12, 57], Operations: ['5+34=39', '96-39=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,86 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No 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: 86:[39, 108], Operations: ['5+34=39', '96+12=108']
Exploring Operation: 39+108=147, Resulting Numbers: [147]
147,86 unequal: No Solution
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 39*108=4212, Resulting Numbers: [4212]
4212,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
73,
71,
41
] | 38 | [
"60-41=19",
"73-71=2",
"19*2=38"
] | Current State: 38:[60, 73, 71, 41], Operations: []
Exploring Operation: 60-41=19, Resulting Numbers: [73, 71, 19]
Generated Node #2: [73, 71, 19] from Operation: 60-41=19
Current State: 38:[73, 71, 19], Operations: ['60-41=19']
Exploring Operation: 73-71=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 73-71=2
Current State: 38:[19, 2], Operations: ['60-41=19', '73-71=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[60, 73, 71, 41], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [60, 41, 2]
Generated Node #0,0: 38:[60, 41, 2] Operation: 73-71=2
Exploring Operation: 73-60=13, Resulting Numbers: [71, 41, 13]
Generated Node #0,1: 38:[71, 41, 13] Operation: 73-60=13
Moving to Node #0,0
Current State: 38:[60, 41, 2], Operations: ['73-71=2']
Exploring Operation: 60/2=30, Resulting Numbers: [41, 30]
Generated Node #0,0,0: 38:[41, 30] Operation: 60/2=30
Exploring Operation: 60-41=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 38:[2, 19] Operation: 60-41=19
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[2, 19], Operations: ['73-71=2', '60-41=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[60, 73, 71, 41], Operations: []
Exploring Operation: 73-71=2, Resulting Numbers: [60, 41, 2]
Generated Node #0,0: 38:[60, 41, 2] Operation: 73-71=2
Moving to Node #0,0
Current State: 38:[60, 41, 2], Operations: ['73-71=2']
Exploring Operation: 60-41=19, Resulting Numbers: [2, 19]
Generated Node #0,0,1: 38:[2, 19] Operation: 60-41=19
Moving to Node #0,0,1
Current State: 38:[2, 19], Operations: ['73-71=2', '60-41=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
87,
43,
21,
26
] | 49 | [
"87-43=44",
"26-21=5",
"44+5=49"
] | Current State: 49:[87, 43, 21, 26], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [21, 26, 44]
Generated Node #2: [21, 26, 44] from Operation: 87-43=44
Current State: 49:[21, 26, 44], Operations: ['87-43=44']
Exploring Operation: 26-21=5, Resulting Numbers: [44, 5]
Generated Node #3: [44, 5] from Operation: 26-21=5
Current State: 49:[44, 5], Operations: ['87-43=44', '26-21=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[87, 43, 21, 26], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [21, 26, 44]
Generated Node #0,0: 49:[21, 26, 44] Operation: 87-43=44
Exploring Operation: 87-26=61, Resulting Numbers: [43, 21, 61]
Generated Node #0,1: 49:[43, 21, 61] Operation: 87-26=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[43, 21, 61], Operations: ['87-26=61']
Exploring Operation: 61-43=18, Resulting Numbers: [21, 18]
Generated Node #0,1,0: 49:[21, 18] Operation: 61-43=18
Exploring Operation: 61-21=40, Resulting Numbers: [43, 40]
Generated Node #0,1,1: 49:[43, 40] Operation: 61-21=40
Moving to Node #0,1,1
Current State: 49:[43, 40], Operations: ['87-26=61', '61-21=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,49 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[21, 18], Operations: ['87-26=61', '61-43=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[21, 26, 44], Operations: ['87-43=44']
Exploring Operation: 26-21=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 49:[44, 5] Operation: 26-21=5
Exploring Operation: 21+26=47, Resulting Numbers: [44, 47]
Generated Node #0,0,1: 49:[44, 47] Operation: 21+26=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[44, 5], Operations: ['87-43=44', '26-21=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[87, 43, 21, 26], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [21, 26, 44]
Generated Node #0,0: 49:[21, 26, 44] Operation: 87-43=44
Moving to Node #0,0
Current State: 49:[21, 26, 44], Operations: ['87-43=44']
Exploring Operation: 26-21=5, Resulting Numbers: [44, 5]
Generated Node #0,0,0: 49:[44, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 49:[44, 5], Operations: ['87-43=44', '26-21=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
40,
63,
33,
42
] | 28 | [
"40+63=103",
"33+42=75",
"103-75=28"
] | Current State: 28:[40, 63, 33, 42], Operations: []
Exploring Operation: 40+63=103, Resulting Numbers: [33, 42, 103]
Generated Node #2: [33, 42, 103] from Operation: 40+63=103
Current State: 28:[33, 42, 103], Operations: ['40+63=103']
Exploring Operation: 33+42=75, Resulting Numbers: [103, 75]
Generated Node #3: [103, 75] from Operation: 33+42=75
Current State: 28:[103, 75], Operations: ['40+63=103', '33+42=75']
Exploring Operation: 103-75=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[40, 63, 33, 42], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [40, 33, 21]
Generated Node #0,0: 28:[40, 33, 21] Operation: 63-42=21
Exploring Operation: 40-33=7, Resulting Numbers: [63, 42, 7]
Generated Node #0,1: 28:[63, 42, 7] Operation: 40-33=7
Exploring Operation: 63-40=23, Resulting Numbers: [33, 42, 23]
Generated Node #0,2: 28:[33, 42, 23] Operation: 63-40=23
Exploring Operation: 42-40=2, Resulting Numbers: [63, 33, 2]
Generated Node #0,3: 28:[63, 33, 2] Operation: 42-40=2
Exploring Operation: 63-33=30, Resulting Numbers: [40, 42, 30]
Generated Node #0,4: 28:[40, 42, 30] Operation: 63-33=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[40, 33, 21], Operations: ['63-42=21']
Exploring Operation: 33+21=54, Resulting Numbers: [40, 54]
Generated Node #0,0,0: 28:[40, 54] Operation: 33+21=54
Exploring Operation: 40-33=7, Resulting Numbers: [21, 7]
Generated Node #0,0,1: 28:[21, 7] Operation: 40-33=7
Exploring Operation: 40-21=19, Resulting Numbers: [33, 19]
Generated Node #0,0,2: 28:[33, 19] Operation: 40-21=19
Exploring Operation: 33-21=12, Resulting Numbers: [40, 12]
Generated Node #0,0,3: 28:[40, 12] Operation: 33-21=12
Exploring Operation: 40+21=61, Resulting Numbers: [33, 61]
Generated Node #0,0,4: 28:[33, 61] Operation: 40+21=61
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[21, 7], Operations: ['63-42=21', '40-33=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,28 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[40, 63, 33, 42], Operations: []
Exploring Operation: 63-42=21, Resulting Numbers: [40, 33, 21]
Generated Node #0,0: 28:[40, 33, 21] Operation: 63-42=21
Moving to Node #0,0
Current State: 28:[40, 33, 21], Operations: ['63-42=21']
Exploring Operation: 40-33=7, Resulting Numbers: [21, 7]
Generated Node #0,0,1: 28:[21, 7] Operation: 40-33=7
Moving to Node #0,0,1
Current State: 28:[21, 7], Operations: ['63-42=21', '40-33=7']
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
64,
52,
53,
61
] | 60 | [
"61-53=8",
"64/8=8",
"52+8=60"
] | Current State: 60:[64, 52, 53, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [64, 52, 8]
Generated Node #2: [64, 52, 8] from Operation: 61-53=8
Current State: 60:[64, 52, 8], Operations: ['61-53=8']
Exploring Operation: 64/8=8, Resulting Numbers: [52, 8]
Generated Node #3: [52, 8] from Operation: 64/8=8
Current State: 60:[52, 8], Operations: ['61-53=8', '64/8=8']
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[64, 52, 53, 61], Operations: []
Exploring Operation: 53-52=1, Resulting Numbers: [64, 61, 1]
Generated Node #0,0: 60:[64, 61, 1] Operation: 53-52=1
Moving to Node #0,0
Current State: 60:[64, 61, 1], Operations: ['53-52=1']
Exploring Operation: 64-61=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 60:[1, 3] Operation: 64-61=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[1, 3], Operations: ['53-52=1', '64-61=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
72,
99,
3
] | 51 | [
"72-22=50",
"3*50=150",
"150-99=51"
] | Current State: 51:[22, 72, 99, 3], Operations: []
Exploring Operation: 72-22=50, Resulting Numbers: [99, 3, 50]
Generated Node #2: [99, 3, 50] from Operation: 72-22=50
Current State: 51:[99, 3, 50], Operations: ['72-22=50']
Exploring Operation: 3*50=150, Resulting Numbers: [99, 150]
Generated Node #3: [99, 150] from Operation: 3*50=150
Current State: 51:[99, 150], Operations: ['72-22=50', '3*50=150']
Exploring Operation: 150-99=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[22, 72, 99, 3], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [22, 3, 27]
Generated Node #0,0: 51:[22, 3, 27] Operation: 99-72=27
Exploring Operation: 99/3=33, Resulting Numbers: [22, 72, 33]
Generated Node #0,1: 51:[22, 72, 33] Operation: 99/3=33
Moving to Node #0,0
Current State: 51:[22, 3, 27], Operations: ['99-72=27']
Exploring Operation: 27-22=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 51:[3, 5] Operation: 27-22=5
Exploring Operation: 22+27=49, Resulting Numbers: [3, 49]
Generated Node #0,0,1: 51:[3, 49] Operation: 22+27=49
Moving to Node #0,1
Current State: 51:[22, 72, 33], Operations: ['99/3=33']
Exploring Operation: 72-22=50, Resulting Numbers: [33, 50]
Generated Node #0,1,0: 51:[33, 50] Operation: 72-22=50
Exploring Operation: 72-33=39, Resulting Numbers: [22, 39]
Generated Node #0,1,1: 51:[22, 39] Operation: 72-33=39
Moving to Node #0,0,0
Current State: 51:[3, 5], Operations: ['99-72=27', '27-22=5']
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[3, 49], Operations: ['99-72=27', '22+27=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[22, 39], Operations: ['99/3=33', '72-33=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[33, 50], Operations: ['99/3=33', '72-22=50']
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,51 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
78,
4,
17
] | 39 | [
"78-26=52",
"17-4=13",
"52-13=39"
] | Current State: 39:[26, 78, 4, 17], Operations: []
Exploring Operation: 78-26=52, Resulting Numbers: [4, 17, 52]
Generated Node #2: [4, 17, 52] from Operation: 78-26=52
Current State: 39:[4, 17, 52], Operations: ['78-26=52']
Exploring Operation: 17-4=13, Resulting Numbers: [52, 13]
Generated Node #3: [52, 13] from Operation: 17-4=13
Current State: 39:[52, 13], Operations: ['78-26=52', '17-4=13']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 78, 4, 17], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [4, 17, 3]
Generated Node #0,0: 39:[4, 17, 3] Operation: 78/26=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[4, 17, 3], Operations: ['78/26=3']
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 39:[3, 13] Operation: 17-4=13
Moving to Node #0,0,0
Current State: 39:[3, 13], Operations: ['78/26=3', '17-4=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[26, 78, 4, 17], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [4, 17, 3]
Generated Node #0,0: 39:[4, 17, 3] Operation: 78/26=3
Moving to Node #0,0
Current State: 39:[4, 17, 3], Operations: ['78/26=3']
Exploring Operation: 17-4=13, Resulting Numbers: [3, 13]
Generated Node #0,0,0: 39:[3, 13] Operation: 17-4=13
Moving to Node #0,0,0
Current State: 39:[3, 13], Operations: ['78/26=3', '17-4=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
92,
34,
82,
73
] | 14 | [
"92+34=126",
"82-73=9",
"126/9=14"
] | Current State: 14:[92, 34, 82, 73], Operations: []
Exploring Operation: 92+34=126, Resulting Numbers: [82, 73, 126]
Generated Node #2: [82, 73, 126] from Operation: 92+34=126
Current State: 14:[82, 73, 126], Operations: ['92+34=126']
Exploring Operation: 82-73=9, Resulting Numbers: [126, 9]
Generated Node #3: [126, 9] from Operation: 82-73=9
Current State: 14:[126, 9], Operations: ['92+34=126', '82-73=9']
Exploring Operation: 126/9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[92, 34, 82, 73], Operations: []
Exploring Operation: 92-73=19, Resulting Numbers: [34, 82, 19]
Generated Node #0,0: 14:[34, 82, 19] Operation: 92-73=19
Exploring Operation: 92-82=10, Resulting Numbers: [34, 73, 10]
Generated Node #0,1: 14:[34, 73, 10] Operation: 92-82=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[34, 73, 10], Operations: ['92-82=10']
Exploring Operation: 34-10=24, Resulting Numbers: [73, 24]
Generated Node #0,1,0: 14:[73, 24] Operation: 34-10=24
Exploring Operation: 73-34=39, Resulting Numbers: [10, 39]
Generated Node #0,1,1: 14:[10, 39] Operation: 73-34=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[10, 39], Operations: ['92-82=10', '73-34=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,14 unequal: No Solution
No 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: 14:[73, 24], Operations: ['92-82=10', '34-10=24']
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,14 unequal: No Solution
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,14 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: 14:[34, 82, 19], Operations: ['92-73=19']
Exploring Operation: 34-19=15, Resulting Numbers: [82, 15]
Generated Node #0,0,0: 14:[82, 15] Operation: 34-19=15
Exploring Operation: 82-34=48, Resulting Numbers: [19, 48]
Generated Node #0,0,1: 14:[19, 48] Operation: 82-34=48
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[19, 48], Operations: ['92-73=19', '82-34=48']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,14 unequal: No Solution
Exploring Operation: 19+48=67, Resulting Numbers: [67]
67,14 unequal: No Solution
No 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: 14:[82, 15], Operations: ['92-73=19', '34-19=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,14 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,14 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 |
[
68,
80,
2,
21
] | 98 | [
"68+21=89",
"2*89=178",
"178-80=98"
] | Current State: 98:[68, 80, 2, 21], Operations: []
Exploring Operation: 68+21=89, Resulting Numbers: [80, 2, 89]
Generated Node #2: [80, 2, 89] from Operation: 68+21=89
Current State: 98:[80, 2, 89], Operations: ['68+21=89']
Exploring Operation: 2*89=178, Resulting Numbers: [80, 178]
Generated Node #3: [80, 178] from Operation: 2*89=178
Current State: 98:[80, 178], Operations: ['68+21=89', '2*89=178']
Exploring Operation: 178-80=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[68, 80, 2, 21], Operations: []
Exploring Operation: 68-21=47, Resulting Numbers: [80, 2, 47]
Generated Node #0,0: 98:[80, 2, 47] Operation: 68-21=47
Exploring Operation: 80+21=101, Resulting Numbers: [68, 2, 101]
Generated Node #0,1: 98:[68, 2, 101] Operation: 80+21=101
Exploring Operation: 68+21=89, Resulting Numbers: [80, 2, 89]
Generated Node #0,2: 98:[80, 2, 89] Operation: 68+21=89
Exploring Operation: 80-68=12, Resulting Numbers: [2, 21, 12]
Generated Node #0,3: 98:[2, 21, 12] Operation: 80-68=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[2, 21, 12], Operations: ['80-68=12']
Exploring Operation: 21-12=9, Resulting Numbers: [2, 9]
Generated Node #0,3,0: 98:[2, 9] Operation: 21-12=9
Exploring Operation: 2+12=14, Resulting Numbers: [21, 14]
Generated Node #0,3,1: 98:[21, 14] Operation: 2+12=14
Exploring Operation: 12/2=6, Resulting Numbers: [21, 6]
Generated Node #0,3,2: 98:[21, 6] Operation: 12/2=6
Exploring Operation: 21-2=19, Resulting Numbers: [12, 19]
Generated Node #0,3,3: 98:[12, 19] Operation: 21-2=19
Moving to Node #0,3,0
Current State: 98:[2, 9], Operations: ['80-68=12', '21-12=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[12, 19], Operations: ['80-68=12', '21-2=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[21, 14], Operations: ['80-68=12', '2+12=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,98 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,3,2
Current State: 98:[21, 6], Operations: ['80-68=12', '12/2=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,98 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,98 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[80, 2, 47], Operations: ['68-21=47']
Exploring Operation: 2+47=49, Resulting Numbers: [80, 49]
Generated Node #0,0,0: 98:[80, 49] Operation: 2+47=49
Exploring Operation: 80+2=82, Resulting Numbers: [47, 82]
Generated Node #0,0,1: 98:[47, 82] Operation: 80+2=82
Exploring Operation: 80-47=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 98:[2, 33] Operation: 80-47=33
Exploring Operation: 80/2=40, Resulting Numbers: [47, 40]
Generated Node #0,0,3: 98:[47, 40] Operation: 80/2=40
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 98:[47, 40], Operations: ['68-21=47', '80/2=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,98 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,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:[2, 33], Operations: ['68-21=47', '80-47=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,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:[80, 49], Operations: ['68-21=47', '2+47=49']
Exploring Operation: 80+49=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 80*49=3920, Resulting Numbers: [3920]
3920,98 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,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,1
Current State: 98:[47, 82], Operations: ['68-21=47', '80+2=82']
Exploring Operation: 47*82=3854, Resulting Numbers: [3854]
3854,98 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 47+82=129, Resulting Numbers: [129]
129,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:[68, 2, 101], Operations: ['80+21=101']
Exploring Operation: 101-2=99, Resulting Numbers: [68, 99]
Generated Node #0,1,0: 98:[68, 99] Operation: 101-2=99
Exploring Operation: 101-68=33, Resulting Numbers: [2, 33]
Generated Node #0,1,1: 98:[2, 33] Operation: 101-68=33
Exploring Operation: 68-2=66, Resulting Numbers: [101, 66]
Generated Node #0,1,2: 98:[101, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [101, 34]
Generated Node #0,1,3: 98:[101, 34] Operation: 68/2=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[2, 33], Operations: ['80+21=101', '101-68=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,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,1,3
Current State: 98:[101, 34], Operations: ['80+21=101', '68/2=34']
Exploring Operation: 101*34=3434, Resulting Numbers: [3434]
3434,98 unequal: No Solution
Exploring Operation: 101-34=67, Resulting Numbers: [67]
67,98 unequal: No Solution
Exploring Operation: 101+34=135, Resulting Numbers: [135]
135,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,1,0
Current State: 98:[68, 99], Operations: ['80+21=101', '101-2=99']
Exploring Operation: 99-68=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 68*99=6732, Resulting Numbers: [6732]
6732,98 unequal: No Solution
Exploring Operation: 68+99=167, Resulting Numbers: [167]
167,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,1,2
Current State: 98:[101, 66], Operations: ['80+21=101', '68-2=66']
Exploring Operation: 101-66=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 101+66=167, Resulting Numbers: [167]
167,98 unequal: No Solution
Exploring Operation: 101*66=6666, Resulting Numbers: [6666]
6666,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,2
Current State: 98:[80, 2, 89], Operations: ['68+21=89']
Exploring Operation: 89-80=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 98:[2, 9] Operation: 89-80=9
Exploring Operation: 80+2=82, Resulting Numbers: [89, 82]
Generated Node #0,2,1: 98:[89, 82] Operation: 80+2=82
Exploring Operation: 80/2=40, Resulting Numbers: [89, 40]
Generated Node #0,2,2: 98:[89, 40] Operation: 80/2=40
Exploring Operation: 2+89=91, Resulting Numbers: [80, 91]
Generated Node #0,2,3: 98:[80, 91] Operation: 2+89=91
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 98:[2, 9], Operations: ['68+21=89', '89-80=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,98 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,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,2,2
Current State: 98:[89, 40], Operations: ['68+21=89', '80/2=40']
Exploring Operation: 89-40=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 89*40=3560, Resulting Numbers: [3560]
3560,98 unequal: No Solution
Exploring Operation: 89+40=129, Resulting Numbers: [129]
129,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,2,1
Current State: 98:[89, 82], Operations: ['68+21=89', '80+2=82']
Exploring Operation: 89-82=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 89+82=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 89*82=7298, Resulting Numbers: [7298]
7298,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,2,3
Current State: 98:[80, 91], Operations: ['68+21=89', '2+89=91']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 80+91=171, Resulting Numbers: [171]
171,98 unequal: No Solution
Exploring Operation: 80*91=7280, Resulting Numbers: [7280]
7280,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
26,
52,
44
] | 29 | [
"30*26=780",
"780/52=15",
"44-15=29"
] | Current State: 29:[30, 26, 52, 44], Operations: []
Exploring Operation: 30*26=780, Resulting Numbers: [52, 44, 780]
Generated Node #2: [52, 44, 780] from Operation: 30*26=780
Current State: 29:[52, 44, 780], Operations: ['30*26=780']
Exploring Operation: 780/52=15, Resulting Numbers: [44, 15]
Generated Node #3: [44, 15] from Operation: 780/52=15
Current State: 29:[44, 15], Operations: ['30*26=780', '780/52=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[30, 26, 52, 44], Operations: []
Exploring Operation: 52-26=26, Resulting Numbers: [30, 44, 26]
Generated Node #0,0: 29:[30, 44, 26] Operation: 52-26=26
Moving to Node #0,0
Current State: 29:[30, 44, 26], Operations: ['52-26=26']
Exploring Operation: 44-26=18, Resulting Numbers: [30, 18]
Generated Node #0,0,0: 29:[30, 18] Operation: 44-26=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[30, 18], Operations: ['52-26=26', '44-26=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,29 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 |
[
94,
41,
59,
16
] | 60 | [
"94+41=135",
"59+16=75",
"135-75=60"
] | Current State: 60:[94, 41, 59, 16], Operations: []
Exploring Operation: 94+41=135, Resulting Numbers: [59, 16, 135]
Generated Node #2: [59, 16, 135] from Operation: 94+41=135
Current State: 60:[59, 16, 135], Operations: ['94+41=135']
Exploring Operation: 59+16=75, Resulting Numbers: [135, 75]
Generated Node #3: [135, 75] from Operation: 59+16=75
Current State: 60:[135, 75], Operations: ['94+41=135', '59+16=75']
Exploring Operation: 135-75=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[94, 41, 59, 16], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [41, 16, 35]
Generated Node #0,0: 60:[41, 16, 35] Operation: 94-59=35
Exploring Operation: 94-41=53, Resulting Numbers: [59, 16, 53]
Generated Node #0,1: 60:[59, 16, 53] Operation: 94-41=53
Exploring Operation: 94-16=78, Resulting Numbers: [41, 59, 78]
Generated Node #0,2: 60:[41, 59, 78] Operation: 94-16=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[59, 16, 53], Operations: ['94-41=53']
Exploring Operation: 16+53=69, Resulting Numbers: [59, 69]
Generated Node #0,1,0: 60:[59, 69] Operation: 16+53=69
Exploring Operation: 53-16=37, Resulting Numbers: [59, 37]
Generated Node #0,1,1: 60:[59, 37] Operation: 53-16=37
Exploring Operation: 59-53=6, Resulting Numbers: [16, 6]
Generated Node #0,1,2: 60:[16, 6] Operation: 59-53=6
Moving to Node #0,1,2
Current State: 60:[16, 6], Operations: ['94-41=53', '59-53=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[59, 37], Operations: ['94-41=53', '53-16=37']
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,60 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[59, 69], Operations: ['94-41=53', '16+53=69']
Exploring Operation: 59*69=4071, Resulting Numbers: [4071]
4071,60 unequal: No Solution
Exploring Operation: 59+69=128, Resulting Numbers: [128]
128,60 unequal: No Solution
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,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:[41, 16, 35], Operations: ['94-59=35']
Exploring Operation: 41-35=6, Resulting Numbers: [16, 6]
Generated Node #0,0,0: 60:[16, 6] Operation: 41-35=6
Exploring Operation: 41-16=25, Resulting Numbers: [35, 25]
Generated Node #0,0,1: 60:[35, 25] Operation: 41-16=25
Exploring Operation: 41+16=57, Resulting Numbers: [35, 57]
Generated Node #0,0,2: 60:[35, 57] Operation: 41+16=57
Moving to Node #0,0,0
Current State: 60:[16, 6], Operations: ['94-59=35', '41-35=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,60 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[35, 57], Operations: ['94-59=35', '41+16=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,60 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,60 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[35, 25], Operations: ['94-59=35', '41-16=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[94, 41, 59, 16], Operations: []
Exploring Operation: 94-59=35, Resulting Numbers: [41, 16, 35]
Generated Node #0,0: 60:[41, 16, 35] Operation: 94-59=35
Moving to Node #0,0
Current State: 60:[41, 16, 35], Operations: ['94-59=35']
Exploring Operation: 41-16=25, Resulting Numbers: [35, 25]
Generated Node #0,0,1: 60:[35, 25] Operation: 41-16=25
Moving to Node #0,0,1
Current State: 60:[35, 25], Operations: ['94-59=35', '41-16=25']
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
37,
14,
26,
13
] | 10 | [
"37-14=23",
"26-13=13",
"23-13=10"
] | Current State: 10:[37, 14, 26, 13], Operations: []
Exploring Operation: 37-14=23, Resulting Numbers: [26, 13, 23]
Generated Node #2: [26, 13, 23] from Operation: 37-14=23
Current State: 10:[26, 13, 23], Operations: ['37-14=23']
Exploring Operation: 26-13=13, Resulting Numbers: [23, 13]
Generated Node #3: [23, 13] from Operation: 26-13=13
Current State: 10:[23, 13], Operations: ['37-14=23', '26-13=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[37, 14, 26, 13], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [14, 13, 11]
Generated Node #0,0: 10:[14, 13, 11] Operation: 37-26=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[14, 13, 11], Operations: ['37-26=11']
Exploring Operation: 14-13=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 10:[11, 1] Operation: 14-13=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[11, 1], Operations: ['37-26=11', '14-13=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[37, 14, 26, 13], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [14, 13, 11]
Generated Node #0,0: 10:[14, 13, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 10:[14, 13, 11], Operations: ['37-26=11']
Exploring Operation: 14-13=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 10:[11, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 10:[11, 1], Operations: ['37-26=11', '14-13=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
26,
50,
52
] | 70 | [
"52-50=2",
"88/2=44",
"26+44=70"
] | Current State: 70:[88, 26, 50, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [88, 26, 2]
Generated Node #2: [88, 26, 2] from Operation: 52-50=2
Current State: 70:[88, 26, 2], Operations: ['52-50=2']
Exploring Operation: 88/2=44, Resulting Numbers: [26, 44]
Generated Node #3: [26, 44] from Operation: 88/2=44
Current State: 70:[26, 44], Operations: ['52-50=2', '88/2=44']
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[88, 26, 50, 52], Operations: []
Exploring Operation: 88-26=62, Resulting Numbers: [50, 52, 62]
Generated Node #0,0: 70:[50, 52, 62] Operation: 88-26=62
Exploring Operation: 52-50=2, Resulting Numbers: [88, 26, 2]
Generated Node #0,1: 70:[88, 26, 2] Operation: 52-50=2
Exploring Operation: 88-52=36, Resulting Numbers: [26, 50, 36]
Generated Node #0,2: 70:[26, 50, 36] Operation: 88-52=36
Exploring Operation: 52/26=2, Resulting Numbers: [88, 50, 2]
Generated Node #0,3: 70:[88, 50, 2] Operation: 52/26=2
Exploring Operation: 88-50=38, Resulting Numbers: [26, 52, 38]
Generated Node #0,4: 70:[26, 52, 38] Operation: 88-50=38
Moving to Node #0,2
Current State: 70:[26, 50, 36], Operations: ['88-52=36']
Exploring Operation: 36-26=10, Resulting Numbers: [50, 10]
Generated Node #0,2,0: 70:[50, 10] Operation: 36-26=10
Exploring Operation: 50-26=24, Resulting Numbers: [36, 24]
Generated Node #0,2,1: 70:[36, 24] Operation: 50-26=24
Exploring Operation: 50-36=14, Resulting Numbers: [26, 14]
Generated Node #0,2,2: 70:[26, 14] Operation: 50-36=14
Exploring Operation: 26+50=76, Resulting Numbers: [36, 76]
Generated Node #0,2,3: 70:[36, 76] Operation: 26+50=76
Exploring Operation: 26+36=62, Resulting Numbers: [50, 62]
Generated Node #0,2,4: 70:[50, 62] Operation: 26+36=62
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[36, 76], Operations: ['88-52=36', '26+50=76']
Exploring Operation: 36*76=2736, Resulting Numbers: [2736]
2736,70 unequal: No Solution
Exploring Operation: 36+76=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[26, 14], Operations: ['88-52=36', '50-36=14']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[36, 24], Operations: ['88-52=36', '50-26=24']
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 36*24=864, Resulting Numbers: [864]
864,70 unequal: No Solution
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[50, 10], Operations: ['88-52=36', '36-26=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,70 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,70 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[50, 62], Operations: ['88-52=36', '26+36=62']
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,70 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,70 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: 70:[88, 26, 2], Operations: ['52-50=2']
Exploring Operation: 88/2=44, Resulting Numbers: [26, 44]
Generated Node #0,1,0: 70:[26, 44] Operation: 88/2=44
Exploring Operation: 26+2=28, Resulting Numbers: [88, 28]
Generated Node #0,1,1: 70:[88, 28] Operation: 26+2=28
Exploring Operation: 88-2=86, Resulting Numbers: [26, 86]
Generated Node #0,1,2: 70:[26, 86] Operation: 88-2=86
Exploring Operation: 88-26=62, Resulting Numbers: [2, 62]
Generated Node #0,1,3: 70:[2, 62] Operation: 88-26=62
Exploring Operation: 26/2=13, Resulting Numbers: [88, 13]
Generated Node #0,1,4: 70:[88, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[2, 62], Operations: ['52-50=2', '88-26=62']
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,70 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,70 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,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,0
Current State: 70:[26, 44], Operations: ['52-50=2', '88/2=44']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 26*44=1144, Resulting Numbers: [1144]
1144,70 unequal: No Solution
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[88, 26, 50, 52], Operations: []
Exploring Operation: 52-50=2, Resulting Numbers: [88, 26, 2]
Generated Node #0,1: 70:[88, 26, 2] Operation: 52-50=2
Moving to Node #0,1
Current State: 70:[88, 26, 2], Operations: ['52-50=2']
Exploring Operation: 88/2=44, Resulting Numbers: [26, 44]
Generated Node #0,1,0: 70:[26, 44] Operation: 88/2=44
Moving to Node #0,1,0
Current State: 70:[26, 44], Operations: ['52-50=2', '88/2=44']
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
18,
66,
70,
36
] | 82 | [
"66-18=48",
"70-36=34",
"48+34=82"
] | Current State: 82:[18, 66, 70, 36], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [70, 36, 48]
Generated Node #2: [70, 36, 48] from Operation: 66-18=48
Current State: 82:[70, 36, 48], Operations: ['66-18=48']
Exploring Operation: 70-36=34, Resulting Numbers: [48, 34]
Generated Node #3: [48, 34] from Operation: 70-36=34
Current State: 82:[48, 34], Operations: ['66-18=48', '70-36=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[18, 66, 70, 36], Operations: []
Exploring Operation: 18+66=84, Resulting Numbers: [70, 36, 84]
Generated Node #0,0: 82:[70, 36, 84] Operation: 18+66=84
Exploring Operation: 70-66=4, Resulting Numbers: [18, 36, 4]
Generated Node #0,1: 82:[18, 36, 4] Operation: 70-66=4
Exploring Operation: 66-18=48, Resulting Numbers: [70, 36, 48]
Generated Node #0,2: 82:[70, 36, 48] Operation: 66-18=48
Moving to Node #0,0
Current State: 82:[70, 36, 84], Operations: ['18+66=84']
Exploring Operation: 70-36=34, Resulting Numbers: [84, 34]
Generated Node #0,0,0: 82:[84, 34] Operation: 70-36=34
Exploring Operation: 84-70=14, Resulting Numbers: [36, 14]
Generated Node #0,0,1: 82:[36, 14] Operation: 84-70=14
Exploring Operation: 84-36=48, Resulting Numbers: [70, 48]
Generated Node #0,0,2: 82:[70, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 82:[84, 34], Operations: ['18+66=84', '70-36=34']
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,82 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 82:[36, 14], Operations: ['18+66=84', '84-70=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,82 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 82:[70, 48], Operations: ['18+66=84', '84-36=48']
Exploring Operation: 70+48=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 70-48=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 70*48=3360, Resulting Numbers: [3360]
3360,82 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: 82:[18, 36, 4], Operations: ['70-66=4']
Exploring Operation: 18+36=54, Resulting Numbers: [4, 54]
Generated Node #0,1,0: 82:[4, 54] Operation: 18+36=54
Exploring Operation: 18*4=72, Resulting Numbers: [36, 72]
Generated Node #0,1,1: 82:[36, 72] Operation: 18*4=72
Exploring Operation: 36/18=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 82:[4, 2] Operation: 36/18=2
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[4, 2], Operations: ['70-66=4', '36/18=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[4, 54], Operations: ['70-66=4', '18+36=54']
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,82 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[36, 72], Operations: ['70-66=4', '18*4=72']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,82 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,82 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: 82:[70, 36, 48], Operations: ['66-18=48']
Exploring Operation: 70-36=34, Resulting Numbers: [48, 34]
Generated Node #0,2,0: 82:[48, 34] Operation: 70-36=34
Exploring Operation: 48-36=12, Resulting Numbers: [70, 12]
Generated Node #0,2,1: 82:[70, 12] Operation: 48-36=12
Exploring Operation: 36+48=84, Resulting Numbers: [70, 84]
Generated Node #0,2,2: 82:[70, 84] Operation: 36+48=84
Moving to Node #0,2,0
Current State: 82:[48, 34], Operations: ['66-18=48', '70-36=34']
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,82 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[18, 66, 70, 36], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [70, 36, 48]
Generated Node #0,2: 82:[70, 36, 48] Operation: 66-18=48
Moving to Node #0,2
Current State: 82:[70, 36, 48], Operations: ['66-18=48']
Exploring Operation: 70-36=34, Resulting Numbers: [48, 34]
Generated Node #0,2,0: 82:[48, 34] Operation: 70-36=34
Moving to Node #0,2,0
Current State: 82:[48, 34], Operations: ['66-18=48', '70-36=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
85,
56,
14,
3
] | 73 | [
"85-56=29",
"3*29=87",
"87-14=73"
] | Current State: 73:[85, 56, 14, 3], Operations: []
Exploring Operation: 85-56=29, Resulting Numbers: [14, 3, 29]
Generated Node #2: [14, 3, 29] from Operation: 85-56=29
Current State: 73:[14, 3, 29], Operations: ['85-56=29']
Exploring Operation: 3*29=87, Resulting Numbers: [14, 87]
Generated Node #3: [14, 87] from Operation: 3*29=87
Current State: 73:[14, 87], Operations: ['85-56=29', '3*29=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[85, 56, 14, 3], Operations: []
Exploring Operation: 14*3=42, Resulting Numbers: [85, 56, 42]
Generated Node #0,0: 73:[85, 56, 42] Operation: 14*3=42
Exploring Operation: 14+3=17, Resulting Numbers: [85, 56, 17]
Generated Node #0,1: 73:[85, 56, 17] Operation: 14+3=17
Exploring Operation: 56+14=70, Resulting Numbers: [85, 3, 70]
Generated Node #0,2: 73:[85, 3, 70] Operation: 56+14=70
Exploring Operation: 56+3=59, Resulting Numbers: [85, 14, 59]
Generated Node #0,3: 73:[85, 14, 59] Operation: 56+3=59
Exploring Operation: 85-3=82, Resulting Numbers: [56, 14, 82]
Generated Node #0,4: 73:[56, 14, 82] Operation: 85-3=82
Moving to Node #0,0
Current State: 73:[85, 56, 42], Operations: ['14*3=42']
Exploring Operation: 85-56=29, Resulting Numbers: [42, 29]
Generated Node #0,0,0: 73:[42, 29] Operation: 85-56=29
Exploring Operation: 56+42=98, Resulting Numbers: [85, 98]
Generated Node #0,0,1: 73:[85, 98] Operation: 56+42=98
Exploring Operation: 85+42=127, Resulting Numbers: [56, 127]
Generated Node #0,0,2: 73:[56, 127] Operation: 85+42=127
Exploring Operation: 85-42=43, Resulting Numbers: [56, 43]
Generated Node #0,0,3: 73:[56, 43] Operation: 85-42=43
Exploring Operation: 56-42=14, Resulting Numbers: [85, 14]
Generated Node #0,0,4: 73:[85, 14] Operation: 56-42=14
Moving to Node #0,2
Current State: 73:[85, 3, 70], Operations: ['56+14=70']
Exploring Operation: 70-3=67, Resulting Numbers: [85, 67]
Generated Node #0,2,0: 73:[85, 67] Operation: 70-3=67
Exploring Operation: 3+70=73, Resulting Numbers: [85, 73]
Generated Node #0,2,1: 73:[85, 73] Operation: 3+70=73
Exploring Operation: 85+3=88, Resulting Numbers: [70, 88]
Generated Node #0,2,2: 73:[70, 88] Operation: 85+3=88
Exploring Operation: 85-70=15, Resulting Numbers: [3, 15]
Generated Node #0,2,3: 73:[3, 15] Operation: 85-70=15
Exploring Operation: 85-3=82, Resulting Numbers: [70, 82]
Generated Node #0,2,4: 73:[70, 82] Operation: 85-3=82
Moving to Node #0,4
Current State: 73:[56, 14, 82], Operations: ['85-3=82']
Exploring Operation: 14+82=96, Resulting Numbers: [56, 96]
Generated Node #0,4,0: 73:[56, 96] Operation: 14+82=96
Exploring Operation: 82-14=68, Resulting Numbers: [56, 68]
Generated Node #0,4,1: 73:[56, 68] Operation: 82-14=68
Exploring Operation: 56/14=4, Resulting Numbers: [82, 4]
Generated Node #0,4,2: 73:[82, 4] Operation: 56/14=4
Exploring Operation: 56-14=42, Resulting Numbers: [82, 42]
Generated Node #0,4,3: 73:[82, 42] Operation: 56-14=42
Exploring Operation: 56+14=70, Resulting Numbers: [82, 70]
Generated Node #0,4,4: 73:[82, 70] Operation: 56+14=70
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 73:[82, 70], Operations: ['85-3=82', '56+14=70']
Exploring Operation: 82+70=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 82*70=5740, Resulting Numbers: [5740]
5740,73 unequal: No Solution
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 73:[56, 68], Operations: ['85-3=82', '82-14=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 73:[56, 96], Operations: ['85-3=82', '14+82=96']
Exploring Operation: 56*96=5376, Resulting Numbers: [5376]
5376,73 unequal: No Solution
Exploring Operation: 56+96=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[82, 42], Operations: ['85-3=82', '56-14=42']
Exploring Operation: 82+42=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 82*42=3444, Resulting Numbers: [3444]
3444,73 unequal: No Solution
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 73:[82, 4], Operations: ['85-3=82', '56/14=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,73 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,73 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,73 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: 73:[85, 56, 17], Operations: ['14+3=17']
Exploring Operation: 85+17=102, Resulting Numbers: [56, 102]
Generated Node #0,1,0: 73:[56, 102] Operation: 85+17=102
Exploring Operation: 85-17=68, Resulting Numbers: [56, 68]
Generated Node #0,1,1: 73:[56, 68] Operation: 85-17=68
Exploring Operation: 85/17=5, Resulting Numbers: [56, 5]
Generated Node #0,1,2: 73:[56, 5] Operation: 85/17=5
Exploring Operation: 56+17=73, Resulting Numbers: [85, 73]
Generated Node #0,1,3: 73:[85, 73] Operation: 56+17=73
Exploring Operation: 56-17=39, Resulting Numbers: [85, 39]
Generated Node #0,1,4: 73:[85, 39] Operation: 56-17=39
Moving to Node #0,3
Current State: 73:[85, 14, 59], Operations: ['56+3=59']
Exploring Operation: 14+59=73, Resulting Numbers: [85, 73]
Generated Node #0,3,0: 73:[85, 73] Operation: 14+59=73
Exploring Operation: 59-14=45, Resulting Numbers: [85, 45]
Generated Node #0,3,1: 73:[85, 45] Operation: 59-14=45
Exploring Operation: 85+14=99, Resulting Numbers: [59, 99]
Generated Node #0,3,2: 73:[59, 99] Operation: 85+14=99
Exploring Operation: 85-59=26, Resulting Numbers: [14, 26]
Generated Node #0,3,3: 73:[14, 26] Operation: 85-59=26
Exploring Operation: 85-14=71, Resulting Numbers: [59, 71]
Generated Node #0,3,4: 73:[59, 71] Operation: 85-14=71
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[85, 73], Operations: ['56+3=59', '14+59=73']
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,73 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 73:[59, 71], Operations: ['56+3=59', '85-14=71']
Exploring Operation: 59*71=4189, Resulting Numbers: [4189]
4189,73 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 59+71=130, Resulting Numbers: [130]
130,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[85, 45], Operations: ['56+3=59', '59-14=45']
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,73 unequal: No Solution
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,73 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[59, 99], Operations: ['56+3=59', '85+14=99']
Exploring Operation: 59+99=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 59*99=5841, Resulting Numbers: [5841]
5841,73 unequal: No Solution
Exploring Operation: 99-59=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[14, 26], Operations: ['56+3=59', '85-59=26']
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,73 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 73:[85, 73], Operations: ['56+14=70', '3+70=73']
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[70, 82], Operations: ['56+14=70', '85-3=82']
Exploring Operation: 70+82=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 82-70=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 70*82=5740, Resulting Numbers: [5740]
5740,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[85, 73], Operations: ['14+3=17', '56+17=73']
Exploring Operation: 85+73=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 85*73=6205, Resulting Numbers: [6205]
6205,73 unequal: No Solution
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[85, 67], Operations: ['56+14=70', '70-3=67']
Exploring Operation: 85+67=152, Resulting Numbers: [152]
152,73 unequal: No Solution
Exploring Operation: 85-67=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 85*67=5695, Resulting Numbers: [5695]
5695,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[70, 88], Operations: ['56+14=70', '85+3=88']
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 70+88=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 70*88=6160, Resulting Numbers: [6160]
6160,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[56, 68], Operations: ['14+3=17', '85-17=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 56+68=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 56*68=3808, Resulting Numbers: [3808]
3808,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[85, 98], Operations: ['14*3=42', '56+42=98']
Exploring Operation: 85*98=8330, Resulting Numbers: [8330]
8330,73 unequal: No Solution
Exploring Operation: 98-85=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 85+98=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[56, 102], Operations: ['14+3=17', '85+17=102']
Exploring Operation: 102-56=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 56+102=158, Resulting Numbers: [158]
158,73 unequal: No Solution
Exploring Operation: 56*102=5712, Resulting Numbers: [5712]
5712,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[85, 39], Operations: ['14+3=17', '56-17=39']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,73 unequal: No Solution
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[56, 43], Operations: ['14*3=42', '85-42=43']
Exploring Operation: 56+43=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 56*43=2408, Resulting Numbers: [2408]
2408,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[56, 127], Operations: ['14*3=42', '85+42=127']
Exploring Operation: 56+127=183, Resulting Numbers: [183]
183,73 unequal: No Solution
Exploring Operation: 56*127=7112, Resulting Numbers: [7112]
7112,73 unequal: No Solution
Exploring Operation: 127-56=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[85, 14], Operations: ['14*3=42', '56-42=14']
Exploring Operation: 85+14=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[42, 29], Operations: ['14*3=42', '85-56=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,73 unequal: No Solution
Exploring Operation: 42*29=1218, Resulting Numbers: [1218]
1218,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[56, 5], Operations: ['14+3=17', '85/17=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,73 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,73 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[3, 15], Operations: ['56+14=70', '85-70=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,73 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
87,
12,
67,
81
] | 11 | [
"12*67=804",
"87+804=891",
"891/81=11"
] | Current State: 11:[87, 12, 67, 81], Operations: []
Exploring Operation: 12*67=804, Resulting Numbers: [87, 81, 804]
Generated Node #2: [87, 81, 804] from Operation: 12*67=804
Current State: 11:[87, 81, 804], Operations: ['12*67=804']
Exploring Operation: 87+804=891, Resulting Numbers: [81, 891]
Generated Node #3: [81, 891] from Operation: 87+804=891
Current State: 11:[81, 891], Operations: ['12*67=804', '87+804=891']
Exploring Operation: 891/81=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[87, 12, 67, 81], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [12, 67, 6]
Generated Node #0,0: 11:[12, 67, 6] Operation: 87-81=6
Exploring Operation: 87-67=20, Resulting Numbers: [12, 81, 20]
Generated Node #0,1: 11:[12, 81, 20] Operation: 87-67=20
Moving to Node #0,0
Current State: 11:[12, 67, 6], Operations: ['87-81=6']
Exploring Operation: 67-6=61, Resulting Numbers: [12, 61]
Generated Node #0,0,0: 11:[12, 61] Operation: 67-6=61
Exploring Operation: 67-12=55, Resulting Numbers: [6, 55]
Generated Node #0,0,1: 11:[6, 55] Operation: 67-12=55
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[6, 55], Operations: ['87-81=6', '67-12=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[12, 61], Operations: ['87-81=6', '67-6=61']
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,11 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: 11:[12, 81, 20], Operations: ['87-67=20']
Exploring Operation: 81-20=61, Resulting Numbers: [12, 61]
Generated Node #0,1,0: 11:[12, 61] Operation: 81-20=61
Exploring Operation: 81-12=69, Resulting Numbers: [20, 69]
Generated Node #0,1,1: 11:[20, 69] Operation: 81-12=69
Moving to Node #0,1,0
Current State: 11:[12, 61], Operations: ['87-67=20', '81-20=61']
Exploring Operation: 12+61=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[20, 69], Operations: ['87-67=20', '81-12=69']
Exploring Operation: 20+69=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,11 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
67,
82,
61
] | 74 | [
"82-67=15",
"9*15=135",
"135-61=74"
] | Current State: 74:[9, 67, 82, 61], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [9, 61, 15]
Generated Node #2: [9, 61, 15] from Operation: 82-67=15
Current State: 74:[9, 61, 15], Operations: ['82-67=15']
Exploring Operation: 9*15=135, Resulting Numbers: [61, 135]
Generated Node #3: [61, 135] from Operation: 9*15=135
Current State: 74:[61, 135], Operations: ['82-67=15', '9*15=135']
Exploring Operation: 135-61=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[9, 67, 82, 61], Operations: []
Exploring Operation: 9+61=70, Resulting Numbers: [67, 82, 70]
Generated Node #0,0: 74:[67, 82, 70] Operation: 9+61=70
Exploring Operation: 67-61=6, Resulting Numbers: [9, 82, 6]
Generated Node #0,1: 74:[9, 82, 6] Operation: 67-61=6
Exploring Operation: 82-9=73, Resulting Numbers: [67, 61, 73]
Generated Node #0,2: 74:[67, 61, 73] Operation: 82-9=73
Exploring Operation: 9+67=76, Resulting Numbers: [82, 61, 76]
Generated Node #0,3: 74:[82, 61, 76] Operation: 9+67=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[67, 82, 70], Operations: ['9+61=70']
Exploring Operation: 70-67=3, Resulting Numbers: [82, 3]
Generated Node #0,0,0: 74:[82, 3] Operation: 70-67=3
Exploring Operation: 82-67=15, Resulting Numbers: [70, 15]
Generated Node #0,0,1: 74:[70, 15] Operation: 82-67=15
Exploring Operation: 82-70=12, Resulting Numbers: [67, 12]
Generated Node #0,0,2: 74:[67, 12] Operation: 82-70=12
Exploring Operation: 67+70=137, Resulting Numbers: [82, 137]
Generated Node #0,0,3: 74:[82, 137] Operation: 67+70=137
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[82, 3], Operations: ['9+61=70', '70-67=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[70, 15], Operations: ['9+61=70', '82-67=15']
Exploring Operation: 70+15=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 70*15=1050, Resulting Numbers: [1050]
1050,74 unequal: No Solution
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[67, 12], Operations: ['9+61=70', '82-70=12']
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,74 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[82, 137], Operations: ['9+61=70', '67+70=137']
Exploring Operation: 82+137=219, Resulting Numbers: [219]
219,74 unequal: No Solution
Exploring Operation: 82*137=11234, Resulting Numbers: [11234]
11234,74 unequal: No Solution
Exploring Operation: 137-82=55, Resulting Numbers: [55]
55,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[9, 82, 6], Operations: ['67-61=6']
Exploring Operation: 9-6=3, Resulting Numbers: [82, 3]
Generated Node #0,1,0: 74:[82, 3] Operation: 9-6=3
Exploring Operation: 82-9=73, Resulting Numbers: [6, 73]
Generated Node #0,1,1: 74:[6, 73] Operation: 82-9=73
Exploring Operation: 82-6=76, Resulting Numbers: [9, 76]
Generated Node #0,1,2: 74:[9, 76] Operation: 82-6=76
Exploring Operation: 9+82=91, Resulting Numbers: [6, 91]
Generated Node #0,1,3: 74:[6, 91] Operation: 9+82=91
Moving to Node #0,1,1
Current State: 74:[6, 73], Operations: ['67-61=6', '82-9=73']
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[9, 76], Operations: ['67-61=6', '82-6=76']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 9*76=684, Resulting Numbers: [684]
684,74 unequal: No Solution
Exploring Operation: 9+76=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[82, 3], Operations: ['67-61=6', '9-6=3']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 82+3=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 82*3=246, Resulting Numbers: [246]
246,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[6, 91], Operations: ['67-61=6', '9+82=91']
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 6+91=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 6*91=546, Resulting Numbers: [546]
546,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[67, 61, 73], Operations: ['82-9=73']
Exploring Operation: 67+61=128, Resulting Numbers: [73, 128]
Generated Node #0,2,0: 74:[73, 128] Operation: 67+61=128
Exploring Operation: 73-61=12, Resulting Numbers: [67, 12]
Generated Node #0,2,1: 74:[67, 12] Operation: 73-61=12
Exploring Operation: 67-61=6, Resulting Numbers: [73, 6]
Generated Node #0,2,2: 74:[73, 6] Operation: 67-61=6
Exploring Operation: 73-67=6, Resulting Numbers: [61, 6]
Generated Node #0,2,3: 74:[61, 6] Operation: 73-67=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[73, 6], Operations: ['82-9=73', '67-61=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,74 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[67, 12], Operations: ['82-9=73', '73-61=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 74:[61, 6], Operations: ['82-9=73', '73-67=6']
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,74 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[73, 128], Operations: ['82-9=73', '67+61=128']
Exploring Operation: 128-73=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 73+128=201, Resulting Numbers: [201]
201,74 unequal: No Solution
Exploring Operation: 73*128=9344, Resulting Numbers: [9344]
9344,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[82, 61, 76], Operations: ['9+67=76']
Exploring Operation: 76-61=15, Resulting Numbers: [82, 15]
Generated Node #0,3,0: 74:[82, 15] Operation: 76-61=15
Exploring Operation: 82-61=21, Resulting Numbers: [76, 21]
Generated Node #0,3,1: 74:[76, 21] Operation: 82-61=21
Exploring Operation: 82+61=143, Resulting Numbers: [76, 143]
Generated Node #0,3,2: 74:[76, 143] Operation: 82+61=143
Exploring Operation: 82-76=6, Resulting Numbers: [61, 6]
Generated Node #0,3,3: 74:[61, 6] Operation: 82-76=6
Moving to Node #0,3,3
Current State: 74:[61, 6], Operations: ['9+67=76', '82-76=6']
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,74 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[76, 21], Operations: ['9+67=76', '82-61=21']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,74 unequal: No Solution
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,74 unequal: No Solution
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[82, 15], Operations: ['9+67=76', '76-61=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,74 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[76, 143], Operations: ['9+67=76', '82+61=143']
Exploring Operation: 143-76=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 76*143=10868, Resulting Numbers: [10868]
10868,74 unequal: No Solution
Exploring Operation: 76+143=219, Resulting Numbers: [219]
219,74 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 |
[
1,
27,
30,
5
] | 78 | [
"5-1=4",
"27*4=108",
"108-30=78"
] | Current State: 78:[1, 27, 30, 5], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [27, 30, 4]
Generated Node #2: [27, 30, 4] from Operation: 5-1=4
Current State: 78:[27, 30, 4], Operations: ['5-1=4']
Exploring Operation: 27*4=108, Resulting Numbers: [30, 108]
Generated Node #3: [30, 108] from Operation: 27*4=108
Current State: 78:[30, 108], Operations: ['5-1=4', '27*4=108']
Exploring Operation: 108-30=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[1, 27, 30, 5], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [1, 5, 3]
Generated Node #0,0: 78:[1, 5, 3] Operation: 30-27=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[1, 5, 3], Operations: ['30-27=3']
Exploring Operation: 1+5=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 78:[3, 6] Operation: 1+5=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[3, 6], Operations: ['30-27=3', '1+5=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
83,
43,
77,
23
] | 26 | [
"83+43=126",
"77+23=100",
"126-100=26"
] | Current State: 26:[83, 43, 77, 23], Operations: []
Exploring Operation: 83+43=126, Resulting Numbers: [77, 23, 126]
Generated Node #2: [77, 23, 126] from Operation: 83+43=126
Current State: 26:[77, 23, 126], Operations: ['83+43=126']
Exploring Operation: 77+23=100, Resulting Numbers: [126, 100]
Generated Node #3: [126, 100] from Operation: 77+23=100
Current State: 26:[126, 100], Operations: ['83+43=126', '77+23=100']
Exploring Operation: 126-100=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[83, 43, 77, 23], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [43, 23, 6]
Generated Node #0,0: 26:[43, 23, 6] Operation: 83-77=6
Exploring Operation: 83-43=40, Resulting Numbers: [77, 23, 40]
Generated Node #0,1: 26:[77, 23, 40] Operation: 83-43=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[43, 23, 6], Operations: ['83-77=6']
Exploring Operation: 43-6=37, Resulting Numbers: [23, 37]
Generated Node #0,0,0: 26:[23, 37] Operation: 43-6=37
Exploring Operation: 43-23=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 26:[6, 20] Operation: 43-23=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 26:[6, 20], Operations: ['83-77=6', '43-23=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[83, 43, 77, 23], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [43, 23, 6]
Generated Node #0,0: 26:[43, 23, 6] Operation: 83-77=6
Moving to Node #0,0
Current State: 26:[43, 23, 6], Operations: ['83-77=6']
Exploring Operation: 43-23=20, Resulting Numbers: [6, 20]
Generated Node #0,0,1: 26:[6, 20] Operation: 43-23=20
Moving to Node #0,0,1
Current State: 26:[6, 20], Operations: ['83-77=6', '43-23=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
49,
6,
8,
75
] | 51 | [
"8*75=600",
"600/6=100",
"100-49=51"
] | Current State: 51:[49, 6, 8, 75], Operations: []
Exploring Operation: 8*75=600, Resulting Numbers: [49, 6, 600]
Generated Node #2: [49, 6, 600] from Operation: 8*75=600
Current State: 51:[49, 6, 600], Operations: ['8*75=600']
Exploring Operation: 600/6=100, Resulting Numbers: [49, 100]
Generated Node #3: [49, 100] from Operation: 600/6=100
Current State: 51:[49, 100], Operations: ['8*75=600', '600/6=100']
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[49, 6, 8, 75], Operations: []
Exploring Operation: 75-8=67, Resulting Numbers: [49, 6, 67]
Generated Node #0,0: 51:[49, 6, 67] Operation: 75-8=67
Exploring Operation: 75-49=26, Resulting Numbers: [6, 8, 26]
Generated Node #0,1: 51:[6, 8, 26] Operation: 75-49=26
Moving to Node #0,1
Current State: 51:[6, 8, 26], Operations: ['75-49=26']
Exploring Operation: 26-6=20, Resulting Numbers: [8, 20]
Generated Node #0,1,0: 51:[8, 20] Operation: 26-6=20
Exploring Operation: 26-8=18, Resulting Numbers: [6, 18]
Generated Node #0,1,1: 51:[6, 18] Operation: 26-8=18
Moving to Node #0,0
Current State: 51:[49, 6, 67], Operations: ['75-8=67']
Exploring Operation: 67-6=61, Resulting Numbers: [49, 61]
Generated Node #0,0,0: 51:[49, 61] Operation: 67-6=61
Exploring Operation: 67-49=18, Resulting Numbers: [6, 18]
Generated Node #0,0,1: 51:[6, 18] Operation: 67-49=18
Moving to Node #0,1,1
Current State: 51:[6, 18], Operations: ['75-49=26', '26-8=18']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[6, 18], Operations: ['75-8=67', '67-49=18']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[8, 20], Operations: ['75-49=26', '26-6=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[49, 61], Operations: ['75-8=67', '67-6=61']
Exploring Operation: 49+61=110, Resulting Numbers: [110]
110,51 unequal: No Solution
Exploring Operation: 61-49=12, Resulting Numbers: [12]
12,51 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
43,
58,
59
] | 68 | [
"92-43=49",
"58+59=117",
"117-49=68"
] | Current State: 68:[92, 43, 58, 59], Operations: []
Exploring Operation: 92-43=49, Resulting Numbers: [58, 59, 49]
Generated Node #2: [58, 59, 49] from Operation: 92-43=49
Current State: 68:[58, 59, 49], Operations: ['92-43=49']
Exploring Operation: 58+59=117, Resulting Numbers: [49, 117]
Generated Node #3: [49, 117] from Operation: 58+59=117
Current State: 68:[49, 117], Operations: ['92-43=49', '58+59=117']
Exploring Operation: 117-49=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[92, 43, 58, 59], Operations: []
Exploring Operation: 92-43=49, Resulting Numbers: [58, 59, 49]
Generated Node #0,0: 68:[58, 59, 49] Operation: 92-43=49
Exploring Operation: 92-59=33, Resulting Numbers: [43, 58, 33]
Generated Node #0,1: 68:[43, 58, 33] Operation: 92-59=33
Exploring Operation: 92-58=34, Resulting Numbers: [43, 59, 34]
Generated Node #0,2: 68:[43, 59, 34] Operation: 92-58=34
Moving to Node #0,2
Current State: 68:[43, 59, 34], Operations: ['92-58=34']
Exploring Operation: 43-34=9, Resulting Numbers: [59, 9]
Generated Node #0,2,0: 68:[59, 9] Operation: 43-34=9
Exploring Operation: 59-34=25, Resulting Numbers: [43, 25]
Generated Node #0,2,1: 68:[43, 25] Operation: 59-34=25
Exploring Operation: 59-43=16, Resulting Numbers: [34, 16]
Generated Node #0,2,2: 68:[34, 16] Operation: 59-43=16
Moving to Node #0,1
Current State: 68:[43, 58, 33], Operations: ['92-59=33']
Exploring Operation: 58-33=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 68:[43, 25] Operation: 58-33=25
Exploring Operation: 58-43=15, Resulting Numbers: [33, 15]
Generated Node #0,1,1: 68:[33, 15] Operation: 58-43=15
Exploring Operation: 43-33=10, Resulting Numbers: [58, 10]
Generated Node #0,1,2: 68:[58, 10] Operation: 43-33=10
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[33, 15], Operations: ['92-59=33', '58-43=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 33+15=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 33*15=495, Resulting Numbers: [495]
495,68 unequal: No Solution
No 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: 68:[58, 10], Operations: ['92-59=33', '43-33=10']
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 58*10=580, Resulting Numbers: [580]
580,68 unequal: No Solution
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[92, 43, 58, 59], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [43, 58, 33]
Generated Node #0,1: 68:[43, 58, 33] Operation: 92-59=33
Moving to Node #0,1
Current State: 68:[43, 58, 33], Operations: ['92-59=33']
Exploring Operation: 43-33=10, Resulting Numbers: [58, 10]
Generated Node #0,1,2: 68:[58, 10] Operation: 43-33=10
Moving to Node #0,1,2
Current State: 68:[58, 10], Operations: ['92-59=33', '43-33=10']
Exploring Operation: 58+10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
66,
16,
58,
77
] | 53 | [
"66+16=82",
"58+77=135",
"135-82=53"
] | Current State: 53:[66, 16, 58, 77], Operations: []
Exploring Operation: 66+16=82, Resulting Numbers: [58, 77, 82]
Generated Node #2: [58, 77, 82] from Operation: 66+16=82
Current State: 53:[58, 77, 82], Operations: ['66+16=82']
Exploring Operation: 58+77=135, Resulting Numbers: [82, 135]
Generated Node #3: [82, 135] from Operation: 58+77=135
Current State: 53:[82, 135], Operations: ['66+16=82', '58+77=135']
Exploring Operation: 135-82=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[66, 16, 58, 77], Operations: []
Exploring Operation: 77-16=61, Resulting Numbers: [66, 58, 61]
Generated Node #0,0: 53:[66, 58, 61] Operation: 77-16=61
Exploring Operation: 66-16=50, Resulting Numbers: [58, 77, 50]
Generated Node #0,1: 53:[58, 77, 50] Operation: 66-16=50
Moving to Node #0,0
Current State: 53:[66, 58, 61], Operations: ['77-16=61']
Exploring Operation: 66-61=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 53:[58, 5] Operation: 66-61=5
Exploring Operation: 66-58=8, Resulting Numbers: [61, 8]
Generated Node #0,0,1: 53:[61, 8] Operation: 66-58=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[58, 5], Operations: ['77-16=61', '66-61=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[66, 16, 58, 77], Operations: []
Exploring Operation: 77-16=61, Resulting Numbers: [66, 58, 61]
Generated Node #0,0: 53:[66, 58, 61] Operation: 77-16=61
Moving to Node #0,0
Current State: 53:[66, 58, 61], Operations: ['77-16=61']
Exploring Operation: 66-61=5, Resulting Numbers: [58, 5]
Generated Node #0,0,0: 53:[58, 5] Operation: 66-61=5
Moving to Node #0,0,0
Current State: 53:[58, 5], Operations: ['77-16=61', '66-61=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
11,
34,
47,
55
] | 18 | [
"55/11=5",
"47-34=13",
"5+13=18"
] | Current State: 18:[11, 34, 47, 55], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [34, 47, 5]
Generated Node #2: [34, 47, 5] from Operation: 55/11=5
Current State: 18:[34, 47, 5], Operations: ['55/11=5']
Exploring Operation: 47-34=13, Resulting Numbers: [5, 13]
Generated Node #3: [5, 13] from Operation: 47-34=13
Current State: 18:[5, 13], Operations: ['55/11=5', '47-34=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[11, 34, 47, 55], Operations: []
Exploring Operation: 55-34=21, Resulting Numbers: [11, 47, 21]
Generated Node #0,0: 18:[11, 47, 21] Operation: 55-34=21
Exploring Operation: 55-47=8, Resulting Numbers: [11, 34, 8]
Generated Node #0,1: 18:[11, 34, 8] Operation: 55-47=8
Moving to Node #0,1
Current State: 18:[11, 34, 8], Operations: ['55-47=8']
Exploring Operation: 34-11=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 18:[8, 23] Operation: 34-11=23
Exploring Operation: 34-8=26, Resulting Numbers: [11, 26]
Generated Node #0,1,1: 18:[11, 26] Operation: 34-8=26
Moving to Node #0,0
Current State: 18:[11, 47, 21], Operations: ['55-34=21']
Exploring Operation: 47-21=26, Resulting Numbers: [11, 26]
Generated Node #0,0,0: 18:[11, 26] Operation: 47-21=26
Exploring Operation: 47-11=36, Resulting Numbers: [21, 36]
Generated Node #0,0,1: 18:[21, 36] Operation: 47-11=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[11, 26], Operations: ['55-34=21', '47-21=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[21, 36], Operations: ['55-34=21', '47-11=36']
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 18:[8, 23], Operations: ['55-47=8', '34-11=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[11, 26], Operations: ['55-47=8', '34-8=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,18 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
23,
56,
46,
40
] | 68 | [
"23*56=1288",
"1288/46=28",
"40+28=68"
] | Current State: 68:[23, 56, 46, 40], Operations: []
Exploring Operation: 23*56=1288, Resulting Numbers: [46, 40, 1288]
Generated Node #2: [46, 40, 1288] from Operation: 23*56=1288
Current State: 68:[46, 40, 1288], Operations: ['23*56=1288']
Exploring Operation: 1288/46=28, Resulting Numbers: [40, 28]
Generated Node #3: [40, 28] from Operation: 1288/46=28
Current State: 68:[40, 28], Operations: ['23*56=1288', '1288/46=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[23, 56, 46, 40], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [23, 40, 10]
Generated Node #0,0: 68:[23, 40, 10] Operation: 56-46=10
Exploring Operation: 56-23=33, Resulting Numbers: [46, 40, 33]
Generated Node #0,1: 68:[46, 40, 33] Operation: 56-23=33
Exploring Operation: 46/23=2, Resulting Numbers: [56, 40, 2]
Generated Node #0,2: 68:[56, 40, 2] Operation: 46/23=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[23, 40, 10], Operations: ['56-46=10']
Exploring Operation: 40/10=4, Resulting Numbers: [23, 4]
Generated Node #0,0,0: 68:[23, 4] Operation: 40/10=4
Exploring Operation: 40-23=17, Resulting Numbers: [10, 17]
Generated Node #0,0,1: 68:[10, 17] Operation: 40-23=17
Exploring Operation: 23+10=33, Resulting Numbers: [40, 33]
Generated Node #0,0,2: 68:[40, 33] Operation: 23+10=33
Moving to Node #0,0,0
Current State: 68:[23, 4], Operations: ['56-46=10', '40/10=4']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[10, 17], Operations: ['56-46=10', '40-23=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,68 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[40, 33], Operations: ['56-46=10', '23+10=33']
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,68 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,68 unequal: No Solution
No 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: 68:[56, 40, 2], Operations: ['46/23=2']
Exploring Operation: 40/2=20, Resulting Numbers: [56, 20]
Generated Node #0,2,0: 68:[56, 20] Operation: 40/2=20
Exploring Operation: 56/2=28, Resulting Numbers: [40, 28]
Generated Node #0,2,1: 68:[40, 28] Operation: 56/2=28
Exploring Operation: 56-40=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 68:[2, 16] Operation: 56-40=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[2, 16], Operations: ['46/23=2', '56-40=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[40, 28], Operations: ['46/23=2', '56/2=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[23, 56, 46, 40], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [56, 40, 2]
Generated Node #0,2: 68:[56, 40, 2] Operation: 46/23=2
Moving to Node #0,2
Current State: 68:[56, 40, 2], Operations: ['46/23=2']
Exploring Operation: 56/2=28, Resulting Numbers: [40, 28]
Generated Node #0,2,1: 68:[40, 28] Operation: 56/2=28
Moving to Node #0,2,1
Current State: 68:[40, 28], Operations: ['46/23=2', '56/2=28']
Exploring Operation: 40+28=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
68,
65,
61,
61
] | 78 | [
"65-61=4",
"68/4=17",
"61+17=78"
] | Current State: 78:[68, 65, 61, 61], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [68, 4]
Generated Node #2: [68, 4] from Operation: 65-61=4
Current State: 78:[68, 4], Operations: ['65-61=4']
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,78 equal: Goal Reached
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[68, 65, 61, 61], Operations: []
Exploring Operation: 61/61=1, Resulting Numbers: [68, 65, 1]
Generated Node #0,0: 78:[68, 65, 1] Operation: 61/61=1
Exploring Operation: 61-61=0, Resulting Numbers: [68, 65, 0]
Generated Node #0,1: 78:[68, 65, 0] Operation: 61-61=0
Moving to Node #0,0
Current State: 78:[68, 65, 1], Operations: ['61/61=1']
Exploring Operation: 68+1=69, Resulting Numbers: [65, 69]
Generated Node #0,0,0: 78:[65, 69] Operation: 68+1=69
Exploring Operation: 68-65=3, Resulting Numbers: [1, 3]
Generated Node #0,0,1: 78:[1, 3] Operation: 68-65=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[1, 3], Operations: ['61/61=1', '68-65=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No 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: 78:[65, 69], Operations: ['61/61=1', '68+1=69']
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 65+69=134, Resulting Numbers: [134]
134,78 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: 78:[68, 65, 0], Operations: ['61-61=0']
Exploring Operation: 68-65=3, Resulting Numbers: [0, 3]
Generated Node #0,1,0: 78:[0, 3] Operation: 68-65=3
Exploring Operation: 65*0=0, Resulting Numbers: [68, 0]
Generated Node #0,1,1: 78:[68, 0] Operation: 65*0=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[0, 3], Operations: ['61-61=0', '68-65=3']
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No 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: 78:[68, 0], Operations: ['61-61=0', '65*0=0']
Exploring Operation: 68*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 68+0=68, Resulting Numbers: [68]
68,78 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 |
[
1,
42,
74,
71
] | 39 | [
"1*42=42",
"74-71=3",
"42-3=39"
] | Current State: 39:[1, 42, 74, 71], Operations: []
Exploring Operation: 1*42=42, Resulting Numbers: [74, 71, 42]
Generated Node #2: [74, 71, 42] from Operation: 1*42=42
Current State: 39:[74, 71, 42], Operations: ['1*42=42']
Exploring Operation: 74-71=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 74-71=3
Current State: 39:[42, 3], Operations: ['1*42=42', '74-71=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[1, 42, 74, 71], Operations: []
Exploring Operation: 71-42=29, Resulting Numbers: [1, 74, 29]
Generated Node #0,0: 39:[1, 74, 29] Operation: 71-42=29
Exploring Operation: 74-71=3, Resulting Numbers: [1, 42, 3]
Generated Node #0,1: 39:[1, 42, 3] Operation: 74-71=3
Exploring Operation: 74-42=32, Resulting Numbers: [1, 71, 32]
Generated Node #0,2: 39:[1, 71, 32] Operation: 74-42=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[1, 42, 3], Operations: ['74-71=3']
Exploring Operation: 1*42=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 39:[3, 42] Operation: 1*42=42
Exploring Operation: 42-1=41, Resulting Numbers: [3, 41]
Generated Node #0,1,1: 39:[3, 41] Operation: 42-1=41
Exploring Operation: 42-3=39, Resulting Numbers: [1, 39]
Generated Node #0,1,2: 39:[1, 39] Operation: 42-3=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[3, 41], Operations: ['74-71=3', '42-1=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 39:[1, 39], Operations: ['74-71=3', '42-3=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[1, 42, 74, 71], Operations: []
Exploring Operation: 74-71=3, Resulting Numbers: [1, 42, 3]
Generated Node #0,1: 39:[1, 42, 3] Operation: 74-71=3
Moving to Node #0,1
Current State: 39:[1, 42, 3], Operations: ['74-71=3']
Exploring Operation: 42-3=39, Resulting Numbers: [1, 39]
Generated Node #0,1,2: 39:[1, 39] Operation: 42-3=39
Moving to Node #0,1,2
Current State: 39:[1, 39], Operations: ['74-71=3', '42-3=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
14,
25,
71,
6
] | 40 | [
"14*71=994",
"6+994=1000",
"1000/25=40"
] | Current State: 40:[14, 25, 71, 6], Operations: []
Exploring Operation: 14*71=994, Resulting Numbers: [25, 6, 994]
Generated Node #2: [25, 6, 994] from Operation: 14*71=994
Current State: 40:[25, 6, 994], Operations: ['14*71=994']
Exploring Operation: 6+994=1000, Resulting Numbers: [25, 1000]
Generated Node #3: [25, 1000] from Operation: 6+994=1000
Current State: 40:[25, 1000], Operations: ['14*71=994', '6+994=1000']
Exploring Operation: 1000/25=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[14, 25, 71, 6], Operations: []
Exploring Operation: 71-6=65, Resulting Numbers: [14, 25, 65]
Generated Node #0,0: 40:[14, 25, 65] Operation: 71-6=65
Exploring Operation: 14+25=39, Resulting Numbers: [71, 6, 39]
Generated Node #0,1: 40:[71, 6, 39] Operation: 14+25=39
Exploring Operation: 25-14=11, Resulting Numbers: [71, 6, 11]
Generated Node #0,2: 40:[71, 6, 11] Operation: 25-14=11
Exploring Operation: 71-25=46, Resulting Numbers: [14, 6, 46]
Generated Node #0,3: 40:[14, 6, 46] Operation: 71-25=46
Exploring Operation: 71-14=57, Resulting Numbers: [25, 6, 57]
Generated Node #0,4: 40:[25, 6, 57] Operation: 71-14=57
Moving to Node #0,3
Current State: 40:[14, 6, 46], Operations: ['71-25=46']
Exploring Operation: 6+46=52, Resulting Numbers: [14, 52]
Generated Node #0,3,0: 40:[14, 52] Operation: 6+46=52
Exploring Operation: 46-6=40, Resulting Numbers: [14, 40]
Generated Node #0,3,1: 40:[14, 40] Operation: 46-6=40
Exploring Operation: 46-14=32, Resulting Numbers: [6, 32]
Generated Node #0,3,2: 40:[6, 32] Operation: 46-14=32
Exploring Operation: 14-6=8, Resulting Numbers: [46, 8]
Generated Node #0,3,3: 40:[46, 8] Operation: 14-6=8
Exploring Operation: 14+6=20, Resulting Numbers: [46, 20]
Generated Node #0,3,4: 40:[46, 20] Operation: 14+6=20
Moving to Node #0,4
Current State: 40:[25, 6, 57], Operations: ['71-14=57']
Exploring Operation: 25+6=31, Resulting Numbers: [57, 31]
Generated Node #0,4,0: 40:[57, 31] Operation: 25+6=31
Exploring Operation: 57-25=32, Resulting Numbers: [6, 32]
Generated Node #0,4,1: 40:[6, 32] Operation: 57-25=32
Exploring Operation: 25-6=19, Resulting Numbers: [57, 19]
Generated Node #0,4,2: 40:[57, 19] Operation: 25-6=19
Exploring Operation: 57-6=51, Resulting Numbers: [25, 51]
Generated Node #0,4,3: 40:[25, 51] Operation: 57-6=51
Exploring Operation: 6+57=63, Resulting Numbers: [25, 63]
Generated Node #0,4,4: 40:[25, 63] Operation: 6+57=63
Moving to Node #0,1
Current State: 40:[71, 6, 39], Operations: ['14+25=39']
Exploring Operation: 71+6=77, Resulting Numbers: [39, 77]
Generated Node #0,1,0: 40:[39, 77] Operation: 71+6=77
Exploring Operation: 6+39=45, Resulting Numbers: [71, 45]
Generated Node #0,1,1: 40:[71, 45] Operation: 6+39=45
Exploring Operation: 71-39=32, Resulting Numbers: [6, 32]
Generated Node #0,1,2: 40:[6, 32] Operation: 71-39=32
Exploring Operation: 71-6=65, Resulting Numbers: [39, 65]
Generated Node #0,1,3: 40:[39, 65] Operation: 71-6=65
Exploring Operation: 39-6=33, Resulting Numbers: [71, 33]
Generated Node #0,1,4: 40:[71, 33] Operation: 39-6=33
Moving to Node #0,2
Current State: 40:[71, 6, 11], Operations: ['25-14=11']
Exploring Operation: 71+6=77, Resulting Numbers: [11, 77]
Generated Node #0,2,0: 40:[11, 77] Operation: 71+6=77
Exploring Operation: 71-6=65, Resulting Numbers: [11, 65]
Generated Node #0,2,1: 40:[11, 65] Operation: 71-6=65
Exploring Operation: 6+11=17, Resulting Numbers: [71, 17]
Generated Node #0,2,2: 40:[71, 17] Operation: 6+11=17
Exploring Operation: 11-6=5, Resulting Numbers: [71, 5]
Generated Node #0,2,3: 40:[71, 5] Operation: 11-6=5
Exploring Operation: 71-11=60, Resulting Numbers: [6, 60]
Generated Node #0,2,4: 40:[6, 60] Operation: 71-11=60
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 40:[6, 60], Operations: ['25-14=11', '71-11=60']
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,40 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,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,1
Current State: 40:[11, 65], Operations: ['25-14=11', '71-6=65']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,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,3
Current State: 40:[71, 5], Operations: ['25-14=11', '11-6=5']
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,40 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,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,2
Current State: 40:[71, 17], Operations: ['25-14=11', '6+11=17']
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,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,0
Current State: 40:[11, 77], Operations: ['25-14=11', '71+6=77']
Exploring Operation: 11*77=847, Resulting Numbers: [847]
847,40 unequal: No Solution
Exploring Operation: 77-11=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 11+77=88, Resulting Numbers: [88]
88,40 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: 40:[14, 25, 65], Operations: ['71-6=65']
Exploring Operation: 14+65=79, Resulting Numbers: [25, 79]
Generated Node #0,0,0: 40:[25, 79] Operation: 14+65=79
Exploring Operation: 14+25=39, Resulting Numbers: [65, 39]
Generated Node #0,0,1: 40:[65, 39] Operation: 14+25=39
Exploring Operation: 65-14=51, Resulting Numbers: [25, 51]
Generated Node #0,0,2: 40:[25, 51] Operation: 65-14=51
Exploring Operation: 65-25=40, Resulting Numbers: [14, 40]
Generated Node #0,0,3: 40:[14, 40] Operation: 65-25=40
Exploring Operation: 25-14=11, Resulting Numbers: [65, 11]
Generated Node #0,0,4: 40:[65, 11] Operation: 25-14=11
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[14, 40], Operations: ['71-6=65', '65-25=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,40 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,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,0,2
Current State: 40:[25, 51], Operations: ['71-6=65', '65-14=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,40 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,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,0,1
Current State: 40:[65, 39], Operations: ['71-6=65', '14+25=39']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,40 unequal: No Solution
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,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,0,4
Current State: 40:[65, 11], Operations: ['71-6=65', '25-14=11']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,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,0,0
Current State: 40:[25, 79], Operations: ['71-6=65', '14+65=79']
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,40 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 40:[14, 40], Operations: ['71-25=46', '46-6=40']
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,40 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,3,4
Current State: 40:[46, 20], Operations: ['71-25=46', '14+6=20']
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,40 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[46, 8], Operations: ['71-25=46', '14-6=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,40 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[6, 32], Operations: ['71-14=57', '57-25=32']
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[6, 32], Operations: ['14+25=39', '71-39=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,40 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[6, 32], Operations: ['71-25=46', '46-14=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,40 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[25, 51], Operations: ['71-14=57', '57-6=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[14, 52], Operations: ['71-25=46', '6+46=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[57, 19], Operations: ['71-14=57', '25-6=19']
Exploring Operation: 57*19=1083, Resulting Numbers: [1083]
1083,40 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[39, 65], Operations: ['14+25=39', '71-6=65']
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,40 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,40 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[57, 31], Operations: ['71-14=57', '25+6=31']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[25, 63], Operations: ['71-14=57', '6+57=63']
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,40 unequal: No Solution
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[71, 45], Operations: ['14+25=39', '6+39=45']
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,40 unequal: No Solution
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,40 unequal: No Solution
Moving to Node #0,1,4
Current State: 40:[71, 33], Operations: ['14+25=39', '39-6=33']
Exploring Operation: 71+33=104, Resulting Numbers: [104]
104,40 unequal: No Solution
Exploring Operation: 71*33=2343, Resulting Numbers: [2343]
2343,40 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[39, 77], Operations: ['14+25=39', '71+6=77']
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,40 unequal: No Solution
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,40 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,40 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
96,
40,
30,
84
] | 22 | [
"96+40=136",
"30+84=114",
"136-114=22"
] | Current State: 22:[96, 40, 30, 84], Operations: []
Exploring Operation: 96+40=136, Resulting Numbers: [30, 84, 136]
Generated Node #2: [30, 84, 136] from Operation: 96+40=136
Current State: 22:[30, 84, 136], Operations: ['96+40=136']
Exploring Operation: 30+84=114, Resulting Numbers: [136, 114]
Generated Node #3: [136, 114] from Operation: 30+84=114
Current State: 22:[136, 114], Operations: ['96+40=136', '30+84=114']
Exploring Operation: 136-114=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[96, 40, 30, 84], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [40, 30, 12]
Generated Node #0,0: 22:[40, 30, 12] Operation: 96-84=12
Exploring Operation: 96-40=56, Resulting Numbers: [30, 84, 56]
Generated Node #0,1: 22:[30, 84, 56] Operation: 96-40=56
Exploring Operation: 96-30=66, Resulting Numbers: [40, 84, 66]
Generated Node #0,2: 22:[40, 84, 66] Operation: 96-30=66
Exploring Operation: 84-40=44, Resulting Numbers: [96, 30, 44]
Generated Node #0,3: 22:[96, 30, 44] Operation: 84-40=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[40, 30, 12], Operations: ['96-84=12']
Exploring Operation: 40-30=10, Resulting Numbers: [12, 10]
Generated Node #0,0,0: 22:[12, 10] Operation: 40-30=10
Exploring Operation: 40+12=52, Resulting Numbers: [30, 52]
Generated Node #0,0,1: 22:[30, 52] Operation: 40+12=52
Exploring Operation: 40-12=28, Resulting Numbers: [30, 28]
Generated Node #0,0,2: 22:[30, 28] Operation: 40-12=28
Exploring Operation: 30-12=18, Resulting Numbers: [40, 18]
Generated Node #0,0,3: 22:[40, 18] Operation: 30-12=18
Moving to Node #0,0,0
Current State: 22:[12, 10], Operations: ['96-84=12', '40-30=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[96, 40, 30, 84], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [40, 30, 12]
Generated Node #0,0: 22:[40, 30, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 22:[40, 30, 12], Operations: ['96-84=12']
Exploring Operation: 40-30=10, Resulting Numbers: [12, 10]
Generated Node #0,0,0: 22:[12, 10] Operation: 40-30=10
Moving to Node #0,0,0
Current State: 22:[12, 10], Operations: ['96-84=12', '40-30=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
47,
27,
85,
58
] | 46 | [
"85-27=58",
"58/58=1",
"47-1=46"
] | Current State: 46:[47, 27, 85, 58], Operations: []
Exploring Operation: 85-27=58, Resulting Numbers: [47, 58, 58]
Generated Node #2: [47, 58, 58] from Operation: 85-27=58
Current State: 46:[47, 58, 58], Operations: ['85-27=58']
Exploring Operation: 58/58=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 58/58=1
Current State: 46:[47, 1], Operations: ['85-27=58', '58/58=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[47, 27, 85, 58], Operations: []
Exploring Operation: 85-47=38, Resulting Numbers: [27, 58, 38]
Generated Node #0,0: 46:[27, 58, 38] Operation: 85-47=38
Exploring Operation: 58-47=11, Resulting Numbers: [27, 85, 11]
Generated Node #0,1: 46:[27, 85, 11] Operation: 58-47=11
Exploring Operation: 85-27=58, Resulting Numbers: [47, 58, 58]
Generated Node #0,2: 46:[47, 58, 58] Operation: 85-27=58
Exploring Operation: 85-58=27, Resulting Numbers: [47, 27, 27]
Generated Node #0,3: 46:[47, 27, 27] Operation: 85-58=27
Exploring Operation: 58-27=31, Resulting Numbers: [47, 85, 31]
Generated Node #0,4: 46:[47, 85, 31] Operation: 58-27=31
Moving to Node #0,3
Current State: 46:[47, 27, 27], Operations: ['85-58=27']
Exploring Operation: 27/27=1, Resulting Numbers: [47, 1]
Generated Node #0,3,0: 46:[47, 1] Operation: 27/27=1
Exploring Operation: 47-27=20, Resulting Numbers: [27, 20]
Generated Node #0,3,1: 46:[27, 20] Operation: 47-27=20
Exploring Operation: 27-27=0, Resulting Numbers: [47, 0]
Generated Node #0,3,2: 46:[47, 0] Operation: 27-27=0
Exploring Operation: 47-27=20, Resulting Numbers: [27, 20]
Generated Node #0,3,3: 46:[27, 20] Operation: 47-27=20
Exploring Operation: 27+27=54, Resulting Numbers: [47, 54]
Generated Node #0,3,4: 46:[47, 54] Operation: 27+27=54
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[47, 1], Operations: ['85-58=27', '27/27=1']
Exploring Operation: 47+1=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[47, 27, 85, 58], Operations: []
Exploring Operation: 85-58=27, Resulting Numbers: [47, 27, 27]
Generated Node #0,3: 46:[47, 27, 27] Operation: 85-58=27
Moving to Node #0,3
Current State: 46:[47, 27, 27], Operations: ['85-58=27']
Exploring Operation: 27/27=1, Resulting Numbers: [47, 1]
Generated Node #0,3,0: 46:[47, 1] Operation: 27/27=1
Moving to Node #0,3,0
Current State: 46:[47, 1], Operations: ['85-58=27', '27/27=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
10,
97,
28,
4
] | 85 | [
"10*4=40",
"97+28=125",
"125-40=85"
] | Current State: 85:[10, 97, 28, 4], Operations: []
Exploring Operation: 10*4=40, Resulting Numbers: [97, 28, 40]
Generated Node #2: [97, 28, 40] from Operation: 10*4=40
Current State: 85:[97, 28, 40], Operations: ['10*4=40']
Exploring Operation: 97+28=125, Resulting Numbers: [40, 125]
Generated Node #3: [40, 125] from Operation: 97+28=125
Current State: 85:[40, 125], Operations: ['10*4=40', '97+28=125']
Exploring Operation: 125-40=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[10, 97, 28, 4], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [28, 4, 87]
Generated Node #0,0: 85:[28, 4, 87] Operation: 97-10=87
Moving to Node #0,0
Current State: 85:[28, 4, 87], Operations: ['97-10=87']
Exploring Operation: 28/4=7, Resulting Numbers: [87, 7]
Generated Node #0,0,0: 85:[87, 7] Operation: 28/4=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[87, 7], Operations: ['97-10=87', '28/4=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,85 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 |
[
66,
3,
72,
87
] | 37 | [
"66/3=22",
"87-72=15",
"22+15=37"
] | Current State: 37:[66, 3, 72, 87], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [72, 87, 22]
Generated Node #2: [72, 87, 22] from Operation: 66/3=22
Current State: 37:[72, 87, 22], Operations: ['66/3=22']
Exploring Operation: 87-72=15, Resulting Numbers: [22, 15]
Generated Node #3: [22, 15] from Operation: 87-72=15
Current State: 37:[22, 15], Operations: ['66/3=22', '87-72=15']
Exploring Operation: 22+15=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[66, 3, 72, 87], Operations: []
Exploring Operation: 87-66=21, Resulting Numbers: [3, 72, 21]
Generated Node #0,0: 37:[3, 72, 21] Operation: 87-66=21
Exploring Operation: 87/3=29, Resulting Numbers: [66, 72, 29]
Generated Node #0,1: 37:[66, 72, 29] Operation: 87/3=29
Moving to Node #0,1
Current State: 37:[66, 72, 29], Operations: ['87/3=29']
Exploring Operation: 72-29=43, Resulting Numbers: [66, 43]
Generated Node #0,1,0: 37:[66, 43] Operation: 72-29=43
Exploring Operation: 66-29=37, Resulting Numbers: [72, 37]
Generated Node #0,1,1: 37:[72, 37] Operation: 66-29=37
Moving to Node #0,0
Current State: 37:[3, 72, 21], Operations: ['87-66=21']
Exploring Operation: 72-3=69, Resulting Numbers: [21, 69]
Generated Node #0,0,0: 37:[21, 69] Operation: 72-3=69
Exploring Operation: 72/3=24, Resulting Numbers: [21, 24]
Generated Node #0,0,1: 37:[21, 24] Operation: 72/3=24
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[21, 24], Operations: ['87-66=21', '72/3=24']
Exploring Operation: 21+24=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 24-21=3, Resulting Numbers: [3]
3,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[21, 69], Operations: ['87-66=21', '72-3=69']
Exploring Operation: 21+69=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 37:[66, 43], Operations: ['87/3=29', '72-29=43']
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,37 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[72, 37], Operations: ['87/3=29', '66-29=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,37 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
61,
28,
77,
81
] | 68 | [
"81-77=4",
"28/4=7",
"61+7=68"
] | Current State: 68:[61, 28, 77, 81], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [61, 28, 4]
Generated Node #2: [61, 28, 4] from Operation: 81-77=4
Current State: 68:[61, 28, 4], Operations: ['81-77=4']
Exploring Operation: 28/4=7, Resulting Numbers: [61, 7]
Generated Node #3: [61, 7] from Operation: 28/4=7
Current State: 68:[61, 7], Operations: ['81-77=4', '28/4=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[61, 28, 77, 81], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [28, 77, 20]
Generated Node #0,0: 68:[28, 77, 20] Operation: 81-61=20
Exploring Operation: 77-61=16, Resulting Numbers: [28, 81, 16]
Generated Node #0,1: 68:[28, 81, 16] Operation: 77-61=16
Exploring Operation: 81-77=4, Resulting Numbers: [61, 28, 4]
Generated Node #0,2: 68:[61, 28, 4] Operation: 81-77=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[61, 28, 4], Operations: ['81-77=4']
Exploring Operation: 61+4=65, Resulting Numbers: [28, 65]
Generated Node #0,2,0: 68:[28, 65] Operation: 61+4=65
Exploring Operation: 28+4=32, Resulting Numbers: [61, 32]
Generated Node #0,2,1: 68:[61, 32] Operation: 28+4=32
Exploring Operation: 61-28=33, Resulting Numbers: [4, 33]
Generated Node #0,2,2: 68:[4, 33] Operation: 61-28=33
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[4, 33], Operations: ['81-77=4', '61-28=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,68 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[28, 65], Operations: ['81-77=4', '61+4=65']
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,68 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[61, 32], Operations: ['81-77=4', '28+4=32']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 61+32=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 61*32=1952, Resulting Numbers: [1952]
1952,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[28, 77, 20], Operations: ['81-61=20']
Exploring Operation: 77-20=57, Resulting Numbers: [28, 57]
Generated Node #0,0,0: 68:[28, 57] Operation: 77-20=57
Exploring Operation: 28-20=8, Resulting Numbers: [77, 8]
Generated Node #0,0,1: 68:[77, 8] Operation: 28-20=8
Exploring Operation: 77-28=49, Resulting Numbers: [20, 49]
Generated Node #0,0,2: 68:[20, 49] Operation: 77-28=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[77, 8], Operations: ['81-61=20', '28-20=8']
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,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,0
Current State: 68:[28, 57], Operations: ['81-61=20', '77-20=57']
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,68 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,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,2
Current State: 68:[20, 49], Operations: ['81-61=20', '77-28=49']
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,68 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,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:[28, 81, 16], Operations: ['77-61=16']
Exploring Operation: 28-16=12, Resulting Numbers: [81, 12]
Generated Node #0,1,0: 68:[81, 12] Operation: 28-16=12
Exploring Operation: 81-28=53, Resulting Numbers: [16, 53]
Generated Node #0,1,1: 68:[16, 53] Operation: 81-28=53
Exploring Operation: 81-16=65, Resulting Numbers: [28, 65]
Generated Node #0,1,2: 68:[28, 65] Operation: 81-16=65
Moving to Node #0,1,2
Current State: 68:[28, 65], Operations: ['77-61=16', '81-16=65']
Exploring Operation: 28*65=1820, Resulting Numbers: [1820]
1820,68 unequal: No Solution
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 65-28=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[16, 53], Operations: ['77-61=16', '81-28=53']
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,68 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,68 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[81, 12], Operations: ['77-61=16', '28-16=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,68 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,68 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 |
[
96,
73,
64,
6
] | 77 | [
"96/6=16",
"64/16=4",
"73+4=77"
] | Current State: 77:[96, 73, 64, 6], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [73, 64, 16]
Generated Node #2: [73, 64, 16] from Operation: 96/6=16
Current State: 77:[73, 64, 16], Operations: ['96/6=16']
Exploring Operation: 64/16=4, Resulting Numbers: [73, 4]
Generated Node #3: [73, 4] from Operation: 64/16=4
Current State: 77:[73, 4], Operations: ['96/6=16', '64/16=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[96, 73, 64, 6], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [64, 6, 23]
Generated Node #0,0: 77:[64, 6, 23] Operation: 96-73=23
Exploring Operation: 73-64=9, Resulting Numbers: [96, 6, 9]
Generated Node #0,1: 77:[96, 6, 9] Operation: 73-64=9
Exploring Operation: 96/6=16, Resulting Numbers: [73, 64, 16]
Generated Node #0,2: 77:[73, 64, 16] Operation: 96/6=16
Exploring Operation: 96-6=90, Resulting Numbers: [73, 64, 90]
Generated Node #0,3: 77:[73, 64, 90] Operation: 96-6=90
Exploring Operation: 96-64=32, Resulting Numbers: [73, 6, 32]
Generated Node #0,4: 77:[73, 6, 32] Operation: 96-64=32
Moving to Node #0,1
Current State: 77:[96, 6, 9], Operations: ['73-64=9']
Exploring Operation: 96-6=90, Resulting Numbers: [9, 90]
Generated Node #0,1,0: 77:[9, 90] Operation: 96-6=90
Exploring Operation: 6+9=15, Resulting Numbers: [96, 15]
Generated Node #0,1,1: 77:[96, 15] Operation: 6+9=15
Exploring Operation: 96-9=87, Resulting Numbers: [6, 87]
Generated Node #0,1,2: 77:[6, 87] Operation: 96-9=87
Exploring Operation: 9-6=3, Resulting Numbers: [96, 3]
Generated Node #0,1,3: 77:[96, 3] Operation: 9-6=3
Exploring Operation: 96/6=16, Resulting Numbers: [9, 16]
Generated Node #0,1,4: 77:[9, 16] Operation: 96/6=16
Moving to Node #0,2
Current State: 77:[73, 64, 16], Operations: ['96/6=16']
Exploring Operation: 73-64=9, Resulting Numbers: [16, 9]
Generated Node #0,2,0: 77:[16, 9] Operation: 73-64=9
Exploring Operation: 64/16=4, Resulting Numbers: [73, 4]
Generated Node #0,2,1: 77:[73, 4] Operation: 64/16=4
Exploring Operation: 64+16=80, Resulting Numbers: [73, 80]
Generated Node #0,2,2: 77:[73, 80] Operation: 64+16=80
Exploring Operation: 73+16=89, Resulting Numbers: [64, 89]
Generated Node #0,2,3: 77:[64, 89] Operation: 73+16=89
Exploring Operation: 73-16=57, Resulting Numbers: [64, 57]
Generated Node #0,2,4: 77:[64, 57] Operation: 73-16=57
Moving to Node #0,0
Current State: 77:[64, 6, 23], Operations: ['96-73=23']
Exploring Operation: 64+23=87, Resulting Numbers: [6, 87]
Generated Node #0,0,0: 77:[6, 87] Operation: 64+23=87
Exploring Operation: 23-6=17, Resulting Numbers: [64, 17]
Generated Node #0,0,1: 77:[64, 17] Operation: 23-6=17
Exploring Operation: 64-23=41, Resulting Numbers: [6, 41]
Generated Node #0,0,2: 77:[6, 41] Operation: 64-23=41
Exploring Operation: 64+6=70, Resulting Numbers: [23, 70]
Generated Node #0,0,3: 77:[23, 70] Operation: 64+6=70
Exploring Operation: 64-6=58, Resulting Numbers: [23, 58]
Generated Node #0,0,4: 77:[23, 58] Operation: 64-6=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[6, 87], Operations: ['96-73=23', '64+23=87']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 6*87=522, Resulting Numbers: [522]
522,77 unequal: No Solution
Exploring Operation: 6+87=93, Resulting Numbers: [93]
93,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[64, 17], Operations: ['96-73=23', '23-6=17']
Exploring Operation: 64*17=1088, Resulting Numbers: [1088]
1088,77 unequal: No Solution
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[23, 70], Operations: ['96-73=23', '64+6=70']
Exploring Operation: 23+70=93, Resulting Numbers: [93]
93,77 unequal: No Solution
Exploring Operation: 23*70=1610, Resulting Numbers: [1610]
1610,77 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[6, 41], Operations: ['96-73=23', '64-23=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,77 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 77:[23, 58], Operations: ['96-73=23', '64-6=58']
Exploring Operation: 23+58=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 23*58=1334, Resulting Numbers: [1334]
1334,77 unequal: No Solution
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 77:[73, 6, 32], Operations: ['96-64=32']
Exploring Operation: 73-32=41, Resulting Numbers: [6, 41]
Generated Node #0,4,0: 77:[6, 41] Operation: 73-32=41
Exploring Operation: 73+32=105, Resulting Numbers: [6, 105]
Generated Node #0,4,1: 77:[6, 105] Operation: 73+32=105
Exploring Operation: 32-6=26, Resulting Numbers: [73, 26]
Generated Node #0,4,2: 77:[73, 26] Operation: 32-6=26
Exploring Operation: 73+6=79, Resulting Numbers: [32, 79]
Generated Node #0,4,3: 77:[32, 79] Operation: 73+6=79
Exploring Operation: 73-6=67, Resulting Numbers: [32, 67]
Generated Node #0,4,4: 77:[32, 67] Operation: 73-6=67
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 77:[73, 26], Operations: ['96-64=32', '32-6=26']
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,77 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 77:[32, 79], Operations: ['96-64=32', '73+6=79']
Exploring Operation: 32*79=2528, Resulting Numbers: [2528]
2528,77 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 32+79=111, Resulting Numbers: [111]
111,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[6, 105], Operations: ['96-64=32', '73+32=105']
Exploring Operation: 6+105=111, Resulting Numbers: [111]
111,77 unequal: No Solution
Exploring Operation: 105-6=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 6*105=630, Resulting Numbers: [630]
630,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 77:[6, 41], Operations: ['96-64=32', '73-32=41']
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,77 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,77 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 77:[32, 67], Operations: ['96-64=32', '73-6=67']
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,77 unequal: No Solution
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 77:[73, 64, 90], Operations: ['96-6=90']
Exploring Operation: 90-73=17, Resulting Numbers: [64, 17]
Generated Node #0,3,0: 77:[64, 17] Operation: 90-73=17
Exploring Operation: 73+64=137, Resulting Numbers: [90, 137]
Generated Node #0,3,1: 77:[90, 137] Operation: 73+64=137
Exploring Operation: 64+90=154, Resulting Numbers: [73, 154]
Generated Node #0,3,2: 77:[73, 154] Operation: 64+90=154
Exploring Operation: 73-64=9, Resulting Numbers: [90, 9]
Generated Node #0,3,3: 77:[90, 9] Operation: 73-64=9
Exploring Operation: 90-64=26, Resulting Numbers: [73, 26]
Generated Node #0,3,4: 77:[73, 26] Operation: 90-64=26
Moving to Node #0,1,4
Current State: 77:[9, 16], Operations: ['73-64=9', '96/6=16']
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,77 unequal: No Solution
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[16, 9], Operations: ['96/6=16', '73-64=9']
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[73, 4], Operations: ['96/6=16', '64/16=4']
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[96, 73, 64, 6], Operations: []
Exploring Operation: 96/6=16, Resulting Numbers: [73, 64, 16]
Generated Node #0,2: 77:[73, 64, 16] Operation: 96/6=16
Moving to Node #0,2
Current State: 77:[73, 64, 16], Operations: ['96/6=16']
Exploring Operation: 64/16=4, Resulting Numbers: [73, 4]
Generated Node #0,2,1: 77:[73, 4] Operation: 64/16=4
Moving to Node #0,2,1
Current State: 77:[73, 4], Operations: ['96/6=16', '64/16=4']
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.9375 | hs_5 | mult_heuristic |
[
3,
83,
77,
51
] | 97 | [
"3*77=231",
"83+51=134",
"231-134=97"
] | Current State: 97:[3, 83, 77, 51], Operations: []
Exploring Operation: 3*77=231, Resulting Numbers: [83, 51, 231]
Generated Node #2: [83, 51, 231] from Operation: 3*77=231
Current State: 97:[83, 51, 231], Operations: ['3*77=231']
Exploring Operation: 83+51=134, Resulting Numbers: [231, 134]
Generated Node #3: [231, 134] from Operation: 83+51=134
Current State: 97:[231, 134], Operations: ['3*77=231', '83+51=134']
Exploring Operation: 231-134=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[3, 83, 77, 51], Operations: []
Exploring Operation: 3+77=80, Resulting Numbers: [83, 51, 80]
Generated Node #0,0: 97:[83, 51, 80] Operation: 3+77=80
Exploring Operation: 3+51=54, Resulting Numbers: [83, 77, 54]
Generated Node #0,1: 97:[83, 77, 54] Operation: 3+51=54
Exploring Operation: 3+83=86, Resulting Numbers: [77, 51, 86]
Generated Node #0,2: 97:[77, 51, 86] Operation: 3+83=86
Moving to Node #0,0
Current State: 97:[83, 51, 80], Operations: ['3+77=80']
Exploring Operation: 83+51=134, Resulting Numbers: [80, 134]
Generated Node #0,0,0: 97:[80, 134] Operation: 83+51=134
Exploring Operation: 83-51=32, Resulting Numbers: [80, 32]
Generated Node #0,0,1: 97:[80, 32] Operation: 83-51=32
Exploring Operation: 51+80=131, Resulting Numbers: [83, 131]
Generated Node #0,0,2: 97:[83, 131] Operation: 51+80=131
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[83, 131], Operations: ['3+77=80', '51+80=131']
Exploring Operation: 83*131=10873, Resulting Numbers: [10873]
10873,97 unequal: No Solution
Exploring Operation: 131-83=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 83+131=214, Resulting Numbers: [214]
214,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[80, 134], Operations: ['3+77=80', '83+51=134']
Exploring Operation: 80*134=10720, Resulting Numbers: [10720]
10720,97 unequal: No Solution
Exploring Operation: 134-80=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 80+134=214, Resulting Numbers: [214]
214,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[80, 32], Operations: ['3+77=80', '83-51=32']
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,97 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: 97:[83, 77, 54], Operations: ['3+51=54']
Exploring Operation: 77+54=131, Resulting Numbers: [83, 131]
Generated Node #0,1,0: 97:[83, 131] Operation: 77+54=131
Exploring Operation: 83-54=29, Resulting Numbers: [77, 29]
Generated Node #0,1,1: 97:[77, 29] Operation: 83-54=29
Exploring Operation: 83+54=137, Resulting Numbers: [77, 137]
Generated Node #0,1,2: 97:[77, 137] Operation: 83+54=137
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[83, 131], Operations: ['3+51=54', '77+54=131']
Exploring Operation: 83*131=10873, Resulting Numbers: [10873]
10873,97 unequal: No Solution
Exploring Operation: 83+131=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 131-83=48, Resulting Numbers: [48]
48,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 97:[77, 137], Operations: ['3+51=54', '83+54=137']
Exploring Operation: 137-77=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 77+137=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 77*137=10549, Resulting Numbers: [10549]
10549,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[77, 29], Operations: ['3+51=54', '83-54=29']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,97 unequal: No Solution
Exploring Operation: 77*29=2233, Resulting Numbers: [2233]
2233,97 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: 97:[77, 51, 86], Operations: ['3+83=86']
Exploring Operation: 77+51=128, Resulting Numbers: [86, 128]
Generated Node #0,2,0: 97:[86, 128] Operation: 77+51=128
Exploring Operation: 77-51=26, Resulting Numbers: [86, 26]
Generated Node #0,2,1: 97:[86, 26] Operation: 77-51=26
Exploring Operation: 51+86=137, Resulting Numbers: [77, 137]
Generated Node #0,2,2: 97:[77, 137] Operation: 51+86=137
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[86, 128], Operations: ['3+83=86', '77+51=128']
Exploring Operation: 86+128=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 86*128=11008, Resulting Numbers: [11008]
11008,97 unequal: No Solution
Exploring Operation: 128-86=42, Resulting Numbers: [42]
42,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[77, 137], Operations: ['3+83=86', '51+86=137']
Exploring Operation: 77+137=214, Resulting Numbers: [214]
214,97 unequal: No Solution
Exploring Operation: 77*137=10549, Resulting Numbers: [10549]
10549,97 unequal: No Solution
Exploring Operation: 137-77=60, Resulting Numbers: [60]
60,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[86, 26], Operations: ['3+83=86', '77-51=26']
Exploring Operation: 86+26=112, Resulting Numbers: [112]
112,97 unequal: No Solution
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,97 unequal: No Solution
Exploring Operation: 86*26=2236, Resulting Numbers: [2236]
2236,97 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 |
[
67,
30,
20,
67
] | 30 | [
"67-67=0",
"20*0=0",
"30+0=30"
] | Current State: 30:[67, 30, 20, 67], Operations: []
Exploring Operation: 67-67=0, Resulting Numbers: [30, 20, 0]
Generated Node #2: [30, 20, 0] from Operation: 67-67=0
Current State: 30:[30, 20, 0], Operations: ['67-67=0']
Exploring Operation: 20*0=0, Resulting Numbers: [30, 0]
Generated Node #3: [30, 0] from Operation: 20*0=0
Current State: 30:[30, 0], Operations: ['67-67=0', '20*0=0']
Exploring Operation: 30+0=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[67, 30, 20, 67], Operations: []
Exploring Operation: 67/67=1, Resulting Numbers: [30, 20, 1]
Generated Node #0,0: 30:[30, 20, 1] Operation: 67/67=1
Exploring Operation: 67-67=0, Resulting Numbers: [30, 20, 0]
Generated Node #0,1: 30:[30, 20, 0] Operation: 67-67=0
Moving to Node #0,0
Current State: 30:[30, 20, 1], Operations: ['67/67=1']
Exploring Operation: 20-1=19, Resulting Numbers: [30, 19]
Generated Node #0,0,0: 30:[30, 19] Operation: 20-1=19
Exploring Operation: 30-20=10, Resulting Numbers: [1, 10]
Generated Node #0,0,1: 30:[1, 10] Operation: 30-20=10
Moving to Node #0,1
Current State: 30:[30, 20, 0], Operations: ['67-67=0']
Exploring Operation: 20*0=0, Resulting Numbers: [30, 0]
Generated Node #0,1,0: 30:[30, 0] Operation: 20*0=0
Exploring Operation: 30-20=10, Resulting Numbers: [0, 10]
Generated Node #0,1,1: 30:[0, 10] Operation: 30-20=10
Moving to Node #0,0,1
Current State: 30:[1, 10], Operations: ['67/67=1', '30-20=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[30, 0], Operations: ['67-67=0', '20*0=0']
Exploring Operation: 30+0=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[67, 30, 20, 67], Operations: []
Exploring Operation: 67-67=0, Resulting Numbers: [30, 20, 0]
Generated Node #0,1: 30:[30, 20, 0] Operation: 67-67=0
Moving to Node #0,1
Current State: 30:[30, 20, 0], Operations: ['67-67=0']
Exploring Operation: 20*0=0, Resulting Numbers: [30, 0]
Generated Node #0,1,0: 30:[30, 0] Operation: 20*0=0
Moving to Node #0,1,0
Current State: 30:[30, 0], Operations: ['67-67=0', '20*0=0']
Exploring Operation: 30+0=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
88,
55,
22,
10
] | 29 | [
"55*10=550",
"88+550=638",
"638/22=29"
] | Current State: 29:[88, 55, 22, 10], Operations: []
Exploring Operation: 55*10=550, Resulting Numbers: [88, 22, 550]
Generated Node #2: [88, 22, 550] from Operation: 55*10=550
Current State: 29:[88, 22, 550], Operations: ['55*10=550']
Exploring Operation: 88+550=638, Resulting Numbers: [22, 638]
Generated Node #3: [22, 638] from Operation: 88+550=638
Current State: 29:[22, 638], Operations: ['55*10=550', '88+550=638']
Exploring Operation: 638/22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[88, 55, 22, 10], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [22, 10, 33]
Generated Node #0,0: 29:[22, 10, 33] Operation: 88-55=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[22, 10, 33], Operations: ['88-55=33']
Exploring Operation: 22+10=32, Resulting Numbers: [33, 32]
Generated Node #0,0,0: 29:[33, 32] Operation: 22+10=32
Moving to Node #0,0,0
Current State: 29:[33, 32], Operations: ['88-55=33', '22+10=32']
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,29 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,
88,
89,
88
] | 89 | [
"88-88=0",
"7*0=0",
"89+0=89"
] | Current State: 89:[7, 88, 89, 88], Operations: []
Exploring Operation: 88-88=0, Resulting Numbers: [7, 89, 0]
Generated Node #2: [7, 89, 0] from Operation: 88-88=0
Current State: 89:[7, 89, 0], Operations: ['88-88=0']
Exploring Operation: 7*0=0, Resulting Numbers: [89, 0]
Generated Node #3: [89, 0] from Operation: 7*0=0
Current State: 89:[89, 0], Operations: ['88-88=0', '7*0=0']
Exploring Operation: 89+0=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 88, 89, 88], Operations: []
Exploring Operation: 7+89=96, Resulting Numbers: [88, 88, 96]
Generated Node #0,0: 89:[88, 88, 96] Operation: 7+89=96
Exploring Operation: 88-7=81, Resulting Numbers: [89, 88, 81]
Generated Node #0,1: 89:[89, 88, 81] Operation: 88-7=81
Exploring Operation: 7+88=95, Resulting Numbers: [88, 89, 95]
Generated Node #0,2: 89:[88, 89, 95] Operation: 7+88=95
Exploring Operation: 7+88=95, Resulting Numbers: [89, 88, 95]
Generated Node #0,3: 89:[89, 88, 95] Operation: 7+88=95
Exploring Operation: 89-7=82, Resulting Numbers: [88, 88, 82]
Generated Node #0,4: 89:[88, 88, 82] Operation: 89-7=82
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[88, 89, 95], Operations: ['7+88=95']
Exploring Operation: 88+95=183, Resulting Numbers: [89, 183]
Generated Node #0,2,0: 89:[89, 183] Operation: 88+95=183
Exploring Operation: 95-88=7, Resulting Numbers: [89, 7]
Generated Node #0,2,1: 89:[89, 7] Operation: 95-88=7
Exploring Operation: 88+89=177, Resulting Numbers: [95, 177]
Generated Node #0,2,2: 89:[95, 177] Operation: 88+89=177
Exploring Operation: 89-88=1, Resulting Numbers: [95, 1]
Generated Node #0,2,3: 89:[95, 1] Operation: 89-88=1
Exploring Operation: 95-89=6, Resulting Numbers: [88, 6]
Generated Node #0,2,4: 89:[88, 6] Operation: 95-89=6
Moving to Node #0,2,1
Current State: 89:[89, 7], Operations: ['7+88=95', '95-88=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[88, 6], Operations: ['7+88=95', '95-89=6']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[89, 183], Operations: ['7+88=95', '88+95=183']
Exploring Operation: 89*183=16287, Resulting Numbers: [16287]
16287,89 unequal: No Solution
Exploring Operation: 183-89=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 89+183=272, Resulting Numbers: [272]
272,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[95, 177], Operations: ['7+88=95', '88+89=177']
Exploring Operation: 177-95=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 95+177=272, Resulting Numbers: [272]
272,89 unequal: No Solution
Exploring Operation: 95*177=16815, Resulting Numbers: [16815]
16815,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[95, 1], Operations: ['7+88=95', '89-88=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,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
Current State: 89:[89, 88, 95], Operations: ['7+88=95']
Exploring Operation: 95-88=7, Resulting Numbers: [89, 7]
Generated Node #0,3,0: 89:[89, 7] Operation: 95-88=7
Exploring Operation: 89+88=177, Resulting Numbers: [95, 177]
Generated Node #0,3,1: 89:[95, 177] Operation: 89+88=177
Exploring Operation: 89-88=1, Resulting Numbers: [95, 1]
Generated Node #0,3,2: 89:[95, 1] Operation: 89-88=1
Exploring Operation: 95-89=6, Resulting Numbers: [88, 6]
Generated Node #0,3,3: 89:[88, 6] Operation: 95-89=6
Exploring Operation: 88+95=183, Resulting Numbers: [89, 183]
Generated Node #0,3,4: 89:[89, 183] Operation: 88+95=183
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 89:[89, 7], Operations: ['7+88=95', '95-88=7']
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,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,3,3
Current State: 89:[88, 6], Operations: ['7+88=95', '95-89=6']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,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,3,1
Current State: 89:[95, 177], Operations: ['7+88=95', '89+88=177']
Exploring Operation: 95*177=16815, Resulting Numbers: [16815]
16815,89 unequal: No Solution
Exploring Operation: 177-95=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 95+177=272, Resulting Numbers: [272]
272,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,3,2
Current State: 89:[95, 1], Operations: ['7+88=95', '89-88=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,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,3,4
Current State: 89:[89, 183], Operations: ['7+88=95', '88+95=183']
Exploring Operation: 89*183=16287, Resulting Numbers: [16287]
16287,89 unequal: No Solution
Exploring Operation: 183-89=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 89+183=272, Resulting Numbers: [272]
272,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,0
Current State: 89:[88, 88, 96], Operations: ['7+89=96']
Exploring Operation: 96-88=8, Resulting Numbers: [88, 8]
Generated Node #0,0,0: 89:[88, 8] Operation: 96-88=8
Exploring Operation: 88-88=0, Resulting Numbers: [96, 0]
Generated Node #0,0,1: 89:[96, 0] Operation: 88-88=0
Exploring Operation: 96-88=8, Resulting Numbers: [88, 8]
Generated Node #0,0,2: 89:[88, 8] Operation: 96-88=8
Exploring Operation: 88+88=176, Resulting Numbers: [96, 176]
Generated Node #0,0,3: 89:[96, 176] Operation: 88+88=176
Exploring Operation: 88/88=1, Resulting Numbers: [96, 1]
Generated Node #0,0,4: 89:[96, 1] Operation: 88/88=1
Moving to Node #0,0,0
Current State: 89:[88, 8], Operations: ['7+89=96', '96-88=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[88, 8], Operations: ['7+89=96', '96-88=8']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,89 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[96, 176], Operations: ['7+89=96', '88+88=176']
Exploring Operation: 96+176=272, Resulting Numbers: [272]
272,89 unequal: No Solution
Exploring Operation: 96*176=16896, Resulting Numbers: [16896]
16896,89 unequal: No Solution
Exploring Operation: 176-96=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[96, 1], Operations: ['7+89=96', '88/88=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[96, 0], Operations: ['7+89=96', '88-88=0']
Exploring Operation: 96*0=0, Resulting Numbers: [0]
0,89 unequal: No Solution
Exploring Operation: 96-0=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,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,1
Current State: 89:[89, 88, 81], Operations: ['88-7=81']
Exploring Operation: 88+81=169, Resulting Numbers: [89, 169]
Generated Node #0,1,0: 89:[89, 169] Operation: 88+81=169
Exploring Operation: 89-81=8, Resulting Numbers: [88, 8]
Generated Node #0,1,1: 89:[88, 8] Operation: 89-81=8
Exploring Operation: 89+88=177, Resulting Numbers: [81, 177]
Generated Node #0,1,2: 89:[81, 177] Operation: 89+88=177
Exploring Operation: 88-81=7, Resulting Numbers: [89, 7]
Generated Node #0,1,3: 89:[89, 7] Operation: 88-81=7
Exploring Operation: 89+81=170, Resulting Numbers: [88, 170]
Generated Node #0,1,4: 89:[88, 170] Operation: 89+81=170
Moving to Node #0,1,0
Current State: 89:[89, 169], Operations: ['88-7=81', '88+81=169']
Exploring Operation: 169-89=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 89+169=258, Resulting Numbers: [258]
258,89 unequal: No Solution
Exploring Operation: 89*169=15041, Resulting Numbers: [15041]
15041,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[89, 7], Operations: ['88-7=81', '88-81=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 89+7=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 89*7=623, Resulting Numbers: [623]
623,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[88, 8], Operations: ['88-7=81', '89-81=8']
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,89 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,89 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[88, 170], Operations: ['88-7=81', '89+81=170']
Exploring Operation: 88+170=258, Resulting Numbers: [258]
258,89 unequal: No Solution
Exploring Operation: 88*170=14960, Resulting Numbers: [14960]
14960,89 unequal: No Solution
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[81, 177], Operations: ['88-7=81', '89+88=177']
Exploring Operation: 81*177=14337, Resulting Numbers: [14337]
14337,89 unequal: No Solution
Exploring Operation: 81+177=258, Resulting Numbers: [258]
258,89 unequal: No Solution
Exploring Operation: 177-81=96, Resulting Numbers: [96]
96,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,4
Current State: 89:[88, 88, 82], Operations: ['89-7=82']
Exploring Operation: 88-82=6, Resulting Numbers: [88, 6]
Generated Node #0,4,0: 89:[88, 6] Operation: 88-82=6
Exploring Operation: 88-82=6, Resulting Numbers: [88, 6]
Generated Node #0,4,1: 89:[88, 6] Operation: 88-82=6
Exploring Operation: 88+82=170, Resulting Numbers: [88, 170]
Generated Node #0,4,2: 89:[88, 170] Operation: 88+82=170
Exploring Operation: 88+82=170, Resulting Numbers: [88, 170]
Generated Node #0,4,3: 89:[88, 170] Operation: 88+82=170
Exploring Operation: 88+88=176, Resulting Numbers: [82, 176]
Generated Node #0,4,4: 89:[82, 176] Operation: 88+88=176
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 89:[88, 170], Operations: ['89-7=82', '88+82=170']
Exploring Operation: 88*170=14960, Resulting Numbers: [14960]
14960,89 unequal: No Solution
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 88+170=258, Resulting Numbers: [258]
258,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,4,3
Current State: 89:[88, 170], Operations: ['89-7=82', '88+82=170']
Exploring Operation: 88*170=14960, Resulting Numbers: [14960]
14960,89 unequal: No Solution
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 88+170=258, Resulting Numbers: [258]
258,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,4,0
Current State: 89:[88, 6], Operations: ['89-7=82', '88-82=6']
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,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,4,1
Current State: 89:[88, 6], Operations: ['89-7=82', '88-82=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,89 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,89 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,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,4,4
Current State: 89:[82, 176], Operations: ['89-7=82', '88+88=176']
Exploring Operation: 82+176=258, Resulting Numbers: [258]
258,89 unequal: No Solution
Exploring Operation: 82*176=14432, Resulting Numbers: [14432]
14432,89 unequal: No Solution
Exploring Operation: 176-82=94, Resulting Numbers: [94]
94,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
81,
58,
13
] | 56 | [
"81-55=26",
"26/13=2",
"58-2=56"
] | Current State: 56:[55, 81, 58, 13], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [58, 13, 26]
Generated Node #2: [58, 13, 26] from Operation: 81-55=26
Current State: 56:[58, 13, 26], Operations: ['81-55=26']
Exploring Operation: 26/13=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 26/13=2
Current State: 56:[58, 2], Operations: ['81-55=26', '26/13=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[55, 81, 58, 13], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [55, 13, 23]
Generated Node #0,0: 56:[55, 13, 23] Operation: 81-58=23
Exploring Operation: 81-55=26, Resulting Numbers: [58, 13, 26]
Generated Node #0,1: 56:[58, 13, 26] Operation: 81-55=26
Moving to Node #0,1
Current State: 56:[58, 13, 26], Operations: ['81-55=26']
Exploring Operation: 26-13=13, Resulting Numbers: [58, 13]
Generated Node #0,1,0: 56:[58, 13] Operation: 26-13=13
Exploring Operation: 26/13=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 56:[58, 2] Operation: 26/13=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[58, 2], Operations: ['81-55=26', '26/13=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[55, 81, 58, 13], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [58, 13, 26]
Generated Node #0,1: 56:[58, 13, 26] Operation: 81-55=26
Moving to Node #0,1
Current State: 56:[58, 13, 26], Operations: ['81-55=26']
Exploring Operation: 26/13=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 56:[58, 2] Operation: 26/13=2
Moving to Node #0,1,1
Current State: 56:[58, 2], Operations: ['81-55=26', '26/13=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
15,
36,
16,
18
] | 42 | [
"36-15=21",
"18-16=2",
"21*2=42"
] | Current State: 42:[15, 36, 16, 18], Operations: []
Exploring Operation: 36-15=21, Resulting Numbers: [16, 18, 21]
Generated Node #2: [16, 18, 21] from Operation: 36-15=21
Current State: 42:[16, 18, 21], Operations: ['36-15=21']
Exploring Operation: 18-16=2, Resulting Numbers: [21, 2]
Generated Node #3: [21, 2] from Operation: 18-16=2
Current State: 42:[21, 2], Operations: ['36-15=21', '18-16=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[15, 36, 16, 18], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [15, 18, 20]
Generated Node #0,0: 42:[15, 18, 20] Operation: 36-16=20
Exploring Operation: 36/18=2, Resulting Numbers: [15, 16, 2]
Generated Node #0,1: 42:[15, 16, 2] Operation: 36/18=2
Exploring Operation: 36-15=21, Resulting Numbers: [16, 18, 21]
Generated Node #0,2: 42:[16, 18, 21] Operation: 36-15=21
Moving to Node #0,1
Current State: 42:[15, 16, 2], Operations: ['36/18=2']
Exploring Operation: 16-15=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 42:[2, 1] Operation: 16-15=1
Exploring Operation: 16/2=8, Resulting Numbers: [15, 8]
Generated Node #0,1,1: 42:[15, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [15, 14]
Generated Node #0,1,2: 42:[15, 14] Operation: 16-2=14
Moving to Node #0,0
Current State: 42:[15, 18, 20], Operations: ['36-16=20']
Exploring Operation: 20-15=5, Resulting Numbers: [18, 5]
Generated Node #0,0,0: 42:[18, 5] Operation: 20-15=5
Exploring Operation: 20-18=2, Resulting Numbers: [15, 2]
Generated Node #0,0,1: 42:[15, 2] Operation: 20-18=2
Exploring Operation: 18-15=3, Resulting Numbers: [20, 3]
Generated Node #0,0,2: 42:[20, 3] Operation: 18-15=3
Moving to Node #0,2
Current State: 42:[16, 18, 21], Operations: ['36-15=21']
Exploring Operation: 21-16=5, Resulting Numbers: [18, 5]
Generated Node #0,2,0: 42:[18, 5] Operation: 21-16=5
Exploring Operation: 21-18=3, Resulting Numbers: [16, 3]
Generated Node #0,2,1: 42:[16, 3] Operation: 21-18=3
Exploring Operation: 18-16=2, Resulting Numbers: [21, 2]
Generated Node #0,2,2: 42:[21, 2] Operation: 18-16=2
Moving to Node #0,2,2
Current State: 42:[21, 2], Operations: ['36-15=21', '18-16=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[15, 36, 16, 18], Operations: []
Exploring Operation: 36-15=21, Resulting Numbers: [16, 18, 21]
Generated Node #0,2: 42:[16, 18, 21] Operation: 36-15=21
Moving to Node #0,2
Current State: 42:[16, 18, 21], Operations: ['36-15=21']
Exploring Operation: 18-16=2, Resulting Numbers: [21, 2]
Generated Node #0,2,2: 42:[21, 2] Operation: 18-16=2
Moving to Node #0,2,2
Current State: 42:[21, 2], Operations: ['36-15=21', '18-16=2']
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
92,
50,
97,
39
] | 55 | [
"97-92=5",
"50-39=11",
"5*11=55"
] | Current State: 55:[92, 50, 97, 39], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [50, 39, 5]
Generated Node #2: [50, 39, 5] from Operation: 97-92=5
Current State: 55:[50, 39, 5], Operations: ['97-92=5']
Exploring Operation: 50-39=11, Resulting Numbers: [5, 11]
Generated Node #3: [5, 11] from Operation: 50-39=11
Current State: 55:[5, 11], Operations: ['97-92=5', '50-39=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[92, 50, 97, 39], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [50, 39, 5]
Generated Node #0,0: 55:[50, 39, 5] Operation: 97-92=5
Moving to Node #0,0
Current State: 55:[50, 39, 5], Operations: ['97-92=5']
Exploring Operation: 50-39=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 50-39=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['97-92=5', '50-39=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[92, 50, 97, 39], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [50, 39, 5]
Generated Node #0,0: 55:[50, 39, 5] Operation: 97-92=5
Moving to Node #0,0
Current State: 55:[50, 39, 5], Operations: ['97-92=5']
Exploring Operation: 50-39=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 55:[5, 11] Operation: 50-39=11
Moving to Node #0,0,0
Current State: 55:[5, 11], Operations: ['97-92=5', '50-39=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
35,
55,
8,
50
] | 11 | [
"55+50=105",
"105/35=3",
"8+3=11"
] | Current State: 11:[35, 55, 8, 50], Operations: []
Exploring Operation: 55+50=105, Resulting Numbers: [35, 8, 105]
Generated Node #2: [35, 8, 105] from Operation: 55+50=105
Current State: 11:[35, 8, 105], Operations: ['55+50=105']
Exploring Operation: 105/35=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 105/35=3
Current State: 11:[8, 3], Operations: ['55+50=105', '105/35=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[35, 55, 8, 50], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [8, 50, 20]
Generated Node #0,0: 11:[8, 50, 20] Operation: 55-35=20
Exploring Operation: 50-35=15, Resulting Numbers: [55, 8, 15]
Generated Node #0,1: 11:[55, 8, 15] Operation: 50-35=15
Exploring Operation: 35-8=27, Resulting Numbers: [55, 50, 27]
Generated Node #0,2: 11:[55, 50, 27] Operation: 35-8=27
Exploring Operation: 55-50=5, Resulting Numbers: [35, 8, 5]
Generated Node #0,3: 11:[35, 8, 5] Operation: 55-50=5
Moving to Node #0,3
Current State: 11:[35, 8, 5], Operations: ['55-50=5']
Exploring Operation: 8+5=13, Resulting Numbers: [35, 13]
Generated Node #0,3,0: 11:[35, 13] Operation: 8+5=13
Exploring Operation: 35-8=27, Resulting Numbers: [5, 27]
Generated Node #0,3,1: 11:[5, 27] Operation: 35-8=27
Exploring Operation: 35-5=30, Resulting Numbers: [8, 30]
Generated Node #0,3,2: 11:[8, 30] Operation: 35-5=30
Exploring Operation: 35/5=7, Resulting Numbers: [8, 7]
Generated Node #0,3,3: 11:[8, 7] Operation: 35/5=7
Moving to Node #0,1
Current State: 11:[55, 8, 15], Operations: ['50-35=15']
Exploring Operation: 55+8=63, Resulting Numbers: [15, 63]
Generated Node #0,1,0: 11:[15, 63] Operation: 55+8=63
Exploring Operation: 15-8=7, Resulting Numbers: [55, 7]
Generated Node #0,1,1: 11:[55, 7] Operation: 15-8=7
Exploring Operation: 55-15=40, Resulting Numbers: [8, 40]
Generated Node #0,1,2: 11:[8, 40] Operation: 55-15=40
Exploring Operation: 55-8=47, Resulting Numbers: [15, 47]
Generated Node #0,1,3: 11:[15, 47] Operation: 55-8=47
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[8, 40], Operations: ['50-35=15', '55-15=40']
Exploring Operation: 8*40=320, Resulting Numbers: [320]
320,11 unequal: No Solution
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[15, 47], Operations: ['50-35=15', '55-8=47']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 15*47=705, Resulting Numbers: [705]
705,11 unequal: No Solution
Exploring Operation: 15+47=62, Resulting Numbers: [62]
62,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[55, 7], Operations: ['50-35=15', '15-8=7']
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[15, 63], Operations: ['50-35=15', '55+8=63']
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,11 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,11 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: 11:[8, 50, 20], Operations: ['55-35=20']
Exploring Operation: 20-8=12, Resulting Numbers: [50, 12]
Generated Node #0,0,0: 11:[50, 12] Operation: 20-8=12
Exploring Operation: 8+50=58, Resulting Numbers: [20, 58]
Generated Node #0,0,1: 11:[20, 58] Operation: 8+50=58
Exploring Operation: 50-8=42, Resulting Numbers: [20, 42]
Generated Node #0,0,2: 11:[20, 42] Operation: 50-8=42
Exploring Operation: 50-20=30, Resulting Numbers: [8, 30]
Generated Node #0,0,3: 11:[8, 30] Operation: 50-20=30
Moving to Node #0,2
Current State: 11:[55, 50, 27], Operations: ['35-8=27']
Exploring Operation: 55-27=28, Resulting Numbers: [50, 28]
Generated Node #0,2,0: 11:[50, 28] Operation: 55-27=28
Exploring Operation: 55-50=5, Resulting Numbers: [27, 5]
Generated Node #0,2,1: 11:[27, 5] Operation: 55-50=5
Exploring Operation: 55+50=105, Resulting Numbers: [27, 105]
Generated Node #0,2,2: 11:[27, 105] Operation: 55+50=105
Exploring Operation: 50-27=23, Resulting Numbers: [55, 23]
Generated Node #0,2,3: 11:[55, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[27, 5], Operations: ['35-8=27', '55-50=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[50, 28], Operations: ['35-8=27', '55-27=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,11 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,11 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 11:[55, 23], Operations: ['35-8=27', '50-27=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,11 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[27, 105], Operations: ['35-8=27', '55+50=105']
Exploring Operation: 27*105=2835, Resulting Numbers: [2835]
2835,11 unequal: No Solution
Exploring Operation: 27+105=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Exploring Operation: 105-27=78, Resulting Numbers: [78]
78,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 11:[8, 7], Operations: ['55-50=5', '35/5=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[8, 30], Operations: ['55-50=5', '35-5=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,11 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[5, 27], Operations: ['55-50=5', '35-8=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,11 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[8, 30], Operations: ['55-35=20', '50-20=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,11 unequal: No Solution
Moving to Node #0,3,0
Current State: 11:[35, 13], Operations: ['55-50=5', '8+5=13']
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,11 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[20, 42], Operations: ['55-35=20', '50-8=42']
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,11 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[50, 12], Operations: ['55-35=20', '20-8=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,11 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[20, 58], Operations: ['55-35=20', '8+50=58']
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,11 unequal: No Solution
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,11 unequal: No Solution
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,11 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
3,
39,
32,
38
] | 35 | [
"3+32=35",
"39-38=1",
"35*1=35"
] | Current State: 35:[3, 39, 32, 38], Operations: []
Exploring Operation: 3+32=35, Resulting Numbers: [39, 38, 35]
Generated Node #2: [39, 38, 35] from Operation: 3+32=35
Current State: 35:[39, 38, 35], Operations: ['3+32=35']
Exploring Operation: 39-38=1, Resulting Numbers: [35, 1]
Generated Node #3: [35, 1] from Operation: 39-38=1
Current State: 35:[35, 1], Operations: ['3+32=35', '39-38=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[3, 39, 32, 38], Operations: []
Exploring Operation: 39-3=36, Resulting Numbers: [32, 38, 36]
Generated Node #0,0: 35:[32, 38, 36] Operation: 39-3=36
Exploring Operation: 39-32=7, Resulting Numbers: [3, 38, 7]
Generated Node #0,1: 35:[3, 38, 7] Operation: 39-32=7
Moving to Node #0,1
Current State: 35:[3, 38, 7], Operations: ['39-32=7']
Exploring Operation: 7-3=4, Resulting Numbers: [38, 4]
Generated Node #0,1,0: 35:[38, 4] Operation: 7-3=4
Exploring Operation: 38-3=35, Resulting Numbers: [7, 35]
Generated Node #0,1,1: 35:[7, 35] Operation: 38-3=35
Moving to Node #0,0
Current State: 35:[32, 38, 36], Operations: ['39-3=36']
Exploring Operation: 38-32=6, Resulting Numbers: [36, 6]
Generated Node #0,0,0: 35:[36, 6] Operation: 38-32=6
Exploring Operation: 36-32=4, Resulting Numbers: [38, 4]
Generated Node #0,0,1: 35:[38, 4] Operation: 36-32=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[36, 6], Operations: ['39-3=36', '38-32=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[38, 4], Operations: ['39-3=36', '36-32=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,35 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: 35:[7, 35], Operations: ['39-32=7', '38-3=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[38, 4], Operations: ['39-32=7', '7-3=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,35 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,35 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
88,
16,
50
] | 29 | [
"7+88=95",
"16+50=66",
"95-66=29"
] | Current State: 29:[7, 88, 16, 50], Operations: []
Exploring Operation: 7+88=95, Resulting Numbers: [16, 50, 95]
Generated Node #2: [16, 50, 95] from Operation: 7+88=95
Current State: 29:[16, 50, 95], Operations: ['7+88=95']
Exploring Operation: 16+50=66, Resulting Numbers: [95, 66]
Generated Node #3: [95, 66] from Operation: 16+50=66
Current State: 29:[95, 66], Operations: ['7+88=95', '16+50=66']
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[7, 88, 16, 50], Operations: []
Exploring Operation: 88-16=72, Resulting Numbers: [7, 50, 72]
Generated Node #0,0: 29:[7, 50, 72] Operation: 88-16=72
Exploring Operation: 7+16=23, Resulting Numbers: [88, 50, 23]
Generated Node #0,1: 29:[88, 50, 23] Operation: 7+16=23
Exploring Operation: 50-7=43, Resulting Numbers: [88, 16, 43]
Generated Node #0,2: 29:[88, 16, 43] Operation: 50-7=43
Exploring Operation: 88-50=38, Resulting Numbers: [7, 16, 38]
Generated Node #0,3: 29:[7, 16, 38] Operation: 88-50=38
Exploring Operation: 88-7=81, Resulting Numbers: [16, 50, 81]
Generated Node #0,4: 29:[16, 50, 81] Operation: 88-7=81
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[7, 16, 38], Operations: ['88-50=38']
Exploring Operation: 38-16=22, Resulting Numbers: [7, 22]
Generated Node #0,3,0: 29:[7, 22] Operation: 38-16=22
Exploring Operation: 7+38=45, Resulting Numbers: [16, 45]
Generated Node #0,3,1: 29:[16, 45] Operation: 7+38=45
Exploring Operation: 38-7=31, Resulting Numbers: [16, 31]
Generated Node #0,3,2: 29:[16, 31] Operation: 38-7=31
Exploring Operation: 16-7=9, Resulting Numbers: [38, 9]
Generated Node #0,3,3: 29:[38, 9] Operation: 16-7=9
Exploring Operation: 7+16=23, Resulting Numbers: [38, 23]
Generated Node #0,3,4: 29:[38, 23] Operation: 7+16=23
Moving to Node #0,3,2
Current State: 29:[16, 31], Operations: ['88-50=38', '38-7=31']
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,29 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[38, 23], Operations: ['88-50=38', '7+16=23']
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,29 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[7, 22], Operations: ['88-50=38', '38-16=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[7, 88, 16, 50], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [7, 16, 38]
Generated Node #0,3: 29:[7, 16, 38] Operation: 88-50=38
Moving to Node #0,3
Current State: 29:[7, 16, 38], Operations: ['88-50=38']
Exploring Operation: 38-16=22, Resulting Numbers: [7, 22]
Generated Node #0,3,0: 29:[7, 22] Operation: 38-16=22
Moving to Node #0,3,0
Current State: 29:[7, 22], Operations: ['88-50=38', '38-16=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
69,
59,
7,
35
] | 86 | [
"69+59=128",
"7+35=42",
"128-42=86"
] | Current State: 86:[69, 59, 7, 35], Operations: []
Exploring Operation: 69+59=128, Resulting Numbers: [7, 35, 128]
Generated Node #2: [7, 35, 128] from Operation: 69+59=128
Current State: 86:[7, 35, 128], Operations: ['69+59=128']
Exploring Operation: 7+35=42, Resulting Numbers: [128, 42]
Generated Node #3: [128, 42] from Operation: 7+35=42
Current State: 86:[128, 42], Operations: ['69+59=128', '7+35=42']
Exploring Operation: 128-42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[69, 59, 7, 35], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [7, 35, 10]
Generated Node #0,0: 86:[7, 35, 10] Operation: 69-59=10
Exploring Operation: 69-35=34, Resulting Numbers: [59, 7, 34]
Generated Node #0,1: 86:[59, 7, 34] Operation: 69-35=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[7, 35, 10], Operations: ['69-59=10']
Exploring Operation: 7+35=42, Resulting Numbers: [10, 42]
Generated Node #0,0,0: 86:[10, 42] Operation: 7+35=42
Exploring Operation: 35+10=45, Resulting Numbers: [7, 45]
Generated Node #0,0,1: 86:[7, 45] Operation: 35+10=45
Moving to Node #0,0,1
Current State: 86:[7, 45], Operations: ['69-59=10', '35+10=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[10, 42], Operations: ['69-59=10', '7+35=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[59, 7, 34], Operations: ['69-35=34']
Exploring Operation: 59+34=93, Resulting Numbers: [7, 93]
Generated Node #0,1,0: 86:[7, 93] Operation: 59+34=93
Exploring Operation: 59-7=52, Resulting Numbers: [34, 52]
Generated Node #0,1,1: 86:[34, 52] Operation: 59-7=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[7, 93], Operations: ['69-35=34', '59+34=93']
Exploring Operation: 7+93=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[69, 59, 7, 35], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [59, 7, 34]
Generated Node #0,1: 86:[59, 7, 34] Operation: 69-35=34
Moving to Node #0,1
Current State: 86:[59, 7, 34], Operations: ['69-35=34']
Exploring Operation: 59+34=93, Resulting Numbers: [7, 93]
Generated Node #0,1,0: 86:[7, 93] Operation: 59+34=93
Moving to Node #0,1,0
Current State: 86:[7, 93], Operations: ['69-35=34', '59+34=93']
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
59,
4,
10,
82
] | 82 | [
"82-59=23",
"4*23=92",
"92-10=82"
] | Current State: 82:[59, 4, 10, 82], Operations: []
Exploring Operation: 82-59=23, Resulting Numbers: [4, 10, 23]
Generated Node #2: [4, 10, 23] from Operation: 82-59=23
Current State: 82:[4, 10, 23], Operations: ['82-59=23']
Exploring Operation: 4*23=92, Resulting Numbers: [10, 92]
Generated Node #3: [10, 92] from Operation: 4*23=92
Current State: 82:[10, 92], Operations: ['82-59=23', '4*23=92']
Exploring Operation: 92-10=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[59, 4, 10, 82], Operations: []
Exploring Operation: 59+10=69, Resulting Numbers: [4, 82, 69]
Generated Node #0,0: 82:[4, 82, 69] Operation: 59+10=69
Exploring Operation: 4*10=40, Resulting Numbers: [59, 82, 40]
Generated Node #0,1: 82:[59, 82, 40] Operation: 4*10=40
Exploring Operation: 59-10=49, Resulting Numbers: [4, 82, 49]
Generated Node #0,2: 82:[4, 82, 49] Operation: 59-10=49
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[4, 82, 49], Operations: ['59-10=49']
Exploring Operation: 82-49=33, Resulting Numbers: [4, 33]
Generated Node #0,2,0: 82:[4, 33] Operation: 82-49=33
Exploring Operation: 49-4=45, Resulting Numbers: [82, 45]
Generated Node #0,2,1: 82:[82, 45] Operation: 49-4=45
Exploring Operation: 4+82=86, Resulting Numbers: [49, 86]
Generated Node #0,2,2: 82:[49, 86] Operation: 4+82=86
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[82, 45], Operations: ['59-10=49', '49-4=45']
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,82 unequal: No Solution
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[4, 33], Operations: ['59-10=49', '82-49=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,82 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,82 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 82:[49, 86], Operations: ['59-10=49', '4+82=86']
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,82 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,82 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[4, 82, 69], Operations: ['59+10=69']
Exploring Operation: 4+69=73, Resulting Numbers: [82, 73]
Generated Node #0,0,0: 82:[82, 73] Operation: 4+69=73
Exploring Operation: 82-69=13, Resulting Numbers: [4, 13]
Generated Node #0,0,1: 82:[4, 13] Operation: 82-69=13
Exploring Operation: 4+82=86, Resulting Numbers: [69, 86]
Generated Node #0,0,2: 82:[69, 86] Operation: 4+82=86
Moving to Node #0,0,0
Current State: 82:[82, 73], Operations: ['59+10=69', '4+69=73']
Exploring Operation: 82*73=5986, Resulting Numbers: [5986]
5986,82 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 82+73=155, Resulting Numbers: [155]
155,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[4, 13], Operations: ['59+10=69', '82-69=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,82 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[69, 86], Operations: ['59+10=69', '4+82=86']
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 69*86=5934, Resulting Numbers: [5934]
5934,82 unequal: No Solution
Exploring Operation: 69+86=155, Resulting Numbers: [155]
155,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[59, 82, 40], Operations: ['4*10=40']
Exploring Operation: 59+40=99, Resulting Numbers: [82, 99]
Generated Node #0,1,0: 82:[82, 99] Operation: 59+40=99
Exploring Operation: 59-40=19, Resulting Numbers: [82, 19]
Generated Node #0,1,1: 82:[82, 19] Operation: 59-40=19
Exploring Operation: 82-59=23, Resulting Numbers: [40, 23]
Generated Node #0,1,2: 82:[40, 23] Operation: 82-59=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[82, 99], Operations: ['4*10=40', '59+40=99']
Exploring Operation: 99-82=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 82*99=8118, Resulting Numbers: [8118]
8118,82 unequal: No Solution
Exploring Operation: 82+99=181, Resulting Numbers: [181]
181,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,1,1
Current State: 82:[82, 19], Operations: ['4*10=40', '59-40=19']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,82 unequal: No Solution
Exploring Operation: 82*19=1558, Resulting Numbers: [1558]
1558,82 unequal: No Solution
Exploring Operation: 82+19=101, Resulting Numbers: [101]
101,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 82:[40, 23], Operations: ['4*10=40', '82-59=23']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,82 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,82 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
69,
55,
5
] | 81 | [
"62+69=131",
"55-5=50",
"131-50=81"
] | Current State: 81:[62, 69, 55, 5], Operations: []
Exploring Operation: 62+69=131, Resulting Numbers: [55, 5, 131]
Generated Node #2: [55, 5, 131] from Operation: 62+69=131
Current State: 81:[55, 5, 131], Operations: ['62+69=131']
Exploring Operation: 55-5=50, Resulting Numbers: [131, 50]
Generated Node #3: [131, 50] from Operation: 55-5=50
Current State: 81:[131, 50], Operations: ['62+69=131', '55-5=50']
Exploring Operation: 131-50=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[62, 69, 55, 5], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [55, 5, 7]
Generated Node #0,0: 81:[55, 5, 7] Operation: 69-62=7
Exploring Operation: 62-55=7, Resulting Numbers: [69, 5, 7]
Generated Node #0,1: 81:[69, 5, 7] Operation: 62-55=7
Exploring Operation: 69-55=14, Resulting Numbers: [62, 5, 14]
Generated Node #0,2: 81:[62, 5, 14] Operation: 69-55=14
Exploring Operation: 55/5=11, Resulting Numbers: [62, 69, 11]
Generated Node #0,3: 81:[62, 69, 11] Operation: 55/5=11
Exploring Operation: 62+55=117, Resulting Numbers: [69, 5, 117]
Generated Node #0,4: 81:[69, 5, 117] Operation: 62+55=117
Moving to Node #0,1
Current State: 81:[69, 5, 7], Operations: ['62-55=7']
Exploring Operation: 5+7=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 81:[69, 12] Operation: 5+7=12
Exploring Operation: 7-5=2, Resulting Numbers: [69, 2]
Generated Node #0,1,1: 81:[69, 2] Operation: 7-5=2
Exploring Operation: 69+5=74, Resulting Numbers: [7, 74]
Generated Node #0,1,2: 81:[7, 74] Operation: 69+5=74
Exploring Operation: 69+7=76, Resulting Numbers: [5, 76]
Generated Node #0,1,3: 81:[5, 76] Operation: 69+7=76
Exploring Operation: 69-5=64, Resulting Numbers: [7, 64]
Generated Node #0,1,4: 81:[7, 64] Operation: 69-5=64
Moving to Node #0,2
Current State: 81:[62, 5, 14], Operations: ['69-55=14']
Exploring Operation: 62+5=67, Resulting Numbers: [14, 67]
Generated Node #0,2,0: 81:[14, 67] Operation: 62+5=67
Exploring Operation: 5+14=19, Resulting Numbers: [62, 19]
Generated Node #0,2,1: 81:[62, 19] Operation: 5+14=19
Exploring Operation: 14-5=9, Resulting Numbers: [62, 9]
Generated Node #0,2,2: 81:[62, 9] Operation: 14-5=9
Exploring Operation: 62+14=76, Resulting Numbers: [5, 76]
Generated Node #0,2,3: 81:[5, 76] Operation: 62+14=76
Exploring Operation: 62-14=48, Resulting Numbers: [5, 48]
Generated Node #0,2,4: 81:[5, 48] Operation: 62-14=48
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[5, 76], Operations: ['69-55=14', '62+14=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[62, 69, 55, 5], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [62, 5, 14]
Generated Node #0,2: 81:[62, 5, 14] Operation: 69-55=14
Moving to Node #0,2
Current State: 81:[62, 5, 14], Operations: ['69-55=14']
Exploring Operation: 62+14=76, Resulting Numbers: [5, 76]
Generated Node #0,2,3: 81:[5, 76] Operation: 62+14=76
Moving to Node #0,2,3
Current State: 81:[5, 76], Operations: ['69-55=14', '62+14=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
21,
4,
89,
21
] | 84 | [
"21/21=1",
"89-4=85",
"85-1=84"
] | Current State: 84:[21, 4, 89, 21], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [4, 89, 1]
Generated Node #2: [4, 89, 1] from Operation: 21/21=1
Current State: 84:[4, 89, 1], Operations: ['21/21=1']
Exploring Operation: 89-4=85, Resulting Numbers: [1, 85]
Generated Node #3: [1, 85] from Operation: 89-4=85
Current State: 84:[1, 85], Operations: ['21/21=1', '89-4=85']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[21, 4, 89, 21], Operations: []
Exploring Operation: 89-4=85, Resulting Numbers: [21, 21, 85]
Generated Node #0,0: 84:[21, 21, 85] Operation: 89-4=85
Moving to Node #0,0
Current State: 84:[21, 21, 85], Operations: ['89-4=85']
Exploring Operation: 21+21=42, Resulting Numbers: [85, 42]
Generated Node #0,0,0: 84:[85, 42] Operation: 21+21=42
Moving to Node #0,0,0
Current State: 84:[85, 42], Operations: ['89-4=85', '21+21=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,84 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
82,
55,
74
] | 38 | [
"82-80=2",
"74-55=19",
"2*19=38"
] | Current State: 38:[80, 82, 55, 74], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [55, 74, 2]
Generated Node #2: [55, 74, 2] from Operation: 82-80=2
Current State: 38:[55, 74, 2], Operations: ['82-80=2']
Exploring Operation: 74-55=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 74-55=19
Current State: 38:[2, 19], Operations: ['82-80=2', '74-55=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[80, 82, 55, 74], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [80, 74, 27]
Generated Node #0,0: 38:[80, 74, 27] Operation: 82-55=27
Exploring Operation: 82-80=2, Resulting Numbers: [55, 74, 2]
Generated Node #0,1: 38:[55, 74, 2] Operation: 82-80=2
Exploring Operation: 80-74=6, Resulting Numbers: [82, 55, 6]
Generated Node #0,2: 38:[82, 55, 6] Operation: 80-74=6
Exploring Operation: 80-55=25, Resulting Numbers: [82, 74, 25]
Generated Node #0,3: 38:[82, 74, 25] Operation: 80-55=25
Exploring Operation: 82-74=8, Resulting Numbers: [80, 55, 8]
Generated Node #0,4: 38:[80, 55, 8] Operation: 82-74=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[55, 74, 2], Operations: ['82-80=2']
Exploring Operation: 74-2=72, Resulting Numbers: [55, 72]
Generated Node #0,1,0: 38:[55, 72] Operation: 74-2=72
Exploring Operation: 55-2=53, Resulting Numbers: [74, 53]
Generated Node #0,1,1: 38:[74, 53] Operation: 55-2=53
Exploring Operation: 55+2=57, Resulting Numbers: [74, 57]
Generated Node #0,1,2: 38:[74, 57] Operation: 55+2=57
Exploring Operation: 74/2=37, Resulting Numbers: [55, 37]
Generated Node #0,1,3: 38:[55, 37] Operation: 74/2=37
Exploring Operation: 74-55=19, Resulting Numbers: [2, 19]
Generated Node #0,1,4: 38:[2, 19] Operation: 74-55=19
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 38:[2, 19], Operations: ['82-80=2', '74-55=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[80, 82, 55, 74], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [55, 74, 2]
Generated Node #0,1: 38:[55, 74, 2] Operation: 82-80=2
Moving to Node #0,1
Current State: 38:[55, 74, 2], Operations: ['82-80=2']
Exploring Operation: 74-55=19, Resulting Numbers: [2, 19]
Generated Node #0,1,4: 38:[2, 19] Operation: 74-55=19
Moving to Node #0,1,4
Current State: 38:[2, 19], Operations: ['82-80=2', '74-55=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
5,
2,
17,
72
] | 41 | [
"5-2=3",
"72/3=24",
"17+24=41"
] | Current State: 41:[5, 2, 17, 72], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [17, 72, 3]
Generated Node #2: [17, 72, 3] from Operation: 5-2=3
Current State: 41:[17, 72, 3], Operations: ['5-2=3']
Exploring Operation: 72/3=24, Resulting Numbers: [17, 24]
Generated Node #3: [17, 24] from Operation: 72/3=24
Current State: 41:[17, 24], Operations: ['5-2=3', '72/3=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[5, 2, 17, 72], Operations: []
Exploring Operation: 2*17=34, Resulting Numbers: [5, 72, 34]
Generated Node #0,0: 41:[5, 72, 34] Operation: 2*17=34
Exploring Operation: 5+2=7, Resulting Numbers: [17, 72, 7]
Generated Node #0,1: 41:[17, 72, 7] Operation: 5+2=7
Exploring Operation: 72/2=36, Resulting Numbers: [5, 17, 36]
Generated Node #0,2: 41:[5, 17, 36] Operation: 72/2=36
Exploring Operation: 5*2=10, Resulting Numbers: [17, 72, 10]
Generated Node #0,3: 41:[17, 72, 10] Operation: 5*2=10
Exploring Operation: 5+17=22, Resulting Numbers: [2, 72, 22]
Generated Node #0,4: 41:[2, 72, 22] Operation: 5+17=22
Moving to Node #0,2
Current State: 41:[5, 17, 36], Operations: ['72/2=36']
Exploring Operation: 36-5=31, Resulting Numbers: [17, 31]
Generated Node #0,2,0: 41:[17, 31] Operation: 36-5=31
Exploring Operation: 17+36=53, Resulting Numbers: [5, 53]
Generated Node #0,2,1: 41:[5, 53] Operation: 17+36=53
Exploring Operation: 5+36=41, Resulting Numbers: [17, 41]
Generated Node #0,2,2: 41:[17, 41] Operation: 5+36=41
Exploring Operation: 5+17=22, Resulting Numbers: [36, 22]
Generated Node #0,2,3: 41:[36, 22] Operation: 5+17=22
Exploring Operation: 17-5=12, Resulting Numbers: [36, 12]
Generated Node #0,2,4: 41:[36, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[17, 41], Operations: ['72/2=36', '5+36=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,41 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[36, 22], Operations: ['72/2=36', '5+17=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,41 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[17, 31], Operations: ['72/2=36', '36-5=31']
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,41 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[36, 12], Operations: ['72/2=36', '17-5=12']
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[5, 53], Operations: ['72/2=36', '17+36=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,41 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,41 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: 41:[5, 72, 34], Operations: ['2*17=34']
Exploring Operation: 5+34=39, Resulting Numbers: [72, 39]
Generated Node #0,0,0: 41:[72, 39] Operation: 5+34=39
Exploring Operation: 72-5=67, Resulting Numbers: [34, 67]
Generated Node #0,0,1: 41:[34, 67] Operation: 72-5=67
Exploring Operation: 34-5=29, Resulting Numbers: [72, 29]
Generated Node #0,0,2: 41:[72, 29] Operation: 34-5=29
Exploring Operation: 72-34=38, Resulting Numbers: [5, 38]
Generated Node #0,0,3: 41:[5, 38] Operation: 72-34=38
Exploring Operation: 5+72=77, Resulting Numbers: [34, 77]
Generated Node #0,0,4: 41:[34, 77] Operation: 5+72=77
Moving to Node #0,3
Current State: 41:[17, 72, 10], Operations: ['5*2=10']
Exploring Operation: 17+10=27, Resulting Numbers: [72, 27]
Generated Node #0,3,0: 41:[72, 27] Operation: 17+10=27
Exploring Operation: 72-10=62, Resulting Numbers: [17, 62]
Generated Node #0,3,1: 41:[17, 62] Operation: 72-10=62
Exploring Operation: 72-17=55, Resulting Numbers: [10, 55]
Generated Node #0,3,2: 41:[10, 55] Operation: 72-17=55
Exploring Operation: 72+10=82, Resulting Numbers: [17, 82]
Generated Node #0,3,3: 41:[17, 82] Operation: 72+10=82
Exploring Operation: 17-10=7, Resulting Numbers: [72, 7]
Generated Node #0,3,4: 41:[72, 7] Operation: 17-10=7
Moving to Node #0,1
Current State: 41:[17, 72, 7], Operations: ['5+2=7']
Exploring Operation: 17-7=10, Resulting Numbers: [72, 10]
Generated Node #0,1,0: 41:[72, 10] Operation: 17-7=10
Exploring Operation: 72-7=65, Resulting Numbers: [17, 65]
Generated Node #0,1,1: 41:[17, 65] Operation: 72-7=65
Exploring Operation: 72-17=55, Resulting Numbers: [7, 55]
Generated Node #0,1,2: 41:[7, 55] Operation: 72-17=55
Exploring Operation: 17+7=24, Resulting Numbers: [72, 24]
Generated Node #0,1,3: 41:[72, 24] Operation: 17+7=24
Exploring Operation: 72+7=79, Resulting Numbers: [17, 79]
Generated Node #0,1,4: 41:[17, 79] Operation: 72+7=79
Moving to Node #0,4
Current State: 41:[2, 72, 22], Operations: ['5+17=22']
Exploring Operation: 72-22=50, Resulting Numbers: [2, 50]
Generated Node #0,4,0: 41:[2, 50] Operation: 72-22=50
Exploring Operation: 2+22=24, Resulting Numbers: [72, 24]
Generated Node #0,4,1: 41:[72, 24] Operation: 2+22=24
Exploring Operation: 2*22=44, Resulting Numbers: [72, 44]
Generated Node #0,4,2: 41:[72, 44] Operation: 2*22=44
Exploring Operation: 72-2=70, Resulting Numbers: [22, 70]
Generated Node #0,4,3: 41:[22, 70] Operation: 72-2=70
Exploring Operation: 72/2=36, Resulting Numbers: [22, 36]
Generated Node #0,4,4: 41:[22, 36] Operation: 72/2=36
Moving to Node #0,4,4
Current State: 41:[22, 36], Operations: ['5+17=22', '72/2=36']
Exploring Operation: 22+36=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 22*36=792, Resulting Numbers: [792]
792,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[72, 39], Operations: ['2*17=34', '5+34=39']
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[34, 67], Operations: ['2*17=34', '72-5=67']
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,41 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[72, 44], Operations: ['5+17=22', '2*22=44']
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,41 unequal: No Solution
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,41 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[5, 38], Operations: ['2*17=34', '72-34=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[34, 77], Operations: ['2*17=34', '5+72=77']
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,41 unequal: No Solution
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[72, 29], Operations: ['2*17=34', '34-5=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,41 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[17, 62], Operations: ['5*2=10', '72-10=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 17*62=1054, Resulting Numbers: [1054]
1054,41 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[72, 27], Operations: ['5*2=10', '17+10=27']
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,41 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[10, 55], Operations: ['5*2=10', '72-17=55']
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,41 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Moving to Node #0,1,3
Current State: 41:[72, 24], Operations: ['5+2=7', '17+7=24']
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[7, 55], Operations: ['5+2=7', '72-17=55']
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,41 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[17, 65], Operations: ['5+2=7', '72-7=65']
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[22, 70], Operations: ['5+17=22', '72-2=70']
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,41 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[2, 50], Operations: ['5+17=22', '72-22=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[72, 24], Operations: ['5+17=22', '2+22=24']
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,1,4
Current State: 41:[17, 79], Operations: ['5+2=7', '72+7=79']
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,41 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[72, 10], Operations: ['5+2=7', '17-7=10']
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,41 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[17, 82], Operations: ['5*2=10', '72+10=82']
Exploring Operation: 17+82=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 17*82=1394, Resulting Numbers: [1394]
1394,41 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Moving to Node #0,3,4
Current State: 41:[72, 7], Operations: ['5*2=10', '17-10=7']
Exploring Operation: 72*7=504, Resulting Numbers: [504]
504,41 unequal: No Solution
Exploring Operation: 72+7=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
5,
37,
41
] | 22 | [
"90/5=18",
"41-37=4",
"18+4=22"
] | Current State: 22:[90, 5, 37, 41], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [37, 41, 18]
Generated Node #2: [37, 41, 18] from Operation: 90/5=18
Current State: 22:[37, 41, 18], Operations: ['90/5=18']
Exploring Operation: 41-37=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 41-37=4
Current State: 22:[18, 4], Operations: ['90/5=18', '41-37=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[90, 5, 37, 41], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [37, 41, 18]
Generated Node #0,0: 22:[37, 41, 18] Operation: 90/5=18
Moving to Node #0,0
Current State: 22:[37, 41, 18], Operations: ['90/5=18']
Exploring Operation: 41-37=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 22:[18, 4] Operation: 41-37=4
Moving to Node #0,0,0
Current State: 22:[18, 4], Operations: ['90/5=18', '41-37=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[90, 5, 37, 41], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [37, 41, 18]
Generated Node #0,0: 22:[37, 41, 18] Operation: 90/5=18
Moving to Node #0,0
Current State: 22:[37, 41, 18], Operations: ['90/5=18']
Exploring Operation: 41-37=4, Resulting Numbers: [18, 4]
Generated Node #0,0,0: 22:[18, 4] Operation: 41-37=4
Moving to Node #0,0,0
Current State: 22:[18, 4], Operations: ['90/5=18', '41-37=4']
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
19,
16,
67,
33
] | 97 | [
"19-16=3",
"67+33=100",
"100-3=97"
] | Current State: 97:[19, 16, 67, 33], Operations: []
Exploring Operation: 19-16=3, Resulting Numbers: [67, 33, 3]
Generated Node #2: [67, 33, 3] from Operation: 19-16=3
Current State: 97:[67, 33, 3], Operations: ['19-16=3']
Exploring Operation: 67+33=100, Resulting Numbers: [3, 100]
Generated Node #3: [3, 100] from Operation: 67+33=100
Current State: 97:[3, 100], Operations: ['19-16=3', '67+33=100']
Exploring Operation: 100-3=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[19, 16, 67, 33], Operations: []
Exploring Operation: 16+33=49, Resulting Numbers: [19, 67, 49]
Generated Node #0,0: 97:[19, 67, 49] Operation: 16+33=49
Exploring Operation: 16+67=83, Resulting Numbers: [19, 33, 83]
Generated Node #0,1: 97:[19, 33, 83] Operation: 16+67=83
Exploring Operation: 19+67=86, Resulting Numbers: [16, 33, 86]
Generated Node #0,2: 97:[16, 33, 86] Operation: 19+67=86
Exploring Operation: 19+33=52, Resulting Numbers: [16, 67, 52]
Generated Node #0,3: 97:[16, 67, 52] Operation: 19+33=52
Exploring Operation: 19+16=35, Resulting Numbers: [67, 33, 35]
Generated Node #0,4: 97:[67, 33, 35] Operation: 19+16=35
Moving to Node #0,0
Current State: 97:[19, 67, 49], Operations: ['16+33=49']
Exploring Operation: 49-19=30, Resulting Numbers: [67, 30]
Generated Node #0,0,0: 97:[67, 30] Operation: 49-19=30
Exploring Operation: 67-19=48, Resulting Numbers: [49, 48]
Generated Node #0,0,1: 97:[49, 48] Operation: 67-19=48
Exploring Operation: 19+49=68, Resulting Numbers: [67, 68]
Generated Node #0,0,2: 97:[67, 68] Operation: 19+49=68
Exploring Operation: 67+49=116, Resulting Numbers: [19, 116]
Generated Node #0,0,3: 97:[19, 116] Operation: 67+49=116
Exploring Operation: 19+67=86, Resulting Numbers: [49, 86]
Generated Node #0,0,4: 97:[49, 86] Operation: 19+67=86
Moving to Node #0,2
Current State: 97:[16, 33, 86], Operations: ['19+67=86']
Exploring Operation: 33-16=17, Resulting Numbers: [86, 17]
Generated Node #0,2,0: 97:[86, 17] Operation: 33-16=17
Exploring Operation: 86-16=70, Resulting Numbers: [33, 70]
Generated Node #0,2,1: 97:[33, 70] Operation: 86-16=70
Exploring Operation: 33+86=119, Resulting Numbers: [16, 119]
Generated Node #0,2,2: 97:[16, 119] Operation: 33+86=119
Exploring Operation: 16+86=102, Resulting Numbers: [33, 102]
Generated Node #0,2,3: 97:[33, 102] Operation: 16+86=102
Exploring Operation: 16+33=49, Resulting Numbers: [86, 49]
Generated Node #0,2,4: 97:[86, 49] Operation: 16+33=49
Moving to Node #0,4
Current State: 97:[67, 33, 35], Operations: ['19+16=35']
Exploring Operation: 67-33=34, Resulting Numbers: [35, 34]
Generated Node #0,4,0: 97:[35, 34] Operation: 67-33=34
Exploring Operation: 67+35=102, Resulting Numbers: [33, 102]
Generated Node #0,4,1: 97:[33, 102] Operation: 67+35=102
Exploring Operation: 33+35=68, Resulting Numbers: [67, 68]
Generated Node #0,4,2: 97:[67, 68] Operation: 33+35=68
Exploring Operation: 67+33=100, Resulting Numbers: [35, 100]
Generated Node #0,4,3: 97:[35, 100] Operation: 67+33=100
Exploring Operation: 35-33=2, Resulting Numbers: [67, 2]
Generated Node #0,4,4: 97:[67, 2] Operation: 35-33=2
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 97:[67, 68], Operations: ['19+16=35', '33+35=68']
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,97 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 97:[35, 100], Operations: ['19+16=35', '67+33=100']
Exploring Operation: 35+100=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 35*100=3500, Resulting Numbers: [3500]
3500,97 unequal: No Solution
Exploring Operation: 100-35=65, Resulting Numbers: [65]
65,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 97:[33, 102], Operations: ['19+16=35', '67+35=102']
Exploring Operation: 33*102=3366, Resulting Numbers: [3366]
3366,97 unequal: No Solution
Exploring Operation: 33+102=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 97:[35, 34], Operations: ['19+16=35', '67-33=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 97:[67, 2], Operations: ['19+16=35', '35-33=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,97 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,97 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: 97:[19, 33, 83], Operations: ['16+67=83']
Exploring Operation: 33-19=14, Resulting Numbers: [83, 14]
Generated Node #0,1,0: 97:[83, 14] Operation: 33-19=14
Exploring Operation: 19+33=52, Resulting Numbers: [83, 52]
Generated Node #0,1,1: 97:[83, 52] Operation: 19+33=52
Exploring Operation: 33+83=116, Resulting Numbers: [19, 116]
Generated Node #0,1,2: 97:[19, 116] Operation: 33+83=116
Exploring Operation: 19+83=102, Resulting Numbers: [33, 102]
Generated Node #0,1,3: 97:[33, 102] Operation: 19+83=102
Exploring Operation: 83-19=64, Resulting Numbers: [33, 64]
Generated Node #0,1,4: 97:[33, 64] Operation: 83-19=64
Moving to Node #0,3
Current State: 97:[16, 67, 52], Operations: ['19+33=52']
Exploring Operation: 52-16=36, Resulting Numbers: [67, 36]
Generated Node #0,3,0: 97:[67, 36] Operation: 52-16=36
Exploring Operation: 67+52=119, Resulting Numbers: [16, 119]
Generated Node #0,3,1: 97:[16, 119] Operation: 67+52=119
Exploring Operation: 16+67=83, Resulting Numbers: [52, 83]
Generated Node #0,3,2: 97:[52, 83] Operation: 16+67=83
Exploring Operation: 16+52=68, Resulting Numbers: [67, 68]
Generated Node #0,3,3: 97:[67, 68] Operation: 16+52=68
Exploring Operation: 67-16=51, Resulting Numbers: [52, 51]
Generated Node #0,3,4: 97:[52, 51] Operation: 67-16=51
Moving to Node #0,0,2
Current State: 97:[67, 68], Operations: ['16+33=49', '19+49=68']
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,97 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Moving to Node #0,2,4
Current State: 97:[86, 49], Operations: ['19+67=86', '16+33=49']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 86+49=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 86*49=4214, Resulting Numbers: [4214]
4214,97 unequal: No Solution
Moving to Node #0,0,4
Current State: 97:[49, 86], Operations: ['16+33=49', '19+67=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[83, 52], Operations: ['16+67=83', '19+33=52']
Exploring Operation: 83+52=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 83*52=4316, Resulting Numbers: [4316]
4316,97 unequal: No Solution
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[52, 83], Operations: ['19+33=52', '16+67=83']
Exploring Operation: 83-52=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 52+83=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 52*83=4316, Resulting Numbers: [4316]
4316,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[67, 68], Operations: ['19+33=52', '16+52=68']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[33, 102], Operations: ['19+67=86', '16+86=102']
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 33*102=3366, Resulting Numbers: [3366]
3366,97 unequal: No Solution
Exploring Operation: 33+102=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[33, 102], Operations: ['16+67=83', '19+83=102']
Exploring Operation: 33+102=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 33*102=3366, Resulting Numbers: [3366]
3366,97 unequal: No Solution
Exploring Operation: 102-33=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Moving to Node #0,3,4
Current State: 97:[52, 51], Operations: ['19+33=52', '67-16=51']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 52*51=2652, Resulting Numbers: [2652]
2652,97 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[33, 70], Operations: ['19+67=86', '86-16=70']
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,97 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,97 unequal: No Solution
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[67, 36], Operations: ['19+33=52', '52-16=36']
Exploring Operation: 67+36=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 67*36=2412, Resulting Numbers: [2412]
2412,97 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[86, 17], Operations: ['19+67=86', '33-16=17']
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,97 unequal: No Solution
Moving to Node #0,1,4
Current State: 97:[33, 64], Operations: ['16+67=83', '83-19=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,97 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[19, 16, 67, 33], Operations: []
Exploring Operation: 16+67=83, Resulting Numbers: [19, 33, 83]
Generated Node #0,1: 97:[19, 33, 83] Operation: 16+67=83
Moving to Node #0,1
Current State: 97:[19, 33, 83], Operations: ['16+67=83']
Exploring Operation: 83-19=64, Resulting Numbers: [33, 64]
Generated Node #0,1,4: 97:[33, 64] Operation: 83-19=64
Moving to Node #0,1,4
Current State: 97:[33, 64], Operations: ['16+67=83', '83-19=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.923611 | hs_5 | sum_heuristic |
[
41,
18,
42,
61
] | 84 | [
"41+18=59",
"61-59=2",
"42*2=84"
] | Current State: 84:[41, 18, 42, 61], Operations: []
Exploring Operation: 41+18=59, Resulting Numbers: [42, 61, 59]
Generated Node #2: [42, 61, 59] from Operation: 41+18=59
Current State: 84:[42, 61, 59], Operations: ['41+18=59']
Exploring Operation: 61-59=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 61-59=2
Current State: 84:[42, 2], Operations: ['41+18=59', '61-59=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[41, 18, 42, 61], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [41, 42, 43]
Generated Node #0,0: 84:[41, 42, 43] Operation: 61-18=43
Moving to Node #0,0
Current State: 84:[41, 42, 43], Operations: ['61-18=43']
Exploring Operation: 41+43=84, Resulting Numbers: [42, 84]
Generated Node #0,0,0: 84:[42, 84] Operation: 41+43=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[42, 84], Operations: ['61-18=43', '41+43=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,84 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 |
[
54,
6,
45,
26
] | 79 | [
"54+6=60",
"45-26=19",
"60+19=79"
] | Current State: 79:[54, 6, 45, 26], Operations: []
Exploring Operation: 54+6=60, Resulting Numbers: [45, 26, 60]
Generated Node #2: [45, 26, 60] from Operation: 54+6=60
Current State: 79:[45, 26, 60], Operations: ['54+6=60']
Exploring Operation: 45-26=19, Resulting Numbers: [60, 19]
Generated Node #3: [60, 19] from Operation: 45-26=19
Current State: 79:[60, 19], Operations: ['54+6=60', '45-26=19']
Exploring Operation: 60+19=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[54, 6, 45, 26], Operations: []
Exploring Operation: 6+45=51, Resulting Numbers: [54, 26, 51]
Generated Node #0,0: 79:[54, 26, 51] Operation: 6+45=51
Exploring Operation: 54+6=60, Resulting Numbers: [45, 26, 60]
Generated Node #0,1: 79:[45, 26, 60] Operation: 54+6=60
Exploring Operation: 6+26=32, Resulting Numbers: [54, 45, 32]
Generated Node #0,2: 79:[54, 45, 32] Operation: 6+26=32
Moving to Node #0,0
Current State: 79:[54, 26, 51], Operations: ['6+45=51']
Exploring Operation: 54-26=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 79:[51, 28] Operation: 54-26=28
Exploring Operation: 26+51=77, Resulting Numbers: [54, 77]
Generated Node #0,0,1: 79:[54, 77] Operation: 26+51=77
Exploring Operation: 54+26=80, Resulting Numbers: [51, 80]
Generated Node #0,0,2: 79:[51, 80] Operation: 54+26=80
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[54, 77], Operations: ['6+45=51', '26+51=77']
Exploring Operation: 54+77=131, Resulting Numbers: [131]
131,79 unequal: No Solution
Exploring Operation: 54*77=4158, Resulting Numbers: [4158]
4158,79 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[51, 80], Operations: ['6+45=51', '54+26=80']
Exploring Operation: 51*80=4080, Resulting Numbers: [4080]
4080,79 unequal: No Solution
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,79 unequal: No Solution
Exploring Operation: 51+80=131, Resulting Numbers: [131]
131,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[51, 28], Operations: ['6+45=51', '54-26=28']
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,79 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[54, 6, 45, 26], Operations: []
Exploring Operation: 6+45=51, Resulting Numbers: [54, 26, 51]
Generated Node #0,0: 79:[54, 26, 51] Operation: 6+45=51
Moving to Node #0,0
Current State: 79:[54, 26, 51], Operations: ['6+45=51']
Exploring Operation: 54-26=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 79:[51, 28] Operation: 54-26=28
Moving to Node #0,0,0
Current State: 79:[51, 28], Operations: ['6+45=51', '54-26=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
60,
60,
24,
80
] | 70 | [
"60*60=3600",
"3600/24=150",
"150-80=70"
] | Current State: 70:[60, 60, 24, 80], Operations: []
Exploring Operation: 60*60=3600, Resulting Numbers: [24, 80, 3600]
Generated Node #2: [24, 80, 3600] from Operation: 60*60=3600
Current State: 70:[24, 80, 3600], Operations: ['60*60=3600']
Exploring Operation: 3600/24=150, Resulting Numbers: [80, 150]
Generated Node #3: [80, 150] from Operation: 3600/24=150
Current State: 70:[80, 150], Operations: ['60*60=3600', '3600/24=150']
Exploring Operation: 150-80=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[60, 60, 24, 80], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [24, 80, 1]
Generated Node #0,0: 70:[24, 80, 1] Operation: 60/60=1
Moving to Node #0,0
Current State: 70:[24, 80, 1], Operations: ['60/60=1']
Exploring Operation: 80-24=56, Resulting Numbers: [1, 56]
Generated Node #0,0,0: 70:[1, 56] Operation: 80-24=56
Moving to Node #0,0,0
Current State: 70:[1, 56], Operations: ['60/60=1', '80-24=56']
Exploring Operation: 1+56=57, Resulting Numbers: [57]
57,70 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
59,
63,
7,
75
] | 64 | [
"63-59=4",
"75-7=68",
"68-4=64"
] | Current State: 64:[59, 63, 7, 75], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [7, 75, 4]
Generated Node #2: [7, 75, 4] from Operation: 63-59=4
Current State: 64:[7, 75, 4], Operations: ['63-59=4']
Exploring Operation: 75-7=68, Resulting Numbers: [4, 68]
Generated Node #3: [4, 68] from Operation: 75-7=68
Current State: 64:[4, 68], Operations: ['63-59=4', '75-7=68']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[59, 63, 7, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [59, 7, 12]
Generated Node #0,0: 64:[59, 7, 12] Operation: 75-63=12
Exploring Operation: 75-59=16, Resulting Numbers: [63, 7, 16]
Generated Node #0,1: 64:[63, 7, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[63, 7, 16], Operations: ['75-59=16']
Exploring Operation: 63/7=9, Resulting Numbers: [16, 9]
Generated Node #0,1,0: 64:[16, 9] Operation: 63/7=9
Exploring Operation: 16-7=9, Resulting Numbers: [63, 9]
Generated Node #0,1,1: 64:[63, 9] Operation: 16-7=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[16, 9], Operations: ['75-59=16', '63/7=9']
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,64 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,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:[63, 9], Operations: ['75-59=16', '16-7=9']
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[59, 7, 12], Operations: ['75-63=12']
Exploring Operation: 12-7=5, Resulting Numbers: [59, 5]
Generated Node #0,0,0: 64:[59, 5] Operation: 12-7=5
Exploring Operation: 59+7=66, Resulting Numbers: [12, 66]
Generated Node #0,0,1: 64:[12, 66] Operation: 59+7=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[59, 5], Operations: ['75-63=12', '12-7=5']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[59, 63, 7, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [59, 7, 12]
Generated Node #0,0: 64:[59, 7, 12] Operation: 75-63=12
Moving to Node #0,0
Current State: 64:[59, 7, 12], Operations: ['75-63=12']
Exploring Operation: 12-7=5, Resulting Numbers: [59, 5]
Generated Node #0,0,0: 64:[59, 5] Operation: 12-7=5
Moving to Node #0,0,0
Current State: 64:[59, 5], Operations: ['75-63=12', '12-7=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
1,
84,
25,
81
] | 100 | [
"1+84=85",
"85-81=4",
"25*4=100"
] | Current State: 100:[1, 84, 25, 81], Operations: []
Exploring Operation: 1+84=85, Resulting Numbers: [25, 81, 85]
Generated Node #2: [25, 81, 85] from Operation: 1+84=85
Current State: 100:[25, 81, 85], Operations: ['1+84=85']
Exploring Operation: 85-81=4, Resulting Numbers: [25, 4]
Generated Node #3: [25, 4] from Operation: 85-81=4
Current State: 100:[25, 4], Operations: ['1+84=85', '85-81=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[1, 84, 25, 81], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [1, 25, 3]
Generated Node #0,0: 100:[1, 25, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 100:[1, 25, 3], Operations: ['84-81=3']
Exploring Operation: 1+3=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 1+3=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['84-81=3', '1+3=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[1, 84, 25, 81], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [1, 25, 3]
Generated Node #0,0: 100:[1, 25, 3] Operation: 84-81=3
Moving to Node #0,0
Current State: 100:[1, 25, 3], Operations: ['84-81=3']
Exploring Operation: 1+3=4, Resulting Numbers: [25, 4]
Generated Node #0,0,0: 100:[25, 4] Operation: 1+3=4
Moving to Node #0,0,0
Current State: 100:[25, 4], Operations: ['84-81=3', '1+3=4']
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
23,
13,
12
] | 13 | [
"35-23=12",
"13+12=25",
"25-12=13"
] | Current State: 13:[35, 23, 13, 12], Operations: []
Exploring Operation: 35-23=12, Resulting Numbers: [13, 12, 12]
Generated Node #2: [13, 12, 12] from Operation: 35-23=12
Current State: 13:[13, 12, 12], Operations: ['35-23=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,13 equal: Goal Reached
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[35, 23, 13, 12], Operations: []
Exploring Operation: 35-13=22, Resulting Numbers: [23, 12, 22]
Generated Node #0,0: 13:[23, 12, 22] Operation: 35-13=22
Exploring Operation: 35-12=23, Resulting Numbers: [23, 13, 23]
Generated Node #0,1: 13:[23, 13, 23] Operation: 35-12=23
Exploring Operation: 23-12=11, Resulting Numbers: [35, 13, 11]
Generated Node #0,2: 13:[35, 13, 11] Operation: 23-12=11
Exploring Operation: 35-23=12, Resulting Numbers: [13, 12, 12]
Generated Node #0,3: 13:[13, 12, 12] Operation: 35-23=12
Moving to Node #0,3
Current State: 13:[13, 12, 12], Operations: ['35-23=12']
Exploring Operation: 13+12=25, Resulting Numbers: [12, 25]
Generated Node #0,3,0: 13:[12, 25] Operation: 13+12=25
Exploring Operation: 12/12=1, Resulting Numbers: [13, 1]
Generated Node #0,3,1: 13:[13, 1] Operation: 12/12=1
Exploring Operation: 13-12=1, Resulting Numbers: [12, 1]
Generated Node #0,3,2: 13:[12, 1] Operation: 13-12=1
Exploring Operation: 12+12=24, Resulting Numbers: [13, 24]
Generated Node #0,3,3: 13:[13, 24] Operation: 12+12=24
Moving to Node #0,1
Current State: 13:[23, 13, 23], Operations: ['35-12=23']
Exploring Operation: 23-23=0, Resulting Numbers: [13, 0]
Generated Node #0,1,0: 13:[13, 0] Operation: 23-23=0
Exploring Operation: 23-13=10, Resulting Numbers: [23, 10]
Generated Node #0,1,1: 13:[23, 10] Operation: 23-13=10
Exploring Operation: 23-13=10, Resulting Numbers: [23, 10]
Generated Node #0,1,2: 13:[23, 10] Operation: 23-13=10
Exploring Operation: 23/23=1, Resulting Numbers: [13, 1]
Generated Node #0,1,3: 13:[13, 1] Operation: 23/23=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[13, 1], Operations: ['35-12=23', '23/23=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[35, 23, 13, 12], Operations: []
Exploring Operation: 35-12=23, Resulting Numbers: [23, 13, 23]
Generated Node #0,1: 13:[23, 13, 23] Operation: 35-12=23
Moving to Node #0,1
Current State: 13:[23, 13, 23], Operations: ['35-12=23']
Exploring Operation: 23/23=1, Resulting Numbers: [13, 1]
Generated Node #0,1,3: 13:[13, 1] Operation: 23/23=1
Moving to Node #0,1,3
Current State: 13:[13, 1], Operations: ['35-12=23', '23/23=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
25,
63,
33,
9
] | 63 | [
"33-25=8",
"9-8=1",
"63*1=63"
] | Current State: 63:[25, 63, 33, 9], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [63, 9, 8]
Generated Node #2: [63, 9, 8] from Operation: 33-25=8
Current State: 63:[63, 9, 8], Operations: ['33-25=8']
Exploring Operation: 9-8=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 9-8=1
Current State: 63:[63, 1], Operations: ['33-25=8', '9-8=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[25, 63, 33, 9], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [63, 9, 8]
Generated Node #0,0: 63:[63, 9, 8] Operation: 33-25=8
Exploring Operation: 63/9=7, Resulting Numbers: [25, 33, 7]
Generated Node #0,1: 63:[25, 33, 7] Operation: 63/9=7
Exploring Operation: 25+33=58, Resulting Numbers: [63, 9, 58]
Generated Node #0,2: 63:[63, 9, 58] Operation: 25+33=58
Exploring Operation: 33-9=24, Resulting Numbers: [25, 63, 24]
Generated Node #0,3: 63:[25, 63, 24] Operation: 33-9=24
Exploring Operation: 63-33=30, Resulting Numbers: [25, 9, 30]
Generated Node #0,4: 63:[25, 9, 30] Operation: 63-33=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[63, 9, 8], Operations: ['33-25=8']
Exploring Operation: 63+8=71, Resulting Numbers: [9, 71]
Generated Node #0,0,0: 63:[9, 71] Operation: 63+8=71
Exploring Operation: 63-8=55, Resulting Numbers: [9, 55]
Generated Node #0,0,1: 63:[9, 55] Operation: 63-8=55
Exploring Operation: 9+8=17, Resulting Numbers: [63, 17]
Generated Node #0,0,2: 63:[63, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [63, 1]
Generated Node #0,0,3: 63:[63, 1] Operation: 9-8=1
Exploring Operation: 63/9=7, Resulting Numbers: [8, 7]
Generated Node #0,0,4: 63:[8, 7] Operation: 63/9=7
Moving to Node #0,0,4
Current State: 63:[8, 7], Operations: ['33-25=8', '63/9=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,63 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,63 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[63, 1], Operations: ['33-25=8', '9-8=1']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[25, 63, 33, 9], Operations: []
Exploring Operation: 33-25=8, Resulting Numbers: [63, 9, 8]
Generated Node #0,0: 63:[63, 9, 8] Operation: 33-25=8
Moving to Node #0,0
Current State: 63:[63, 9, 8], Operations: ['33-25=8']
Exploring Operation: 9-8=1, Resulting Numbers: [63, 1]
Generated Node #0,0,3: 63:[63, 1] Operation: 9-8=1
Moving to Node #0,0,3
Current State: 63:[63, 1], Operations: ['33-25=8', '9-8=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
18,
96,
4,
21
] | 36 | [
"21-18=3",
"96/3=32",
"4+32=36"
] | Current State: 36:[18, 96, 4, 21], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [96, 4, 3]
Generated Node #2: [96, 4, 3] from Operation: 21-18=3
Current State: 36:[96, 4, 3], Operations: ['21-18=3']
Exploring Operation: 96/3=32, Resulting Numbers: [4, 32]
Generated Node #3: [4, 32] from Operation: 96/3=32
Current State: 36:[4, 32], Operations: ['21-18=3', '96/3=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[18, 96, 4, 21], Operations: []
Exploring Operation: 96-21=75, Resulting Numbers: [18, 4, 75]
Generated Node #0,0: 36:[18, 4, 75] Operation: 96-21=75
Exploring Operation: 96/4=24, Resulting Numbers: [18, 21, 24]
Generated Node #0,1: 36:[18, 21, 24] Operation: 96/4=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[18, 21, 24], Operations: ['96/4=24']
Exploring Operation: 24-21=3, Resulting Numbers: [18, 3]
Generated Node #0,1,0: 36:[18, 3] Operation: 24-21=3
Exploring Operation: 24-18=6, Resulting Numbers: [21, 6]
Generated Node #0,1,1: 36:[21, 6] Operation: 24-18=6
Moving to Node #0,1,0
Current State: 36:[18, 3], Operations: ['96/4=24', '24-21=3']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[21, 6], Operations: ['96/4=24', '24-18=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[18, 4, 75], Operations: ['96-21=75']
Exploring Operation: 75-18=57, Resulting Numbers: [4, 57]
Generated Node #0,0,0: 36:[4, 57] Operation: 75-18=57
Exploring Operation: 75-4=71, Resulting Numbers: [18, 71]
Generated Node #0,0,1: 36:[18, 71] Operation: 75-4=71
Moving to Node #0,0,0
Current State: 36:[4, 57], Operations: ['96-21=75', '75-18=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,36 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[18, 71], Operations: ['96-21=75', '75-4=71']
Exploring Operation: 18+71=89, Resulting Numbers: [89]
89,36 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
85,
28,
33,
2
] | 34 | [
"85*2=170",
"33-28=5",
"170/5=34"
] | Current State: 34:[85, 28, 33, 2], Operations: []
Exploring Operation: 85*2=170, Resulting Numbers: [28, 33, 170]
Generated Node #2: [28, 33, 170] from Operation: 85*2=170
Current State: 34:[28, 33, 170], Operations: ['85*2=170']
Exploring Operation: 33-28=5, Resulting Numbers: [170, 5]
Generated Node #3: [170, 5] from Operation: 33-28=5
Current State: 34:[170, 5], Operations: ['85*2=170', '33-28=5']
Exploring Operation: 170/5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[85, 28, 33, 2], Operations: []
Exploring Operation: 28/2=14, Resulting Numbers: [85, 33, 14]
Generated Node #0,0: 34:[85, 33, 14] Operation: 28/2=14
Exploring Operation: 33-28=5, Resulting Numbers: [85, 2, 5]
Generated Node #0,1: 34:[85, 2, 5] Operation: 33-28=5
Exploring Operation: 85-33=52, Resulting Numbers: [28, 2, 52]
Generated Node #0,2: 34:[28, 2, 52] Operation: 85-33=52
Exploring Operation: 85-28=57, Resulting Numbers: [33, 2, 57]
Generated Node #0,3: 34:[33, 2, 57] Operation: 85-28=57
Moving to Node #0,2
Current State: 34:[28, 2, 52], Operations: ['85-33=52']
Exploring Operation: 52/2=26, Resulting Numbers: [28, 26]
Generated Node #0,2,0: 34:[28, 26] Operation: 52/2=26
Exploring Operation: 28+2=30, Resulting Numbers: [52, 30]
Generated Node #0,2,1: 34:[52, 30] Operation: 28+2=30
Exploring Operation: 52-28=24, Resulting Numbers: [2, 24]
Generated Node #0,2,2: 34:[2, 24] Operation: 52-28=24
Exploring Operation: 28/2=14, Resulting Numbers: [52, 14]
Generated Node #0,2,3: 34:[52, 14] Operation: 28/2=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[2, 24], Operations: ['85-33=52', '52-28=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[28, 26], Operations: ['85-33=52', '52/2=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,34 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[52, 14], Operations: ['85-33=52', '28/2=14']
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,34 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[52, 30], Operations: ['85-33=52', '28+2=30']
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,34 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,34 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: 34:[33, 2, 57], Operations: ['85-28=57']
Exploring Operation: 33+2=35, Resulting Numbers: [57, 35]
Generated Node #0,3,0: 34:[57, 35] Operation: 33+2=35
Exploring Operation: 33-2=31, Resulting Numbers: [57, 31]
Generated Node #0,3,1: 34:[57, 31] Operation: 33-2=31
Exploring Operation: 57-33=24, Resulting Numbers: [2, 24]
Generated Node #0,3,2: 34:[2, 24] Operation: 57-33=24
Exploring Operation: 57-2=55, Resulting Numbers: [33, 55]
Generated Node #0,3,3: 34:[33, 55] Operation: 57-2=55
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[2, 24], Operations: ['85-28=57', '57-33=24']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[33, 55], Operations: ['85-28=57', '57-2=55']
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,34 unequal: No Solution
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[57, 35], Operations: ['85-28=57', '33+2=35']
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,34 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[57, 31], Operations: ['85-28=57', '33-2=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,34 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,34 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,34 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: 34:[85, 2, 5], Operations: ['33-28=5']
Exploring Operation: 5-2=3, Resulting Numbers: [85, 3]
Generated Node #0,1,0: 34:[85, 3] Operation: 5-2=3
Exploring Operation: 85-2=83, Resulting Numbers: [5, 83]
Generated Node #0,1,1: 34:[5, 83] Operation: 85-2=83
Exploring Operation: 85/5=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 34:[2, 17] Operation: 85/5=17
Exploring Operation: 85-5=80, Resulting Numbers: [2, 80]
Generated Node #0,1,3: 34:[2, 80] Operation: 85-5=80
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[2, 17], Operations: ['33-28=5', '85/5=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[85, 28, 33, 2], Operations: []
Exploring Operation: 33-28=5, Resulting Numbers: [85, 2, 5]
Generated Node #0,1: 34:[85, 2, 5] Operation: 33-28=5
Moving to Node #0,1
Current State: 34:[85, 2, 5], Operations: ['33-28=5']
Exploring Operation: 85/5=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 34:[2, 17] Operation: 85/5=17
Moving to Node #0,1,2
Current State: 34:[2, 17], Operations: ['33-28=5', '85/5=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
36,
56,
56,
24
] | 12 | [
"36+56=92",
"56+24=80",
"92-80=12"
] | Current State: 12:[36, 56, 56, 24], Operations: []
Exploring Operation: 36+56=92, Resulting Numbers: [24, 92]
Generated Node #2: [24, 92] from Operation: 36+56=92
Current State: 12:[24, 92], Operations: ['36+56=92']
Exploring Operation: 56+24=80, Resulting Numbers: [92, 80]
Generated Node #3: [92, 80] from Operation: 56+24=80
Current State: 12:[92, 80], Operations: ['36+56=92', '56+24=80']
Exploring Operation: 92-80=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[36, 56, 56, 24], Operations: []
Exploring Operation: 56-56=0, Resulting Numbers: [36, 24, 0]
Generated Node #0,0: 12:[36, 24, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [36, 24, 1]
Generated Node #0,1: 12:[36, 24, 1] Operation: 56/56=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[36, 24, 1], Operations: ['56/56=1']
Exploring Operation: 36-24=12, Resulting Numbers: [1, 12]
Generated Node #0,1,0: 12:[1, 12] Operation: 36-24=12
Exploring Operation: 36-1=35, Resulting Numbers: [24, 35]
Generated Node #0,1,1: 12:[24, 35] Operation: 36-1=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 12:[1, 12], Operations: ['56/56=1', '36-24=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[36, 56, 56, 24], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [36, 24, 1]
Generated Node #0,1: 12:[36, 24, 1] Operation: 56/56=1
Moving to Node #0,1
Current State: 12:[36, 24, 1], Operations: ['56/56=1']
Exploring Operation: 36-24=12, Resulting Numbers: [1, 12]
Generated Node #0,1,0: 12:[1, 12] Operation: 36-24=12
Moving to Node #0,1,0
Current State: 12:[1, 12], Operations: ['56/56=1', '36-24=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
55,
21,
24,
88
] | 22 | [
"21*88=1848",
"1848/24=77",
"77-55=22"
] | Current State: 22:[55, 21, 24, 88], Operations: []
Exploring Operation: 21*88=1848, Resulting Numbers: [55, 24, 1848]
Generated Node #2: [55, 24, 1848] from Operation: 21*88=1848
Current State: 22:[55, 24, 1848], Operations: ['21*88=1848']
Exploring Operation: 1848/24=77, Resulting Numbers: [55, 77]
Generated Node #3: [55, 77] from Operation: 1848/24=77
Current State: 22:[55, 77], Operations: ['21*88=1848', '1848/24=77']
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[55, 21, 24, 88], Operations: []
Exploring Operation: 88-55=33, Resulting Numbers: [21, 24, 33]
Generated Node #0,0: 22:[21, 24, 33] Operation: 88-55=33
Exploring Operation: 55-24=31, Resulting Numbers: [21, 88, 31]
Generated Node #0,1: 22:[21, 88, 31] Operation: 55-24=31
Moving to Node #0,0
Current State: 22:[21, 24, 33], Operations: ['88-55=33']
Exploring Operation: 33-24=9, Resulting Numbers: [21, 9]
Generated Node #0,0,0: 22:[21, 9] Operation: 33-24=9
Exploring Operation: 33-21=12, Resulting Numbers: [24, 12]
Generated Node #0,0,1: 22:[24, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[21, 9], Operations: ['88-55=33', '33-24=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[24, 12], Operations: ['88-55=33', '33-21=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,22 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: 22:[21, 88, 31], Operations: ['55-24=31']
Exploring Operation: 88-31=57, Resulting Numbers: [21, 57]
Generated Node #0,1,0: 22:[21, 57] Operation: 88-31=57
Exploring Operation: 88-21=67, Resulting Numbers: [31, 67]
Generated Node #0,1,1: 22:[31, 67] Operation: 88-21=67
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[21, 57], Operations: ['55-24=31', '88-31=57']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[31, 67], Operations: ['55-24=31', '88-21=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,22 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,22 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 |
[
36,
21,
95,
13
] | 51 | [
"36+21=57",
"95+13=108",
"108-57=51"
] | Current State: 51:[36, 21, 95, 13], Operations: []
Exploring Operation: 36+21=57, Resulting Numbers: [95, 13, 57]
Generated Node #2: [95, 13, 57] from Operation: 36+21=57
Current State: 51:[95, 13, 57], Operations: ['36+21=57']
Exploring Operation: 95+13=108, Resulting Numbers: [57, 108]
Generated Node #3: [57, 108] from Operation: 95+13=108
Current State: 51:[57, 108], Operations: ['36+21=57', '95+13=108']
Exploring Operation: 108-57=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[36, 21, 95, 13], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [36, 13, 74]
Generated Node #0,0: 51:[36, 13, 74] Operation: 95-21=74
Exploring Operation: 95-36=59, Resulting Numbers: [21, 13, 59]
Generated Node #0,1: 51:[21, 13, 59] Operation: 95-36=59
Exploring Operation: 36+13=49, Resulting Numbers: [21, 95, 49]
Generated Node #0,2: 51:[21, 95, 49] Operation: 36+13=49
Exploring Operation: 36-21=15, Resulting Numbers: [95, 13, 15]
Generated Node #0,3: 51:[95, 13, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[21, 13, 59], Operations: ['95-36=59']
Exploring Operation: 59-13=46, Resulting Numbers: [21, 46]
Generated Node #0,1,0: 51:[21, 46] Operation: 59-13=46
Exploring Operation: 21+13=34, Resulting Numbers: [59, 34]
Generated Node #0,1,1: 51:[59, 34] Operation: 21+13=34
Exploring Operation: 59-21=38, Resulting Numbers: [13, 38]
Generated Node #0,1,2: 51:[13, 38] Operation: 59-21=38
Exploring Operation: 21-13=8, Resulting Numbers: [59, 8]
Generated Node #0,1,3: 51:[59, 8] Operation: 21-13=8
Moving to Node #0,1,0
Current State: 51:[21, 46], Operations: ['95-36=59', '59-13=46']
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,51 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[59, 8], Operations: ['95-36=59', '21-13=8']
Exploring Operation: 59*8=472, Resulting Numbers: [472]
472,51 unequal: No Solution
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,51 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[36, 21, 95, 13], Operations: []
Exploring Operation: 95-36=59, Resulting Numbers: [21, 13, 59]
Generated Node #0,1: 51:[21, 13, 59] Operation: 95-36=59
Moving to Node #0,1
Current State: 51:[21, 13, 59], Operations: ['95-36=59']
Exploring Operation: 21-13=8, Resulting Numbers: [59, 8]
Generated Node #0,1,3: 51:[59, 8] Operation: 21-13=8
Moving to Node #0,1,3
Current State: 51:[59, 8], Operations: ['95-36=59', '21-13=8']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
54,
3,
85,
3
] | 74 | [
"54*3=162",
"85+3=88",
"162-88=74"
] | Current State: 74:[54, 3, 85, 3], Operations: []
Exploring Operation: 54*3=162, Resulting Numbers: [85, 162]
Generated Node #2: [85, 162] from Operation: 54*3=162
Current State: 74:[85, 162], Operations: ['54*3=162']
Exploring Operation: 85+3=88, Resulting Numbers: [162, 88]
Generated Node #3: [162, 88] from Operation: 85+3=88
Current State: 74:[162, 88], Operations: ['54*3=162', '85+3=88']
Exploring Operation: 162-88=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[54, 3, 85, 3], Operations: []
Exploring Operation: 54-3=51, Resulting Numbers: [85, 3, 51]
Generated Node #0,0: 74:[85, 3, 51] Operation: 54-3=51
Exploring Operation: 54-3=51, Resulting Numbers: [3, 85, 51]
Generated Node #0,1: 74:[3, 85, 51] Operation: 54-3=51
Exploring Operation: 85-54=31, Resulting Numbers: [3, 3, 31]
Generated Node #0,2: 74:[3, 3, 31] Operation: 85-54=31
Exploring Operation: 85-3=82, Resulting Numbers: [54, 3, 82]
Generated Node #0,3: 74:[54, 3, 82] Operation: 85-3=82
Moving to Node #0,2
Current State: 74:[3, 3, 31], Operations: ['85-54=31']
Exploring Operation: 3-3=0, Resulting Numbers: [31, 0]
Generated Node #0,2,0: 74:[31, 0] Operation: 3-3=0
Exploring Operation: 3/3=1, Resulting Numbers: [31, 1]
Generated Node #0,2,1: 74:[31, 1] Operation: 3/3=1
Exploring Operation: 3+31=34, Resulting Numbers: [3, 34]
Generated Node #0,2,2: 74:[3, 34] Operation: 3+31=34
Exploring Operation: 3+31=34, Resulting Numbers: [3, 34]
Generated Node #0,2,3: 74:[3, 34] Operation: 3+31=34
Moving to Node #0,1
Current State: 74:[3, 85, 51], Operations: ['54-3=51']
Exploring Operation: 51-3=48, Resulting Numbers: [85, 48]
Generated Node #0,1,0: 74:[85, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [85, 17]
Generated Node #0,1,1: 74:[85, 17] Operation: 51/3=17
Exploring Operation: 85-51=34, Resulting Numbers: [3, 34]
Generated Node #0,1,2: 74:[3, 34] Operation: 85-51=34
Exploring Operation: 85-3=82, Resulting Numbers: [51, 82]
Generated Node #0,1,3: 74:[51, 82] Operation: 85-3=82
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[3, 34], Operations: ['54-3=51', '85-51=34']
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[85, 48], Operations: ['54-3=51', '51-3=48']
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,74 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[51, 82], Operations: ['54-3=51', '85-3=82']
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,74 unequal: No Solution
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[85, 17], Operations: ['54-3=51', '51/3=17']
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[85, 3, 51], Operations: ['54-3=51']
Exploring Operation: 85-3=82, Resulting Numbers: [51, 82]
Generated Node #0,0,0: 74:[51, 82] Operation: 85-3=82
Exploring Operation: 51-3=48, Resulting Numbers: [85, 48]
Generated Node #0,0,1: 74:[85, 48] Operation: 51-3=48
Exploring Operation: 85-51=34, Resulting Numbers: [3, 34]
Generated Node #0,0,2: 74:[3, 34] Operation: 85-51=34
Exploring Operation: 51/3=17, Resulting Numbers: [85, 17]
Generated Node #0,0,3: 74:[85, 17] Operation: 51/3=17
Moving to Node #0,3
Current State: 74:[54, 3, 82], Operations: ['85-3=82']
Exploring Operation: 54/3=18, Resulting Numbers: [82, 18]
Generated Node #0,3,0: 74:[82, 18] Operation: 54/3=18
Exploring Operation: 54-3=51, Resulting Numbers: [82, 51]
Generated Node #0,3,1: 74:[82, 51] Operation: 54-3=51
Exploring Operation: 82-54=28, Resulting Numbers: [3, 28]
Generated Node #0,3,2: 74:[3, 28] Operation: 82-54=28
Exploring Operation: 82-3=79, Resulting Numbers: [54, 79]
Generated Node #0,3,3: 74:[54, 79] Operation: 82-3=79
Moving to Node #0,2,2
Current State: 74:[3, 34], Operations: ['85-54=31', '3+31=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[3, 34], Operations: ['85-54=31', '3+31=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[3, 34], Operations: ['54-3=51', '85-51=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[31, 1], Operations: ['85-54=31', '3/3=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,74 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[31, 0], Operations: ['85-54=31', '3-3=0']
Exploring Operation: 31*0=0, Resulting Numbers: [0]
0,74 unequal: No Solution
Exploring Operation: 31+0=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 31-0=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[3, 28], Operations: ['85-3=82', '82-54=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[85, 48], Operations: ['54-3=51', '51-3=48']
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,74 unequal: No Solution
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[51, 82], Operations: ['54-3=51', '85-3=82']
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[82, 51], Operations: ['85-3=82', '54-3=51']
Exploring Operation: 82*51=4182, Resulting Numbers: [4182]
4182,74 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 82+51=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[54, 79], Operations: ['85-3=82', '82-3=79']
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,74 unequal: No Solution
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[82, 18], Operations: ['85-3=82', '54/3=18']
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,74 unequal: No Solution
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,74 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[85, 17], Operations: ['54-3=51', '51/3=17']
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,74 unequal: No Solution
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,74 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
7,
28,
71
] | 28 | [
"63+7=70",
"71-70=1",
"28*1=28"
] | Current State: 28:[63, 7, 28, 71], Operations: []
Exploring Operation: 63+7=70, Resulting Numbers: [28, 71, 70]
Generated Node #2: [28, 71, 70] from Operation: 63+7=70
Current State: 28:[28, 71, 70], Operations: ['63+7=70']
Exploring Operation: 71-70=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 71-70=1
Current State: 28:[28, 1], Operations: ['63+7=70', '71-70=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[63, 7, 28, 71], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [7, 28, 8]
Generated Node #0,0: 28:[7, 28, 8] Operation: 71-63=8
Exploring Operation: 63-28=35, Resulting Numbers: [7, 71, 35]
Generated Node #0,1: 28:[7, 71, 35] Operation: 63-28=35
Exploring Operation: 71-28=43, Resulting Numbers: [63, 7, 43]
Generated Node #0,2: 28:[63, 7, 43] Operation: 71-28=43
Exploring Operation: 63/7=9, Resulting Numbers: [28, 71, 9]
Generated Node #0,3: 28:[28, 71, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [28, 71, 56]
Generated Node #0,4: 28:[28, 71, 56] Operation: 63-7=56
Moving to Node #0,0
Current State: 28:[7, 28, 8], Operations: ['71-63=8']
Exploring Operation: 7+28=35, Resulting Numbers: [8, 35]
Generated Node #0,0,0: 28:[8, 35] Operation: 7+28=35
Exploring Operation: 7+8=15, Resulting Numbers: [28, 15]
Generated Node #0,0,1: 28:[28, 15] Operation: 7+8=15
Exploring Operation: 8-7=1, Resulting Numbers: [28, 1]
Generated Node #0,0,2: 28:[28, 1] Operation: 8-7=1
Exploring Operation: 28/7=4, Resulting Numbers: [8, 4]
Generated Node #0,0,3: 28:[8, 4] Operation: 28/7=4
Exploring Operation: 28-8=20, Resulting Numbers: [7, 20]
Generated Node #0,0,4: 28:[7, 20] Operation: 28-8=20
Moving to Node #0,3
Current State: 28:[28, 71, 9], Operations: ['63/7=9']
Exploring Operation: 71-28=43, Resulting Numbers: [9, 43]
Generated Node #0,3,0: 28:[9, 43] Operation: 71-28=43
Exploring Operation: 71+9=80, Resulting Numbers: [28, 80]
Generated Node #0,3,1: 28:[28, 80] Operation: 71+9=80
Exploring Operation: 71-9=62, Resulting Numbers: [28, 62]
Generated Node #0,3,2: 28:[28, 62] Operation: 71-9=62
Exploring Operation: 28+9=37, Resulting Numbers: [71, 37]
Generated Node #0,3,3: 28:[71, 37] Operation: 28+9=37
Exploring Operation: 28-9=19, Resulting Numbers: [71, 19]
Generated Node #0,3,4: 28:[71, 19] Operation: 28-9=19
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 28:[9, 43], Operations: ['63/7=9', '71-28=43']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 9*43=387, Resulting Numbers: [387]
387,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 28:[28, 62], Operations: ['63/7=9', '71-9=62']
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,28 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 28:[71, 19], Operations: ['63/7=9', '28-9=19']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 71+19=90, Resulting Numbers: [90]
90,28 unequal: No Solution
Exploring Operation: 71*19=1349, Resulting Numbers: [1349]
1349,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 28:[28, 80], Operations: ['63/7=9', '71+9=80']
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,28 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[71, 37], Operations: ['63/7=9', '28+9=37']
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,28 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 28:[7, 71, 35], Operations: ['63-28=35']
Exploring Operation: 7+71=78, Resulting Numbers: [35, 78]
Generated Node #0,1,0: 28:[35, 78] Operation: 7+71=78
Exploring Operation: 71-35=36, Resulting Numbers: [7, 36]
Generated Node #0,1,1: 28:[7, 36] Operation: 71-35=36
Exploring Operation: 35/7=5, Resulting Numbers: [71, 5]
Generated Node #0,1,2: 28:[71, 5] Operation: 35/7=5
Exploring Operation: 71-7=64, Resulting Numbers: [35, 64]
Generated Node #0,1,3: 28:[35, 64] Operation: 71-7=64
Exploring Operation: 35-7=28, Resulting Numbers: [71, 28]
Generated Node #0,1,4: 28:[71, 28] Operation: 35-7=28
Moving to Node #0,2
Current State: 28:[63, 7, 43], Operations: ['71-28=43']
Exploring Operation: 63+7=70, Resulting Numbers: [43, 70]
Generated Node #0,2,0: 28:[43, 70] Operation: 63+7=70
Exploring Operation: 63-7=56, Resulting Numbers: [43, 56]
Generated Node #0,2,1: 28:[43, 56] Operation: 63-7=56
Exploring Operation: 43-7=36, Resulting Numbers: [63, 36]
Generated Node #0,2,2: 28:[63, 36] Operation: 43-7=36
Exploring Operation: 63-43=20, Resulting Numbers: [7, 20]
Generated Node #0,2,3: 28:[7, 20] Operation: 63-43=20
Exploring Operation: 63/7=9, Resulting Numbers: [43, 9]
Generated Node #0,2,4: 28:[43, 9] Operation: 63/7=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[7, 20], Operations: ['71-28=43', '63-43=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,28 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 28:[43, 9], Operations: ['71-28=43', '63/7=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,28 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[43, 56], Operations: ['71-28=43', '63-7=56']
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,28 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[63, 36], Operations: ['71-28=43', '43-7=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,28 unequal: No Solution
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[43, 70], Operations: ['71-28=43', '63+7=70']
Exploring Operation: 43+70=113, Resulting Numbers: [113]
113,28 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 43*70=3010, Resulting Numbers: [3010]
3010,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 28:[28, 71, 56], Operations: ['63-7=56']
Exploring Operation: 56/28=2, Resulting Numbers: [71, 2]
Generated Node #0,4,0: 28:[71, 2] Operation: 56/28=2
Exploring Operation: 71-56=15, Resulting Numbers: [28, 15]
Generated Node #0,4,1: 28:[28, 15] Operation: 71-56=15
Exploring Operation: 56-28=28, Resulting Numbers: [71, 28]
Generated Node #0,4,2: 28:[71, 28] Operation: 56-28=28
Exploring Operation: 71-28=43, Resulting Numbers: [56, 43]
Generated Node #0,4,3: 28:[56, 43] Operation: 71-28=43
Exploring Operation: 28+71=99, Resulting Numbers: [56, 99]
Generated Node #0,4,4: 28:[56, 99] Operation: 28+71=99
Moving to Node #0,0,1
Current State: 28:[28, 15], Operations: ['71-63=8', '7+8=15']
Exploring Operation: 28*15=420, Resulting Numbers: [420]
420,28 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,28 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[8, 4], Operations: ['71-63=8', '28/7=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[28, 1], Operations: ['71-63=8', '8-7=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[63, 7, 28, 71], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [7, 28, 8]
Generated Node #0,0: 28:[7, 28, 8] Operation: 71-63=8
Moving to Node #0,0
Current State: 28:[7, 28, 8], Operations: ['71-63=8']
Exploring Operation: 8-7=1, Resulting Numbers: [28, 1]
Generated Node #0,0,2: 28:[28, 1] Operation: 8-7=1
Moving to Node #0,0,2
Current State: 28:[28, 1], Operations: ['71-63=8', '8-7=1']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.9375 | hs_5 | sum_heuristic |
[
22,
77,
33,
26
] | 92 | [
"22+77=99",
"33-26=7",
"99-7=92"
] | Current State: 92:[22, 77, 33, 26], Operations: []
Exploring Operation: 22+77=99, Resulting Numbers: [33, 26, 99]
Generated Node #2: [33, 26, 99] from Operation: 22+77=99
Current State: 92:[33, 26, 99], Operations: ['22+77=99']
Exploring Operation: 33-26=7, Resulting Numbers: [99, 7]
Generated Node #3: [99, 7] from Operation: 33-26=7
Current State: 92:[99, 7], Operations: ['22+77=99', '33-26=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[22, 77, 33, 26], Operations: []
Exploring Operation: 77-33=44, Resulting Numbers: [22, 26, 44]
Generated Node #0,0: 92:[22, 26, 44] Operation: 77-33=44
Exploring Operation: 77-26=51, Resulting Numbers: [22, 33, 51]
Generated Node #0,1: 92:[22, 33, 51] Operation: 77-26=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[22, 26, 44], Operations: ['77-33=44']
Exploring Operation: 44/22=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 92:[26, 2] Operation: 44/22=2
Exploring Operation: 26-22=4, Resulting Numbers: [44, 4]
Generated Node #0,0,1: 92:[44, 4] Operation: 26-22=4
Moving to Node #0,0,1
Current State: 92:[44, 4], Operations: ['77-33=44', '26-22=4']
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Moving to Node #0,0,0
Current State: 92:[26, 2], Operations: ['77-33=44', '44/22=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[22, 33, 51], Operations: ['77-26=51']
Exploring Operation: 33+51=84, Resulting Numbers: [22, 84]
Generated Node #0,1,0: 92:[22, 84] Operation: 33+51=84
Exploring Operation: 51-33=18, Resulting Numbers: [22, 18]
Generated Node #0,1,1: 92:[22, 18] Operation: 51-33=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[22, 18], Operations: ['77-26=51', '51-33=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[22, 84], Operations: ['77-26=51', '33+51=84']
Exploring Operation: 22+84=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
6,
5,
37
] | 39 | [
"13-6=7",
"37-5=32",
"7+32=39"
] | Current State: 39:[13, 6, 5, 37], Operations: []
Exploring Operation: 13-6=7, Resulting Numbers: [5, 37, 7]
Generated Node #2: [5, 37, 7] from Operation: 13-6=7
Current State: 39:[5, 37, 7], Operations: ['13-6=7']
Exploring Operation: 37-5=32, Resulting Numbers: [7, 32]
Generated Node #3: [7, 32] from Operation: 37-5=32
Current State: 39:[7, 32], Operations: ['13-6=7', '37-5=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[13, 6, 5, 37], Operations: []
Exploring Operation: 6+37=43, Resulting Numbers: [13, 5, 43]
Generated Node #0,0: 39:[13, 5, 43] Operation: 6+37=43
Exploring Operation: 6+5=11, Resulting Numbers: [13, 37, 11]
Generated Node #0,1: 39:[13, 37, 11] Operation: 6+5=11
Exploring Operation: 6-5=1, Resulting Numbers: [13, 37, 1]
Generated Node #0,2: 39:[13, 37, 1] Operation: 6-5=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[13, 37, 11], Operations: ['6+5=11']
Exploring Operation: 37+11=48, Resulting Numbers: [13, 48]
Generated Node #0,1,0: 39:[13, 48] Operation: 37+11=48
Exploring Operation: 13-11=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 39:[37, 2] Operation: 13-11=2
Exploring Operation: 13+37=50, Resulting Numbers: [11, 50]
Generated Node #0,1,2: 39:[11, 50] Operation: 13+37=50
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[37, 2], Operations: ['6+5=11', '13-11=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[13, 6, 5, 37], Operations: []
Exploring Operation: 6+5=11, Resulting Numbers: [13, 37, 11]
Generated Node #0,1: 39:[13, 37, 11] Operation: 6+5=11
Moving to Node #0,1
Current State: 39:[13, 37, 11], Operations: ['6+5=11']
Exploring Operation: 13-11=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 39:[37, 2] Operation: 13-11=2
Moving to Node #0,1,1
Current State: 39:[37, 2], Operations: ['6+5=11', '13-11=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
14,
78,
79,
5
] | 69 | [
"14*5=70",
"79-78=1",
"70-1=69"
] | Current State: 69:[14, 78, 79, 5], Operations: []
Exploring Operation: 14*5=70, Resulting Numbers: [78, 79, 70]
Generated Node #2: [78, 79, 70] from Operation: 14*5=70
Current State: 69:[78, 79, 70], Operations: ['14*5=70']
Exploring Operation: 79-78=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 79-78=1
Current State: 69:[70, 1], Operations: ['14*5=70', '79-78=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[14, 78, 79, 5], Operations: []
Exploring Operation: 14*5=70, Resulting Numbers: [78, 79, 70]
Generated Node #0,0: 69:[78, 79, 70] Operation: 14*5=70
Exploring Operation: 79-78=1, Resulting Numbers: [14, 5, 1]
Generated Node #0,1: 69:[14, 5, 1] Operation: 79-78=1
Exploring Operation: 14+5=19, Resulting Numbers: [78, 79, 19]
Generated Node #0,2: 69:[78, 79, 19] Operation: 14+5=19
Exploring Operation: 78-14=64, Resulting Numbers: [79, 5, 64]
Generated Node #0,3: 69:[79, 5, 64] Operation: 78-14=64
Exploring Operation: 79-14=65, Resulting Numbers: [78, 5, 65]
Generated Node #0,4: 69:[78, 5, 65] Operation: 79-14=65
Moving to Node #0,1
Current State: 69:[14, 5, 1], Operations: ['79-78=1']
Exploring Operation: 14+5=19, Resulting Numbers: [1, 19]
Generated Node #0,1,0: 69:[1, 19] Operation: 14+5=19
Exploring Operation: 14*5=70, Resulting Numbers: [1, 70]
Generated Node #0,1,1: 69:[1, 70] Operation: 14*5=70
Exploring Operation: 5-1=4, Resulting Numbers: [14, 4]
Generated Node #0,1,2: 69:[14, 4] Operation: 5-1=4
Exploring Operation: 14+1=15, Resulting Numbers: [5, 15]
Generated Node #0,1,3: 69:[5, 15] Operation: 14+1=15
Exploring Operation: 14-5=9, Resulting Numbers: [1, 9]
Generated Node #0,1,4: 69:[1, 9] Operation: 14-5=9
Moving to Node #0,4
Current State: 69:[78, 5, 65], Operations: ['79-14=65']
Exploring Operation: 78-65=13, Resulting Numbers: [5, 13]
Generated Node #0,4,0: 69:[5, 13] Operation: 78-65=13
Exploring Operation: 78+5=83, Resulting Numbers: [65, 83]
Generated Node #0,4,1: 69:[65, 83] Operation: 78+5=83
Exploring Operation: 5+65=70, Resulting Numbers: [78, 70]
Generated Node #0,4,2: 69:[78, 70] Operation: 5+65=70
Exploring Operation: 78-5=73, Resulting Numbers: [65, 73]
Generated Node #0,4,3: 69:[65, 73] Operation: 78-5=73
Exploring Operation: 65-5=60, Resulting Numbers: [78, 60]
Generated Node #0,4,4: 69:[78, 60] Operation: 65-5=60
Moving to Node #0,3
Current State: 69:[79, 5, 64], Operations: ['78-14=64']
Exploring Operation: 79-5=74, Resulting Numbers: [64, 74]
Generated Node #0,3,0: 69:[64, 74] Operation: 79-5=74
Exploring Operation: 64-5=59, Resulting Numbers: [79, 59]
Generated Node #0,3,1: 69:[79, 59] Operation: 64-5=59
Exploring Operation: 79+5=84, Resulting Numbers: [64, 84]
Generated Node #0,3,2: 69:[64, 84] Operation: 79+5=84
Exploring Operation: 79-64=15, Resulting Numbers: [5, 15]
Generated Node #0,3,3: 69:[5, 15] Operation: 79-64=15
Exploring Operation: 5+64=69, Resulting Numbers: [79, 69]
Generated Node #0,3,4: 69:[79, 69] Operation: 5+64=69
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[64, 74], Operations: ['78-14=64', '79-5=74']
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 64+74=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 64*74=4736, Resulting Numbers: [4736]
4736,69 unequal: No Solution
No 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: 69:[5, 15], Operations: ['78-14=64', '79-64=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,69 unequal: No Solution
No 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: 69:[79, 69], Operations: ['78-14=64', '5+64=69']
Exploring Operation: 79+69=148, Resulting Numbers: [148]
148,69 unequal: No Solution
Exploring Operation: 79*69=5451, Resulting Numbers: [5451]
5451,69 unequal: No Solution
Exploring Operation: 79-69=10, Resulting Numbers: [10]
10,69 unequal: No Solution
No 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: 69:[79, 59], Operations: ['78-14=64', '64-5=59']
Exploring Operation: 79+59=138, Resulting Numbers: [138]
138,69 unequal: No Solution
Exploring Operation: 79*59=4661, Resulting Numbers: [4661]
4661,69 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No 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: 69:[64, 84], Operations: ['78-14=64', '79+5=84']
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,69 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,69 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: 69:[78, 79, 70], Operations: ['14*5=70']
Exploring Operation: 78+70=148, Resulting Numbers: [79, 148]
Generated Node #0,0,0: 69:[79, 148] Operation: 78+70=148
Exploring Operation: 78+79=157, Resulting Numbers: [70, 157]
Generated Node #0,0,1: 69:[70, 157] Operation: 78+79=157
Exploring Operation: 79-78=1, Resulting Numbers: [70, 1]
Generated Node #0,0,2: 69:[70, 1] Operation: 79-78=1
Exploring Operation: 79-70=9, Resulting Numbers: [78, 9]
Generated Node #0,0,3: 69:[78, 9] Operation: 79-70=9
Exploring Operation: 78-70=8, Resulting Numbers: [79, 8]
Generated Node #0,0,4: 69:[79, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[70, 1], Operations: ['14*5=70', '79-78=1']
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[14, 78, 79, 5], Operations: []
Exploring Operation: 14*5=70, Resulting Numbers: [78, 79, 70]
Generated Node #0,0: 69:[78, 79, 70] Operation: 14*5=70
Moving to Node #0,0
Current State: 69:[78, 79, 70], Operations: ['14*5=70']
Exploring Operation: 79-78=1, Resulting Numbers: [70, 1]
Generated Node #0,0,2: 69:[70, 1] Operation: 79-78=1
Moving to Node #0,0,2
Current State: 69:[70, 1], Operations: ['14*5=70', '79-78=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
33,
69,
98,
35
] | 98 | [
"69-33=36",
"36-35=1",
"98*1=98"
] | Current State: 98:[33, 69, 98, 35], Operations: []
Exploring Operation: 69-33=36, Resulting Numbers: [98, 35, 36]
Generated Node #2: [98, 35, 36] from Operation: 69-33=36
Current State: 98:[98, 35, 36], Operations: ['69-33=36']
Exploring Operation: 36-35=1, Resulting Numbers: [98, 1]
Generated Node #3: [98, 1] from Operation: 36-35=1
Current State: 98:[98, 1], Operations: ['69-33=36', '36-35=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[33, 69, 98, 35], Operations: []
Exploring Operation: 33+69=102, Resulting Numbers: [98, 35, 102]
Generated Node #0,0: 98:[98, 35, 102] Operation: 33+69=102
Exploring Operation: 35-33=2, Resulting Numbers: [69, 98, 2]
Generated Node #0,1: 98:[69, 98, 2] Operation: 35-33=2
Moving to Node #0,0
Current State: 98:[98, 35, 102], Operations: ['33+69=102']
Exploring Operation: 98-35=63, Resulting Numbers: [102, 63]
Generated Node #0,0,0: 98:[102, 63] Operation: 98-35=63
Exploring Operation: 102-98=4, Resulting Numbers: [35, 4]
Generated Node #0,0,1: 98:[35, 4] Operation: 102-98=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[35, 4], Operations: ['33+69=102', '102-98=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[102, 63], Operations: ['33+69=102', '98-35=63']
Exploring Operation: 102+63=165, Resulting Numbers: [165]
165,98 unequal: No Solution
Exploring Operation: 102-63=39, Resulting Numbers: [39]
39,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 98:[69, 98, 2], Operations: ['35-33=2']
Exploring Operation: 98-69=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 98:[2, 29] Operation: 98-69=29
Exploring Operation: 69-2=67, Resulting Numbers: [98, 67]
Generated Node #0,1,1: 98:[98, 67] Operation: 69-2=67
Moving to Node #0,1,0
Current State: 98:[2, 29], Operations: ['35-33=2', '98-69=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,98 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[98, 67], Operations: ['35-33=2', '69-2=67']
Exploring Operation: 98-67=31, Resulting Numbers: [31]
31,98 unequal: No Solution
Exploring Operation: 98+67=165, Resulting Numbers: [165]
165,98 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
25,
30,
7
] | 99 | [
"46+30=76",
"25*7=175",
"175-76=99"
] | Current State: 99:[46, 25, 30, 7], Operations: []
Exploring Operation: 46+30=76, Resulting Numbers: [25, 7, 76]
Generated Node #2: [25, 7, 76] from Operation: 46+30=76
Current State: 99:[25, 7, 76], Operations: ['46+30=76']
Exploring Operation: 25*7=175, Resulting Numbers: [76, 175]
Generated Node #3: [76, 175] from Operation: 25*7=175
Current State: 99:[76, 175], Operations: ['46+30=76', '25*7=175']
Exploring Operation: 175-76=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[46, 25, 30, 7], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [46, 7, 5]
Generated Node #0,0: 99:[46, 7, 5] Operation: 30-25=5
Exploring Operation: 46-25=21, Resulting Numbers: [30, 7, 21]
Generated Node #0,1: 99:[30, 7, 21] Operation: 46-25=21
Exploring Operation: 46-30=16, Resulting Numbers: [25, 7, 16]
Generated Node #0,2: 99:[25, 7, 16] Operation: 46-30=16
Exploring Operation: 46-7=39, Resulting Numbers: [25, 30, 39]
Generated Node #0,3: 99:[25, 30, 39] Operation: 46-7=39
Moving to Node #0,1
Current State: 99:[30, 7, 21], Operations: ['46-25=21']
Exploring Operation: 30-21=9, Resulting Numbers: [7, 9]
Generated Node #0,1,0: 99:[7, 9] Operation: 30-21=9
Exploring Operation: 21-7=14, Resulting Numbers: [30, 14]
Generated Node #0,1,1: 99:[30, 14] Operation: 21-7=14
Exploring Operation: 21/7=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 99:[30, 3] Operation: 21/7=3
Exploring Operation: 7+21=28, Resulting Numbers: [30, 28]
Generated Node #0,1,3: 99:[30, 28] Operation: 7+21=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[7, 9], Operations: ['46-25=21', '30-21=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,99 unequal: No Solution
No 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: 99:[30, 3], Operations: ['46-25=21', '21/7=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,99 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,99 unequal: No Solution
No 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: 99:[30, 14], Operations: ['46-25=21', '21-7=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,99 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,99 unequal: No Solution
No 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: 99:[30, 28], Operations: ['46-25=21', '7+21=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,99 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,99 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: 99:[25, 7, 16], Operations: ['46-30=16']
Exploring Operation: 16-7=9, Resulting Numbers: [25, 9]
Generated Node #0,2,0: 99:[25, 9] Operation: 16-7=9
Exploring Operation: 25+7=32, Resulting Numbers: [16, 32]
Generated Node #0,2,1: 99:[16, 32] Operation: 25+7=32
Exploring Operation: 25+16=41, Resulting Numbers: [7, 41]
Generated Node #0,2,2: 99:[7, 41] Operation: 25+16=41
Exploring Operation: 25-16=9, Resulting Numbers: [7, 9]
Generated Node #0,2,3: 99:[7, 9] Operation: 25-16=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 99:[7, 9], Operations: ['46-30=16', '25-16=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,99 unequal: No Solution
No 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: 99:[16, 32], Operations: ['46-30=16', '25+7=32']
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,99 unequal: No Solution
No 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: 99:[25, 9], Operations: ['46-30=16', '16-7=9']
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,99 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,99 unequal: No Solution
No 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: 99:[7, 41], Operations: ['46-30=16', '25+16=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,99 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,99 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: 99:[25, 30, 39], Operations: ['46-7=39']
Exploring Operation: 30-25=5, Resulting Numbers: [39, 5]
Generated Node #0,3,0: 99:[39, 5] Operation: 30-25=5
Exploring Operation: 25+30=55, Resulting Numbers: [39, 55]
Generated Node #0,3,1: 99:[39, 55] Operation: 25+30=55
Exploring Operation: 39-25=14, Resulting Numbers: [30, 14]
Generated Node #0,3,2: 99:[30, 14] Operation: 39-25=14
Exploring Operation: 39-30=9, Resulting Numbers: [25, 9]
Generated Node #0,3,3: 99:[25, 9] Operation: 39-30=9
Moving to Node #0,0
Current State: 99:[46, 7, 5], Operations: ['30-25=5']
Exploring Operation: 46-7=39, Resulting Numbers: [5, 39]
Generated Node #0,0,0: 99:[5, 39] Operation: 46-7=39
Exploring Operation: 7+5=12, Resulting Numbers: [46, 12]
Generated Node #0,0,1: 99:[46, 12] Operation: 7+5=12
Exploring Operation: 46-5=41, Resulting Numbers: [7, 41]
Generated Node #0,0,2: 99:[7, 41] Operation: 46-5=41
Exploring Operation: 7-5=2, Resulting Numbers: [46, 2]
Generated Node #0,0,3: 99:[46, 2] Operation: 7-5=2
Moving to Node #0,3,2
Current State: 99:[30, 14], Operations: ['46-7=39', '39-25=14']
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,99 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[25, 9], Operations: ['46-7=39', '39-30=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[39, 5], Operations: ['46-7=39', '30-25=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[5, 39], Operations: ['30-25=5', '46-7=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,99 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[7, 41], Operations: ['30-25=5', '46-5=41']
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,99 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[46, 12], Operations: ['30-25=5', '7+5=12']
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,99 unequal: No Solution
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,99 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[46, 2], Operations: ['30-25=5', '7-5=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,99 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[39, 55], Operations: ['46-7=39', '25+30=55']
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,99 unequal: No Solution
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,99 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,99 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
26,
39,
57,
8
] | 14 | [
"39+57=96",
"96/8=12",
"26-12=14"
] | Current State: 14:[26, 39, 57, 8], Operations: []
Exploring Operation: 39+57=96, Resulting Numbers: [26, 8, 96]
Generated Node #2: [26, 8, 96] from Operation: 39+57=96
Current State: 14:[26, 8, 96], Operations: ['39+57=96']
Exploring Operation: 96/8=12, Resulting Numbers: [26, 12]
Generated Node #3: [26, 12] from Operation: 96/8=12
Current State: 14:[26, 12], Operations: ['39+57=96', '96/8=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[26, 39, 57, 8], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [57, 8, 13]
Generated Node #0,0: 14:[57, 8, 13] Operation: 39-26=13
Exploring Operation: 57-39=18, Resulting Numbers: [26, 8, 18]
Generated Node #0,1: 14:[26, 8, 18] Operation: 57-39=18
Exploring Operation: 57-26=31, Resulting Numbers: [39, 8, 31]
Generated Node #0,2: 14:[39, 8, 31] Operation: 57-26=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[26, 8, 18], Operations: ['57-39=18']
Exploring Operation: 18-8=10, Resulting Numbers: [26, 10]
Generated Node #0,1,0: 14:[26, 10] Operation: 18-8=10
Exploring Operation: 26-8=18, Resulting Numbers: [18, 18]
Generated Node #0,1,1: 14:[18, 18] Operation: 26-8=18
Exploring Operation: 26-18=8, Resulting Numbers: [8, 8]
Generated Node #0,1,2: 14:[8, 8] Operation: 26-18=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 14:[8, 8], Operations: ['57-39=18', '26-18=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No 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: 14:[18, 18], Operations: ['57-39=18', '26-8=18']
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,14 unequal: No Solution
No 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: 14:[26, 10], Operations: ['57-39=18', '18-8=10']
Exploring Operation: 26+10=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 26*10=260, Resulting Numbers: [260]
260,14 unequal: No Solution
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,14 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: 14:[39, 8, 31], Operations: ['57-26=31']
Exploring Operation: 39-8=31, Resulting Numbers: [31, 31]
Generated Node #0,2,0: 14:[31, 31] Operation: 39-8=31
Exploring Operation: 31-8=23, Resulting Numbers: [39, 23]
Generated Node #0,2,1: 14:[39, 23] Operation: 31-8=23
Exploring Operation: 39-31=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 14:[8, 8] Operation: 39-31=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 14:[8, 8], Operations: ['57-26=31', '39-31=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,14 unequal: No Solution
No 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: 14:[31, 31], Operations: ['57-26=31', '39-8=31']
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No 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: 14:[39, 23], Operations: ['57-26=31', '31-8=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,14 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: 14:[57, 8, 13], Operations: ['39-26=13']
Exploring Operation: 13-8=5, Resulting Numbers: [57, 5]
Generated Node #0,0,0: 14:[57, 5] Operation: 13-8=5
Exploring Operation: 57-8=49, Resulting Numbers: [13, 49]
Generated Node #0,0,1: 14:[13, 49] Operation: 57-8=49
Exploring Operation: 57-13=44, Resulting Numbers: [8, 44]
Generated Node #0,0,2: 14:[8, 44] Operation: 57-13=44
Moving to Node #0,0,2
Current State: 14:[8, 44], Operations: ['39-26=13', '57-13=44']
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,14 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[13, 49], Operations: ['39-26=13', '57-8=49']
Exploring Operation: 13+49=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 13*49=637, Resulting Numbers: [637]
637,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[57, 5], Operations: ['39-26=13', '13-8=5']
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,14 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,14 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 |
[
47,
51,
84,
8
] | 42 | [
"51-47=4",
"84*4=336",
"336/8=42"
] | Current State: 42:[47, 51, 84, 8], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [84, 8, 4]
Generated Node #2: [84, 8, 4] from Operation: 51-47=4
Current State: 42:[84, 8, 4], Operations: ['51-47=4']
Exploring Operation: 84*4=336, Resulting Numbers: [8, 336]
Generated Node #3: [8, 336] from Operation: 84*4=336
Current State: 42:[8, 336], Operations: ['51-47=4', '84*4=336']
Exploring Operation: 336/8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[47, 51, 84, 8], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [51, 8, 37]
Generated Node #0,0: 42:[51, 8, 37] Operation: 84-47=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[51, 8, 37], Operations: ['84-47=37']
Exploring Operation: 51-37=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 42:[8, 14] Operation: 51-37=14
Moving to Node #0,0,0
Current State: 42:[8, 14], Operations: ['84-47=37', '51-37=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,42 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 |
[
28,
2,
55,
33
] | 17 | [
"28+55=83",
"2*33=66",
"83-66=17"
] | Current State: 17:[28, 2, 55, 33], Operations: []
Exploring Operation: 28+55=83, Resulting Numbers: [2, 33, 83]
Generated Node #2: [2, 33, 83] from Operation: 28+55=83
Current State: 17:[2, 33, 83], Operations: ['28+55=83']
Exploring Operation: 2*33=66, Resulting Numbers: [83, 66]
Generated Node #3: [83, 66] from Operation: 2*33=66
Current State: 17:[83, 66], Operations: ['28+55=83', '2*33=66']
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 2, 55, 33], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [28, 33, 53]
Generated Node #0,0: 17:[28, 33, 53] Operation: 55-2=53
Exploring Operation: 28/2=14, Resulting Numbers: [55, 33, 14]
Generated Node #0,1: 17:[55, 33, 14] Operation: 28/2=14
Exploring Operation: 55-33=22, Resulting Numbers: [28, 2, 22]
Generated Node #0,2: 17:[28, 2, 22] Operation: 55-33=22
Exploring Operation: 28-2=26, Resulting Numbers: [55, 33, 26]
Generated Node #0,3: 17:[55, 33, 26] Operation: 28-2=26
Exploring Operation: 55-28=27, Resulting Numbers: [2, 33, 27]
Generated Node #0,4: 17:[2, 33, 27] Operation: 55-28=27
Moving to Node #0,2
Current State: 17:[28, 2, 22], Operations: ['55-33=22']
Exploring Operation: 22/2=11, Resulting Numbers: [28, 11]
Generated Node #0,2,0: 17:[28, 11] Operation: 22/2=11
Exploring Operation: 22-2=20, Resulting Numbers: [28, 20]
Generated Node #0,2,1: 17:[28, 20] Operation: 22-2=20
Exploring Operation: 28+2=30, Resulting Numbers: [22, 30]
Generated Node #0,2,2: 17:[22, 30] Operation: 28+2=30
Exploring Operation: 28/2=14, Resulting Numbers: [22, 14]
Generated Node #0,2,3: 17:[22, 14] Operation: 28/2=14
Exploring Operation: 28-2=26, Resulting Numbers: [22, 26]
Generated Node #0,2,4: 17:[22, 26] Operation: 28-2=26
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[22, 14], Operations: ['55-33=22', '28/2=14']
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 22*14=308, Resulting Numbers: [308]
308,17 unequal: No Solution
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[28, 20], Operations: ['55-33=22', '22-2=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,17 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 17:[22, 26], Operations: ['55-33=22', '28-2=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,17 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[28, 11], Operations: ['55-33=22', '22/2=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,17 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,17 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[28, 2, 55, 33], Operations: []
Exploring Operation: 55-33=22, Resulting Numbers: [28, 2, 22]
Generated Node #0,2: 17:[28, 2, 22] Operation: 55-33=22
Moving to Node #0,2
Current State: 17:[28, 2, 22], Operations: ['55-33=22']
Exploring Operation: 22/2=11, Resulting Numbers: [28, 11]
Generated Node #0,2,0: 17:[28, 11] Operation: 22/2=11
Moving to Node #0,2,0
Current State: 17:[28, 11], Operations: ['55-33=22', '22/2=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | sum_heuristic |
[
72,
87,
41,
91
] | 59 | [
"91-87=4",
"72/4=18",
"41+18=59"
] | Current State: 59:[72, 87, 41, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [72, 41, 4]
Generated Node #2: [72, 41, 4] from Operation: 91-87=4
Current State: 59:[72, 41, 4], Operations: ['91-87=4']
Exploring Operation: 72/4=18, Resulting Numbers: [41, 18]
Generated Node #3: [41, 18] from Operation: 72/4=18
Current State: 59:[41, 18], Operations: ['91-87=4', '72/4=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[72, 87, 41, 91], Operations: []
Exploring Operation: 87-41=46, Resulting Numbers: [72, 91, 46]
Generated Node #0,0: 59:[72, 91, 46] Operation: 87-41=46
Exploring Operation: 91-41=50, Resulting Numbers: [72, 87, 50]
Generated Node #0,1: 59:[72, 87, 50] Operation: 91-41=50
Exploring Operation: 91-72=19, Resulting Numbers: [87, 41, 19]
Generated Node #0,2: 59:[87, 41, 19] Operation: 91-72=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[72, 87, 50], Operations: ['91-41=50']
Exploring Operation: 72-50=22, Resulting Numbers: [87, 22]
Generated Node #0,1,0: 59:[87, 22] Operation: 72-50=22
Exploring Operation: 87-50=37, Resulting Numbers: [72, 37]
Generated Node #0,1,1: 59:[72, 37] Operation: 87-50=37
Exploring Operation: 87-72=15, Resulting Numbers: [50, 15]
Generated Node #0,1,2: 59:[50, 15] Operation: 87-72=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[72, 37], Operations: ['91-41=50', '87-50=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,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:[50, 15], Operations: ['91-41=50', '87-72=15']
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,59 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,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:[87, 22], Operations: ['91-41=50', '72-50=22']
Exploring Operation: 87*22=1914, Resulting Numbers: [1914]
1914,59 unequal: No Solution
Exploring Operation: 87+22=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,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:[72, 91, 46], Operations: ['87-41=46']
Exploring Operation: 72-46=26, Resulting Numbers: [91, 26]
Generated Node #0,0,0: 59:[91, 26] Operation: 72-46=26
Exploring Operation: 91-72=19, Resulting Numbers: [46, 19]
Generated Node #0,0,1: 59:[46, 19] Operation: 91-72=19
Exploring Operation: 91-46=45, Resulting Numbers: [72, 45]
Generated Node #0,0,2: 59:[72, 45] Operation: 91-46=45
Moving to Node #0,0,2
Current State: 59:[72, 45], Operations: ['87-41=46', '91-46=45']
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,59 unequal: No Solution
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[46, 19], Operations: ['87-41=46', '91-72=19']
Exploring Operation: 46*19=874, Resulting Numbers: [874]
874,59 unequal: No Solution
Exploring Operation: 46+19=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[91, 26], Operations: ['87-41=46', '72-46=26']
Exploring Operation: 91*26=2366, Resulting Numbers: [2366]
2366,59 unequal: No Solution
Exploring Operation: 91-26=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 91+26=117, Resulting Numbers: [117]
117,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:[87, 41, 19], Operations: ['91-72=19']
Exploring Operation: 87-41=46, Resulting Numbers: [19, 46]
Generated Node #0,2,0: 59:[19, 46] Operation: 87-41=46
Exploring Operation: 87-19=68, Resulting Numbers: [41, 68]
Generated Node #0,2,1: 59:[41, 68] Operation: 87-19=68
Exploring Operation: 41+19=60, Resulting Numbers: [87, 60]
Generated Node #0,2,2: 59:[87, 60] Operation: 41+19=60
Moving to Node #0,2,1
Current State: 59:[41, 68], Operations: ['91-72=19', '87-19=68']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,59 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[87, 60], Operations: ['91-72=19', '41+19=60']
Exploring Operation: 87*60=5220, Resulting Numbers: [5220]
5220,59 unequal: No Solution
Exploring Operation: 87+60=147, Resulting Numbers: [147]
147,59 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[19, 46], Operations: ['91-72=19', '87-41=46']
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,59 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,59 unequal: No Solution
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,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 | sum_heuristic |
[
40,
75,
51,
31
] | 55 | [
"75-40=35",
"51-31=20",
"35+20=55"
] | Current State: 55:[40, 75, 51, 31], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [51, 31, 35]
Generated Node #2: [51, 31, 35] from Operation: 75-40=35
Current State: 55:[51, 31, 35], Operations: ['75-40=35']
Exploring Operation: 51-31=20, Resulting Numbers: [35, 20]
Generated Node #3: [35, 20] from Operation: 51-31=20
Current State: 55:[35, 20], Operations: ['75-40=35', '51-31=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[40, 75, 51, 31], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [75, 51, 9]
Generated Node #0,0: 55:[75, 51, 9] Operation: 40-31=9
Exploring Operation: 51-40=11, Resulting Numbers: [75, 31, 11]
Generated Node #0,1: 55:[75, 31, 11] Operation: 51-40=11
Exploring Operation: 40+31=71, Resulting Numbers: [75, 51, 71]
Generated Node #0,2: 55:[75, 51, 71] Operation: 40+31=71
Exploring Operation: 75-31=44, Resulting Numbers: [40, 51, 44]
Generated Node #0,3: 55:[40, 51, 44] Operation: 75-31=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[75, 51, 9], Operations: ['40-31=9']
Exploring Operation: 75-9=66, Resulting Numbers: [51, 66]
Generated Node #0,0,0: 55:[51, 66] Operation: 75-9=66
Exploring Operation: 75+9=84, Resulting Numbers: [51, 84]
Generated Node #0,0,1: 55:[51, 84] Operation: 75+9=84
Exploring Operation: 75-51=24, Resulting Numbers: [9, 24]
Generated Node #0,0,2: 55:[9, 24] Operation: 75-51=24
Exploring Operation: 51+9=60, Resulting Numbers: [75, 60]
Generated Node #0,0,3: 55:[75, 60] Operation: 51+9=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[51, 66], Operations: ['40-31=9', '75-9=66']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 51+66=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 51*66=3366, Resulting Numbers: [3366]
3366,55 unequal: No Solution
No 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: 55:[9, 24], Operations: ['40-31=9', '75-51=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,55 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No 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: 55:[75, 60], Operations: ['40-31=9', '51+9=60']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,55 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,55 unequal: No Solution
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,55 unequal: No Solution
No 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: 55:[51, 84], Operations: ['40-31=9', '75+9=84']
Exploring Operation: 51*84=4284, Resulting Numbers: [4284]
4284,55 unequal: No Solution
Exploring Operation: 84-51=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 51+84=135, Resulting Numbers: [135]
135,55 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: 55:[40, 51, 44], Operations: ['75-31=44']
Exploring Operation: 51-44=7, Resulting Numbers: [40, 7]
Generated Node #0,3,0: 55:[40, 7] Operation: 51-44=7
Exploring Operation: 40+44=84, Resulting Numbers: [51, 84]
Generated Node #0,3,1: 55:[51, 84] Operation: 40+44=84
Exploring Operation: 44-40=4, Resulting Numbers: [51, 4]
Generated Node #0,3,2: 55:[51, 4] Operation: 44-40=4
Exploring Operation: 51-40=11, Resulting Numbers: [44, 11]
Generated Node #0,3,3: 55:[44, 11] Operation: 51-40=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[51, 4], Operations: ['75-31=44', '44-40=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,55 unequal: No Solution
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[40, 75, 51, 31], Operations: []
Exploring Operation: 75-31=44, Resulting Numbers: [40, 51, 44]
Generated Node #0,3: 55:[40, 51, 44] Operation: 75-31=44
Moving to Node #0,3
Current State: 55:[40, 51, 44], Operations: ['75-31=44']
Exploring Operation: 44-40=4, Resulting Numbers: [51, 4]
Generated Node #0,3,2: 55:[51, 4] Operation: 44-40=4
Moving to Node #0,3,2
Current State: 55:[51, 4], Operations: ['75-31=44', '44-40=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
54,
13,
53,
64
] | 51 | [
"54-53=1",
"64-13=51",
"1*51=51"
] | Current State: 51:[54, 13, 53, 64], Operations: []
Exploring Operation: 54-53=1, Resulting Numbers: [13, 64, 1]
Generated Node #2: [13, 64, 1] from Operation: 54-53=1
Current State: 51:[13, 64, 1], Operations: ['54-53=1']
Exploring Operation: 64-13=51, Resulting Numbers: [1, 51]
Generated Node #3: [1, 51] from Operation: 64-13=51
Current State: 51:[1, 51], Operations: ['54-53=1', '64-13=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[54, 13, 53, 64], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [54, 53, 51]
Generated Node #0,0: 51:[54, 53, 51] Operation: 64-13=51
Exploring Operation: 64-54=10, Resulting Numbers: [13, 53, 10]
Generated Node #0,1: 51:[13, 53, 10] Operation: 64-54=10
Exploring Operation: 54-53=1, Resulting Numbers: [13, 64, 1]
Generated Node #0,2: 51:[13, 64, 1] Operation: 54-53=1
Exploring Operation: 64-53=11, Resulting Numbers: [54, 13, 11]
Generated Node #0,3: 51:[54, 13, 11] Operation: 64-53=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[54, 53, 51], Operations: ['64-13=51']
Exploring Operation: 54-51=3, Resulting Numbers: [53, 3]
Generated Node #0,0,0: 51:[53, 3] Operation: 54-51=3
Exploring Operation: 54+53=107, Resulting Numbers: [51, 107]
Generated Node #0,0,1: 51:[51, 107] Operation: 54+53=107
Exploring Operation: 54-53=1, Resulting Numbers: [51, 1]
Generated Node #0,0,2: 51:[51, 1] Operation: 54-53=1
Exploring Operation: 53-51=2, Resulting Numbers: [54, 2]
Generated Node #0,0,3: 51:[54, 2] Operation: 53-51=2
Moving to Node #0,0,0
Current State: 51:[53, 3], Operations: ['64-13=51', '54-51=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[51, 1], Operations: ['64-13=51', '54-53=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[54, 13, 53, 64], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [54, 53, 51]
Generated Node #0,0: 51:[54, 53, 51] Operation: 64-13=51
Moving to Node #0,0
Current State: 51:[54, 53, 51], Operations: ['64-13=51']
Exploring Operation: 54-53=1, Resulting Numbers: [51, 1]
Generated Node #0,0,2: 51:[51, 1] Operation: 54-53=1
Moving to Node #0,0,2
Current State: 51:[51, 1], Operations: ['64-13=51', '54-53=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
3,
1,
18,
75
] | 97 | [
"3+1=4",
"18+75=93",
"4+93=97"
] | Current State: 97:[3, 1, 18, 75], Operations: []
Exploring Operation: 3+1=4, Resulting Numbers: [18, 75, 4]
Generated Node #2: [18, 75, 4] from Operation: 3+1=4
Current State: 97:[18, 75, 4], Operations: ['3+1=4']
Exploring Operation: 18+75=93, Resulting Numbers: [4, 93]
Generated Node #3: [4, 93] from Operation: 18+75=93
Current State: 97:[4, 93], Operations: ['3+1=4', '18+75=93']
Exploring Operation: 4+93=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[3, 1, 18, 75], Operations: []
Exploring Operation: 3*18=54, Resulting Numbers: [1, 75, 54]
Generated Node #0,0: 97:[1, 75, 54] Operation: 3*18=54
Moving to Node #0,0
Current State: 97:[1, 75, 54], Operations: ['3*18=54']
Exploring Operation: 1+75=76, Resulting Numbers: [54, 76]
Generated Node #0,0,0: 97:[54, 76] Operation: 1+75=76
Moving to Node #0,0,0
Current State: 97:[54, 76], Operations: ['3*18=54', '1+75=76']
Exploring Operation: 54+76=130, Resulting Numbers: [130]
130,97 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
51,
11,
79
] | 77 | [
"91+11=102",
"102/51=2",
"79-2=77"
] | Current State: 77:[91, 51, 11, 79], Operations: []
Exploring Operation: 91+11=102, Resulting Numbers: [51, 79, 102]
Generated Node #2: [51, 79, 102] from Operation: 91+11=102
Current State: 77:[51, 79, 102], Operations: ['91+11=102']
Exploring Operation: 102/51=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 102/51=2
Current State: 77:[79, 2], Operations: ['91+11=102', '102/51=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[91, 51, 11, 79], Operations: []
Exploring Operation: 51+11=62, Resulting Numbers: [91, 79, 62]
Generated Node #0,0: 77:[91, 79, 62] Operation: 51+11=62
Exploring Operation: 91-51=40, Resulting Numbers: [11, 79, 40]
Generated Node #0,1: 77:[11, 79, 40] Operation: 91-51=40
Exploring Operation: 91-11=80, Resulting Numbers: [51, 79, 80]
Generated Node #0,2: 77:[51, 79, 80] Operation: 91-11=80
Exploring Operation: 91-79=12, Resulting Numbers: [51, 11, 12]
Generated Node #0,3: 77:[51, 11, 12] Operation: 91-79=12
Exploring Operation: 79-51=28, Resulting Numbers: [91, 11, 28]
Generated Node #0,4: 77:[91, 11, 28] Operation: 79-51=28
Moving to Node #0,3
Current State: 77:[51, 11, 12], Operations: ['91-79=12']
Exploring Operation: 51+11=62, Resulting Numbers: [12, 62]
Generated Node #0,3,0: 77:[12, 62] Operation: 51+11=62
Exploring Operation: 51+12=63, Resulting Numbers: [11, 63]
Generated Node #0,3,1: 77:[11, 63] Operation: 51+12=63
Exploring Operation: 12-11=1, Resulting Numbers: [51, 1]
Generated Node #0,3,2: 77:[51, 1] Operation: 12-11=1
Exploring Operation: 51-12=39, Resulting Numbers: [11, 39]
Generated Node #0,3,3: 77:[11, 39] Operation: 51-12=39
Exploring Operation: 51-11=40, Resulting Numbers: [12, 40]
Generated Node #0,3,4: 77:[12, 40] Operation: 51-11=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[11, 63], Operations: ['91-79=12', '51+12=63']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[12, 62], Operations: ['91-79=12', '51+11=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[11, 39], Operations: ['91-79=12', '51-12=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,77 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 77:[12, 40], Operations: ['91-79=12', '51-11=40']
Exploring Operation: 40-12=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 12*40=480, Resulting Numbers: [480]
480,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[51, 1], Operations: ['91-79=12', '12-11=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 77:[11, 79, 40], Operations: ['91-51=40']
Exploring Operation: 11+40=51, Resulting Numbers: [79, 51]
Generated Node #0,1,0: 77:[79, 51] Operation: 11+40=51
Exploring Operation: 79-40=39, Resulting Numbers: [11, 39]
Generated Node #0,1,1: 77:[11, 39] Operation: 79-40=39
Exploring Operation: 11+79=90, Resulting Numbers: [40, 90]
Generated Node #0,1,2: 77:[40, 90] Operation: 11+79=90
Exploring Operation: 40-11=29, Resulting Numbers: [79, 29]
Generated Node #0,1,3: 77:[79, 29] Operation: 40-11=29
Exploring Operation: 79-11=68, Resulting Numbers: [40, 68]
Generated Node #0,1,4: 77:[40, 68] Operation: 79-11=68
Moving to Node #0,4
Current State: 77:[91, 11, 28], Operations: ['79-51=28']
Exploring Operation: 91+11=102, Resulting Numbers: [28, 102]
Generated Node #0,4,0: 77:[28, 102] Operation: 91+11=102
Exploring Operation: 91+28=119, Resulting Numbers: [11, 119]
Generated Node #0,4,1: 77:[11, 119] Operation: 91+28=119
Exploring Operation: 28-11=17, Resulting Numbers: [91, 17]
Generated Node #0,4,2: 77:[91, 17] Operation: 28-11=17
Exploring Operation: 91-11=80, Resulting Numbers: [28, 80]
Generated Node #0,4,3: 77:[28, 80] Operation: 91-11=80
Exploring Operation: 91-28=63, Resulting Numbers: [11, 63]
Generated Node #0,4,4: 77:[11, 63] Operation: 91-28=63
Moving to Node #0,0
Current State: 77:[91, 79, 62], Operations: ['51+11=62']
Exploring Operation: 91-79=12, Resulting Numbers: [62, 12]
Generated Node #0,0,0: 77:[62, 12] Operation: 91-79=12
Exploring Operation: 79+62=141, Resulting Numbers: [91, 141]
Generated Node #0,0,1: 77:[91, 141] Operation: 79+62=141
Exploring Operation: 91-62=29, Resulting Numbers: [79, 29]
Generated Node #0,0,2: 77:[79, 29] Operation: 91-62=29
Exploring Operation: 79-62=17, Resulting Numbers: [91, 17]
Generated Node #0,0,3: 77:[91, 17] Operation: 79-62=17
Exploring Operation: 91+62=153, Resulting Numbers: [79, 153]
Generated Node #0,0,4: 77:[79, 153] Operation: 91+62=153
Moving to Node #0,2
Current State: 77:[51, 79, 80], Operations: ['91-11=80']
Exploring Operation: 51+80=131, Resulting Numbers: [79, 131]
Generated Node #0,2,0: 77:[79, 131] Operation: 51+80=131
Exploring Operation: 80-79=1, Resulting Numbers: [51, 1]
Generated Node #0,2,1: 77:[51, 1] Operation: 80-79=1
Exploring Operation: 79-51=28, Resulting Numbers: [80, 28]
Generated Node #0,2,2: 77:[80, 28] Operation: 79-51=28
Exploring Operation: 80-51=29, Resulting Numbers: [79, 29]
Generated Node #0,2,3: 77:[79, 29] Operation: 80-51=29
Exploring Operation: 51+79=130, Resulting Numbers: [80, 130]
Generated Node #0,2,4: 77:[80, 130] Operation: 51+79=130
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[80, 28], Operations: ['91-11=80', '79-51=28']
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,77 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[79, 29], Operations: ['91-11=80', '80-51=29']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[51, 1], Operations: ['91-11=80', '80-79=1']
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[79, 131], Operations: ['91-11=80', '51+80=131']
Exploring Operation: 131-79=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 79*131=10349, Resulting Numbers: [10349]
10349,77 unequal: No Solution
Exploring Operation: 79+131=210, Resulting Numbers: [210]
210,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 77:[80, 130], Operations: ['91-11=80', '51+79=130']
Exploring Operation: 130-80=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 80*130=10400, Resulting Numbers: [10400]
10400,77 unequal: No Solution
Exploring Operation: 80+130=210, Resulting Numbers: [210]
210,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 77:[11, 63], Operations: ['79-51=28', '91-28=63']
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,77 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[62, 12], Operations: ['51+11=62', '91-79=12']
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,77 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[79, 29], Operations: ['91-51=40', '40-11=29']
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,77 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[91, 17], Operations: ['79-51=28', '28-11=17']
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,77 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[79, 29], Operations: ['51+11=62', '91-62=29']
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,77 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[91, 17], Operations: ['51+11=62', '79-62=17']
Exploring Operation: 91+17=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 91-17=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 91*17=1547, Resulting Numbers: [1547]
1547,77 unequal: No Solution
Moving to Node #0,4,3
Current State: 77:[28, 80], Operations: ['79-51=28', '91-11=80']
Exploring Operation: 28+80=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,77 unequal: No Solution
Exploring Operation: 28*80=2240, Resulting Numbers: [2240]
2240,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[11, 39], Operations: ['91-51=40', '79-40=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,77 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[79, 51], Operations: ['91-51=40', '11+40=51']
Exploring Operation: 79*51=4029, Resulting Numbers: [4029]
4029,77 unequal: No Solution
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,1,4
Current State: 77:[40, 68], Operations: ['91-51=40', '79-11=68']
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[28, 102], Operations: ['79-51=28', '91+11=102']
Exploring Operation: 28+102=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 28*102=2856, Resulting Numbers: [2856]
2856,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[40, 90], Operations: ['91-51=40', '11+79=90']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 40+90=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 40*90=3600, Resulting Numbers: [3600]
3600,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[11, 119], Operations: ['79-51=28', '91+28=119']
Exploring Operation: 119-11=108, Resulting Numbers: [108]
108,77 unequal: No Solution
Exploring Operation: 11+119=130, Resulting Numbers: [130]
130,77 unequal: No Solution
Exploring Operation: 11*119=1309, Resulting Numbers: [1309]
1309,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[91, 141], Operations: ['51+11=62', '79+62=141']
Exploring Operation: 141-91=50, Resulting Numbers: [50]
50,77 unequal: No Solution
Exploring Operation: 91+141=232, Resulting Numbers: [232]
232,77 unequal: No Solution
Exploring Operation: 91*141=12831, Resulting Numbers: [12831]
12831,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[79, 153], Operations: ['51+11=62', '91+62=153']
Exploring Operation: 153-79=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 79*153=12087, Resulting Numbers: [12087]
12087,77 unequal: No Solution
Exploring Operation: 79+153=232, Resulting Numbers: [232]
232,77 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
58,
19,
47
] | 69 | [
"58-17=41",
"47-19=28",
"41+28=69"
] | Current State: 69:[17, 58, 19, 47], Operations: []
Exploring Operation: 58-17=41, Resulting Numbers: [19, 47, 41]
Generated Node #2: [19, 47, 41] from Operation: 58-17=41
Current State: 69:[19, 47, 41], Operations: ['58-17=41']
Exploring Operation: 47-19=28, Resulting Numbers: [41, 28]
Generated Node #3: [41, 28] from Operation: 47-19=28
Current State: 69:[41, 28], Operations: ['58-17=41', '47-19=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[17, 58, 19, 47], Operations: []
Exploring Operation: 58-47=11, Resulting Numbers: [17, 19, 11]
Generated Node #0,0: 69:[17, 19, 11] Operation: 58-47=11
Moving to Node #0,0
Current State: 69:[17, 19, 11], Operations: ['58-47=11']
Exploring Operation: 17-11=6, Resulting Numbers: [19, 6]
Generated Node #0,0,0: 69:[19, 6] Operation: 17-11=6
Moving to Node #0,0,0
Current State: 69:[19, 6], Operations: ['58-47=11', '17-11=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,69 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
38,
18,
5,
17
] | 34 | [
"38+18=56",
"5+17=22",
"56-22=34"
] | Current State: 34:[38, 18, 5, 17], Operations: []
Exploring Operation: 38+18=56, Resulting Numbers: [5, 17, 56]
Generated Node #2: [5, 17, 56] from Operation: 38+18=56
Current State: 34:[5, 17, 56], Operations: ['38+18=56']
Exploring Operation: 5+17=22, Resulting Numbers: [56, 22]
Generated Node #3: [56, 22] from Operation: 5+17=22
Current State: 34:[56, 22], Operations: ['38+18=56', '5+17=22']
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[38, 18, 5, 17], Operations: []
Exploring Operation: 18-5=13, Resulting Numbers: [38, 17, 13]
Generated Node #0,0: 34:[38, 17, 13] Operation: 18-5=13
Exploring Operation: 38-5=33, Resulting Numbers: [18, 17, 33]
Generated Node #0,1: 34:[18, 17, 33] Operation: 38-5=33
Exploring Operation: 38-18=20, Resulting Numbers: [5, 17, 20]
Generated Node #0,2: 34:[5, 17, 20] Operation: 38-18=20
Exploring Operation: 18+17=35, Resulting Numbers: [38, 5, 35]
Generated Node #0,3: 34:[38, 5, 35] Operation: 18+17=35
Exploring Operation: 38-17=21, Resulting Numbers: [18, 5, 21]
Generated Node #0,4: 34:[18, 5, 21] Operation: 38-17=21
Moving to Node #0,1
Current State: 34:[18, 17, 33], Operations: ['38-5=33']
Exploring Operation: 33-17=16, Resulting Numbers: [18, 16]
Generated Node #0,1,0: 34:[18, 16] Operation: 33-17=16
Exploring Operation: 18-17=1, Resulting Numbers: [33, 1]
Generated Node #0,1,1: 34:[33, 1] Operation: 18-17=1
Exploring Operation: 33-18=15, Resulting Numbers: [17, 15]
Generated Node #0,1,2: 34:[17, 15] Operation: 33-18=15
Exploring Operation: 18+33=51, Resulting Numbers: [17, 51]
Generated Node #0,1,3: 34:[17, 51] Operation: 18+33=51
Exploring Operation: 18+17=35, Resulting Numbers: [33, 35]
Generated Node #0,1,4: 34:[33, 35] Operation: 18+17=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[18, 16], Operations: ['38-5=33', '33-17=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[38, 18, 5, 17], Operations: []
Exploring Operation: 38-5=33, Resulting Numbers: [18, 17, 33]
Generated Node #0,1: 34:[18, 17, 33] Operation: 38-5=33
Moving to Node #0,1
Current State: 34:[18, 17, 33], Operations: ['38-5=33']
Exploring Operation: 33-17=16, Resulting Numbers: [18, 16]
Generated Node #0,1,0: 34:[18, 16] Operation: 33-17=16
Moving to Node #0,1,0
Current State: 34:[18, 16], Operations: ['38-5=33', '33-17=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
64,
80,
66,
45
] | 85 | [
"66-64=2",
"80/2=40",
"45+40=85"
] | Current State: 85:[64, 80, 66, 45], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [80, 45, 2]
Generated Node #2: [80, 45, 2] from Operation: 66-64=2
Current State: 85:[80, 45, 2], Operations: ['66-64=2']
Exploring Operation: 80/2=40, Resulting Numbers: [45, 40]
Generated Node #3: [45, 40] from Operation: 80/2=40
Current State: 85:[45, 40], Operations: ['66-64=2', '80/2=40']
Exploring Operation: 45+40=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[64, 80, 66, 45], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [64, 80, 21]
Generated Node #0,0: 85:[64, 80, 21] Operation: 66-45=21
Exploring Operation: 66-64=2, Resulting Numbers: [80, 45, 2]
Generated Node #0,1: 85:[80, 45, 2] Operation: 66-64=2
Exploring Operation: 64-45=19, Resulting Numbers: [80, 66, 19]
Generated Node #0,2: 85:[80, 66, 19] Operation: 64-45=19
Moving to Node #0,2
Current State: 85:[80, 66, 19], Operations: ['64-45=19']
Exploring Operation: 66+19=85, Resulting Numbers: [80, 85]
Generated Node #0,2,0: 85:[80, 85] Operation: 66+19=85
Exploring Operation: 80+19=99, Resulting Numbers: [66, 99]
Generated Node #0,2,1: 85:[66, 99] Operation: 80+19=99
Exploring Operation: 80-66=14, Resulting Numbers: [19, 14]
Generated Node #0,2,2: 85:[19, 14] Operation: 80-66=14
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[80, 85], Operations: ['64-45=19', '66+19=85']
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[19, 14], Operations: ['64-45=19', '80-66=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,85 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[66, 99], Operations: ['64-45=19', '80+19=99']
Exploring Operation: 99-66=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 66+99=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Exploring Operation: 66*99=6534, Resulting Numbers: [6534]
6534,85 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: 85:[64, 80, 21], Operations: ['66-45=21']
Exploring Operation: 64+21=85, Resulting Numbers: [80, 85]
Generated Node #0,0,0: 85:[80, 85] Operation: 64+21=85
Exploring Operation: 64-21=43, Resulting Numbers: [80, 43]
Generated Node #0,0,1: 85:[80, 43] Operation: 64-21=43
Exploring Operation: 80-64=16, Resulting Numbers: [21, 16]
Generated Node #0,0,2: 85:[21, 16] Operation: 80-64=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[80, 85], Operations: ['66-45=21', '64+21=85']
Exploring Operation: 80*85=6800, Resulting Numbers: [6800]
6800,85 unequal: No Solution
Exploring Operation: 80+85=165, Resulting Numbers: [165]
165,85 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[21, 16], Operations: ['66-45=21', '80-64=16']
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,85 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[80, 43], Operations: ['66-45=21', '64-21=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,85 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 85:[80, 45, 2], Operations: ['66-64=2']
Exploring Operation: 80-45=35, Resulting Numbers: [2, 35]
Generated Node #0,1,0: 85:[2, 35] Operation: 80-45=35
Exploring Operation: 80+2=82, Resulting Numbers: [45, 82]
Generated Node #0,1,1: 85:[45, 82] Operation: 80+2=82
Exploring Operation: 45*2=90, Resulting Numbers: [80, 90]
Generated Node #0,1,2: 85:[80, 90] Operation: 45*2=90
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[80, 90], Operations: ['66-64=2', '45*2=90']
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 80*90=7200, Resulting Numbers: [7200]
7200,85 unequal: No Solution
Exploring Operation: 80+90=170, Resulting Numbers: [170]
170,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[2, 35], Operations: ['66-64=2', '80-45=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,85 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[45, 82], Operations: ['66-64=2', '80+2=82']
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,85 unequal: No Solution
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,85 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 |
[
76,
33,
85,
50
] | 78 | [
"76-33=43",
"85-50=35",
"43+35=78"
] | Current State: 78:[76, 33, 85, 50], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [85, 50, 43]
Generated Node #2: [85, 50, 43] from Operation: 76-33=43
Current State: 78:[85, 50, 43], Operations: ['76-33=43']
Exploring Operation: 85-50=35, Resulting Numbers: [43, 35]
Generated Node #3: [43, 35] from Operation: 85-50=35
Current State: 78:[43, 35], Operations: ['76-33=43', '85-50=35']
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[76, 33, 85, 50], Operations: []
Exploring Operation: 85-76=9, Resulting Numbers: [33, 50, 9]
Generated Node #0,0: 78:[33, 50, 9] Operation: 85-76=9
Exploring Operation: 33+50=83, Resulting Numbers: [76, 85, 83]
Generated Node #0,1: 78:[76, 85, 83] Operation: 33+50=83
Exploring Operation: 76-50=26, Resulting Numbers: [33, 85, 26]
Generated Node #0,2: 78:[33, 85, 26] Operation: 76-50=26
Exploring Operation: 50-33=17, Resulting Numbers: [76, 85, 17]
Generated Node #0,3: 78:[76, 85, 17] Operation: 50-33=17
Exploring Operation: 85-50=35, Resulting Numbers: [76, 33, 35]
Generated Node #0,4: 78:[76, 33, 35] Operation: 85-50=35
Moving to Node #0,4
Current State: 78:[76, 33, 35], Operations: ['85-50=35']
Exploring Operation: 76-33=43, Resulting Numbers: [35, 43]
Generated Node #0,4,0: 78:[35, 43] Operation: 76-33=43
Exploring Operation: 76-35=41, Resulting Numbers: [33, 41]
Generated Node #0,4,1: 78:[33, 41] Operation: 76-35=41
Exploring Operation: 76+33=109, Resulting Numbers: [35, 109]
Generated Node #0,4,2: 78:[35, 109] Operation: 76+33=109
Exploring Operation: 35-33=2, Resulting Numbers: [76, 2]
Generated Node #0,4,3: 78:[76, 2] Operation: 35-33=2
Exploring Operation: 33+35=68, Resulting Numbers: [76, 68]
Generated Node #0,4,4: 78:[76, 68] Operation: 33+35=68
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 78:[76, 2], Operations: ['85-50=35', '35-33=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[76, 33, 85, 50], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [76, 33, 35]
Generated Node #0,4: 78:[76, 33, 35] Operation: 85-50=35
Moving to Node #0,4
Current State: 78:[76, 33, 35], Operations: ['85-50=35']
Exploring Operation: 35-33=2, Resulting Numbers: [76, 2]
Generated Node #0,4,3: 78:[76, 2] Operation: 35-33=2
Moving to Node #0,4,3
Current State: 78:[76, 2], Operations: ['85-50=35', '35-33=2']
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
32,
15,
12,
48
] | 22 | [
"32*15=480",
"480/48=10",
"12+10=22"
] | Current State: 22:[32, 15, 12, 48], Operations: []
Exploring Operation: 32*15=480, Resulting Numbers: [12, 48, 480]
Generated Node #2: [12, 48, 480] from Operation: 32*15=480
Current State: 22:[12, 48, 480], Operations: ['32*15=480']
Exploring Operation: 480/48=10, Resulting Numbers: [12, 10]
Generated Node #3: [12, 10] from Operation: 480/48=10
Current State: 22:[12, 10], Operations: ['32*15=480', '480/48=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[32, 15, 12, 48], Operations: []
Exploring Operation: 48-32=16, Resulting Numbers: [15, 12, 16]
Generated Node #0,0: 22:[15, 12, 16] Operation: 48-32=16
Exploring Operation: 48/12=4, Resulting Numbers: [32, 15, 4]
Generated Node #0,1: 22:[32, 15, 4] Operation: 48/12=4
Moving to Node #0,0
Current State: 22:[15, 12, 16], Operations: ['48-32=16']
Exploring Operation: 16-15=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 22:[12, 1] Operation: 16-15=1
Exploring Operation: 15-12=3, Resulting Numbers: [16, 3]
Generated Node #0,0,1: 22:[16, 3] Operation: 15-12=3
Moving to Node #0,1
Current State: 22:[32, 15, 4], Operations: ['48/12=4']
Exploring Operation: 32/4=8, Resulting Numbers: [15, 8]
Generated Node #0,1,0: 22:[15, 8] Operation: 32/4=8
Exploring Operation: 32-15=17, Resulting Numbers: [4, 17]
Generated Node #0,1,1: 22:[4, 17] Operation: 32-15=17
Moving to Node #0,0,0
Current State: 22:[12, 1], Operations: ['48-32=16', '16-15=1']
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[16, 3], Operations: ['48-32=16', '15-12=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,22 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[4, 17], Operations: ['48/12=4', '32-15=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[15, 8], Operations: ['48/12=4', '32/4=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,22 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
13,
92,
32
] | 63 | [
"32/2=16",
"92-13=79",
"79-16=63"
] | Current State: 63:[2, 13, 92, 32], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [13, 92, 16]
Generated Node #2: [13, 92, 16] from Operation: 32/2=16
Current State: 63:[13, 92, 16], Operations: ['32/2=16']
Exploring Operation: 92-13=79, Resulting Numbers: [16, 79]
Generated Node #3: [16, 79] from Operation: 92-13=79
Current State: 63:[16, 79], Operations: ['32/2=16', '92-13=79']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[2, 13, 92, 32], Operations: []
Exploring Operation: 92-32=60, Resulting Numbers: [2, 13, 60]
Generated Node #0,0: 63:[2, 13, 60] Operation: 92-32=60
Moving to Node #0,0
Current State: 63:[2, 13, 60], Operations: ['92-32=60']
Exploring Operation: 13-2=11, Resulting Numbers: [60, 11]
Generated Node #0,0,0: 63:[60, 11] Operation: 13-2=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[60, 11], Operations: ['92-32=60', '13-2=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,63 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 |
[
61,
66,
93,
34
] | 77 | [
"66-61=5",
"34*5=170",
"170-93=77"
] | Current State: 77:[61, 66, 93, 34], Operations: []
Exploring Operation: 66-61=5, Resulting Numbers: [93, 34, 5]
Generated Node #2: [93, 34, 5] from Operation: 66-61=5
Current State: 77:[93, 34, 5], Operations: ['66-61=5']
Exploring Operation: 34*5=170, Resulting Numbers: [93, 170]
Generated Node #3: [93, 170] from Operation: 34*5=170
Current State: 77:[93, 170], Operations: ['66-61=5', '34*5=170']
Exploring Operation: 170-93=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[61, 66, 93, 34], Operations: []
Exploring Operation: 61-34=27, Resulting Numbers: [66, 93, 27]
Generated Node #0,0: 77:[66, 93, 27] Operation: 61-34=27
Exploring Operation: 66-61=5, Resulting Numbers: [93, 34, 5]
Generated Node #0,1: 77:[93, 34, 5] Operation: 66-61=5
Moving to Node #0,1
Current State: 77:[93, 34, 5], Operations: ['66-61=5']
Exploring Operation: 93-34=59, Resulting Numbers: [5, 59]
Generated Node #0,1,0: 77:[5, 59] Operation: 93-34=59
Exploring Operation: 93-5=88, Resulting Numbers: [34, 88]
Generated Node #0,1,1: 77:[34, 88] Operation: 93-5=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[5, 59], Operations: ['66-61=5', '93-34=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,77 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[34, 88], Operations: ['66-61=5', '93-5=88']
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,77 unequal: No Solution
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 77:[66, 93, 27], Operations: ['61-34=27']
Exploring Operation: 93-27=66, Resulting Numbers: [66, 66]
Generated Node #0,0,0: 77:[66, 66] Operation: 93-27=66
Exploring Operation: 93-66=27, Resulting Numbers: [27, 27]
Generated Node #0,0,1: 77:[27, 27] Operation: 93-66=27
Moving to Node #0,0,0
Current State: 77:[66, 66], Operations: ['61-34=27', '93-27=66']
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[27, 27], Operations: ['61-34=27', '93-66=27']
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,77 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
49,
65,
67,
6
] | 52 | [
"67-65=2",
"6/2=3",
"49+3=52"
] | Current State: 52:[49, 65, 67, 6], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [49, 6, 2]
Generated Node #2: [49, 6, 2] from Operation: 67-65=2
Current State: 52:[49, 6, 2], Operations: ['67-65=2']
Exploring Operation: 6/2=3, Resulting Numbers: [49, 3]
Generated Node #3: [49, 3] from Operation: 6/2=3
Current State: 52:[49, 3], Operations: ['67-65=2', '6/2=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[49, 65, 67, 6], Operations: []
Exploring Operation: 65-6=59, Resulting Numbers: [49, 67, 59]
Generated Node #0,0: 52:[49, 67, 59] Operation: 65-6=59
Exploring Operation: 67-65=2, Resulting Numbers: [49, 6, 2]
Generated Node #0,1: 52:[49, 6, 2] Operation: 67-65=2
Exploring Operation: 65-49=16, Resulting Numbers: [67, 6, 16]
Generated Node #0,2: 52:[67, 6, 16] Operation: 65-49=16
Exploring Operation: 67-49=18, Resulting Numbers: [65, 6, 18]
Generated Node #0,3: 52:[65, 6, 18] Operation: 67-49=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[49, 6, 2], Operations: ['67-65=2']
Exploring Operation: 49+6=55, Resulting Numbers: [2, 55]
Generated Node #0,1,0: 52:[2, 55] Operation: 49+6=55
Exploring Operation: 6*2=12, Resulting Numbers: [49, 12]
Generated Node #0,1,1: 52:[49, 12] Operation: 6*2=12
Exploring Operation: 49+2=51, Resulting Numbers: [6, 51]
Generated Node #0,1,2: 52:[6, 51] Operation: 49+2=51
Exploring Operation: 6-2=4, Resulting Numbers: [49, 4]
Generated Node #0,1,3: 52:[49, 4] Operation: 6-2=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[2, 55], Operations: ['67-65=2', '49+6=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 52:[6, 51], Operations: ['67-65=2', '49+2=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[49, 4], Operations: ['67-65=2', '6-2=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[49, 12], Operations: ['67-65=2', '6*2=12']
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,52 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,52 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: 52:[67, 6, 16], Operations: ['65-49=16']
Exploring Operation: 67-16=51, Resulting Numbers: [6, 51]
Generated Node #0,2,0: 52:[6, 51] Operation: 67-16=51
Exploring Operation: 67-6=61, Resulting Numbers: [16, 61]
Generated Node #0,2,1: 52:[16, 61] Operation: 67-6=61
Exploring Operation: 16-6=10, Resulting Numbers: [67, 10]
Generated Node #0,2,2: 52:[67, 10] Operation: 16-6=10
Exploring Operation: 6+16=22, Resulting Numbers: [67, 22]
Generated Node #0,2,3: 52:[67, 22] Operation: 6+16=22
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[6, 51], Operations: ['65-49=16', '67-16=51']
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,52 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[16, 61], Operations: ['65-49=16', '67-6=61']
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,52 unequal: No Solution
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[67, 10], Operations: ['65-49=16', '16-6=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,52 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 52:[67, 22], Operations: ['65-49=16', '6+16=22']
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,52 unequal: No Solution
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,52 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: 52:[65, 6, 18], Operations: ['67-49=18']
Exploring Operation: 65-18=47, Resulting Numbers: [6, 47]
Generated Node #0,3,0: 52:[6, 47] Operation: 65-18=47
Exploring Operation: 18-6=12, Resulting Numbers: [65, 12]
Generated Node #0,3,1: 52:[65, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [65, 3]
Generated Node #0,3,2: 52:[65, 3] Operation: 18/6=3
Exploring Operation: 65-6=59, Resulting Numbers: [18, 59]
Generated Node #0,3,3: 52:[18, 59] Operation: 65-6=59
Moving to Node #0,3,0
Current State: 52:[6, 47], Operations: ['67-49=18', '65-18=47']
Exploring Operation: 6+47=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 6*47=282, Resulting Numbers: [282]
282,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[18, 59], Operations: ['67-49=18', '65-6=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 18+59=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 18*59=1062, Resulting Numbers: [1062]
1062,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[65, 3], Operations: ['67-49=18', '18/6=3']
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,52 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,52 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[65, 12], Operations: ['67-49=18', '18-6=12']
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,52 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[49, 67, 59], Operations: ['65-6=59']
Exploring Operation: 67-49=18, Resulting Numbers: [59, 18]
Generated Node #0,0,0: 52:[59, 18] Operation: 67-49=18
Exploring Operation: 59-49=10, Resulting Numbers: [67, 10]
Generated Node #0,0,1: 52:[67, 10] Operation: 59-49=10
Exploring Operation: 67-59=8, Resulting Numbers: [49, 8]
Generated Node #0,0,2: 52:[49, 8] Operation: 67-59=8
Exploring Operation: 49+67=116, Resulting Numbers: [59, 116]
Generated Node #0,0,3: 52:[59, 116] Operation: 49+67=116
Moving to Node #0,0,2
Current State: 52:[49, 8], Operations: ['65-6=59', '67-59=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[59, 18], Operations: ['65-6=59', '67-49=18']
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,52 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[67, 10], Operations: ['65-6=59', '59-49=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,52 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[59, 116], Operations: ['65-6=59', '49+67=116']
Exploring Operation: 59+116=175, Resulting Numbers: [175]
175,52 unequal: No Solution
Exploring Operation: 59*116=6844, Resulting Numbers: [6844]
6844,52 unequal: No Solution
Exploring Operation: 116-59=57, Resulting Numbers: [57]
57,52 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 |
[
5,
86,
81,
66
] | 19 | [
"86-66=20",
"5*20=100",
"100-81=19"
] | Current State: 19:[5, 86, 81, 66], Operations: []
Exploring Operation: 86-66=20, Resulting Numbers: [5, 81, 20]
Generated Node #2: [5, 81, 20] from Operation: 86-66=20
Current State: 19:[5, 81, 20], Operations: ['86-66=20']
Exploring Operation: 5*20=100, Resulting Numbers: [81, 100]
Generated Node #3: [81, 100] from Operation: 5*20=100
Current State: 19:[81, 100], Operations: ['86-66=20', '5*20=100']
Exploring Operation: 100-81=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[5, 86, 81, 66], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [5, 66, 5]
Generated Node #0,0: 19:[5, 66, 5] Operation: 86-81=5
Moving to Node #0,0
Current State: 19:[5, 66, 5], Operations: ['86-81=5']
Exploring Operation: 5*5=25, Resulting Numbers: [66, 25]
Generated Node #0,0,0: 19:[66, 25] Operation: 5*5=25
Moving to Node #0,0,0
Current State: 19:[66, 25], Operations: ['86-81=5', '5*5=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,19 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
78,
16,
58,
58
] | 95 | [
"78+16=94",
"58/58=1",
"94+1=95"
] | Current State: 95:[78, 16, 58, 58], Operations: []
Exploring Operation: 78+16=94, Resulting Numbers: [58, 58, 94]
Generated Node #2: [58, 58, 94] from Operation: 78+16=94
Current State: 95:[58, 58, 94], Operations: ['78+16=94']
Exploring Operation: 58/58=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 58/58=1
Current State: 95:[94, 1], Operations: ['78+16=94', '58/58=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[78, 16, 58, 58], Operations: []
Exploring Operation: 58-58=0, Resulting Numbers: [78, 16, 0]
Generated Node #0,0: 95:[78, 16, 0] Operation: 58-58=0
Exploring Operation: 58/58=1, Resulting Numbers: [78, 16, 1]
Generated Node #0,1: 95:[78, 16, 1] Operation: 58/58=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[78, 16, 1], Operations: ['58/58=1']
Exploring Operation: 78+1=79, Resulting Numbers: [16, 79]
Generated Node #0,1,0: 95:[16, 79] Operation: 78+1=79
Exploring Operation: 78+16=94, Resulting Numbers: [1, 94]
Generated Node #0,1,1: 95:[1, 94] Operation: 78+16=94
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[1, 94], Operations: ['58/58=1', '78+16=94']
Exploring Operation: 1*94=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[78, 16, 58, 58], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [78, 16, 1]
Generated Node #0,1: 95:[78, 16, 1] Operation: 58/58=1
Moving to Node #0,1
Current State: 95:[78, 16, 1], Operations: ['58/58=1']
Exploring Operation: 78+16=94, Resulting Numbers: [1, 94]
Generated Node #0,1,1: 95:[1, 94] Operation: 78+16=94
Moving to Node #0,1,1
Current State: 95:[1, 94], Operations: ['58/58=1', '78+16=94']
Exploring Operation: 1+94=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
70,
13,
91,
86
] | 94 | [
"70+13=83",
"91+86=177",
"177-83=94"
] | Current State: 94:[70, 13, 91, 86], Operations: []
Exploring Operation: 70+13=83, Resulting Numbers: [91, 86, 83]
Generated Node #2: [91, 86, 83] from Operation: 70+13=83
Current State: 94:[91, 86, 83], Operations: ['70+13=83']
Exploring Operation: 91+86=177, Resulting Numbers: [83, 177]
Generated Node #3: [83, 177] from Operation: 91+86=177
Current State: 94:[83, 177], Operations: ['70+13=83', '91+86=177']
Exploring Operation: 177-83=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[70, 13, 91, 86], Operations: []
Exploring Operation: 70+13=83, Resulting Numbers: [91, 86, 83]
Generated Node #0,0: 94:[91, 86, 83] Operation: 70+13=83
Exploring Operation: 70-13=57, Resulting Numbers: [91, 86, 57]
Generated Node #0,1: 94:[91, 86, 57] Operation: 70-13=57
Moving to Node #0,1
Current State: 94:[91, 86, 57], Operations: ['70-13=57']
Exploring Operation: 91-57=34, Resulting Numbers: [86, 34]
Generated Node #0,1,0: 94:[86, 34] Operation: 91-57=34
Exploring Operation: 91-86=5, Resulting Numbers: [57, 5]
Generated Node #0,1,1: 94:[57, 5] Operation: 91-86=5
Moving to Node #0,0
Current State: 94:[91, 86, 83], Operations: ['70+13=83']
Exploring Operation: 86-83=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 94:[91, 3] Operation: 86-83=3
Exploring Operation: 91-86=5, Resulting Numbers: [83, 5]
Generated Node #0,0,1: 94:[83, 5] Operation: 91-86=5
Moving to Node #0,0,0
Current State: 94:[91, 3], Operations: ['70+13=83', '86-83=3']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,94 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[70, 13, 91, 86], Operations: []
Exploring Operation: 70+13=83, Resulting Numbers: [91, 86, 83]
Generated Node #0,0: 94:[91, 86, 83] Operation: 70+13=83
Moving to Node #0,0
Current State: 94:[91, 86, 83], Operations: ['70+13=83']
Exploring Operation: 86-83=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 94:[91, 3] Operation: 86-83=3
Moving to Node #0,0,0
Current State: 94:[91, 3], Operations: ['70+13=83', '86-83=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
89,
84,
75,
2
] | 12 | [
"89-75=14",
"84*2=168",
"168/14=12"
] | Current State: 12:[89, 84, 75, 2], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [84, 2, 14]
Generated Node #2: [84, 2, 14] from Operation: 89-75=14
Current State: 12:[84, 2, 14], Operations: ['89-75=14']
Exploring Operation: 84*2=168, Resulting Numbers: [14, 168]
Generated Node #3: [14, 168] from Operation: 84*2=168
Current State: 12:[14, 168], Operations: ['89-75=14', '84*2=168']
Exploring Operation: 168/14=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[89, 84, 75, 2], Operations: []
Exploring Operation: 89-84=5, Resulting Numbers: [75, 2, 5]
Generated Node #0,0: 12:[75, 2, 5] Operation: 89-84=5
Exploring Operation: 84/2=42, Resulting Numbers: [89, 75, 42]
Generated Node #0,1: 12:[89, 75, 42] Operation: 84/2=42
Exploring Operation: 89-75=14, Resulting Numbers: [84, 2, 14]
Generated Node #0,2: 12:[84, 2, 14] Operation: 89-75=14
Exploring Operation: 84-75=9, Resulting Numbers: [89, 2, 9]
Generated Node #0,3: 12:[89, 2, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[75, 2, 5], Operations: ['89-84=5']
Exploring Operation: 75-2=73, Resulting Numbers: [5, 73]
Generated Node #0,0,0: 12:[5, 73] Operation: 75-2=73
Exploring Operation: 5-2=3, Resulting Numbers: [75, 3]
Generated Node #0,0,1: 12:[75, 3] Operation: 5-2=3
Exploring Operation: 75-5=70, Resulting Numbers: [2, 70]
Generated Node #0,0,2: 12:[2, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [2, 15]
Generated Node #0,0,3: 12:[2, 15] Operation: 75/5=15
Moving to Node #0,0,3
Current State: 12:[2, 15], Operations: ['89-84=5', '75/5=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,12 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[2, 70], Operations: ['89-84=5', '75-5=70']
Exploring Operation: 2+70=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 2*70=140, Resulting Numbers: [140]
140,12 unequal: No Solution
Exploring Operation: 70-2=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[5, 73], Operations: ['89-84=5', '75-2=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,12 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[75, 3], Operations: ['89-84=5', '5-2=3']
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,12 unequal: No Solution
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,12 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,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
Current State: 12:[84, 2, 14], Operations: ['89-75=14']
Exploring Operation: 84-2=82, Resulting Numbers: [14, 82]
Generated Node #0,2,0: 12:[14, 82] Operation: 84-2=82
Exploring Operation: 84-14=70, Resulting Numbers: [2, 70]
Generated Node #0,2,1: 12:[2, 70] Operation: 84-14=70
Exploring Operation: 84/2=42, Resulting Numbers: [14, 42]
Generated Node #0,2,2: 12:[14, 42] Operation: 84/2=42
Exploring Operation: 84/14=6, Resulting Numbers: [2, 6]
Generated Node #0,2,3: 12:[2, 6] Operation: 84/14=6
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 12:[2, 6], Operations: ['89-75=14', '84/14=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[89, 84, 75, 2], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [84, 2, 14]
Generated Node #0,2: 12:[84, 2, 14] Operation: 89-75=14
Moving to Node #0,2
Current State: 12:[84, 2, 14], Operations: ['89-75=14']
Exploring Operation: 84/14=6, Resulting Numbers: [2, 6]
Generated Node #0,2,3: 12:[2, 6] Operation: 84/14=6
Moving to Node #0,2,3
Current State: 12:[2, 6], Operations: ['89-75=14', '84/14=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
33,
51,
4,
81
] | 60 | [
"33+51=84",
"84/4=21",
"81-21=60"
] | Current State: 60:[33, 51, 4, 81], Operations: []
Exploring Operation: 33+51=84, Resulting Numbers: [4, 81, 84]
Generated Node #2: [4, 81, 84] from Operation: 33+51=84
Current State: 60:[4, 81, 84], Operations: ['33+51=84']
Exploring Operation: 84/4=21, Resulting Numbers: [81, 21]
Generated Node #3: [81, 21] from Operation: 84/4=21
Current State: 60:[81, 21], Operations: ['33+51=84', '84/4=21']
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[33, 51, 4, 81], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [4, 81, 18]
Generated Node #0,0: 60:[4, 81, 18] Operation: 51-33=18
Exploring Operation: 81-51=30, Resulting Numbers: [33, 4, 30]
Generated Node #0,1: 60:[33, 4, 30] Operation: 81-51=30
Exploring Operation: 81-33=48, Resulting Numbers: [51, 4, 48]
Generated Node #0,2: 60:[51, 4, 48] Operation: 81-33=48
Exploring Operation: 51+4=55, Resulting Numbers: [33, 81, 55]
Generated Node #0,3: 60:[33, 81, 55] Operation: 51+4=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[33, 4, 30], Operations: ['81-51=30']
Exploring Operation: 33-30=3, Resulting Numbers: [4, 3]
Generated Node #0,1,0: 60:[4, 3] Operation: 33-30=3
Exploring Operation: 33+30=63, Resulting Numbers: [4, 63]
Generated Node #0,1,1: 60:[4, 63] Operation: 33+30=63
Exploring Operation: 33-4=29, Resulting Numbers: [30, 29]
Generated Node #0,1,2: 60:[30, 29] Operation: 33-4=29
Exploring Operation: 33+4=37, Resulting Numbers: [30, 37]
Generated Node #0,1,3: 60:[30, 37] Operation: 33+4=37
Moving to Node #0,1,0
Current State: 60:[4, 3], Operations: ['81-51=30', '33-30=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[30, 29], Operations: ['81-51=30', '33-4=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,60 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[4, 63], Operations: ['81-51=30', '33+30=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,60 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[30, 37], Operations: ['81-51=30', '33+4=37']
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,60 unequal: No Solution
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[51, 4, 48], Operations: ['81-33=48']
Exploring Operation: 51-48=3, Resulting Numbers: [4, 3]
Generated Node #0,2,0: 60:[4, 3] Operation: 51-48=3
Exploring Operation: 48/4=12, Resulting Numbers: [51, 12]
Generated Node #0,2,1: 60:[51, 12] Operation: 48/4=12
Exploring Operation: 51+4=55, Resulting Numbers: [48, 55]
Generated Node #0,2,2: 60:[48, 55] Operation: 51+4=55
Exploring Operation: 4+48=52, Resulting Numbers: [51, 52]
Generated Node #0,2,3: 60:[51, 52] Operation: 4+48=52
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[4, 3], Operations: ['81-33=48', '51-48=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,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,2,1
Current State: 60:[51, 12], Operations: ['81-33=48', '48/4=12']
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,60 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,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,2,2
Current State: 60:[48, 55], Operations: ['81-33=48', '51+4=55']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,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,2,3
Current State: 60:[51, 52], Operations: ['81-33=48', '4+48=52']
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[4, 81, 18], Operations: ['51-33=18']
Exploring Operation: 81-4=77, Resulting Numbers: [18, 77]
Generated Node #0,0,0: 60:[18, 77] Operation: 81-4=77
Exploring Operation: 81-18=63, Resulting Numbers: [4, 63]
Generated Node #0,0,1: 60:[4, 63] Operation: 81-18=63
Exploring Operation: 4+18=22, Resulting Numbers: [81, 22]
Generated Node #0,0,2: 60:[81, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [81, 14]
Generated Node #0,0,3: 60:[81, 14] Operation: 18-4=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[4, 63], Operations: ['51-33=18', '81-18=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,60 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,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,0
Current State: 60:[18, 77], Operations: ['51-33=18', '81-4=77']
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,60 unequal: No Solution
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,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,3
Current State: 60:[81, 14], Operations: ['51-33=18', '18-4=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,60 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,60 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,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:[81, 22], Operations: ['51-33=18', '4+18=22']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,60 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[33, 81, 55], Operations: ['51+4=55']
Exploring Operation: 33+55=88, Resulting Numbers: [81, 88]
Generated Node #0,3,0: 60:[81, 88] Operation: 33+55=88
Exploring Operation: 81-33=48, Resulting Numbers: [55, 48]
Generated Node #0,3,1: 60:[55, 48] Operation: 81-33=48
Exploring Operation: 81-55=26, Resulting Numbers: [33, 26]
Generated Node #0,3,2: 60:[33, 26] Operation: 81-55=26
Exploring Operation: 55-33=22, Resulting Numbers: [81, 22]
Generated Node #0,3,3: 60:[81, 22] Operation: 55-33=22
Moving to Node #0,3,2
Current State: 60:[33, 26], Operations: ['51+4=55', '81-55=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 33*26=858, Resulting Numbers: [858]
858,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[55, 48], Operations: ['51+4=55', '81-33=48']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,60 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[81, 22], Operations: ['51+4=55', '55-33=22']
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,60 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[81, 88], Operations: ['51+4=55', '33+55=88']
Exploring Operation: 81*88=7128, Resulting Numbers: [7128]
7128,60 unequal: No Solution
Exploring Operation: 88-81=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 81+88=169, Resulting Numbers: [169]
169,60 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 |
[
71,
37,
36,
5
] | 67 | [
"71+37=108",
"36+5=41",
"108-41=67"
] | Current State: 67:[71, 37, 36, 5], Operations: []
Exploring Operation: 71+37=108, Resulting Numbers: [36, 5, 108]
Generated Node #2: [36, 5, 108] from Operation: 71+37=108
Current State: 67:[36, 5, 108], Operations: ['71+37=108']
Exploring Operation: 36+5=41, Resulting Numbers: [108, 41]
Generated Node #3: [108, 41] from Operation: 36+5=41
Current State: 67:[108, 41], Operations: ['71+37=108', '36+5=41']
Exploring Operation: 108-41=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[71, 37, 36, 5], Operations: []
Exploring Operation: 37+5=42, Resulting Numbers: [71, 36, 42]
Generated Node #0,0: 67:[71, 36, 42] Operation: 37+5=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[71, 36, 42], Operations: ['37+5=42']
Exploring Operation: 36+42=78, Resulting Numbers: [71, 78]
Generated Node #0,0,0: 67:[71, 78] Operation: 36+42=78
Moving to Node #0,0,0
Current State: 67:[71, 78], Operations: ['37+5=42', '36+42=78']
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,67 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 |
[
50,
34,
32,
48
] | 64 | [
"50-34=16",
"32+48=80",
"80-16=64"
] | Current State: 64:[50, 34, 32, 48], Operations: []
Exploring Operation: 50-34=16, Resulting Numbers: [32, 48, 16]
Generated Node #2: [32, 48, 16] from Operation: 50-34=16
Current State: 64:[32, 48, 16], Operations: ['50-34=16']
Exploring Operation: 32+48=80, Resulting Numbers: [16, 80]
Generated Node #3: [16, 80] from Operation: 32+48=80
Current State: 64:[16, 80], Operations: ['50-34=16', '32+48=80']
Exploring Operation: 80-16=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[50, 34, 32, 48], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [34, 32, 2]
Generated Node #0,0: 64:[34, 32, 2] Operation: 50-48=2
Exploring Operation: 48-34=14, Resulting Numbers: [50, 32, 14]
Generated Node #0,1: 64:[50, 32, 14] Operation: 48-34=14
Exploring Operation: 50-34=16, Resulting Numbers: [32, 48, 16]
Generated Node #0,2: 64:[32, 48, 16] Operation: 50-34=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[34, 32, 2], Operations: ['50-48=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32, 32]
Generated Node #0,0,0: 64:[32, 32] Operation: 34-2=32
Exploring Operation: 34/2=17, Resulting Numbers: [32, 17]
Generated Node #0,0,1: 64:[32, 17] Operation: 34/2=17
Exploring Operation: 34-32=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 64:[2, 2] Operation: 34-32=2
Moving to Node #0,0,0
Current State: 64:[32, 32], Operations: ['50-48=2', '34-2=32']
Exploring Operation: 32/32=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[50, 34, 32, 48], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [34, 32, 2]
Generated Node #0,0: 64:[34, 32, 2] Operation: 50-48=2
Moving to Node #0,0
Current State: 64:[34, 32, 2], Operations: ['50-48=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32, 32]
Generated Node #0,0,0: 64:[32, 32] Operation: 34-2=32
Moving to Node #0,0,0
Current State: 64:[32, 32], Operations: ['50-48=2', '34-2=32']
Exploring Operation: 32+32=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
96,
12,
81,
18
] | 17 | [
"96*12=1152",
"1152/18=64",
"81-64=17"
] | Current State: 17:[96, 12, 81, 18], Operations: []
Exploring Operation: 96*12=1152, Resulting Numbers: [81, 18, 1152]
Generated Node #2: [81, 18, 1152] from Operation: 96*12=1152
Current State: 17:[81, 18, 1152], Operations: ['96*12=1152']
Exploring Operation: 1152/18=64, Resulting Numbers: [81, 64]
Generated Node #3: [81, 64] from Operation: 1152/18=64
Current State: 17:[81, 64], Operations: ['96*12=1152', '1152/18=64']
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[96, 12, 81, 18], Operations: []
Exploring Operation: 96-81=15, Resulting Numbers: [12, 18, 15]
Generated Node #0,0: 17:[12, 18, 15] Operation: 96-81=15
Moving to Node #0,0
Current State: 17:[12, 18, 15], Operations: ['96-81=15']
Exploring Operation: 12+15=27, Resulting Numbers: [18, 27]
Generated Node #0,0,0: 17:[18, 27] Operation: 12+15=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[18, 27], Operations: ['96-81=15', '12+15=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,17 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 |
[
32,
90,
41,
1
] | 10 | [
"41-32=9",
"90*1=90",
"90/9=10"
] | Current State: 10:[32, 90, 41, 1], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [90, 1, 9]
Generated Node #2: [90, 1, 9] from Operation: 41-32=9
Current State: 10:[90, 1, 9], Operations: ['41-32=9']
Exploring Operation: 90*1=90, Resulting Numbers: [9, 90]
Generated Node #3: [9, 90] from Operation: 90*1=90
Current State: 10:[9, 90], Operations: ['41-32=9', '90*1=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[32, 90, 41, 1], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [32, 1, 49]
Generated Node #0,0: 10:[32, 1, 49] Operation: 90-41=49
Exploring Operation: 90-32=58, Resulting Numbers: [41, 1, 58]
Generated Node #0,1: 10:[41, 1, 58] Operation: 90-32=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[32, 1, 49], Operations: ['90-41=49']
Exploring Operation: 49-32=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 10:[1, 17] Operation: 49-32=17
Exploring Operation: 32-1=31, Resulting Numbers: [49, 31]
Generated Node #0,0,1: 10:[49, 31] Operation: 32-1=31
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[1, 17], Operations: ['90-41=49', '49-32=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[49, 31], Operations: ['90-41=49', '32-1=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[41, 1, 58], Operations: ['90-32=58']
Exploring Operation: 58-41=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 10:[1, 17] Operation: 58-41=17
Exploring Operation: 41-1=40, Resulting Numbers: [58, 40]
Generated Node #0,1,1: 10:[58, 40] Operation: 41-1=40
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[1, 17], Operations: ['90-32=58', '58-41=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[58, 40], Operations: ['90-32=58', '41-1=40']
Exploring Operation: 58+40=98, Resulting Numbers: [98]
98,10 unequal: No Solution
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,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_2 | mult_heuristic |
[
55,
47,
50,
37
] | 54 | [
"55-37=18",
"50-47=3",
"18*3=54"
] | Current State: 54:[55, 47, 50, 37], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [47, 50, 18]
Generated Node #2: [47, 50, 18] from Operation: 55-37=18
Current State: 54:[47, 50, 18], Operations: ['55-37=18']
Exploring Operation: 50-47=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 50-47=3
Current State: 54:[18, 3], Operations: ['55-37=18', '50-47=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[55, 47, 50, 37], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [55, 37, 3]
Generated Node #0,0: 54:[55, 37, 3] Operation: 50-47=3
Exploring Operation: 50-37=13, Resulting Numbers: [55, 47, 13]
Generated Node #0,1: 54:[55, 47, 13] Operation: 50-37=13
Exploring Operation: 55-37=18, Resulting Numbers: [47, 50, 18]
Generated Node #0,2: 54:[47, 50, 18] Operation: 55-37=18
Exploring Operation: 47-37=10, Resulting Numbers: [55, 50, 10]
Generated Node #0,3: 54:[55, 50, 10] Operation: 47-37=10
Exploring Operation: 55-47=8, Resulting Numbers: [50, 37, 8]
Generated Node #0,4: 54:[50, 37, 8] Operation: 55-47=8
Moving to Node #0,3
Current State: 54:[55, 50, 10], Operations: ['47-37=10']
Exploring Operation: 55-10=45, Resulting Numbers: [50, 45]
Generated Node #0,3,0: 54:[50, 45] Operation: 55-10=45
Exploring Operation: 50+10=60, Resulting Numbers: [55, 60]
Generated Node #0,3,1: 54:[55, 60] Operation: 50+10=60
Exploring Operation: 50-10=40, Resulting Numbers: [55, 40]
Generated Node #0,3,2: 54:[55, 40] Operation: 50-10=40
Exploring Operation: 55-50=5, Resulting Numbers: [10, 5]
Generated Node #0,3,3: 54:[10, 5] Operation: 55-50=5
Exploring Operation: 50/10=5, Resulting Numbers: [55, 5]
Generated Node #0,3,4: 54:[55, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[10, 5], Operations: ['47-37=10', '55-50=5']
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,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,3,4
Current State: 54:[55, 5], Operations: ['47-37=10', '50/10=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,54 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,54 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,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,3,1
Current State: 54:[55, 60], Operations: ['47-37=10', '50+10=60']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 55+60=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 55*60=3300, Resulting Numbers: [3300]
3300,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,3,0
Current State: 54:[50, 45], Operations: ['47-37=10', '55-10=45']
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,54 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,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,3,2
Current State: 54:[55, 40], Operations: ['47-37=10', '50-10=40']
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,54 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: 54:[47, 50, 18], Operations: ['55-37=18']
Exploring Operation: 50+18=68, Resulting Numbers: [47, 68]
Generated Node #0,2,0: 54:[47, 68] Operation: 50+18=68
Exploring Operation: 50-47=3, Resulting Numbers: [18, 3]
Generated Node #0,2,1: 54:[18, 3] Operation: 50-47=3
Exploring Operation: 50-18=32, Resulting Numbers: [47, 32]
Generated Node #0,2,2: 54:[47, 32] Operation: 50-18=32
Exploring Operation: 47+18=65, Resulting Numbers: [50, 65]
Generated Node #0,2,3: 54:[50, 65] Operation: 47+18=65
Exploring Operation: 47-18=29, Resulting Numbers: [50, 29]
Generated Node #0,2,4: 54:[50, 29] Operation: 47-18=29
Moving to Node #0,0
Current State: 54:[55, 37, 3], Operations: ['50-47=3']
Exploring Operation: 55-3=52, Resulting Numbers: [37, 52]
Generated Node #0,0,0: 54:[37, 52] Operation: 55-3=52
Exploring Operation: 37-3=34, Resulting Numbers: [55, 34]
Generated Node #0,0,1: 54:[55, 34] Operation: 37-3=34
Exploring Operation: 37+3=40, Resulting Numbers: [55, 40]
Generated Node #0,0,2: 54:[55, 40] Operation: 37+3=40
Exploring Operation: 55+3=58, Resulting Numbers: [37, 58]
Generated Node #0,0,3: 54:[37, 58] Operation: 55+3=58
Exploring Operation: 55-37=18, Resulting Numbers: [3, 18]
Generated Node #0,0,4: 54:[3, 18] Operation: 55-37=18
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 54:[3, 18], Operations: ['50-47=3', '55-37=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[55, 47, 50, 37], Operations: []
Exploring Operation: 50-47=3, Resulting Numbers: [55, 37, 3]
Generated Node #0,0: 54:[55, 37, 3] Operation: 50-47=3
Moving to Node #0,0
Current State: 54:[55, 37, 3], Operations: ['50-47=3']
Exploring Operation: 55-37=18, Resulting Numbers: [3, 18]
Generated Node #0,0,4: 54:[3, 18] Operation: 55-37=18
Moving to Node #0,0,4
Current State: 54:[3, 18], Operations: ['50-47=3', '55-37=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
89,
61,
11,
10
] | 71 | [
"89+11=100",
"100/10=10",
"61+10=71"
] | Current State: 71:[89, 61, 11, 10], Operations: []
Exploring Operation: 89+11=100, Resulting Numbers: [61, 10, 100]
Generated Node #2: [61, 10, 100] from Operation: 89+11=100
Current State: 71:[61, 10, 100], Operations: ['89+11=100']
Exploring Operation: 100/10=10, Resulting Numbers: [61, 10]
Generated Node #3: [61, 10] from Operation: 100/10=10
Current State: 71:[61, 10], Operations: ['89+11=100', '100/10=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[89, 61, 11, 10], Operations: []
Exploring Operation: 89-11=78, Resulting Numbers: [61, 10, 78]
Generated Node #0,0: 71:[61, 10, 78] Operation: 89-11=78
Exploring Operation: 89-10=79, Resulting Numbers: [61, 11, 79]
Generated Node #0,1: 71:[61, 11, 79] Operation: 89-10=79
Exploring Operation: 11*10=110, Resulting Numbers: [89, 61, 110]
Generated Node #0,2: 71:[89, 61, 110] Operation: 11*10=110
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[89, 61, 110], Operations: ['11*10=110']
Exploring Operation: 89-61=28, Resulting Numbers: [110, 28]
Generated Node #0,2,0: 71:[110, 28] Operation: 89-61=28
Exploring Operation: 110-89=21, Resulting Numbers: [61, 21]
Generated Node #0,2,1: 71:[61, 21] Operation: 110-89=21
Exploring Operation: 110-61=49, Resulting Numbers: [89, 49]
Generated Node #0,2,2: 71:[89, 49] Operation: 110-61=49
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[89, 49], Operations: ['11*10=110', '110-61=49']
Exploring Operation: 89-49=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 89+49=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 89*49=4361, Resulting Numbers: [4361]
4361,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,2,1
Current State: 71:[61, 21], Operations: ['11*10=110', '110-89=21']
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,71 unequal: No Solution
Exploring Operation: 61*21=1281, Resulting Numbers: [1281]
1281,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,2,0
Current State: 71:[110, 28], Operations: ['11*10=110', '89-61=28']
Exploring Operation: 110-28=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 110+28=138, Resulting Numbers: [138]
138,71 unequal: No Solution
Exploring Operation: 110*28=3080, Resulting Numbers: [3080]
3080,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[61, 10, 78], Operations: ['89-11=78']
Exploring Operation: 61+10=71, Resulting Numbers: [78, 71]
Generated Node #0,0,0: 71:[78, 71] Operation: 61+10=71
Exploring Operation: 78-10=68, Resulting Numbers: [61, 68]
Generated Node #0,0,1: 71:[61, 68] Operation: 78-10=68
Exploring Operation: 61-10=51, Resulting Numbers: [78, 51]
Generated Node #0,0,2: 71:[78, 51] Operation: 61-10=51
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[78, 71], Operations: ['89-11=78', '61+10=71']
Exploring Operation: 78+71=149, Resulting Numbers: [149]
149,71 unequal: No Solution
Exploring Operation: 78-71=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 78*71=5538, Resulting Numbers: [5538]
5538,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,0,1
Current State: 71:[61, 68], Operations: ['89-11=78', '78-10=68']
Exploring Operation: 61+68=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 61*68=4148, Resulting Numbers: [4148]
4148,71 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,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,0,2
Current State: 71:[78, 51], Operations: ['89-11=78', '61-10=51']
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[61, 11, 79], Operations: ['89-10=79']
Exploring Operation: 61+11=72, Resulting Numbers: [79, 72]
Generated Node #0,1,0: 71:[79, 72] Operation: 61+11=72
Exploring Operation: 61-11=50, Resulting Numbers: [79, 50]
Generated Node #0,1,1: 71:[79, 50] Operation: 61-11=50
Exploring Operation: 79-11=68, Resulting Numbers: [61, 68]
Generated Node #0,1,2: 71:[61, 68] Operation: 79-11=68
Moving to Node #0,1,0
Current State: 71:[79, 72], Operations: ['89-10=79', '61+11=72']
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,71 unequal: No Solution
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[61, 68], Operations: ['89-10=79', '79-11=68']
Exploring Operation: 61+68=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 61*68=4148, Resulting Numbers: [4148]
4148,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[79, 50], Operations: ['89-10=79', '61-11=50']
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 79*50=3950, Resulting Numbers: [3950]
3950,71 unequal: No Solution
Exploring Operation: 79+50=129, Resulting Numbers: [129]
129,71 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 |
[
25,
2,
37,
71
] | 65 | [
"37-25=12",
"12/2=6",
"71-6=65"
] | Current State: 65:[25, 2, 37, 71], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [2, 71, 12]
Generated Node #2: [2, 71, 12] from Operation: 37-25=12
Current State: 65:[2, 71, 12], Operations: ['37-25=12']
Exploring Operation: 12/2=6, Resulting Numbers: [71, 6]
Generated Node #3: [71, 6] from Operation: 12/2=6
Current State: 65:[71, 6], Operations: ['37-25=12', '12/2=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[25, 2, 37, 71], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [25, 71, 74]
Generated Node #0,0: 65:[25, 71, 74] Operation: 2*37=74
Exploring Operation: 25+37=62, Resulting Numbers: [2, 71, 62]
Generated Node #0,1: 65:[2, 71, 62] Operation: 25+37=62
Exploring Operation: 71-37=34, Resulting Numbers: [25, 2, 34]
Generated Node #0,2: 65:[25, 2, 34] Operation: 71-37=34
Exploring Operation: 37-25=12, Resulting Numbers: [2, 71, 12]
Generated Node #0,3: 65:[2, 71, 12] Operation: 37-25=12
Moving to Node #0,3
Current State: 65:[2, 71, 12], Operations: ['37-25=12']
Exploring Operation: 2+71=73, Resulting Numbers: [12, 73]
Generated Node #0,3,0: 65:[12, 73] Operation: 2+71=73
Exploring Operation: 71-2=69, Resulting Numbers: [12, 69]
Generated Node #0,3,1: 65:[12, 69] Operation: 71-2=69
Exploring Operation: 12/2=6, Resulting Numbers: [71, 6]
Generated Node #0,3,2: 65:[71, 6] Operation: 12/2=6
Exploring Operation: 2+12=14, Resulting Numbers: [71, 14]
Generated Node #0,3,3: 65:[71, 14] Operation: 2+12=14
Moving to Node #0,1
Current State: 65:[2, 71, 62], Operations: ['25+37=62']
Exploring Operation: 71-2=69, Resulting Numbers: [62, 69]
Generated Node #0,1,0: 65:[62, 69] Operation: 71-2=69
Exploring Operation: 71-62=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 65:[2, 9] Operation: 71-62=9
Exploring Operation: 2+71=73, Resulting Numbers: [62, 73]
Generated Node #0,1,2: 65:[62, 73] Operation: 2+71=73
Exploring Operation: 2+62=64, Resulting Numbers: [71, 64]
Generated Node #0,1,3: 65:[71, 64] Operation: 2+62=64
Moving to Node #0,0
Current State: 65:[25, 71, 74], Operations: ['2*37=74']
Exploring Operation: 71-25=46, Resulting Numbers: [74, 46]
Generated Node #0,0,0: 65:[74, 46] Operation: 71-25=46
Exploring Operation: 74-25=49, Resulting Numbers: [71, 49]
Generated Node #0,0,1: 65:[71, 49] Operation: 74-25=49
Exploring Operation: 25+71=96, Resulting Numbers: [74, 96]
Generated Node #0,0,2: 65:[74, 96] Operation: 25+71=96
Exploring Operation: 74-71=3, Resulting Numbers: [25, 3]
Generated Node #0,0,3: 65:[25, 3] Operation: 74-71=3
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 65:[25, 3], Operations: ['2*37=74', '74-71=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[71, 49], Operations: ['2*37=74', '74-25=49']
Exploring Operation: 71+49=120, Resulting Numbers: [120]
120,65 unequal: No Solution
Exploring Operation: 71*49=3479, Resulting Numbers: [3479]
3479,65 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[74, 46], Operations: ['2*37=74', '71-25=46']
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,65 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,65 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[74, 96], Operations: ['2*37=74', '25+71=96']
Exploring Operation: 74+96=170, Resulting Numbers: [170]
170,65 unequal: No Solution
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 74*96=7104, Resulting Numbers: [7104]
7104,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 65:[25, 2, 34], Operations: ['71-37=34']
Exploring Operation: 34-25=9, Resulting Numbers: [2, 9]
Generated Node #0,2,0: 65:[2, 9] Operation: 34-25=9
Exploring Operation: 25+34=59, Resulting Numbers: [2, 59]
Generated Node #0,2,1: 65:[2, 59] Operation: 25+34=59
Exploring Operation: 2*34=68, Resulting Numbers: [25, 68]
Generated Node #0,2,2: 65:[25, 68] Operation: 2*34=68
Exploring Operation: 34/2=17, Resulting Numbers: [25, 17]
Generated Node #0,2,3: 65:[25, 17] Operation: 34/2=17
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[2, 9], Operations: ['71-37=34', '34-25=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 65:[2, 59], Operations: ['71-37=34', '25+34=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 65:[25, 68], Operations: ['71-37=34', '2*34=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,65 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 25*68=1700, Resulting Numbers: [1700]
1700,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 65:[25, 17], Operations: ['71-37=34', '34/2=17']
Exploring Operation: 25+17=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 25*17=425, Resulting Numbers: [425]
425,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 65:[12, 69], Operations: ['37-25=12', '71-2=69']
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,65 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[71, 14], Operations: ['37-25=12', '2+12=14']
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,65 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,65 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[71, 64], Operations: ['25+37=62', '2+62=64']
Exploring Operation: 71*64=4544, Resulting Numbers: [4544]
4544,65 unequal: No Solution
Exploring Operation: 71-64=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 71+64=135, Resulting Numbers: [135]
135,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[2, 9], Operations: ['25+37=62', '71-62=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,65 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[71, 6], Operations: ['37-25=12', '12/2=6']
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,65 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[25, 2, 37, 71], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [2, 71, 12]
Generated Node #0,3: 65:[2, 71, 12] Operation: 37-25=12
Moving to Node #0,3
Current State: 65:[2, 71, 12], Operations: ['37-25=12']
Exploring Operation: 12/2=6, Resulting Numbers: [71, 6]
Generated Node #0,3,2: 65:[71, 6] Operation: 12/2=6
Moving to Node #0,3,2
Current State: 65:[71, 6], Operations: ['37-25=12', '12/2=6']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.946181 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.