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 |
|---|---|---|---|---|---|---|---|---|
[
22,
97,
29,
5
] | 51 | [
"97-22=75",
"29-5=24",
"75-24=51"
] | Current State: 51:[22, 97, 29, 5], Operations: []
Exploring Operation: 97-22=75, Resulting Numbers: [29, 5, 75]
Generated Node #2: [29, 5, 75] from Operation: 97-22=75
Current State: 51:[29, 5, 75], Operations: ['97-22=75']
Exploring Operation: 29-5=24, Resulting Numbers: [75, 24]
Generated Node #3: [75, 24] from Operation: 29-5=24
Current State: 51:[75, 24], Operations: ['97-22=75', '29-5=24']
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[22, 97, 29, 5], Operations: []
Exploring Operation: 97-22=75, Resulting Numbers: [29, 5, 75]
Generated Node #0,0: 51:[29, 5, 75] Operation: 97-22=75
Exploring Operation: 97-29=68, Resulting Numbers: [22, 5, 68]
Generated Node #0,1: 51:[22, 5, 68] Operation: 97-29=68
Moving to Node #0,1
Current State: 51:[22, 5, 68], Operations: ['97-29=68']
Exploring Operation: 68-22=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 51:[5, 46] Operation: 68-22=46
Exploring Operation: 22-5=17, Resulting Numbers: [68, 17]
Generated Node #0,1,1: 51:[68, 17] Operation: 22-5=17
Moving to Node #0,0
Current State: 51:[29, 5, 75], Operations: ['97-22=75']
Exploring Operation: 75-29=46, Resulting Numbers: [5, 46]
Generated Node #0,0,0: 51:[5, 46] Operation: 75-29=46
Exploring Operation: 75/5=15, Resulting Numbers: [29, 15]
Generated Node #0,0,1: 51:[29, 15] Operation: 75/5=15
Moving to Node #0,1,0
Current State: 51:[5, 46], Operations: ['97-29=68', '68-22=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[22, 97, 29, 5], Operations: []
Exploring Operation: 97-29=68, Resulting Numbers: [22, 5, 68]
Generated Node #0,1: 51:[22, 5, 68] Operation: 97-29=68
Moving to Node #0,1
Current State: 51:[22, 5, 68], Operations: ['97-29=68']
Exploring Operation: 68-22=46, Resulting Numbers: [5, 46]
Generated Node #0,1,0: 51:[5, 46] Operation: 68-22=46
Moving to Node #0,1,0
Current State: 51:[5, 46], Operations: ['97-29=68', '68-22=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
23,
75,
10,
60
] | 58 | [
"75-23=52",
"60/10=6",
"52+6=58"
] | Current State: 58:[23, 75, 10, 60], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [10, 60, 52]
Generated Node #2: [10, 60, 52] from Operation: 75-23=52
Current State: 58:[10, 60, 52], Operations: ['75-23=52']
Exploring Operation: 60/10=6, Resulting Numbers: [52, 6]
Generated Node #3: [52, 6] from Operation: 60/10=6
Current State: 58:[52, 6], Operations: ['75-23=52', '60/10=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[23, 75, 10, 60], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [10, 60, 52]
Generated Node #0,0: 58:[10, 60, 52] Operation: 75-23=52
Exploring Operation: 75-10=65, Resulting Numbers: [23, 60, 65]
Generated Node #0,1: 58:[23, 60, 65] Operation: 75-10=65
Exploring Operation: 23+10=33, Resulting Numbers: [75, 60, 33]
Generated Node #0,2: 58:[75, 60, 33] Operation: 23+10=33
Moving to Node #0,1
Current State: 58:[23, 60, 65], Operations: ['75-10=65']
Exploring Operation: 60-23=37, Resulting Numbers: [65, 37]
Generated Node #0,1,0: 58:[65, 37] Operation: 60-23=37
Exploring Operation: 65-23=42, Resulting Numbers: [60, 42]
Generated Node #0,1,1: 58:[60, 42] Operation: 65-23=42
Exploring Operation: 65-60=5, Resulting Numbers: [23, 5]
Generated Node #0,1,2: 58:[23, 5] Operation: 65-60=5
Moving to Node #0,0
Current State: 58:[10, 60, 52], Operations: ['75-23=52']
Exploring Operation: 60-10=50, Resulting Numbers: [52, 50]
Generated Node #0,0,0: 58:[52, 50] Operation: 60-10=50
Exploring Operation: 10+52=62, Resulting Numbers: [60, 62]
Generated Node #0,0,1: 58:[60, 62] Operation: 10+52=62
Exploring Operation: 60/10=6, Resulting Numbers: [52, 6]
Generated Node #0,0,2: 58:[52, 6] Operation: 60/10=6
Moving to Node #0,2
Current State: 58:[75, 60, 33], Operations: ['23+10=33']
Exploring Operation: 75-60=15, Resulting Numbers: [33, 15]
Generated Node #0,2,0: 58:[33, 15] Operation: 75-60=15
Exploring Operation: 75-33=42, Resulting Numbers: [60, 42]
Generated Node #0,2,1: 58:[60, 42] Operation: 75-33=42
Exploring Operation: 60-33=27, Resulting Numbers: [75, 27]
Generated Node #0,2,2: 58:[75, 27] Operation: 60-33=27
Moving to Node #0,0,1
Current State: 58:[60, 62], Operations: ['75-23=52', '10+52=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,58 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[23, 5], Operations: ['75-10=65', '65-60=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[52, 6], Operations: ['75-23=52', '60/10=6']
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,58 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,58 unequal: No Solution
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[23, 75, 10, 60], Operations: []
Exploring Operation: 75-23=52, Resulting Numbers: [10, 60, 52]
Generated Node #0,0: 58:[10, 60, 52] Operation: 75-23=52
Moving to Node #0,0
Current State: 58:[10, 60, 52], Operations: ['75-23=52']
Exploring Operation: 60/10=6, Resulting Numbers: [52, 6]
Generated Node #0,0,2: 58:[52, 6] Operation: 60/10=6
Moving to Node #0,0,2
Current State: 58:[52, 6], Operations: ['75-23=52', '60/10=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
38,
29,
62,
59
] | 49 | [
"62-59=3",
"29*3=87",
"87-38=49"
] | Current State: 49:[38, 29, 62, 59], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [38, 29, 3]
Generated Node #2: [38, 29, 3] from Operation: 62-59=3
Current State: 49:[38, 29, 3], Operations: ['62-59=3']
Exploring Operation: 29*3=87, Resulting Numbers: [38, 87]
Generated Node #3: [38, 87] from Operation: 29*3=87
Current State: 49:[38, 87], Operations: ['62-59=3', '29*3=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[38, 29, 62, 59], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [62, 59, 9]
Generated Node #0,0: 49:[62, 59, 9] Operation: 38-29=9
Exploring Operation: 62-59=3, Resulting Numbers: [38, 29, 3]
Generated Node #0,1: 49:[38, 29, 3] Operation: 62-59=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[62, 59, 9], Operations: ['38-29=9']
Exploring Operation: 62-9=53, Resulting Numbers: [59, 53]
Generated Node #0,0,0: 49:[59, 53] Operation: 62-9=53
Exploring Operation: 62-59=3, Resulting Numbers: [9, 3]
Generated Node #0,0,1: 49:[9, 3] Operation: 62-59=3
Moving to Node #0,0,1
Current State: 49:[9, 3], Operations: ['38-29=9', '62-59=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[59, 53], Operations: ['38-29=9', '62-9=53']
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,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,1
Current State: 49:[38, 29, 3], Operations: ['62-59=3']
Exploring Operation: 38+29=67, Resulting Numbers: [3, 67]
Generated Node #0,1,0: 49:[3, 67] Operation: 38+29=67
Exploring Operation: 38-29=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 49:[3, 9] Operation: 38-29=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[3, 9], Operations: ['62-59=3', '38-29=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[3, 67], Operations: ['62-59=3', '38+29=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
33,
30,
36
] | 31 | [
"96-36=60",
"60/30=2",
"33-2=31"
] | Current State: 31:[96, 33, 30, 36], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [33, 30, 60]
Generated Node #2: [33, 30, 60] from Operation: 96-36=60
Current State: 31:[33, 30, 60], Operations: ['96-36=60']
Exploring Operation: 60/30=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 60/30=2
Current State: 31:[33, 2], Operations: ['96-36=60', '60/30=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[96, 33, 30, 36], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [33, 36, 66]
Generated Node #0,0: 31:[33, 36, 66] Operation: 96-30=66
Exploring Operation: 96-36=60, Resulting Numbers: [33, 30, 60]
Generated Node #0,1: 31:[33, 30, 60] Operation: 96-36=60
Exploring Operation: 36-30=6, Resulting Numbers: [96, 33, 6]
Generated Node #0,2: 31:[96, 33, 6] Operation: 36-30=6
Exploring Operation: 96-33=63, Resulting Numbers: [30, 36, 63]
Generated Node #0,3: 31:[30, 36, 63] Operation: 96-33=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[33, 30, 60], Operations: ['96-36=60']
Exploring Operation: 33-30=3, Resulting Numbers: [60, 3]
Generated Node #0,1,0: 31:[60, 3] Operation: 33-30=3
Exploring Operation: 60-30=30, Resulting Numbers: [33, 30]
Generated Node #0,1,1: 31:[33, 30] Operation: 60-30=30
Exploring Operation: 60-33=27, Resulting Numbers: [30, 27]
Generated Node #0,1,2: 31:[30, 27] Operation: 60-33=27
Exploring Operation: 60/30=2, Resulting Numbers: [33, 2]
Generated Node #0,1,3: 31:[33, 2] Operation: 60/30=2
Moving to Node #0,1,1
Current State: 31:[33, 30], Operations: ['96-36=60', '60-30=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,31 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[30, 27], Operations: ['96-36=60', '60-33=27']
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,31 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[33, 2], Operations: ['96-36=60', '60/30=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[96, 33, 30, 36], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [33, 30, 60]
Generated Node #0,1: 31:[33, 30, 60] Operation: 96-36=60
Moving to Node #0,1
Current State: 31:[33, 30, 60], Operations: ['96-36=60']
Exploring Operation: 60/30=2, Resulting Numbers: [33, 2]
Generated Node #0,1,3: 31:[33, 2] Operation: 60/30=2
Moving to Node #0,1,3
Current State: 31:[33, 2], Operations: ['96-36=60', '60/30=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
10,
5,
28,
46
] | 94 | [
"10-5=5",
"28*5=140",
"140-46=94"
] | Current State: 94:[10, 5, 28, 46], Operations: []
Exploring Operation: 10-5=5, Resulting Numbers: [28, 46, 5]
Generated Node #2: [28, 46, 5] from Operation: 10-5=5
Current State: 94:[28, 46, 5], Operations: ['10-5=5']
Exploring Operation: 28*5=140, Resulting Numbers: [46, 140]
Generated Node #3: [46, 140] from Operation: 28*5=140
Current State: 94:[46, 140], Operations: ['10-5=5', '28*5=140']
Exploring Operation: 140-46=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[10, 5, 28, 46], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [5, 46, 18]
Generated Node #0,0: 94:[5, 46, 18] Operation: 28-10=18
Exploring Operation: 10/5=2, Resulting Numbers: [28, 46, 2]
Generated Node #0,1: 94:[28, 46, 2] Operation: 10/5=2
Exploring Operation: 10+28=38, Resulting Numbers: [5, 46, 38]
Generated Node #0,2: 94:[5, 46, 38] Operation: 10+28=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[5, 46, 38], Operations: ['10+28=38']
Exploring Operation: 5+46=51, Resulting Numbers: [38, 51]
Generated Node #0,2,0: 94:[38, 51] Operation: 5+46=51
Exploring Operation: 46-38=8, Resulting Numbers: [5, 8]
Generated Node #0,2,1: 94:[5, 8] Operation: 46-38=8
Exploring Operation: 5+38=43, Resulting Numbers: [46, 43]
Generated Node #0,2,2: 94:[46, 43] Operation: 5+38=43
Moving to Node #0,2,2
Current State: 94:[46, 43], Operations: ['10+28=38', '5+38=43']
Exploring Operation: 46+43=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 46*43=1978, Resulting Numbers: [1978]
1978,94 unequal: No Solution
Exploring Operation: 46-43=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[5, 8], Operations: ['10+28=38', '46-38=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[38, 51], Operations: ['10+28=38', '5+46=51']
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,94 unequal: No Solution
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[5, 46, 18], Operations: ['28-10=18']
Exploring Operation: 5+46=51, Resulting Numbers: [18, 51]
Generated Node #0,0,0: 94:[18, 51] Operation: 5+46=51
Exploring Operation: 18-5=13, Resulting Numbers: [46, 13]
Generated Node #0,0,1: 94:[46, 13] Operation: 18-5=13
Exploring Operation: 5*18=90, Resulting Numbers: [46, 90]
Generated Node #0,0,2: 94:[46, 90] Operation: 5*18=90
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[46, 90], Operations: ['28-10=18', '5*18=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,94 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[46, 13], Operations: ['28-10=18', '18-5=13']
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,94 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,94 unequal: No Solution
Exploring Operation: 46*13=598, Resulting Numbers: [598]
598,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[18, 51], Operations: ['28-10=18', '5+46=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,94 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,94 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[28, 46, 2], Operations: ['10/5=2']
Exploring Operation: 46-28=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 94:[2, 18] Operation: 46-28=18
Exploring Operation: 28*2=56, Resulting Numbers: [46, 56]
Generated Node #0,1,1: 94:[46, 56] Operation: 28*2=56
Exploring Operation: 28/2=14, Resulting Numbers: [46, 14]
Generated Node #0,1,2: 94:[46, 14] Operation: 28/2=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[46, 56], Operations: ['10/5=2', '28*2=56']
Exploring Operation: 46*56=2576, Resulting Numbers: [2576]
2576,94 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[46, 14], Operations: ['10/5=2', '28/2=14']
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,94 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[2, 18], Operations: ['10/5=2', '46-28=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,94 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,94 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
56,
23,
39,
62
] | 55 | [
"23+39=62",
"62/62=1",
"56-1=55"
] | Current State: 55:[56, 23, 39, 62], Operations: []
Exploring Operation: 23+39=62, Resulting Numbers: [56, 62, 62]
Generated Node #2: [56, 62, 62] from Operation: 23+39=62
Current State: 55:[56, 62, 62], Operations: ['23+39=62']
Exploring Operation: 62/62=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 62/62=1
Current State: 55:[56, 1], Operations: ['23+39=62', '62/62=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[56, 23, 39, 62], Operations: []
Exploring Operation: 23+39=62, Resulting Numbers: [56, 62, 62]
Generated Node #0,0: 55:[56, 62, 62] Operation: 23+39=62
Exploring Operation: 39-23=16, Resulting Numbers: [56, 62, 16]
Generated Node #0,1: 55:[56, 62, 16] Operation: 39-23=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[56, 62, 16], Operations: ['39-23=16']
Exploring Operation: 62-16=46, Resulting Numbers: [56, 46]
Generated Node #0,1,0: 55:[56, 46] Operation: 62-16=46
Exploring Operation: 62-56=6, Resulting Numbers: [16, 6]
Generated Node #0,1,1: 55:[16, 6] Operation: 62-56=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[16, 6], Operations: ['39-23=16', '62-56=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,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,1,0
Current State: 55:[56, 46], Operations: ['39-23=16', '62-16=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,55 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,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,0
Current State: 55:[56, 62, 62], Operations: ['23+39=62']
Exploring Operation: 62-62=0, Resulting Numbers: [56, 0]
Generated Node #0,0,0: 55:[56, 0] Operation: 62-62=0
Exploring Operation: 62/62=1, Resulting Numbers: [56, 1]
Generated Node #0,0,1: 55:[56, 1] Operation: 62/62=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[56, 1], Operations: ['23+39=62', '62/62=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[56, 23, 39, 62], Operations: []
Exploring Operation: 23+39=62, Resulting Numbers: [56, 62, 62]
Generated Node #0,0: 55:[56, 62, 62] Operation: 23+39=62
Moving to Node #0,0
Current State: 55:[56, 62, 62], Operations: ['23+39=62']
Exploring Operation: 62/62=1, Resulting Numbers: [56, 1]
Generated Node #0,0,1: 55:[56, 1] Operation: 62/62=1
Moving to Node #0,0,1
Current State: 55:[56, 1], Operations: ['23+39=62', '62/62=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
10,
9,
38,
51
] | 89 | [
"10-9=1",
"38+51=89",
"1*89=89"
] | Current State: 89:[10, 9, 38, 51], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [38, 51, 1]
Generated Node #2: [38, 51, 1] from Operation: 10-9=1
Current State: 89:[38, 51, 1], Operations: ['10-9=1']
Exploring Operation: 38+51=89, Resulting Numbers: [1, 89]
Generated Node #3: [1, 89] from Operation: 38+51=89
Current State: 89:[1, 89], Operations: ['10-9=1', '38+51=89']
Exploring Operation: 1*89=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[10, 9, 38, 51], Operations: []
Exploring Operation: 10*9=90, Resulting Numbers: [38, 51, 90]
Generated Node #0,0: 89:[38, 51, 90] Operation: 10*9=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[38, 51, 90], Operations: ['10*9=90']
Exploring Operation: 38+51=89, Resulting Numbers: [90, 89]
Generated Node #0,0,0: 89:[90, 89] Operation: 38+51=89
Moving to Node #0,0,0
Current State: 89:[90, 89], Operations: ['10*9=90', '38+51=89']
Exploring Operation: 90-89=1, Resulting Numbers: [1]
1,89 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 |
[
13,
41,
23,
18
] | 95 | [
"13+41=54",
"23+18=41",
"54+41=95"
] | Current State: 95:[13, 41, 23, 18], Operations: []
Exploring Operation: 13+41=54, Resulting Numbers: [23, 18, 54]
Generated Node #2: [23, 18, 54] from Operation: 13+41=54
Current State: 95:[23, 18, 54], Operations: ['13+41=54']
Exploring Operation: 23+18=41, Resulting Numbers: [54, 41]
Generated Node #3: [54, 41] from Operation: 23+18=41
Current State: 95:[54, 41], Operations: ['13+41=54', '23+18=41']
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[13, 41, 23, 18], Operations: []
Exploring Operation: 41-13=28, Resulting Numbers: [23, 18, 28]
Generated Node #0,0: 95:[23, 18, 28] Operation: 41-13=28
Exploring Operation: 18-13=5, Resulting Numbers: [41, 23, 5]
Generated Node #0,1: 95:[41, 23, 5] Operation: 18-13=5
Exploring Operation: 41-18=23, Resulting Numbers: [13, 23, 23]
Generated Node #0,2: 95:[13, 23, 23] Operation: 41-18=23
Exploring Operation: 41-23=18, Resulting Numbers: [13, 18, 18]
Generated Node #0,3: 95:[13, 18, 18] Operation: 41-23=18
Exploring Operation: 23-13=10, Resulting Numbers: [41, 18, 10]
Generated Node #0,4: 95:[41, 18, 10] Operation: 23-13=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[13, 18, 18], Operations: ['41-23=18']
Exploring Operation: 13+18=31, Resulting Numbers: [18, 31]
Generated Node #0,3,0: 95:[18, 31] Operation: 13+18=31
Exploring Operation: 18/18=1, Resulting Numbers: [13, 1]
Generated Node #0,3,1: 95:[13, 1] Operation: 18/18=1
Exploring Operation: 18-18=0, Resulting Numbers: [13, 0]
Generated Node #0,3,2: 95:[13, 0] Operation: 18-18=0
Exploring Operation: 18-13=5, Resulting Numbers: [18, 5]
Generated Node #0,3,3: 95:[18, 5] Operation: 18-13=5
Exploring Operation: 18-13=5, Resulting Numbers: [18, 5]
Generated Node #0,3,4: 95:[18, 5] Operation: 18-13=5
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[18, 5], Operations: ['41-23=18', '18-13=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No 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: 95:[18, 5], Operations: ['41-23=18', '18-13=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,95 unequal: No Solution
No 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: 95:[13, 1], Operations: ['41-23=18', '18/18=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,95 unequal: No Solution
No 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: 95:[13, 0], Operations: ['41-23=18', '18-18=0']
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Exploring Operation: 13-0=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[18, 31], Operations: ['41-23=18', '13+18=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,95 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: 95:[23, 18, 28], Operations: ['41-13=28']
Exploring Operation: 18+28=46, Resulting Numbers: [23, 46]
Generated Node #0,0,0: 95:[23, 46] Operation: 18+28=46
Exploring Operation: 28-18=10, Resulting Numbers: [23, 10]
Generated Node #0,0,1: 95:[23, 10] Operation: 28-18=10
Exploring Operation: 23-18=5, Resulting Numbers: [28, 5]
Generated Node #0,0,2: 95:[28, 5] Operation: 23-18=5
Exploring Operation: 23+18=41, Resulting Numbers: [28, 41]
Generated Node #0,0,3: 95:[28, 41] Operation: 23+18=41
Exploring Operation: 28-23=5, Resulting Numbers: [18, 5]
Generated Node #0,0,4: 95:[18, 5] Operation: 28-23=5
Moving to Node #0,0,4
Current State: 95:[18, 5], Operations: ['41-13=28', '28-23=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[28, 5], Operations: ['41-13=28', '23-18=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,95 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[23, 10], Operations: ['41-13=28', '28-18=10']
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,95 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[23, 46], Operations: ['41-13=28', '18+28=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,95 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[28, 41], Operations: ['41-13=28', '23+18=41']
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,95 unequal: No Solution
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[13, 23, 23], Operations: ['41-18=23']
Exploring Operation: 23-23=0, Resulting Numbers: [13, 0]
Generated Node #0,2,0: 95:[13, 0] Operation: 23-23=0
Exploring Operation: 23-13=10, Resulting Numbers: [23, 10]
Generated Node #0,2,1: 95:[23, 10] Operation: 23-13=10
Exploring Operation: 13+23=36, Resulting Numbers: [23, 36]
Generated Node #0,2,2: 95:[23, 36] Operation: 13+23=36
Exploring Operation: 23-13=10, Resulting Numbers: [23, 10]
Generated Node #0,2,3: 95:[23, 10] Operation: 23-13=10
Exploring Operation: 23/23=1, Resulting Numbers: [13, 1]
Generated Node #0,2,4: 95:[13, 1] Operation: 23/23=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[23, 10], Operations: ['41-18=23', '23-13=10']
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,95 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No 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: 95:[23, 10], Operations: ['41-18=23', '23-13=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,95 unequal: No Solution
No 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: 95:[13, 1], Operations: ['41-18=23', '23/23=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,95 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No 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: 95:[13, 0], Operations: ['41-18=23', '23-23=0']
Exploring Operation: 13*0=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Exploring Operation: 13+0=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 13-0=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No 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: 95:[23, 36], Operations: ['41-18=23', '13+23=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,95 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,95 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: 95:[41, 23, 5], Operations: ['18-13=5']
Exploring Operation: 41-5=36, Resulting Numbers: [23, 36]
Generated Node #0,1,0: 95:[23, 36] Operation: 41-5=36
Exploring Operation: 41+5=46, Resulting Numbers: [23, 46]
Generated Node #0,1,1: 95:[23, 46] Operation: 41+5=46
Exploring Operation: 23-5=18, Resulting Numbers: [41, 18]
Generated Node #0,1,2: 95:[41, 18] Operation: 23-5=18
Exploring Operation: 41-23=18, Resulting Numbers: [5, 18]
Generated Node #0,1,3: 95:[5, 18] Operation: 41-23=18
Exploring Operation: 41+23=64, Resulting Numbers: [5, 64]
Generated Node #0,1,4: 95:[5, 64] Operation: 41+23=64
Moving to Node #0,1,3
Current State: 95:[5, 18], Operations: ['18-13=5', '41-23=18']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[23, 36], Operations: ['18-13=5', '41-5=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,95 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[41, 18], Operations: ['18-13=5', '23-5=18']
Exploring Operation: 41+18=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[23, 46], Operations: ['18-13=5', '41+5=46']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,95 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,95 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,1,4
Current State: 95:[5, 64], Operations: ['18-13=5', '41+23=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,95 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[41, 18, 10], Operations: ['23-13=10']
Exploring Operation: 41-18=23, Resulting Numbers: [10, 23]
Generated Node #0,4,0: 95:[10, 23] Operation: 41-18=23
Exploring Operation: 18+10=28, Resulting Numbers: [41, 28]
Generated Node #0,4,1: 95:[41, 28] Operation: 18+10=28
Exploring Operation: 41+10=51, Resulting Numbers: [18, 51]
Generated Node #0,4,2: 95:[18, 51] Operation: 41+10=51
Exploring Operation: 18-10=8, Resulting Numbers: [41, 8]
Generated Node #0,4,3: 95:[41, 8] Operation: 18-10=8
Exploring Operation: 41-10=31, Resulting Numbers: [18, 31]
Generated Node #0,4,4: 95:[18, 31] Operation: 41-10=31
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 95:[10, 23], Operations: ['23-13=10', '41-18=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 10*23=230, Resulting Numbers: [230]
230,95 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No 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: 95:[18, 31], Operations: ['23-13=10', '41-10=31']
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,95 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,95 unequal: No Solution
No 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: 95:[41, 8], Operations: ['23-13=10', '18-10=8']
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,95 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,95 unequal: No Solution
No 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: 95:[41, 28], Operations: ['23-13=10', '18+10=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,95 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 95:[18, 51], Operations: ['23-13=10', '41+10=51']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,95 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,95 unequal: No Solution
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,95 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 |
[
42,
82,
69,
48
] | 61 | [
"82-42=40",
"69-48=21",
"40+21=61"
] | Current State: 61:[42, 82, 69, 48], Operations: []
Exploring Operation: 82-42=40, Resulting Numbers: [69, 48, 40]
Generated Node #2: [69, 48, 40] from Operation: 82-42=40
Current State: 61:[69, 48, 40], Operations: ['82-42=40']
Exploring Operation: 69-48=21, Resulting Numbers: [40, 21]
Generated Node #3: [40, 21] from Operation: 69-48=21
Current State: 61:[40, 21], Operations: ['82-42=40', '69-48=21']
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[42, 82, 69, 48], Operations: []
Exploring Operation: 82-69=13, Resulting Numbers: [42, 48, 13]
Generated Node #0,0: 61:[42, 48, 13] Operation: 82-69=13
Exploring Operation: 82-48=34, Resulting Numbers: [42, 69, 34]
Generated Node #0,1: 61:[42, 69, 34] Operation: 82-48=34
Exploring Operation: 42+48=90, Resulting Numbers: [82, 69, 90]
Generated Node #0,2: 61:[82, 69, 90] Operation: 42+48=90
Exploring Operation: 69-42=27, Resulting Numbers: [82, 48, 27]
Generated Node #0,3: 61:[82, 48, 27] Operation: 69-42=27
Exploring Operation: 82-42=40, Resulting Numbers: [69, 48, 40]
Generated Node #0,4: 61:[69, 48, 40] Operation: 82-42=40
Moving to Node #0,4
Current State: 61:[69, 48, 40], Operations: ['82-42=40']
Exploring Operation: 69-40=29, Resulting Numbers: [48, 29]
Generated Node #0,4,0: 61:[48, 29] Operation: 69-40=29
Exploring Operation: 48+40=88, Resulting Numbers: [69, 88]
Generated Node #0,4,1: 61:[69, 88] Operation: 48+40=88
Exploring Operation: 69+40=109, Resulting Numbers: [48, 109]
Generated Node #0,4,2: 61:[48, 109] Operation: 69+40=109
Exploring Operation: 48-40=8, Resulting Numbers: [69, 8]
Generated Node #0,4,3: 61:[69, 8] Operation: 48-40=8
Exploring Operation: 69-48=21, Resulting Numbers: [40, 21]
Generated Node #0,4,4: 61:[40, 21] Operation: 69-48=21
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 61:[69, 88], Operations: ['82-42=40', '48+40=88']
Exploring Operation: 69*88=6072, Resulting Numbers: [6072]
6072,61 unequal: No Solution
Exploring Operation: 69+88=157, Resulting Numbers: [157]
157,61 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 61:[48, 29], Operations: ['82-42=40', '69-40=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,61 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 61:[48, 109], Operations: ['82-42=40', '69+40=109']
Exploring Operation: 48+109=157, Resulting Numbers: [157]
157,61 unequal: No Solution
Exploring Operation: 48*109=5232, Resulting Numbers: [5232]
5232,61 unequal: No Solution
Exploring Operation: 109-48=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[42, 82, 69, 48], Operations: []
Exploring Operation: 82-42=40, Resulting Numbers: [69, 48, 40]
Generated Node #0,4: 61:[69, 48, 40] Operation: 82-42=40
Moving to Node #0,4
Current State: 61:[69, 48, 40], Operations: ['82-42=40']
Exploring Operation: 69+40=109, Resulting Numbers: [48, 109]
Generated Node #0,4,2: 61:[48, 109] Operation: 69+40=109
Moving to Node #0,4,2
Current State: 61:[48, 109], Operations: ['82-42=40', '69+40=109']
Exploring Operation: 109-48=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
62,
17,
98,
10
] | 48 | [
"17-10=7",
"98/7=14",
"62-14=48"
] | Current State: 48:[62, 17, 98, 10], Operations: []
Exploring Operation: 17-10=7, Resulting Numbers: [62, 98, 7]
Generated Node #2: [62, 98, 7] from Operation: 17-10=7
Current State: 48:[62, 98, 7], Operations: ['17-10=7']
Exploring Operation: 98/7=14, Resulting Numbers: [62, 14]
Generated Node #3: [62, 14] from Operation: 98/7=14
Current State: 48:[62, 14], Operations: ['17-10=7', '98/7=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[62, 17, 98, 10], Operations: []
Exploring Operation: 98-17=81, Resulting Numbers: [62, 10, 81]
Generated Node #0,0: 48:[62, 10, 81] Operation: 98-17=81
Exploring Operation: 62-17=45, Resulting Numbers: [98, 10, 45]
Generated Node #0,1: 48:[98, 10, 45] Operation: 62-17=45
Exploring Operation: 98-10=88, Resulting Numbers: [62, 17, 88]
Generated Node #0,2: 48:[62, 17, 88] Operation: 98-10=88
Exploring Operation: 98-62=36, Resulting Numbers: [17, 10, 36]
Generated Node #0,3: 48:[17, 10, 36] Operation: 98-62=36
Exploring Operation: 62-10=52, Resulting Numbers: [17, 98, 52]
Generated Node #0,4: 48:[17, 98, 52] Operation: 62-10=52
Moving to Node #0,3
Current State: 48:[17, 10, 36], Operations: ['98-62=36']
Exploring Operation: 36-17=19, Resulting Numbers: [10, 19]
Generated Node #0,3,0: 48:[10, 19] Operation: 36-17=19
Exploring Operation: 17+36=53, Resulting Numbers: [10, 53]
Generated Node #0,3,1: 48:[10, 53] Operation: 17+36=53
Exploring Operation: 17-10=7, Resulting Numbers: [36, 7]
Generated Node #0,3,2: 48:[36, 7] Operation: 17-10=7
Exploring Operation: 36-10=26, Resulting Numbers: [17, 26]
Generated Node #0,3,3: 48:[17, 26] Operation: 36-10=26
Exploring Operation: 10+36=46, Resulting Numbers: [17, 46]
Generated Node #0,3,4: 48:[17, 46] Operation: 10+36=46
Moving to Node #0,0
Current State: 48:[62, 10, 81], Operations: ['98-17=81']
Exploring Operation: 10+81=91, Resulting Numbers: [62, 91]
Generated Node #0,0,0: 48:[62, 91] Operation: 10+81=91
Exploring Operation: 62-10=52, Resulting Numbers: [81, 52]
Generated Node #0,0,1: 48:[81, 52] Operation: 62-10=52
Exploring Operation: 81-62=19, Resulting Numbers: [10, 19]
Generated Node #0,0,2: 48:[10, 19] Operation: 81-62=19
Exploring Operation: 81-10=71, Resulting Numbers: [62, 71]
Generated Node #0,0,3: 48:[62, 71] Operation: 81-10=71
Exploring Operation: 62+10=72, Resulting Numbers: [81, 72]
Generated Node #0,0,4: 48:[81, 72] Operation: 62+10=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[10, 19], Operations: ['98-17=81', '81-62=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,48 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No 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: 48:[81, 52], Operations: ['98-17=81', '62-10=52']
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,48 unequal: No Solution
No 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: 48:[62, 71], Operations: ['98-17=81', '81-10=71']
Exploring Operation: 62+71=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 62*71=4402, Resulting Numbers: [4402]
4402,48 unequal: No Solution
No 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: 48:[62, 91], Operations: ['98-17=81', '10+81=91']
Exploring Operation: 91-62=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 62*91=5642, Resulting Numbers: [5642]
5642,48 unequal: No Solution
Exploring Operation: 62+91=153, Resulting Numbers: [153]
153,48 unequal: No Solution
No 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: 48:[81, 72], Operations: ['98-17=81', '62+10=72']
Exploring Operation: 81*72=5832, Resulting Numbers: [5832]
5832,48 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 81+72=153, Resulting Numbers: [153]
153,48 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: 48:[98, 10, 45], Operations: ['62-17=45']
Exploring Operation: 10+45=55, Resulting Numbers: [98, 55]
Generated Node #0,1,0: 48:[98, 55] Operation: 10+45=55
Exploring Operation: 45-10=35, Resulting Numbers: [98, 35]
Generated Node #0,1,1: 48:[98, 35] Operation: 45-10=35
Exploring Operation: 98-45=53, Resulting Numbers: [10, 53]
Generated Node #0,1,2: 48:[10, 53] Operation: 98-45=53
Exploring Operation: 98+10=108, Resulting Numbers: [45, 108]
Generated Node #0,1,3: 48:[45, 108] Operation: 98+10=108
Exploring Operation: 98-10=88, Resulting Numbers: [45, 88]
Generated Node #0,1,4: 48:[45, 88] Operation: 98-10=88
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[10, 53], Operations: ['62-17=45', '98-45=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,48 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[45, 88], Operations: ['62-17=45', '98-10=88']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 45+88=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 45*88=3960, Resulting Numbers: [3960]
3960,48 unequal: No Solution
No 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: 48:[98, 55], Operations: ['62-17=45', '10+45=55']
Exploring Operation: 98-55=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 98+55=153, Resulting Numbers: [153]
153,48 unequal: No Solution
Exploring Operation: 98*55=5390, Resulting Numbers: [5390]
5390,48 unequal: No Solution
No 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: 48:[98, 35], Operations: ['62-17=45', '45-10=35']
Exploring Operation: 98+35=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 98*35=3430, Resulting Numbers: [3430]
3430,48 unequal: No Solution
No 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: 48:[45, 108], Operations: ['62-17=45', '98+10=108']
Exploring Operation: 45*108=4860, Resulting Numbers: [4860]
4860,48 unequal: No Solution
Exploring Operation: 45+108=153, Resulting Numbers: [153]
153,48 unequal: No Solution
Exploring Operation: 108-45=63, Resulting Numbers: [63]
63,48 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: 48:[62, 17, 88], Operations: ['98-10=88']
Exploring Operation: 62-17=45, Resulting Numbers: [88, 45]
Generated Node #0,2,0: 48:[88, 45] Operation: 62-17=45
Exploring Operation: 62+17=79, Resulting Numbers: [88, 79]
Generated Node #0,2,1: 48:[88, 79] Operation: 62+17=79
Exploring Operation: 88-17=71, Resulting Numbers: [62, 71]
Generated Node #0,2,2: 48:[62, 71] Operation: 88-17=71
Exploring Operation: 88-62=26, Resulting Numbers: [17, 26]
Generated Node #0,2,3: 48:[17, 26] Operation: 88-62=26
Exploring Operation: 17+88=105, Resulting Numbers: [62, 105]
Generated Node #0,2,4: 48:[62, 105] Operation: 17+88=105
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[17, 26], Operations: ['98-10=88', '88-62=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,48 unequal: No Solution
No 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: 48:[62, 71], Operations: ['98-10=88', '88-17=71']
Exploring Operation: 62+71=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 62*71=4402, Resulting Numbers: [4402]
4402,48 unequal: No Solution
Exploring Operation: 71-62=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No 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: 48:[88, 45], Operations: ['98-10=88', '62-17=45']
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,48 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,48 unequal: No Solution
No 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: 48:[88, 79], Operations: ['98-10=88', '62+17=79']
Exploring Operation: 88+79=167, Resulting Numbers: [167]
167,48 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 88*79=6952, Resulting Numbers: [6952]
6952,48 unequal: No Solution
No 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: 48:[62, 105], Operations: ['98-10=88', '17+88=105']
Exploring Operation: 105-62=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 62*105=6510, Resulting Numbers: [6510]
6510,48 unequal: No Solution
Exploring Operation: 62+105=167, Resulting Numbers: [167]
167,48 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: 48:[17, 98, 52], Operations: ['62-10=52']
Exploring Operation: 17+98=115, Resulting Numbers: [52, 115]
Generated Node #0,4,0: 48:[52, 115] Operation: 17+98=115
Exploring Operation: 52-17=35, Resulting Numbers: [98, 35]
Generated Node #0,4,1: 48:[98, 35] Operation: 52-17=35
Exploring Operation: 98-17=81, Resulting Numbers: [52, 81]
Generated Node #0,4,2: 48:[52, 81] Operation: 98-17=81
Exploring Operation: 98-52=46, Resulting Numbers: [17, 46]
Generated Node #0,4,3: 48:[17, 46] Operation: 98-52=46
Exploring Operation: 17+52=69, Resulting Numbers: [98, 69]
Generated Node #0,4,4: 48:[98, 69] Operation: 17+52=69
Moving to Node #0,3,3
Current State: 48:[17, 26], Operations: ['98-62=36', '36-10=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,48 unequal: No Solution
Moving to Node #0,4,3
Current State: 48:[17, 46], Operations: ['62-10=52', '98-52=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,48 unequal: No Solution
Moving to Node #0,3,4
Current State: 48:[17, 46], Operations: ['98-62=36', '10+36=46']
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,48 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[10, 19], Operations: ['98-62=36', '36-17=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,48 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[10, 53], Operations: ['98-62=36', '17+36=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,48 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[36, 7], Operations: ['98-62=36', '17-10=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,48 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Moving to Node #0,4,2
Current State: 48:[52, 81], Operations: ['62-10=52', '98-17=81']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[98, 35], Operations: ['62-10=52', '52-17=35']
Exploring Operation: 98*35=3430, Resulting Numbers: [3430]
3430,48 unequal: No Solution
Exploring Operation: 98+35=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[98, 69], Operations: ['62-10=52', '17+52=69']
Exploring Operation: 98-69=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Exploring Operation: 98*69=6762, Resulting Numbers: [6762]
6762,48 unequal: No Solution
Exploring Operation: 98+69=167, Resulting Numbers: [167]
167,48 unequal: No Solution
Moving to Node #0,4,0
Current State: 48:[52, 115], Operations: ['62-10=52', '17+98=115']
Exploring Operation: 52+115=167, Resulting Numbers: [167]
167,48 unequal: No Solution
Exploring Operation: 115-52=63, Resulting Numbers: [63]
63,48 unequal: No Solution
Exploring Operation: 52*115=5980, Resulting Numbers: [5980]
5980,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
13,
19,
68,
4
] | 49 | [
"13+19=32",
"68/4=17",
"32+17=49"
] | Current State: 49:[13, 19, 68, 4], Operations: []
Exploring Operation: 13+19=32, Resulting Numbers: [68, 4, 32]
Generated Node #2: [68, 4, 32] from Operation: 13+19=32
Current State: 49:[68, 4, 32], Operations: ['13+19=32']
Exploring Operation: 68/4=17, Resulting Numbers: [32, 17]
Generated Node #3: [32, 17] from Operation: 68/4=17
Current State: 49:[32, 17], Operations: ['13+19=32', '68/4=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[13, 19, 68, 4], Operations: []
Exploring Operation: 19-13=6, Resulting Numbers: [68, 4, 6]
Generated Node #0,0: 49:[68, 4, 6] Operation: 19-13=6
Exploring Operation: 68-13=55, Resulting Numbers: [19, 4, 55]
Generated Node #0,1: 49:[19, 4, 55] Operation: 68-13=55
Exploring Operation: 68-19=49, Resulting Numbers: [13, 4, 49]
Generated Node #0,2: 49:[13, 4, 49] Operation: 68-19=49
Moving to Node #0,2
Current State: 49:[13, 4, 49], Operations: ['68-19=49']
Exploring Operation: 13*4=52, Resulting Numbers: [49, 52]
Generated Node #0,2,0: 49:[49, 52] Operation: 13*4=52
Exploring Operation: 13-4=9, Resulting Numbers: [49, 9]
Generated Node #0,2,1: 49:[49, 9] Operation: 13-4=9
Exploring Operation: 13+4=17, Resulting Numbers: [49, 17]
Generated Node #0,2,2: 49:[49, 17] Operation: 13+4=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[49, 9], Operations: ['68-19=49', '13-4=9']
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,49 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[49, 52], Operations: ['68-19=49', '13*4=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,49 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,49 unequal: No Solution
Exploring Operation: 52-49=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,2,2
Current State: 49:[49, 17], Operations: ['68-19=49', '13+4=17']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 49*17=833, Resulting Numbers: [833]
833,49 unequal: No Solution
Exploring Operation: 49+17=66, Resulting Numbers: [66]
66,49 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: 49:[19, 4, 55], Operations: ['68-13=55']
Exploring Operation: 55-19=36, Resulting Numbers: [4, 36]
Generated Node #0,1,0: 49:[4, 36] Operation: 55-19=36
Exploring Operation: 19-4=15, Resulting Numbers: [55, 15]
Generated Node #0,1,1: 49:[55, 15] Operation: 19-4=15
Exploring Operation: 55-4=51, Resulting Numbers: [19, 51]
Generated Node #0,1,2: 49:[19, 51] Operation: 55-4=51
Moving to Node #0,0
Current State: 49:[68, 4, 6], Operations: ['19-13=6']
Exploring Operation: 68/4=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 49:[6, 17] Operation: 68/4=17
Exploring Operation: 68-6=62, Resulting Numbers: [4, 62]
Generated Node #0,0,1: 49:[4, 62] Operation: 68-6=62
Exploring Operation: 68-4=64, Resulting Numbers: [6, 64]
Generated Node #0,0,2: 49:[6, 64] Operation: 68-4=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[6, 17], Operations: ['19-13=6', '68/4=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,49 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,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,1
Current State: 49:[4, 62], Operations: ['19-13=6', '68-6=62']
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,49 unequal: No Solution
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,49 unequal: No Solution
Exploring Operation: 4*62=248, Resulting Numbers: [248]
248,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,2
Current State: 49:[6, 64], Operations: ['19-13=6', '68-4=64']
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,49 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,49 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: 49:[55, 15], Operations: ['68-13=55', '19-4=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,49 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[19, 51], Operations: ['68-13=55', '55-4=51']
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,49 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[4, 36], Operations: ['68-13=55', '55-19=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,49 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,49 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
40,
62,
68
] | 60 | [
"68-40=28",
"56/28=2",
"62-2=60"
] | Current State: 60:[56, 40, 62, 68], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [56, 62, 28]
Generated Node #2: [56, 62, 28] from Operation: 68-40=28
Current State: 60:[56, 62, 28], Operations: ['68-40=28']
Exploring Operation: 56/28=2, Resulting Numbers: [62, 2]
Generated Node #3: [62, 2] from Operation: 56/28=2
Current State: 60:[62, 2], Operations: ['68-40=28', '56/28=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[56, 40, 62, 68], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [40, 62, 12]
Generated Node #0,0: 60:[40, 62, 12] Operation: 68-56=12
Exploring Operation: 68-40=28, Resulting Numbers: [56, 62, 28]
Generated Node #0,1: 60:[56, 62, 28] Operation: 68-40=28
Exploring Operation: 68-62=6, Resulting Numbers: [56, 40, 6]
Generated Node #0,2: 60:[56, 40, 6] Operation: 68-62=6
Exploring Operation: 62-40=22, Resulting Numbers: [56, 68, 22]
Generated Node #0,3: 60:[56, 68, 22] Operation: 62-40=22
Exploring Operation: 56-40=16, Resulting Numbers: [62, 68, 16]
Generated Node #0,4: 60:[62, 68, 16] Operation: 56-40=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[56, 62, 28], Operations: ['68-40=28']
Exploring Operation: 56-28=28, Resulting Numbers: [62, 28]
Generated Node #0,1,0: 60:[62, 28] Operation: 56-28=28
Exploring Operation: 56+28=84, Resulting Numbers: [62, 84]
Generated Node #0,1,1: 60:[62, 84] Operation: 56+28=84
Exploring Operation: 56/28=2, Resulting Numbers: [62, 2]
Generated Node #0,1,2: 60:[62, 2] Operation: 56/28=2
Exploring Operation: 62-56=6, Resulting Numbers: [28, 6]
Generated Node #0,1,3: 60:[28, 6] Operation: 62-56=6
Exploring Operation: 62-28=34, Resulting Numbers: [56, 34]
Generated Node #0,1,4: 60:[56, 34] Operation: 62-28=34
Moving to Node #0,1,2
Current State: 60:[62, 2], Operations: ['68-40=28', '56/28=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[56, 40, 62, 68], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [56, 62, 28]
Generated Node #0,1: 60:[56, 62, 28] Operation: 68-40=28
Moving to Node #0,1
Current State: 60:[56, 62, 28], Operations: ['68-40=28']
Exploring Operation: 56/28=2, Resulting Numbers: [62, 2]
Generated Node #0,1,2: 60:[62, 2] Operation: 56/28=2
Moving to Node #0,1,2
Current State: 60:[62, 2], Operations: ['68-40=28', '56/28=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
89,
83,
33,
55
] | 83 | [
"89-33=56",
"56-55=1",
"83*1=83"
] | Current State: 83:[89, 83, 33, 55], Operations: []
Exploring Operation: 89-33=56, Resulting Numbers: [83, 55, 56]
Generated Node #2: [83, 55, 56] from Operation: 89-33=56
Current State: 83:[83, 55, 56], Operations: ['89-33=56']
Exploring Operation: 56-55=1, Resulting Numbers: [83, 1]
Generated Node #3: [83, 1] from Operation: 56-55=1
Current State: 83:[83, 1], Operations: ['89-33=56', '56-55=1']
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[89, 83, 33, 55], Operations: []
Exploring Operation: 89+33=122, Resulting Numbers: [83, 55, 122]
Generated Node #0,0: 83:[83, 55, 122] Operation: 89+33=122
Exploring Operation: 83+33=116, Resulting Numbers: [89, 55, 116]
Generated Node #0,1: 83:[89, 55, 116] Operation: 83+33=116
Exploring Operation: 33+55=88, Resulting Numbers: [89, 83, 88]
Generated Node #0,2: 83:[89, 83, 88] Operation: 33+55=88
Exploring Operation: 89-33=56, Resulting Numbers: [83, 55, 56]
Generated Node #0,3: 83:[83, 55, 56] Operation: 89-33=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[89, 83, 88], Operations: ['33+55=88']
Exploring Operation: 88-83=5, Resulting Numbers: [89, 5]
Generated Node #0,2,0: 83:[89, 5] Operation: 88-83=5
Exploring Operation: 89-83=6, Resulting Numbers: [88, 6]
Generated Node #0,2,1: 83:[88, 6] Operation: 89-83=6
Exploring Operation: 89-88=1, Resulting Numbers: [83, 1]
Generated Node #0,2,2: 83:[83, 1] Operation: 89-88=1
Exploring Operation: 89+83=172, Resulting Numbers: [88, 172]
Generated Node #0,2,3: 83:[88, 172] Operation: 89+83=172
Moving to Node #0,2,1
Current State: 83:[88, 6], Operations: ['33+55=88', '89-83=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,83 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[83, 1], Operations: ['33+55=88', '89-88=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[89, 83, 33, 55], Operations: []
Exploring Operation: 33+55=88, Resulting Numbers: [89, 83, 88]
Generated Node #0,2: 83:[89, 83, 88] Operation: 33+55=88
Moving to Node #0,2
Current State: 83:[89, 83, 88], Operations: ['33+55=88']
Exploring Operation: 89-88=1, Resulting Numbers: [83, 1]
Generated Node #0,2,2: 83:[83, 1] Operation: 89-88=1
Moving to Node #0,2,2
Current State: 83:[83, 1], Operations: ['33+55=88', '89-88=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
18,
21,
60,
3
] | 21 | [
"21-18=3",
"60+3=63",
"63/3=21"
] | Current State: 21:[18, 21, 60, 3], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [60, 3, 3]
Generated Node #2: [60, 3, 3] from Operation: 21-18=3
Current State: 21:[60, 3, 3], Operations: ['21-18=3']
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,21 equal: Goal Reached
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[18, 21, 60, 3], Operations: []
Exploring Operation: 60-18=42, Resulting Numbers: [21, 3, 42]
Generated Node #0,0: 21:[21, 3, 42] Operation: 60-18=42
Exploring Operation: 60/3=20, Resulting Numbers: [18, 21, 20]
Generated Node #0,1: 21:[18, 21, 20] Operation: 60/3=20
Moving to Node #0,1
Current State: 21:[18, 21, 20], Operations: ['60/3=20']
Exploring Operation: 21-18=3, Resulting Numbers: [20, 3]
Generated Node #0,1,0: 21:[20, 3] Operation: 21-18=3
Exploring Operation: 20-18=2, Resulting Numbers: [21, 2]
Generated Node #0,1,1: 21:[21, 2] Operation: 20-18=2
Moving to Node #0,0
Current State: 21:[21, 3, 42], Operations: ['60-18=42']
Exploring Operation: 42/21=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 21:[3, 2] Operation: 42/21=2
Exploring Operation: 42-21=21, Resulting Numbers: [3, 21]
Generated Node #0,0,1: 21:[3, 21] Operation: 42-21=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[3, 21], Operations: ['60-18=42', '42-21=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[3, 2], Operations: ['60-18=42', '42/21=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,21 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,21 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: 21:[20, 3], Operations: ['60/3=20', '21-18=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[21, 2], Operations: ['60/3=20', '20-18=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,21 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
12,
9,
2
] | 54 | [
"78+12=90",
"90/2=45",
"9+45=54"
] | Current State: 54:[78, 12, 9, 2], Operations: []
Exploring Operation: 78+12=90, Resulting Numbers: [9, 2, 90]
Generated Node #2: [9, 2, 90] from Operation: 78+12=90
Current State: 54:[9, 2, 90], Operations: ['78+12=90']
Exploring Operation: 90/2=45, Resulting Numbers: [9, 45]
Generated Node #3: [9, 45] from Operation: 90/2=45
Current State: 54:[9, 45], Operations: ['78+12=90', '90/2=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[78, 12, 9, 2], Operations: []
Exploring Operation: 78-12=66, Resulting Numbers: [9, 2, 66]
Generated Node #0,0: 54:[9, 2, 66] Operation: 78-12=66
Exploring Operation: 78-9=69, Resulting Numbers: [12, 2, 69]
Generated Node #0,1: 54:[12, 2, 69] Operation: 78-9=69
Exploring Operation: 78/2=39, Resulting Numbers: [12, 9, 39]
Generated Node #0,2: 54:[12, 9, 39] Operation: 78/2=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[9, 2, 66], Operations: ['78-12=66']
Exploring Operation: 66-9=57, Resulting Numbers: [2, 57]
Generated Node #0,0,0: 54:[2, 57] Operation: 66-9=57
Exploring Operation: 66/2=33, Resulting Numbers: [9, 33]
Generated Node #0,0,1: 54:[9, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [9, 64]
Generated Node #0,0,2: 54:[9, 64] Operation: 66-2=64
Moving to Node #0,0,0
Current State: 54:[2, 57], Operations: ['78-12=66', '66-9=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[9, 33], Operations: ['78-12=66', '66/2=33']
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,54 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[9, 64], Operations: ['78-12=66', '66-2=64']
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,54 unequal: No Solution
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,54 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[12, 9, 39], Operations: ['78/2=39']
Exploring Operation: 12+39=51, Resulting Numbers: [9, 51]
Generated Node #0,2,0: 54:[9, 51] Operation: 12+39=51
Exploring Operation: 39-9=30, Resulting Numbers: [12, 30]
Generated Node #0,2,1: 54:[12, 30] Operation: 39-9=30
Exploring Operation: 39-12=27, Resulting Numbers: [9, 27]
Generated Node #0,2,2: 54:[9, 27] Operation: 39-12=27
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[9, 27], Operations: ['78/2=39', '39-12=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[9, 51], Operations: ['78/2=39', '12+39=51']
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,54 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[12, 30], Operations: ['78/2=39', '39-9=30']
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,54 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[12, 2, 69], Operations: ['78-9=69']
Exploring Operation: 69-12=57, Resulting Numbers: [2, 57]
Generated Node #0,1,0: 54:[2, 57] Operation: 69-12=57
Exploring Operation: 12/2=6, Resulting Numbers: [69, 6]
Generated Node #0,1,1: 54:[69, 6] Operation: 12/2=6
Exploring Operation: 12-2=10, Resulting Numbers: [69, 10]
Generated Node #0,1,2: 54:[69, 10] Operation: 12-2=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[2, 57], Operations: ['78-9=69', '69-12=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,54 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[69, 6], Operations: ['78-9=69', '12/2=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,54 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[69, 10], Operations: ['78-9=69', '12-2=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
85,
62,
71
] | 78 | [
"62/31=2",
"85+71=156",
"156/2=78"
] | Current State: 78:[31, 85, 62, 71], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [85, 71, 2]
Generated Node #2: [85, 71, 2] from Operation: 62/31=2
Current State: 78:[85, 71, 2], Operations: ['62/31=2']
Exploring Operation: 85+71=156, Resulting Numbers: [2, 156]
Generated Node #3: [2, 156] from Operation: 85+71=156
Current State: 78:[2, 156], Operations: ['62/31=2', '85+71=156']
Exploring Operation: 156/2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[31, 85, 62, 71], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [85, 71, 2]
Generated Node #0,0: 78:[85, 71, 2] Operation: 62/31=2
Exploring Operation: 85-62=23, Resulting Numbers: [31, 71, 23]
Generated Node #0,1: 78:[31, 71, 23] Operation: 85-62=23
Moving to Node #0,0
Current State: 78:[85, 71, 2], Operations: ['62/31=2']
Exploring Operation: 85-2=83, Resulting Numbers: [71, 83]
Generated Node #0,0,0: 78:[71, 83] Operation: 85-2=83
Exploring Operation: 85-71=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 78:[2, 14] Operation: 85-71=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[2, 14], Operations: ['62/31=2', '85-71=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,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:[71, 83], Operations: ['62/31=2', '85-2=83']
Exploring Operation: 83-71=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 71+83=154, Resulting Numbers: [154]
154,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:[31, 71, 23], Operations: ['85-62=23']
Exploring Operation: 31-23=8, Resulting Numbers: [71, 8]
Generated Node #0,1,0: 78:[71, 8] Operation: 31-23=8
Exploring Operation: 71-31=40, Resulting Numbers: [23, 40]
Generated Node #0,1,1: 78:[23, 40] Operation: 71-31=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[23, 40], Operations: ['85-62=23', '71-31=40']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,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,0
Current State: 78:[71, 8], Operations: ['85-62=23', '31-23=8']
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,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 | sum_heuristic |
[
31,
78,
90,
1
] | 42 | [
"78-31=47",
"90-1=89",
"89-47=42"
] | Current State: 42:[31, 78, 90, 1], Operations: []
Exploring Operation: 78-31=47, Resulting Numbers: [90, 1, 47]
Generated Node #2: [90, 1, 47] from Operation: 78-31=47
Current State: 42:[90, 1, 47], Operations: ['78-31=47']
Exploring Operation: 90-1=89, Resulting Numbers: [47, 89]
Generated Node #3: [47, 89] from Operation: 90-1=89
Current State: 42:[47, 89], Operations: ['78-31=47', '90-1=89']
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[31, 78, 90, 1], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [31, 1, 12]
Generated Node #0,0: 42:[31, 1, 12] Operation: 90-78=12
Exploring Operation: 31-1=30, Resulting Numbers: [78, 90, 30]
Generated Node #0,1: 42:[78, 90, 30] Operation: 31-1=30
Exploring Operation: 78-31=47, Resulting Numbers: [90, 1, 47]
Generated Node #0,2: 42:[90, 1, 47] Operation: 78-31=47
Exploring Operation: 90-31=59, Resulting Numbers: [78, 1, 59]
Generated Node #0,3: 42:[78, 1, 59] Operation: 90-31=59
Exploring Operation: 78-1=77, Resulting Numbers: [31, 90, 77]
Generated Node #0,4: 42:[31, 90, 77] Operation: 78-1=77
Moving to Node #0,0
Current State: 42:[31, 1, 12], Operations: ['90-78=12']
Exploring Operation: 31-1=30, Resulting Numbers: [12, 30]
Generated Node #0,0,0: 42:[12, 30] Operation: 31-1=30
Exploring Operation: 31+12=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 42:[1, 43] Operation: 31+12=43
Exploring Operation: 31+1=32, Resulting Numbers: [12, 32]
Generated Node #0,0,2: 42:[12, 32] Operation: 31+1=32
Exploring Operation: 31-12=19, Resulting Numbers: [1, 19]
Generated Node #0,0,3: 42:[1, 19] Operation: 31-12=19
Exploring Operation: 1+12=13, Resulting Numbers: [31, 13]
Generated Node #0,0,4: 42:[31, 13] Operation: 1+12=13
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[1, 43], Operations: ['90-78=12', '31+12=43']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[31, 78, 90, 1], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [31, 1, 12]
Generated Node #0,0: 42:[31, 1, 12] Operation: 90-78=12
Moving to Node #0,0
Current State: 42:[31, 1, 12], Operations: ['90-78=12']
Exploring Operation: 31+12=43, Resulting Numbers: [1, 43]
Generated Node #0,0,1: 42:[1, 43] Operation: 31+12=43
Moving to Node #0,0,1
Current State: 42:[1, 43], Operations: ['90-78=12', '31+12=43']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
76,
9,
38,
10
] | 24 | [
"76+38=114",
"9*10=90",
"114-90=24"
] | Current State: 24:[76, 9, 38, 10], Operations: []
Exploring Operation: 76+38=114, Resulting Numbers: [9, 10, 114]
Generated Node #2: [9, 10, 114] from Operation: 76+38=114
Current State: 24:[9, 10, 114], Operations: ['76+38=114']
Exploring Operation: 9*10=90, Resulting Numbers: [114, 90]
Generated Node #3: [114, 90] from Operation: 9*10=90
Current State: 24:[114, 90], Operations: ['76+38=114', '9*10=90']
Exploring Operation: 114-90=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[76, 9, 38, 10], Operations: []
Exploring Operation: 76-10=66, Resulting Numbers: [9, 38, 66]
Generated Node #0,0: 24:[9, 38, 66] Operation: 76-10=66
Exploring Operation: 76-9=67, Resulting Numbers: [38, 10, 67]
Generated Node #0,1: 24:[38, 10, 67] Operation: 76-9=67
Exploring Operation: 38-10=28, Resulting Numbers: [76, 9, 28]
Generated Node #0,2: 24:[76, 9, 28] Operation: 38-10=28
Exploring Operation: 76-38=38, Resulting Numbers: [9, 10, 38]
Generated Node #0,3: 24:[9, 10, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [9, 10, 2]
Generated Node #0,4: 24:[9, 10, 2] Operation: 76/38=2
Moving to Node #0,4
Current State: 24:[9, 10, 2], Operations: ['76/38=2']
Exploring Operation: 10-9=1, Resulting Numbers: [2, 1]
Generated Node #0,4,0: 24:[2, 1] Operation: 10-9=1
Exploring Operation: 10/2=5, Resulting Numbers: [9, 5]
Generated Node #0,4,1: 24:[9, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [9, 8]
Generated Node #0,4,2: 24:[9, 8] Operation: 10-2=8
Exploring Operation: 10+2=12, Resulting Numbers: [9, 12]
Generated Node #0,4,3: 24:[9, 12] Operation: 10+2=12
Exploring Operation: 9+2=11, Resulting Numbers: [10, 11]
Generated Node #0,4,4: 24:[10, 11] Operation: 9+2=11
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 24:[2, 1], Operations: ['76/38=2', '10-9=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 24:[9, 8], Operations: ['76/38=2', '10-2=8']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,24 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 24:[9, 12], Operations: ['76/38=2', '10+2=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 24:[9, 5], Operations: ['76/38=2', '10/2=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,24 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 24:[10, 11], Operations: ['76/38=2', '9+2=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,24 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: 24:[9, 10, 38], Operations: ['76-38=38']
Exploring Operation: 38-10=28, Resulting Numbers: [9, 28]
Generated Node #0,3,0: 24:[9, 28] Operation: 38-10=28
Exploring Operation: 9+10=19, Resulting Numbers: [38, 19]
Generated Node #0,3,1: 24:[38, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [38, 1]
Generated Node #0,3,2: 24:[38, 1] Operation: 10-9=1
Exploring Operation: 9+38=47, Resulting Numbers: [10, 47]
Generated Node #0,3,3: 24:[10, 47] Operation: 9+38=47
Exploring Operation: 38-9=29, Resulting Numbers: [10, 29]
Generated Node #0,3,4: 24:[10, 29] Operation: 38-9=29
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[9, 28], Operations: ['76-38=38', '38-10=28']
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 24:[10, 29], Operations: ['76-38=38', '38-9=29']
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,24 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[38, 1], Operations: ['76-38=38', '10-9=1']
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[38, 19], Operations: ['76-38=38', '9+10=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,24 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[10, 47], Operations: ['76-38=38', '9+38=47']
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[9, 38, 66], Operations: ['76-10=66']
Exploring Operation: 66-38=28, Resulting Numbers: [9, 28]
Generated Node #0,0,0: 24:[9, 28] Operation: 66-38=28
Exploring Operation: 9+66=75, Resulting Numbers: [38, 75]
Generated Node #0,0,1: 24:[38, 75] Operation: 9+66=75
Exploring Operation: 66-9=57, Resulting Numbers: [38, 57]
Generated Node #0,0,2: 24:[38, 57] Operation: 66-9=57
Exploring Operation: 9+38=47, Resulting Numbers: [66, 47]
Generated Node #0,0,3: 24:[66, 47] Operation: 9+38=47
Exploring Operation: 38-9=29, Resulting Numbers: [66, 29]
Generated Node #0,0,4: 24:[66, 29] Operation: 38-9=29
Moving to Node #0,2
Current State: 24:[76, 9, 28], Operations: ['38-10=28']
Exploring Operation: 28-9=19, Resulting Numbers: [76, 19]
Generated Node #0,2,0: 24:[76, 19] Operation: 28-9=19
Exploring Operation: 9+28=37, Resulting Numbers: [76, 37]
Generated Node #0,2,1: 24:[76, 37] Operation: 9+28=37
Exploring Operation: 76-28=48, Resulting Numbers: [9, 48]
Generated Node #0,2,2: 24:[9, 48] Operation: 76-28=48
Exploring Operation: 76-9=67, Resulting Numbers: [28, 67]
Generated Node #0,2,3: 24:[28, 67] Operation: 76-9=67
Exploring Operation: 76+9=85, Resulting Numbers: [28, 85]
Generated Node #0,2,4: 24:[28, 85] Operation: 76+9=85
Moving to Node #0,1
Current State: 24:[38, 10, 67], Operations: ['76-9=67']
Exploring Operation: 38+10=48, Resulting Numbers: [67, 48]
Generated Node #0,1,0: 24:[67, 48] Operation: 38+10=48
Exploring Operation: 67-10=57, Resulting Numbers: [38, 57]
Generated Node #0,1,1: 24:[38, 57] Operation: 67-10=57
Exploring Operation: 67-38=29, Resulting Numbers: [10, 29]
Generated Node #0,1,2: 24:[10, 29] Operation: 67-38=29
Exploring Operation: 10+67=77, Resulting Numbers: [38, 77]
Generated Node #0,1,3: 24:[38, 77] Operation: 10+67=77
Exploring Operation: 38-10=28, Resulting Numbers: [67, 28]
Generated Node #0,1,4: 24:[67, 28] Operation: 38-10=28
Moving to Node #0,0,0
Current State: 24:[9, 28], Operations: ['76-10=66', '66-38=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[10, 29], Operations: ['76-9=67', '67-38=29']
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,24 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[9, 48], Operations: ['38-10=28', '76-28=48']
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,24 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[28, 67], Operations: ['38-10=28', '76-9=67']
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,24 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Moving to Node #0,0,4
Current State: 24:[66, 29], Operations: ['76-10=66', '38-9=29']
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[38, 57], Operations: ['76-9=67', '67-10=57']
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,24 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Moving to Node #0,1,4
Current State: 24:[67, 28], Operations: ['76-9=67', '38-10=28']
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,24 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[38, 57], Operations: ['76-10=66', '66-9=57']
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[76, 19], Operations: ['38-10=28', '28-9=19']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 76*19=1444, Resulting Numbers: [1444]
1444,24 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Moving to Node #0,2,4
Current State: 24:[28, 85], Operations: ['38-10=28', '76+9=85']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 28+85=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 28*85=2380, Resulting Numbers: [2380]
2380,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[66, 47], Operations: ['76-10=66', '9+38=47']
Exploring Operation: 66+47=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 66*47=3102, Resulting Numbers: [3102]
3102,24 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[76, 37], Operations: ['38-10=28', '9+28=37']
Exploring Operation: 76+37=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 76*37=2812, Resulting Numbers: [2812]
2812,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[38, 75], Operations: ['76-10=66', '9+66=75']
Exploring Operation: 38*75=2850, Resulting Numbers: [2850]
2850,24 unequal: No Solution
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[67, 48], Operations: ['76-9=67', '38+10=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 67*48=3216, Resulting Numbers: [3216]
3216,24 unequal: No Solution
Exploring Operation: 67+48=115, Resulting Numbers: [115]
115,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[38, 77], Operations: ['76-9=67', '10+67=77']
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,24 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,24 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,24 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
28,
81,
30,
40
] | 80 | [
"81*40=3240",
"3240/30=108",
"108-28=80"
] | Current State: 80:[28, 81, 30, 40], Operations: []
Exploring Operation: 81*40=3240, Resulting Numbers: [28, 30, 3240]
Generated Node #2: [28, 30, 3240] from Operation: 81*40=3240
Current State: 80:[28, 30, 3240], Operations: ['81*40=3240']
Exploring Operation: 3240/30=108, Resulting Numbers: [28, 108]
Generated Node #3: [28, 108] from Operation: 3240/30=108
Current State: 80:[28, 108], Operations: ['81*40=3240', '3240/30=108']
Exploring Operation: 108-28=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[28, 81, 30, 40], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [81, 40, 2]
Generated Node #0,0: 80:[81, 40, 2] Operation: 30-28=2
Exploring Operation: 40-28=12, Resulting Numbers: [81, 30, 12]
Generated Node #0,1: 80:[81, 30, 12] Operation: 40-28=12
Exploring Operation: 40-30=10, Resulting Numbers: [28, 81, 10]
Generated Node #0,2: 80:[28, 81, 10] Operation: 40-30=10
Exploring Operation: 28+30=58, Resulting Numbers: [81, 40, 58]
Generated Node #0,3: 80:[81, 40, 58] Operation: 28+30=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[81, 40, 2], Operations: ['30-28=2']
Exploring Operation: 40/2=20, Resulting Numbers: [81, 20]
Generated Node #0,0,0: 80:[81, 20] Operation: 40/2=20
Exploring Operation: 81-2=79, Resulting Numbers: [40, 79]
Generated Node #0,0,1: 80:[40, 79] Operation: 81-2=79
Exploring Operation: 40*2=80, Resulting Numbers: [81, 80]
Generated Node #0,0,2: 80:[81, 80] Operation: 40*2=80
Exploring Operation: 81-40=41, Resulting Numbers: [2, 41]
Generated Node #0,0,3: 80:[2, 41] Operation: 81-40=41
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[81, 20], Operations: ['30-28=2', '40/2=20']
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,80 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[40, 79], Operations: ['30-28=2', '81-2=79']
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 40+79=119, Resulting Numbers: [119]
119,80 unequal: No Solution
Exploring Operation: 40*79=3160, Resulting Numbers: [3160]
3160,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[81, 80], Operations: ['30-28=2', '40*2=80']
Exploring Operation: 81*80=6480, Resulting Numbers: [6480]
6480,80 unequal: No Solution
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 81+80=161, Resulting Numbers: [161]
161,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 80:[2, 41], Operations: ['30-28=2', '81-40=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[28, 81, 10], Operations: ['40-30=10']
Exploring Operation: 28-10=18, Resulting Numbers: [81, 18]
Generated Node #0,2,0: 80:[81, 18] Operation: 28-10=18
Exploring Operation: 28+10=38, Resulting Numbers: [81, 38]
Generated Node #0,2,1: 80:[81, 38] Operation: 28+10=38
Exploring Operation: 81-28=53, Resulting Numbers: [10, 53]
Generated Node #0,2,2: 80:[10, 53] Operation: 81-28=53
Exploring Operation: 81-10=71, Resulting Numbers: [28, 71]
Generated Node #0,2,3: 80:[28, 71] Operation: 81-10=71
Moving to Node #0,2,0
Current State: 80:[81, 18], Operations: ['40-30=10', '28-10=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,80 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[81, 38], Operations: ['40-30=10', '28+10=38']
Exploring Operation: 81+38=119, Resulting Numbers: [119]
119,80 unequal: No Solution
Exploring Operation: 81*38=3078, Resulting Numbers: [3078]
3078,80 unequal: No Solution
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[10, 53], Operations: ['40-30=10', '81-28=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,80 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[28, 71], Operations: ['40-30=10', '81-10=71']
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,80 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[81, 30, 12], Operations: ['40-28=12']
Exploring Operation: 81-12=69, Resulting Numbers: [30, 69]
Generated Node #0,1,0: 80:[30, 69] Operation: 81-12=69
Exploring Operation: 30-12=18, Resulting Numbers: [81, 18]
Generated Node #0,1,1: 80:[81, 18] Operation: 30-12=18
Exploring Operation: 30+12=42, Resulting Numbers: [81, 42]
Generated Node #0,1,2: 80:[81, 42] Operation: 30+12=42
Exploring Operation: 81-30=51, Resulting Numbers: [12, 51]
Generated Node #0,1,3: 80:[12, 51] Operation: 81-30=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[81, 18], Operations: ['40-28=12', '30-12=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,80 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[81, 42], Operations: ['40-28=12', '30+12=42']
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,80 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[12, 51], Operations: ['40-28=12', '81-30=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,80 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[30, 69], Operations: ['40-28=12', '81-12=69']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[81, 40, 58], Operations: ['28+30=58']
Exploring Operation: 81-58=23, Resulting Numbers: [40, 23]
Generated Node #0,3,0: 80:[40, 23] Operation: 81-58=23
Exploring Operation: 58-40=18, Resulting Numbers: [81, 18]
Generated Node #0,3,1: 80:[81, 18] Operation: 58-40=18
Exploring Operation: 81-40=41, Resulting Numbers: [58, 41]
Generated Node #0,3,2: 80:[58, 41] Operation: 81-40=41
Exploring Operation: 40+58=98, Resulting Numbers: [81, 98]
Generated Node #0,3,3: 80:[81, 98] Operation: 40+58=98
Moving to Node #0,3,0
Current State: 80:[40, 23], Operations: ['28+30=58', '81-58=23']
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[81, 18], Operations: ['28+30=58', '58-40=18']
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,80 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[81, 98], Operations: ['28+30=58', '40+58=98']
Exploring Operation: 81*98=7938, Resulting Numbers: [7938]
7938,80 unequal: No Solution
Exploring Operation: 81+98=179, Resulting Numbers: [179]
179,80 unequal: No Solution
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[58, 41], Operations: ['28+30=58', '81-40=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,80 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,80 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 |
[
19,
84,
17,
83
] | 37 | [
"19+84=103",
"83-17=66",
"103-66=37"
] | Current State: 37:[19, 84, 17, 83], Operations: []
Exploring Operation: 19+84=103, Resulting Numbers: [17, 83, 103]
Generated Node #2: [17, 83, 103] from Operation: 19+84=103
Current State: 37:[17, 83, 103], Operations: ['19+84=103']
Exploring Operation: 83-17=66, Resulting Numbers: [103, 66]
Generated Node #3: [103, 66] from Operation: 83-17=66
Current State: 37:[103, 66], Operations: ['19+84=103', '83-17=66']
Exploring Operation: 103-66=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[19, 84, 17, 83], Operations: []
Exploring Operation: 83-19=64, Resulting Numbers: [84, 17, 64]
Generated Node #0,0: 37:[84, 17, 64] Operation: 83-19=64
Exploring Operation: 84-83=1, Resulting Numbers: [19, 17, 1]
Generated Node #0,1: 37:[19, 17, 1] Operation: 84-83=1
Exploring Operation: 19+17=36, Resulting Numbers: [84, 83, 36]
Generated Node #0,2: 37:[84, 83, 36] Operation: 19+17=36
Exploring Operation: 84-17=67, Resulting Numbers: [19, 83, 67]
Generated Node #0,3: 37:[19, 83, 67] Operation: 84-17=67
Exploring Operation: 84-19=65, Resulting Numbers: [17, 83, 65]
Generated Node #0,4: 37:[17, 83, 65] Operation: 84-19=65
Moving to Node #0,1
Current State: 37:[19, 17, 1], Operations: ['84-83=1']
Exploring Operation: 19*1=19, Resulting Numbers: [17, 19]
Generated Node #0,1,0: 37:[17, 19] Operation: 19*1=19
Exploring Operation: 19/1=19, Resulting Numbers: [17, 19]
Generated Node #0,1,1: 37:[17, 19] Operation: 19/1=19
Exploring Operation: 19+17=36, Resulting Numbers: [1, 36]
Generated Node #0,1,2: 37:[1, 36] Operation: 19+17=36
Exploring Operation: 17+1=18, Resulting Numbers: [19, 18]
Generated Node #0,1,3: 37:[19, 18] Operation: 17+1=18
Exploring Operation: 19+1=20, Resulting Numbers: [17, 20]
Generated Node #0,1,4: 37:[17, 20] Operation: 19+1=20
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[1, 36], Operations: ['84-83=1', '19+17=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[19, 84, 17, 83], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [19, 17, 1]
Generated Node #0,1: 37:[19, 17, 1] Operation: 84-83=1
Moving to Node #0,1
Current State: 37:[19, 17, 1], Operations: ['84-83=1']
Exploring Operation: 19+17=36, Resulting Numbers: [1, 36]
Generated Node #0,1,2: 37:[1, 36] Operation: 19+17=36
Moving to Node #0,1,2
Current State: 37:[1, 36], Operations: ['84-83=1', '19+17=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
54,
29,
95,
37
] | 56 | [
"95-37=58",
"58/29=2",
"54+2=56"
] | Current State: 56:[54, 29, 95, 37], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [54, 29, 58]
Generated Node #2: [54, 29, 58] from Operation: 95-37=58
Current State: 56:[54, 29, 58], Operations: ['95-37=58']
Exploring Operation: 58/29=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 58/29=2
Current State: 56:[54, 2], Operations: ['95-37=58', '58/29=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[54, 29, 95, 37], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [29, 37, 41]
Generated Node #0,0: 56:[29, 37, 41] Operation: 95-54=41
Exploring Operation: 95-29=66, Resulting Numbers: [54, 37, 66]
Generated Node #0,1: 56:[54, 37, 66] Operation: 95-29=66
Exploring Operation: 37-29=8, Resulting Numbers: [54, 95, 8]
Generated Node #0,2: 56:[54, 95, 8] Operation: 37-29=8
Exploring Operation: 95-37=58, Resulting Numbers: [54, 29, 58]
Generated Node #0,3: 56:[54, 29, 58] Operation: 95-37=58
Moving to Node #0,3
Current State: 56:[54, 29, 58], Operations: ['95-37=58']
Exploring Operation: 58-29=29, Resulting Numbers: [54, 29]
Generated Node #0,3,0: 56:[54, 29] Operation: 58-29=29
Exploring Operation: 58-54=4, Resulting Numbers: [29, 4]
Generated Node #0,3,1: 56:[29, 4] Operation: 58-54=4
Exploring Operation: 54-29=25, Resulting Numbers: [58, 25]
Generated Node #0,3,2: 56:[58, 25] Operation: 54-29=25
Exploring Operation: 58/29=2, Resulting Numbers: [54, 2]
Generated Node #0,3,3: 56:[54, 2] Operation: 58/29=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[29, 4], Operations: ['95-37=58', '58-54=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,56 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[54, 2], Operations: ['95-37=58', '58/29=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[54, 29, 95, 37], Operations: []
Exploring Operation: 95-37=58, Resulting Numbers: [54, 29, 58]
Generated Node #0,3: 56:[54, 29, 58] Operation: 95-37=58
Moving to Node #0,3
Current State: 56:[54, 29, 58], Operations: ['95-37=58']
Exploring Operation: 58/29=2, Resulting Numbers: [54, 2]
Generated Node #0,3,3: 56:[54, 2] Operation: 58/29=2
Moving to Node #0,3,3
Current State: 56:[54, 2], Operations: ['95-37=58', '58/29=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
35,
50,
43,
72
] | 77 | [
"50-43=7",
"35/7=5",
"72+5=77"
] | Current State: 77:[35, 50, 43, 72], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [35, 72, 7]
Generated Node #2: [35, 72, 7] from Operation: 50-43=7
Current State: 77:[35, 72, 7], Operations: ['50-43=7']
Exploring Operation: 35/7=5, Resulting Numbers: [72, 5]
Generated Node #3: [72, 5] from Operation: 35/7=5
Current State: 77:[72, 5], Operations: ['50-43=7', '35/7=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[35, 50, 43, 72], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [35, 72, 7]
Generated Node #0,0: 77:[35, 72, 7] Operation: 50-43=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[35, 72, 7], Operations: ['50-43=7']
Exploring Operation: 35/7=5, Resulting Numbers: [72, 5]
Generated Node #0,0,0: 77:[72, 5] Operation: 35/7=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[72, 5], Operations: ['50-43=7', '35/7=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[35, 50, 43, 72], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [35, 72, 7]
Generated Node #0,0: 77:[35, 72, 7] Operation: 50-43=7
Moving to Node #0,0
Current State: 77:[35, 72, 7], Operations: ['50-43=7']
Exploring Operation: 35/7=5, Resulting Numbers: [72, 5]
Generated Node #0,0,0: 77:[72, 5] Operation: 35/7=5
Moving to Node #0,0,0
Current State: 77:[72, 5], Operations: ['50-43=7', '35/7=5']
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
11,
50,
84,
70
] | 64 | [
"84+70=154",
"154/11=14",
"50+14=64"
] | Current State: 64:[11, 50, 84, 70], Operations: []
Exploring Operation: 84+70=154, Resulting Numbers: [11, 50, 154]
Generated Node #2: [11, 50, 154] from Operation: 84+70=154
Current State: 64:[11, 50, 154], Operations: ['84+70=154']
Exploring Operation: 154/11=14, Resulting Numbers: [50, 14]
Generated Node #3: [50, 14] from Operation: 154/11=14
Current State: 64:[50, 14], Operations: ['84+70=154', '154/11=14']
Exploring Operation: 50+14=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[11, 50, 84, 70], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [11, 70, 34]
Generated Node #0,0: 64:[11, 70, 34] Operation: 84-50=34
Exploring Operation: 11+50=61, Resulting Numbers: [84, 70, 61]
Generated Node #0,1: 64:[84, 70, 61] Operation: 11+50=61
Exploring Operation: 84-70=14, Resulting Numbers: [11, 50, 14]
Generated Node #0,2: 64:[11, 50, 14] Operation: 84-70=14
Exploring Operation: 84-11=73, Resulting Numbers: [50, 70, 73]
Generated Node #0,3: 64:[50, 70, 73] Operation: 84-11=73
Exploring Operation: 70-50=20, Resulting Numbers: [11, 84, 20]
Generated Node #0,4: 64:[11, 84, 20] Operation: 70-50=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[11, 70, 34], Operations: ['84-50=34']
Exploring Operation: 70-11=59, Resulting Numbers: [34, 59]
Generated Node #0,0,0: 64:[34, 59] Operation: 70-11=59
Exploring Operation: 11+70=81, Resulting Numbers: [34, 81]
Generated Node #0,0,1: 64:[34, 81] Operation: 11+70=81
Exploring Operation: 70-34=36, Resulting Numbers: [11, 36]
Generated Node #0,0,2: 64:[11, 36] Operation: 70-34=36
Exploring Operation: 11+34=45, Resulting Numbers: [70, 45]
Generated Node #0,0,3: 64:[70, 45] Operation: 11+34=45
Exploring Operation: 34-11=23, Resulting Numbers: [70, 23]
Generated Node #0,0,4: 64:[70, 23] Operation: 34-11=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[34, 59], Operations: ['84-50=34', '70-11=59']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 34+59=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 34*59=2006, Resulting Numbers: [2006]
2006,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[11, 36], Operations: ['84-50=34', '70-34=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[70, 23], Operations: ['84-50=34', '34-11=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,64 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[34, 81], Operations: ['84-50=34', '11+70=81']
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,64 unequal: No Solution
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[70, 45], Operations: ['84-50=34', '11+34=45']
Exploring Operation: 70*45=3150, Resulting Numbers: [3150]
3150,64 unequal: No Solution
Exploring Operation: 70+45=115, Resulting Numbers: [115]
115,64 unequal: No Solution
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,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,2
Current State: 64:[11, 50, 14], Operations: ['84-70=14']
Exploring Operation: 11+50=61, Resulting Numbers: [14, 61]
Generated Node #0,2,0: 64:[14, 61] Operation: 11+50=61
Exploring Operation: 50+14=64, Resulting Numbers: [11, 64]
Generated Node #0,2,1: 64:[11, 64] Operation: 50+14=64
Exploring Operation: 50-14=36, Resulting Numbers: [11, 36]
Generated Node #0,2,2: 64:[11, 36] Operation: 50-14=36
Exploring Operation: 14-11=3, Resulting Numbers: [50, 3]
Generated Node #0,2,3: 64:[50, 3] Operation: 14-11=3
Exploring Operation: 50-11=39, Resulting Numbers: [14, 39]
Generated Node #0,2,4: 64:[14, 39] Operation: 50-11=39
Moving to Node #0,2,1
Current State: 64:[11, 64], Operations: ['84-70=14', '50+14=64']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,64 unequal: No Solution
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[14, 61], Operations: ['84-70=14', '11+50=61']
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,64 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[11, 36], Operations: ['84-70=14', '50-14=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[14, 39], Operations: ['84-70=14', '50-11=39']
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[50, 3], Operations: ['84-70=14', '14-11=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,64 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[11, 84, 20], Operations: ['70-50=20']
Exploring Operation: 84-11=73, Resulting Numbers: [20, 73]
Generated Node #0,4,0: 64:[20, 73] Operation: 84-11=73
Exploring Operation: 11+20=31, Resulting Numbers: [84, 31]
Generated Node #0,4,1: 64:[84, 31] Operation: 11+20=31
Exploring Operation: 20-11=9, Resulting Numbers: [84, 9]
Generated Node #0,4,2: 64:[84, 9] Operation: 20-11=9
Exploring Operation: 84-20=64, Resulting Numbers: [11, 64]
Generated Node #0,4,3: 64:[11, 64] Operation: 84-20=64
Exploring Operation: 11+84=95, Resulting Numbers: [20, 95]
Generated Node #0,4,4: 64:[20, 95] Operation: 11+84=95
Moving to Node #0,4,3
Current State: 64:[11, 64], Operations: ['70-50=20', '84-20=64']
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 11*64=704, Resulting Numbers: [704]
704,64 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[20, 73], Operations: ['70-50=20', '84-11=73']
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,64 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[84, 31], Operations: ['70-50=20', '11+20=31']
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,64 unequal: No Solution
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,64 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[84, 9], Operations: ['70-50=20', '20-11=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,64 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[20, 95], Operations: ['70-50=20', '11+84=95']
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,64 unequal: No Solution
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,64 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[84, 70, 61], Operations: ['11+50=61']
Exploring Operation: 84-61=23, Resulting Numbers: [70, 23]
Generated Node #0,1,0: 64:[70, 23] Operation: 84-61=23
Exploring Operation: 70+61=131, Resulting Numbers: [84, 131]
Generated Node #0,1,1: 64:[84, 131] Operation: 70+61=131
Exploring Operation: 70-61=9, Resulting Numbers: [84, 9]
Generated Node #0,1,2: 64:[84, 9] Operation: 70-61=9
Exploring Operation: 84-70=14, Resulting Numbers: [61, 14]
Generated Node #0,1,3: 64:[61, 14] Operation: 84-70=14
Exploring Operation: 84+61=145, Resulting Numbers: [70, 145]
Generated Node #0,1,4: 64:[70, 145] Operation: 84+61=145
Moving to Node #0,1,3
Current State: 64:[61, 14], Operations: ['11+50=61', '84-70=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,64 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[70, 23], Operations: ['11+50=61', '84-61=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[84, 9], Operations: ['11+50=61', '70-61=9']
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[84, 131], Operations: ['11+50=61', '70+61=131']
Exploring Operation: 84+131=215, Resulting Numbers: [215]
215,64 unequal: No Solution
Exploring Operation: 131-84=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 84*131=11004, Resulting Numbers: [11004]
11004,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[70, 145], Operations: ['11+50=61', '84+61=145']
Exploring Operation: 145-70=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 70*145=10150, Resulting Numbers: [10150]
10150,64 unequal: No Solution
Exploring Operation: 70+145=215, Resulting Numbers: [215]
215,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[50, 70, 73], Operations: ['84-11=73']
Exploring Operation: 70-50=20, Resulting Numbers: [73, 20]
Generated Node #0,3,0: 64:[73, 20] Operation: 70-50=20
Exploring Operation: 73-70=3, Resulting Numbers: [50, 3]
Generated Node #0,3,1: 64:[50, 3] Operation: 73-70=3
Exploring Operation: 73-50=23, Resulting Numbers: [70, 23]
Generated Node #0,3,2: 64:[70, 23] Operation: 73-50=23
Exploring Operation: 50+70=120, Resulting Numbers: [73, 120]
Generated Node #0,3,3: 64:[73, 120] Operation: 50+70=120
Exploring Operation: 50+73=123, Resulting Numbers: [70, 123]
Generated Node #0,3,4: 64:[70, 123] Operation: 50+73=123
Moving to Node #0,3,0
Current State: 64:[73, 20], Operations: ['84-11=73', '70-50=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,64 unequal: No Solution
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[70, 23], Operations: ['84-11=73', '73-50=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,64 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[50, 3], Operations: ['84-11=73', '73-70=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,64 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[73, 120], Operations: ['84-11=73', '50+70=120']
Exploring Operation: 120-73=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 73*120=8760, Resulting Numbers: [8760]
8760,64 unequal: No Solution
Exploring Operation: 73+120=193, Resulting Numbers: [193]
193,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[70, 123], Operations: ['84-11=73', '50+73=123']
Exploring Operation: 123-70=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 70*123=8610, Resulting Numbers: [8610]
8610,64 unequal: No Solution
Exploring Operation: 70+123=193, Resulting Numbers: [193]
193,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
36,
72,
6
] | 13 | [
"17+36=53",
"72-6=66",
"66-53=13"
] | Current State: 13:[17, 36, 72, 6], Operations: []
Exploring Operation: 17+36=53, Resulting Numbers: [72, 6, 53]
Generated Node #2: [72, 6, 53] from Operation: 17+36=53
Current State: 13:[72, 6, 53], Operations: ['17+36=53']
Exploring Operation: 72-6=66, Resulting Numbers: [53, 66]
Generated Node #3: [53, 66] from Operation: 72-6=66
Current State: 13:[53, 66], Operations: ['17+36=53', '72-6=66']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[17, 36, 72, 6], Operations: []
Exploring Operation: 72/6=12, Resulting Numbers: [17, 36, 12]
Generated Node #0,0: 13:[17, 36, 12] Operation: 72/6=12
Exploring Operation: 36/6=6, Resulting Numbers: [17, 72, 6]
Generated Node #0,1: 13:[17, 72, 6] Operation: 36/6=6
Exploring Operation: 72-36=36, Resulting Numbers: [17, 6, 36]
Generated Node #0,2: 13:[17, 6, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [17, 6, 2]
Generated Node #0,3: 13:[17, 6, 2] Operation: 72/36=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[17, 6, 2], Operations: ['72/36=2']
Exploring Operation: 17-2=15, Resulting Numbers: [6, 15]
Generated Node #0,3,0: 13:[6, 15] Operation: 17-2=15
Exploring Operation: 6+2=8, Resulting Numbers: [17, 8]
Generated Node #0,3,1: 13:[17, 8] Operation: 6+2=8
Exploring Operation: 17-6=11, Resulting Numbers: [2, 11]
Generated Node #0,3,2: 13:[2, 11] Operation: 17-6=11
Exploring Operation: 6*2=12, Resulting Numbers: [17, 12]
Generated Node #0,3,3: 13:[17, 12] Operation: 6*2=12
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[17, 12], Operations: ['72/36=2', '6*2=12']
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,13 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[6, 15], Operations: ['72/36=2', '17-2=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,13 unequal: No Solution
No 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: 13:[17, 8], Operations: ['72/36=2', '6+2=8']
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,13 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,13 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,13 unequal: No Solution
No 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: 13:[2, 11], Operations: ['72/36=2', '17-6=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[17, 36, 72, 6], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [17, 6, 2]
Generated Node #0,3: 13:[17, 6, 2] Operation: 72/36=2
Moving to Node #0,3
Current State: 13:[17, 6, 2], Operations: ['72/36=2']
Exploring Operation: 17-6=11, Resulting Numbers: [2, 11]
Generated Node #0,3,2: 13:[2, 11] Operation: 17-6=11
Moving to Node #0,3,2
Current State: 13:[2, 11], Operations: ['72/36=2', '17-6=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
9,
39,
42,
57
] | 10 | [
"42-39=3",
"57/3=19",
"19-9=10"
] | Current State: 10:[9, 39, 42, 57], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [9, 57, 3]
Generated Node #2: [9, 57, 3] from Operation: 42-39=3
Current State: 10:[9, 57, 3], Operations: ['42-39=3']
Exploring Operation: 57/3=19, Resulting Numbers: [9, 19]
Generated Node #3: [9, 19] from Operation: 57/3=19
Current State: 10:[9, 19], Operations: ['42-39=3', '57/3=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[9, 39, 42, 57], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [9, 42, 18]
Generated Node #0,0: 10:[9, 42, 18] Operation: 57-39=18
Exploring Operation: 42-39=3, Resulting Numbers: [9, 57, 3]
Generated Node #0,1: 10:[9, 57, 3] Operation: 42-39=3
Exploring Operation: 57-42=15, Resulting Numbers: [9, 39, 15]
Generated Node #0,2: 10:[9, 39, 15] Operation: 57-42=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[9, 39, 15], Operations: ['57-42=15']
Exploring Operation: 39-9=30, Resulting Numbers: [15, 30]
Generated Node #0,2,0: 10:[15, 30] Operation: 39-9=30
Exploring Operation: 15-9=6, Resulting Numbers: [39, 6]
Generated Node #0,2,1: 10:[39, 6] Operation: 15-9=6
Exploring Operation: 39-15=24, Resulting Numbers: [9, 24]
Generated Node #0,2,2: 10:[9, 24] Operation: 39-15=24
Moving to Node #0,2,2
Current State: 10:[9, 24], Operations: ['57-42=15', '39-15=24']
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,10 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[15, 30], Operations: ['57-42=15', '39-9=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[39, 6], Operations: ['57-42=15', '15-9=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[9, 42, 18], Operations: ['57-39=18']
Exploring Operation: 42-9=33, Resulting Numbers: [18, 33]
Generated Node #0,0,0: 10:[18, 33] Operation: 42-9=33
Exploring Operation: 42-18=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 10:[9, 24] Operation: 42-18=24
Exploring Operation: 18/9=2, Resulting Numbers: [42, 2]
Generated Node #0,0,2: 10:[42, 2] Operation: 18/9=2
Moving to Node #0,0,1
Current State: 10:[9, 24], Operations: ['57-39=18', '42-18=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,10 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[18, 33], Operations: ['57-39=18', '42-9=33']
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,10 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,10 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[42, 2], Operations: ['57-39=18', '18/9=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,10 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[9, 57, 3], Operations: ['42-39=3']
Exploring Operation: 57/3=19, Resulting Numbers: [9, 19]
Generated Node #0,1,0: 10:[9, 19] Operation: 57/3=19
Exploring Operation: 57-9=48, Resulting Numbers: [3, 48]
Generated Node #0,1,1: 10:[3, 48] Operation: 57-9=48
Exploring Operation: 57-3=54, Resulting Numbers: [9, 54]
Generated Node #0,1,2: 10:[9, 54] Operation: 57-3=54
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[9, 19], Operations: ['42-39=3', '57/3=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,10 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[9, 39, 42, 57], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [9, 57, 3]
Generated Node #0,1: 10:[9, 57, 3] Operation: 42-39=3
Moving to Node #0,1
Current State: 10:[9, 57, 3], Operations: ['42-39=3']
Exploring Operation: 57/3=19, Resulting Numbers: [9, 19]
Generated Node #0,1,0: 10:[9, 19] Operation: 57/3=19
Moving to Node #0,1,0
Current State: 10:[9, 19], Operations: ['42-39=3', '57/3=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
64,
35,
17,
32
] | 20 | [
"64-35=29",
"17+32=49",
"49-29=20"
] | Current State: 20:[64, 35, 17, 32], Operations: []
Exploring Operation: 64-35=29, Resulting Numbers: [17, 32, 29]
Generated Node #2: [17, 32, 29] from Operation: 64-35=29
Current State: 20:[17, 32, 29], Operations: ['64-35=29']
Exploring Operation: 17+32=49, Resulting Numbers: [29, 49]
Generated Node #3: [29, 49] from Operation: 17+32=49
Current State: 20:[29, 49], Operations: ['64-35=29', '17+32=49']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[64, 35, 17, 32], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [35, 17, 2]
Generated Node #0,0: 20:[35, 17, 2] Operation: 64/32=2
Exploring Operation: 64-32=32, Resulting Numbers: [35, 17, 32]
Generated Node #0,1: 20:[35, 17, 32] Operation: 64-32=32
Exploring Operation: 64-35=29, Resulting Numbers: [17, 32, 29]
Generated Node #0,2: 20:[17, 32, 29] Operation: 64-35=29
Exploring Operation: 35-32=3, Resulting Numbers: [64, 17, 3]
Generated Node #0,3: 20:[64, 17, 3] Operation: 35-32=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[35, 17, 2], Operations: ['64/32=2']
Exploring Operation: 35-2=33, Resulting Numbers: [17, 33]
Generated Node #0,0,0: 20:[17, 33] Operation: 35-2=33
Exploring Operation: 17+2=19, Resulting Numbers: [35, 19]
Generated Node #0,0,1: 20:[35, 19] Operation: 17+2=19
Exploring Operation: 35+2=37, Resulting Numbers: [17, 37]
Generated Node #0,0,2: 20:[17, 37] Operation: 35+2=37
Exploring Operation: 35-17=18, Resulting Numbers: [2, 18]
Generated Node #0,0,3: 20:[2, 18] Operation: 35-17=18
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[2, 18], Operations: ['64/32=2', '35-17=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[64, 35, 17, 32], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [35, 17, 2]
Generated Node #0,0: 20:[35, 17, 2] Operation: 64/32=2
Moving to Node #0,0
Current State: 20:[35, 17, 2], Operations: ['64/32=2']
Exploring Operation: 35-17=18, Resulting Numbers: [2, 18]
Generated Node #0,0,3: 20:[2, 18] Operation: 35-17=18
Moving to Node #0,0,3
Current State: 20:[2, 18], Operations: ['64/32=2', '35-17=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
59,
63,
30,
79
] | 41 | [
"63-59=4",
"30*4=120",
"120-79=41"
] | Current State: 41:[59, 63, 30, 79], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [30, 79, 4]
Generated Node #2: [30, 79, 4] from Operation: 63-59=4
Current State: 41:[30, 79, 4], Operations: ['63-59=4']
Exploring Operation: 30*4=120, Resulting Numbers: [79, 120]
Generated Node #3: [79, 120] from Operation: 30*4=120
Current State: 41:[79, 120], Operations: ['63-59=4', '30*4=120']
Exploring Operation: 120-79=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[59, 63, 30, 79], Operations: []
Exploring Operation: 79-59=20, Resulting Numbers: [63, 30, 20]
Generated Node #0,0: 41:[63, 30, 20] Operation: 79-59=20
Exploring Operation: 79-30=49, Resulting Numbers: [59, 63, 49]
Generated Node #0,1: 41:[59, 63, 49] Operation: 79-30=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[59, 63, 49], Operations: ['79-30=49']
Exploring Operation: 63-59=4, Resulting Numbers: [49, 4]
Generated Node #0,1,0: 41:[49, 4] Operation: 63-59=4
Exploring Operation: 63-49=14, Resulting Numbers: [59, 14]
Generated Node #0,1,1: 41:[59, 14] Operation: 63-49=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[49, 4], Operations: ['79-30=49', '63-59=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[59, 14], Operations: ['79-30=49', '63-49=14']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,41 unequal: No Solution
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[63, 30, 20], Operations: ['79-59=20']
Exploring Operation: 63-30=33, Resulting Numbers: [20, 33]
Generated Node #0,0,0: 41:[20, 33] Operation: 63-30=33
Exploring Operation: 63-20=43, Resulting Numbers: [30, 43]
Generated Node #0,0,1: 41:[30, 43] Operation: 63-20=43
Moving to Node #0,0,1
Current State: 41:[30, 43], Operations: ['79-59=20', '63-20=43']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[20, 33], Operations: ['79-59=20', '63-30=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,41 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
6,
42,
2
] | 83 | [
"6+42=48",
"2*48=96",
"96-13=83"
] | Current State: 83:[13, 6, 42, 2], Operations: []
Exploring Operation: 6+42=48, Resulting Numbers: [13, 2, 48]
Generated Node #2: [13, 2, 48] from Operation: 6+42=48
Current State: 83:[13, 2, 48], Operations: ['6+42=48']
Exploring Operation: 2*48=96, Resulting Numbers: [13, 96]
Generated Node #3: [13, 96] from Operation: 2*48=96
Current State: 83:[13, 96], Operations: ['6+42=48', '2*48=96']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[13, 6, 42, 2], Operations: []
Exploring Operation: 13*6=78, Resulting Numbers: [42, 2, 78]
Generated Node #0,0: 83:[42, 2, 78] Operation: 13*6=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[42, 2, 78], Operations: ['13*6=78']
Exploring Operation: 42*2=84, Resulting Numbers: [78, 84]
Generated Node #0,0,0: 83:[78, 84] Operation: 42*2=84
Moving to Node #0,0,0
Current State: 83:[78, 84], Operations: ['13*6=78', '42*2=84']
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
44,
71,
40
] | 49 | [
"47-44=3",
"40*3=120",
"120-71=49"
] | Current State: 49:[47, 44, 71, 40], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [71, 40, 3]
Generated Node #2: [71, 40, 3] from Operation: 47-44=3
Current State: 49:[71, 40, 3], Operations: ['47-44=3']
Exploring Operation: 40*3=120, Resulting Numbers: [71, 120]
Generated Node #3: [71, 120] from Operation: 40*3=120
Current State: 49:[71, 120], Operations: ['47-44=3', '40*3=120']
Exploring Operation: 120-71=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[47, 44, 71, 40], Operations: []
Exploring Operation: 71-47=24, Resulting Numbers: [44, 40, 24]
Generated Node #0,0: 49:[44, 40, 24] Operation: 71-47=24
Exploring Operation: 47-40=7, Resulting Numbers: [44, 71, 7]
Generated Node #0,1: 49:[44, 71, 7] Operation: 47-40=7
Exploring Operation: 71-40=31, Resulting Numbers: [47, 44, 31]
Generated Node #0,2: 49:[47, 44, 31] Operation: 71-40=31
Exploring Operation: 44-40=4, Resulting Numbers: [47, 71, 4]
Generated Node #0,3: 49:[47, 71, 4] Operation: 44-40=4
Exploring Operation: 71-44=27, Resulting Numbers: [47, 40, 27]
Generated Node #0,4: 49:[47, 40, 27] Operation: 71-44=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[47, 44, 31], Operations: ['71-40=31']
Exploring Operation: 44+31=75, Resulting Numbers: [47, 75]
Generated Node #0,2,0: 49:[47, 75] Operation: 44+31=75
Exploring Operation: 44-31=13, Resulting Numbers: [47, 13]
Generated Node #0,2,1: 49:[47, 13] Operation: 44-31=13
Exploring Operation: 47+31=78, Resulting Numbers: [44, 78]
Generated Node #0,2,2: 49:[44, 78] Operation: 47+31=78
Exploring Operation: 47-44=3, Resulting Numbers: [31, 3]
Generated Node #0,2,3: 49:[31, 3] Operation: 47-44=3
Exploring Operation: 47-31=16, Resulting Numbers: [44, 16]
Generated Node #0,2,4: 49:[44, 16] Operation: 47-31=16
Moving to Node #0,2,1
Current State: 49:[47, 13], Operations: ['71-40=31', '44-31=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,49 unequal: No Solution
Moving to Node #0,2,4
Current State: 49:[44, 16], Operations: ['71-40=31', '47-31=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,49 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[31, 3], Operations: ['71-40=31', '47-44=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,49 unequal: No Solution
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[47, 75], Operations: ['71-40=31', '44+31=75']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[44, 78], Operations: ['71-40=31', '47+31=78']
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,49 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,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,1
Current State: 49:[44, 71, 7], Operations: ['47-40=7']
Exploring Operation: 44-7=37, Resulting Numbers: [71, 37]
Generated Node #0,1,0: 49:[71, 37] Operation: 44-7=37
Exploring Operation: 71+7=78, Resulting Numbers: [44, 78]
Generated Node #0,1,1: 49:[44, 78] Operation: 71+7=78
Exploring Operation: 71-7=64, Resulting Numbers: [44, 64]
Generated Node #0,1,2: 49:[44, 64] Operation: 71-7=64
Exploring Operation: 44+7=51, Resulting Numbers: [71, 51]
Generated Node #0,1,3: 49:[71, 51] Operation: 44+7=51
Exploring Operation: 71-44=27, Resulting Numbers: [7, 27]
Generated Node #0,1,4: 49:[7, 27] Operation: 71-44=27
Moving to Node #0,1,2
Current State: 49:[44, 64], Operations: ['47-40=7', '71-7=64']
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,49 unequal: No Solution
Moving to Node #0,1,4
Current State: 49:[7, 27], Operations: ['47-40=7', '71-44=27']
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,49 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Moving to Node #0,1,3
Current State: 49:[71, 51], Operations: ['47-40=7', '44+7=51']
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,49 unequal: No Solution
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[71, 37], Operations: ['47-40=7', '44-7=37']
Exploring Operation: 71*37=2627, Resulting Numbers: [2627]
2627,49 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 71+37=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[44, 78], Operations: ['47-40=7', '71+7=78']
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,49 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[47, 71, 4], Operations: ['44-40=4']
Exploring Operation: 71+4=75, Resulting Numbers: [47, 75]
Generated Node #0,3,0: 49:[47, 75] Operation: 71+4=75
Exploring Operation: 47+4=51, Resulting Numbers: [71, 51]
Generated Node #0,3,1: 49:[71, 51] Operation: 47+4=51
Exploring Operation: 71-4=67, Resulting Numbers: [47, 67]
Generated Node #0,3,2: 49:[47, 67] Operation: 71-4=67
Exploring Operation: 47-4=43, Resulting Numbers: [71, 43]
Generated Node #0,3,3: 49:[71, 43] Operation: 47-4=43
Exploring Operation: 71-47=24, Resulting Numbers: [4, 24]
Generated Node #0,3,4: 49:[4, 24] Operation: 71-47=24
Moving to Node #0,3,2
Current State: 49:[47, 67], Operations: ['44-40=4', '71-4=67']
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,49 unequal: No Solution
Moving to Node #0,3,4
Current State: 49:[4, 24], Operations: ['44-40=4', '71-47=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[71, 51], Operations: ['44-40=4', '47+4=51']
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,49 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[47, 75], Operations: ['44-40=4', '71+4=75']
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,49 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[71, 43], Operations: ['44-40=4', '47-4=43']
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,49 unequal: No Solution
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,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:[44, 40, 24], Operations: ['71-47=24']
Exploring Operation: 44-24=20, Resulting Numbers: [40, 20]
Generated Node #0,0,0: 49:[40, 20] Operation: 44-24=20
Exploring Operation: 40-24=16, Resulting Numbers: [44, 16]
Generated Node #0,0,1: 49:[44, 16] Operation: 40-24=16
Exploring Operation: 44+24=68, Resulting Numbers: [40, 68]
Generated Node #0,0,2: 49:[40, 68] Operation: 44+24=68
Exploring Operation: 40+24=64, Resulting Numbers: [44, 64]
Generated Node #0,0,3: 49:[44, 64] Operation: 40+24=64
Exploring Operation: 44-40=4, Resulting Numbers: [24, 4]
Generated Node #0,0,4: 49:[24, 4] Operation: 44-40=4
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[44, 16], Operations: ['71-47=24', '40-24=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,49 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 49:[44, 64], Operations: ['71-47=24', '40+24=64']
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 49:[24, 4], Operations: ['71-47=24', '44-40=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[40, 20], Operations: ['71-47=24', '44-24=20']
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,49 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 49:[40, 68], Operations: ['71-47=24', '44+24=68']
Exploring Operation: 40*68=2720, Resulting Numbers: [2720]
2720,49 unequal: No Solution
Exploring Operation: 40+68=108, Resulting Numbers: [108]
108,49 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[47, 40, 27], Operations: ['71-44=27']
Exploring Operation: 47-40=7, Resulting Numbers: [27, 7]
Generated Node #0,4,0: 49:[27, 7] Operation: 47-40=7
Exploring Operation: 47-27=20, Resulting Numbers: [40, 20]
Generated Node #0,4,1: 49:[40, 20] Operation: 47-27=20
Exploring Operation: 47+27=74, Resulting Numbers: [40, 74]
Generated Node #0,4,2: 49:[40, 74] Operation: 47+27=74
Exploring Operation: 40-27=13, Resulting Numbers: [47, 13]
Generated Node #0,4,3: 49:[47, 13] Operation: 40-27=13
Exploring Operation: 40+27=67, Resulting Numbers: [47, 67]
Generated Node #0,4,4: 49:[47, 67] Operation: 40+27=67
Moving to Node #0,4,3
Current State: 49:[47, 13], Operations: ['71-44=27', '40-27=13']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,49 unequal: No Solution
Moving to Node #0,4,4
Current State: 49:[47, 67], Operations: ['71-44=27', '40+27=67']
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,49 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Moving to Node #0,4,0
Current State: 49:[27, 7], Operations: ['71-44=27', '47-40=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,49 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Moving to Node #0,4,1
Current State: 49:[40, 20], Operations: ['71-44=27', '47-27=20']
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,49 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,49 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,49 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Moving to Node #0,4,2
Current State: 49:[40, 74], Operations: ['71-44=27', '47+27=74']
Exploring Operation: 40+74=114, Resulting Numbers: [114]
114,49 unequal: No Solution
Exploring Operation: 40*74=2960, Resulting Numbers: [2960]
2960,49 unequal: No Solution
Exploring Operation: 74-40=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
28,
23,
70,
32
] | 43 | [
"28-23=5",
"70-32=38",
"5+38=43"
] | Current State: 43:[28, 23, 70, 32], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [70, 32, 5]
Generated Node #2: [70, 32, 5] from Operation: 28-23=5
Current State: 43:[70, 32, 5], Operations: ['28-23=5']
Exploring Operation: 70-32=38, Resulting Numbers: [5, 38]
Generated Node #3: [5, 38] from Operation: 70-32=38
Current State: 43:[5, 38], Operations: ['28-23=5', '70-32=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 23, 70, 32], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [28, 32, 47]
Generated Node #0,0: 43:[28, 32, 47] Operation: 70-23=47
Exploring Operation: 70-28=42, Resulting Numbers: [23, 32, 42]
Generated Node #0,1: 43:[23, 32, 42] Operation: 70-28=42
Moving to Node #0,0
Current State: 43:[28, 32, 47], Operations: ['70-23=47']
Exploring Operation: 47-28=19, Resulting Numbers: [32, 19]
Generated Node #0,0,0: 43:[32, 19] Operation: 47-28=19
Exploring Operation: 28+32=60, Resulting Numbers: [47, 60]
Generated Node #0,0,1: 43:[47, 60] Operation: 28+32=60
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[47, 60], Operations: ['70-23=47', '28+32=60']
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,43 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[32, 19], Operations: ['70-23=47', '47-28=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,43 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: 43:[23, 32, 42], Operations: ['70-28=42']
Exploring Operation: 23+42=65, Resulting Numbers: [32, 65]
Generated Node #0,1,0: 43:[32, 65] Operation: 23+42=65
Exploring Operation: 23+32=55, Resulting Numbers: [42, 55]
Generated Node #0,1,1: 43:[42, 55] Operation: 23+32=55
Moving to Node #0,1,1
Current State: 43:[42, 55], Operations: ['70-28=42', '23+32=55']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[32, 65], Operations: ['70-28=42', '23+42=65']
Exploring Operation: 32+65=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 65-32=33, Resulting Numbers: [33]
33,43 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
44,
46,
73,
65
] | 41 | [
"73+65=138",
"138/46=3",
"44-3=41"
] | Current State: 41:[44, 46, 73, 65], Operations: []
Exploring Operation: 73+65=138, Resulting Numbers: [44, 46, 138]
Generated Node #2: [44, 46, 138] from Operation: 73+65=138
Current State: 41:[44, 46, 138], Operations: ['73+65=138']
Exploring Operation: 138/46=3, Resulting Numbers: [44, 3]
Generated Node #3: [44, 3] from Operation: 138/46=3
Current State: 41:[44, 3], Operations: ['73+65=138', '138/46=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[44, 46, 73, 65], Operations: []
Exploring Operation: 73-46=27, Resulting Numbers: [44, 65, 27]
Generated Node #0,0: 41:[44, 65, 27] Operation: 73-46=27
Exploring Operation: 73-44=29, Resulting Numbers: [46, 65, 29]
Generated Node #0,1: 41:[46, 65, 29] Operation: 73-44=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[44, 65, 27], Operations: ['73-46=27']
Exploring Operation: 65-27=38, Resulting Numbers: [44, 38]
Generated Node #0,0,0: 41:[44, 38] Operation: 65-27=38
Exploring Operation: 65-44=21, Resulting Numbers: [27, 21]
Generated Node #0,0,1: 41:[27, 21] Operation: 65-44=21
Moving to Node #0,0,0
Current State: 41:[44, 38], Operations: ['73-46=27', '65-27=38']
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[27, 21], Operations: ['73-46=27', '65-44=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[46, 65, 29], Operations: ['73-44=29']
Exploring Operation: 65-29=36, Resulting Numbers: [46, 36]
Generated Node #0,1,0: 41:[46, 36] Operation: 65-29=36
Exploring Operation: 65-46=19, Resulting Numbers: [29, 19]
Generated Node #0,1,1: 41:[29, 19] Operation: 65-46=19
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[46, 36], Operations: ['73-44=29', '65-29=36']
Exploring Operation: 46+36=82, Resulting Numbers: [82]
82,41 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[29, 19], Operations: ['73-44=29', '65-46=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
82,
41,
96,
22
] | 70 | [
"82/41=2",
"96/2=48",
"22+48=70"
] | Current State: 70:[82, 41, 96, 22], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [96, 22, 2]
Generated Node #2: [96, 22, 2] from Operation: 82/41=2
Current State: 70:[96, 22, 2], Operations: ['82/41=2']
Exploring Operation: 96/2=48, Resulting Numbers: [22, 48]
Generated Node #3: [22, 48] from Operation: 96/2=48
Current State: 70:[22, 48], Operations: ['82/41=2', '96/2=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[82, 41, 96, 22], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [41, 22, 14]
Generated Node #0,0: 70:[41, 22, 14] Operation: 96-82=14
Exploring Operation: 96-22=74, Resulting Numbers: [82, 41, 74]
Generated Node #0,1: 70:[82, 41, 74] Operation: 96-22=74
Exploring Operation: 82/41=2, Resulting Numbers: [96, 22, 2]
Generated Node #0,2: 70:[96, 22, 2] Operation: 82/41=2
Moving to Node #0,0
Current State: 70:[41, 22, 14], Operations: ['96-82=14']
Exploring Operation: 22+14=36, Resulting Numbers: [41, 36]
Generated Node #0,0,0: 70:[41, 36] Operation: 22+14=36
Exploring Operation: 41+22=63, Resulting Numbers: [14, 63]
Generated Node #0,0,1: 70:[14, 63] Operation: 41+22=63
Exploring Operation: 41-22=19, Resulting Numbers: [14, 19]
Generated Node #0,0,2: 70:[14, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[14, 19], Operations: ['96-82=14', '41-22=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,70 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,70 unequal: No Solution
Exploring Operation: 19-14=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,0,0
Current State: 70:[41, 36], Operations: ['96-82=14', '22+14=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,70 unequal: No Solution
Exploring Operation: 41-36=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,0,1
Current State: 70:[14, 63], Operations: ['96-82=14', '41+22=63']
Exploring Operation: 14+63=77, Resulting Numbers: [77]
77,70 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 14*63=882, Resulting Numbers: [882]
882,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:[82, 41, 74], Operations: ['96-22=74']
Exploring Operation: 82-41=41, Resulting Numbers: [74, 41]
Generated Node #0,1,0: 70:[74, 41] Operation: 82-41=41
Exploring Operation: 82-74=8, Resulting Numbers: [41, 8]
Generated Node #0,1,1: 70:[41, 8] Operation: 82-74=8
Exploring Operation: 82/41=2, Resulting Numbers: [74, 2]
Generated Node #0,1,2: 70:[74, 2] Operation: 82/41=2
Moving to Node #0,2
Current State: 70:[96, 22, 2], Operations: ['82/41=2']
Exploring Operation: 96-22=74, Resulting Numbers: [2, 74]
Generated Node #0,2,0: 70:[2, 74] Operation: 96-22=74
Exploring Operation: 96/2=48, Resulting Numbers: [22, 48]
Generated Node #0,2,1: 70:[22, 48] Operation: 96/2=48
Exploring Operation: 22/2=11, Resulting Numbers: [96, 11]
Generated Node #0,2,2: 70:[96, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[2, 74], Operations: ['82/41=2', '96-22=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,70 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,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:[22, 48], Operations: ['82/41=2', '96/2=48']
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,70 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[82, 41, 96, 22], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [96, 22, 2]
Generated Node #0,2: 70:[96, 22, 2] Operation: 82/41=2
Moving to Node #0,2
Current State: 70:[96, 22, 2], Operations: ['82/41=2']
Exploring Operation: 96/2=48, Resulting Numbers: [22, 48]
Generated Node #0,2,1: 70:[22, 48] Operation: 96/2=48
Moving to Node #0,2,1
Current State: 70:[22, 48], Operations: ['82/41=2', '96/2=48']
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_3 | mult_heuristic |
[
84,
95,
6,
97
] | 88 | [
"84+95=179",
"97-6=91",
"179-91=88"
] | Current State: 88:[84, 95, 6, 97], Operations: []
Exploring Operation: 84+95=179, Resulting Numbers: [6, 97, 179]
Generated Node #2: [6, 97, 179] from Operation: 84+95=179
Current State: 88:[6, 97, 179], Operations: ['84+95=179']
Exploring Operation: 97-6=91, Resulting Numbers: [179, 91]
Generated Node #3: [179, 91] from Operation: 97-6=91
Current State: 88:[179, 91], Operations: ['84+95=179', '97-6=91']
Exploring Operation: 179-91=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[84, 95, 6, 97], Operations: []
Exploring Operation: 97-95=2, Resulting Numbers: [84, 6, 2]
Generated Node #0,0: 88:[84, 6, 2] Operation: 97-95=2
Exploring Operation: 95-84=11, Resulting Numbers: [6, 97, 11]
Generated Node #0,1: 88:[6, 97, 11] Operation: 95-84=11
Exploring Operation: 97-84=13, Resulting Numbers: [95, 6, 13]
Generated Node #0,2: 88:[95, 6, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 88:[84, 6, 2], Operations: ['97-95=2']
Exploring Operation: 84+6=90, Resulting Numbers: [2, 90]
Generated Node #0,0,0: 88:[2, 90] Operation: 84+6=90
Exploring Operation: 84/6=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 88:[2, 14] Operation: 84/6=14
Exploring Operation: 84+2=86, Resulting Numbers: [6, 86]
Generated Node #0,0,2: 88:[6, 86] Operation: 84+2=86
Moving to Node #0,1
Current State: 88:[6, 97, 11], Operations: ['95-84=11']
Exploring Operation: 97-6=91, Resulting Numbers: [11, 91]
Generated Node #0,1,0: 88:[11, 91] Operation: 97-6=91
Exploring Operation: 11-6=5, Resulting Numbers: [97, 5]
Generated Node #0,1,1: 88:[97, 5] Operation: 11-6=5
Exploring Operation: 97-11=86, Resulting Numbers: [6, 86]
Generated Node #0,1,2: 88:[6, 86] Operation: 97-11=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[11, 91], Operations: ['95-84=11', '97-6=91']
Exploring Operation: 11+91=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 11*91=1001, Resulting Numbers: [1001]
1001,88 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[6, 86], Operations: ['95-84=11', '97-11=86']
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 6+86=92, Resulting Numbers: [92]
92,88 unequal: No Solution
Exploring Operation: 6*86=516, Resulting Numbers: [516]
516,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[97, 5], Operations: ['95-84=11', '11-6=5']
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,88 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,88 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: 88:[95, 6, 13], Operations: ['97-84=13']
Exploring Operation: 95-6=89, Resulting Numbers: [13, 89]
Generated Node #0,2,0: 88:[13, 89] Operation: 95-6=89
Exploring Operation: 13-6=7, Resulting Numbers: [95, 7]
Generated Node #0,2,1: 88:[95, 7] Operation: 13-6=7
Exploring Operation: 95-13=82, Resulting Numbers: [6, 82]
Generated Node #0,2,2: 88:[6, 82] Operation: 95-13=82
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[13, 89], Operations: ['97-84=13', '95-6=89']
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,88 unequal: No Solution
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[95, 7], Operations: ['97-84=13', '13-6=7']
Exploring Operation: 95*7=665, Resulting Numbers: [665]
665,88 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[84, 95, 6, 97], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [95, 6, 13]
Generated Node #0,2: 88:[95, 6, 13] Operation: 97-84=13
Moving to Node #0,2
Current State: 88:[95, 6, 13], Operations: ['97-84=13']
Exploring Operation: 13-6=7, Resulting Numbers: [95, 7]
Generated Node #0,2,1: 88:[95, 7] Operation: 13-6=7
Moving to Node #0,2,1
Current State: 88:[95, 7], Operations: ['97-84=13', '13-6=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
50,
75,
6,
92
] | 73 | [
"75-50=25",
"6+92=98",
"98-25=73"
] | Current State: 73:[50, 75, 6, 92], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [6, 92, 25]
Generated Node #2: [6, 92, 25] from Operation: 75-50=25
Current State: 73:[6, 92, 25], Operations: ['75-50=25']
Exploring Operation: 6+92=98, Resulting Numbers: [25, 98]
Generated Node #3: [25, 98] from Operation: 6+92=98
Current State: 73:[25, 98], Operations: ['75-50=25', '6+92=98']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[50, 75, 6, 92], Operations: []
Exploring Operation: 50+6=56, Resulting Numbers: [75, 92, 56]
Generated Node #0,0: 73:[75, 92, 56] Operation: 50+6=56
Exploring Operation: 92-6=86, Resulting Numbers: [50, 75, 86]
Generated Node #0,1: 73:[50, 75, 86] Operation: 92-6=86
Exploring Operation: 75-6=69, Resulting Numbers: [50, 92, 69]
Generated Node #0,2: 73:[50, 92, 69] Operation: 75-6=69
Moving to Node #0,0
Current State: 73:[75, 92, 56], Operations: ['50+6=56']
Exploring Operation: 75-56=19, Resulting Numbers: [92, 19]
Generated Node #0,0,0: 73:[92, 19] Operation: 75-56=19
Exploring Operation: 92-75=17, Resulting Numbers: [56, 17]
Generated Node #0,0,1: 73:[56, 17] Operation: 92-75=17
Exploring Operation: 92-56=36, Resulting Numbers: [75, 36]
Generated Node #0,0,2: 73:[75, 36] Operation: 92-56=36
Moving to Node #0,1
Current State: 73:[50, 75, 86], Operations: ['92-6=86']
Exploring Operation: 86-50=36, Resulting Numbers: [75, 36]
Generated Node #0,1,0: 73:[75, 36] Operation: 86-50=36
Exploring Operation: 75-50=25, Resulting Numbers: [86, 25]
Generated Node #0,1,1: 73:[86, 25] Operation: 75-50=25
Exploring Operation: 50+75=125, Resulting Numbers: [86, 125]
Generated Node #0,1,2: 73:[86, 125] Operation: 50+75=125
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[75, 36], Operations: ['92-6=86', '86-50=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [2700]
2700,73 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 75+36=111, Resulting Numbers: [111]
111,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[86, 25], Operations: ['92-6=86', '75-50=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 86+25=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 86*25=2150, Resulting Numbers: [2150]
2150,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[86, 125], Operations: ['92-6=86', '50+75=125']
Exploring Operation: 86*125=10750, Resulting Numbers: [10750]
10750,73 unequal: No Solution
Exploring Operation: 125-86=39, Resulting Numbers: [39]
39,73 unequal: No Solution
Exploring Operation: 86+125=211, Resulting Numbers: [211]
211,73 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: 73:[50, 92, 69], Operations: ['75-6=69']
Exploring Operation: 50+92=142, Resulting Numbers: [69, 142]
Generated Node #0,2,0: 73:[69, 142] Operation: 50+92=142
Exploring Operation: 92-50=42, Resulting Numbers: [69, 42]
Generated Node #0,2,1: 73:[69, 42] Operation: 92-50=42
Exploring Operation: 50+69=119, Resulting Numbers: [92, 119]
Generated Node #0,2,2: 73:[92, 119] Operation: 50+69=119
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[69, 42], Operations: ['75-6=69', '92-50=42']
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 69*42=2898, Resulting Numbers: [2898]
2898,73 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,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,2,2
Current State: 73:[92, 119], Operations: ['75-6=69', '50+69=119']
Exploring Operation: 92*119=10948, Resulting Numbers: [10948]
10948,73 unequal: No Solution
Exploring Operation: 92+119=211, Resulting Numbers: [211]
211,73 unequal: No Solution
Exploring Operation: 119-92=27, Resulting Numbers: [27]
27,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,2,0
Current State: 73:[69, 142], Operations: ['75-6=69', '50+92=142']
Exploring Operation: 142-69=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[50, 75, 6, 92], Operations: []
Exploring Operation: 75-6=69, Resulting Numbers: [50, 92, 69]
Generated Node #0,2: 73:[50, 92, 69] Operation: 75-6=69
Moving to Node #0,2
Current State: 73:[50, 92, 69], Operations: ['75-6=69']
Exploring Operation: 50+92=142, Resulting Numbers: [69, 142]
Generated Node #0,2,0: 73:[69, 142] Operation: 50+92=142
Moving to Node #0,2,0
Current State: 73:[69, 142], Operations: ['75-6=69', '50+92=142']
Exploring Operation: 142-69=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_3 | sum_heuristic |
[
49,
35,
65,
6
] | 85 | [
"49-35=14",
"65+6=71",
"14+71=85"
] | Current State: 85:[49, 35, 65, 6], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [65, 6, 14]
Generated Node #2: [65, 6, 14] from Operation: 49-35=14
Current State: 85:[65, 6, 14], Operations: ['49-35=14']
Exploring Operation: 65+6=71, Resulting Numbers: [14, 71]
Generated Node #3: [14, 71] from Operation: 65+6=71
Current State: 85:[14, 71], Operations: ['49-35=14', '65+6=71']
Exploring Operation: 14+71=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[49, 35, 65, 6], Operations: []
Exploring Operation: 49+35=84, Resulting Numbers: [65, 6, 84]
Generated Node #0,0: 85:[65, 6, 84] Operation: 49+35=84
Exploring Operation: 65-49=16, Resulting Numbers: [35, 6, 16]
Generated Node #0,1: 85:[35, 6, 16] Operation: 65-49=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[35, 6, 16], Operations: ['65-49=16']
Exploring Operation: 35-6=29, Resulting Numbers: [16, 29]
Generated Node #0,1,0: 85:[16, 29] Operation: 35-6=29
Exploring Operation: 35-16=19, Resulting Numbers: [6, 19]
Generated Node #0,1,1: 85:[6, 19] Operation: 35-16=19
Moving to Node #0,1,1
Current State: 85:[6, 19], Operations: ['65-49=16', '35-16=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[16, 29], Operations: ['65-49=16', '35-6=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,85 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,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
Current State: 85:[65, 6, 84], Operations: ['49+35=84']
Exploring Operation: 84-65=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 85:[6, 19] Operation: 84-65=19
Exploring Operation: 65+6=71, Resulting Numbers: [84, 71]
Generated Node #0,0,1: 85:[84, 71] Operation: 65+6=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[6, 19], Operations: ['49+35=84', '84-65=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,85 unequal: No Solution
No 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: 85:[84, 71], Operations: ['49+35=84', '65+6=71']
Exploring Operation: 84+71=155, Resulting Numbers: [155]
155,85 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,85 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 |
[
34,
72,
69,
93
] | 82 | [
"34+72=106",
"93-69=24",
"106-24=82"
] | Current State: 82:[34, 72, 69, 93], Operations: []
Exploring Operation: 34+72=106, Resulting Numbers: [69, 93, 106]
Generated Node #2: [69, 93, 106] from Operation: 34+72=106
Current State: 82:[69, 93, 106], Operations: ['34+72=106']
Exploring Operation: 93-69=24, Resulting Numbers: [106, 24]
Generated Node #3: [106, 24] from Operation: 93-69=24
Current State: 82:[106, 24], Operations: ['34+72=106', '93-69=24']
Exploring Operation: 106-24=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[34, 72, 69, 93], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [69, 93, 38]
Generated Node #0,0: 82:[69, 93, 38] Operation: 72-34=38
Exploring Operation: 93-69=24, Resulting Numbers: [34, 72, 24]
Generated Node #0,1: 82:[34, 72, 24] Operation: 93-69=24
Exploring Operation: 69-34=35, Resulting Numbers: [72, 93, 35]
Generated Node #0,2: 82:[72, 93, 35] Operation: 69-34=35
Exploring Operation: 72-69=3, Resulting Numbers: [34, 93, 3]
Generated Node #0,3: 82:[34, 93, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[34, 93, 3], Operations: ['72-69=3']
Exploring Operation: 93-34=59, Resulting Numbers: [3, 59]
Generated Node #0,3,0: 82:[3, 59] Operation: 93-34=59
Exploring Operation: 34+3=37, Resulting Numbers: [93, 37]
Generated Node #0,3,1: 82:[93, 37] Operation: 34+3=37
Exploring Operation: 93/3=31, Resulting Numbers: [34, 31]
Generated Node #0,3,2: 82:[34, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [34, 90]
Generated Node #0,3,3: 82:[34, 90] Operation: 93-3=90
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 82:[93, 37], Operations: ['72-69=3', '34+3=37']
Exploring Operation: 93+37=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 93*37=3441, Resulting Numbers: [3441]
3441,82 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,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,3,3
Current State: 82:[34, 90], Operations: ['72-69=3', '93-3=90']
Exploring Operation: 34*90=3060, Resulting Numbers: [3060]
3060,82 unequal: No Solution
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 34+90=124, Resulting Numbers: [124]
124,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,3,2
Current State: 82:[34, 31], Operations: ['72-69=3', '93/3=31']
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 34*31=1054, Resulting Numbers: [1054]
1054,82 unequal: No Solution
Exploring Operation: 34+31=65, Resulting Numbers: [65]
65,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,3,0
Current State: 82:[3, 59], Operations: ['72-69=3', '93-34=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,82 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,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:[69, 93, 38], Operations: ['72-34=38']
Exploring Operation: 69+38=107, Resulting Numbers: [93, 107]
Generated Node #0,0,0: 82:[93, 107] Operation: 69+38=107
Exploring Operation: 93-38=55, Resulting Numbers: [69, 55]
Generated Node #0,0,1: 82:[69, 55] Operation: 93-38=55
Exploring Operation: 93-69=24, Resulting Numbers: [38, 24]
Generated Node #0,0,2: 82:[38, 24] Operation: 93-69=24
Exploring Operation: 69-38=31, Resulting Numbers: [93, 31]
Generated Node #0,0,3: 82:[93, 31] Operation: 69-38=31
Moving to Node #0,0,2
Current State: 82:[38, 24], Operations: ['72-34=38', '93-69=24']
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,82 unequal: No Solution
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Moving to Node #0,0,3
Current State: 82:[93, 31], Operations: ['72-34=38', '69-38=31']
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,82 unequal: No Solution
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[69, 55], Operations: ['72-34=38', '93-38=55']
Exploring Operation: 69+55=124, Resulting Numbers: [124]
124,82 unequal: No Solution
Exploring Operation: 69*55=3795, Resulting Numbers: [3795]
3795,82 unequal: No Solution
Exploring Operation: 69-55=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[93, 107], Operations: ['72-34=38', '69+38=107']
Exploring Operation: 93+107=200, Resulting Numbers: [200]
200,82 unequal: No Solution
Exploring Operation: 107-93=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 93*107=9951, Resulting Numbers: [9951]
9951,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[72, 93, 35], Operations: ['69-34=35']
Exploring Operation: 93-72=21, Resulting Numbers: [35, 21]
Generated Node #0,2,0: 82:[35, 21] Operation: 93-72=21
Exploring Operation: 93-35=58, Resulting Numbers: [72, 58]
Generated Node #0,2,1: 82:[72, 58] Operation: 93-35=58
Exploring Operation: 72-35=37, Resulting Numbers: [93, 37]
Generated Node #0,2,2: 82:[93, 37] Operation: 72-35=37
Exploring Operation: 72+35=107, Resulting Numbers: [93, 107]
Generated Node #0,2,3: 82:[93, 107] Operation: 72+35=107
Moving to Node #0,2,2
Current State: 82:[93, 37], Operations: ['69-34=35', '72-35=37']
Exploring Operation: 93*37=3441, Resulting Numbers: [3441]
3441,82 unequal: No Solution
Exploring Operation: 93+37=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[35, 21], Operations: ['69-34=35', '93-72=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,82 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[72, 58], Operations: ['69-34=35', '93-35=58']
Exploring Operation: 72*58=4176, Resulting Numbers: [4176]
4176,82 unequal: No Solution
Exploring Operation: 72+58=130, Resulting Numbers: [130]
130,82 unequal: No Solution
Exploring Operation: 72-58=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Moving to Node #0,2,3
Current State: 82:[93, 107], Operations: ['69-34=35', '72+35=107']
Exploring Operation: 93*107=9951, Resulting Numbers: [9951]
9951,82 unequal: No Solution
Exploring Operation: 107-93=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 93+107=200, Resulting Numbers: [200]
200,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:[34, 72, 24], Operations: ['93-69=24']
Exploring Operation: 72-24=48, Resulting Numbers: [34, 48]
Generated Node #0,1,0: 82:[34, 48] Operation: 72-24=48
Exploring Operation: 72/24=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 82:[34, 3] Operation: 72/24=3
Exploring Operation: 72-34=38, Resulting Numbers: [24, 38]
Generated Node #0,1,2: 82:[24, 38] Operation: 72-34=38
Exploring Operation: 34-24=10, Resulting Numbers: [72, 10]
Generated Node #0,1,3: 82:[72, 10] Operation: 34-24=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 82:[34, 3], Operations: ['93-69=24', '72/24=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,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,0
Current State: 82:[34, 48], Operations: ['93-69=24', '72-24=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[34, 72, 69, 93], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [34, 72, 24]
Generated Node #0,1: 82:[34, 72, 24] Operation: 93-69=24
Moving to Node #0,1
Current State: 82:[34, 72, 24], Operations: ['93-69=24']
Exploring Operation: 72-24=48, Resulting Numbers: [34, 48]
Generated Node #0,1,0: 82:[34, 48] Operation: 72-24=48
Moving to Node #0,1,0
Current State: 82:[34, 48], Operations: ['93-69=24', '72-24=48']
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.943576 | hs_4 | mult_heuristic |
[
10,
82,
68,
79
] | 61 | [
"82-10=72",
"79-68=11",
"72-11=61"
] | Current State: 61:[10, 82, 68, 79], Operations: []
Exploring Operation: 82-10=72, Resulting Numbers: [68, 79, 72]
Generated Node #2: [68, 79, 72] from Operation: 82-10=72
Current State: 61:[68, 79, 72], Operations: ['82-10=72']
Exploring Operation: 79-68=11, Resulting Numbers: [72, 11]
Generated Node #3: [72, 11] from Operation: 79-68=11
Current State: 61:[72, 11], Operations: ['82-10=72', '79-68=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[10, 82, 68, 79], Operations: []
Exploring Operation: 68-10=58, Resulting Numbers: [82, 79, 58]
Generated Node #0,0: 61:[82, 79, 58] Operation: 68-10=58
Exploring Operation: 79-10=69, Resulting Numbers: [82, 68, 69]
Generated Node #0,1: 61:[82, 68, 69] Operation: 79-10=69
Exploring Operation: 10+82=92, Resulting Numbers: [68, 79, 92]
Generated Node #0,2: 61:[68, 79, 92] Operation: 10+82=92
Exploring Operation: 82-10=72, Resulting Numbers: [68, 79, 72]
Generated Node #0,3: 61:[68, 79, 72] Operation: 82-10=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[82, 68, 69], Operations: ['79-10=69']
Exploring Operation: 69-68=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 61:[82, 1] Operation: 69-68=1
Exploring Operation: 82-69=13, Resulting Numbers: [68, 13]
Generated Node #0,1,1: 61:[68, 13] Operation: 82-69=13
Exploring Operation: 82-68=14, Resulting Numbers: [69, 14]
Generated Node #0,1,2: 61:[69, 14] Operation: 82-68=14
Exploring Operation: 82+68=150, Resulting Numbers: [69, 150]
Generated Node #0,1,3: 61:[69, 150] Operation: 82+68=150
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[68, 13], Operations: ['79-10=69', '82-69=13']
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,61 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,61 unequal: No Solution
No 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: 61:[69, 14], Operations: ['79-10=69', '82-68=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,61 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,61 unequal: No Solution
No 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: 61:[82, 1], Operations: ['79-10=69', '69-68=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,61 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No 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: 61:[69, 150], Operations: ['79-10=69', '82+68=150']
Exploring Operation: 69+150=219, Resulting Numbers: [219]
219,61 unequal: No Solution
Exploring Operation: 69*150=10350, Resulting Numbers: [10350]
10350,61 unequal: No Solution
Exploring Operation: 150-69=81, Resulting Numbers: [81]
81,61 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: 61:[68, 79, 72], Operations: ['82-10=72']
Exploring Operation: 79-68=11, Resulting Numbers: [72, 11]
Generated Node #0,3,0: 61:[72, 11] Operation: 79-68=11
Exploring Operation: 72-68=4, Resulting Numbers: [79, 4]
Generated Node #0,3,1: 61:[79, 4] Operation: 72-68=4
Exploring Operation: 68+79=147, Resulting Numbers: [72, 147]
Generated Node #0,3,2: 61:[72, 147] Operation: 68+79=147
Exploring Operation: 79-72=7, Resulting Numbers: [68, 7]
Generated Node #0,3,3: 61:[68, 7] Operation: 79-72=7
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[72, 11], Operations: ['82-10=72', '79-68=11']
Exploring Operation: 72*11=792, Resulting Numbers: [792]
792,61 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[10, 82, 68, 79], Operations: []
Exploring Operation: 82-10=72, Resulting Numbers: [68, 79, 72]
Generated Node #0,3: 61:[68, 79, 72] Operation: 82-10=72
Moving to Node #0,3
Current State: 61:[68, 79, 72], Operations: ['82-10=72']
Exploring Operation: 79-68=11, Resulting Numbers: [72, 11]
Generated Node #0,3,0: 61:[72, 11] Operation: 79-68=11
Moving to Node #0,3,0
Current State: 61:[72, 11], Operations: ['82-10=72', '79-68=11']
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
2,
27,
83,
9
] | 20 | [
"2*27=54",
"83-9=74",
"74-54=20"
] | Current State: 20:[2, 27, 83, 9], Operations: []
Exploring Operation: 2*27=54, Resulting Numbers: [83, 9, 54]
Generated Node #2: [83, 9, 54] from Operation: 2*27=54
Current State: 20:[83, 9, 54], Operations: ['2*27=54']
Exploring Operation: 83-9=74, Resulting Numbers: [54, 74]
Generated Node #3: [54, 74] from Operation: 83-9=74
Current State: 20:[54, 74], Operations: ['2*27=54', '83-9=74']
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[2, 27, 83, 9], Operations: []
Exploring Operation: 83-9=74, Resulting Numbers: [2, 27, 74]
Generated Node #0,0: 20:[2, 27, 74] Operation: 83-9=74
Exploring Operation: 27/9=3, Resulting Numbers: [2, 83, 3]
Generated Node #0,1: 20:[2, 83, 3] Operation: 27/9=3
Exploring Operation: 83-27=56, Resulting Numbers: [2, 9, 56]
Generated Node #0,2: 20:[2, 9, 56] Operation: 83-27=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[2, 9, 56], Operations: ['83-27=56']
Exploring Operation: 56/2=28, Resulting Numbers: [9, 28]
Generated Node #0,2,0: 20:[9, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [9, 54]
Generated Node #0,2,1: 20:[9, 54] Operation: 56-2=54
Exploring Operation: 56-9=47, Resulting Numbers: [2, 47]
Generated Node #0,2,2: 20:[2, 47] Operation: 56-9=47
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[9, 28], Operations: ['83-27=56', '56/2=28']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,20 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,20 unequal: No Solution
No 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: 20:[2, 47], Operations: ['83-27=56', '56-9=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,20 unequal: No Solution
No 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: 20:[9, 54], Operations: ['83-27=56', '56-2=54']
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,20 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: 20:[2, 27, 74], Operations: ['83-9=74']
Exploring Operation: 74-27=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 20:[2, 47] Operation: 74-27=47
Exploring Operation: 74/2=37, Resulting Numbers: [27, 37]
Generated Node #0,0,1: 20:[27, 37] Operation: 74/2=37
Exploring Operation: 27-2=25, Resulting Numbers: [74, 25]
Generated Node #0,0,2: 20:[74, 25] Operation: 27-2=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[27, 37], Operations: ['83-9=74', '74/2=37']
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,20 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,20 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No 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: 20:[2, 47], Operations: ['83-9=74', '74-27=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,20 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,20 unequal: No Solution
No 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: 20:[74, 25], Operations: ['83-9=74', '27-2=25']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 74*25=1850, Resulting Numbers: [1850]
1850,20 unequal: No Solution
Exploring Operation: 74+25=99, Resulting Numbers: [99]
99,20 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: 20:[2, 83, 3], Operations: ['27/9=3']
Exploring Operation: 83-2=81, Resulting Numbers: [3, 81]
Generated Node #0,1,0: 20:[3, 81] Operation: 83-2=81
Exploring Operation: 83-3=80, Resulting Numbers: [2, 80]
Generated Node #0,1,1: 20:[2, 80] Operation: 83-3=80
Exploring Operation: 2+3=5, Resulting Numbers: [83, 5]
Generated Node #0,1,2: 20:[83, 5] Operation: 2+3=5
Moving to Node #0,1,1
Current State: 20:[2, 80], Operations: ['27/9=3', '83-3=80']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,20 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[3, 81], Operations: ['27/9=3', '83-2=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[83, 5], Operations: ['27/9=3', '2+3=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 83*5=415, Resulting Numbers: [415]
415,20 unequal: No Solution
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,20 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 |
[
63,
94,
60,
90
] | 52 | [
"63*60=3780",
"3780/90=42",
"94-42=52"
] | Current State: 52:[63, 94, 60, 90], Operations: []
Exploring Operation: 63*60=3780, Resulting Numbers: [94, 90, 3780]
Generated Node #2: [94, 90, 3780] from Operation: 63*60=3780
Current State: 52:[94, 90, 3780], Operations: ['63*60=3780']
Exploring Operation: 3780/90=42, Resulting Numbers: [94, 42]
Generated Node #3: [94, 42] from Operation: 3780/90=42
Current State: 52:[94, 42], Operations: ['63*60=3780', '3780/90=42']
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[63, 94, 60, 90], Operations: []
Exploring Operation: 90-63=27, Resulting Numbers: [94, 60, 27]
Generated Node #0,0: 52:[94, 60, 27] Operation: 90-63=27
Exploring Operation: 94-63=31, Resulting Numbers: [60, 90, 31]
Generated Node #0,1: 52:[60, 90, 31] Operation: 94-63=31
Exploring Operation: 94-90=4, Resulting Numbers: [63, 60, 4]
Generated Node #0,2: 52:[63, 60, 4] Operation: 94-90=4
Exploring Operation: 94-60=34, Resulting Numbers: [63, 90, 34]
Generated Node #0,3: 52:[63, 90, 34] Operation: 94-60=34
Moving to Node #0,2
Current State: 52:[63, 60, 4], Operations: ['94-90=4']
Exploring Operation: 63-4=59, Resulting Numbers: [60, 59]
Generated Node #0,2,0: 52:[60, 59] Operation: 63-4=59
Exploring Operation: 63-60=3, Resulting Numbers: [4, 3]
Generated Node #0,2,1: 52:[4, 3] Operation: 63-60=3
Exploring Operation: 60-4=56, Resulting Numbers: [63, 56]
Generated Node #0,2,2: 52:[63, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [63, 15]
Generated Node #0,2,3: 52:[63, 15] Operation: 60/4=15
Moving to Node #0,1
Current State: 52:[60, 90, 31], Operations: ['94-63=31']
Exploring Operation: 60-31=29, Resulting Numbers: [90, 29]
Generated Node #0,1,0: 52:[90, 29] Operation: 60-31=29
Exploring Operation: 90-31=59, Resulting Numbers: [60, 59]
Generated Node #0,1,1: 52:[60, 59] Operation: 90-31=59
Exploring Operation: 90-60=30, Resulting Numbers: [31, 30]
Generated Node #0,1,2: 52:[31, 30] Operation: 90-60=30
Exploring Operation: 60+31=91, Resulting Numbers: [90, 91]
Generated Node #0,1,3: 52:[90, 91] Operation: 60+31=91
Moving to Node #0,0
Current State: 52:[94, 60, 27], Operations: ['90-63=27']
Exploring Operation: 94+27=121, Resulting Numbers: [60, 121]
Generated Node #0,0,0: 52:[60, 121] Operation: 94+27=121
Exploring Operation: 94-60=34, Resulting Numbers: [27, 34]
Generated Node #0,0,1: 52:[27, 34] Operation: 94-60=34
Exploring Operation: 60-27=33, Resulting Numbers: [94, 33]
Generated Node #0,0,2: 52:[94, 33] Operation: 60-27=33
Exploring Operation: 94-27=67, Resulting Numbers: [60, 67]
Generated Node #0,0,3: 52:[60, 67] Operation: 94-27=67
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[27, 34], Operations: ['90-63=27', '94-60=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,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,3
Current State: 52:[60, 67], Operations: ['90-63=27', '94-27=67']
Exploring Operation: 60*67=4020, Resulting Numbers: [4020]
4020,52 unequal: No Solution
Exploring Operation: 60+67=127, Resulting Numbers: [127]
127,52 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[94, 33], Operations: ['90-63=27', '60-27=33']
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,52 unequal: No Solution
Exploring Operation: 94-33=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 94*33=3102, Resulting Numbers: [3102]
3102,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[60, 121], Operations: ['90-63=27', '94+27=121']
Exploring Operation: 60*121=7260, Resulting Numbers: [7260]
7260,52 unequal: No Solution
Exploring Operation: 60+121=181, Resulting Numbers: [181]
181,52 unequal: No Solution
Exploring Operation: 121-60=61, Resulting Numbers: [61]
61,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 52:[63, 90, 34], Operations: ['94-60=34']
Exploring Operation: 90-63=27, Resulting Numbers: [34, 27]
Generated Node #0,3,0: 52:[34, 27] Operation: 90-63=27
Exploring Operation: 63-34=29, Resulting Numbers: [90, 29]
Generated Node #0,3,1: 52:[90, 29] Operation: 63-34=29
Exploring Operation: 63+34=97, Resulting Numbers: [90, 97]
Generated Node #0,3,2: 52:[90, 97] Operation: 63+34=97
Exploring Operation: 90-34=56, Resulting Numbers: [63, 56]
Generated Node #0,3,3: 52:[63, 56] Operation: 90-34=56
Moving to Node #0,2,1
Current State: 52:[4, 3], Operations: ['94-90=4', '63-60=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[31, 30], Operations: ['94-63=31', '90-60=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[34, 27], Operations: ['94-60=34', '90-63=27']
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 34*27=918, Resulting Numbers: [918]
918,52 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Moving to Node #0,2,3
Current State: 52:[63, 15], Operations: ['94-90=4', '60/4=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,52 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,52 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,52 unequal: No Solution
Moving to Node #0,2,0
Current State: 52:[60, 59], Operations: ['94-90=4', '63-4=59']
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,52 unequal: No Solution
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[60, 59], Operations: ['94-63=31', '90-31=59']
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,52 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[63, 56], Operations: ['94-60=34', '90-34=56']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,52 unequal: No Solution
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Moving to Node #0,2,2
Current State: 52:[63, 56], Operations: ['94-90=4', '60-4=56']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,52 unequal: No Solution
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[90, 29], Operations: ['94-63=31', '60-31=29']
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 90+29=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Exploring Operation: 90*29=2610, Resulting Numbers: [2610]
2610,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[90, 29], Operations: ['94-60=34', '63-34=29']
Exploring Operation: 90-29=61, Resulting Numbers: [61]
61,52 unequal: No Solution
Exploring Operation: 90*29=2610, Resulting Numbers: [2610]
2610,52 unequal: No Solution
Exploring Operation: 90+29=119, Resulting Numbers: [119]
119,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[90, 91], Operations: ['94-63=31', '60+31=91']
Exploring Operation: 90*91=8190, Resulting Numbers: [8190]
8190,52 unequal: No Solution
Exploring Operation: 90+91=181, Resulting Numbers: [181]
181,52 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[90, 97], Operations: ['94-60=34', '63+34=97']
Exploring Operation: 90+97=187, Resulting Numbers: [187]
187,52 unequal: No Solution
Exploring Operation: 90*97=8730, Resulting Numbers: [8730]
8730,52 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,52 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
96,
76,
30,
58
] | 84 | [
"96+76=172",
"30+58=88",
"172-88=84"
] | Current State: 84:[96, 76, 30, 58], Operations: []
Exploring Operation: 96+76=172, Resulting Numbers: [30, 58, 172]
Generated Node #2: [30, 58, 172] from Operation: 96+76=172
Current State: 84:[30, 58, 172], Operations: ['96+76=172']
Exploring Operation: 30+58=88, Resulting Numbers: [172, 88]
Generated Node #3: [172, 88] from Operation: 30+58=88
Current State: 84:[172, 88], Operations: ['96+76=172', '30+58=88']
Exploring Operation: 172-88=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[96, 76, 30, 58], Operations: []
Exploring Operation: 58-30=28, Resulting Numbers: [96, 76, 28]
Generated Node #0,0: 84:[96, 76, 28] Operation: 58-30=28
Exploring Operation: 96-58=38, Resulting Numbers: [76, 30, 38]
Generated Node #0,1: 84:[76, 30, 38] Operation: 96-58=38
Exploring Operation: 76-58=18, Resulting Numbers: [96, 30, 18]
Generated Node #0,2: 84:[96, 30, 18] Operation: 76-58=18
Exploring Operation: 96-76=20, Resulting Numbers: [30, 58, 20]
Generated Node #0,3: 84:[30, 58, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 84:[76, 30, 38], Operations: ['96-58=38']
Exploring Operation: 76-38=38, Resulting Numbers: [30, 38]
Generated Node #0,1,0: 84:[30, 38] Operation: 76-38=38
Exploring Operation: 76-30=46, Resulting Numbers: [38, 46]
Generated Node #0,1,1: 84:[38, 46] Operation: 76-30=46
Exploring Operation: 38-30=8, Resulting Numbers: [76, 8]
Generated Node #0,1,2: 84:[76, 8] Operation: 38-30=8
Exploring Operation: 76/38=2, Resulting Numbers: [30, 2]
Generated Node #0,1,3: 84:[30, 2] Operation: 76/38=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[30, 2], Operations: ['96-58=38', '76/38=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,84 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[30, 38], Operations: ['96-58=38', '76-38=38']
Exploring Operation: 30*38=1140, Resulting Numbers: [1140]
1140,84 unequal: No Solution
Exploring Operation: 30+38=68, Resulting Numbers: [68]
68,84 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[38, 46], Operations: ['96-58=38', '76-30=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,84 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[96, 76, 30, 58], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [76, 30, 38]
Generated Node #0,1: 84:[76, 30, 38] Operation: 96-58=38
Moving to Node #0,1
Current State: 84:[76, 30, 38], Operations: ['96-58=38']
Exploring Operation: 76-30=46, Resulting Numbers: [38, 46]
Generated Node #0,1,1: 84:[38, 46] Operation: 76-30=46
Moving to Node #0,1,1
Current State: 84:[38, 46], Operations: ['96-58=38', '76-30=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
25,
2,
24,
11
] | 71 | [
"25+24=49",
"2*11=22",
"49+22=71"
] | Current State: 71:[25, 2, 24, 11], Operations: []
Exploring Operation: 25+24=49, Resulting Numbers: [2, 11, 49]
Generated Node #2: [2, 11, 49] from Operation: 25+24=49
Current State: 71:[2, 11, 49], Operations: ['25+24=49']
Exploring Operation: 2*11=22, Resulting Numbers: [49, 22]
Generated Node #3: [49, 22] from Operation: 2*11=22
Current State: 71:[49, 22], Operations: ['25+24=49', '2*11=22']
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[25, 2, 24, 11], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [25, 11, 48]
Generated Node #0,0: 71:[25, 11, 48] Operation: 2*24=48
Exploring Operation: 25*2=50, Resulting Numbers: [24, 11, 50]
Generated Node #0,1: 71:[24, 11, 50] Operation: 25*2=50
Exploring Operation: 2*11=22, Resulting Numbers: [25, 24, 22]
Generated Node #0,2: 71:[25, 24, 22] Operation: 2*11=22
Moving to Node #0,1
Current State: 71:[24, 11, 50], Operations: ['25*2=50']
Exploring Operation: 24+50=74, Resulting Numbers: [11, 74]
Generated Node #0,1,0: 71:[11, 74] Operation: 24+50=74
Exploring Operation: 11+50=61, Resulting Numbers: [24, 61]
Generated Node #0,1,1: 71:[24, 61] Operation: 11+50=61
Exploring Operation: 24+11=35, Resulting Numbers: [50, 35]
Generated Node #0,1,2: 71:[50, 35] Operation: 24+11=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[24, 61], Operations: ['25*2=50', '11+50=61']
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,71 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[50, 35], Operations: ['25*2=50', '24+11=35']
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,71 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[11, 74], Operations: ['25*2=50', '24+50=74']
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 11+74=85, Resulting Numbers: [85]
85,71 unequal: No Solution
Exploring Operation: 11*74=814, Resulting Numbers: [814]
814,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 71:[25, 11, 48], Operations: ['2*24=48']
Exploring Operation: 11+48=59, Resulting Numbers: [25, 59]
Generated Node #0,0,0: 71:[25, 59] Operation: 11+48=59
Exploring Operation: 25+11=36, Resulting Numbers: [48, 36]
Generated Node #0,0,1: 71:[48, 36] Operation: 25+11=36
Exploring Operation: 25+48=73, Resulting Numbers: [11, 73]
Generated Node #0,0,2: 71:[11, 73] Operation: 25+48=73
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[25, 59], Operations: ['2*24=48', '11+48=59']
Exploring Operation: 25+59=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 25*59=1475, Resulting Numbers: [1475]
1475,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[48, 36], Operations: ['2*24=48', '25+11=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,71 unequal: No Solution
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,71 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[11, 73], Operations: ['2*24=48', '25+48=73']
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,71 unequal: No Solution
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,71 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 71:[25, 24, 22], Operations: ['2*11=22']
Exploring Operation: 24+22=46, Resulting Numbers: [25, 46]
Generated Node #0,2,0: 71:[25, 46] Operation: 24+22=46
Exploring Operation: 25+22=47, Resulting Numbers: [24, 47]
Generated Node #0,2,1: 71:[24, 47] Operation: 25+22=47
Exploring Operation: 25+24=49, Resulting Numbers: [22, 49]
Generated Node #0,2,2: 71:[22, 49] Operation: 25+24=49
Moving to Node #0,2,0
Current State: 71:[25, 46], Operations: ['2*11=22', '24+22=46']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,71 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[25, 2, 24, 11], Operations: []
Exploring Operation: 2*11=22, Resulting Numbers: [25, 24, 22]
Generated Node #0,2: 71:[25, 24, 22] Operation: 2*11=22
Moving to Node #0,2
Current State: 71:[25, 24, 22], Operations: ['2*11=22']
Exploring Operation: 24+22=46, Resulting Numbers: [25, 46]
Generated Node #0,2,0: 71:[25, 46] Operation: 24+22=46
Moving to Node #0,2,0
Current State: 71:[25, 46], Operations: ['2*11=22', '24+22=46']
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
58,
22,
4,
5
] | 81 | [
"58+22=80",
"5-4=1",
"80+1=81"
] | Current State: 81:[58, 22, 4, 5], Operations: []
Exploring Operation: 58+22=80, Resulting Numbers: [4, 5, 80]
Generated Node #2: [4, 5, 80] from Operation: 58+22=80
Current State: 81:[4, 5, 80], Operations: ['58+22=80']
Exploring Operation: 5-4=1, Resulting Numbers: [80, 1]
Generated Node #3: [80, 1] from Operation: 5-4=1
Current State: 81:[80, 1], Operations: ['58+22=80', '5-4=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[58, 22, 4, 5], Operations: []
Exploring Operation: 58-22=36, Resulting Numbers: [4, 5, 36]
Generated Node #0,0: 81:[4, 5, 36] Operation: 58-22=36
Exploring Operation: 58+22=80, Resulting Numbers: [4, 5, 80]
Generated Node #0,1: 81:[4, 5, 80] Operation: 58+22=80
Exploring Operation: 22+5=27, Resulting Numbers: [58, 4, 27]
Generated Node #0,2: 81:[58, 4, 27] Operation: 22+5=27
Exploring Operation: 58+5=63, Resulting Numbers: [22, 4, 63]
Generated Node #0,3: 81:[22, 4, 63] Operation: 58+5=63
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[4, 5, 80], Operations: ['58+22=80']
Exploring Operation: 5+80=85, Resulting Numbers: [4, 85]
Generated Node #0,1,0: 81:[4, 85] Operation: 5+80=85
Exploring Operation: 4+5=9, Resulting Numbers: [80, 9]
Generated Node #0,1,1: 81:[80, 9] Operation: 4+5=9
Exploring Operation: 5-4=1, Resulting Numbers: [80, 1]
Generated Node #0,1,2: 81:[80, 1] Operation: 5-4=1
Exploring Operation: 4+80=84, Resulting Numbers: [5, 84]
Generated Node #0,1,3: 81:[5, 84] Operation: 4+80=84
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[80, 9], Operations: ['58+22=80', '4+5=9']
Exploring Operation: 80+9=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 80*9=720, Resulting Numbers: [720]
720,81 unequal: No Solution
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,81 unequal: No Solution
No 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: 81:[80, 1], Operations: ['58+22=80', '5-4=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[58, 22, 4, 5], Operations: []
Exploring Operation: 58+22=80, Resulting Numbers: [4, 5, 80]
Generated Node #0,1: 81:[4, 5, 80] Operation: 58+22=80
Moving to Node #0,1
Current State: 81:[4, 5, 80], Operations: ['58+22=80']
Exploring Operation: 5-4=1, Resulting Numbers: [80, 1]
Generated Node #0,1,2: 81:[80, 1] Operation: 5-4=1
Moving to Node #0,1,2
Current State: 81:[80, 1], Operations: ['58+22=80', '5-4=1']
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
2,
70,
64,
22
] | 78 | [
"70+64=134",
"22+134=156",
"156/2=78"
] | Current State: 78:[2, 70, 64, 22], Operations: []
Exploring Operation: 70+64=134, Resulting Numbers: [2, 22, 134]
Generated Node #2: [2, 22, 134] from Operation: 70+64=134
Current State: 78:[2, 22, 134], Operations: ['70+64=134']
Exploring Operation: 22+134=156, Resulting Numbers: [2, 156]
Generated Node #3: [2, 156] from Operation: 22+134=156
Current State: 78:[2, 156], Operations: ['70+64=134', '22+134=156']
Exploring Operation: 156/2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[2, 70, 64, 22], Operations: []
Exploring Operation: 64/2=32, Resulting Numbers: [70, 22, 32]
Generated Node #0,0: 78:[70, 22, 32] Operation: 64/2=32
Exploring Operation: 64-22=42, Resulting Numbers: [2, 70, 42]
Generated Node #0,1: 78:[2, 70, 42] Operation: 64-22=42
Exploring Operation: 64+22=86, Resulting Numbers: [2, 70, 86]
Generated Node #0,2: 78:[2, 70, 86] Operation: 64+22=86
Exploring Operation: 70/2=35, Resulting Numbers: [64, 22, 35]
Generated Node #0,3: 78:[64, 22, 35] Operation: 70/2=35
Exploring Operation: 70-64=6, Resulting Numbers: [2, 22, 6]
Generated Node #0,4: 78:[2, 22, 6] Operation: 70-64=6
Moving to Node #0,4
Current State: 78:[2, 22, 6], Operations: ['70-64=6']
Exploring Operation: 22/2=11, Resulting Numbers: [6, 11]
Generated Node #0,4,0: 78:[6, 11] Operation: 22/2=11
Exploring Operation: 6/2=3, Resulting Numbers: [22, 3]
Generated Node #0,4,1: 78:[22, 3] Operation: 6/2=3
Exploring Operation: 22-6=16, Resulting Numbers: [2, 16]
Generated Node #0,4,2: 78:[2, 16] Operation: 22-6=16
Exploring Operation: 22+6=28, Resulting Numbers: [2, 28]
Generated Node #0,4,3: 78:[2, 28] Operation: 22+6=28
Exploring Operation: 2+22=24, Resulting Numbers: [6, 24]
Generated Node #0,4,4: 78:[6, 24] Operation: 2+22=24
Moving to Node #0,1
Current State: 78:[2, 70, 42], Operations: ['64-22=42']
Exploring Operation: 70-2=68, Resulting Numbers: [42, 68]
Generated Node #0,1,0: 78:[42, 68] Operation: 70-2=68
Exploring Operation: 42-2=40, Resulting Numbers: [70, 40]
Generated Node #0,1,1: 78:[70, 40] Operation: 42-2=40
Exploring Operation: 70/2=35, Resulting Numbers: [42, 35]
Generated Node #0,1,2: 78:[42, 35] Operation: 70/2=35
Exploring Operation: 2+70=72, Resulting Numbers: [42, 72]
Generated Node #0,1,3: 78:[42, 72] Operation: 2+70=72
Exploring Operation: 70-42=28, Resulting Numbers: [2, 28]
Generated Node #0,1,4: 78:[2, 28] Operation: 70-42=28
Moving to Node #0,2
Current State: 78:[2, 70, 86], Operations: ['64+22=86']
Exploring Operation: 86/2=43, Resulting Numbers: [70, 43]
Generated Node #0,2,0: 78:[70, 43] Operation: 86/2=43
Exploring Operation: 86-2=84, Resulting Numbers: [70, 84]
Generated Node #0,2,1: 78:[70, 84] Operation: 86-2=84
Exploring Operation: 2+70=72, Resulting Numbers: [86, 72]
Generated Node #0,2,2: 78:[86, 72] Operation: 2+70=72
Exploring Operation: 86-70=16, Resulting Numbers: [2, 16]
Generated Node #0,2,3: 78:[2, 16] Operation: 86-70=16
Exploring Operation: 70/2=35, Resulting Numbers: [86, 35]
Generated Node #0,2,4: 78:[86, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[2, 16], Operations: ['64+22=86', '86-70=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,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,2,0
Current State: 78:[70, 43], Operations: ['64+22=86', '86/2=43']
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,78 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,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,2,4
Current State: 78:[86, 35], Operations: ['64+22=86', '70/2=35']
Exploring Operation: 86*35=3010, Resulting Numbers: [3010]
3010,78 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 86+35=121, Resulting Numbers: [121]
121,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,2,1
Current State: 78:[70, 84], Operations: ['64+22=86', '86-2=84']
Exploring Operation: 70*84=5880, Resulting Numbers: [5880]
5880,78 unequal: No Solution
Exploring Operation: 70+84=154, Resulting Numbers: [154]
154,78 unequal: No Solution
Exploring Operation: 84-70=14, Resulting Numbers: [14]
14,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,2,2
Current State: 78:[86, 72], Operations: ['64+22=86', '2+70=72']
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 86*72=6192, Resulting Numbers: [6192]
6192,78 unequal: No Solution
Exploring Operation: 86+72=158, Resulting Numbers: [158]
158,78 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: 78:[70, 22, 32], Operations: ['64/2=32']
Exploring Operation: 70+22=92, Resulting Numbers: [32, 92]
Generated Node #0,0,0: 78:[32, 92] Operation: 70+22=92
Exploring Operation: 70-22=48, Resulting Numbers: [32, 48]
Generated Node #0,0,1: 78:[32, 48] Operation: 70-22=48
Exploring Operation: 22+32=54, Resulting Numbers: [70, 54]
Generated Node #0,0,2: 78:[70, 54] Operation: 22+32=54
Exploring Operation: 70-32=38, Resulting Numbers: [22, 38]
Generated Node #0,0,3: 78:[22, 38] Operation: 70-32=38
Exploring Operation: 32-22=10, Resulting Numbers: [70, 10]
Generated Node #0,0,4: 78:[70, 10] Operation: 32-22=10
Moving to Node #0,3
Current State: 78:[64, 22, 35], Operations: ['70/2=35']
Exploring Operation: 64+35=99, Resulting Numbers: [22, 99]
Generated Node #0,3,0: 78:[22, 99] Operation: 64+35=99
Exploring Operation: 64-22=42, Resulting Numbers: [35, 42]
Generated Node #0,3,1: 78:[35, 42] Operation: 64-22=42
Exploring Operation: 64-35=29, Resulting Numbers: [22, 29]
Generated Node #0,3,2: 78:[22, 29] Operation: 64-35=29
Exploring Operation: 64+22=86, Resulting Numbers: [35, 86]
Generated Node #0,3,3: 78:[35, 86] Operation: 64+22=86
Exploring Operation: 35-22=13, Resulting Numbers: [64, 13]
Generated Node #0,3,4: 78:[64, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[35, 42], Operations: ['70/2=35', '64-22=42']
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 35*42=1470, Resulting Numbers: [1470]
1470,78 unequal: No Solution
Exploring Operation: 35+42=77, Resulting Numbers: [77]
77,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,3,2
Current State: 78:[22, 29], Operations: ['70/2=35', '64-35=29']
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,78 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,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,3,3
Current State: 78:[35, 86], Operations: ['70/2=35', '64+22=86']
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,78 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,78 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,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,3,4
Current State: 78:[64, 13], Operations: ['70/2=35', '35-22=13']
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,78 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,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,3,0
Current State: 78:[22, 99], Operations: ['70/2=35', '64+35=99']
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 22*99=2178, Resulting Numbers: [2178]
2178,78 unequal: No Solution
Exploring Operation: 22+99=121, Resulting Numbers: [121]
121,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 78:[6, 11], Operations: ['70-64=6', '22/2=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,78 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[6, 24], Operations: ['70-64=6', '2+22=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,78 unequal: No Solution
Moving to Node #0,1,4
Current State: 78:[2, 28], Operations: ['64-22=42', '70-42=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[2, 28], Operations: ['70-64=6', '22+6=28']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[2, 16], Operations: ['70-64=6', '22-6=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,78 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[22, 3], Operations: ['70-64=6', '6/2=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[22, 38], Operations: ['64/2=32', '70-32=38']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,78 unequal: No Solution
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[42, 35], Operations: ['64-22=42', '70/2=35']
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,78 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,78 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[42, 72], Operations: ['64-22=42', '2+70=72']
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 42*72=3024, Resulting Numbers: [3024]
3024,78 unequal: No Solution
Exploring Operation: 42+72=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[70, 40], Operations: ['64-22=42', '42-2=40']
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,78 unequal: No Solution
Moving to Node #0,0,4
Current State: 78:[70, 10], Operations: ['64/2=32', '32-22=10']
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 70+10=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 70*10=700, Resulting Numbers: [700]
700,78 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[42, 68], Operations: ['64-22=42', '70-2=68']
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,78 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[32, 48], Operations: ['64/2=32', '70-22=48']
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,78 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[32, 92], Operations: ['64/2=32', '70+22=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,78 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[70, 54], Operations: ['64/2=32', '22+32=54']
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,78 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,78 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
1,
70,
21
] | 91 | [
"2-1=1",
"70+21=91",
"1*91=91"
] | Current State: 91:[2, 1, 70, 21], Operations: []
Exploring Operation: 2-1=1, Resulting Numbers: [70, 21, 1]
Generated Node #2: [70, 21, 1] from Operation: 2-1=1
Current State: 91:[70, 21, 1], Operations: ['2-1=1']
Exploring Operation: 70+21=91, Resulting Numbers: [1, 91]
Generated Node #3: [1, 91] from Operation: 70+21=91
Current State: 91:[1, 91], Operations: ['2-1=1', '70+21=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[2, 1, 70, 21], Operations: []
Exploring Operation: 21-2=19, Resulting Numbers: [1, 70, 19]
Generated Node #0,0: 91:[1, 70, 19] Operation: 21-2=19
Exploring Operation: 2+1=3, Resulting Numbers: [70, 21, 3]
Generated Node #0,1: 91:[70, 21, 3] Operation: 2+1=3
Exploring Operation: 2+70=72, Resulting Numbers: [1, 21, 72]
Generated Node #0,2: 91:[1, 21, 72] Operation: 2+70=72
Exploring Operation: 70+21=91, Resulting Numbers: [2, 1, 91]
Generated Node #0,3: 91:[2, 1, 91] Operation: 70+21=91
Moving to Node #0,3
Current State: 91:[2, 1, 91], Operations: ['70+21=91']
Exploring Operation: 2+1=3, Resulting Numbers: [91, 3]
Generated Node #0,3,0: 91:[91, 3] Operation: 2+1=3
Exploring Operation: 1*91=91, Resulting Numbers: [2, 91]
Generated Node #0,3,1: 91:[2, 91] Operation: 1*91=91
Exploring Operation: 2*1=2, Resulting Numbers: [91, 2]
Generated Node #0,3,2: 91:[91, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [91, 2]
Generated Node #0,3,3: 91:[91, 2] Operation: 2/1=2
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 91:[91, 3], Operations: ['70+21=91', '2+1=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,91 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 91:[2, 91], Operations: ['70+21=91', '1*91=91']
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[91, 2], Operations: ['70+21=91', '2*1=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 91:[91, 2], Operations: ['70+21=91', '2/1=2']
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,91 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,91 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: 91:[70, 21, 3], Operations: ['2+1=3']
Exploring Operation: 21-3=18, Resulting Numbers: [70, 18]
Generated Node #0,1,0: 91:[70, 18] Operation: 21-3=18
Exploring Operation: 21/3=7, Resulting Numbers: [70, 7]
Generated Node #0,1,1: 91:[70, 7] Operation: 21/3=7
Exploring Operation: 70+3=73, Resulting Numbers: [21, 73]
Generated Node #0,1,2: 91:[21, 73] Operation: 70+3=73
Exploring Operation: 70+21=91, Resulting Numbers: [3, 91]
Generated Node #0,1,3: 91:[3, 91] Operation: 70+21=91
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 91:[3, 91], Operations: ['2+1=3', '70+21=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[70, 7], Operations: ['2+1=3', '21/3=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,91 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 91:[70, 18], Operations: ['2+1=3', '21-3=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 91:[21, 73], Operations: ['2+1=3', '70+3=73']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,91 unequal: No Solution
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,91 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: 91:[1, 70, 19], Operations: ['21-2=19']
Exploring Operation: 19-1=18, Resulting Numbers: [70, 18]
Generated Node #0,0,0: 91:[70, 18] Operation: 19-1=18
Exploring Operation: 1+70=71, Resulting Numbers: [19, 71]
Generated Node #0,0,1: 91:[19, 71] Operation: 1+70=71
Exploring Operation: 70+19=89, Resulting Numbers: [1, 89]
Generated Node #0,0,2: 91:[1, 89] Operation: 70+19=89
Exploring Operation: 1*70=70, Resulting Numbers: [19, 70]
Generated Node #0,0,3: 91:[19, 70] Operation: 1*70=70
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 91:[1, 89], Operations: ['21-2=19', '70+19=89']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,91 unequal: No Solution
Exploring Operation: 1+89=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 1*89=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[70, 18], Operations: ['21-2=19', '19-1=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,91 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 91:[19, 71], Operations: ['21-2=19', '1+70=71']
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 19*71=1349, Resulting Numbers: [1349]
1349,91 unequal: No Solution
Exploring Operation: 19+71=90, Resulting Numbers: [90]
90,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 91:[19, 70], Operations: ['21-2=19', '1*70=70']
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,91 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: 91:[1, 21, 72], Operations: ['2+70=72']
Exploring Operation: 21+72=93, Resulting Numbers: [1, 93]
Generated Node #0,2,0: 91:[1, 93] Operation: 21+72=93
Exploring Operation: 1+72=73, Resulting Numbers: [21, 73]
Generated Node #0,2,1: 91:[21, 73] Operation: 1+72=73
Exploring Operation: 1*21=21, Resulting Numbers: [72, 21]
Generated Node #0,2,2: 91:[72, 21] Operation: 1*21=21
Exploring Operation: 21-1=20, Resulting Numbers: [72, 20]
Generated Node #0,2,3: 91:[72, 20] Operation: 21-1=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[1, 93], Operations: ['2+70=72', '21+72=93']
Exploring Operation: 1*93=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 93-1=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 1+93=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 91:[21, 73], Operations: ['2+70=72', '1+72=73']
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,91 unequal: No Solution
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,91 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 91:[72, 20], Operations: ['2+70=72', '21-1=20']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,91 unequal: No Solution
Exploring Operation: 72*20=1440, Resulting Numbers: [1440]
1440,91 unequal: No Solution
Exploring Operation: 72+20=92, Resulting Numbers: [92]
92,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 91:[72, 21], Operations: ['2+70=72', '1*21=21']
Exploring Operation: 72+21=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Exploring Operation: 72*21=1512, Resulting Numbers: [1512]
1512,91 unequal: No Solution
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,91 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 |
[
21,
24,
72,
9
] | 75 | [
"24-21=3",
"9/3=3",
"72+3=75"
] | Current State: 75:[21, 24, 72, 9], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [72, 9, 3]
Generated Node #2: [72, 9, 3] from Operation: 24-21=3
Current State: 75:[72, 9, 3], Operations: ['24-21=3']
Exploring Operation: 9/3=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 9/3=3
Current State: 75:[72, 3], Operations: ['24-21=3', '9/3=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[21, 24, 72, 9], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [72, 9, 3]
Generated Node #0,0: 75:[72, 9, 3] Operation: 24-21=3
Moving to Node #0,0
Current State: 75:[72, 9, 3], Operations: ['24-21=3']
Exploring Operation: 72/9=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 75:[3, 8] Operation: 72/9=8
Moving to Node #0,0,0
Current State: 75:[3, 8], Operations: ['24-21=3', '72/9=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
12,
47,
48
] | 66 | [
"23+47=70",
"48/12=4",
"70-4=66"
] | Current State: 66:[23, 12, 47, 48], Operations: []
Exploring Operation: 23+47=70, Resulting Numbers: [12, 48, 70]
Generated Node #2: [12, 48, 70] from Operation: 23+47=70
Current State: 66:[12, 48, 70], Operations: ['23+47=70']
Exploring Operation: 48/12=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 48/12=4
Current State: 66:[70, 4], Operations: ['23+47=70', '48/12=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[23, 12, 47, 48], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [23, 47, 4]
Generated Node #0,0: 66:[23, 47, 4] Operation: 48/12=4
Exploring Operation: 48-47=1, Resulting Numbers: [23, 12, 1]
Generated Node #0,1: 66:[23, 12, 1] Operation: 48-47=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[23, 12, 1], Operations: ['48-47=1']
Exploring Operation: 23-1=22, Resulting Numbers: [12, 22]
Generated Node #0,1,0: 66:[12, 22] Operation: 23-1=22
Exploring Operation: 23-12=11, Resulting Numbers: [1, 11]
Generated Node #0,1,1: 66:[1, 11] Operation: 23-12=11
Moving to Node #0,1,0
Current State: 66:[12, 22], Operations: ['48-47=1', '23-1=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[1, 11], Operations: ['48-47=1', '23-12=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[23, 47, 4], Operations: ['48/12=4']
Exploring Operation: 23+47=70, Resulting Numbers: [4, 70]
Generated Node #0,0,0: 66:[4, 70] Operation: 23+47=70
Exploring Operation: 47-23=24, Resulting Numbers: [4, 24]
Generated Node #0,0,1: 66:[4, 24] Operation: 47-23=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[4, 24], Operations: ['48/12=4', '47-23=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[4, 70], Operations: ['48/12=4', '23+47=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[23, 12, 47, 48], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [23, 47, 4]
Generated Node #0,0: 66:[23, 47, 4] Operation: 48/12=4
Moving to Node #0,0
Current State: 66:[23, 47, 4], Operations: ['48/12=4']
Exploring Operation: 23+47=70, Resulting Numbers: [4, 70]
Generated Node #0,0,0: 66:[4, 70] Operation: 23+47=70
Moving to Node #0,0,0
Current State: 66:[4, 70], Operations: ['48/12=4', '23+47=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
11,
73,
3,
19
] | 62 | [
"11+73=84",
"3+19=22",
"84-22=62"
] | Current State: 62:[11, 73, 3, 19], Operations: []
Exploring Operation: 11+73=84, Resulting Numbers: [3, 19, 84]
Generated Node #2: [3, 19, 84] from Operation: 11+73=84
Current State: 62:[3, 19, 84], Operations: ['11+73=84']
Exploring Operation: 3+19=22, Resulting Numbers: [84, 22]
Generated Node #3: [84, 22] from Operation: 3+19=22
Current State: 62:[84, 22], Operations: ['11+73=84', '3+19=22']
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[11, 73, 3, 19], Operations: []
Exploring Operation: 73-11=62, Resulting Numbers: [3, 19, 62]
Generated Node #0,0: 62:[3, 19, 62] Operation: 73-11=62
Exploring Operation: 11+19=30, Resulting Numbers: [73, 3, 30]
Generated Node #0,1: 62:[73, 3, 30] Operation: 11+19=30
Exploring Operation: 11*3=33, Resulting Numbers: [73, 19, 33]
Generated Node #0,2: 62:[73, 19, 33] Operation: 11*3=33
Exploring Operation: 73-19=54, Resulting Numbers: [11, 3, 54]
Generated Node #0,3: 62:[11, 3, 54] Operation: 73-19=54
Exploring Operation: 19-11=8, Resulting Numbers: [73, 3, 8]
Generated Node #0,4: 62:[73, 3, 8] Operation: 19-11=8
Moving to Node #0,0
Current State: 62:[3, 19, 62], Operations: ['73-11=62']
Exploring Operation: 3*19=57, Resulting Numbers: [62, 57]
Generated Node #0,0,0: 62:[62, 57] Operation: 3*19=57
Exploring Operation: 3+62=65, Resulting Numbers: [19, 65]
Generated Node #0,0,1: 62:[19, 65] Operation: 3+62=65
Exploring Operation: 3+19=22, Resulting Numbers: [62, 22]
Generated Node #0,0,2: 62:[62, 22] Operation: 3+19=22
Exploring Operation: 19-3=16, Resulting Numbers: [62, 16]
Generated Node #0,0,3: 62:[62, 16] Operation: 19-3=16
Exploring Operation: 62-19=43, Resulting Numbers: [3, 43]
Generated Node #0,0,4: 62:[3, 43] Operation: 62-19=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[62, 57], Operations: ['73-11=62', '3*19=57']
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,62 unequal: No Solution
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[62, 22], Operations: ['73-11=62', '3+19=22']
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,62 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 62:[3, 43], Operations: ['73-11=62', '62-19=43']
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[62, 16], Operations: ['73-11=62', '19-3=16']
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[19, 65], Operations: ['73-11=62', '3+62=65']
Exploring Operation: 19*65=1235, Resulting Numbers: [1235]
1235,62 unequal: No Solution
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 19+65=84, Resulting Numbers: [84]
84,62 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: 62:[73, 3, 30], Operations: ['11+19=30']
Exploring Operation: 30-3=27, Resulting Numbers: [73, 27]
Generated Node #0,1,0: 62:[73, 27] Operation: 30-3=27
Exploring Operation: 73-3=70, Resulting Numbers: [30, 70]
Generated Node #0,1,1: 62:[30, 70] Operation: 73-3=70
Exploring Operation: 73+3=76, Resulting Numbers: [30, 76]
Generated Node #0,1,2: 62:[30, 76] Operation: 73+3=76
Exploring Operation: 73-30=43, Resulting Numbers: [3, 43]
Generated Node #0,1,3: 62:[3, 43] Operation: 73-30=43
Exploring Operation: 3+30=33, Resulting Numbers: [73, 33]
Generated Node #0,1,4: 62:[73, 33] Operation: 3+30=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[30, 70], Operations: ['11+19=30', '73-3=70']
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,62 unequal: No Solution
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[3, 43], Operations: ['11+19=30', '73-30=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 62:[73, 33], Operations: ['11+19=30', '3+30=33']
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,62 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,62 unequal: No Solution
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[73, 27], Operations: ['11+19=30', '30-3=27']
Exploring Operation: 73*27=1971, Resulting Numbers: [1971]
1971,62 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 73+27=100, Resulting Numbers: [100]
100,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[30, 76], Operations: ['11+19=30', '73+3=76']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 30+76=106, Resulting Numbers: [106]
106,62 unequal: No Solution
Exploring Operation: 30*76=2280, Resulting Numbers: [2280]
2280,62 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: 62:[11, 3, 54], Operations: ['73-19=54']
Exploring Operation: 3+54=57, Resulting Numbers: [11, 57]
Generated Node #0,3,0: 62:[11, 57] Operation: 3+54=57
Exploring Operation: 11*3=33, Resulting Numbers: [54, 33]
Generated Node #0,3,1: 62:[54, 33] Operation: 11*3=33
Exploring Operation: 11-3=8, Resulting Numbers: [54, 8]
Generated Node #0,3,2: 62:[54, 8] Operation: 11-3=8
Exploring Operation: 11+54=65, Resulting Numbers: [3, 65]
Generated Node #0,3,3: 62:[3, 65] Operation: 11+54=65
Exploring Operation: 54-11=43, Resulting Numbers: [3, 43]
Generated Node #0,3,4: 62:[3, 43] Operation: 54-11=43
Moving to Node #0,4
Current State: 62:[73, 3, 8], Operations: ['19-11=8']
Exploring Operation: 73+3=76, Resulting Numbers: [8, 76]
Generated Node #0,4,0: 62:[8, 76] Operation: 73+3=76
Exploring Operation: 73-8=65, Resulting Numbers: [3, 65]
Generated Node #0,4,1: 62:[3, 65] Operation: 73-8=65
Exploring Operation: 3*8=24, Resulting Numbers: [73, 24]
Generated Node #0,4,2: 62:[73, 24] Operation: 3*8=24
Exploring Operation: 8-3=5, Resulting Numbers: [73, 5]
Generated Node #0,4,3: 62:[73, 5] Operation: 8-3=5
Exploring Operation: 73-3=70, Resulting Numbers: [8, 70]
Generated Node #0,4,4: 62:[8, 70] Operation: 73-3=70
Moving to Node #0,2
Current State: 62:[73, 19, 33], Operations: ['11*3=33']
Exploring Operation: 19+33=52, Resulting Numbers: [73, 52]
Generated Node #0,2,0: 62:[73, 52] Operation: 19+33=52
Exploring Operation: 73-19=54, Resulting Numbers: [33, 54]
Generated Node #0,2,1: 62:[33, 54] Operation: 73-19=54
Exploring Operation: 33-19=14, Resulting Numbers: [73, 14]
Generated Node #0,2,2: 62:[73, 14] Operation: 33-19=14
Exploring Operation: 73+19=92, Resulting Numbers: [33, 92]
Generated Node #0,2,3: 62:[33, 92] Operation: 73+19=92
Exploring Operation: 73-33=40, Resulting Numbers: [19, 40]
Generated Node #0,2,4: 62:[19, 40] Operation: 73-33=40
Moving to Node #0,3,3
Current State: 62:[3, 65], Operations: ['73-19=54', '11+54=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[11, 73, 3, 19], Operations: []
Exploring Operation: 73-19=54, Resulting Numbers: [11, 3, 54]
Generated Node #0,3: 62:[11, 3, 54] Operation: 73-19=54
Moving to Node #0,3
Current State: 62:[11, 3, 54], Operations: ['73-19=54']
Exploring Operation: 11+54=65, Resulting Numbers: [3, 65]
Generated Node #0,3,3: 62:[3, 65] Operation: 11+54=65
Moving to Node #0,3,3
Current State: 62:[3, 65], Operations: ['73-19=54', '11+54=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.943576 | hs_5 | mult_heuristic |
[
15,
67,
89,
93
] | 100 | [
"15+67=82",
"89+93=182",
"182-82=100"
] | Current State: 100:[15, 67, 89, 93], Operations: []
Exploring Operation: 15+67=82, Resulting Numbers: [89, 93, 82]
Generated Node #2: [89, 93, 82] from Operation: 15+67=82
Current State: 100:[89, 93, 82], Operations: ['15+67=82']
Exploring Operation: 89+93=182, Resulting Numbers: [82, 182]
Generated Node #3: [82, 182] from Operation: 89+93=182
Current State: 100:[82, 182], Operations: ['15+67=82', '89+93=182']
Exploring Operation: 182-82=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[15, 67, 89, 93], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [15, 89, 26]
Generated Node #0,0: 100:[15, 89, 26] Operation: 93-67=26
Exploring Operation: 89-67=22, Resulting Numbers: [15, 93, 22]
Generated Node #0,1: 100:[15, 93, 22] Operation: 89-67=22
Exploring Operation: 67-15=52, Resulting Numbers: [89, 93, 52]
Generated Node #0,2: 100:[89, 93, 52] Operation: 67-15=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[15, 93, 22], Operations: ['89-67=22']
Exploring Operation: 15+93=108, Resulting Numbers: [22, 108]
Generated Node #0,1,0: 100:[22, 108] Operation: 15+93=108
Exploring Operation: 22-15=7, Resulting Numbers: [93, 7]
Generated Node #0,1,1: 100:[93, 7] Operation: 22-15=7
Exploring Operation: 15+22=37, Resulting Numbers: [93, 37]
Generated Node #0,1,2: 100:[93, 37] Operation: 15+22=37
Moving to Node #0,1,1
Current State: 100:[93, 7], Operations: ['89-67=22', '22-15=7']
Exploring Operation: 93*7=651, Resulting Numbers: [651]
651,100 unequal: No Solution
Exploring Operation: 93-7=86, Resulting Numbers: [86]
86,100 unequal: No Solution
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[15, 67, 89, 93], Operations: []
Exploring Operation: 89-67=22, Resulting Numbers: [15, 93, 22]
Generated Node #0,1: 100:[15, 93, 22] Operation: 89-67=22
Moving to Node #0,1
Current State: 100:[15, 93, 22], Operations: ['89-67=22']
Exploring Operation: 22-15=7, Resulting Numbers: [93, 7]
Generated Node #0,1,1: 100:[93, 7] Operation: 22-15=7
Moving to Node #0,1,1
Current State: 100:[93, 7], Operations: ['89-67=22', '22-15=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
23,
71,
47,
67
] | 66 | [
"71-23=48",
"47+67=114",
"114-48=66"
] | Current State: 66:[23, 71, 47, 67], Operations: []
Exploring Operation: 71-23=48, Resulting Numbers: [47, 67, 48]
Generated Node #2: [47, 67, 48] from Operation: 71-23=48
Current State: 66:[47, 67, 48], Operations: ['71-23=48']
Exploring Operation: 47+67=114, Resulting Numbers: [48, 114]
Generated Node #3: [48, 114] from Operation: 47+67=114
Current State: 66:[48, 114], Operations: ['71-23=48', '47+67=114']
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[23, 71, 47, 67], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [23, 47, 4]
Generated Node #0,0: 66:[23, 47, 4] Operation: 71-67=4
Exploring Operation: 23+47=70, Resulting Numbers: [71, 67, 70]
Generated Node #0,1: 66:[71, 67, 70] Operation: 23+47=70
Exploring Operation: 47-23=24, Resulting Numbers: [71, 67, 24]
Generated Node #0,2: 66:[71, 67, 24] Operation: 47-23=24
Exploring Operation: 71-47=24, Resulting Numbers: [23, 67, 24]
Generated Node #0,3: 66:[23, 67, 24] Operation: 71-47=24
Exploring Operation: 67-47=20, Resulting Numbers: [23, 71, 20]
Generated Node #0,4: 66:[23, 71, 20] Operation: 67-47=20
Moving to Node #0,3
Current State: 66:[23, 67, 24], Operations: ['71-47=24']
Exploring Operation: 24-23=1, Resulting Numbers: [67, 1]
Generated Node #0,3,0: 66:[67, 1] Operation: 24-23=1
Exploring Operation: 23+67=90, Resulting Numbers: [24, 90]
Generated Node #0,3,1: 66:[24, 90] Operation: 23+67=90
Exploring Operation: 67-23=44, Resulting Numbers: [24, 44]
Generated Node #0,3,2: 66:[24, 44] Operation: 67-23=44
Exploring Operation: 67-24=43, Resulting Numbers: [23, 43]
Generated Node #0,3,3: 66:[23, 43] Operation: 67-24=43
Exploring Operation: 23+24=47, Resulting Numbers: [67, 47]
Generated Node #0,3,4: 66:[67, 47] Operation: 23+24=47
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[67, 1], Operations: ['71-47=24', '24-23=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,66 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[23, 71, 47, 67], Operations: []
Exploring Operation: 71-47=24, Resulting Numbers: [23, 67, 24]
Generated Node #0,3: 66:[23, 67, 24] Operation: 71-47=24
Moving to Node #0,3
Current State: 66:[23, 67, 24], Operations: ['71-47=24']
Exploring Operation: 24-23=1, Resulting Numbers: [67, 1]
Generated Node #0,3,0: 66:[67, 1] Operation: 24-23=1
Moving to Node #0,3,0
Current State: 66:[67, 1], Operations: ['71-47=24', '24-23=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
36,
23,
52,
9
] | 79 | [
"36/9=4",
"23+52=75",
"4+75=79"
] | Current State: 79:[36, 23, 52, 9], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [23, 52, 4]
Generated Node #2: [23, 52, 4] from Operation: 36/9=4
Current State: 79:[23, 52, 4], Operations: ['36/9=4']
Exploring Operation: 23+52=75, Resulting Numbers: [4, 75]
Generated Node #3: [4, 75] from Operation: 23+52=75
Current State: 79:[4, 75], Operations: ['36/9=4', '23+52=75']
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[36, 23, 52, 9], Operations: []
Exploring Operation: 23+52=75, Resulting Numbers: [36, 9, 75]
Generated Node #0,0: 79:[36, 9, 75] Operation: 23+52=75
Exploring Operation: 36+9=45, Resulting Numbers: [23, 52, 45]
Generated Node #0,1: 79:[23, 52, 45] Operation: 36+9=45
Exploring Operation: 36+23=59, Resulting Numbers: [52, 9, 59]
Generated Node #0,2: 79:[52, 9, 59] Operation: 36+23=59
Moving to Node #0,0
Current State: 79:[36, 9, 75], Operations: ['23+52=75']
Exploring Operation: 9+75=84, Resulting Numbers: [36, 84]
Generated Node #0,0,0: 79:[36, 84] Operation: 9+75=84
Exploring Operation: 36-9=27, Resulting Numbers: [75, 27]
Generated Node #0,0,1: 79:[75, 27] Operation: 36-9=27
Exploring Operation: 36+9=45, Resulting Numbers: [75, 45]
Generated Node #0,0,2: 79:[75, 45] Operation: 36+9=45
Moving to Node #0,1
Current State: 79:[23, 52, 45], Operations: ['36+9=45']
Exploring Operation: 52+45=97, Resulting Numbers: [23, 97]
Generated Node #0,1,0: 79:[23, 97] Operation: 52+45=97
Exploring Operation: 23+45=68, Resulting Numbers: [52, 68]
Generated Node #0,1,1: 79:[52, 68] Operation: 23+45=68
Exploring Operation: 23+52=75, Resulting Numbers: [45, 75]
Generated Node #0,1,2: 79:[45, 75] Operation: 23+52=75
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[52, 68], Operations: ['36+9=45', '23+45=68']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,79 unequal: No Solution
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[45, 75], Operations: ['36+9=45', '23+52=75']
Exploring Operation: 45+75=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 45*75=3375, Resulting Numbers: [3375]
3375,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[23, 97], Operations: ['36+9=45', '52+45=97']
Exploring Operation: 23*97=2231, Resulting Numbers: [2231]
2231,79 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,79 unequal: No Solution
Exploring Operation: 23+97=120, Resulting Numbers: [120]
120,79 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: 79:[52, 9, 59], Operations: ['36+23=59']
Exploring Operation: 52-9=43, Resulting Numbers: [59, 43]
Generated Node #0,2,0: 79:[59, 43] Operation: 52-9=43
Exploring Operation: 9+59=68, Resulting Numbers: [52, 68]
Generated Node #0,2,1: 79:[52, 68] Operation: 9+59=68
Exploring Operation: 52+9=61, Resulting Numbers: [59, 61]
Generated Node #0,2,2: 79:[59, 61] Operation: 52+9=61
Moving to Node #0,0,2
Current State: 79:[75, 45], Operations: ['23+52=75', '36+9=45']
Exploring Operation: 75*45=3375, Resulting Numbers: [3375]
3375,79 unequal: No Solution
Exploring Operation: 75-45=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 75+45=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[52, 68], Operations: ['36+23=59', '9+59=68']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Exploring Operation: 52*68=3536, Resulting Numbers: [3536]
3536,79 unequal: No Solution
Exploring Operation: 52+68=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[59, 61], Operations: ['36+23=59', '52+9=61']
Exploring Operation: 59*61=3599, Resulting Numbers: [3599]
3599,79 unequal: No Solution
Exploring Operation: 59+61=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 61-59=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[36, 84], Operations: ['23+52=75', '9+75=84']
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,79 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[59, 43], Operations: ['36+23=59', '52-9=43']
Exploring Operation: 59+43=102, Resulting Numbers: [102]
102,79 unequal: No Solution
Exploring Operation: 59*43=2537, Resulting Numbers: [2537]
2537,79 unequal: No Solution
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[75, 27], Operations: ['23+52=75', '36-9=27']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,79 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,79 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
31,
2,
13
] | 14 | [
"31+13=44",
"2*44=88",
"88-74=14"
] | Current State: 14:[74, 31, 2, 13], Operations: []
Exploring Operation: 31+13=44, Resulting Numbers: [74, 2, 44]
Generated Node #2: [74, 2, 44] from Operation: 31+13=44
Current State: 14:[74, 2, 44], Operations: ['31+13=44']
Exploring Operation: 2*44=88, Resulting Numbers: [74, 88]
Generated Node #3: [74, 88] from Operation: 2*44=88
Current State: 14:[74, 88], Operations: ['31+13=44', '2*44=88']
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[74, 31, 2, 13], Operations: []
Exploring Operation: 74-13=61, Resulting Numbers: [31, 2, 61]
Generated Node #0,0: 14:[31, 2, 61] Operation: 74-13=61
Exploring Operation: 74/2=37, Resulting Numbers: [31, 13, 37]
Generated Node #0,1: 14:[31, 13, 37] Operation: 74/2=37
Exploring Operation: 74-31=43, Resulting Numbers: [2, 13, 43]
Generated Node #0,2: 14:[2, 13, 43] Operation: 74-31=43
Moving to Node #0,2
Current State: 14:[2, 13, 43], Operations: ['74-31=43']
Exploring Operation: 43-2=41, Resulting Numbers: [13, 41]
Generated Node #0,2,0: 14:[13, 41] Operation: 43-2=41
Exploring Operation: 43-13=30, Resulting Numbers: [2, 30]
Generated Node #0,2,1: 14:[2, 30] Operation: 43-13=30
Exploring Operation: 2+13=15, Resulting Numbers: [43, 15]
Generated Node #0,2,2: 14:[43, 15] Operation: 2+13=15
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[2, 30], Operations: ['74-31=43', '43-13=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No 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: 14:[13, 41], Operations: ['74-31=43', '43-2=41']
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,14 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,14 unequal: No Solution
No 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: 14:[43, 15], Operations: ['74-31=43', '2+13=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,14 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: 14:[31, 13, 37], Operations: ['74/2=37']
Exploring Operation: 31-13=18, Resulting Numbers: [37, 18]
Generated Node #0,1,0: 14:[37, 18] Operation: 31-13=18
Exploring Operation: 37-13=24, Resulting Numbers: [31, 24]
Generated Node #0,1,1: 14:[31, 24] Operation: 37-13=24
Exploring Operation: 37-31=6, Resulting Numbers: [13, 6]
Generated Node #0,1,2: 14:[13, 6] Operation: 37-31=6
Moving to Node #0,0
Current State: 14:[31, 2, 61], Operations: ['74-13=61']
Exploring Operation: 61-2=59, Resulting Numbers: [31, 59]
Generated Node #0,0,0: 14:[31, 59] Operation: 61-2=59
Exploring Operation: 31-2=29, Resulting Numbers: [61, 29]
Generated Node #0,0,1: 14:[61, 29] Operation: 31-2=29
Exploring Operation: 61-31=30, Resulting Numbers: [2, 30]
Generated Node #0,0,2: 14:[2, 30] Operation: 61-31=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[2, 30], Operations: ['74-13=61', '61-31=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No 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: 14:[31, 59], Operations: ['74-13=61', '61-2=59']
Exploring Operation: 31*59=1829, Resulting Numbers: [1829]
1829,14 unequal: No Solution
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,14 unequal: No Solution
Exploring Operation: 31+59=90, Resulting Numbers: [90]
90,14 unequal: No Solution
No 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: 14:[61, 29], Operations: ['74-13=61', '31-2=29']
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,14 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 14:[13, 6], Operations: ['74/2=37', '37-31=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,14 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[37, 18], Operations: ['74/2=37', '31-13=18']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,14 unequal: No Solution
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[31, 24], Operations: ['74/2=37', '37-13=24']
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,14 unequal: No Solution
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,14 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
10,
78,
26,
99
] | 69 | [
"10*78=780",
"780/26=30",
"99-30=69"
] | Current State: 69:[10, 78, 26, 99], Operations: []
Exploring Operation: 10*78=780, Resulting Numbers: [26, 99, 780]
Generated Node #2: [26, 99, 780] from Operation: 10*78=780
Current State: 69:[26, 99, 780], Operations: ['10*78=780']
Exploring Operation: 780/26=30, Resulting Numbers: [99, 30]
Generated Node #3: [99, 30] from Operation: 780/26=30
Current State: 69:[99, 30], Operations: ['10*78=780', '780/26=30']
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[10, 78, 26, 99], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [10, 26, 21]
Generated Node #0,0: 69:[10, 26, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[10, 26, 21], Operations: ['99-78=21']
Exploring Operation: 26-10=16, Resulting Numbers: [21, 16]
Generated Node #0,0,0: 69:[21, 16] Operation: 26-10=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[21, 16], Operations: ['99-78=21', '26-10=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
24,
48,
79
] | 38 | [
"93-24=69",
"79-48=31",
"69-31=38"
] | Current State: 38:[93, 24, 48, 79], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [48, 79, 69]
Generated Node #2: [48, 79, 69] from Operation: 93-24=69
Current State: 38:[48, 79, 69], Operations: ['93-24=69']
Exploring Operation: 79-48=31, Resulting Numbers: [69, 31]
Generated Node #3: [69, 31] from Operation: 79-48=31
Current State: 38:[69, 31], Operations: ['93-24=69', '79-48=31']
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[93, 24, 48, 79], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [24, 79, 45]
Generated Node #0,0: 38:[24, 79, 45] Operation: 93-48=45
Exploring Operation: 93-79=14, Resulting Numbers: [24, 48, 14]
Generated Node #0,1: 38:[24, 48, 14] Operation: 93-79=14
Exploring Operation: 79-48=31, Resulting Numbers: [93, 24, 31]
Generated Node #0,2: 38:[93, 24, 31] Operation: 79-48=31
Exploring Operation: 93-24=69, Resulting Numbers: [48, 79, 69]
Generated Node #0,3: 38:[48, 79, 69] Operation: 93-24=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[24, 48, 14], Operations: ['93-79=14']
Exploring Operation: 48-24=24, Resulting Numbers: [14, 24]
Generated Node #0,1,0: 38:[14, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [14, 2]
Generated Node #0,1,1: 38:[14, 2] Operation: 48/24=2
Exploring Operation: 24+14=38, Resulting Numbers: [48, 38]
Generated Node #0,1,2: 38:[48, 38] Operation: 24+14=38
Exploring Operation: 48-14=34, Resulting Numbers: [24, 34]
Generated Node #0,1,3: 38:[24, 34] Operation: 48-14=34
Moving to Node #0,1,1
Current State: 38:[14, 2], Operations: ['93-79=14', '48/24=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[24, 34], Operations: ['93-79=14', '48-14=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[48, 38], Operations: ['93-79=14', '24+14=38']
Exploring Operation: 48*38=1824, Resulting Numbers: [1824]
1824,38 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[14, 24], Operations: ['93-79=14', '48-24=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,38 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[93, 24, 48, 79], Operations: []
Exploring Operation: 93-79=14, Resulting Numbers: [24, 48, 14]
Generated Node #0,1: 38:[24, 48, 14] Operation: 93-79=14
Moving to Node #0,1
Current State: 38:[24, 48, 14], Operations: ['93-79=14']
Exploring Operation: 48-24=24, Resulting Numbers: [14, 24]
Generated Node #0,1,0: 38:[14, 24] Operation: 48-24=24
Moving to Node #0,1,0
Current State: 38:[14, 24], Operations: ['93-79=14', '48-24=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
63,
41,
52,
12
] | 63 | [
"52-41=11",
"12-11=1",
"63*1=63"
] | Current State: 63:[63, 41, 52, 12], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [63, 12, 11]
Generated Node #2: [63, 12, 11] from Operation: 52-41=11
Current State: 63:[63, 12, 11], Operations: ['52-41=11']
Exploring Operation: 12-11=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 12-11=1
Current State: 63:[63, 1], Operations: ['52-41=11', '12-11=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[63, 41, 52, 12], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [52, 12, 22]
Generated Node #0,0: 63:[52, 12, 22] Operation: 63-41=22
Exploring Operation: 41-12=29, Resulting Numbers: [63, 52, 29]
Generated Node #0,1: 63:[63, 52, 29] Operation: 41-12=29
Exploring Operation: 52-41=11, Resulting Numbers: [63, 12, 11]
Generated Node #0,2: 63:[63, 12, 11] Operation: 52-41=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[63, 12, 11], Operations: ['52-41=11']
Exploring Operation: 12+11=23, Resulting Numbers: [63, 23]
Generated Node #0,2,0: 63:[63, 23] Operation: 12+11=23
Exploring Operation: 12-11=1, Resulting Numbers: [63, 1]
Generated Node #0,2,1: 63:[63, 1] Operation: 12-11=1
Exploring Operation: 63+12=75, Resulting Numbers: [11, 75]
Generated Node #0,2,2: 63:[11, 75] Operation: 63+12=75
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[63, 23], Operations: ['52-41=11', '12+11=23']
Exploring Operation: 63*23=1449, Resulting Numbers: [1449]
1449,63 unequal: No Solution
Exploring Operation: 63+23=86, Resulting Numbers: [86]
86,63 unequal: No Solution
Exploring Operation: 63-23=40, Resulting Numbers: [40]
40,63 unequal: No Solution
No 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: 63:[63, 1], Operations: ['52-41=11', '12-11=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,63 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[63, 41, 52, 12], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [63, 12, 11]
Generated Node #0,2: 63:[63, 12, 11] Operation: 52-41=11
Moving to Node #0,2
Current State: 63:[63, 12, 11], Operations: ['52-41=11']
Exploring Operation: 12-11=1, Resulting Numbers: [63, 1]
Generated Node #0,2,1: 63:[63, 1] Operation: 12-11=1
Moving to Node #0,2,1
Current State: 63:[63, 1], Operations: ['52-41=11', '12-11=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
1,
64,
91,
57
] | 98 | [
"1*64=64",
"91-57=34",
"64+34=98"
] | Current State: 98:[1, 64, 91, 57], Operations: []
Exploring Operation: 1*64=64, Resulting Numbers: [91, 57, 64]
Generated Node #2: [91, 57, 64] from Operation: 1*64=64
Current State: 98:[91, 57, 64], Operations: ['1*64=64']
Exploring Operation: 91-57=34, Resulting Numbers: [64, 34]
Generated Node #3: [64, 34] from Operation: 91-57=34
Current State: 98:[64, 34], Operations: ['1*64=64', '91-57=34']
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[1, 64, 91, 57], Operations: []
Exploring Operation: 64-1=63, Resulting Numbers: [91, 57, 63]
Generated Node #0,0: 98:[91, 57, 63] Operation: 64-1=63
Exploring Operation: 1+91=92, Resulting Numbers: [64, 57, 92]
Generated Node #0,1: 98:[64, 57, 92] Operation: 1+91=92
Exploring Operation: 64-57=7, Resulting Numbers: [1, 91, 7]
Generated Node #0,2: 98:[1, 91, 7] Operation: 64-57=7
Exploring Operation: 91-64=27, Resulting Numbers: [1, 57, 27]
Generated Node #0,3: 98:[1, 57, 27] Operation: 91-64=27
Moving to Node #0,2
Current State: 98:[1, 91, 7], Operations: ['64-57=7']
Exploring Operation: 1+91=92, Resulting Numbers: [7, 92]
Generated Node #0,2,0: 98:[7, 92] Operation: 1+91=92
Exploring Operation: 1*91=91, Resulting Numbers: [7, 91]
Generated Node #0,2,1: 98:[7, 91] Operation: 1*91=91
Exploring Operation: 91/7=13, Resulting Numbers: [1, 13]
Generated Node #0,2,2: 98:[1, 13] Operation: 91/7=13
Exploring Operation: 91+7=98, Resulting Numbers: [1, 98]
Generated Node #0,2,3: 98:[1, 98] Operation: 91+7=98
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[1, 98], Operations: ['64-57=7', '91+7=98']
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[1, 64, 91, 57], Operations: []
Exploring Operation: 64-57=7, Resulting Numbers: [1, 91, 7]
Generated Node #0,2: 98:[1, 91, 7] Operation: 64-57=7
Moving to Node #0,2
Current State: 98:[1, 91, 7], Operations: ['64-57=7']
Exploring Operation: 91+7=98, Resulting Numbers: [1, 98]
Generated Node #0,2,3: 98:[1, 98] Operation: 91+7=98
Moving to Node #0,2,3
Current State: 98:[1, 98], Operations: ['64-57=7', '91+7=98']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
77,
79,
3,
38
] | 70 | [
"79-77=2",
"38-3=35",
"2*35=70"
] | Current State: 70:[77, 79, 3, 38], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [3, 38, 2]
Generated Node #2: [3, 38, 2] from Operation: 79-77=2
Current State: 70:[3, 38, 2], Operations: ['79-77=2']
Exploring Operation: 38-3=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 38-3=35
Current State: 70:[2, 35], Operations: ['79-77=2', '38-3=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[77, 79, 3, 38], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [77, 3, 41]
Generated Node #0,0: 70:[77, 3, 41] Operation: 79-38=41
Exploring Operation: 79-77=2, Resulting Numbers: [3, 38, 2]
Generated Node #0,1: 70:[3, 38, 2] Operation: 79-77=2
Exploring Operation: 77-38=39, Resulting Numbers: [79, 3, 39]
Generated Node #0,2: 70:[79, 3, 39] Operation: 77-38=39
Moving to Node #0,1
Current State: 70:[3, 38, 2], Operations: ['79-77=2']
Exploring Operation: 38-2=36, Resulting Numbers: [3, 36]
Generated Node #0,1,0: 70:[3, 36] Operation: 38-2=36
Exploring Operation: 3+2=5, Resulting Numbers: [38, 5]
Generated Node #0,1,1: 70:[38, 5] Operation: 3+2=5
Exploring Operation: 38-3=35, Resulting Numbers: [2, 35]
Generated Node #0,1,2: 70:[2, 35] Operation: 38-3=35
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[2, 35], Operations: ['79-77=2', '38-3=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[77, 79, 3, 38], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [3, 38, 2]
Generated Node #0,1: 70:[3, 38, 2] Operation: 79-77=2
Moving to Node #0,1
Current State: 70:[3, 38, 2], Operations: ['79-77=2']
Exploring Operation: 38-3=35, Resulting Numbers: [2, 35]
Generated Node #0,1,2: 70:[2, 35] Operation: 38-3=35
Moving to Node #0,1,2
Current State: 70:[2, 35], Operations: ['79-77=2', '38-3=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
74,
10,
66,
44
] | 96 | [
"74-10=64",
"66*64=4224",
"4224/44=96"
] | Current State: 96:[74, 10, 66, 44], Operations: []
Exploring Operation: 74-10=64, Resulting Numbers: [66, 44, 64]
Generated Node #2: [66, 44, 64] from Operation: 74-10=64
Current State: 96:[66, 44, 64], Operations: ['74-10=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [44, 4224]
Generated Node #3: [44, 4224] from Operation: 66*64=4224
Current State: 96:[44, 4224], Operations: ['74-10=64', '66*64=4224']
Exploring Operation: 4224/44=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[74, 10, 66, 44], Operations: []
Exploring Operation: 74-44=30, Resulting Numbers: [10, 66, 30]
Generated Node #0,0: 96:[10, 66, 30] Operation: 74-44=30
Exploring Operation: 74-66=8, Resulting Numbers: [10, 44, 8]
Generated Node #0,1: 96:[10, 44, 8] Operation: 74-66=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[10, 44, 8], Operations: ['74-66=8']
Exploring Operation: 10-8=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 96:[44, 2] Operation: 10-8=2
Exploring Operation: 44-10=34, Resulting Numbers: [8, 34]
Generated Node #0,1,1: 96:[8, 34] Operation: 44-10=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[8, 34], Operations: ['74-66=8', '44-10=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No 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: 96:[44, 2], Operations: ['74-66=8', '10-8=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,96 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: 96:[10, 66, 30], Operations: ['74-44=30']
Exploring Operation: 66+30=96, Resulting Numbers: [10, 96]
Generated Node #0,0,0: 96:[10, 96] Operation: 66+30=96
Exploring Operation: 66-30=36, Resulting Numbers: [10, 36]
Generated Node #0,0,1: 96:[10, 36] Operation: 66-30=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[10, 96], Operations: ['74-44=30', '66+30=96']
Exploring Operation: 10+96=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,96 unequal: No Solution
No 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: 96:[10, 36], Operations: ['74-44=30', '66-30=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,96 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 |
[
46,
3,
34,
2
] | 25 | [
"46-3=43",
"34*2=68",
"68-43=25"
] | Current State: 25:[46, 3, 34, 2], Operations: []
Exploring Operation: 46-3=43, Resulting Numbers: [34, 2, 43]
Generated Node #2: [34, 2, 43] from Operation: 46-3=43
Current State: 25:[34, 2, 43], Operations: ['46-3=43']
Exploring Operation: 34*2=68, Resulting Numbers: [43, 68]
Generated Node #3: [43, 68] from Operation: 34*2=68
Current State: 25:[43, 68], Operations: ['46-3=43', '34*2=68']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[46, 3, 34, 2], Operations: []
Exploring Operation: 46-2=44, Resulting Numbers: [3, 34, 44]
Generated Node #0,0: 25:[3, 34, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [3, 34, 23]
Generated Node #0,1: 25:[3, 34, 23] Operation: 46/2=23
Exploring Operation: 46-34=12, Resulting Numbers: [3, 2, 12]
Generated Node #0,2: 25:[3, 2, 12] Operation: 46-34=12
Exploring Operation: 34-3=31, Resulting Numbers: [46, 2, 31]
Generated Node #0,3: 25:[46, 2, 31] Operation: 34-3=31
Exploring Operation: 46-3=43, Resulting Numbers: [34, 2, 43]
Generated Node #0,4: 25:[34, 2, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[3, 2, 12], Operations: ['46-34=12']
Exploring Operation: 3+2=5, Resulting Numbers: [12, 5]
Generated Node #0,2,0: 25:[12, 5] Operation: 3+2=5
Exploring Operation: 12-3=9, Resulting Numbers: [2, 9]
Generated Node #0,2,1: 25:[2, 9] Operation: 12-3=9
Exploring Operation: 2*12=24, Resulting Numbers: [3, 24]
Generated Node #0,2,2: 25:[3, 24] Operation: 2*12=24
Exploring Operation: 12/3=4, Resulting Numbers: [2, 4]
Generated Node #0,2,3: 25:[2, 4] Operation: 12/3=4
Exploring Operation: 12/2=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 25:[3, 6] Operation: 12/2=6
Moving to Node #0,2,2
Current State: 25:[3, 24], Operations: ['46-34=12', '2*12=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[3, 6], Operations: ['46-34=12', '12/2=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[2, 4], Operations: ['46-34=12', '12/3=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[12, 5], Operations: ['46-34=12', '3+2=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[2, 9], Operations: ['46-34=12', '12-3=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[3, 34, 23], Operations: ['46/2=23']
Exploring Operation: 23-3=20, Resulting Numbers: [34, 20]
Generated Node #0,1,0: 25:[34, 20] Operation: 23-3=20
Exploring Operation: 3+23=26, Resulting Numbers: [34, 26]
Generated Node #0,1,1: 25:[34, 26] Operation: 3+23=26
Exploring Operation: 34-3=31, Resulting Numbers: [23, 31]
Generated Node #0,1,2: 25:[23, 31] Operation: 34-3=31
Exploring Operation: 34-23=11, Resulting Numbers: [3, 11]
Generated Node #0,1,3: 25:[3, 11] Operation: 34-23=11
Exploring Operation: 3+34=37, Resulting Numbers: [23, 37]
Generated Node #0,1,4: 25:[23, 37] Operation: 3+34=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[23, 31], Operations: ['46/2=23', '34-3=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 23*31=713, Resulting Numbers: [713]
713,25 unequal: No Solution
No 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: 25:[3, 11], Operations: ['46/2=23', '34-23=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,25 unequal: No Solution
No 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: 25:[34, 26], Operations: ['46/2=23', '3+23=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,25 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,25 unequal: No Solution
No 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: 25:[34, 20], Operations: ['46/2=23', '23-3=20']
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,25 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 25:[23, 37], Operations: ['46/2=23', '3+34=37']
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,25 unequal: No Solution
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,25 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: 25:[3, 34, 44], Operations: ['46-2=44']
Exploring Operation: 34-3=31, Resulting Numbers: [44, 31]
Generated Node #0,0,0: 25:[44, 31] Operation: 34-3=31
Exploring Operation: 3+34=37, Resulting Numbers: [44, 37]
Generated Node #0,0,1: 25:[44, 37] Operation: 3+34=37
Exploring Operation: 44-3=41, Resulting Numbers: [34, 41]
Generated Node #0,0,2: 25:[34, 41] Operation: 44-3=41
Exploring Operation: 44-34=10, Resulting Numbers: [3, 10]
Generated Node #0,0,3: 25:[3, 10] Operation: 44-34=10
Exploring Operation: 3+44=47, Resulting Numbers: [34, 47]
Generated Node #0,0,4: 25:[34, 47] Operation: 3+44=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[3, 10], Operations: ['46-2=44', '44-34=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,25 unequal: No Solution
No 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: 25:[44, 31], Operations: ['46-2=44', '34-3=31']
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,25 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,25 unequal: No Solution
No 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: 25:[34, 41], Operations: ['46-2=44', '44-3=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,25 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,25 unequal: No Solution
No 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: 25:[44, 37], Operations: ['46-2=44', '3+34=37']
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,25 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 25:[34, 47], Operations: ['46-2=44', '3+44=47']
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,25 unequal: No Solution
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,25 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,25 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: 25:[46, 2, 31], Operations: ['34-3=31']
Exploring Operation: 46-2=44, Resulting Numbers: [31, 44]
Generated Node #0,3,0: 25:[31, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [31, 23]
Generated Node #0,3,1: 25:[31, 23] Operation: 46/2=23
Exploring Operation: 46-31=15, Resulting Numbers: [2, 15]
Generated Node #0,3,2: 25:[2, 15] Operation: 46-31=15
Exploring Operation: 46+2=48, Resulting Numbers: [31, 48]
Generated Node #0,3,3: 25:[31, 48] Operation: 46+2=48
Exploring Operation: 31-2=29, Resulting Numbers: [46, 29]
Generated Node #0,3,4: 25:[46, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[31, 23], Operations: ['34-3=31', '46/2=23']
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,25 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,25 unequal: No Solution
No 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: 25:[2, 15], Operations: ['34-3=31', '46-31=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 25:[31, 44], Operations: ['34-3=31', '46-2=44']
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,25 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,25 unequal: No Solution
No 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: 25:[46, 29], Operations: ['34-3=31', '31-2=29']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,25 unequal: No Solution
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,25 unequal: No Solution
No 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: 25:[31, 48], Operations: ['34-3=31', '46+2=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,25 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,25 unequal: No Solution
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[34, 2, 43], Operations: ['46-3=43']
Exploring Operation: 43-2=41, Resulting Numbers: [34, 41]
Generated Node #0,4,0: 25:[34, 41] Operation: 43-2=41
Exploring Operation: 34/2=17, Resulting Numbers: [43, 17]
Generated Node #0,4,1: 25:[43, 17] Operation: 34/2=17
Exploring Operation: 43-34=9, Resulting Numbers: [2, 9]
Generated Node #0,4,2: 25:[2, 9] Operation: 43-34=9
Exploring Operation: 34+2=36, Resulting Numbers: [43, 36]
Generated Node #0,4,3: 25:[43, 36] Operation: 34+2=36
Exploring Operation: 34-2=32, Resulting Numbers: [43, 32]
Generated Node #0,4,4: 25:[43, 32] Operation: 34-2=32
Moving to Node #0,4,2
Current State: 25:[2, 9], Operations: ['46-3=43', '43-34=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,4,4
Current State: 25:[43, 32], Operations: ['46-3=43', '34-2=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,25 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Moving to Node #0,4,0
Current State: 25:[34, 41], Operations: ['46-3=43', '43-2=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,25 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Moving to Node #0,4,1
Current State: 25:[43, 17], Operations: ['46-3=43', '34/2=17']
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,25 unequal: No Solution
Moving to Node #0,4,3
Current State: 25:[43, 36], Operations: ['46-3=43', '34+2=36']
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,25 unequal: No Solution
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
46,
42,
61
] | 67 | [
"82-46=36",
"42+61=103",
"103-36=67"
] | Current State: 67:[82, 46, 42, 61], Operations: []
Exploring Operation: 82-46=36, Resulting Numbers: [42, 61, 36]
Generated Node #2: [42, 61, 36] from Operation: 82-46=36
Current State: 67:[42, 61, 36], Operations: ['82-46=36']
Exploring Operation: 42+61=103, Resulting Numbers: [36, 103]
Generated Node #3: [36, 103] from Operation: 42+61=103
Current State: 67:[36, 103], Operations: ['82-46=36', '42+61=103']
Exploring Operation: 103-36=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[82, 46, 42, 61], Operations: []
Exploring Operation: 46+42=88, Resulting Numbers: [82, 61, 88]
Generated Node #0,0: 67:[82, 61, 88] Operation: 46+42=88
Moving to Node #0,0
Current State: 67:[82, 61, 88], Operations: ['46+42=88']
Exploring Operation: 88-61=27, Resulting Numbers: [82, 27]
Generated Node #0,0,0: 67:[82, 27] Operation: 88-61=27
Moving to Node #0,0,0
Current State: 67:[82, 27], Operations: ['46+42=88', '88-61=27']
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
59,
64,
4,
89
] | 98 | [
"64-59=5",
"4+89=93",
"5+93=98"
] | Current State: 98:[59, 64, 4, 89], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [4, 89, 5]
Generated Node #2: [4, 89, 5] from Operation: 64-59=5
Current State: 98:[4, 89, 5], Operations: ['64-59=5']
Exploring Operation: 4+89=93, Resulting Numbers: [5, 93]
Generated Node #3: [5, 93] from Operation: 4+89=93
Current State: 98:[5, 93], Operations: ['64-59=5', '4+89=93']
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[59, 64, 4, 89], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [4, 89, 5]
Generated Node #0,0: 98:[4, 89, 5] Operation: 64-59=5
Exploring Operation: 59-4=55, Resulting Numbers: [64, 89, 55]
Generated Node #0,1: 98:[64, 89, 55] Operation: 59-4=55
Exploring Operation: 89-64=25, Resulting Numbers: [59, 4, 25]
Generated Node #0,2: 98:[59, 4, 25] Operation: 89-64=25
Exploring Operation: 64/4=16, Resulting Numbers: [59, 89, 16]
Generated Node #0,3: 98:[59, 89, 16] Operation: 64/4=16
Moving to Node #0,0
Current State: 98:[4, 89, 5], Operations: ['64-59=5']
Exploring Operation: 4+89=93, Resulting Numbers: [5, 93]
Generated Node #0,0,0: 98:[5, 93] Operation: 4+89=93
Exploring Operation: 89+5=94, Resulting Numbers: [4, 94]
Generated Node #0,0,1: 98:[4, 94] Operation: 89+5=94
Exploring Operation: 4+5=9, Resulting Numbers: [89, 9]
Generated Node #0,0,2: 98:[89, 9] Operation: 4+5=9
Exploring Operation: 5-4=1, Resulting Numbers: [89, 1]
Generated Node #0,0,3: 98:[89, 1] Operation: 5-4=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[4, 94], Operations: ['64-59=5', '89+5=94']
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,98 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[59, 64, 4, 89], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [4, 89, 5]
Generated Node #0,0: 98:[4, 89, 5] Operation: 64-59=5
Moving to Node #0,0
Current State: 98:[4, 89, 5], Operations: ['64-59=5']
Exploring Operation: 89+5=94, Resulting Numbers: [4, 94]
Generated Node #0,0,1: 98:[4, 94] Operation: 89+5=94
Moving to Node #0,0,1
Current State: 98:[4, 94], Operations: ['64-59=5', '89+5=94']
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
34,
78,
27,
51
] | 90 | [
"78*51=3978",
"3978/34=117",
"117-27=90"
] | Current State: 90:[34, 78, 27, 51], Operations: []
Exploring Operation: 78*51=3978, Resulting Numbers: [34, 27, 3978]
Generated Node #2: [34, 27, 3978] from Operation: 78*51=3978
Current State: 90:[34, 27, 3978], Operations: ['78*51=3978']
Exploring Operation: 3978/34=117, Resulting Numbers: [27, 117]
Generated Node #3: [27, 117] from Operation: 3978/34=117
Current State: 90:[27, 117], Operations: ['78*51=3978', '3978/34=117']
Exploring Operation: 117-27=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[34, 78, 27, 51], Operations: []
Exploring Operation: 51-34=17, Resulting Numbers: [78, 27, 17]
Generated Node #0,0: 90:[78, 27, 17] Operation: 51-34=17
Exploring Operation: 78-51=27, Resulting Numbers: [34, 27, 27]
Generated Node #0,1: 90:[34, 27, 27] Operation: 78-51=27
Exploring Operation: 78-34=44, Resulting Numbers: [27, 51, 44]
Generated Node #0,2: 90:[27, 51, 44] Operation: 78-34=44
Exploring Operation: 78-27=51, Resulting Numbers: [34, 51, 51]
Generated Node #0,3: 90:[34, 51, 51] Operation: 78-27=51
Moving to Node #0,1
Current State: 90:[34, 27, 27], Operations: ['78-51=27']
Exploring Operation: 27-27=0, Resulting Numbers: [34, 0]
Generated Node #0,1,0: 90:[34, 0] Operation: 27-27=0
Exploring Operation: 34-27=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 90:[27, 7] Operation: 34-27=7
Exploring Operation: 34-27=7, Resulting Numbers: [27, 7]
Generated Node #0,1,2: 90:[27, 7] Operation: 34-27=7
Exploring Operation: 27/27=1, Resulting Numbers: [34, 1]
Generated Node #0,1,3: 90:[34, 1] Operation: 27/27=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[27, 7], Operations: ['78-51=27', '34-27=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[27, 7], Operations: ['78-51=27', '34-27=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,90 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 90:[34, 1], Operations: ['78-51=27', '27/27=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[34, 0], Operations: ['78-51=27', '27-27=0']
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 34+0=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 34*0=0, Resulting Numbers: [0]
0,90 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: 90:[27, 51, 44], Operations: ['78-34=44']
Exploring Operation: 51-44=7, Resulting Numbers: [27, 7]
Generated Node #0,2,0: 90:[27, 7] Operation: 51-44=7
Exploring Operation: 51-27=24, Resulting Numbers: [44, 24]
Generated Node #0,2,1: 90:[44, 24] Operation: 51-27=24
Exploring Operation: 44-27=17, Resulting Numbers: [51, 17]
Generated Node #0,2,2: 90:[51, 17] Operation: 44-27=17
Exploring Operation: 51+44=95, Resulting Numbers: [27, 95]
Generated Node #0,2,3: 90:[27, 95] Operation: 51+44=95
Moving to Node #0,3
Current State: 90:[34, 51, 51], Operations: ['78-27=51']
Exploring Operation: 51-34=17, Resulting Numbers: [51, 17]
Generated Node #0,3,0: 90:[51, 17] Operation: 51-34=17
Exploring Operation: 51-51=0, Resulting Numbers: [34, 0]
Generated Node #0,3,1: 90:[34, 0] Operation: 51-51=0
Exploring Operation: 51/51=1, Resulting Numbers: [34, 1]
Generated Node #0,3,2: 90:[34, 1] Operation: 51/51=1
Exploring Operation: 51-34=17, Resulting Numbers: [51, 17]
Generated Node #0,3,3: 90:[51, 17] Operation: 51-34=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 90:[34, 1], Operations: ['78-27=51', '51/51=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[34, 0], Operations: ['78-27=51', '51-51=0']
Exploring Operation: 34*0=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 34+0=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 34-0=34, Resulting Numbers: [34]
34,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 90:[51, 17], Operations: ['78-27=51', '51-34=17']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,90 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 90:[51, 17], Operations: ['78-27=51', '51-34=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 90:[78, 27, 17], Operations: ['51-34=17']
Exploring Operation: 78-27=51, Resulting Numbers: [17, 51]
Generated Node #0,0,0: 90:[17, 51] Operation: 78-27=51
Exploring Operation: 78+17=95, Resulting Numbers: [27, 95]
Generated Node #0,0,1: 90:[27, 95] Operation: 78+17=95
Exploring Operation: 27+17=44, Resulting Numbers: [78, 44]
Generated Node #0,0,2: 90:[78, 44] Operation: 27+17=44
Exploring Operation: 27-17=10, Resulting Numbers: [78, 10]
Generated Node #0,0,3: 90:[78, 10] Operation: 27-17=10
Moving to Node #0,2,0
Current State: 90:[27, 7], Operations: ['78-34=44', '51-44=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[51, 17], Operations: ['78-34=44', '44-27=17']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,90 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[44, 24], Operations: ['78-34=44', '51-27=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,90 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[17, 51], Operations: ['51-34=17', '78-27=51']
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,90 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[27, 95], Operations: ['51-34=17', '78+17=95']
Exploring Operation: 27*95=2565, Resulting Numbers: [2565]
2565,90 unequal: No Solution
Exploring Operation: 27+95=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[27, 95], Operations: ['78-34=44', '51+44=95']
Exploring Operation: 95-27=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 27+95=122, Resulting Numbers: [122]
122,90 unequal: No Solution
Exploring Operation: 27*95=2565, Resulting Numbers: [2565]
2565,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[78, 10], Operations: ['51-34=17', '27-17=10']
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,90 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,90 unequal: No Solution
Exploring Operation: 78+10=88, Resulting Numbers: [88]
88,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[78, 44], Operations: ['51-34=17', '27+17=44']
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,90 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,90 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
86,
21,
84,
43
] | 24 | [
"86-21=65",
"84-43=41",
"65-41=24"
] | Current State: 24:[86, 21, 84, 43], Operations: []
Exploring Operation: 86-21=65, Resulting Numbers: [84, 43, 65]
Generated Node #2: [84, 43, 65] from Operation: 86-21=65
Current State: 24:[84, 43, 65], Operations: ['86-21=65']
Exploring Operation: 84-43=41, Resulting Numbers: [65, 41]
Generated Node #3: [65, 41] from Operation: 84-43=41
Current State: 24:[65, 41], Operations: ['86-21=65', '84-43=41']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[86, 21, 84, 43], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [21, 43, 2]
Generated Node #0,0: 24:[21, 43, 2] Operation: 86-84=2
Exploring Operation: 86/43=2, Resulting Numbers: [21, 84, 2]
Generated Node #0,1: 24:[21, 84, 2] Operation: 86/43=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[21, 43, 2], Operations: ['86-84=2']
Exploring Operation: 43-21=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 24:[2, 22] Operation: 43-21=22
Exploring Operation: 21+2=23, Resulting Numbers: [43, 23]
Generated Node #0,0,1: 24:[43, 23] Operation: 21+2=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[2, 22], Operations: ['86-84=2', '43-21=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[86, 21, 84, 43], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [21, 43, 2]
Generated Node #0,0: 24:[21, 43, 2] Operation: 86-84=2
Moving to Node #0,0
Current State: 24:[21, 43, 2], Operations: ['86-84=2']
Exploring Operation: 43-21=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 24:[2, 22] Operation: 43-21=22
Moving to Node #0,0,0
Current State: 24:[2, 22], Operations: ['86-84=2', '43-21=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
43,
73,
42,
11
] | 62 | [
"43-42=1",
"73-11=62",
"1*62=62"
] | Current State: 62:[43, 73, 42, 11], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [73, 11, 1]
Generated Node #2: [73, 11, 1] from Operation: 43-42=1
Current State: 62:[73, 11, 1], Operations: ['43-42=1']
Exploring Operation: 73-11=62, Resulting Numbers: [1, 62]
Generated Node #3: [1, 62] from Operation: 73-11=62
Current State: 62:[1, 62], Operations: ['43-42=1', '73-11=62']
Exploring Operation: 1*62=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[43, 73, 42, 11], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [42, 11, 30]
Generated Node #0,0: 62:[42, 11, 30] Operation: 73-43=30
Exploring Operation: 73-42=31, Resulting Numbers: [43, 11, 31]
Generated Node #0,1: 62:[43, 11, 31] Operation: 73-42=31
Exploring Operation: 43-42=1, Resulting Numbers: [73, 11, 1]
Generated Node #0,2: 62:[73, 11, 1] Operation: 43-42=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[42, 11, 30], Operations: ['73-43=30']
Exploring Operation: 42+11=53, Resulting Numbers: [30, 53]
Generated Node #0,0,0: 62:[30, 53] Operation: 42+11=53
Exploring Operation: 42+30=72, Resulting Numbers: [11, 72]
Generated Node #0,0,1: 62:[11, 72] Operation: 42+30=72
Exploring Operation: 42-11=31, Resulting Numbers: [30, 31]
Generated Node #0,0,2: 62:[30, 31] Operation: 42-11=31
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[30, 31], Operations: ['73-43=30', '42-11=31']
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,62 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[30, 53], Operations: ['73-43=30', '42+11=53']
Exploring Operation: 30+53=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 30*53=1590, Resulting Numbers: [1590]
1590,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[11, 72], Operations: ['73-43=30', '42+30=72']
Exploring Operation: 11*72=792, Resulting Numbers: [792]
792,62 unequal: No Solution
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 72-11=61, Resulting Numbers: [61]
61,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[43, 11, 31], Operations: ['73-42=31']
Exploring Operation: 43-31=12, Resulting Numbers: [11, 12]
Generated Node #0,1,0: 62:[11, 12] Operation: 43-31=12
Exploring Operation: 43-11=32, Resulting Numbers: [31, 32]
Generated Node #0,1,1: 62:[31, 32] Operation: 43-11=32
Exploring Operation: 43+11=54, Resulting Numbers: [31, 54]
Generated Node #0,1,2: 62:[31, 54] Operation: 43+11=54
Moving to Node #0,1,1
Current State: 62:[31, 32], Operations: ['73-42=31', '43-11=32']
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,62 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[31, 54], Operations: ['73-42=31', '43+11=54']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 31*54=1674, Resulting Numbers: [1674]
1674,62 unequal: No Solution
Exploring Operation: 31+54=85, Resulting Numbers: [85]
85,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[11, 12], Operations: ['73-42=31', '43-31=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,62 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[73, 11, 1], Operations: ['43-42=1']
Exploring Operation: 73-11=62, Resulting Numbers: [1, 62]
Generated Node #0,2,0: 62:[1, 62] Operation: 73-11=62
Exploring Operation: 73-1=72, Resulting Numbers: [11, 72]
Generated Node #0,2,1: 62:[11, 72] Operation: 73-1=72
Exploring Operation: 11-1=10, Resulting Numbers: [73, 10]
Generated Node #0,2,2: 62:[73, 10] Operation: 11-1=10
Moving to Node #0,2,0
Current State: 62:[1, 62], Operations: ['43-42=1', '73-11=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[43, 73, 42, 11], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [73, 11, 1]
Generated Node #0,2: 62:[73, 11, 1] Operation: 43-42=1
Moving to Node #0,2
Current State: 62:[73, 11, 1], Operations: ['43-42=1']
Exploring Operation: 73-11=62, Resulting Numbers: [1, 62]
Generated Node #0,2,0: 62:[1, 62] Operation: 73-11=62
Moving to Node #0,2,0
Current State: 62:[1, 62], Operations: ['43-42=1', '73-11=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
48,
20,
52,
16
] | 41 | [
"48*16=768",
"52+768=820",
"820/20=41"
] | Current State: 41:[48, 20, 52, 16], Operations: []
Exploring Operation: 48*16=768, Resulting Numbers: [20, 52, 768]
Generated Node #2: [20, 52, 768] from Operation: 48*16=768
Current State: 41:[20, 52, 768], Operations: ['48*16=768']
Exploring Operation: 52+768=820, Resulting Numbers: [20, 820]
Generated Node #3: [20, 820] from Operation: 52+768=820
Current State: 41:[20, 820], Operations: ['48*16=768', '52+768=820']
Exploring Operation: 820/20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[48, 20, 52, 16], Operations: []
Exploring Operation: 20+16=36, Resulting Numbers: [48, 52, 36]
Generated Node #0,0: 41:[48, 52, 36] Operation: 20+16=36
Exploring Operation: 52-16=36, Resulting Numbers: [48, 20, 36]
Generated Node #0,1: 41:[48, 20, 36] Operation: 52-16=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[48, 52, 36], Operations: ['20+16=36']
Exploring Operation: 52-36=16, Resulting Numbers: [48, 16]
Generated Node #0,0,0: 41:[48, 16] Operation: 52-36=16
Exploring Operation: 48-36=12, Resulting Numbers: [52, 12]
Generated Node #0,0,1: 41:[52, 12] Operation: 48-36=12
Moving to Node #0,0,0
Current State: 41:[48, 16], Operations: ['20+16=36', '52-36=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[52, 12], Operations: ['20+16=36', '48-36=12']
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[48, 20, 36], Operations: ['52-16=36']
Exploring Operation: 20+36=56, Resulting Numbers: [48, 56]
Generated Node #0,1,0: 41:[48, 56] Operation: 20+36=56
Exploring Operation: 48-20=28, Resulting Numbers: [36, 28]
Generated Node #0,1,1: 41:[36, 28] Operation: 48-20=28
Moving to Node #0,1,1
Current State: 41:[36, 28], Operations: ['52-16=36', '48-20=28']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[48, 56], Operations: ['52-16=36', '20+36=56']
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
51,
21,
51
] | 21 | [
"51-51=0",
"62*0=0",
"21+0=21"
] | Current State: 21:[62, 51, 21, 51], Operations: []
Exploring Operation: 51-51=0, Resulting Numbers: [62, 21, 0]
Generated Node #2: [62, 21, 0] from Operation: 51-51=0
Current State: 21:[62, 21, 0], Operations: ['51-51=0']
Exploring Operation: 62*0=0, Resulting Numbers: [21, 0]
Generated Node #3: [21, 0] from Operation: 62*0=0
Current State: 21:[21, 0], Operations: ['51-51=0', '62*0=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[62, 51, 21, 51], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [51, 21, 11]
Generated Node #0,0: 21:[51, 21, 11] Operation: 62-51=11
Exploring Operation: 62-21=41, Resulting Numbers: [51, 51, 41]
Generated Node #0,1: 21:[51, 51, 41] Operation: 62-21=41
Exploring Operation: 51/51=1, Resulting Numbers: [62, 21, 1]
Generated Node #0,2: 21:[62, 21, 1] Operation: 51/51=1
Exploring Operation: 62-51=11, Resulting Numbers: [21, 51, 11]
Generated Node #0,3: 21:[21, 51, 11] Operation: 62-51=11
Exploring Operation: 51-51=0, Resulting Numbers: [62, 21, 0]
Generated Node #0,4: 21:[62, 21, 0] Operation: 51-51=0
Moving to Node #0,0
Current State: 21:[51, 21, 11], Operations: ['62-51=11']
Exploring Operation: 51+11=62, Resulting Numbers: [21, 62]
Generated Node #0,0,0: 21:[21, 62] Operation: 51+11=62
Exploring Operation: 51-21=30, Resulting Numbers: [11, 30]
Generated Node #0,0,1: 21:[11, 30] Operation: 51-21=30
Exploring Operation: 21-11=10, Resulting Numbers: [51, 10]
Generated Node #0,0,2: 21:[51, 10] Operation: 21-11=10
Exploring Operation: 21+11=32, Resulting Numbers: [51, 32]
Generated Node #0,0,3: 21:[51, 32] Operation: 21+11=32
Exploring Operation: 51-11=40, Resulting Numbers: [21, 40]
Generated Node #0,0,4: 21:[21, 40] Operation: 51-11=40
Moving to Node #0,3
Current State: 21:[21, 51, 11], Operations: ['62-51=11']
Exploring Operation: 51-11=40, Resulting Numbers: [21, 40]
Generated Node #0,3,0: 21:[21, 40] Operation: 51-11=40
Exploring Operation: 51+11=62, Resulting Numbers: [21, 62]
Generated Node #0,3,1: 21:[21, 62] Operation: 51+11=62
Exploring Operation: 21+11=32, Resulting Numbers: [51, 32]
Generated Node #0,3,2: 21:[51, 32] Operation: 21+11=32
Exploring Operation: 51-21=30, Resulting Numbers: [11, 30]
Generated Node #0,3,3: 21:[11, 30] Operation: 51-21=30
Exploring Operation: 21-11=10, Resulting Numbers: [51, 10]
Generated Node #0,3,4: 21:[51, 10] Operation: 21-11=10
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[11, 30], Operations: ['62-51=11', '51-21=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,21 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[21, 40], Operations: ['62-51=11', '51-11=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,21 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 21:[51, 10], Operations: ['62-51=11', '21-11=10']
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,21 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[21, 62], Operations: ['62-51=11', '51+11=62']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[51, 32], Operations: ['62-51=11', '21+11=32']
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,21 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 21:[62, 21, 1], Operations: ['51/51=1']
Exploring Operation: 62*1=62, Resulting Numbers: [21, 62]
Generated Node #0,2,0: 21:[21, 62] Operation: 62*1=62
Exploring Operation: 62-1=61, Resulting Numbers: [21, 61]
Generated Node #0,2,1: 21:[21, 61] Operation: 62-1=61
Exploring Operation: 62-21=41, Resulting Numbers: [1, 41]
Generated Node #0,2,2: 21:[1, 41] Operation: 62-21=41
Exploring Operation: 21*1=21, Resulting Numbers: [62, 21]
Generated Node #0,2,3: 21:[62, 21] Operation: 21*1=21
Exploring Operation: 62/1=62, Resulting Numbers: [21, 62]
Generated Node #0,2,4: 21:[21, 62] Operation: 62/1=62
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[1, 41], Operations: ['51/51=1', '62-21=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[21, 61], Operations: ['51/51=1', '62-1=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,21 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,21 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[21, 62], Operations: ['51/51=1', '62*1=62']
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,21 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,21 unequal: No Solution
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[62, 21], Operations: ['51/51=1', '21*1=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,21 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 21:[21, 62], Operations: ['51/51=1', '62/1=62']
Exploring Operation: 21+62=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 21*62=1302, Resulting Numbers: [1302]
1302,21 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,21 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: 21:[62, 21, 0], Operations: ['51-51=0']
Exploring Operation: 62-21=41, Resulting Numbers: [0, 41]
Generated Node #0,4,0: 21:[0, 41] Operation: 62-21=41
Exploring Operation: 62-0=62, Resulting Numbers: [21, 62]
Generated Node #0,4,1: 21:[21, 62] Operation: 62-0=62
Exploring Operation: 62*0=0, Resulting Numbers: [21, 0]
Generated Node #0,4,2: 21:[21, 0] Operation: 62*0=0
Exploring Operation: 62+0=62, Resulting Numbers: [21, 62]
Generated Node #0,4,3: 21:[21, 62] Operation: 62+0=62
Exploring Operation: 21+0=21, Resulting Numbers: [62, 21]
Generated Node #0,4,4: 21:[62, 21] Operation: 21+0=21
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 21:[21, 0], Operations: ['51-51=0', '62*0=0']
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[62, 51, 21, 51], Operations: []
Exploring Operation: 51-51=0, Resulting Numbers: [62, 21, 0]
Generated Node #0,4: 21:[62, 21, 0] Operation: 51-51=0
Moving to Node #0,4
Current State: 21:[62, 21, 0], Operations: ['51-51=0']
Exploring Operation: 62*0=0, Resulting Numbers: [21, 0]
Generated Node #0,4,2: 21:[21, 0] Operation: 62*0=0
Moving to Node #0,4,2
Current State: 21:[21, 0], Operations: ['51-51=0', '62*0=0']
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
2,
14,
64,
72
] | 69 | [
"72-2=70",
"70/14=5",
"64+5=69"
] | Current State: 69:[2, 14, 64, 72], Operations: []
Exploring Operation: 72-2=70, Resulting Numbers: [14, 64, 70]
Generated Node #2: [14, 64, 70] from Operation: 72-2=70
Current State: 69:[14, 64, 70], Operations: ['72-2=70']
Exploring Operation: 70/14=5, Resulting Numbers: [64, 5]
Generated Node #3: [64, 5] from Operation: 70/14=5
Current State: 69:[64, 5], Operations: ['72-2=70', '70/14=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[2, 14, 64, 72], Operations: []
Exploring Operation: 14/2=7, Resulting Numbers: [64, 72, 7]
Generated Node #0,0: 69:[64, 72, 7] Operation: 14/2=7
Exploring Operation: 14+64=78, Resulting Numbers: [2, 72, 78]
Generated Node #0,1: 69:[2, 72, 78] Operation: 14+64=78
Exploring Operation: 2*14=28, Resulting Numbers: [64, 72, 28]
Generated Node #0,2: 69:[64, 72, 28] Operation: 2*14=28
Moving to Node #0,0
Current State: 69:[64, 72, 7], Operations: ['14/2=7']
Exploring Operation: 64+7=71, Resulting Numbers: [72, 71]
Generated Node #0,0,0: 69:[72, 71] Operation: 64+7=71
Exploring Operation: 72-7=65, Resulting Numbers: [64, 65]
Generated Node #0,0,1: 69:[64, 65] Operation: 72-7=65
Exploring Operation: 72-64=8, Resulting Numbers: [7, 8]
Generated Node #0,0,2: 69:[7, 8] Operation: 72-64=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[72, 71], Operations: ['14/2=7', '64+7=71']
Exploring Operation: 72+71=143, Resulting Numbers: [143]
143,69 unequal: No Solution
Exploring Operation: 72*71=5112, Resulting Numbers: [5112]
5112,69 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,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,0,1
Current State: 69:[64, 65], Operations: ['14/2=7', '72-7=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,69 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,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,0,2
Current State: 69:[7, 8], Operations: ['14/2=7', '72-64=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,69 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: 69:[2, 72, 78], Operations: ['14+64=78']
Exploring Operation: 78-2=76, Resulting Numbers: [72, 76]
Generated Node #0,1,0: 69:[72, 76] Operation: 78-2=76
Exploring Operation: 72-2=70, Resulting Numbers: [78, 70]
Generated Node #0,1,1: 69:[78, 70] Operation: 72-2=70
Exploring Operation: 78-72=6, Resulting Numbers: [2, 6]
Generated Node #0,1,2: 69:[2, 6] Operation: 78-72=6
Moving to Node #0,2
Current State: 69:[64, 72, 28], Operations: ['2*14=28']
Exploring Operation: 72-64=8, Resulting Numbers: [28, 8]
Generated Node #0,2,0: 69:[28, 8] Operation: 72-64=8
Exploring Operation: 64-28=36, Resulting Numbers: [72, 36]
Generated Node #0,2,1: 69:[72, 36] Operation: 64-28=36
Exploring Operation: 64+28=92, Resulting Numbers: [72, 92]
Generated Node #0,2,2: 69:[72, 92] Operation: 64+28=92
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[28, 8], Operations: ['2*14=28', '72-64=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,69 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,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,2,1
Current State: 69:[72, 36], Operations: ['2*14=28', '64-28=36']
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,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,2,2
Current State: 69:[72, 92], Operations: ['2*14=28', '64+28=92']
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,69 unequal: No Solution
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,69 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 69:[2, 6], Operations: ['14+64=78', '78-72=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[72, 76], Operations: ['14+64=78', '78-2=76']
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,69 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[78, 70], Operations: ['14+64=78', '72-2=70']
Exploring Operation: 78-70=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 78*70=5460, Resulting Numbers: [5460]
5460,69 unequal: No Solution
Exploring Operation: 78+70=148, Resulting Numbers: [148]
148,69 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
43,
5,
85,
5
] | 55 | [
"43-5=38",
"85/5=17",
"38+17=55"
] | Current State: 55:[43, 5, 85, 5], Operations: []
Exploring Operation: 43-5=38, Resulting Numbers: [85, 38]
Generated Node #2: [85, 38] from Operation: 43-5=38
Current State: 55:[85, 38], Operations: ['43-5=38']
Exploring Operation: 85/5=17, Resulting Numbers: [38, 17]
Generated Node #3: [38, 17] from Operation: 85/5=17
Current State: 55:[38, 17], Operations: ['43-5=38', '85/5=17']
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[43, 5, 85, 5], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [43, 5, 17]
Generated Node #0,0: 55:[43, 5, 17] Operation: 85/5=17
Exploring Operation: 85-43=42, Resulting Numbers: [5, 5, 42]
Generated Node #0,1: 55:[5, 5, 42] Operation: 85-43=42
Exploring Operation: 85/5=17, Resulting Numbers: [43, 5, 17]
Generated Node #0,2: 55:[43, 5, 17] Operation: 85/5=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[5, 5, 42], Operations: ['85-43=42']
Exploring Operation: 5+42=47, Resulting Numbers: [5, 47]
Generated Node #0,1,0: 55:[5, 47] Operation: 5+42=47
Exploring Operation: 5+5=10, Resulting Numbers: [42, 10]
Generated Node #0,1,1: 55:[42, 10] Operation: 5+5=10
Exploring Operation: 5+42=47, Resulting Numbers: [5, 47]
Generated Node #0,1,2: 55:[5, 47] Operation: 5+42=47
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[5, 47], Operations: ['85-43=42', '5+42=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,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,1,2
Current State: 55:[5, 47], Operations: ['85-43=42', '5+42=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,55 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,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,1,1
Current State: 55:[42, 10], Operations: ['85-43=42', '5+5=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,55 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,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,0
Current State: 55:[43, 5, 17], Operations: ['85/5=17']
Exploring Operation: 43+17=60, Resulting Numbers: [5, 60]
Generated Node #0,0,0: 55:[5, 60] Operation: 43+17=60
Exploring Operation: 43+5=48, Resulting Numbers: [17, 48]
Generated Node #0,0,1: 55:[17, 48] Operation: 43+5=48
Exploring Operation: 17-5=12, Resulting Numbers: [43, 12]
Generated Node #0,0,2: 55:[43, 12] Operation: 17-5=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[5, 60], Operations: ['85/5=17', '43+17=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[43, 5, 85, 5], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [43, 5, 17]
Generated Node #0,0: 55:[43, 5, 17] Operation: 85/5=17
Moving to Node #0,0
Current State: 55:[43, 5, 17], Operations: ['85/5=17']
Exploring Operation: 43+17=60, Resulting Numbers: [5, 60]
Generated Node #0,0,0: 55:[5, 60] Operation: 43+17=60
Moving to Node #0,0,0
Current State: 55:[5, 60], Operations: ['85/5=17', '43+17=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
24,
45,
43,
5
] | 38 | [
"24-5=19",
"45-43=2",
"19*2=38"
] | Current State: 38:[24, 45, 43, 5], Operations: []
Exploring Operation: 24-5=19, Resulting Numbers: [45, 43, 19]
Generated Node #2: [45, 43, 19] from Operation: 24-5=19
Current State: 38:[45, 43, 19], Operations: ['24-5=19']
Exploring Operation: 45-43=2, Resulting Numbers: [19, 2]
Generated Node #3: [19, 2] from Operation: 45-43=2
Current State: 38:[19, 2], Operations: ['24-5=19', '45-43=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[24, 45, 43, 5], Operations: []
Exploring Operation: 45-24=21, Resulting Numbers: [43, 5, 21]
Generated Node #0,0: 38:[43, 5, 21] Operation: 45-24=21
Exploring Operation: 45-43=2, Resulting Numbers: [24, 5, 2]
Generated Node #0,1: 38:[24, 5, 2] Operation: 45-43=2
Exploring Operation: 43-24=19, Resulting Numbers: [45, 5, 19]
Generated Node #0,2: 38:[45, 5, 19] Operation: 43-24=19
Exploring Operation: 24-5=19, Resulting Numbers: [45, 43, 19]
Generated Node #0,3: 38:[45, 43, 19] Operation: 24-5=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[24, 5, 2], Operations: ['45-43=2']
Exploring Operation: 24-2=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 38:[5, 22] Operation: 24-2=22
Exploring Operation: 24-5=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 38:[2, 19] Operation: 24-5=19
Exploring Operation: 5-2=3, Resulting Numbers: [24, 3]
Generated Node #0,1,2: 38:[24, 3] Operation: 5-2=3
Exploring Operation: 24+5=29, Resulting Numbers: [2, 29]
Generated Node #0,1,3: 38:[2, 29] Operation: 24+5=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[2, 19], Operations: ['45-43=2', '24-5=19']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[24, 45, 43, 5], Operations: []
Exploring Operation: 45-43=2, Resulting Numbers: [24, 5, 2]
Generated Node #0,1: 38:[24, 5, 2] Operation: 45-43=2
Moving to Node #0,1
Current State: 38:[24, 5, 2], Operations: ['45-43=2']
Exploring Operation: 24-5=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 38:[2, 19] Operation: 24-5=19
Moving to Node #0,1,1
Current State: 38:[2, 19], Operations: ['45-43=2', '24-5=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.987847 | hs_4 | sum_heuristic |
[
59,
21,
93,
2
] | 11 | [
"59+21=80",
"93-2=91",
"91-80=11"
] | Current State: 11:[59, 21, 93, 2], Operations: []
Exploring Operation: 59+21=80, Resulting Numbers: [93, 2, 80]
Generated Node #2: [93, 2, 80] from Operation: 59+21=80
Current State: 11:[93, 2, 80], Operations: ['59+21=80']
Exploring Operation: 93-2=91, Resulting Numbers: [80, 91]
Generated Node #3: [80, 91] from Operation: 93-2=91
Current State: 11:[80, 91], Operations: ['59+21=80', '93-2=91']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[59, 21, 93, 2], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [59, 2, 72]
Generated Node #0,0: 11:[59, 2, 72] Operation: 93-21=72
Exploring Operation: 59-21=38, Resulting Numbers: [93, 2, 38]
Generated Node #0,1: 11:[93, 2, 38] Operation: 59-21=38
Exploring Operation: 93-59=34, Resulting Numbers: [21, 2, 34]
Generated Node #0,2: 11:[21, 2, 34] Operation: 93-59=34
Moving to Node #0,2
Current State: 11:[21, 2, 34], Operations: ['93-59=34']
Exploring Operation: 34/2=17, Resulting Numbers: [21, 17]
Generated Node #0,2,0: 11:[21, 17] Operation: 34/2=17
Exploring Operation: 21-2=19, Resulting Numbers: [34, 19]
Generated Node #0,2,1: 11:[34, 19] Operation: 21-2=19
Exploring Operation: 34-21=13, Resulting Numbers: [2, 13]
Generated Node #0,2,2: 11:[2, 13] Operation: 34-21=13
Moving to Node #0,0
Current State: 11:[59, 2, 72], Operations: ['93-21=72']
Exploring Operation: 72-59=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 11:[2, 13] Operation: 72-59=13
Exploring Operation: 72/2=36, Resulting Numbers: [59, 36]
Generated Node #0,0,1: 11:[59, 36] Operation: 72/2=36
Exploring Operation: 59-2=57, Resulting Numbers: [72, 57]
Generated Node #0,0,2: 11:[72, 57] Operation: 59-2=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[2, 13], Operations: ['93-21=72', '72-59=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[59, 21, 93, 2], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [59, 2, 72]
Generated Node #0,0: 11:[59, 2, 72] Operation: 93-21=72
Moving to Node #0,0
Current State: 11:[59, 2, 72], Operations: ['93-21=72']
Exploring Operation: 72-59=13, Resulting Numbers: [2, 13]
Generated Node #0,0,0: 11:[2, 13] Operation: 72-59=13
Moving to Node #0,0,0
Current State: 11:[2, 13], Operations: ['93-21=72', '72-59=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
51,
31,
1,
17
] | 65 | [
"51+31=82",
"1*17=17",
"82-17=65"
] | Current State: 65:[51, 31, 1, 17], Operations: []
Exploring Operation: 51+31=82, Resulting Numbers: [1, 17, 82]
Generated Node #2: [1, 17, 82] from Operation: 51+31=82
Current State: 65:[1, 17, 82], Operations: ['51+31=82']
Exploring Operation: 1*17=17, Resulting Numbers: [82, 17]
Generated Node #3: [82, 17] from Operation: 1*17=17
Current State: 65:[82, 17], Operations: ['51+31=82', '1*17=17']
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[51, 31, 1, 17], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [31, 1, 3]
Generated Node #0,0: 65:[31, 1, 3] Operation: 51/17=3
Exploring Operation: 31-17=14, Resulting Numbers: [51, 1, 14]
Generated Node #0,1: 65:[51, 1, 14] Operation: 31-17=14
Exploring Operation: 51-31=20, Resulting Numbers: [1, 17, 20]
Generated Node #0,2: 65:[1, 17, 20] Operation: 51-31=20
Exploring Operation: 51+31=82, Resulting Numbers: [1, 17, 82]
Generated Node #0,3: 65:[1, 17, 82] Operation: 51+31=82
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[1, 17, 20], Operations: ['51-31=20']
Exploring Operation: 20-1=19, Resulting Numbers: [17, 19]
Generated Node #0,2,0: 65:[17, 19] Operation: 20-1=19
Exploring Operation: 1*17=17, Resulting Numbers: [20, 17]
Generated Node #0,2,1: 65:[20, 17] Operation: 1*17=17
Exploring Operation: 20-17=3, Resulting Numbers: [1, 3]
Generated Node #0,2,2: 65:[1, 3] Operation: 20-17=3
Exploring Operation: 17-1=16, Resulting Numbers: [20, 16]
Generated Node #0,2,3: 65:[20, 16] Operation: 17-1=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[1, 3], Operations: ['51-31=20', '20-17=3']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[17, 19], Operations: ['51-31=20', '20-1=19']
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,65 unequal: No Solution
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[20, 16], Operations: ['51-31=20', '17-1=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[20, 17], Operations: ['51-31=20', '1*17=17']
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,65 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,65 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[51, 1, 14], Operations: ['31-17=14']
Exploring Operation: 51+1=52, Resulting Numbers: [14, 52]
Generated Node #0,1,0: 65:[14, 52] Operation: 51+1=52
Exploring Operation: 14-1=13, Resulting Numbers: [51, 13]
Generated Node #0,1,1: 65:[51, 13] Operation: 14-1=13
Exploring Operation: 51*1=51, Resulting Numbers: [14, 51]
Generated Node #0,1,2: 65:[14, 51] Operation: 51*1=51
Exploring Operation: 51+14=65, Resulting Numbers: [1, 65]
Generated Node #0,1,3: 65:[1, 65] Operation: 51+14=65
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[1, 65], Operations: ['31-17=14', '51+14=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[51, 31, 1, 17], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [51, 1, 14]
Generated Node #0,1: 65:[51, 1, 14] Operation: 31-17=14
Moving to Node #0,1
Current State: 65:[51, 1, 14], Operations: ['31-17=14']
Exploring Operation: 51+14=65, Resulting Numbers: [1, 65]
Generated Node #0,1,3: 65:[1, 65] Operation: 51+14=65
Moving to Node #0,1,3
Current State: 65:[1, 65], Operations: ['31-17=14', '51+14=65']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
94,
81,
22,
43
] | 34 | [
"94-81=13",
"43-22=21",
"13+21=34"
] | Current State: 34:[94, 81, 22, 43], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [22, 43, 13]
Generated Node #2: [22, 43, 13] from Operation: 94-81=13
Current State: 34:[22, 43, 13], Operations: ['94-81=13']
Exploring Operation: 43-22=21, Resulting Numbers: [13, 21]
Generated Node #3: [13, 21] from Operation: 43-22=21
Current State: 34:[13, 21], Operations: ['94-81=13', '43-22=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[94, 81, 22, 43], Operations: []
Exploring Operation: 94-43=51, Resulting Numbers: [81, 22, 51]
Generated Node #0,0: 34:[81, 22, 51] Operation: 94-43=51
Exploring Operation: 94-81=13, Resulting Numbers: [22, 43, 13]
Generated Node #0,1: 34:[22, 43, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 34:[22, 43, 13], Operations: ['94-81=13']
Exploring Operation: 43-13=30, Resulting Numbers: [22, 30]
Generated Node #0,1,0: 34:[22, 30] Operation: 43-13=30
Exploring Operation: 43-22=21, Resulting Numbers: [13, 21]
Generated Node #0,1,1: 34:[13, 21] Operation: 43-22=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[13, 21], Operations: ['94-81=13', '43-22=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[94, 81, 22, 43], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [22, 43, 13]
Generated Node #0,1: 34:[22, 43, 13] Operation: 94-81=13
Moving to Node #0,1
Current State: 34:[22, 43, 13], Operations: ['94-81=13']
Exploring Operation: 43-22=21, Resulting Numbers: [13, 21]
Generated Node #0,1,1: 34:[13, 21] Operation: 43-22=21
Moving to Node #0,1,1
Current State: 34:[13, 21], Operations: ['94-81=13', '43-22=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
89,
51,
18,
3
] | 46 | [
"89+18=107",
"51*3=153",
"153-107=46"
] | Current State: 46:[89, 51, 18, 3], Operations: []
Exploring Operation: 89+18=107, Resulting Numbers: [51, 3, 107]
Generated Node #2: [51, 3, 107] from Operation: 89+18=107
Current State: 46:[51, 3, 107], Operations: ['89+18=107']
Exploring Operation: 51*3=153, Resulting Numbers: [107, 153]
Generated Node #3: [107, 153] from Operation: 51*3=153
Current State: 46:[107, 153], Operations: ['89+18=107', '51*3=153']
Exploring Operation: 153-107=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[89, 51, 18, 3], Operations: []
Exploring Operation: 51-3=48, Resulting Numbers: [89, 18, 48]
Generated Node #0,0: 46:[89, 18, 48] Operation: 51-3=48
Exploring Operation: 89-51=38, Resulting Numbers: [18, 3, 38]
Generated Node #0,1: 46:[18, 3, 38] Operation: 89-51=38
Exploring Operation: 89-18=71, Resulting Numbers: [51, 3, 71]
Generated Node #0,2: 46:[51, 3, 71] Operation: 89-18=71
Exploring Operation: 89-3=86, Resulting Numbers: [51, 18, 86]
Generated Node #0,3: 46:[51, 18, 86] Operation: 89-3=86
Exploring Operation: 18+3=21, Resulting Numbers: [89, 51, 21]
Generated Node #0,4: 46:[89, 51, 21] Operation: 18+3=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[18, 3, 38], Operations: ['89-51=38']
Exploring Operation: 18+3=21, Resulting Numbers: [38, 21]
Generated Node #0,1,0: 46:[38, 21] Operation: 18+3=21
Exploring Operation: 38-18=20, Resulting Numbers: [3, 20]
Generated Node #0,1,1: 46:[3, 20] Operation: 38-18=20
Exploring Operation: 18+38=56, Resulting Numbers: [3, 56]
Generated Node #0,1,2: 46:[3, 56] Operation: 18+38=56
Exploring Operation: 18/3=6, Resulting Numbers: [38, 6]
Generated Node #0,1,3: 46:[38, 6] Operation: 18/3=6
Exploring Operation: 3+38=41, Resulting Numbers: [18, 41]
Generated Node #0,1,4: 46:[18, 41] Operation: 3+38=41
Moving to Node #0,1,1
Current State: 46:[3, 20], Operations: ['89-51=38', '38-18=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[18, 41], Operations: ['89-51=38', '3+38=41']
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[38, 21], Operations: ['89-51=38', '18+3=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[3, 56], Operations: ['89-51=38', '18+38=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[38, 6], Operations: ['89-51=38', '18/3=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,46 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,46 unequal: No Solution
No 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: 46:[51, 3, 71], Operations: ['89-18=71']
Exploring Operation: 51-3=48, Resulting Numbers: [71, 48]
Generated Node #0,2,0: 46:[71, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [71, 17]
Generated Node #0,2,1: 46:[71, 17] Operation: 51/3=17
Exploring Operation: 71-51=20, Resulting Numbers: [3, 20]
Generated Node #0,2,2: 46:[3, 20] Operation: 71-51=20
Exploring Operation: 51+3=54, Resulting Numbers: [71, 54]
Generated Node #0,2,3: 46:[71, 54] Operation: 51+3=54
Exploring Operation: 71-3=68, Resulting Numbers: [51, 68]
Generated Node #0,2,4: 46:[51, 68] Operation: 71-3=68
Moving to Node #0,2,2
Current State: 46:[3, 20], Operations: ['89-18=71', '71-51=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Moving to Node #0,2,4
Current State: 46:[51, 68], Operations: ['89-18=71', '71-3=68']
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,46 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[71, 48], Operations: ['89-18=71', '51-3=48']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 71*48=3408, Resulting Numbers: [3408]
3408,46 unequal: No Solution
Exploring Operation: 71+48=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[71, 17], Operations: ['89-18=71', '51/3=17']
Exploring Operation: 71*17=1207, Resulting Numbers: [1207]
1207,46 unequal: No Solution
Exploring Operation: 71+17=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[71, 54], Operations: ['89-18=71', '51+3=54']
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,46 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,46 unequal: No Solution
No 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: 46:[89, 18, 48], Operations: ['51-3=48']
Exploring Operation: 89+18=107, Resulting Numbers: [48, 107]
Generated Node #0,0,0: 46:[48, 107] Operation: 89+18=107
Exploring Operation: 18+48=66, Resulting Numbers: [89, 66]
Generated Node #0,0,1: 46:[89, 66] Operation: 18+48=66
Exploring Operation: 89-18=71, Resulting Numbers: [48, 71]
Generated Node #0,0,2: 46:[48, 71] Operation: 89-18=71
Exploring Operation: 48-18=30, Resulting Numbers: [89, 30]
Generated Node #0,0,3: 46:[89, 30] Operation: 48-18=30
Exploring Operation: 89-48=41, Resulting Numbers: [18, 41]
Generated Node #0,0,4: 46:[18, 41] Operation: 89-48=41
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 46:[18, 41], Operations: ['51-3=48', '89-48=41']
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 46:[48, 71], Operations: ['51-3=48', '89-18=71']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 48+71=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 48*71=3408, Resulting Numbers: [3408]
3408,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 46:[89, 30], Operations: ['51-3=48', '48-18=30']
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,46 unequal: No Solution
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[48, 107], Operations: ['51-3=48', '89+18=107']
Exploring Operation: 48+107=155, Resulting Numbers: [155]
155,46 unequal: No Solution
Exploring Operation: 107-48=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 48*107=5136, Resulting Numbers: [5136]
5136,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[89, 66], Operations: ['51-3=48', '18+48=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,46 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[51, 18, 86], Operations: ['89-3=86']
Exploring Operation: 51+18=69, Resulting Numbers: [86, 69]
Generated Node #0,3,0: 46:[86, 69] Operation: 51+18=69
Exploring Operation: 51-18=33, Resulting Numbers: [86, 33]
Generated Node #0,3,1: 46:[86, 33] Operation: 51-18=33
Exploring Operation: 86-18=68, Resulting Numbers: [51, 68]
Generated Node #0,3,2: 46:[51, 68] Operation: 86-18=68
Exploring Operation: 18+86=104, Resulting Numbers: [51, 104]
Generated Node #0,3,3: 46:[51, 104] Operation: 18+86=104
Exploring Operation: 86-51=35, Resulting Numbers: [18, 35]
Generated Node #0,3,4: 46:[18, 35] Operation: 86-51=35
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 46:[18, 35], Operations: ['89-3=86', '86-51=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,46 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 46:[51, 68], Operations: ['89-3=86', '86-18=68']
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,46 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[86, 33], Operations: ['89-3=86', '51-18=33']
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 46:[86, 69], Operations: ['89-3=86', '51+18=69']
Exploring Operation: 86+69=155, Resulting Numbers: [155]
155,46 unequal: No Solution
Exploring Operation: 86*69=5934, Resulting Numbers: [5934]
5934,46 unequal: No Solution
Exploring Operation: 86-69=17, Resulting Numbers: [17]
17,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[51, 104], Operations: ['89-3=86', '18+86=104']
Exploring Operation: 51+104=155, Resulting Numbers: [155]
155,46 unequal: No Solution
Exploring Operation: 104-51=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 51*104=5304, Resulting Numbers: [5304]
5304,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 46:[89, 51, 21], Operations: ['18+3=21']
Exploring Operation: 51-21=30, Resulting Numbers: [89, 30]
Generated Node #0,4,0: 46:[89, 30] Operation: 51-21=30
Exploring Operation: 89+21=110, Resulting Numbers: [51, 110]
Generated Node #0,4,1: 46:[51, 110] Operation: 89+21=110
Exploring Operation: 89-51=38, Resulting Numbers: [21, 38]
Generated Node #0,4,2: 46:[21, 38] Operation: 89-51=38
Exploring Operation: 51+21=72, Resulting Numbers: [89, 72]
Generated Node #0,4,3: 46:[89, 72] Operation: 51+21=72
Exploring Operation: 89-21=68, Resulting Numbers: [51, 68]
Generated Node #0,4,4: 46:[51, 68] Operation: 89-21=68
Moving to Node #0,4,2
Current State: 46:[21, 38], Operations: ['18+3=21', '89-51=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,46 unequal: No Solution
Moving to Node #0,4,4
Current State: 46:[51, 68], Operations: ['18+3=21', '89-21=68']
Exploring Operation: 51*68=3468, Resulting Numbers: [3468]
3468,46 unequal: No Solution
Exploring Operation: 51+68=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 68-51=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,4,0
Current State: 46:[89, 30], Operations: ['18+3=21', '51-21=30']
Exploring Operation: 89*30=2670, Resulting Numbers: [2670]
2670,46 unequal: No Solution
Exploring Operation: 89+30=119, Resulting Numbers: [119]
119,46 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Moving to Node #0,4,1
Current State: 46:[51, 110], Operations: ['18+3=21', '89+21=110']
Exploring Operation: 51+110=161, Resulting Numbers: [161]
161,46 unequal: No Solution
Exploring Operation: 110-51=59, Resulting Numbers: [59]
59,46 unequal: No Solution
Exploring Operation: 51*110=5610, Resulting Numbers: [5610]
5610,46 unequal: No Solution
Moving to Node #0,4,3
Current State: 46:[89, 72], Operations: ['18+3=21', '51+21=72']
Exploring Operation: 89*72=6408, Resulting Numbers: [6408]
6408,46 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 89+72=161, Resulting Numbers: [161]
161,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
77,
52,
41,
2
] | 85 | [
"77+52=129",
"41+129=170",
"170/2=85"
] | Current State: 85:[77, 52, 41, 2], Operations: []
Exploring Operation: 77+52=129, Resulting Numbers: [41, 2, 129]
Generated Node #2: [41, 2, 129] from Operation: 77+52=129
Current State: 85:[41, 2, 129], Operations: ['77+52=129']
Exploring Operation: 41+129=170, Resulting Numbers: [2, 170]
Generated Node #3: [2, 170] from Operation: 41+129=170
Current State: 85:[2, 170], Operations: ['77+52=129', '41+129=170']
Exploring Operation: 170/2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[77, 52, 41, 2], Operations: []
Exploring Operation: 52-41=11, Resulting Numbers: [77, 2, 11]
Generated Node #0,0: 85:[77, 2, 11] Operation: 52-41=11
Exploring Operation: 77-52=25, Resulting Numbers: [41, 2, 25]
Generated Node #0,1: 85:[41, 2, 25] Operation: 77-52=25
Exploring Operation: 52+41=93, Resulting Numbers: [77, 2, 93]
Generated Node #0,2: 85:[77, 2, 93] Operation: 52+41=93
Exploring Operation: 52/2=26, Resulting Numbers: [77, 41, 26]
Generated Node #0,3: 85:[77, 41, 26] Operation: 52/2=26
Exploring Operation: 41*2=82, Resulting Numbers: [77, 52, 82]
Generated Node #0,4: 85:[77, 52, 82] Operation: 41*2=82
Moving to Node #0,0
Current State: 85:[77, 2, 11], Operations: ['52-41=11']
Exploring Operation: 77/11=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 85:[2, 7] Operation: 77/11=7
Exploring Operation: 11-2=9, Resulting Numbers: [77, 9]
Generated Node #0,0,1: 85:[77, 9] Operation: 11-2=9
Exploring Operation: 77+11=88, Resulting Numbers: [2, 88]
Generated Node #0,0,2: 85:[2, 88] Operation: 77+11=88
Exploring Operation: 2+11=13, Resulting Numbers: [77, 13]
Generated Node #0,0,3: 85:[77, 13] Operation: 2+11=13
Exploring Operation: 77+2=79, Resulting Numbers: [11, 79]
Generated Node #0,0,4: 85:[11, 79] Operation: 77+2=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[2, 7], Operations: ['52-41=11', '77/11=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,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:[2, 88], Operations: ['52-41=11', '77+11=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 2*88=176, Resulting Numbers: [176]
176,85 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,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:[77, 9], Operations: ['52-41=11', '11-2=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,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,3
Current State: 85:[77, 13], Operations: ['52-41=11', '2+11=13']
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,85 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,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,4
Current State: 85:[11, 79], Operations: ['52-41=11', '77+2=79']
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,85 unequal: No Solution
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[77, 2, 93], Operations: ['52+41=93']
Exploring Operation: 77+2=79, Resulting Numbers: [93, 79]
Generated Node #0,2,0: 85:[93, 79] Operation: 77+2=79
Exploring Operation: 93-77=16, Resulting Numbers: [2, 16]
Generated Node #0,2,1: 85:[2, 16] Operation: 93-77=16
Exploring Operation: 77-2=75, Resulting Numbers: [93, 75]
Generated Node #0,2,2: 85:[93, 75] Operation: 77-2=75
Exploring Operation: 93-2=91, Resulting Numbers: [77, 91]
Generated Node #0,2,3: 85:[77, 91] Operation: 93-2=91
Exploring Operation: 2+93=95, Resulting Numbers: [77, 95]
Generated Node #0,2,4: 85:[77, 95] Operation: 2+93=95
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[2, 16], Operations: ['52+41=93', '93-77=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,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,0
Current State: 85:[93, 79], Operations: ['52+41=93', '77+2=79']
Exploring Operation: 93-79=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 93*79=7347, Resulting Numbers: [7347]
7347,85 unequal: No Solution
Exploring Operation: 93+79=172, Resulting Numbers: [172]
172,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,3
Current State: 85:[77, 91], Operations: ['52+41=93', '93-2=91']
Exploring Operation: 77+91=168, Resulting Numbers: [168]
168,85 unequal: No Solution
Exploring Operation: 77*91=7007, Resulting Numbers: [7007]
7007,85 unequal: No Solution
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,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:[93, 75], Operations: ['52+41=93', '77-2=75']
Exploring Operation: 93*75=6975, Resulting Numbers: [6975]
6975,85 unequal: No Solution
Exploring Operation: 93+75=168, Resulting Numbers: [168]
168,85 unequal: No Solution
Exploring Operation: 93-75=18, Resulting Numbers: [18]
18,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,4
Current State: 85:[77, 95], Operations: ['52+41=93', '2+93=95']
Exploring Operation: 77+95=172, Resulting Numbers: [172]
172,85 unequal: No Solution
Exploring Operation: 77*95=7315, Resulting Numbers: [7315]
7315,85 unequal: No Solution
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,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:[41, 2, 25], Operations: ['77-52=25']
Exploring Operation: 41+25=66, Resulting Numbers: [2, 66]
Generated Node #0,1,0: 85:[2, 66] Operation: 41+25=66
Exploring Operation: 41*2=82, Resulting Numbers: [25, 82]
Generated Node #0,1,1: 85:[25, 82] Operation: 41*2=82
Exploring Operation: 25-2=23, Resulting Numbers: [41, 23]
Generated Node #0,1,2: 85:[41, 23] Operation: 25-2=23
Exploring Operation: 41-25=16, Resulting Numbers: [2, 16]
Generated Node #0,1,3: 85:[2, 16] Operation: 41-25=16
Exploring Operation: 41-2=39, Resulting Numbers: [25, 39]
Generated Node #0,1,4: 85:[25, 39] Operation: 41-2=39
Moving to Node #0,3
Current State: 85:[77, 41, 26], Operations: ['52/2=26']
Exploring Operation: 77+26=103, Resulting Numbers: [41, 103]
Generated Node #0,3,0: 85:[41, 103] Operation: 77+26=103
Exploring Operation: 77+41=118, Resulting Numbers: [26, 118]
Generated Node #0,3,1: 85:[26, 118] Operation: 77+41=118
Exploring Operation: 41+26=67, Resulting Numbers: [77, 67]
Generated Node #0,3,2: 85:[77, 67] Operation: 41+26=67
Exploring Operation: 41-26=15, Resulting Numbers: [77, 15]
Generated Node #0,3,3: 85:[77, 15] Operation: 41-26=15
Exploring Operation: 77-41=36, Resulting Numbers: [26, 36]
Generated Node #0,3,4: 85:[26, 36] Operation: 77-41=36
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[77, 15], Operations: ['52/2=26', '41-26=15']
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,85 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,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,3,2
Current State: 85:[77, 67], Operations: ['52/2=26', '41+26=67']
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 77*67=5159, Resulting Numbers: [5159]
5159,85 unequal: No Solution
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,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,3,4
Current State: 85:[26, 36], Operations: ['52/2=26', '77-41=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,85 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,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,3,0
Current State: 85:[41, 103], Operations: ['52/2=26', '77+26=103']
Exploring Operation: 41+103=144, Resulting Numbers: [144]
144,85 unequal: No Solution
Exploring Operation: 103-41=62, Resulting Numbers: [62]
62,85 unequal: No Solution
Exploring Operation: 41*103=4223, Resulting Numbers: [4223]
4223,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,3,1
Current State: 85:[26, 118], Operations: ['52/2=26', '77+41=118']
Exploring Operation: 118-26=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 26*118=3068, Resulting Numbers: [3068]
3068,85 unequal: No Solution
Exploring Operation: 26+118=144, Resulting Numbers: [144]
144,85 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: 85:[77, 52, 82], Operations: ['41*2=82']
Exploring Operation: 77+52=129, Resulting Numbers: [82, 129]
Generated Node #0,4,0: 85:[82, 129] Operation: 77+52=129
Exploring Operation: 77-52=25, Resulting Numbers: [82, 25]
Generated Node #0,4,1: 85:[82, 25] Operation: 77-52=25
Exploring Operation: 52+82=134, Resulting Numbers: [77, 134]
Generated Node #0,4,2: 85:[77, 134] Operation: 52+82=134
Exploring Operation: 82-77=5, Resulting Numbers: [52, 5]
Generated Node #0,4,3: 85:[52, 5] Operation: 82-77=5
Exploring Operation: 82-52=30, Resulting Numbers: [77, 30]
Generated Node #0,4,4: 85:[77, 30] Operation: 82-52=30
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 85:[82, 25], Operations: ['41*2=82', '77-52=25']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,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,4,4
Current State: 85:[77, 30], Operations: ['41*2=82', '82-52=30']
Exploring Operation: 77+30=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 77*30=2310, Resulting Numbers: [2310]
2310,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,4,3
Current State: 85:[52, 5], Operations: ['41*2=82', '82-77=5']
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,85 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,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,4,0
Current State: 85:[82, 129], Operations: ['41*2=82', '77+52=129']
Exploring Operation: 129-82=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 82*129=10578, Resulting Numbers: [10578]
10578,85 unequal: No Solution
Exploring Operation: 82+129=211, Resulting Numbers: [211]
211,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,4,2
Current State: 85:[77, 134], Operations: ['41*2=82', '52+82=134']
Exploring Operation: 77+134=211, Resulting Numbers: [211]
211,85 unequal: No Solution
Exploring Operation: 134-77=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Exploring Operation: 77*134=10318, Resulting Numbers: [10318]
10318,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 85:[2, 16], Operations: ['77-52=25', '41-25=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[25, 82], Operations: ['77-52=25', '41*2=82']
Exploring Operation: 25+82=107, Resulting Numbers: [107]
107,85 unequal: No Solution
Exploring Operation: 25*82=2050, Resulting Numbers: [2050]
2050,85 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[2, 66], Operations: ['77-52=25', '41+25=66']
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[41, 23], Operations: ['77-52=25', '25-2=23']
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,85 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[25, 39], Operations: ['77-52=25', '41-2=39']
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,85 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
25,
55,
15
] | 70 | [
"9*25=225",
"225/15=15",
"55+15=70"
] | Current State: 70:[9, 25, 55, 15], Operations: []
Exploring Operation: 9*25=225, Resulting Numbers: [55, 15, 225]
Generated Node #2: [55, 15, 225] from Operation: 9*25=225
Current State: 70:[55, 15, 225], Operations: ['9*25=225']
Exploring Operation: 225/15=15, Resulting Numbers: [55, 15]
Generated Node #3: [55, 15] from Operation: 225/15=15
Current State: 70:[55, 15], Operations: ['9*25=225', '225/15=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[9, 25, 55, 15], Operations: []
Exploring Operation: 55-25=30, Resulting Numbers: [9, 15, 30]
Generated Node #0,0: 70:[9, 15, 30] Operation: 55-25=30
Moving to Node #0,0
Current State: 70:[9, 15, 30], Operations: ['55-25=30']
Exploring Operation: 30/15=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 70:[9, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[9, 2], Operations: ['55-25=30', '30/15=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,70 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 |
[
34,
16,
28,
27
] | 51 | [
"34+16=50",
"28-27=1",
"50+1=51"
] | Current State: 51:[34, 16, 28, 27], Operations: []
Exploring Operation: 34+16=50, Resulting Numbers: [28, 27, 50]
Generated Node #2: [28, 27, 50] from Operation: 34+16=50
Current State: 51:[28, 27, 50], Operations: ['34+16=50']
Exploring Operation: 28-27=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 28-27=1
Current State: 51:[50, 1], Operations: ['34+16=50', '28-27=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[34, 16, 28, 27], Operations: []
Exploring Operation: 34-27=7, Resulting Numbers: [16, 28, 7]
Generated Node #0,0: 51:[16, 28, 7] Operation: 34-27=7
Exploring Operation: 28-27=1, Resulting Numbers: [34, 16, 1]
Generated Node #0,1: 51:[34, 16, 1] Operation: 28-27=1
Exploring Operation: 34+16=50, Resulting Numbers: [28, 27, 50]
Generated Node #0,2: 51:[28, 27, 50] Operation: 34+16=50
Exploring Operation: 34-28=6, Resulting Numbers: [16, 27, 6]
Generated Node #0,3: 51:[16, 27, 6] Operation: 34-28=6
Moving to Node #0,3
Current State: 51:[16, 27, 6], Operations: ['34-28=6']
Exploring Operation: 16+6=22, Resulting Numbers: [27, 22]
Generated Node #0,3,0: 51:[27, 22] Operation: 16+6=22
Exploring Operation: 16+27=43, Resulting Numbers: [6, 43]
Generated Node #0,3,1: 51:[6, 43] Operation: 16+27=43
Exploring Operation: 27-6=21, Resulting Numbers: [16, 21]
Generated Node #0,3,2: 51:[16, 21] Operation: 27-6=21
Exploring Operation: 27-16=11, Resulting Numbers: [6, 11]
Generated Node #0,3,3: 51:[6, 11] Operation: 27-16=11
Moving to Node #0,0
Current State: 51:[16, 28, 7], Operations: ['34-27=7']
Exploring Operation: 28-7=21, Resulting Numbers: [16, 21]
Generated Node #0,0,0: 51:[16, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [16, 4]
Generated Node #0,0,1: 51:[16, 4] Operation: 28/7=4
Exploring Operation: 16+28=44, Resulting Numbers: [7, 44]
Generated Node #0,0,2: 51:[7, 44] Operation: 16+28=44
Exploring Operation: 28-16=12, Resulting Numbers: [7, 12]
Generated Node #0,0,3: 51:[7, 12] Operation: 28-16=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 51:[16, 4], Operations: ['34-27=7', '28/7=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,51 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,51 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,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,0
Current State: 51:[16, 21], Operations: ['34-27=7', '28-7=21']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,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,3
Current State: 51:[7, 12], Operations: ['34-27=7', '28-16=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,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:[7, 44], Operations: ['34-27=7', '16+28=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,51 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,51 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[34, 16, 28, 27], Operations: []
Exploring Operation: 34-27=7, Resulting Numbers: [16, 28, 7]
Generated Node #0,0: 51:[16, 28, 7] Operation: 34-27=7
Moving to Node #0,0
Current State: 51:[16, 28, 7], Operations: ['34-27=7']
Exploring Operation: 16+28=44, Resulting Numbers: [7, 44]
Generated Node #0,0,2: 51:[7, 44] Operation: 16+28=44
Moving to Node #0,0,2
Current State: 51:[7, 44], Operations: ['34-27=7', '16+28=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
34,
24,
53,
15
] | 12 | [
"34*24=816",
"53+15=68",
"816/68=12"
] | Current State: 12:[34, 24, 53, 15], Operations: []
Exploring Operation: 34*24=816, Resulting Numbers: [53, 15, 816]
Generated Node #2: [53, 15, 816] from Operation: 34*24=816
Current State: 12:[53, 15, 816], Operations: ['34*24=816']
Exploring Operation: 53+15=68, Resulting Numbers: [816, 68]
Generated Node #3: [816, 68] from Operation: 53+15=68
Current State: 12:[816, 68], Operations: ['34*24=816', '53+15=68']
Exploring Operation: 816/68=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[34, 24, 53, 15], Operations: []
Exploring Operation: 53-15=38, Resulting Numbers: [34, 24, 38]
Generated Node #0,0: 12:[34, 24, 38] Operation: 53-15=38
Exploring Operation: 53-24=29, Resulting Numbers: [34, 15, 29]
Generated Node #0,1: 12:[34, 15, 29] Operation: 53-24=29
Exploring Operation: 34-15=19, Resulting Numbers: [24, 53, 19]
Generated Node #0,2: 12:[24, 53, 19] Operation: 34-15=19
Exploring Operation: 34-24=10, Resulting Numbers: [53, 15, 10]
Generated Node #0,3: 12:[53, 15, 10] Operation: 34-24=10
Exploring Operation: 53-34=19, Resulting Numbers: [24, 15, 19]
Generated Node #0,4: 12:[24, 15, 19] Operation: 53-34=19
Moving to Node #0,4
Current State: 12:[24, 15, 19], Operations: ['53-34=19']
Exploring Operation: 24-15=9, Resulting Numbers: [19, 9]
Generated Node #0,4,0: 12:[19, 9] Operation: 24-15=9
Exploring Operation: 19-15=4, Resulting Numbers: [24, 4]
Generated Node #0,4,1: 12:[24, 4] Operation: 19-15=4
Exploring Operation: 24+15=39, Resulting Numbers: [19, 39]
Generated Node #0,4,2: 12:[19, 39] Operation: 24+15=39
Exploring Operation: 24-19=5, Resulting Numbers: [15, 5]
Generated Node #0,4,3: 12:[15, 5] Operation: 24-19=5
Exploring Operation: 24+19=43, Resulting Numbers: [15, 43]
Generated Node #0,4,4: 12:[15, 43] Operation: 24+19=43
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 12:[15, 5], Operations: ['53-34=19', '24-19=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,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,4,0
Current State: 12:[19, 9], Operations: ['53-34=19', '24-15=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,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,4,1
Current State: 12:[24, 4], Operations: ['53-34=19', '19-15=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 12:[19, 39], Operations: ['53-34=19', '24+15=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,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,4,4
Current State: 12:[15, 43], Operations: ['53-34=19', '24+19=43']
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,12 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[34, 15, 29], Operations: ['53-24=29']
Exploring Operation: 29-15=14, Resulting Numbers: [34, 14]
Generated Node #0,1,0: 12:[34, 14] Operation: 29-15=14
Exploring Operation: 34-15=19, Resulting Numbers: [29, 19]
Generated Node #0,1,1: 12:[29, 19] Operation: 34-15=19
Exploring Operation: 34-29=5, Resulting Numbers: [15, 5]
Generated Node #0,1,2: 12:[15, 5] Operation: 34-29=5
Exploring Operation: 34+29=63, Resulting Numbers: [15, 63]
Generated Node #0,1,3: 12:[15, 63] Operation: 34+29=63
Exploring Operation: 34+15=49, Resulting Numbers: [29, 49]
Generated Node #0,1,4: 12:[29, 49] Operation: 34+15=49
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[15, 5], Operations: ['53-24=29', '34-29=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[34, 14], Operations: ['53-24=29', '29-15=14']
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,12 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[29, 19], Operations: ['53-24=29', '34-15=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,12 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[15, 63], Operations: ['53-24=29', '34+29=63']
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,12 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[29, 49], Operations: ['53-24=29', '34+15=49']
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,12 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 12:[53, 15, 10], Operations: ['34-24=10']
Exploring Operation: 53-10=43, Resulting Numbers: [15, 43]
Generated Node #0,3,0: 12:[15, 43] Operation: 53-10=43
Exploring Operation: 15-10=5, Resulting Numbers: [53, 5]
Generated Node #0,3,1: 12:[53, 5] Operation: 15-10=5
Exploring Operation: 53-15=38, Resulting Numbers: [10, 38]
Generated Node #0,3,2: 12:[10, 38] Operation: 53-15=38
Exploring Operation: 15+10=25, Resulting Numbers: [53, 25]
Generated Node #0,3,3: 12:[53, 25] Operation: 15+10=25
Exploring Operation: 53+10=63, Resulting Numbers: [15, 63]
Generated Node #0,3,4: 12:[15, 63] Operation: 53+10=63
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[10, 38], Operations: ['34-24=10', '53-15=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,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,3,0
Current State: 12:[15, 43], Operations: ['34-24=10', '53-10=43']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,12 unequal: No Solution
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,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,3,1
Current State: 12:[53, 5], Operations: ['34-24=10', '15-10=5']
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,12 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,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,3,3
Current State: 12:[53, 25], Operations: ['34-24=10', '15+10=25']
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,12 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,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,3,4
Current State: 12:[15, 63], Operations: ['34-24=10', '53+10=63']
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,12 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,12 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: 12:[34, 24, 38], Operations: ['53-15=38']
Exploring Operation: 34+24=58, Resulting Numbers: [38, 58]
Generated Node #0,0,0: 12:[38, 58] Operation: 34+24=58
Exploring Operation: 34+38=72, Resulting Numbers: [24, 72]
Generated Node #0,0,1: 12:[24, 72] Operation: 34+38=72
Exploring Operation: 38-24=14, Resulting Numbers: [34, 14]
Generated Node #0,0,2: 12:[34, 14] Operation: 38-24=14
Exploring Operation: 34-24=10, Resulting Numbers: [38, 10]
Generated Node #0,0,3: 12:[38, 10] Operation: 34-24=10
Exploring Operation: 38-34=4, Resulting Numbers: [24, 4]
Generated Node #0,0,4: 12:[24, 4] Operation: 38-34=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 12:[24, 4], Operations: ['53-15=38', '38-34=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[34, 14], Operations: ['53-15=38', '38-24=14']
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,12 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[38, 10], Operations: ['53-15=38', '34-24=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 38*10=380, Resulting Numbers: [380]
380,12 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[38, 58], Operations: ['53-15=38', '34+24=58']
Exploring Operation: 38+58=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 38*58=2204, Resulting Numbers: [2204]
2204,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[24, 72], Operations: ['53-15=38', '34+38=72']
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 24+72=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 24*72=1728, Resulting Numbers: [1728]
1728,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 12:[24, 53, 19], Operations: ['34-15=19']
Exploring Operation: 53-19=34, Resulting Numbers: [24, 34]
Generated Node #0,2,0: 12:[24, 34] Operation: 53-19=34
Exploring Operation: 24+19=43, Resulting Numbers: [53, 43]
Generated Node #0,2,1: 12:[53, 43] Operation: 24+19=43
Exploring Operation: 53-24=29, Resulting Numbers: [19, 29]
Generated Node #0,2,2: 12:[19, 29] Operation: 53-24=29
Exploring Operation: 24-19=5, Resulting Numbers: [53, 5]
Generated Node #0,2,3: 12:[53, 5] Operation: 24-19=5
Exploring Operation: 24+53=77, Resulting Numbers: [19, 77]
Generated Node #0,2,4: 12:[19, 77] Operation: 24+53=77
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[19, 29], Operations: ['34-15=19', '53-24=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,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,0
Current State: 12:[24, 34], Operations: ['34-15=19', '53-19=34']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[53, 5], Operations: ['34-15=19', '24-19=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,12 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[53, 43], Operations: ['34-15=19', '24+19=43']
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,12 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,12 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,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,4
Current State: 12:[19, 77], Operations: ['34-15=19', '24+53=77']
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,12 unequal: No Solution
Exploring Operation: 19*77=1463, Resulting Numbers: [1463]
1463,12 unequal: No Solution
Exploring Operation: 19+77=96, Resulting Numbers: [96]
96,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
61,
85,
13,
15
] | 73 | [
"61+85=146",
"15-13=2",
"146/2=73"
] | Current State: 73:[61, 85, 13, 15], Operations: []
Exploring Operation: 61+85=146, Resulting Numbers: [13, 15, 146]
Generated Node #2: [13, 15, 146] from Operation: 61+85=146
Current State: 73:[13, 15, 146], Operations: ['61+85=146']
Exploring Operation: 15-13=2, Resulting Numbers: [146, 2]
Generated Node #3: [146, 2] from Operation: 15-13=2
Current State: 73:[146, 2], Operations: ['61+85=146', '15-13=2']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[61, 85, 13, 15], Operations: []
Exploring Operation: 61+13=74, Resulting Numbers: [85, 15, 74]
Generated Node #0,0: 73:[85, 15, 74] Operation: 61+13=74
Exploring Operation: 13+15=28, Resulting Numbers: [61, 85, 28]
Generated Node #0,1: 73:[61, 85, 28] Operation: 13+15=28
Exploring Operation: 85-13=72, Resulting Numbers: [61, 15, 72]
Generated Node #0,2: 73:[61, 15, 72] Operation: 85-13=72
Exploring Operation: 61+15=76, Resulting Numbers: [85, 13, 76]
Generated Node #0,3: 73:[85, 13, 76] Operation: 61+15=76
Moving to Node #0,1
Current State: 73:[61, 85, 28], Operations: ['13+15=28']
Exploring Operation: 85-28=57, Resulting Numbers: [61, 57]
Generated Node #0,1,0: 73:[61, 57] Operation: 85-28=57
Exploring Operation: 85+28=113, Resulting Numbers: [61, 113]
Generated Node #0,1,1: 73:[61, 113] Operation: 85+28=113
Exploring Operation: 61+28=89, Resulting Numbers: [85, 89]
Generated Node #0,1,2: 73:[85, 89] Operation: 61+28=89
Exploring Operation: 61-28=33, Resulting Numbers: [85, 33]
Generated Node #0,1,3: 73:[85, 33] Operation: 61-28=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[61, 57], Operations: ['13+15=28', '85-28=57']
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,73 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[85, 89], Operations: ['13+15=28', '61+28=89']
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,73 unequal: No Solution
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[61, 113], Operations: ['13+15=28', '85+28=113']
Exploring Operation: 61+113=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 113-61=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 61*113=6893, Resulting Numbers: [6893]
6893,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[85, 33], Operations: ['13+15=28', '61-28=33']
Exploring Operation: 85*33=2805, Resulting Numbers: [2805]
2805,73 unequal: No Solution
Exploring Operation: 85+33=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,73 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: 73:[61, 15, 72], Operations: ['85-13=72']
Exploring Operation: 61+15=76, Resulting Numbers: [72, 76]
Generated Node #0,2,0: 73:[72, 76] Operation: 61+15=76
Exploring Operation: 72-15=57, Resulting Numbers: [61, 57]
Generated Node #0,2,1: 73:[61, 57] Operation: 72-15=57
Exploring Operation: 61-15=46, Resulting Numbers: [72, 46]
Generated Node #0,2,2: 73:[72, 46] Operation: 61-15=46
Exploring Operation: 15+72=87, Resulting Numbers: [61, 87]
Generated Node #0,2,3: 73:[61, 87] Operation: 15+72=87
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[72, 76], Operations: ['85-13=72', '61+15=76']
Exploring Operation: 72*76=5472, Resulting Numbers: [5472]
5472,73 unequal: No Solution
Exploring Operation: 72+76=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,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,2,3
Current State: 73:[61, 87], Operations: ['85-13=72', '15+72=87']
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 61+87=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 61*87=5307, Resulting Numbers: [5307]
5307,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,2,1
Current State: 73:[61, 57], Operations: ['85-13=72', '72-15=57']
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,73 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,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,2,2
Current State: 73:[72, 46], Operations: ['85-13=72', '61-15=46']
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,73 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,73 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,73 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: 73:[85, 15, 74], Operations: ['61+13=74']
Exploring Operation: 15+74=89, Resulting Numbers: [85, 89]
Generated Node #0,0,0: 73:[85, 89] Operation: 15+74=89
Exploring Operation: 85-15=70, Resulting Numbers: [74, 70]
Generated Node #0,0,1: 73:[74, 70] Operation: 85-15=70
Exploring Operation: 85+15=100, Resulting Numbers: [74, 100]
Generated Node #0,0,2: 73:[74, 100] Operation: 85+15=100
Exploring Operation: 74-15=59, Resulting Numbers: [85, 59]
Generated Node #0,0,3: 73:[85, 59] Operation: 74-15=59
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[74, 70], Operations: ['61+13=74', '85-15=70']
Exploring Operation: 74*70=5180, Resulting Numbers: [5180]
5180,73 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 74+70=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[85, 59], Operations: ['61+13=74', '74-15=59']
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 85*59=5015, Resulting Numbers: [5015]
5015,73 unequal: No Solution
Exploring Operation: 85+59=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[85, 89], Operations: ['61+13=74', '15+74=89']
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,73 unequal: No Solution
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[74, 100], Operations: ['61+13=74', '85+15=100']
Exploring Operation: 100-74=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 74*100=7400, Resulting Numbers: [7400]
7400,73 unequal: No Solution
Exploring Operation: 74+100=174, Resulting Numbers: [174]
174,73 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: 73:[85, 13, 76], Operations: ['61+15=76']
Exploring Operation: 13+76=89, Resulting Numbers: [85, 89]
Generated Node #0,3,0: 73:[85, 89] Operation: 13+76=89
Exploring Operation: 85+13=98, Resulting Numbers: [76, 98]
Generated Node #0,3,1: 73:[76, 98] Operation: 85+13=98
Exploring Operation: 85-13=72, Resulting Numbers: [76, 72]
Generated Node #0,3,2: 73:[76, 72] Operation: 85-13=72
Exploring Operation: 76-13=63, Resulting Numbers: [85, 63]
Generated Node #0,3,3: 73:[85, 63] Operation: 76-13=63
Moving to Node #0,3,2
Current State: 73:[76, 72], Operations: ['61+15=76', '85-13=72']
Exploring Operation: 76*72=5472, Resulting Numbers: [5472]
5472,73 unequal: No Solution
Exploring Operation: 76-72=4, Resulting Numbers: [4]
4,73 unequal: No Solution
Exploring Operation: 76+72=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[85, 63], Operations: ['61+15=76', '76-13=63']
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[76, 98], Operations: ['61+15=76', '85+13=98']
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,73 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[85, 89], Operations: ['61+15=76', '13+76=89']
Exploring Operation: 85+89=174, Resulting Numbers: [174]
174,73 unequal: No Solution
Exploring Operation: 85*89=7565, Resulting Numbers: [7565]
7565,73 unequal: No Solution
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,73 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
81,
73,
33,
70
] | 76 | [
"81-70=11",
"33/11=3",
"73+3=76"
] | Current State: 76:[81, 73, 33, 70], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [73, 33, 11]
Generated Node #2: [73, 33, 11] from Operation: 81-70=11
Current State: 76:[73, 33, 11], Operations: ['81-70=11']
Exploring Operation: 33/11=3, Resulting Numbers: [73, 3]
Generated Node #3: [73, 3] from Operation: 33/11=3
Current State: 76:[73, 3], Operations: ['81-70=11', '33/11=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[81, 73, 33, 70], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [81, 70, 40]
Generated Node #0,0: 76:[81, 70, 40] Operation: 73-33=40
Exploring Operation: 81-73=8, Resulting Numbers: [33, 70, 8]
Generated Node #0,1: 76:[33, 70, 8] Operation: 81-73=8
Exploring Operation: 70-33=37, Resulting Numbers: [81, 73, 37]
Generated Node #0,2: 76:[81, 73, 37] Operation: 70-33=37
Exploring Operation: 73-70=3, Resulting Numbers: [81, 33, 3]
Generated Node #0,3: 76:[81, 33, 3] Operation: 73-70=3
Exploring Operation: 81-70=11, Resulting Numbers: [73, 33, 11]
Generated Node #0,4: 76:[73, 33, 11] Operation: 81-70=11
Moving to Node #0,2
Current State: 76:[81, 73, 37], Operations: ['70-33=37']
Exploring Operation: 81+37=118, Resulting Numbers: [73, 118]
Generated Node #0,2,0: 76:[73, 118] Operation: 81+37=118
Exploring Operation: 73-37=36, Resulting Numbers: [81, 36]
Generated Node #0,2,1: 76:[81, 36] Operation: 73-37=36
Exploring Operation: 73+37=110, Resulting Numbers: [81, 110]
Generated Node #0,2,2: 76:[81, 110] Operation: 73+37=110
Exploring Operation: 81-73=8, Resulting Numbers: [37, 8]
Generated Node #0,2,3: 76:[37, 8] Operation: 81-73=8
Exploring Operation: 81-37=44, Resulting Numbers: [73, 44]
Generated Node #0,2,4: 76:[73, 44] Operation: 81-37=44
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 76:[37, 8], Operations: ['70-33=37', '81-73=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,76 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,76 unequal: No Solution
No 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: 76:[81, 36], Operations: ['70-33=37', '73-37=36']
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,76 unequal: No Solution
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,76 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,76 unequal: No Solution
No 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: 76:[73, 44], Operations: ['70-33=37', '81-37=44']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,76 unequal: No Solution
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,76 unequal: No Solution
No 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: 76:[81, 110], Operations: ['70-33=37', '73+37=110']
Exploring Operation: 81+110=191, Resulting Numbers: [191]
191,76 unequal: No Solution
Exploring Operation: 81*110=8910, Resulting Numbers: [8910]
8910,76 unequal: No Solution
Exploring Operation: 110-81=29, Resulting Numbers: [29]
29,76 unequal: No Solution
No 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: 76:[73, 118], Operations: ['70-33=37', '81+37=118']
Exploring Operation: 73*118=8614, Resulting Numbers: [8614]
8614,76 unequal: No Solution
Exploring Operation: 118-73=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 73+118=191, Resulting Numbers: [191]
191,76 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: 76:[81, 33, 3], Operations: ['73-70=3']
Exploring Operation: 81-33=48, Resulting Numbers: [3, 48]
Generated Node #0,3,0: 76:[3, 48] Operation: 81-33=48
Exploring Operation: 33/3=11, Resulting Numbers: [81, 11]
Generated Node #0,3,1: 76:[81, 11] Operation: 33/3=11
Exploring Operation: 33+3=36, Resulting Numbers: [81, 36]
Generated Node #0,3,2: 76:[81, 36] Operation: 33+3=36
Exploring Operation: 81+3=84, Resulting Numbers: [33, 84]
Generated Node #0,3,3: 76:[33, 84] Operation: 81+3=84
Exploring Operation: 81-3=78, Resulting Numbers: [33, 78]
Generated Node #0,3,4: 76:[33, 78] Operation: 81-3=78
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[81, 36], Operations: ['73-70=3', '33+3=36']
Exploring Operation: 81*36=2916, Resulting Numbers: [2916]
2916,76 unequal: No Solution
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 81+36=117, Resulting Numbers: [117]
117,76 unequal: No Solution
No 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: 76:[33, 78], Operations: ['73-70=3', '81-3=78']
Exploring Operation: 33*78=2574, Resulting Numbers: [2574]
2574,76 unequal: No Solution
Exploring Operation: 33+78=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,76 unequal: No Solution
No 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: 76:[3, 48], Operations: ['73-70=3', '81-33=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,76 unequal: No Solution
No 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: 76:[81, 11], Operations: ['73-70=3', '33/3=11']
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,76 unequal: No Solution
No 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: 76:[33, 84], Operations: ['73-70=3', '81+3=84']
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,76 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,76 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: 76:[81, 70, 40], Operations: ['73-33=40']
Exploring Operation: 70+40=110, Resulting Numbers: [81, 110]
Generated Node #0,0,0: 76:[81, 110] Operation: 70+40=110
Exploring Operation: 81+40=121, Resulting Numbers: [70, 121]
Generated Node #0,0,1: 76:[70, 121] Operation: 81+40=121
Exploring Operation: 70-40=30, Resulting Numbers: [81, 30]
Generated Node #0,0,2: 76:[81, 30] Operation: 70-40=30
Exploring Operation: 81-40=41, Resulting Numbers: [70, 41]
Generated Node #0,0,3: 76:[70, 41] Operation: 81-40=41
Exploring Operation: 81-70=11, Resulting Numbers: [40, 11]
Generated Node #0,0,4: 76:[40, 11] Operation: 81-70=11
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[70, 41], Operations: ['73-33=40', '81-40=41']
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,76 unequal: No Solution
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,76 unequal: No Solution
No 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: 76:[40, 11], Operations: ['73-33=40', '81-70=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,76 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,76 unequal: No Solution
No 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: 76:[81, 30], Operations: ['73-33=40', '70-40=30']
Exploring Operation: 81*30=2430, Resulting Numbers: [2430]
2430,76 unequal: No Solution
Exploring Operation: 81+30=111, Resulting Numbers: [111]
111,76 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,76 unequal: No Solution
No 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: 76:[81, 110], Operations: ['73-33=40', '70+40=110']
Exploring Operation: 81*110=8910, Resulting Numbers: [8910]
8910,76 unequal: No Solution
Exploring Operation: 110-81=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 81+110=191, Resulting Numbers: [191]
191,76 unequal: No Solution
No 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: 76:[70, 121], Operations: ['73-33=40', '81+40=121']
Exploring Operation: 70*121=8470, Resulting Numbers: [8470]
8470,76 unequal: No Solution
Exploring Operation: 121-70=51, Resulting Numbers: [51]
51,76 unequal: No Solution
Exploring Operation: 70+121=191, Resulting Numbers: [191]
191,76 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: 76:[33, 70, 8], Operations: ['81-73=8']
Exploring Operation: 33-8=25, Resulting Numbers: [70, 25]
Generated Node #0,1,0: 76:[70, 25] Operation: 33-8=25
Exploring Operation: 33+8=41, Resulting Numbers: [70, 41]
Generated Node #0,1,1: 76:[70, 41] Operation: 33+8=41
Exploring Operation: 70-8=62, Resulting Numbers: [33, 62]
Generated Node #0,1,2: 76:[33, 62] Operation: 70-8=62
Exploring Operation: 70+8=78, Resulting Numbers: [33, 78]
Generated Node #0,1,3: 76:[33, 78] Operation: 70+8=78
Exploring Operation: 70-33=37, Resulting Numbers: [8, 37]
Generated Node #0,1,4: 76:[8, 37] Operation: 70-33=37
Moving to Node #0,4
Current State: 76:[73, 33, 11], Operations: ['81-70=11']
Exploring Operation: 33/11=3, Resulting Numbers: [73, 3]
Generated Node #0,4,0: 76:[73, 3] Operation: 33/11=3
Exploring Operation: 73-33=40, Resulting Numbers: [11, 40]
Generated Node #0,4,1: 76:[11, 40] Operation: 73-33=40
Exploring Operation: 73+11=84, Resulting Numbers: [33, 84]
Generated Node #0,4,2: 76:[33, 84] Operation: 73+11=84
Exploring Operation: 33-11=22, Resulting Numbers: [73, 22]
Generated Node #0,4,3: 76:[73, 22] Operation: 33-11=22
Exploring Operation: 33+11=44, Resulting Numbers: [73, 44]
Generated Node #0,4,4: 76:[73, 44] Operation: 33+11=44
Moving to Node #0,4,0
Current State: 76:[73, 3], Operations: ['81-70=11', '33/11=3']
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,76 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[81, 73, 33, 70], Operations: []
Exploring Operation: 81-70=11, Resulting Numbers: [73, 33, 11]
Generated Node #0,4: 76:[73, 33, 11] Operation: 81-70=11
Moving to Node #0,4
Current State: 76:[73, 33, 11], Operations: ['81-70=11']
Exploring Operation: 33/11=3, Resulting Numbers: [73, 3]
Generated Node #0,4,0: 76:[73, 3] Operation: 33/11=3
Moving to Node #0,4,0
Current State: 76:[73, 3], Operations: ['81-70=11', '33/11=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.927951 | hs_5 | mult_heuristic |
[
14,
54,
20,
65
] | 63 | [
"54-14=40",
"40/20=2",
"65-2=63"
] | Current State: 63:[14, 54, 20, 65], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [20, 65, 40]
Generated Node #2: [20, 65, 40] from Operation: 54-14=40
Current State: 63:[20, 65, 40], Operations: ['54-14=40']
Exploring Operation: 40/20=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 40/20=2
Current State: 63:[65, 2], Operations: ['54-14=40', '40/20=2']
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[14, 54, 20, 65], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [14, 20, 11]
Generated Node #0,0: 63:[14, 20, 11] Operation: 65-54=11
Exploring Operation: 14+54=68, Resulting Numbers: [20, 65, 68]
Generated Node #0,1: 63:[20, 65, 68] Operation: 14+54=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[14, 20, 11], Operations: ['65-54=11']
Exploring Operation: 14-11=3, Resulting Numbers: [20, 3]
Generated Node #0,0,0: 63:[20, 3] Operation: 14-11=3
Exploring Operation: 20-14=6, Resulting Numbers: [11, 6]
Generated Node #0,0,1: 63:[11, 6] Operation: 20-14=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[20, 3], Operations: ['65-54=11', '14-11=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,63 unequal: No Solution
No 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: 63:[11, 6], Operations: ['65-54=11', '20-14=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,63 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: 63:[20, 65, 68], Operations: ['14+54=68']
Exploring Operation: 68-20=48, Resulting Numbers: [65, 48]
Generated Node #0,1,0: 63:[65, 48] Operation: 68-20=48
Exploring Operation: 68-65=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 63:[20, 3] Operation: 68-65=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[20, 3], Operations: ['14+54=68', '68-65=3']
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,63 unequal: No Solution
No 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: 63:[65, 48], Operations: ['14+54=68', '68-20=48']
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,63 unequal: No Solution
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,63 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 |
[
81,
99,
44,
9
] | 85 | [
"99/9=11",
"44/11=4",
"81+4=85"
] | Current State: 85:[81, 99, 44, 9], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [81, 44, 11]
Generated Node #2: [81, 44, 11] from Operation: 99/9=11
Current State: 85:[81, 44, 11], Operations: ['99/9=11']
Exploring Operation: 44/11=4, Resulting Numbers: [81, 4]
Generated Node #3: [81, 4] from Operation: 44/11=4
Current State: 85:[81, 4], Operations: ['99/9=11', '44/11=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[81, 99, 44, 9], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [44, 9, 18]
Generated Node #0,0: 85:[44, 9, 18] Operation: 99-81=18
Exploring Operation: 99-9=90, Resulting Numbers: [81, 44, 90]
Generated Node #0,1: 85:[81, 44, 90] Operation: 99-9=90
Exploring Operation: 44-9=35, Resulting Numbers: [81, 99, 35]
Generated Node #0,2: 85:[81, 99, 35] Operation: 44-9=35
Exploring Operation: 99/9=11, Resulting Numbers: [81, 44, 11]
Generated Node #0,3: 85:[81, 44, 11] Operation: 99/9=11
Moving to Node #0,0
Current State: 85:[44, 9, 18], Operations: ['99-81=18']
Exploring Operation: 44-18=26, Resulting Numbers: [9, 26]
Generated Node #0,0,0: 85:[9, 26] Operation: 44-18=26
Exploring Operation: 44-9=35, Resulting Numbers: [18, 35]
Generated Node #0,0,1: 85:[18, 35] Operation: 44-9=35
Exploring Operation: 18/9=2, Resulting Numbers: [44, 2]
Generated Node #0,0,2: 85:[44, 2] Operation: 18/9=2
Exploring Operation: 44+18=62, Resulting Numbers: [9, 62]
Generated Node #0,0,3: 85:[9, 62] Operation: 44+18=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[9, 26], Operations: ['99-81=18', '44-18=26']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,85 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,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:[18, 35], Operations: ['99-81=18', '44-9=35']
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,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,3
Current State: 85:[9, 62], Operations: ['99-81=18', '44+18=62']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,85 unequal: No Solution
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,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:[44, 2], Operations: ['99-81=18', '18/9=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,85 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,85 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[81, 99, 35], Operations: ['44-9=35']
Exploring Operation: 99-81=18, Resulting Numbers: [35, 18]
Generated Node #0,2,0: 85:[35, 18] Operation: 99-81=18
Exploring Operation: 99-35=64, Resulting Numbers: [81, 64]
Generated Node #0,2,1: 85:[81, 64] Operation: 99-35=64
Exploring Operation: 81+35=116, Resulting Numbers: [99, 116]
Generated Node #0,2,2: 85:[99, 116] Operation: 81+35=116
Exploring Operation: 81-35=46, Resulting Numbers: [99, 46]
Generated Node #0,2,3: 85:[99, 46] Operation: 81-35=46
Moving to Node #0,1
Current State: 85:[81, 44, 90], Operations: ['99-9=90']
Exploring Operation: 81-44=37, Resulting Numbers: [90, 37]
Generated Node #0,1,0: 85:[90, 37] Operation: 81-44=37
Exploring Operation: 81+44=125, Resulting Numbers: [90, 125]
Generated Node #0,1,1: 85:[90, 125] Operation: 81+44=125
Exploring Operation: 90-81=9, Resulting Numbers: [44, 9]
Generated Node #0,1,2: 85:[44, 9] Operation: 90-81=9
Exploring Operation: 90-44=46, Resulting Numbers: [81, 46]
Generated Node #0,1,3: 85:[81, 46] Operation: 90-44=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[90, 37], Operations: ['99-9=90', '81-44=37']
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,85 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,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,2
Current State: 85:[44, 9], Operations: ['99-9=90', '90-81=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,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,3
Current State: 85:[81, 46], Operations: ['99-9=90', '90-44=46']
Exploring Operation: 81+46=127, Resulting Numbers: [127]
127,85 unequal: No Solution
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 81*46=3726, Resulting Numbers: [3726]
3726,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:[90, 125], Operations: ['99-9=90', '81+44=125']
Exploring Operation: 90*125=11250, Resulting Numbers: [11250]
11250,85 unequal: No Solution
Exploring Operation: 90+125=215, Resulting Numbers: [215]
215,85 unequal: No Solution
Exploring Operation: 125-90=35, Resulting Numbers: [35]
35,85 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: 85:[81, 44, 11], Operations: ['99/9=11']
Exploring Operation: 44/11=4, Resulting Numbers: [81, 4]
Generated Node #0,3,0: 85:[81, 4] Operation: 44/11=4
Exploring Operation: 81-44=37, Resulting Numbers: [11, 37]
Generated Node #0,3,1: 85:[11, 37] Operation: 81-44=37
Exploring Operation: 81+11=92, Resulting Numbers: [44, 92]
Generated Node #0,3,2: 85:[44, 92] Operation: 81+11=92
Exploring Operation: 44-11=33, Resulting Numbers: [81, 33]
Generated Node #0,3,3: 85:[81, 33] Operation: 44-11=33
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[81, 4], Operations: ['99/9=11', '44/11=4']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,85 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[81, 99, 44, 9], Operations: []
Exploring Operation: 99/9=11, Resulting Numbers: [81, 44, 11]
Generated Node #0,3: 85:[81, 44, 11] Operation: 99/9=11
Moving to Node #0,3
Current State: 85:[81, 44, 11], Operations: ['99/9=11']
Exploring Operation: 44/11=4, Resulting Numbers: [81, 4]
Generated Node #0,3,0: 85:[81, 4] Operation: 44/11=4
Moving to Node #0,3,0
Current State: 85:[81, 4], Operations: ['99/9=11', '44/11=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_4 | sum_heuristic |
[
39,
2,
6,
20
] | 93 | [
"2+20=22",
"6*22=132",
"132-39=93"
] | Current State: 93:[39, 2, 6, 20], Operations: []
Exploring Operation: 2+20=22, Resulting Numbers: [39, 6, 22]
Generated Node #2: [39, 6, 22] from Operation: 2+20=22
Current State: 93:[39, 6, 22], Operations: ['2+20=22']
Exploring Operation: 6*22=132, Resulting Numbers: [39, 132]
Generated Node #3: [39, 132] from Operation: 6*22=132
Current State: 93:[39, 132], Operations: ['2+20=22', '6*22=132']
Exploring Operation: 132-39=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[39, 2, 6, 20], Operations: []
Exploring Operation: 39-6=33, Resulting Numbers: [2, 20, 33]
Generated Node #0,0: 93:[2, 20, 33] Operation: 39-6=33
Moving to Node #0,0
Current State: 93:[2, 20, 33], Operations: ['39-6=33']
Exploring Operation: 20/2=10, Resulting Numbers: [33, 10]
Generated Node #0,0,0: 93:[33, 10] Operation: 20/2=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[33, 10], Operations: ['39-6=33', '20/2=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
54,
11,
17
] | 58 | [
"17-11=6",
"54/6=9",
"67-9=58"
] | Current State: 58:[67, 54, 11, 17], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [67, 54, 6]
Generated Node #2: [67, 54, 6] from Operation: 17-11=6
Current State: 58:[67, 54, 6], Operations: ['17-11=6']
Exploring Operation: 54/6=9, Resulting Numbers: [67, 9]
Generated Node #3: [67, 9] from Operation: 54/6=9
Current State: 58:[67, 9], Operations: ['17-11=6', '54/6=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[67, 54, 11, 17], Operations: []
Exploring Operation: 11+17=28, Resulting Numbers: [67, 54, 28]
Generated Node #0,0: 58:[67, 54, 28] Operation: 11+17=28
Exploring Operation: 17-11=6, Resulting Numbers: [67, 54, 6]
Generated Node #0,1: 58:[67, 54, 6] Operation: 17-11=6
Moving to Node #0,0
Current State: 58:[67, 54, 28], Operations: ['11+17=28']
Exploring Operation: 54-28=26, Resulting Numbers: [67, 26]
Generated Node #0,0,0: 58:[67, 26] Operation: 54-28=26
Exploring Operation: 67-54=13, Resulting Numbers: [28, 13]
Generated Node #0,0,1: 58:[28, 13] Operation: 67-54=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[67, 26], Operations: ['11+17=28', '54-28=26']
Exploring Operation: 67+26=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[28, 13], Operations: ['11+17=28', '67-54=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,58 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: 58:[67, 54, 6], Operations: ['17-11=6']
Exploring Operation: 54+6=60, Resulting Numbers: [67, 60]
Generated Node #0,1,0: 58:[67, 60] Operation: 54+6=60
Exploring Operation: 67-6=61, Resulting Numbers: [54, 61]
Generated Node #0,1,1: 58:[54, 61] Operation: 67-6=61
Moving to Node #0,1,1
Current State: 58:[54, 61], Operations: ['17-11=6', '67-6=61']
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[67, 60], Operations: ['17-11=6', '54+6=60']
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,58 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
73,
72,
61
] | 40 | [
"73-22=51",
"72-61=11",
"51-11=40"
] | Current State: 40:[22, 73, 72, 61], Operations: []
Exploring Operation: 73-22=51, Resulting Numbers: [72, 61, 51]
Generated Node #2: [72, 61, 51] from Operation: 73-22=51
Current State: 40:[72, 61, 51], Operations: ['73-22=51']
Exploring Operation: 72-61=11, Resulting Numbers: [51, 11]
Generated Node #3: [51, 11] from Operation: 72-61=11
Current State: 40:[51, 11], Operations: ['73-22=51', '72-61=11']
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[22, 73, 72, 61], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [22, 72, 12]
Generated Node #0,0: 40:[22, 72, 12] Operation: 73-61=12
Exploring Operation: 73-72=1, Resulting Numbers: [22, 61, 1]
Generated Node #0,1: 40:[22, 61, 1] Operation: 73-72=1
Exploring Operation: 72-61=11, Resulting Numbers: [22, 73, 11]
Generated Node #0,2: 40:[22, 73, 11] Operation: 72-61=11
Exploring Operation: 73-22=51, Resulting Numbers: [72, 61, 51]
Generated Node #0,3: 40:[72, 61, 51] Operation: 73-22=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[22, 61, 1], Operations: ['73-72=1']
Exploring Operation: 61-22=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 40:[1, 39] Operation: 61-22=39
Exploring Operation: 22*1=22, Resulting Numbers: [61, 22]
Generated Node #0,1,1: 40:[61, 22] Operation: 22*1=22
Exploring Operation: 22-1=21, Resulting Numbers: [61, 21]
Generated Node #0,1,2: 40:[61, 21] Operation: 22-1=21
Exploring Operation: 61-1=60, Resulting Numbers: [22, 60]
Generated Node #0,1,3: 40:[22, 60] Operation: 61-1=60
Moving to Node #0,1,0
Current State: 40:[1, 39], Operations: ['73-72=1', '61-22=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[22, 73, 72, 61], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [22, 61, 1]
Generated Node #0,1: 40:[22, 61, 1] Operation: 73-72=1
Moving to Node #0,1
Current State: 40:[22, 61, 1], Operations: ['73-72=1']
Exploring Operation: 61-22=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 40:[1, 39] Operation: 61-22=39
Moving to Node #0,1,0
Current State: 40:[1, 39], Operations: ['73-72=1', '61-22=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
26,
92,
9,
18
] | 64 | [
"92-26=66",
"18/9=2",
"66-2=64"
] | Current State: 64:[26, 92, 9, 18], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [9, 18, 66]
Generated Node #2: [9, 18, 66] from Operation: 92-26=66
Current State: 64:[9, 18, 66], Operations: ['92-26=66']
Exploring Operation: 18/9=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 18/9=2
Current State: 64:[66, 2], Operations: ['92-26=66', '18/9=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[26, 92, 9, 18], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [9, 18, 66]
Generated Node #0,0: 64:[9, 18, 66] Operation: 92-26=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[9, 18, 66], Operations: ['92-26=66']
Exploring Operation: 18/9=2, Resulting Numbers: [66, 2]
Generated Node #0,0,0: 64:[66, 2] Operation: 18/9=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[66, 2], Operations: ['92-26=66', '18/9=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[26, 92, 9, 18], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [9, 18, 66]
Generated Node #0,0: 64:[9, 18, 66] Operation: 92-26=66
Moving to Node #0,0
Current State: 64:[9, 18, 66], Operations: ['92-26=66']
Exploring Operation: 18/9=2, Resulting Numbers: [66, 2]
Generated Node #0,0,0: 64:[66, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 64:[66, 2], Operations: ['92-26=66', '18/9=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
16,
49,
53,
68
] | 64 | [
"53-49=4",
"16/4=4",
"68-4=64"
] | Current State: 64:[16, 49, 53, 68], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [16, 68, 4]
Generated Node #2: [16, 68, 4] from Operation: 53-49=4
Current State: 64:[16, 68, 4], Operations: ['53-49=4']
Exploring Operation: 16/4=4, Resulting Numbers: [68, 4]
Generated Node #3: [68, 4] from Operation: 16/4=4
Current State: 64:[68, 4], Operations: ['53-49=4', '16/4=4']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[16, 49, 53, 68], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [16, 68, 4]
Generated Node #0,0: 64:[16, 68, 4] Operation: 53-49=4
Exploring Operation: 68-49=19, Resulting Numbers: [16, 53, 19]
Generated Node #0,1: 64:[16, 53, 19] Operation: 68-49=19
Exploring Operation: 16+49=65, Resulting Numbers: [53, 68, 65]
Generated Node #0,2: 64:[53, 68, 65] Operation: 16+49=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[16, 68, 4], Operations: ['53-49=4']
Exploring Operation: 68/4=17, Resulting Numbers: [16, 17]
Generated Node #0,0,0: 64:[16, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [16, 64]
Generated Node #0,0,1: 64:[16, 64] Operation: 68-4=64
Exploring Operation: 16*4=64, Resulting Numbers: [68, 64]
Generated Node #0,0,2: 64:[68, 64] Operation: 16*4=64
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[16, 64], Operations: ['53-49=4', '68-4=64']
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,64 unequal: No Solution
Exploring Operation: 16+64=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[16, 17], Operations: ['53-49=4', '68/4=17']
Exploring Operation: 16*17=272, Resulting Numbers: [272]
272,64 unequal: No Solution
Exploring Operation: 16+17=33, Resulting Numbers: [33]
33,64 unequal: No Solution
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[68, 64], Operations: ['53-49=4', '16*4=64']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,64 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[16, 53, 19], Operations: ['68-49=19']
Exploring Operation: 53-16=37, Resulting Numbers: [19, 37]
Generated Node #0,1,0: 64:[19, 37] Operation: 53-16=37
Exploring Operation: 16+53=69, Resulting Numbers: [19, 69]
Generated Node #0,1,1: 64:[19, 69] Operation: 16+53=69
Exploring Operation: 53-19=34, Resulting Numbers: [16, 34]
Generated Node #0,1,2: 64:[16, 34] Operation: 53-19=34
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[16, 34], Operations: ['68-49=19', '53-19=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,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,0
Current State: 64:[19, 37], Operations: ['68-49=19', '53-16=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,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:[19, 69], Operations: ['68-49=19', '16+53=69']
Exploring Operation: 19+69=88, Resulting Numbers: [88]
88,64 unequal: No Solution
Exploring Operation: 19*69=1311, Resulting Numbers: [1311]
1311,64 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,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,2
Current State: 64:[53, 68, 65], Operations: ['16+49=65']
Exploring Operation: 68-53=15, Resulting Numbers: [65, 15]
Generated Node #0,2,0: 64:[65, 15] Operation: 68-53=15
Exploring Operation: 65-53=12, Resulting Numbers: [68, 12]
Generated Node #0,2,1: 64:[68, 12] Operation: 65-53=12
Exploring Operation: 68-65=3, Resulting Numbers: [53, 3]
Generated Node #0,2,2: 64:[53, 3] Operation: 68-65=3
Moving to Node #0,2,0
Current State: 64:[65, 15], Operations: ['16+49=65', '68-53=15']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[68, 12], Operations: ['16+49=65', '65-53=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,64 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[53, 3], Operations: ['16+49=65', '68-65=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,64 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,64 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 |
[
67,
36,
35,
24
] | 91 | [
"67+24=91",
"36-35=1",
"91*1=91"
] | Current State: 91:[67, 36, 35, 24], Operations: []
Exploring Operation: 67+24=91, Resulting Numbers: [36, 35, 91]
Generated Node #2: [36, 35, 91] from Operation: 67+24=91
Current State: 91:[36, 35, 91], Operations: ['67+24=91']
Exploring Operation: 36-35=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 36-35=1
Current State: 91:[91, 1], Operations: ['67+24=91', '36-35=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[67, 36, 35, 24], Operations: []
Exploring Operation: 67+35=102, Resulting Numbers: [36, 24, 102]
Generated Node #0,0: 91:[36, 24, 102] Operation: 67+35=102
Exploring Operation: 67+36=103, Resulting Numbers: [35, 24, 103]
Generated Node #0,1: 91:[35, 24, 103] Operation: 67+36=103
Exploring Operation: 36-35=1, Resulting Numbers: [67, 24, 1]
Generated Node #0,2: 91:[67, 24, 1] Operation: 36-35=1
Exploring Operation: 67+24=91, Resulting Numbers: [36, 35, 91]
Generated Node #0,3: 91:[36, 35, 91] Operation: 67+24=91
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[67, 24, 1], Operations: ['36-35=1']
Exploring Operation: 67*1=67, Resulting Numbers: [24, 67]
Generated Node #0,2,0: 91:[24, 67] Operation: 67*1=67
Exploring Operation: 67+1=68, Resulting Numbers: [24, 68]
Generated Node #0,2,1: 91:[24, 68] Operation: 67+1=68
Exploring Operation: 67+24=91, Resulting Numbers: [1, 91]
Generated Node #0,2,2: 91:[1, 91] Operation: 67+24=91
Exploring Operation: 24-1=23, Resulting Numbers: [67, 23]
Generated Node #0,2,3: 91:[67, 23] Operation: 24-1=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[1, 91], Operations: ['36-35=1', '67+24=91']
Exploring Operation: 1+91=92, Resulting Numbers: [92]
92,91 unequal: No Solution
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[67, 36, 35, 24], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [67, 24, 1]
Generated Node #0,2: 91:[67, 24, 1] Operation: 36-35=1
Moving to Node #0,2
Current State: 91:[67, 24, 1], Operations: ['36-35=1']
Exploring Operation: 67+24=91, Resulting Numbers: [1, 91]
Generated Node #0,2,2: 91:[1, 91] Operation: 67+24=91
Moving to Node #0,2,2
Current State: 91:[1, 91], Operations: ['36-35=1', '67+24=91']
Exploring Operation: 1*91=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
51,
59,
2,
42
] | 92 | [
"59-51=8",
"2*42=84",
"8+84=92"
] | Current State: 92:[51, 59, 2, 42], Operations: []
Exploring Operation: 59-51=8, Resulting Numbers: [2, 42, 8]
Generated Node #2: [2, 42, 8] from Operation: 59-51=8
Current State: 92:[2, 42, 8], Operations: ['59-51=8']
Exploring Operation: 2*42=84, Resulting Numbers: [8, 84]
Generated Node #3: [8, 84] from Operation: 2*42=84
Current State: 92:[8, 84], Operations: ['59-51=8', '2*42=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[51, 59, 2, 42], Operations: []
Exploring Operation: 59-42=17, Resulting Numbers: [51, 2, 17]
Generated Node #0,0: 92:[51, 2, 17] Operation: 59-42=17
Exploring Operation: 59-51=8, Resulting Numbers: [2, 42, 8]
Generated Node #0,1: 92:[2, 42, 8] Operation: 59-51=8
Exploring Operation: 51+42=93, Resulting Numbers: [59, 2, 93]
Generated Node #0,2: 92:[59, 2, 93] Operation: 51+42=93
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[2, 42, 8], Operations: ['59-51=8']
Exploring Operation: 8/2=4, Resulting Numbers: [42, 4]
Generated Node #0,1,0: 92:[42, 4] Operation: 8/2=4
Exploring Operation: 2+42=44, Resulting Numbers: [8, 44]
Generated Node #0,1,1: 92:[8, 44] Operation: 2+42=44
Exploring Operation: 42+8=50, Resulting Numbers: [2, 50]
Generated Node #0,1,2: 92:[2, 50] Operation: 42+8=50
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[42, 4], Operations: ['59-51=8', '8/2=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,92 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,92 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,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,2
Current State: 92:[2, 50], Operations: ['59-51=8', '42+8=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,92 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 92:[8, 44], Operations: ['59-51=8', '2+42=44']
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,92 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[51, 2, 17], Operations: ['59-42=17']
Exploring Operation: 51/17=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 92:[2, 3] Operation: 51/17=3
Exploring Operation: 51-2=49, Resulting Numbers: [17, 49]
Generated Node #0,0,1: 92:[17, 49] Operation: 51-2=49
Exploring Operation: 2+17=19, Resulting Numbers: [51, 19]
Generated Node #0,0,2: 92:[51, 19] Operation: 2+17=19
Moving to Node #0,0,0
Current State: 92:[2, 3], Operations: ['59-42=17', '51/17=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[17, 49], Operations: ['59-42=17', '51-2=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,92 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[51, 19], Operations: ['59-42=17', '2+17=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,92 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[59, 2, 93], Operations: ['51+42=93']
Exploring Operation: 93-2=91, Resulting Numbers: [59, 91]
Generated Node #0,2,0: 92:[59, 91] Operation: 93-2=91
Exploring Operation: 93-59=34, Resulting Numbers: [2, 34]
Generated Node #0,2,1: 92:[2, 34] Operation: 93-59=34
Exploring Operation: 59-2=57, Resulting Numbers: [93, 57]
Generated Node #0,2,2: 92:[93, 57] Operation: 59-2=57
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[2, 34], Operations: ['51+42=93', '93-59=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,92 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[93, 57], Operations: ['51+42=93', '59-2=57']
Exploring Operation: 93+57=150, Resulting Numbers: [150]
150,92 unequal: No Solution
Exploring Operation: 93*57=5301, Resulting Numbers: [5301]
5301,92 unequal: No Solution
Exploring Operation: 93-57=36, Resulting Numbers: [36]
36,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[59, 91], Operations: ['51+42=93', '93-2=91']
Exploring Operation: 91-59=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 59*91=5369, Resulting Numbers: [5369]
5369,92 unequal: No Solution
Exploring Operation: 59+91=150, Resulting Numbers: [150]
150,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_3 | mult_heuristic |
[
58,
94,
95,
89
] | 39 | [
"94-89=5",
"95/5=19",
"58-19=39"
] | Current State: 39:[58, 94, 95, 89], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [58, 95, 5]
Generated Node #2: [58, 95, 5] from Operation: 94-89=5
Current State: 39:[58, 95, 5], Operations: ['94-89=5']
Exploring Operation: 95/5=19, Resulting Numbers: [58, 19]
Generated Node #3: [58, 19] from Operation: 95/5=19
Current State: 39:[58, 19], Operations: ['94-89=5', '95/5=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[58, 94, 95, 89], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [58, 95, 5]
Generated Node #0,0: 39:[58, 95, 5] Operation: 94-89=5
Exploring Operation: 95-94=1, Resulting Numbers: [58, 89, 1]
Generated Node #0,1: 39:[58, 89, 1] Operation: 95-94=1
Moving to Node #0,1
Current State: 39:[58, 89, 1], Operations: ['95-94=1']
Exploring Operation: 89-58=31, Resulting Numbers: [1, 31]
Generated Node #0,1,0: 39:[1, 31] Operation: 89-58=31
Exploring Operation: 58-1=57, Resulting Numbers: [89, 57]
Generated Node #0,1,1: 39:[89, 57] Operation: 58-1=57
Moving to Node #0,0
Current State: 39:[58, 95, 5], Operations: ['94-89=5']
Exploring Operation: 95-58=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 39:[5, 37] Operation: 95-58=37
Exploring Operation: 95/5=19, Resulting Numbers: [58, 19]
Generated Node #0,0,1: 39:[58, 19] Operation: 95/5=19
Moving to Node #0,0,0
Current State: 39:[5, 37], Operations: ['94-89=5', '95-58=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[1, 31], Operations: ['95-94=1', '89-58=31']
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[58, 19], Operations: ['94-89=5', '95/5=19']
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[58, 94, 95, 89], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [58, 95, 5]
Generated Node #0,0: 39:[58, 95, 5] Operation: 94-89=5
Moving to Node #0,0
Current State: 39:[58, 95, 5], Operations: ['94-89=5']
Exploring Operation: 95/5=19, Resulting Numbers: [58, 19]
Generated Node #0,0,1: 39:[58, 19] Operation: 95/5=19
Moving to Node #0,0,1
Current State: 39:[58, 19], Operations: ['94-89=5', '95/5=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
88,
55,
85,
40
] | 45 | [
"88-85=3",
"55-40=15",
"3*15=45"
] | Current State: 45:[88, 55, 85, 40], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [55, 40, 3]
Generated Node #2: [55, 40, 3] from Operation: 88-85=3
Current State: 45:[55, 40, 3], Operations: ['88-85=3']
Exploring Operation: 55-40=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 55-40=15
Current State: 45:[3, 15], Operations: ['88-85=3', '55-40=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[88, 55, 85, 40], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [55, 40, 3]
Generated Node #0,0: 45:[55, 40, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 45:[55, 40, 3], Operations: ['88-85=3']
Exploring Operation: 55-40=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 55-40=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['88-85=3', '55-40=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[88, 55, 85, 40], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [55, 40, 3]
Generated Node #0,0: 45:[55, 40, 3] Operation: 88-85=3
Moving to Node #0,0
Current State: 45:[55, 40, 3], Operations: ['88-85=3']
Exploring Operation: 55-40=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 45:[3, 15] Operation: 55-40=15
Moving to Node #0,0,0
Current State: 45:[3, 15], Operations: ['88-85=3', '55-40=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
97,
53,
92,
91
] | 44 | [
"97-53=44",
"92-91=1",
"44*1=44"
] | Current State: 44:[97, 53, 92, 91], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [92, 91, 44]
Generated Node #2: [92, 91, 44] from Operation: 97-53=44
Current State: 44:[92, 91, 44], Operations: ['97-53=44']
Exploring Operation: 92-91=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 92-91=1
Current State: 44:[44, 1], Operations: ['97-53=44', '92-91=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[97, 53, 92, 91], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [53, 92, 6]
Generated Node #0,0: 44:[53, 92, 6] Operation: 97-91=6
Exploring Operation: 92-53=39, Resulting Numbers: [97, 91, 39]
Generated Node #0,1: 44:[97, 91, 39] Operation: 92-53=39
Exploring Operation: 97-53=44, Resulting Numbers: [92, 91, 44]
Generated Node #0,2: 44:[92, 91, 44] Operation: 97-53=44
Exploring Operation: 97-92=5, Resulting Numbers: [53, 91, 5]
Generated Node #0,3: 44:[53, 91, 5] Operation: 97-92=5
Exploring Operation: 92-91=1, Resulting Numbers: [97, 53, 1]
Generated Node #0,4: 44:[97, 53, 1] Operation: 92-91=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[53, 91, 5], Operations: ['97-92=5']
Exploring Operation: 91-53=38, Resulting Numbers: [5, 38]
Generated Node #0,3,0: 44:[5, 38] Operation: 91-53=38
Exploring Operation: 53-5=48, Resulting Numbers: [91, 48]
Generated Node #0,3,1: 44:[91, 48] Operation: 53-5=48
Exploring Operation: 53+5=58, Resulting Numbers: [91, 58]
Generated Node #0,3,2: 44:[91, 58] Operation: 53+5=58
Exploring Operation: 91-5=86, Resulting Numbers: [53, 86]
Generated Node #0,3,3: 44:[53, 86] Operation: 91-5=86
Exploring Operation: 91+5=96, Resulting Numbers: [53, 96]
Generated Node #0,3,4: 44:[53, 96] Operation: 91+5=96
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 44:[5, 38], Operations: ['97-92=5', '91-53=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,44 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 44:[91, 48], Operations: ['97-92=5', '53-5=48']
Exploring Operation: 91+48=139, Resulting Numbers: [139]
139,44 unequal: No Solution
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 91*48=4368, Resulting Numbers: [4368]
4368,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[53, 86], Operations: ['97-92=5', '91-5=86']
Exploring Operation: 53*86=4558, Resulting Numbers: [4558]
4558,44 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 53+86=139, Resulting Numbers: [139]
139,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 44:[91, 58], Operations: ['97-92=5', '53+5=58']
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,44 unequal: No Solution
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,44 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[53, 96], Operations: ['97-92=5', '91+5=96']
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,44 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,44 unequal: No Solution
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[53, 92, 6], Operations: ['97-91=6']
Exploring Operation: 92+6=98, Resulting Numbers: [53, 98]
Generated Node #0,0,0: 44:[53, 98] Operation: 92+6=98
Exploring Operation: 53+6=59, Resulting Numbers: [92, 59]
Generated Node #0,0,1: 44:[92, 59] Operation: 53+6=59
Exploring Operation: 92-6=86, Resulting Numbers: [53, 86]
Generated Node #0,0,2: 44:[53, 86] Operation: 92-6=86
Exploring Operation: 92-53=39, Resulting Numbers: [6, 39]
Generated Node #0,0,3: 44:[6, 39] Operation: 92-53=39
Exploring Operation: 53-6=47, Resulting Numbers: [92, 47]
Generated Node #0,0,4: 44:[92, 47] Operation: 53-6=47
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 44:[6, 39], Operations: ['97-91=6', '92-53=39']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,44 unequal: No Solution
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[53, 86], Operations: ['97-91=6', '92-6=86']
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 53+86=139, Resulting Numbers: [139]
139,44 unequal: No Solution
Exploring Operation: 53*86=4558, Resulting Numbers: [4558]
4558,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 44:[92, 47], Operations: ['97-91=6', '53-6=47']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,44 unequal: No Solution
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[53, 98], Operations: ['97-91=6', '92+6=98']
Exploring Operation: 98-53=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 53*98=5194, Resulting Numbers: [5194]
5194,44 unequal: No Solution
Exploring Operation: 53+98=151, Resulting Numbers: [151]
151,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[92, 59], Operations: ['97-91=6', '53+6=59']
Exploring Operation: 92-59=33, Resulting Numbers: [33]
33,44 unequal: No Solution
Exploring Operation: 92*59=5428, Resulting Numbers: [5428]
5428,44 unequal: No Solution
Exploring Operation: 92+59=151, Resulting Numbers: [151]
151,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 44:[97, 53, 1], Operations: ['92-91=1']
Exploring Operation: 97/1=97, Resulting Numbers: [53, 97]
Generated Node #0,4,0: 44:[53, 97] Operation: 97/1=97
Exploring Operation: 53-1=52, Resulting Numbers: [97, 52]
Generated Node #0,4,1: 44:[97, 52] Operation: 53-1=52
Exploring Operation: 97*1=97, Resulting Numbers: [53, 97]
Generated Node #0,4,2: 44:[53, 97] Operation: 97*1=97
Exploring Operation: 97-1=96, Resulting Numbers: [53, 96]
Generated Node #0,4,3: 44:[53, 96] Operation: 97-1=96
Exploring Operation: 97-53=44, Resulting Numbers: [1, 44]
Generated Node #0,4,4: 44:[1, 44] Operation: 97-53=44
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 44:[1, 44], Operations: ['92-91=1', '97-53=44']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[97, 53, 92, 91], Operations: []
Exploring Operation: 92-91=1, Resulting Numbers: [97, 53, 1]
Generated Node #0,4: 44:[97, 53, 1] Operation: 92-91=1
Moving to Node #0,4
Current State: 44:[97, 53, 1], Operations: ['92-91=1']
Exploring Operation: 97-53=44, Resulting Numbers: [1, 44]
Generated Node #0,4,4: 44:[1, 44] Operation: 97-53=44
Moving to Node #0,4,4
Current State: 44:[1, 44], Operations: ['92-91=1', '97-53=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_5 | mult_heuristic |
[
18,
56,
84,
77
] | 45 | [
"56-18=38",
"84-77=7",
"38+7=45"
] | Current State: 45:[18, 56, 84, 77], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [84, 77, 38]
Generated Node #2: [84, 77, 38] from Operation: 56-18=38
Current State: 45:[84, 77, 38], Operations: ['56-18=38']
Exploring Operation: 84-77=7, Resulting Numbers: [38, 7]
Generated Node #3: [38, 7] from Operation: 84-77=7
Current State: 45:[38, 7], Operations: ['56-18=38', '84-77=7']
Exploring Operation: 38+7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[18, 56, 84, 77], Operations: []
Exploring Operation: 84-77=7, Resulting Numbers: [18, 56, 7]
Generated Node #0,0: 45:[18, 56, 7] Operation: 84-77=7
Exploring Operation: 84-56=28, Resulting Numbers: [18, 77, 28]
Generated Node #0,1: 45:[18, 77, 28] Operation: 84-56=28
Moving to Node #0,0
Current State: 45:[18, 56, 7], Operations: ['84-77=7']
Exploring Operation: 56-7=49, Resulting Numbers: [18, 49]
Generated Node #0,0,0: 45:[18, 49] Operation: 56-7=49
Exploring Operation: 56/7=8, Resulting Numbers: [18, 8]
Generated Node #0,0,1: 45:[18, 8] Operation: 56/7=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[18, 8], Operations: ['84-77=7', '56/7=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[18, 49], Operations: ['84-77=7', '56-7=49']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,45 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: 45:[18, 77, 28], Operations: ['84-56=28']
Exploring Operation: 77-28=49, Resulting Numbers: [18, 49]
Generated Node #0,1,0: 45:[18, 49] Operation: 77-28=49
Exploring Operation: 77-18=59, Resulting Numbers: [28, 59]
Generated Node #0,1,1: 45:[28, 59] Operation: 77-18=59
Moving to Node #0,1,0
Current State: 45:[18, 49], Operations: ['84-56=28', '77-28=49']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[28, 59], Operations: ['84-56=28', '77-18=59']
Exploring Operation: 59-28=31, Resulting Numbers: [31]
31,45 unequal: No Solution
Exploring Operation: 28+59=87, Resulting Numbers: [87]
87,45 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
88,
83,
16,
74
] | 18 | [
"88-83=5",
"16+74=90",
"90/5=18"
] | Current State: 18:[88, 83, 16, 74], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [16, 74, 5]
Generated Node #2: [16, 74, 5] from Operation: 88-83=5
Current State: 18:[16, 74, 5], Operations: ['88-83=5']
Exploring Operation: 16+74=90, Resulting Numbers: [5, 90]
Generated Node #3: [5, 90] from Operation: 16+74=90
Current State: 18:[5, 90], Operations: ['88-83=5', '16+74=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[88, 83, 16, 74], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [16, 74, 5]
Generated Node #0,0: 18:[16, 74, 5] Operation: 88-83=5
Exploring Operation: 88-16=72, Resulting Numbers: [83, 74, 72]
Generated Node #0,1: 18:[83, 74, 72] Operation: 88-16=72
Exploring Operation: 83-74=9, Resulting Numbers: [88, 16, 9]
Generated Node #0,2: 18:[88, 16, 9] Operation: 83-74=9
Exploring Operation: 83-16=67, Resulting Numbers: [88, 74, 67]
Generated Node #0,3: 18:[88, 74, 67] Operation: 83-16=67
Exploring Operation: 88-74=14, Resulting Numbers: [83, 16, 14]
Generated Node #0,4: 18:[83, 16, 14] Operation: 88-74=14
Moving to Node #0,0
Current State: 18:[16, 74, 5], Operations: ['88-83=5']
Exploring Operation: 16+5=21, Resulting Numbers: [74, 21]
Generated Node #0,0,0: 18:[74, 21] Operation: 16+5=21
Exploring Operation: 74-5=69, Resulting Numbers: [16, 69]
Generated Node #0,0,1: 18:[16, 69] Operation: 74-5=69
Exploring Operation: 74-16=58, Resulting Numbers: [5, 58]
Generated Node #0,0,2: 18:[5, 58] Operation: 74-16=58
Exploring Operation: 16-5=11, Resulting Numbers: [74, 11]
Generated Node #0,0,3: 18:[74, 11] Operation: 16-5=11
Exploring Operation: 74+5=79, Resulting Numbers: [16, 79]
Generated Node #0,0,4: 18:[16, 79] Operation: 74+5=79
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[5, 58], Operations: ['88-83=5', '74-16=58']
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,18 unequal: No Solution
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,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:[16, 69], Operations: ['88-83=5', '74-5=69']
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,18 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,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,3
Current State: 18:[74, 11], Operations: ['88-83=5', '16-5=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[74, 21], Operations: ['88-83=5', '16+5=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,18 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,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,4
Current State: 18:[16, 79], Operations: ['88-83=5', '74+5=79']
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,18 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,18 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: 18:[83, 16, 14], Operations: ['88-74=14']
Exploring Operation: 16+14=30, Resulting Numbers: [83, 30]
Generated Node #0,4,0: 18:[83, 30] Operation: 16+14=30
Exploring Operation: 83-14=69, Resulting Numbers: [16, 69]
Generated Node #0,4,1: 18:[16, 69] Operation: 83-14=69
Exploring Operation: 83-16=67, Resulting Numbers: [14, 67]
Generated Node #0,4,2: 18:[14, 67] Operation: 83-16=67
Exploring Operation: 83+14=97, Resulting Numbers: [16, 97]
Generated Node #0,4,3: 18:[16, 97] Operation: 83+14=97
Exploring Operation: 16-14=2, Resulting Numbers: [83, 2]
Generated Node #0,4,4: 18:[83, 2] Operation: 16-14=2
Moving to Node #0,2
Current State: 18:[88, 16, 9], Operations: ['83-74=9']
Exploring Operation: 16+9=25, Resulting Numbers: [88, 25]
Generated Node #0,2,0: 18:[88, 25] Operation: 16+9=25
Exploring Operation: 88-16=72, Resulting Numbers: [9, 72]
Generated Node #0,2,1: 18:[9, 72] Operation: 88-16=72
Exploring Operation: 88+9=97, Resulting Numbers: [16, 97]
Generated Node #0,2,2: 18:[16, 97] Operation: 88+9=97
Exploring Operation: 88-9=79, Resulting Numbers: [16, 79]
Generated Node #0,2,3: 18:[16, 79] Operation: 88-9=79
Exploring Operation: 16-9=7, Resulting Numbers: [88, 7]
Generated Node #0,2,4: 18:[88, 7] Operation: 16-9=7
Moving to Node #0,1
Current State: 18:[83, 74, 72], Operations: ['88-16=72']
Exploring Operation: 83-72=11, Resulting Numbers: [74, 11]
Generated Node #0,1,0: 18:[74, 11] Operation: 83-72=11
Exploring Operation: 83+74=157, Resulting Numbers: [72, 157]
Generated Node #0,1,1: 18:[72, 157] Operation: 83+74=157
Exploring Operation: 83+72=155, Resulting Numbers: [74, 155]
Generated Node #0,1,2: 18:[74, 155] Operation: 83+72=155
Exploring Operation: 83-74=9, Resulting Numbers: [72, 9]
Generated Node #0,1,3: 18:[72, 9] Operation: 83-74=9
Exploring Operation: 74-72=2, Resulting Numbers: [83, 2]
Generated Node #0,1,4: 18:[83, 2] Operation: 74-72=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[72, 9], Operations: ['88-16=72', '83-74=9']
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 72*9=648, Resulting Numbers: [648]
648,18 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[74, 11], Operations: ['88-16=72', '83-72=11']
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,18 unequal: No Solution
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[83, 2], Operations: ['88-16=72', '74-72=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,18 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[72, 157], Operations: ['88-16=72', '83+74=157']
Exploring Operation: 72+157=229, Resulting Numbers: [229]
229,18 unequal: No Solution
Exploring Operation: 157-72=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 72*157=11304, Resulting Numbers: [11304]
11304,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[74, 155], Operations: ['88-16=72', '83+72=155']
Exploring Operation: 74+155=229, Resulting Numbers: [229]
229,18 unequal: No Solution
Exploring Operation: 74*155=11470, Resulting Numbers: [11470]
11470,18 unequal: No Solution
Exploring Operation: 155-74=81, Resulting Numbers: [81]
81,18 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: 18:[88, 74, 67], Operations: ['83-16=67']
Exploring Operation: 88-74=14, Resulting Numbers: [67, 14]
Generated Node #0,3,0: 18:[67, 14] Operation: 88-74=14
Exploring Operation: 88+74=162, Resulting Numbers: [67, 162]
Generated Node #0,3,1: 18:[67, 162] Operation: 88+74=162
Exploring Operation: 88-67=21, Resulting Numbers: [74, 21]
Generated Node #0,3,2: 18:[74, 21] Operation: 88-67=21
Exploring Operation: 74-67=7, Resulting Numbers: [88, 7]
Generated Node #0,3,3: 18:[88, 7] Operation: 74-67=7
Exploring Operation: 88+67=155, Resulting Numbers: [74, 155]
Generated Node #0,3,4: 18:[74, 155] Operation: 88+67=155
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[67, 14], Operations: ['83-16=67', '88-74=14']
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 67*14=938, Resulting Numbers: [938]
938,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[74, 21], Operations: ['83-16=67', '88-67=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,18 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[88, 7], Operations: ['83-16=67', '74-67=7']
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,18 unequal: No Solution
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[67, 162], Operations: ['83-16=67', '88+74=162']
Exploring Operation: 67+162=229, Resulting Numbers: [229]
229,18 unequal: No Solution
Exploring Operation: 67*162=10854, Resulting Numbers: [10854]
10854,18 unequal: No Solution
Exploring Operation: 162-67=95, Resulting Numbers: [95]
95,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[74, 155], Operations: ['83-16=67', '88+67=155']
Exploring Operation: 155-74=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 74+155=229, Resulting Numbers: [229]
229,18 unequal: No Solution
Exploring Operation: 74*155=11470, Resulting Numbers: [11470]
11470,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 18:[16, 69], Operations: ['88-74=14', '83-14=69']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[14, 67], Operations: ['88-74=14', '83-16=67']
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[9, 72], Operations: ['83-74=9', '88-16=72']
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,18 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[16, 79], Operations: ['83-74=9', '88-9=79']
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 16*79=1264, Resulting Numbers: [1264]
1264,18 unequal: No Solution
Exploring Operation: 16+79=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Moving to Node #0,4,4
Current State: 18:[83, 2], Operations: ['88-74=14', '16-14=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[88, 7], Operations: ['83-74=9', '16-9=7']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[83, 30], Operations: ['88-74=14', '16+14=30']
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,18 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[88, 25], Operations: ['83-74=9', '16+9=25']
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[16, 97], Operations: ['83-74=9', '88+9=97']
Exploring Operation: 16*97=1552, Resulting Numbers: [1552]
1552,18 unequal: No Solution
Exploring Operation: 16+97=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[16, 97], Operations: ['88-74=14', '83+14=97']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 16+97=113, Resulting Numbers: [113]
113,18 unequal: No Solution
Exploring Operation: 16*97=1552, Resulting Numbers: [1552]
1552,18 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
56,
98,
12,
14
] | 95 | [
"56/14=4",
"12/4=3",
"98-3=95"
] | Current State: 95:[56, 98, 12, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [98, 12, 4]
Generated Node #2: [98, 12, 4] from Operation: 56/14=4
Current State: 95:[98, 12, 4], Operations: ['56/14=4']
Exploring Operation: 12/4=3, Resulting Numbers: [98, 3]
Generated Node #3: [98, 3] from Operation: 12/4=3
Current State: 95:[98, 3], Operations: ['56/14=4', '12/4=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[56, 98, 12, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [98, 12, 4]
Generated Node #0,0: 95:[98, 12, 4] Operation: 56/14=4
Exploring Operation: 98-56=42, Resulting Numbers: [12, 14, 42]
Generated Node #0,1: 95:[12, 14, 42] Operation: 98-56=42
Exploring Operation: 56-14=42, Resulting Numbers: [98, 12, 42]
Generated Node #0,2: 95:[98, 12, 42] Operation: 56-14=42
Exploring Operation: 56-12=44, Resulting Numbers: [98, 14, 44]
Generated Node #0,3: 95:[98, 14, 44] Operation: 56-12=44
Moving to Node #0,0
Current State: 95:[98, 12, 4], Operations: ['56/14=4']
Exploring Operation: 12-4=8, Resulting Numbers: [98, 8]
Generated Node #0,0,0: 95:[98, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [98, 3]
Generated Node #0,0,1: 95:[98, 3] Operation: 12/4=3
Exploring Operation: 98-4=94, Resulting Numbers: [12, 94]
Generated Node #0,0,2: 95:[12, 94] Operation: 98-4=94
Exploring Operation: 12+4=16, Resulting Numbers: [98, 16]
Generated Node #0,0,3: 95:[98, 16] Operation: 12+4=16
Moving to Node #0,3
Current State: 95:[98, 14, 44], Operations: ['56-12=44']
Exploring Operation: 98-14=84, Resulting Numbers: [44, 84]
Generated Node #0,3,0: 95:[44, 84] Operation: 98-14=84
Exploring Operation: 44-14=30, Resulting Numbers: [98, 30]
Generated Node #0,3,1: 95:[98, 30] Operation: 44-14=30
Exploring Operation: 98-44=54, Resulting Numbers: [14, 54]
Generated Node #0,3,2: 95:[14, 54] Operation: 98-44=54
Exploring Operation: 98/14=7, Resulting Numbers: [44, 7]
Generated Node #0,3,3: 95:[44, 7] Operation: 98/14=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[98, 30], Operations: ['56-12=44', '44-14=30']
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[44, 7], Operations: ['56-12=44', '98/14=7']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,95 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,95 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 95:[44, 84], Operations: ['56-12=44', '98-14=84']
Exploring Operation: 44+84=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 44*84=3696, Resulting Numbers: [3696]
3696,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[14, 54], Operations: ['56-12=44', '98-44=54']
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 95:[98, 12, 42], Operations: ['56-14=42']
Exploring Operation: 98-12=86, Resulting Numbers: [42, 86]
Generated Node #0,2,0: 95:[42, 86] Operation: 98-12=86
Exploring Operation: 42-12=30, Resulting Numbers: [98, 30]
Generated Node #0,2,1: 95:[98, 30] Operation: 42-12=30
Exploring Operation: 98+12=110, Resulting Numbers: [42, 110]
Generated Node #0,2,2: 95:[42, 110] Operation: 98+12=110
Exploring Operation: 12+42=54, Resulting Numbers: [98, 54]
Generated Node #0,2,3: 95:[98, 54] Operation: 12+42=54
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 95:[98, 30], Operations: ['56-14=42', '42-12=30']
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,95 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 95:[42, 86], Operations: ['56-14=42', '98-12=86']
Exploring Operation: 42+86=128, Resulting Numbers: [128]
128,95 unequal: No Solution
Exploring Operation: 42*86=3612, Resulting Numbers: [3612]
3612,95 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 95:[42, 110], Operations: ['56-14=42', '98+12=110']
Exploring Operation: 42*110=4620, Resulting Numbers: [4620]
4620,95 unequal: No Solution
Exploring Operation: 110-42=68, Resulting Numbers: [68]
68,95 unequal: No Solution
Exploring Operation: 42+110=152, Resulting Numbers: [152]
152,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 95:[98, 54], Operations: ['56-14=42', '12+42=54']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,95 unequal: No Solution
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 95:[12, 14, 42], Operations: ['98-56=42']
Exploring Operation: 14-12=2, Resulting Numbers: [42, 2]
Generated Node #0,1,0: 95:[42, 2] Operation: 14-12=2
Exploring Operation: 42-12=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 95:[14, 30] Operation: 42-12=30
Exploring Operation: 42/14=3, Resulting Numbers: [12, 3]
Generated Node #0,1,2: 95:[12, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [12, 28]
Generated Node #0,1,3: 95:[12, 28] Operation: 42-14=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[12, 3], Operations: ['98-56=42', '42/14=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,95 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[14, 30], Operations: ['98-56=42', '42-12=30']
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[12, 28], Operations: ['98-56=42', '42-14=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[42, 2], Operations: ['98-56=42', '14-12=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,95 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 95:[98, 3], Operations: ['56/14=4', '12/4=3']
Exploring Operation: 98+3=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[56, 98, 12, 14], Operations: []
Exploring Operation: 56/14=4, Resulting Numbers: [98, 12, 4]
Generated Node #0,0: 95:[98, 12, 4] Operation: 56/14=4
Moving to Node #0,0
Current State: 95:[98, 12, 4], Operations: ['56/14=4']
Exploring Operation: 12/4=3, Resulting Numbers: [98, 3]
Generated Node #0,0,1: 95:[98, 3] Operation: 12/4=3
Moving to Node #0,0,1
Current State: 95:[98, 3], Operations: ['56/14=4', '12/4=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.944444 | hs_4 | mult_heuristic |
[
8,
80,
12,
14
] | 82 | [
"14-8=6",
"12/6=2",
"80+2=82"
] | Current State: 82:[8, 80, 12, 14], Operations: []
Exploring Operation: 14-8=6, Resulting Numbers: [80, 12, 6]
Generated Node #2: [80, 12, 6] from Operation: 14-8=6
Current State: 82:[80, 12, 6], Operations: ['14-8=6']
Exploring Operation: 12/6=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 12/6=2
Current State: 82:[80, 2], Operations: ['14-8=6', '12/6=2']
Exploring Operation: 80+2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[8, 80, 12, 14], Operations: []
Exploring Operation: 14-12=2, Resulting Numbers: [8, 80, 2]
Generated Node #0,0: 82:[8, 80, 2] Operation: 14-12=2
Exploring Operation: 12-8=4, Resulting Numbers: [80, 14, 4]
Generated Node #0,1: 82:[80, 14, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[8, 80, 2], Operations: ['14-12=2']
Exploring Operation: 8/2=4, Resulting Numbers: [80, 4]
Generated Node #0,0,0: 82:[80, 4] Operation: 8/2=4
Exploring Operation: 8+80=88, Resulting Numbers: [2, 88]
Generated Node #0,0,1: 82:[2, 88] Operation: 8+80=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[80, 4], Operations: ['14-12=2', '8/2=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[2, 88], Operations: ['14-12=2', '8+80=88']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[80, 14, 4], Operations: ['12-8=4']
Exploring Operation: 80+14=94, Resulting Numbers: [4, 94]
Generated Node #0,1,0: 82:[4, 94] Operation: 80+14=94
Exploring Operation: 14-4=10, Resulting Numbers: [80, 10]
Generated Node #0,1,1: 82:[80, 10] Operation: 14-4=10
Moving to Node #0,1,1
Current State: 82:[80, 10], Operations: ['12-8=4', '14-4=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,82 unequal: No Solution
Exploring Operation: 80+10=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[4, 94], Operations: ['12-8=4', '80+14=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
66,
14,
38
] | 41 | [
"66-38=28",
"28/14=2",
"39+2=41"
] | Current State: 41:[39, 66, 14, 38], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [39, 14, 28]
Generated Node #2: [39, 14, 28] from Operation: 66-38=28
Current State: 41:[39, 14, 28], Operations: ['66-38=28']
Exploring Operation: 28/14=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 28/14=2
Current State: 41:[39, 2], Operations: ['66-38=28', '28/14=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[39, 66, 14, 38], Operations: []
Exploring Operation: 39+14=53, Resulting Numbers: [66, 38, 53]
Generated Node #0,0: 41:[66, 38, 53] Operation: 39+14=53
Exploring Operation: 66-14=52, Resulting Numbers: [39, 38, 52]
Generated Node #0,1: 41:[39, 38, 52] Operation: 66-14=52
Exploring Operation: 14+38=52, Resulting Numbers: [39, 66, 52]
Generated Node #0,2: 41:[39, 66, 52] Operation: 14+38=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[39, 38, 52], Operations: ['66-14=52']
Exploring Operation: 52-39=13, Resulting Numbers: [38, 13]
Generated Node #0,1,0: 41:[38, 13] Operation: 52-39=13
Exploring Operation: 39+38=77, Resulting Numbers: [52, 77]
Generated Node #0,1,1: 41:[52, 77] Operation: 39+38=77
Exploring Operation: 52-38=14, Resulting Numbers: [39, 14]
Generated Node #0,1,2: 41:[39, 14] Operation: 52-38=14
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[39, 14], Operations: ['66-14=52', '52-38=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,41 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[38, 13], Operations: ['66-14=52', '52-39=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[52, 77], Operations: ['66-14=52', '39+38=77']
Exploring Operation: 52+77=129, Resulting Numbers: [129]
129,41 unequal: No Solution
Exploring Operation: 77-52=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 52*77=4004, Resulting Numbers: [4004]
4004,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 41:[39, 66, 52], Operations: ['14+38=52']
Exploring Operation: 66-39=27, Resulting Numbers: [52, 27]
Generated Node #0,2,0: 41:[52, 27] Operation: 66-39=27
Exploring Operation: 52-39=13, Resulting Numbers: [66, 13]
Generated Node #0,2,1: 41:[66, 13] Operation: 52-39=13
Exploring Operation: 66-52=14, Resulting Numbers: [39, 14]
Generated Node #0,2,2: 41:[39, 14] Operation: 66-52=14
Moving to Node #0,2,0
Current State: 41:[52, 27], Operations: ['14+38=52', '66-39=27']
Exploring Operation: 52*27=1404, Resulting Numbers: [1404]
1404,41 unequal: No Solution
Exploring Operation: 52+27=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[39, 14], Operations: ['14+38=52', '66-52=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,41 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[66, 13], Operations: ['14+38=52', '52-39=13']
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,41 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,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,0
Current State: 41:[66, 38, 53], Operations: ['39+14=53']
Exploring Operation: 66-53=13, Resulting Numbers: [38, 13]
Generated Node #0,0,0: 41:[38, 13] Operation: 66-53=13
Exploring Operation: 66-38=28, Resulting Numbers: [53, 28]
Generated Node #0,0,1: 41:[53, 28] Operation: 66-38=28
Exploring Operation: 53-38=15, Resulting Numbers: [66, 15]
Generated Node #0,0,2: 41:[66, 15] Operation: 53-38=15
Moving to Node #0,0,1
Current State: 41:[53, 28], Operations: ['39+14=53', '66-38=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[38, 13], Operations: ['39+14=53', '66-53=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,41 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[66, 15], Operations: ['39+14=53', '53-38=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,41 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 |
[
13,
44,
42,
80
] | 65 | [
"13+44=57",
"42+80=122",
"122-57=65"
] | Current State: 65:[13, 44, 42, 80], Operations: []
Exploring Operation: 13+44=57, Resulting Numbers: [42, 80, 57]
Generated Node #2: [42, 80, 57] from Operation: 13+44=57
Current State: 65:[42, 80, 57], Operations: ['13+44=57']
Exploring Operation: 42+80=122, Resulting Numbers: [57, 122]
Generated Node #3: [57, 122] from Operation: 42+80=122
Current State: 65:[57, 122], Operations: ['13+44=57', '42+80=122']
Exploring Operation: 122-57=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[13, 44, 42, 80], Operations: []
Exploring Operation: 13+44=57, Resulting Numbers: [42, 80, 57]
Generated Node #0,0: 65:[42, 80, 57] Operation: 13+44=57
Exploring Operation: 44-42=2, Resulting Numbers: [13, 80, 2]
Generated Node #0,1: 65:[13, 80, 2] Operation: 44-42=2
Exploring Operation: 44+42=86, Resulting Numbers: [13, 80, 86]
Generated Node #0,2: 65:[13, 80, 86] Operation: 44+42=86
Exploring Operation: 13+42=55, Resulting Numbers: [44, 80, 55]
Generated Node #0,3: 65:[44, 80, 55] Operation: 13+42=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[13, 80, 2], Operations: ['44-42=2']
Exploring Operation: 80-2=78, Resulting Numbers: [13, 78]
Generated Node #0,1,0: 65:[13, 78] Operation: 80-2=78
Exploring Operation: 13-2=11, Resulting Numbers: [80, 11]
Generated Node #0,1,1: 65:[80, 11] Operation: 13-2=11
Exploring Operation: 13+2=15, Resulting Numbers: [80, 15]
Generated Node #0,1,2: 65:[80, 15] Operation: 13+2=15
Exploring Operation: 80-13=67, Resulting Numbers: [2, 67]
Generated Node #0,1,3: 65:[2, 67] Operation: 80-13=67
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[2, 67], Operations: ['44-42=2', '80-13=67']
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,65 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[13, 44, 42, 80], Operations: []
Exploring Operation: 44-42=2, Resulting Numbers: [13, 80, 2]
Generated Node #0,1: 65:[13, 80, 2] Operation: 44-42=2
Moving to Node #0,1
Current State: 65:[13, 80, 2], Operations: ['44-42=2']
Exploring Operation: 80-13=67, Resulting Numbers: [2, 67]
Generated Node #0,1,3: 65:[2, 67] Operation: 80-13=67
Moving to Node #0,1,3
Current State: 65:[2, 67], Operations: ['44-42=2', '80-13=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
52,
78,
76,
52
] | 16 | [
"76-52=24",
"52*24=1248",
"1248/78=16"
] | Current State: 16:[52, 78, 76, 52], Operations: []
Exploring Operation: 76-52=24, Resulting Numbers: [78, 24]
Generated Node #2: [78, 24] from Operation: 76-52=24
Current State: 16:[78, 24], Operations: ['76-52=24']
Exploring Operation: 52*24=1248, Resulting Numbers: [78, 1248]
Generated Node #3: [78, 1248] from Operation: 52*24=1248
Current State: 16:[78, 1248], Operations: ['76-52=24', '52*24=1248']
Exploring Operation: 1248/78=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[52, 78, 76, 52], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [76, 52, 26]
Generated Node #0,0: 16:[76, 52, 26] Operation: 78-52=26
Exploring Operation: 78-76=2, Resulting Numbers: [52, 52, 2]
Generated Node #0,1: 16:[52, 52, 2] Operation: 78-76=2
Exploring Operation: 76-52=24, Resulting Numbers: [52, 78, 24]
Generated Node #0,2: 16:[52, 78, 24] Operation: 76-52=24
Exploring Operation: 78-52=26, Resulting Numbers: [52, 76, 26]
Generated Node #0,3: 16:[52, 76, 26] Operation: 78-52=26
Exploring Operation: 76-52=24, Resulting Numbers: [78, 52, 24]
Generated Node #0,4: 16:[78, 52, 24] Operation: 76-52=24
Moving to Node #0,1
Current State: 16:[52, 52, 2], Operations: ['78-76=2']
Exploring Operation: 52/52=1, Resulting Numbers: [2, 1]
Generated Node #0,1,0: 16:[2, 1] Operation: 52/52=1
Exploring Operation: 52/2=26, Resulting Numbers: [52, 26]
Generated Node #0,1,1: 16:[52, 26] Operation: 52/2=26
Exploring Operation: 52-52=0, Resulting Numbers: [2, 0]
Generated Node #0,1,2: 16:[2, 0] Operation: 52-52=0
Exploring Operation: 52-2=50, Resulting Numbers: [52, 50]
Generated Node #0,1,3: 16:[52, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [52, 26]
Generated Node #0,1,4: 16:[52, 26] Operation: 52/2=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[2, 1], Operations: ['78-76=2', '52/52=1']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[2, 0], Operations: ['78-76=2', '52-52=0']
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,16 unequal: No Solution
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[52, 26], Operations: ['78-76=2', '52/2=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,16 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 16:[52, 26], Operations: ['78-76=2', '52/2=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,16 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,16 unequal: No Solution
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[52, 50], Operations: ['78-76=2', '52-2=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,16 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 16:[52, 78, 24], Operations: ['76-52=24']
Exploring Operation: 52+24=76, Resulting Numbers: [78, 76]
Generated Node #0,2,0: 16:[78, 76] Operation: 52+24=76
Exploring Operation: 52+78=130, Resulting Numbers: [24, 130]
Generated Node #0,2,1: 16:[24, 130] Operation: 52+78=130
Exploring Operation: 78-24=54, Resulting Numbers: [52, 54]
Generated Node #0,2,2: 16:[52, 54] Operation: 78-24=54
Exploring Operation: 52-24=28, Resulting Numbers: [78, 28]
Generated Node #0,2,3: 16:[78, 28] Operation: 52-24=28
Exploring Operation: 78-52=26, Resulting Numbers: [24, 26]
Generated Node #0,2,4: 16:[24, 26] Operation: 78-52=26
Moving to Node #0,4
Current State: 16:[78, 52, 24], Operations: ['76-52=24']
Exploring Operation: 78+24=102, Resulting Numbers: [52, 102]
Generated Node #0,4,0: 16:[52, 102] Operation: 78+24=102
Exploring Operation: 78-52=26, Resulting Numbers: [24, 26]
Generated Node #0,4,1: 16:[24, 26] Operation: 78-52=26
Exploring Operation: 78-24=54, Resulting Numbers: [52, 54]
Generated Node #0,4,2: 16:[52, 54] Operation: 78-24=54
Exploring Operation: 52-24=28, Resulting Numbers: [78, 28]
Generated Node #0,4,3: 16:[78, 28] Operation: 52-24=28
Exploring Operation: 78+52=130, Resulting Numbers: [24, 130]
Generated Node #0,4,4: 16:[24, 130] Operation: 78+52=130
Moving to Node #0,0
Current State: 16:[76, 52, 26], Operations: ['78-52=26']
Exploring Operation: 76-52=24, Resulting Numbers: [26, 24]
Generated Node #0,0,0: 16:[26, 24] Operation: 76-52=24
Exploring Operation: 52-26=26, Resulting Numbers: [76, 26]
Generated Node #0,0,1: 16:[76, 26] Operation: 52-26=26
Exploring Operation: 76+52=128, Resulting Numbers: [26, 128]
Generated Node #0,0,2: 16:[26, 128] Operation: 76+52=128
Exploring Operation: 76-26=50, Resulting Numbers: [52, 50]
Generated Node #0,0,3: 16:[52, 50] Operation: 76-26=50
Exploring Operation: 52/26=2, Resulting Numbers: [76, 2]
Generated Node #0,0,4: 16:[76, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[26, 24], Operations: ['78-52=26', '76-52=24']
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,16 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 16:[76, 2], Operations: ['78-52=26', '52/26=2']
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,16 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[76, 26], Operations: ['78-52=26', '52-26=26']
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 76*26=1976, Resulting Numbers: [1976]
1976,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[52, 50], Operations: ['78-52=26', '76-26=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[26, 128], Operations: ['78-52=26', '76+52=128']
Exploring Operation: 26*128=3328, Resulting Numbers: [3328]
3328,16 unequal: No Solution
Exploring Operation: 26+128=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Exploring Operation: 128-26=102, Resulting Numbers: [102]
102,16 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: 16:[52, 76, 26], Operations: ['78-52=26']
Exploring Operation: 52+76=128, Resulting Numbers: [26, 128]
Generated Node #0,3,0: 16:[26, 128] Operation: 52+76=128
Exploring Operation: 76-52=24, Resulting Numbers: [26, 24]
Generated Node #0,3,1: 16:[26, 24] Operation: 76-52=24
Exploring Operation: 52-26=26, Resulting Numbers: [76, 26]
Generated Node #0,3,2: 16:[76, 26] Operation: 52-26=26
Exploring Operation: 76-26=50, Resulting Numbers: [52, 50]
Generated Node #0,3,3: 16:[52, 50] Operation: 76-26=50
Exploring Operation: 52/26=2, Resulting Numbers: [76, 2]
Generated Node #0,3,4: 16:[76, 2] Operation: 52/26=2
Moving to Node #0,2,4
Current State: 16:[24, 26], Operations: ['76-52=24', '78-52=26']
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,16 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[24, 26], Operations: ['76-52=24', '78-52=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 24*26=624, Resulting Numbers: [624]
624,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[26, 24], Operations: ['78-52=26', '76-52=24']
Exploring Operation: 26+24=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 26*24=624, Resulting Numbers: [624]
624,16 unequal: No Solution
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[76, 2], Operations: ['78-52=26', '52/26=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,16 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,16 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[52, 50], Operations: ['78-52=26', '76-26=50']
Exploring Operation: 52+50=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Exploring Operation: 52-50=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 52*50=2600, Resulting Numbers: [2600]
2600,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[76, 26], Operations: ['78-52=26', '52-26=26']
Exploring Operation: 76*26=1976, Resulting Numbers: [1976]
1976,16 unequal: No Solution
Exploring Operation: 76-26=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 76+26=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[78, 28], Operations: ['76-52=24', '52-24=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,16 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[52, 54], Operations: ['76-52=24', '78-24=54']
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,16 unequal: No Solution
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[52, 54], Operations: ['76-52=24', '78-24=54']
Exploring Operation: 54-52=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 52+54=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 52*54=2808, Resulting Numbers: [2808]
2808,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[78, 28], Operations: ['76-52=24', '52-24=28']
Exploring Operation: 78+28=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 78*28=2184, Resulting Numbers: [2184]
2184,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[26, 128], Operations: ['78-52=26', '52+76=128']
Exploring Operation: 26+128=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Exploring Operation: 26*128=3328, Resulting Numbers: [3328]
3328,16 unequal: No Solution
Exploring Operation: 128-26=102, Resulting Numbers: [102]
102,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[24, 130], Operations: ['76-52=24', '52+78=130']
Exploring Operation: 24*130=3120, Resulting Numbers: [3120]
3120,16 unequal: No Solution
Exploring Operation: 24+130=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Exploring Operation: 130-24=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[24, 130], Operations: ['76-52=24', '78+52=130']
Exploring Operation: 24+130=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Exploring Operation: 24*130=3120, Resulting Numbers: [3120]
3120,16 unequal: No Solution
Exploring Operation: 130-24=106, Resulting Numbers: [106]
106,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[52, 102], Operations: ['76-52=24', '78+24=102']
Exploring Operation: 102-52=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 52*102=5304, Resulting Numbers: [5304]
5304,16 unequal: No Solution
Exploring Operation: 52+102=154, Resulting Numbers: [154]
154,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[78, 76], Operations: ['76-52=24', '52+24=76']
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 78*76=5928, Resulting Numbers: [5928]
5928,16 unequal: No Solution
Exploring Operation: 78+76=154, Resulting Numbers: [154]
154,16 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
53,
53,
57,
3
] | 20 | [
"53/53=1",
"57/3=19",
"1+19=20"
] | Current State: 20:[53, 53, 57, 3], Operations: []
Exploring Operation: 53/53=1, Resulting Numbers: [57, 3, 1]
Generated Node #2: [57, 3, 1] from Operation: 53/53=1
Current State: 20:[57, 3, 1], Operations: ['53/53=1']
Exploring Operation: 57/3=19, Resulting Numbers: [1, 19]
Generated Node #3: [1, 19] from Operation: 57/3=19
Current State: 20:[1, 19], Operations: ['53/53=1', '57/3=19']
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[53, 53, 57, 3], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [53, 3, 4]
Generated Node #0,0: 20:[53, 3, 4] Operation: 57-53=4
Exploring Operation: 57-53=4, Resulting Numbers: [53, 3, 4]
Generated Node #0,1: 20:[53, 3, 4] Operation: 57-53=4
Moving to Node #0,0
Current State: 20:[53, 3, 4], Operations: ['57-53=4']
Exploring Operation: 53-4=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 20:[3, 49] Operation: 53-4=49
Exploring Operation: 53-3=50, Resulting Numbers: [4, 50]
Generated Node #0,0,1: 20:[4, 50] Operation: 53-3=50
Moving to Node #0,1
Current State: 20:[53, 3, 4], Operations: ['57-53=4']
Exploring Operation: 53-3=50, Resulting Numbers: [4, 50]
Generated Node #0,1,0: 20:[4, 50] Operation: 53-3=50
Exploring Operation: 53-4=49, Resulting Numbers: [3, 49]
Generated Node #0,1,1: 20:[3, 49] Operation: 53-4=49
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[4, 50], Operations: ['57-53=4', '53-3=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[3, 49], Operations: ['57-53=4', '53-4=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 20:[3, 49], Operations: ['57-53=4', '53-4=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[4, 50], Operations: ['57-53=4', '53-3=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,20 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
53,
79,
6,
40
] | 62 | [
"53+79=132",
"132/6=22",
"40+22=62"
] | Current State: 62:[53, 79, 6, 40], Operations: []
Exploring Operation: 53+79=132, Resulting Numbers: [6, 40, 132]
Generated Node #2: [6, 40, 132] from Operation: 53+79=132
Current State: 62:[6, 40, 132], Operations: ['53+79=132']
Exploring Operation: 132/6=22, Resulting Numbers: [40, 22]
Generated Node #3: [40, 22] from Operation: 132/6=22
Current State: 62:[40, 22], Operations: ['53+79=132', '132/6=22']
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[53, 79, 6, 40], Operations: []
Exploring Operation: 79-6=73, Resulting Numbers: [53, 40, 73]
Generated Node #0,0: 62:[53, 40, 73] Operation: 79-6=73
Exploring Operation: 53+6=59, Resulting Numbers: [79, 40, 59]
Generated Node #0,1: 62:[79, 40, 59] Operation: 53+6=59
Exploring Operation: 79-40=39, Resulting Numbers: [53, 6, 39]
Generated Node #0,2: 62:[53, 6, 39] Operation: 79-40=39
Exploring Operation: 79-53=26, Resulting Numbers: [6, 40, 26]
Generated Node #0,3: 62:[6, 40, 26] Operation: 79-53=26
Moving to Node #0,3
Current State: 62:[6, 40, 26], Operations: ['79-53=26']
Exploring Operation: 6+26=32, Resulting Numbers: [40, 32]
Generated Node #0,3,0: 62:[40, 32] Operation: 6+26=32
Exploring Operation: 40+26=66, Resulting Numbers: [6, 66]
Generated Node #0,3,1: 62:[6, 66] Operation: 40+26=66
Exploring Operation: 40-6=34, Resulting Numbers: [26, 34]
Generated Node #0,3,2: 62:[26, 34] Operation: 40-6=34
Exploring Operation: 40-26=14, Resulting Numbers: [6, 14]
Generated Node #0,3,3: 62:[6, 14] Operation: 40-26=14
Moving to Node #0,2
Current State: 62:[53, 6, 39], Operations: ['79-40=39']
Exploring Operation: 53-6=47, Resulting Numbers: [39, 47]
Generated Node #0,2,0: 62:[39, 47] Operation: 53-6=47
Exploring Operation: 39-6=33, Resulting Numbers: [53, 33]
Generated Node #0,2,1: 62:[53, 33] Operation: 39-6=33
Exploring Operation: 53+6=59, Resulting Numbers: [39, 59]
Generated Node #0,2,2: 62:[39, 59] Operation: 53+6=59
Exploring Operation: 53-39=14, Resulting Numbers: [6, 14]
Generated Node #0,2,3: 62:[6, 14] Operation: 53-39=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[53, 33], Operations: ['79-40=39', '39-6=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,62 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[39, 59], Operations: ['79-40=39', '53+6=59']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,62 unequal: No Solution
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[6, 14], Operations: ['79-40=39', '53-39=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[39, 47], Operations: ['79-40=39', '53-6=47']
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,62 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: 62:[79, 40, 59], Operations: ['53+6=59']
Exploring Operation: 79-59=20, Resulting Numbers: [40, 20]
Generated Node #0,1,0: 62:[40, 20] Operation: 79-59=20
Exploring Operation: 79-40=39, Resulting Numbers: [59, 39]
Generated Node #0,1,1: 62:[59, 39] Operation: 79-40=39
Exploring Operation: 59-40=19, Resulting Numbers: [79, 19]
Generated Node #0,1,2: 62:[79, 19] Operation: 59-40=19
Exploring Operation: 40+59=99, Resulting Numbers: [79, 99]
Generated Node #0,1,3: 62:[79, 99] Operation: 40+59=99
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[59, 39], Operations: ['53+6=59', '79-40=39']
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,62 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[40, 20], Operations: ['53+6=59', '79-59=20']
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,62 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[79, 19], Operations: ['53+6=59', '59-40=19']
Exploring Operation: 79*19=1501, Resulting Numbers: [1501]
1501,62 unequal: No Solution
Exploring Operation: 79+19=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 79-19=60, Resulting Numbers: [60]
60,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[79, 99], Operations: ['53+6=59', '40+59=99']
Exploring Operation: 79*99=7821, Resulting Numbers: [7821]
7821,62 unequal: No Solution
Exploring Operation: 79+99=178, Resulting Numbers: [178]
178,62 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,62 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: 62:[53, 40, 73], Operations: ['79-6=73']
Exploring Operation: 53+40=93, Resulting Numbers: [73, 93]
Generated Node #0,0,0: 62:[73, 93] Operation: 53+40=93
Exploring Operation: 53-40=13, Resulting Numbers: [73, 13]
Generated Node #0,0,1: 62:[73, 13] Operation: 53-40=13
Exploring Operation: 73-40=33, Resulting Numbers: [53, 33]
Generated Node #0,0,2: 62:[53, 33] Operation: 73-40=33
Exploring Operation: 73-53=20, Resulting Numbers: [40, 20]
Generated Node #0,0,3: 62:[40, 20] Operation: 73-53=20
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[53, 33], Operations: ['79-6=73', '73-40=33']
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[40, 20], Operations: ['79-6=73', '73-53=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,62 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[73, 13], Operations: ['79-6=73', '53-40=13']
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,62 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[73, 93], Operations: ['79-6=73', '53+40=93']
Exploring Operation: 73+93=166, Resulting Numbers: [166]
166,62 unequal: No Solution
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 73*93=6789, Resulting Numbers: [6789]
6789,62 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: 62:[6, 66], Operations: ['79-53=26', '40+26=66']
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 6+66=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 6*66=396, Resulting Numbers: [396]
396,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[26, 34], Operations: ['79-53=26', '40-6=34']
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[40, 32], Operations: ['79-53=26', '6+26=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,62 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[6, 14], Operations: ['79-53=26', '40-26=14']
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,62 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,62 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
83,
83,
5,
76
] | 72 | [
"83/83=1",
"76-5=71",
"1+71=72"
] | Current State: 72:[83, 83, 5, 76], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [5, 76, 1]
Generated Node #2: [5, 76, 1] from Operation: 83/83=1
Current State: 72:[5, 76, 1], Operations: ['83/83=1']
Exploring Operation: 76-5=71, Resulting Numbers: [1, 71]
Generated Node #3: [1, 71] from Operation: 76-5=71
Current State: 72:[1, 71], Operations: ['83/83=1', '76-5=71']
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 83, 5, 76], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [5, 76, 1]
Generated Node #0,0: 72:[5, 76, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 72:[5, 76, 1], Operations: ['83/83=1']
Exploring Operation: 76-5=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 72:[1, 71] Operation: 76-5=71
Moving to Node #0,0,0
Current State: 72:[1, 71], Operations: ['83/83=1', '76-5=71']
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[83, 83, 5, 76], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [5, 76, 1]
Generated Node #0,0: 72:[5, 76, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 72:[5, 76, 1], Operations: ['83/83=1']
Exploring Operation: 76-5=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 72:[1, 71] Operation: 76-5=71
Moving to Node #0,0,0
Current State: 72:[1, 71], Operations: ['83/83=1', '76-5=71']
Exploring Operation: 1+71=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.