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 |
|---|---|---|---|---|---|---|---|---|
[
68,
5,
68,
7
] | 40 | [
"68/68=1",
"7+1=8",
"5*8=40"
] | Current State: 40:[68, 5, 68, 7], Operations: []
Exploring Operation: 68/68=1, Resulting Numbers: [5, 7, 1]
Generated Node #2: [5, 7, 1] from Operation: 68/68=1
Current State: 40:[5, 7, 1], Operations: ['68/68=1']
Exploring Operation: 7+1=8, Resulting Numbers: [5, 8]
Generated Node #3: [5, 8] from Operation: 7+1=8
Current State: 40:[5, 8], Operations: ['68/68=1', '7+1=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[68, 5, 68, 7], Operations: []
Exploring Operation: 68-7=61, Resulting Numbers: [68, 5, 61]
Generated Node #0,0: 40:[68, 5, 61] Operation: 68-7=61
Exploring Operation: 68/68=1, Resulting Numbers: [5, 7, 1]
Generated Node #0,1: 40:[5, 7, 1] Operation: 68/68=1
Exploring Operation: 68-7=61, Resulting Numbers: [5, 68, 61]
Generated Node #0,2: 40:[5, 68, 61] Operation: 68-7=61
Exploring Operation: 68-68=0, Resulting Numbers: [5, 7, 0]
Generated Node #0,3: 40:[5, 7, 0] Operation: 68-68=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[5, 7, 1], Operations: ['68/68=1']
Exploring Operation: 7+1=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 40:[5, 8] Operation: 7+1=8
Exploring Operation: 5*1=5, Resulting Numbers: [7, 5]
Generated Node #0,1,1: 40:[7, 5] Operation: 5*1=5
Exploring Operation: 7-5=2, Resulting Numbers: [1, 2]
Generated Node #0,1,2: 40:[1, 2] Operation: 7-5=2
Exploring Operation: 5-1=4, Resulting Numbers: [7, 4]
Generated Node #0,1,3: 40:[7, 4] Operation: 5-1=4
Moving to Node #0,1,0
Current State: 40:[5, 8], Operations: ['68/68=1', '7+1=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[68, 5, 68, 7], Operations: []
Exploring Operation: 68/68=1, Resulting Numbers: [5, 7, 1]
Generated Node #0,1: 40:[5, 7, 1] Operation: 68/68=1
Moving to Node #0,1
Current State: 40:[5, 7, 1], Operations: ['68/68=1']
Exploring Operation: 7+1=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 40:[5, 8] Operation: 7+1=8
Moving to Node #0,1,0
Current State: 40:[5, 8], Operations: ['68/68=1', '7+1=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
26,
67,
24,
56
] | 61 | [
"26+67=93",
"56-24=32",
"93-32=61"
] | Current State: 61:[26, 67, 24, 56], Operations: []
Exploring Operation: 26+67=93, Resulting Numbers: [24, 56, 93]
Generated Node #2: [24, 56, 93] from Operation: 26+67=93
Current State: 61:[24, 56, 93], Operations: ['26+67=93']
Exploring Operation: 56-24=32, Resulting Numbers: [93, 32]
Generated Node #3: [93, 32] from Operation: 56-24=32
Current State: 61:[93, 32], Operations: ['26+67=93', '56-24=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[26, 67, 24, 56], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [26, 56, 43]
Generated Node #0,0: 61:[26, 56, 43] Operation: 67-24=43
Exploring Operation: 26+24=50, Resulting Numbers: [67, 56, 50]
Generated Node #0,1: 61:[67, 56, 50] Operation: 26+24=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[67, 56, 50], Operations: ['26+24=50']
Exploring Operation: 67-50=17, Resulting Numbers: [56, 17]
Generated Node #0,1,0: 61:[56, 17] Operation: 67-50=17
Exploring Operation: 56+50=106, Resulting Numbers: [67, 106]
Generated Node #0,1,1: 61:[67, 106] Operation: 56+50=106
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[56, 17], Operations: ['26+24=50', '67-50=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,61 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,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,1
Current State: 61:[67, 106], Operations: ['26+24=50', '56+50=106']
Exploring Operation: 67+106=173, Resulting Numbers: [173]
173,61 unequal: No Solution
Exploring Operation: 106-67=39, Resulting Numbers: [39]
39,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,0
Current State: 61:[26, 56, 43], Operations: ['67-24=43']
Exploring Operation: 26+56=82, Resulting Numbers: [43, 82]
Generated Node #0,0,0: 61:[43, 82] Operation: 26+56=82
Exploring Operation: 26+43=69, Resulting Numbers: [56, 69]
Generated Node #0,0,1: 61:[56, 69] Operation: 26+43=69
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[56, 69], Operations: ['67-24=43', '26+43=69']
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,61 unequal: No Solution
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,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,0,0
Current State: 61:[43, 82], Operations: ['67-24=43', '26+56=82']
Exploring Operation: 43+82=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
62,
11,
60
] | 26 | [
"41+11=52",
"62-60=2",
"52/2=26"
] | Current State: 26:[41, 62, 11, 60], Operations: []
Exploring Operation: 41+11=52, Resulting Numbers: [62, 60, 52]
Generated Node #2: [62, 60, 52] from Operation: 41+11=52
Current State: 26:[62, 60, 52], Operations: ['41+11=52']
Exploring Operation: 62-60=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 62-60=2
Current State: 26:[52, 2], Operations: ['41+11=52', '62-60=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[41, 62, 11, 60], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [11, 60, 21]
Generated Node #0,0: 26:[11, 60, 21] Operation: 62-41=21
Exploring Operation: 41-11=30, Resulting Numbers: [62, 60, 30]
Generated Node #0,1: 26:[62, 60, 30] Operation: 41-11=30
Exploring Operation: 62-60=2, Resulting Numbers: [41, 11, 2]
Generated Node #0,2: 26:[41, 11, 2] Operation: 62-60=2
Exploring Operation: 60-41=19, Resulting Numbers: [62, 11, 19]
Generated Node #0,3: 26:[62, 11, 19] Operation: 60-41=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[41, 11, 2], Operations: ['62-60=2']
Exploring Operation: 11+2=13, Resulting Numbers: [41, 13]
Generated Node #0,2,0: 26:[41, 13] Operation: 11+2=13
Exploring Operation: 41-11=30, Resulting Numbers: [2, 30]
Generated Node #0,2,1: 26:[2, 30] Operation: 41-11=30
Exploring Operation: 41-2=39, Resulting Numbers: [11, 39]
Generated Node #0,2,2: 26:[11, 39] Operation: 41-2=39
Exploring Operation: 41+2=43, Resulting Numbers: [11, 43]
Generated Node #0,2,3: 26:[11, 43] Operation: 41+2=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 26:[2, 30], Operations: ['62-60=2', '41-11=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[41, 13], Operations: ['62-60=2', '11+2=13']
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,26 unequal: No Solution
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 26:[11, 39], Operations: ['62-60=2', '41-2=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 26:[11, 43], Operations: ['62-60=2', '41+2=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,26 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[11, 60, 21], Operations: ['62-41=21']
Exploring Operation: 60-11=49, Resulting Numbers: [21, 49]
Generated Node #0,0,0: 26:[21, 49] Operation: 60-11=49
Exploring Operation: 11+21=32, Resulting Numbers: [60, 32]
Generated Node #0,0,1: 26:[60, 32] Operation: 11+21=32
Exploring Operation: 21-11=10, Resulting Numbers: [60, 10]
Generated Node #0,0,2: 26:[60, 10] Operation: 21-11=10
Exploring Operation: 60-21=39, Resulting Numbers: [11, 39]
Generated Node #0,0,3: 26:[11, 39] Operation: 60-21=39
Moving to Node #0,0,3
Current State: 26:[11, 39], Operations: ['62-41=21', '60-21=39']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[21, 49], Operations: ['62-41=21', '60-11=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,26 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[60, 10], Operations: ['62-41=21', '21-11=10']
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 60*10=600, Resulting Numbers: [600]
600,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[60, 32], Operations: ['62-41=21', '11+21=32']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,26 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 26:[62, 11, 19], Operations: ['60-41=19']
Exploring Operation: 19-11=8, Resulting Numbers: [62, 8]
Generated Node #0,3,0: 26:[62, 8] Operation: 19-11=8
Exploring Operation: 11+19=30, Resulting Numbers: [62, 30]
Generated Node #0,3,1: 26:[62, 30] Operation: 11+19=30
Exploring Operation: 62-11=51, Resulting Numbers: [19, 51]
Generated Node #0,3,2: 26:[19, 51] Operation: 62-11=51
Exploring Operation: 62-19=43, Resulting Numbers: [11, 43]
Generated Node #0,3,3: 26:[11, 43] Operation: 62-19=43
Moving to Node #0,3,3
Current State: 26:[11, 43], Operations: ['60-41=19', '62-19=43']
Exploring Operation: 11+43=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 11*43=473, Resulting Numbers: [473]
473,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[19, 51], Operations: ['60-41=19', '62-11=51']
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,26 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[62, 30], Operations: ['60-41=19', '11+19=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,26 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Moving to Node #0,3,0
Current State: 26:[62, 8], Operations: ['60-41=19', '19-11=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[62, 60, 30], Operations: ['41-11=30']
Exploring Operation: 62-60=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 26:[30, 2] Operation: 62-60=2
Exploring Operation: 60/30=2, Resulting Numbers: [62, 2]
Generated Node #0,1,1: 26:[62, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [62, 30]
Generated Node #0,1,2: 26:[62, 30] Operation: 60-30=30
Exploring Operation: 62-30=32, Resulting Numbers: [60, 32]
Generated Node #0,1,3: 26:[60, 32] Operation: 62-30=32
Moving to Node #0,1,0
Current State: 26:[30, 2], Operations: ['41-11=30', '62-60=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[62, 2], Operations: ['41-11=30', '60/30=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,26 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,26 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[60, 32], Operations: ['41-11=30', '62-30=32']
Exploring Operation: 60*32=1920, Resulting Numbers: [1920]
1920,26 unequal: No Solution
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 60+32=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[62, 30], Operations: ['41-11=30', '60-30=30']
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,26 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,26 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 |
[
86,
54,
93,
8
] | 97 | [
"86-54=32",
"32/8=4",
"93+4=97"
] | Current State: 97:[86, 54, 93, 8], Operations: []
Exploring Operation: 86-54=32, Resulting Numbers: [93, 8, 32]
Generated Node #2: [93, 8, 32] from Operation: 86-54=32
Current State: 97:[93, 8, 32], Operations: ['86-54=32']
Exploring Operation: 32/8=4, Resulting Numbers: [93, 4]
Generated Node #3: [93, 4] from Operation: 32/8=4
Current State: 97:[93, 4], Operations: ['86-54=32', '32/8=4']
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[86, 54, 93, 8], Operations: []
Exploring Operation: 93+8=101, Resulting Numbers: [86, 54, 101]
Generated Node #0,0: 97:[86, 54, 101] Operation: 93+8=101
Exploring Operation: 86+8=94, Resulting Numbers: [54, 93, 94]
Generated Node #0,1: 97:[54, 93, 94] Operation: 86+8=94
Exploring Operation: 54+8=62, Resulting Numbers: [86, 93, 62]
Generated Node #0,2: 97:[86, 93, 62] Operation: 54+8=62
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[54, 93, 94], Operations: ['86+8=94']
Exploring Operation: 54+94=148, Resulting Numbers: [93, 148]
Generated Node #0,1,0: 97:[93, 148] Operation: 54+94=148
Exploring Operation: 93-54=39, Resulting Numbers: [94, 39]
Generated Node #0,1,1: 97:[94, 39] Operation: 93-54=39
Exploring Operation: 54+93=147, Resulting Numbers: [94, 147]
Generated Node #0,1,2: 97:[94, 147] Operation: 54+93=147
Moving to Node #0,1,2
Current State: 97:[94, 147], Operations: ['86+8=94', '54+93=147']
Exploring Operation: 147-94=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 94+147=241, Resulting Numbers: [241]
241,97 unequal: No Solution
Exploring Operation: 94*147=13818, Resulting Numbers: [13818]
13818,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[93, 148], Operations: ['86+8=94', '54+94=148']
Exploring Operation: 148-93=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 93+148=241, Resulting Numbers: [241]
241,97 unequal: No Solution
Exploring Operation: 93*148=13764, Resulting Numbers: [13764]
13764,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[94, 39], Operations: ['86+8=94', '93-54=39']
Exploring Operation: 94*39=3666, Resulting Numbers: [3666]
3666,97 unequal: No Solution
Exploring Operation: 94+39=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[86, 93, 62], Operations: ['54+8=62']
Exploring Operation: 86-62=24, Resulting Numbers: [93, 24]
Generated Node #0,2,0: 97:[93, 24] Operation: 86-62=24
Exploring Operation: 93+62=155, Resulting Numbers: [86, 155]
Generated Node #0,2,1: 97:[86, 155] Operation: 93+62=155
Exploring Operation: 86+62=148, Resulting Numbers: [93, 148]
Generated Node #0,2,2: 97:[93, 148] Operation: 86+62=148
Moving to Node #0,2,2
Current State: 97:[93, 148], Operations: ['54+8=62', '86+62=148']
Exploring Operation: 93*148=13764, Resulting Numbers: [13764]
13764,97 unequal: No Solution
Exploring Operation: 148-93=55, Resulting Numbers: [55]
55,97 unequal: No Solution
Exploring Operation: 93+148=241, Resulting Numbers: [241]
241,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[86, 155], Operations: ['54+8=62', '93+62=155']
Exploring Operation: 155-86=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 86*155=13330, Resulting Numbers: [13330]
13330,97 unequal: No Solution
Exploring Operation: 86+155=241, Resulting Numbers: [241]
241,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[93, 24], Operations: ['54+8=62', '86-62=24']
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,97 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[86, 54, 101], Operations: ['93+8=101']
Exploring Operation: 86-54=32, Resulting Numbers: [101, 32]
Generated Node #0,0,0: 97:[101, 32] Operation: 86-54=32
Exploring Operation: 86+54=140, Resulting Numbers: [101, 140]
Generated Node #0,0,1: 97:[101, 140] Operation: 86+54=140
Exploring Operation: 101-54=47, Resulting Numbers: [86, 47]
Generated Node #0,0,2: 97:[86, 47] Operation: 101-54=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[101, 140], Operations: ['93+8=101', '86+54=140']
Exploring Operation: 140-101=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 101+140=241, Resulting Numbers: [241]
241,97 unequal: No Solution
Exploring Operation: 101*140=14140, Resulting Numbers: [14140]
14140,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 97:[86, 47], Operations: ['93+8=101', '101-54=47']
Exploring Operation: 86+47=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 86-47=39, Resulting Numbers: [39]
39,97 unequal: No Solution
Exploring Operation: 86*47=4042, Resulting Numbers: [4042]
4042,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[101, 32], Operations: ['93+8=101', '86-54=32']
Exploring Operation: 101+32=133, Resulting Numbers: [133]
133,97 unequal: No Solution
Exploring Operation: 101-32=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 101*32=3232, Resulting Numbers: [3232]
3232,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
2,
4,
94,
14
] | 85 | [
"4+14=18",
"18/2=9",
"94-9=85"
] | Current State: 85:[2, 4, 94, 14], Operations: []
Exploring Operation: 4+14=18, Resulting Numbers: [2, 94, 18]
Generated Node #2: [2, 94, 18] from Operation: 4+14=18
Current State: 85:[2, 94, 18], Operations: ['4+14=18']
Exploring Operation: 18/2=9, Resulting Numbers: [94, 9]
Generated Node #3: [94, 9] from Operation: 18/2=9
Current State: 85:[94, 9], Operations: ['4+14=18', '18/2=9']
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[2, 4, 94, 14], Operations: []
Exploring Operation: 94-2=92, Resulting Numbers: [4, 14, 92]
Generated Node #0,0: 85:[4, 14, 92] Operation: 94-2=92
Exploring Operation: 94-14=80, Resulting Numbers: [2, 4, 80]
Generated Node #0,1: 85:[2, 4, 80] Operation: 94-14=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[2, 4, 80], Operations: ['94-14=80']
Exploring Operation: 2+80=82, Resulting Numbers: [4, 82]
Generated Node #0,1,0: 85:[4, 82] Operation: 2+80=82
Exploring Operation: 4+80=84, Resulting Numbers: [2, 84]
Generated Node #0,1,1: 85:[2, 84] Operation: 4+80=84
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[4, 82], Operations: ['94-14=80', '2+80=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,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,1,1
Current State: 85:[2, 84], Operations: ['94-14=80', '4+80=84']
Exploring Operation: 2+84=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[4, 14, 92], Operations: ['94-2=92']
Exploring Operation: 92-4=88, Resulting Numbers: [14, 88]
Generated Node #0,0,0: 85:[14, 88] Operation: 92-4=88
Exploring Operation: 4+14=18, Resulting Numbers: [92, 18]
Generated Node #0,0,1: 85:[92, 18] Operation: 4+14=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[14, 88], Operations: ['94-2=92', '92-4=88']
Exploring Operation: 14+88=102, Resulting Numbers: [102]
102,85 unequal: No Solution
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,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:[92, 18], Operations: ['94-2=92', '4+14=18']
Exploring Operation: 92-18=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 92+18=110, Resulting Numbers: [110]
110,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 | sum_heuristic |
[
56,
28,
55,
32
] | 78 | [
"56/28=2",
"55*2=110",
"110-32=78"
] | Current State: 78:[56, 28, 55, 32], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [55, 32, 2]
Generated Node #2: [55, 32, 2] from Operation: 56/28=2
Current State: 78:[55, 32, 2], Operations: ['56/28=2']
Exploring Operation: 55*2=110, Resulting Numbers: [32, 110]
Generated Node #3: [32, 110] from Operation: 55*2=110
Current State: 78:[32, 110], Operations: ['56/28=2', '55*2=110']
Exploring Operation: 110-32=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[56, 28, 55, 32], Operations: []
Exploring Operation: 56-32=24, Resulting Numbers: [28, 55, 24]
Generated Node #0,0: 78:[28, 55, 24] Operation: 56-32=24
Exploring Operation: 56-55=1, Resulting Numbers: [28, 32, 1]
Generated Node #0,1: 78:[28, 32, 1] Operation: 56-55=1
Moving to Node #0,1
Current State: 78:[28, 32, 1], Operations: ['56-55=1']
Exploring Operation: 28-1=27, Resulting Numbers: [32, 27]
Generated Node #0,1,0: 78:[32, 27] Operation: 28-1=27
Exploring Operation: 32-28=4, Resulting Numbers: [1, 4]
Generated Node #0,1,1: 78:[1, 4] Operation: 32-28=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[1, 4], Operations: ['56-55=1', '32-28=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[32, 27], Operations: ['56-55=1', '28-1=27']
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,78 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,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:[28, 55, 24], Operations: ['56-32=24']
Exploring Operation: 55+24=79, Resulting Numbers: [28, 79]
Generated Node #0,0,0: 78:[28, 79] Operation: 55+24=79
Exploring Operation: 55-28=27, Resulting Numbers: [24, 27]
Generated Node #0,0,1: 78:[24, 27] Operation: 55-28=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[28, 79], Operations: ['56-32=24', '55+24=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,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,1
Current State: 78:[24, 27], Operations: ['56-32=24', '55-28=27']
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,78 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
1,
92,
54
] | 14 | [
"51+1=52",
"92-54=38",
"52-38=14"
] | Current State: 14:[51, 1, 92, 54], Operations: []
Exploring Operation: 51+1=52, Resulting Numbers: [92, 54, 52]
Generated Node #2: [92, 54, 52] from Operation: 51+1=52
Current State: 14:[92, 54, 52], Operations: ['51+1=52']
Exploring Operation: 92-54=38, Resulting Numbers: [52, 38]
Generated Node #3: [52, 38] from Operation: 92-54=38
Current State: 14:[52, 38], Operations: ['51+1=52', '92-54=38']
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[51, 1, 92, 54], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [1, 54, 41]
Generated Node #0,0: 14:[1, 54, 41] Operation: 92-51=41
Exploring Operation: 54-51=3, Resulting Numbers: [1, 92, 3]
Generated Node #0,1: 14:[1, 92, 3] Operation: 54-51=3
Exploring Operation: 51-1=50, Resulting Numbers: [92, 54, 50]
Generated Node #0,2: 14:[92, 54, 50] Operation: 51-1=50
Exploring Operation: 92-54=38, Resulting Numbers: [51, 1, 38]
Generated Node #0,3: 14:[51, 1, 38] Operation: 92-54=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[51, 1, 38], Operations: ['92-54=38']
Exploring Operation: 38-1=37, Resulting Numbers: [51, 37]
Generated Node #0,3,0: 14:[51, 37] Operation: 38-1=37
Exploring Operation: 51-38=13, Resulting Numbers: [1, 13]
Generated Node #0,3,1: 14:[1, 13] Operation: 51-38=13
Exploring Operation: 51-1=50, Resulting Numbers: [38, 50]
Generated Node #0,3,2: 14:[38, 50] Operation: 51-1=50
Exploring Operation: 51*1=51, Resulting Numbers: [38, 51]
Generated Node #0,3,3: 14:[38, 51] Operation: 51*1=51
Moving to Node #0,3,1
Current State: 14:[1, 13], Operations: ['92-54=38', '51-38=13']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 1*13=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[51, 1, 92, 54], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [51, 1, 38]
Generated Node #0,3: 14:[51, 1, 38] Operation: 92-54=38
Moving to Node #0,3
Current State: 14:[51, 1, 38], Operations: ['92-54=38']
Exploring Operation: 51-38=13, Resulting Numbers: [1, 13]
Generated Node #0,3,1: 14:[1, 13] Operation: 51-38=13
Moving to Node #0,3,1
Current State: 14:[1, 13], Operations: ['92-54=38', '51-38=13']
Exploring Operation: 1+13=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
28,
26,
98,
64
] | 27 | [
"26*98=2548",
"2548/28=91",
"91-64=27"
] | Current State: 27:[28, 26, 98, 64], Operations: []
Exploring Operation: 26*98=2548, Resulting Numbers: [28, 64, 2548]
Generated Node #2: [28, 64, 2548] from Operation: 26*98=2548
Current State: 27:[28, 64, 2548], Operations: ['26*98=2548']
Exploring Operation: 2548/28=91, Resulting Numbers: [64, 91]
Generated Node #3: [64, 91] from Operation: 2548/28=91
Current State: 27:[64, 91], Operations: ['26*98=2548', '2548/28=91']
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[28, 26, 98, 64], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [26, 98, 36]
Generated Node #0,0: 27:[26, 98, 36] Operation: 64-28=36
Exploring Operation: 98-26=72, Resulting Numbers: [28, 64, 72]
Generated Node #0,1: 27:[28, 64, 72] Operation: 98-26=72
Exploring Operation: 98-28=70, Resulting Numbers: [26, 64, 70]
Generated Node #0,2: 27:[26, 64, 70] Operation: 98-28=70
Exploring Operation: 98-64=34, Resulting Numbers: [28, 26, 34]
Generated Node #0,3: 27:[28, 26, 34] Operation: 98-64=34
Moving to Node #0,3
Current State: 27:[28, 26, 34], Operations: ['98-64=34']
Exploring Operation: 34-26=8, Resulting Numbers: [28, 8]
Generated Node #0,3,0: 27:[28, 8] Operation: 34-26=8
Exploring Operation: 28-26=2, Resulting Numbers: [34, 2]
Generated Node #0,3,1: 27:[34, 2] Operation: 28-26=2
Exploring Operation: 28+26=54, Resulting Numbers: [34, 54]
Generated Node #0,3,2: 27:[34, 54] Operation: 28+26=54
Exploring Operation: 34-28=6, Resulting Numbers: [26, 6]
Generated Node #0,3,3: 27:[26, 6] Operation: 34-28=6
Moving to Node #0,2
Current State: 27:[26, 64, 70], Operations: ['98-28=70']
Exploring Operation: 26+64=90, Resulting Numbers: [70, 90]
Generated Node #0,2,0: 27:[70, 90] Operation: 26+64=90
Exploring Operation: 64-26=38, Resulting Numbers: [70, 38]
Generated Node #0,2,1: 27:[70, 38] Operation: 64-26=38
Exploring Operation: 70-26=44, Resulting Numbers: [64, 44]
Generated Node #0,2,2: 27:[64, 44] Operation: 70-26=44
Exploring Operation: 70-64=6, Resulting Numbers: [26, 6]
Generated Node #0,2,3: 27:[26, 6] Operation: 70-64=6
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[26, 6], Operations: ['98-28=70', '70-64=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[70, 38], Operations: ['98-28=70', '64-26=38']
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,27 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[64, 44], Operations: ['98-28=70', '70-26=44']
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,27 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[70, 90], Operations: ['98-28=70', '26+64=90']
Exploring Operation: 90-70=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 70*90=6300, Resulting Numbers: [6300]
6300,27 unequal: No Solution
Exploring Operation: 70+90=160, Resulting Numbers: [160]
160,27 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: 27:[26, 98, 36], Operations: ['64-28=36']
Exploring Operation: 36-26=10, Resulting Numbers: [98, 10]
Generated Node #0,0,0: 27:[98, 10] Operation: 36-26=10
Exploring Operation: 98-36=62, Resulting Numbers: [26, 62]
Generated Node #0,0,1: 27:[26, 62] Operation: 98-36=62
Exploring Operation: 26+98=124, Resulting Numbers: [36, 124]
Generated Node #0,0,2: 27:[36, 124] Operation: 26+98=124
Exploring Operation: 98-26=72, Resulting Numbers: [36, 72]
Generated Node #0,0,3: 27:[36, 72] Operation: 98-26=72
Moving to Node #0,1
Current State: 27:[28, 64, 72], Operations: ['98-26=72']
Exploring Operation: 72-28=44, Resulting Numbers: [64, 44]
Generated Node #0,1,0: 27:[64, 44] Operation: 72-28=44
Exploring Operation: 28+64=92, Resulting Numbers: [72, 92]
Generated Node #0,1,1: 27:[72, 92] Operation: 28+64=92
Exploring Operation: 64-28=36, Resulting Numbers: [72, 36]
Generated Node #0,1,2: 27:[72, 36] Operation: 64-28=36
Exploring Operation: 72-64=8, Resulting Numbers: [28, 8]
Generated Node #0,1,3: 27:[28, 8] Operation: 72-64=8
Moving to Node #0,3,0
Current State: 27:[28, 8], Operations: ['98-64=34', '34-26=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,27 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[28, 8], Operations: ['98-26=72', '72-64=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,27 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Moving to Node #0,3,3
Current State: 27:[26, 6], Operations: ['98-64=34', '34-28=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,27 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,3,1
Current State: 27:[34, 2], Operations: ['98-64=34', '28-26=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Moving to Node #0,3,2
Current State: 27:[34, 54], Operations: ['98-64=34', '28+26=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,27 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,27 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[26, 62], Operations: ['64-28=36', '98-36=62']
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,27 unequal: No Solution
Exploring Operation: 26*62=1612, Resulting Numbers: [1612]
1612,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[36, 72], Operations: ['64-28=36', '98-26=72']
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,27 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[64, 44], Operations: ['98-26=72', '72-28=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,27 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[72, 36], Operations: ['98-26=72', '64-28=36']
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 72*36=2592, Resulting Numbers: [2592]
2592,27 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 72+36=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[98, 10], Operations: ['64-28=36', '36-26=10']
Exploring Operation: 98+10=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,27 unequal: No Solution
Exploring Operation: 98*10=980, Resulting Numbers: [980]
980,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[36, 124], Operations: ['64-28=36', '26+98=124']
Exploring Operation: 36+124=160, Resulting Numbers: [160]
160,27 unequal: No Solution
Exploring Operation: 36*124=4464, Resulting Numbers: [4464]
4464,27 unequal: No Solution
Exploring Operation: 124-36=88, Resulting Numbers: [88]
88,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[72, 92], Operations: ['98-26=72', '28+64=92']
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,27 unequal: No Solution
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,27 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
45,
32,
90
] | 39 | [
"9+32=41",
"90/45=2",
"41-2=39"
] | Current State: 39:[9, 45, 32, 90], Operations: []
Exploring Operation: 9+32=41, Resulting Numbers: [45, 90, 41]
Generated Node #2: [45, 90, 41] from Operation: 9+32=41
Current State: 39:[45, 90, 41], Operations: ['9+32=41']
Exploring Operation: 90/45=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 90/45=2
Current State: 39:[41, 2], Operations: ['9+32=41', '90/45=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 45, 32, 90], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [45, 32, 10]
Generated Node #0,0: 39:[45, 32, 10] Operation: 90/9=10
Exploring Operation: 90/45=2, Resulting Numbers: [9, 32, 2]
Generated Node #0,1: 39:[9, 32, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [9, 32, 45]
Generated Node #0,2: 39:[9, 32, 45] Operation: 90-45=45
Moving to Node #0,1
Current State: 39:[9, 32, 2], Operations: ['90/45=2']
Exploring Operation: 32/2=16, Resulting Numbers: [9, 16]
Generated Node #0,1,0: 39:[9, 16] Operation: 32/2=16
Exploring Operation: 9+32=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 39:[2, 41] Operation: 9+32=41
Exploring Operation: 9+2=11, Resulting Numbers: [32, 11]
Generated Node #0,1,2: 39:[32, 11] Operation: 9+2=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[2, 41], Operations: ['90/45=2', '9+32=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[9, 45, 32, 90], Operations: []
Exploring Operation: 90/45=2, Resulting Numbers: [9, 32, 2]
Generated Node #0,1: 39:[9, 32, 2] Operation: 90/45=2
Moving to Node #0,1
Current State: 39:[9, 32, 2], Operations: ['90/45=2']
Exploring Operation: 9+32=41, Resulting Numbers: [2, 41]
Generated Node #0,1,1: 39:[2, 41] Operation: 9+32=41
Moving to Node #0,1,1
Current State: 39:[2, 41], Operations: ['90/45=2', '9+32=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
52,
2,
81,
44
] | 99 | [
"52/2=26",
"81+44=125",
"125-26=99"
] | Current State: 99:[52, 2, 81, 44], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [81, 44, 26]
Generated Node #2: [81, 44, 26] from Operation: 52/2=26
Current State: 99:[81, 44, 26], Operations: ['52/2=26']
Exploring Operation: 81+44=125, Resulting Numbers: [26, 125]
Generated Node #3: [26, 125] from Operation: 81+44=125
Current State: 99:[26, 125], Operations: ['52/2=26', '81+44=125']
Exploring Operation: 125-26=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[52, 2, 81, 44], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [2, 44, 29]
Generated Node #0,0: 99:[2, 44, 29] Operation: 81-52=29
Exploring Operation: 52-44=8, Resulting Numbers: [2, 81, 8]
Generated Node #0,1: 99:[2, 81, 8] Operation: 52-44=8
Moving to Node #0,0
Current State: 99:[2, 44, 29], Operations: ['81-52=29']
Exploring Operation: 44-2=42, Resulting Numbers: [29, 42]
Generated Node #0,0,0: 99:[29, 42] Operation: 44-2=42
Exploring Operation: 44-29=15, Resulting Numbers: [2, 15]
Generated Node #0,0,1: 99:[2, 15] Operation: 44-29=15
Moving to Node #0,1
Current State: 99:[2, 81, 8], Operations: ['52-44=8']
Exploring Operation: 2+81=83, Resulting Numbers: [8, 83]
Generated Node #0,1,0: 99:[8, 83] Operation: 2+81=83
Exploring Operation: 81+8=89, Resulting Numbers: [2, 89]
Generated Node #0,1,1: 99:[2, 89] Operation: 81+8=89
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[2, 89], Operations: ['52-44=8', '81+8=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[8, 83], Operations: ['52-44=8', '2+81=83']
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,99 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,99 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: 99:[2, 15], Operations: ['81-52=29', '44-29=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[29, 42], Operations: ['81-52=29', '44-2=42']
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,99 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
28,
37,
98,
46
] | 43 | [
"37-28=9",
"98-46=52",
"52-9=43"
] | Current State: 43:[28, 37, 98, 46], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [98, 46, 9]
Generated Node #2: [98, 46, 9] from Operation: 37-28=9
Current State: 43:[98, 46, 9], Operations: ['37-28=9']
Exploring Operation: 98-46=52, Resulting Numbers: [9, 52]
Generated Node #3: [9, 52] from Operation: 98-46=52
Current State: 43:[9, 52], Operations: ['37-28=9', '98-46=52']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 37, 98, 46], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [28, 37, 52]
Generated Node #0,0: 43:[28, 37, 52] Operation: 98-46=52
Exploring Operation: 98-28=70, Resulting Numbers: [37, 46, 70]
Generated Node #0,1: 43:[37, 46, 70] Operation: 98-28=70
Exploring Operation: 28+37=65, Resulting Numbers: [98, 46, 65]
Generated Node #0,2: 43:[98, 46, 65] Operation: 28+37=65
Exploring Operation: 98-37=61, Resulting Numbers: [28, 46, 61]
Generated Node #0,3: 43:[28, 46, 61] Operation: 98-37=61
Moving to Node #0,0
Current State: 43:[28, 37, 52], Operations: ['98-46=52']
Exploring Operation: 37-28=9, Resulting Numbers: [52, 9]
Generated Node #0,0,0: 43:[52, 9] Operation: 37-28=9
Exploring Operation: 28+52=80, Resulting Numbers: [37, 80]
Generated Node #0,0,1: 43:[37, 80] Operation: 28+52=80
Exploring Operation: 52-28=24, Resulting Numbers: [37, 24]
Generated Node #0,0,2: 43:[37, 24] Operation: 52-28=24
Exploring Operation: 28+37=65, Resulting Numbers: [52, 65]
Generated Node #0,0,3: 43:[52, 65] Operation: 28+37=65
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[37, 24], Operations: ['98-46=52', '52-28=24']
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,43 unequal: No Solution
Exploring Operation: 37-24=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,3
Current State: 43:[52, 65], Operations: ['98-46=52', '28+37=65']
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,43 unequal: No Solution
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,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:[52, 9], Operations: ['98-46=52', '37-28=9']
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,43 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[28, 37, 98, 46], Operations: []
Exploring Operation: 98-46=52, Resulting Numbers: [28, 37, 52]
Generated Node #0,0: 43:[28, 37, 52] Operation: 98-46=52
Moving to Node #0,0
Current State: 43:[28, 37, 52], Operations: ['98-46=52']
Exploring Operation: 37-28=9, Resulting Numbers: [52, 9]
Generated Node #0,0,0: 43:[52, 9] Operation: 37-28=9
Moving to Node #0,0,0
Current State: 43:[52, 9], Operations: ['98-46=52', '37-28=9']
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
45,
77,
36,
66
] | 92 | [
"45+77=122",
"66-36=30",
"122-30=92"
] | Current State: 92:[45, 77, 36, 66], Operations: []
Exploring Operation: 45+77=122, Resulting Numbers: [36, 66, 122]
Generated Node #2: [36, 66, 122] from Operation: 45+77=122
Current State: 92:[36, 66, 122], Operations: ['45+77=122']
Exploring Operation: 66-36=30, Resulting Numbers: [122, 30]
Generated Node #3: [122, 30] from Operation: 66-36=30
Current State: 92:[122, 30], Operations: ['45+77=122', '66-36=30']
Exploring Operation: 122-30=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[45, 77, 36, 66], Operations: []
Exploring Operation: 77-36=41, Resulting Numbers: [45, 66, 41]
Generated Node #0,0: 92:[45, 66, 41] Operation: 77-36=41
Exploring Operation: 66-36=30, Resulting Numbers: [45, 77, 30]
Generated Node #0,1: 92:[45, 77, 30] Operation: 66-36=30
Exploring Operation: 36+66=102, Resulting Numbers: [45, 77, 102]
Generated Node #0,2: 92:[45, 77, 102] Operation: 36+66=102
Exploring Operation: 77-66=11, Resulting Numbers: [45, 36, 11]
Generated Node #0,3: 92:[45, 36, 11] Operation: 77-66=11
Moving to Node #0,3
Current State: 92:[45, 36, 11], Operations: ['77-66=11']
Exploring Operation: 45-36=9, Resulting Numbers: [11, 9]
Generated Node #0,3,0: 92:[11, 9] Operation: 45-36=9
Exploring Operation: 36-11=25, Resulting Numbers: [45, 25]
Generated Node #0,3,1: 92:[45, 25] Operation: 36-11=25
Exploring Operation: 45+36=81, Resulting Numbers: [11, 81]
Generated Node #0,3,2: 92:[11, 81] Operation: 45+36=81
Exploring Operation: 36+11=47, Resulting Numbers: [45, 47]
Generated Node #0,3,3: 92:[45, 47] Operation: 36+11=47
Moving to Node #0,1
Current State: 92:[45, 77, 30], Operations: ['66-36=30']
Exploring Operation: 77-30=47, Resulting Numbers: [45, 47]
Generated Node #0,1,0: 92:[45, 47] Operation: 77-30=47
Exploring Operation: 77+30=107, Resulting Numbers: [45, 107]
Generated Node #0,1,1: 92:[45, 107] Operation: 77+30=107
Exploring Operation: 77-45=32, Resulting Numbers: [30, 32]
Generated Node #0,1,2: 92:[30, 32] Operation: 77-45=32
Exploring Operation: 45-30=15, Resulting Numbers: [77, 15]
Generated Node #0,1,3: 92:[77, 15] Operation: 45-30=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 92:[45, 47], Operations: ['66-36=30', '77-30=47']
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[45, 77, 36, 66], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [45, 77, 30]
Generated Node #0,1: 92:[45, 77, 30] Operation: 66-36=30
Moving to Node #0,1
Current State: 92:[45, 77, 30], Operations: ['66-36=30']
Exploring Operation: 77-30=47, Resulting Numbers: [45, 47]
Generated Node #0,1,0: 92:[45, 47] Operation: 77-30=47
Moving to Node #0,1,0
Current State: 92:[45, 47], Operations: ['66-36=30', '77-30=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
35,
6,
55,
7
] | 28 | [
"55-6=49",
"49/7=7",
"35-7=28"
] | Current State: 28:[35, 6, 55, 7], Operations: []
Exploring Operation: 55-6=49, Resulting Numbers: [35, 7, 49]
Generated Node #2: [35, 7, 49] from Operation: 55-6=49
Current State: 28:[35, 7, 49], Operations: ['55-6=49']
Exploring Operation: 49/7=7, Resulting Numbers: [35, 7]
Generated Node #3: [35, 7] from Operation: 49/7=7
Current State: 28:[35, 7], Operations: ['55-6=49', '49/7=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[35, 6, 55, 7], Operations: []
Exploring Operation: 35-7=28, Resulting Numbers: [6, 55, 28]
Generated Node #0,0: 28:[6, 55, 28] Operation: 35-7=28
Exploring Operation: 55-6=49, Resulting Numbers: [35, 7, 49]
Generated Node #0,1: 28:[35, 7, 49] Operation: 55-6=49
Exploring Operation: 35-6=29, Resulting Numbers: [55, 7, 29]
Generated Node #0,2: 28:[55, 7, 29] Operation: 35-6=29
Exploring Operation: 55-35=20, Resulting Numbers: [6, 7, 20]
Generated Node #0,3: 28:[6, 7, 20] Operation: 55-35=20
Moving to Node #0,3
Current State: 28:[6, 7, 20], Operations: ['55-35=20']
Exploring Operation: 6+20=26, Resulting Numbers: [7, 26]
Generated Node #0,3,0: 28:[7, 26] Operation: 6+20=26
Exploring Operation: 20-6=14, Resulting Numbers: [7, 14]
Generated Node #0,3,1: 28:[7, 14] Operation: 20-6=14
Exploring Operation: 20-7=13, Resulting Numbers: [6, 13]
Generated Node #0,3,2: 28:[6, 13] Operation: 20-7=13
Exploring Operation: 7+20=27, Resulting Numbers: [6, 27]
Generated Node #0,3,3: 28:[6, 27] Operation: 7+20=27
Moving to Node #0,1
Current State: 28:[35, 7, 49], Operations: ['55-6=49']
Exploring Operation: 35-7=28, Resulting Numbers: [49, 28]
Generated Node #0,1,0: 28:[49, 28] Operation: 35-7=28
Exploring Operation: 49-35=14, Resulting Numbers: [7, 14]
Generated Node #0,1,1: 28:[7, 14] Operation: 49-35=14
Exploring Operation: 49/7=7, Resulting Numbers: [35, 7]
Generated Node #0,1,2: 28:[35, 7] Operation: 49/7=7
Exploring Operation: 49-7=42, Resulting Numbers: [35, 42]
Generated Node #0,1,3: 28:[35, 42] Operation: 49-7=42
Moving to Node #0,0
Current State: 28:[6, 55, 28], Operations: ['35-7=28']
Exploring Operation: 55-6=49, Resulting Numbers: [28, 49]
Generated Node #0,0,0: 28:[28, 49] Operation: 55-6=49
Exploring Operation: 6+55=61, Resulting Numbers: [28, 61]
Generated Node #0,0,1: 28:[28, 61] Operation: 6+55=61
Exploring Operation: 6+28=34, Resulting Numbers: [55, 34]
Generated Node #0,0,2: 28:[55, 34] Operation: 6+28=34
Exploring Operation: 55-28=27, Resulting Numbers: [6, 27]
Generated Node #0,0,3: 28:[6, 27] Operation: 55-28=27
Moving to Node #0,2
Current State: 28:[55, 7, 29], Operations: ['35-6=29']
Exploring Operation: 55-29=26, Resulting Numbers: [7, 26]
Generated Node #0,2,0: 28:[7, 26] Operation: 55-29=26
Exploring Operation: 55-7=48, Resulting Numbers: [29, 48]
Generated Node #0,2,1: 28:[29, 48] Operation: 55-7=48
Exploring Operation: 29-7=22, Resulting Numbers: [55, 22]
Generated Node #0,2,2: 28:[55, 22] Operation: 29-7=22
Exploring Operation: 55+7=62, Resulting Numbers: [29, 62]
Generated Node #0,2,3: 28:[29, 62] Operation: 55+7=62
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[7, 26], Operations: ['35-6=29', '55-29=26']
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[29, 48], Operations: ['35-6=29', '55-7=48']
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,28 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[55, 22], Operations: ['35-6=29', '29-7=22']
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,28 unequal: No Solution
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,28 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 28:[29, 62], Operations: ['35-6=29', '55+7=62']
Exploring Operation: 29*62=1798, Resulting Numbers: [1798]
1798,28 unequal: No Solution
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 29+62=91, Resulting Numbers: [91]
91,28 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: 28:[7, 14], Operations: ['55-35=20', '20-6=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,28 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[7, 14], Operations: ['55-6=49', '49-35=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,28 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,3,2
Current State: 28:[6, 13], Operations: ['55-35=20', '20-7=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,3,0
Current State: 28:[7, 26], Operations: ['55-35=20', '6+20=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,28 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Moving to Node #0,3,3
Current State: 28:[6, 27], Operations: ['55-35=20', '7+20=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[6, 27], Operations: ['35-7=28', '55-28=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[35, 7], Operations: ['55-6=49', '49/7=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,28 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[35, 6, 55, 7], Operations: []
Exploring Operation: 55-6=49, Resulting Numbers: [35, 7, 49]
Generated Node #0,1: 28:[35, 7, 49] Operation: 55-6=49
Moving to Node #0,1
Current State: 28:[35, 7, 49], Operations: ['55-6=49']
Exploring Operation: 49/7=7, Resulting Numbers: [35, 7]
Generated Node #0,1,2: 28:[35, 7] Operation: 49/7=7
Moving to Node #0,1,2
Current State: 28:[35, 7], Operations: ['55-6=49', '49/7=7']
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.949653 | hs_4 | mult_heuristic |
[
63,
81,
84,
60
] | 57 | [
"63-60=3",
"81/3=27",
"84-27=57"
] | Current State: 57:[63, 81, 84, 60], Operations: []
Exploring Operation: 63-60=3, Resulting Numbers: [81, 84, 3]
Generated Node #2: [81, 84, 3] from Operation: 63-60=3
Current State: 57:[81, 84, 3], Operations: ['63-60=3']
Exploring Operation: 81/3=27, Resulting Numbers: [84, 27]
Generated Node #3: [84, 27] from Operation: 81/3=27
Current State: 57:[84, 27], Operations: ['63-60=3', '81/3=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[63, 81, 84, 60], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [63, 60, 3]
Generated Node #0,0: 57:[63, 60, 3] Operation: 84-81=3
Exploring Operation: 84-63=21, Resulting Numbers: [81, 60, 21]
Generated Node #0,1: 57:[81, 60, 21] Operation: 84-63=21
Exploring Operation: 81-63=18, Resulting Numbers: [84, 60, 18]
Generated Node #0,2: 57:[84, 60, 18] Operation: 81-63=18
Exploring Operation: 81-60=21, Resulting Numbers: [63, 84, 21]
Generated Node #0,3: 57:[63, 84, 21] Operation: 81-60=21
Exploring Operation: 84-60=24, Resulting Numbers: [63, 81, 24]
Generated Node #0,4: 57:[63, 81, 24] Operation: 84-60=24
Moving to Node #0,0
Current State: 57:[63, 60, 3], Operations: ['84-81=3']
Exploring Operation: 60/3=20, Resulting Numbers: [63, 20]
Generated Node #0,0,0: 57:[63, 20] Operation: 60/3=20
Exploring Operation: 63-60=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 57:[3, 3] Operation: 63-60=3
Exploring Operation: 63-3=60, Resulting Numbers: [60, 60]
Generated Node #0,0,2: 57:[60, 60] Operation: 63-3=60
Exploring Operation: 60-3=57, Resulting Numbers: [63, 57]
Generated Node #0,0,3: 57:[63, 57] Operation: 60-3=57
Exploring Operation: 63/3=21, Resulting Numbers: [60, 21]
Generated Node #0,0,4: 57:[60, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[3, 3], Operations: ['84-81=3', '63-60=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 57:[60, 21], Operations: ['84-81=3', '63/3=21']
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,57 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[60, 60], Operations: ['84-81=3', '63-3=60']
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,57 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[63, 57], Operations: ['84-81=3', '60-3=57']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 63+57=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 63*57=3591, Resulting Numbers: [3591]
3591,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[63, 20], Operations: ['84-81=3', '60/3=20']
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,57 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[81, 60, 21], Operations: ['84-63=21']
Exploring Operation: 81-60=21, Resulting Numbers: [21, 21]
Generated Node #0,1,0: 57:[21, 21] Operation: 81-60=21
Exploring Operation: 81-21=60, Resulting Numbers: [60, 60]
Generated Node #0,1,1: 57:[60, 60] Operation: 81-21=60
Exploring Operation: 60+21=81, Resulting Numbers: [81, 81]
Generated Node #0,1,2: 57:[81, 81] Operation: 60+21=81
Exploring Operation: 60-21=39, Resulting Numbers: [81, 39]
Generated Node #0,1,3: 57:[81, 39] Operation: 60-21=39
Exploring Operation: 81+21=102, Resulting Numbers: [60, 102]
Generated Node #0,1,4: 57:[60, 102] Operation: 81+21=102
Moving to Node #0,2
Current State: 57:[84, 60, 18], Operations: ['81-63=18']
Exploring Operation: 60-18=42, Resulting Numbers: [84, 42]
Generated Node #0,2,0: 57:[84, 42] Operation: 60-18=42
Exploring Operation: 84-18=66, Resulting Numbers: [60, 66]
Generated Node #0,2,1: 57:[60, 66] Operation: 84-18=66
Exploring Operation: 84+18=102, Resulting Numbers: [60, 102]
Generated Node #0,2,2: 57:[60, 102] Operation: 84+18=102
Exploring Operation: 60+18=78, Resulting Numbers: [84, 78]
Generated Node #0,2,3: 57:[84, 78] Operation: 60+18=78
Exploring Operation: 84-60=24, Resulting Numbers: [18, 24]
Generated Node #0,2,4: 57:[18, 24] Operation: 84-60=24
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 57:[18, 24], Operations: ['81-63=18', '84-60=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,57 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[60, 66], Operations: ['81-63=18', '84-18=66']
Exploring Operation: 60*66=3960, Resulting Numbers: [3960]
3960,57 unequal: No Solution
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 60+66=126, Resulting Numbers: [126]
126,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[84, 42], Operations: ['81-63=18', '60-18=42']
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 84*42=3528, Resulting Numbers: [3528]
3528,57 unequal: No Solution
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[60, 102], Operations: ['81-63=18', '84+18=102']
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 60*102=6120, Resulting Numbers: [6120]
6120,57 unequal: No Solution
Exploring Operation: 60+102=162, Resulting Numbers: [162]
162,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 57:[84, 78], Operations: ['81-63=18', '60+18=78']
Exploring Operation: 84*78=6552, Resulting Numbers: [6552]
6552,57 unequal: No Solution
Exploring Operation: 84+78=162, Resulting Numbers: [162]
162,57 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 57:[63, 84, 21], Operations: ['81-60=21']
Exploring Operation: 63/21=3, Resulting Numbers: [84, 3]
Generated Node #0,3,0: 57:[84, 3] Operation: 63/21=3
Exploring Operation: 84-63=21, Resulting Numbers: [21, 21]
Generated Node #0,3,1: 57:[21, 21] Operation: 84-63=21
Exploring Operation: 84/21=4, Resulting Numbers: [63, 4]
Generated Node #0,3,2: 57:[63, 4] Operation: 84/21=4
Exploring Operation: 63-21=42, Resulting Numbers: [84, 42]
Generated Node #0,3,3: 57:[84, 42] Operation: 63-21=42
Exploring Operation: 84-21=63, Resulting Numbers: [63, 63]
Generated Node #0,3,4: 57:[63, 63] Operation: 84-21=63
Moving to Node #0,4
Current State: 57:[63, 81, 24], Operations: ['84-60=24']
Exploring Operation: 63-24=39, Resulting Numbers: [81, 39]
Generated Node #0,4,0: 57:[81, 39] Operation: 63-24=39
Exploring Operation: 81+24=105, Resulting Numbers: [63, 105]
Generated Node #0,4,1: 57:[63, 105] Operation: 81+24=105
Exploring Operation: 81-24=57, Resulting Numbers: [63, 57]
Generated Node #0,4,2: 57:[63, 57] Operation: 81-24=57
Exploring Operation: 63+24=87, Resulting Numbers: [81, 87]
Generated Node #0,4,3: 57:[81, 87] Operation: 63+24=87
Exploring Operation: 81-63=18, Resulting Numbers: [24, 18]
Generated Node #0,4,4: 57:[24, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 57:[63, 57], Operations: ['84-60=24', '81-24=57']
Exploring Operation: 63+57=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 63*57=3591, Resulting Numbers: [3591]
3591,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[24, 18], Operations: ['84-60=24', '81-63=18']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,57 unequal: No Solution
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[81, 39], Operations: ['84-60=24', '63-24=39']
Exploring Operation: 81+39=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 81*39=3159, Resulting Numbers: [3159]
3159,57 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 57:[63, 105], Operations: ['84-60=24', '81+24=105']
Exploring Operation: 105-63=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 63*105=6615, Resulting Numbers: [6615]
6615,57 unequal: No Solution
Exploring Operation: 63+105=168, Resulting Numbers: [168]
168,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 57:[81, 87], Operations: ['84-60=24', '63+24=87']
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,57 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,57 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: 57:[21, 21], Operations: ['84-63=21', '81-60=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,57 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[21, 21], Operations: ['81-60=21', '84-63=21']
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 21*21=441, Resulting Numbers: [441]
441,57 unequal: No Solution
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[60, 60], Operations: ['84-63=21', '81-21=60']
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,57 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Moving to Node #0,3,2
Current State: 57:[63, 4], Operations: ['81-60=21', '84/21=4']
Exploring Operation: 63*4=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[63, 63], Operations: ['81-60=21', '84-21=63']
Exploring Operation: 63+63=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 63*63=3969, Resulting Numbers: [3969]
3969,57 unequal: No Solution
Exploring Operation: 63-63=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[84, 3], Operations: ['81-60=21', '63/21=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[81, 39], Operations: ['84-63=21', '60-21=39']
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 81+39=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 81*39=3159, Resulting Numbers: [3159]
3159,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[84, 42], Operations: ['81-60=21', '63-21=42']
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 84+42=126, Resulting Numbers: [126]
126,57 unequal: No Solution
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 84*42=3528, Resulting Numbers: [3528]
3528,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[60, 102], Operations: ['84-63=21', '81+21=102']
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 60*102=6120, Resulting Numbers: [6120]
6120,57 unequal: No Solution
Exploring Operation: 60+102=162, Resulting Numbers: [162]
162,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[81, 81], Operations: ['84-63=21', '60+21=81']
Exploring Operation: 81-81=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 81*81=6561, Resulting Numbers: [6561]
6561,57 unequal: No Solution
Exploring Operation: 81/81=1, Resulting Numbers: [1]
1,57 unequal: No Solution
Exploring Operation: 81+81=162, Resulting Numbers: [162]
162,57 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
2,
49,
30
] | 41 | [
"49-27=22",
"22/2=11",
"30+11=41"
] | Current State: 41:[27, 2, 49, 30], Operations: []
Exploring Operation: 49-27=22, Resulting Numbers: [2, 30, 22]
Generated Node #2: [2, 30, 22] from Operation: 49-27=22
Current State: 41:[2, 30, 22], Operations: ['49-27=22']
Exploring Operation: 22/2=11, Resulting Numbers: [30, 11]
Generated Node #3: [30, 11] from Operation: 22/2=11
Current State: 41:[30, 11], Operations: ['49-27=22', '22/2=11']
Exploring Operation: 30+11=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[27, 2, 49, 30], Operations: []
Exploring Operation: 27+2=29, Resulting Numbers: [49, 30, 29]
Generated Node #0,0: 41:[49, 30, 29] Operation: 27+2=29
Exploring Operation: 2+30=32, Resulting Numbers: [27, 49, 32]
Generated Node #0,1: 41:[27, 49, 32] Operation: 2+30=32
Exploring Operation: 49-2=47, Resulting Numbers: [27, 30, 47]
Generated Node #0,2: 41:[27, 30, 47] Operation: 49-2=47
Exploring Operation: 27*2=54, Resulting Numbers: [49, 30, 54]
Generated Node #0,3: 41:[49, 30, 54] Operation: 27*2=54
Moving to Node #0,0
Current State: 41:[49, 30, 29], Operations: ['27+2=29']
Exploring Operation: 49+29=78, Resulting Numbers: [30, 78]
Generated Node #0,0,0: 41:[30, 78] Operation: 49+29=78
Exploring Operation: 30+29=59, Resulting Numbers: [49, 59]
Generated Node #0,0,1: 41:[49, 59] Operation: 30+29=59
Exploring Operation: 49-29=20, Resulting Numbers: [30, 20]
Generated Node #0,0,2: 41:[30, 20] Operation: 49-29=20
Exploring Operation: 49-30=19, Resulting Numbers: [29, 19]
Generated Node #0,0,3: 41:[29, 19] Operation: 49-30=19
Moving to Node #0,2
Current State: 41:[27, 30, 47], Operations: ['49-2=47']
Exploring Operation: 27+30=57, Resulting Numbers: [47, 57]
Generated Node #0,2,0: 41:[47, 57] Operation: 27+30=57
Exploring Operation: 47-27=20, Resulting Numbers: [30, 20]
Generated Node #0,2,1: 41:[30, 20] Operation: 47-27=20
Exploring Operation: 47-30=17, Resulting Numbers: [27, 17]
Generated Node #0,2,2: 41:[27, 17] Operation: 47-30=17
Exploring Operation: 30-27=3, Resulting Numbers: [47, 3]
Generated Node #0,2,3: 41:[47, 3] Operation: 30-27=3
Moving to Node #0,1
Current State: 41:[27, 49, 32], Operations: ['2+30=32']
Exploring Operation: 27+49=76, Resulting Numbers: [32, 76]
Generated Node #0,1,0: 41:[32, 76] Operation: 27+49=76
Exploring Operation: 49-32=17, Resulting Numbers: [27, 17]
Generated Node #0,1,1: 41:[27, 17] Operation: 49-32=17
Exploring Operation: 49-27=22, Resulting Numbers: [32, 22]
Generated Node #0,1,2: 41:[32, 22] Operation: 49-27=22
Exploring Operation: 27+32=59, Resulting Numbers: [49, 59]
Generated Node #0,1,3: 41:[49, 59] Operation: 27+32=59
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[49, 59], Operations: ['2+30=32', '27+32=59']
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,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,2
Current State: 41:[32, 22], Operations: ['2+30=32', '49-27=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,41 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,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,1
Current State: 41:[27, 17], Operations: ['2+30=32', '49-32=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,41 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,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,0
Current State: 41:[32, 76], Operations: ['2+30=32', '27+49=76']
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,41 unequal: No Solution
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,41 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: 41:[49, 30, 54], Operations: ['27*2=54']
Exploring Operation: 54-30=24, Resulting Numbers: [49, 24]
Generated Node #0,3,0: 41:[49, 24] Operation: 54-30=24
Exploring Operation: 54-49=5, Resulting Numbers: [30, 5]
Generated Node #0,3,1: 41:[30, 5] Operation: 54-49=5
Exploring Operation: 49+30=79, Resulting Numbers: [54, 79]
Generated Node #0,3,2: 41:[54, 79] Operation: 49+30=79
Exploring Operation: 49-30=19, Resulting Numbers: [54, 19]
Generated Node #0,3,3: 41:[54, 19] Operation: 49-30=19
Moving to Node #0,2,0
Current State: 41:[47, 57], Operations: ['49-2=47', '27+30=57']
Exploring Operation: 47*57=2679, Resulting Numbers: [2679]
2679,41 unequal: No Solution
Exploring Operation: 47+57=104, Resulting Numbers: [104]
104,41 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[49, 24], Operations: ['27*2=54', '54-30=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,41 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[49, 59], Operations: ['27+2=29', '30+29=59']
Exploring Operation: 49*59=2891, Resulting Numbers: [2891]
2891,41 unequal: No Solution
Exploring Operation: 49+59=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 59-49=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[30, 20], Operations: ['49-2=47', '47-27=20']
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,41 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[30, 20], Operations: ['27+2=29', '49-29=20']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[29, 19], Operations: ['27+2=29', '49-30=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,41 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[54, 19], Operations: ['27*2=54', '49-30=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,41 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[27, 17], Operations: ['49-2=47', '47-30=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,41 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[47, 3], Operations: ['49-2=47', '30-27=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,41 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,41 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[30, 5], Operations: ['27*2=54', '54-49=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,41 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[30, 78], Operations: ['27+2=29', '49+29=78']
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 30+78=108, Resulting Numbers: [108]
108,41 unequal: No Solution
Exploring Operation: 30*78=2340, Resulting Numbers: [2340]
2340,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[54, 79], Operations: ['27*2=54', '49+30=79']
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 54+79=133, Resulting Numbers: [133]
133,41 unequal: No Solution
Exploring Operation: 54*79=4266, Resulting Numbers: [4266]
4266,41 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
85,
36,
42,
23
] | 18 | [
"85+23=108",
"42-36=6",
"108/6=18"
] | Current State: 18:[85, 36, 42, 23], Operations: []
Exploring Operation: 85+23=108, Resulting Numbers: [36, 42, 108]
Generated Node #2: [36, 42, 108] from Operation: 85+23=108
Current State: 18:[36, 42, 108], Operations: ['85+23=108']
Exploring Operation: 42-36=6, Resulting Numbers: [108, 6]
Generated Node #3: [108, 6] from Operation: 42-36=6
Current State: 18:[108, 6], Operations: ['85+23=108', '42-36=6']
Exploring Operation: 108/6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[85, 36, 42, 23], Operations: []
Exploring Operation: 85-42=43, Resulting Numbers: [36, 23, 43]
Generated Node #0,0: 18:[36, 23, 43] Operation: 85-42=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[36, 23, 43], Operations: ['85-42=43']
Exploring Operation: 43-36=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 18:[23, 7] Operation: 43-36=7
Moving to Node #0,0,0
Current State: 18:[23, 7], Operations: ['85-42=43', '43-36=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,18 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 |
[
33,
29,
42,
73
] | 31 | [
"33+29=62",
"73-42=31",
"62-31=31"
] | Current State: 31:[33, 29, 42, 73], Operations: []
Exploring Operation: 33+29=62, Resulting Numbers: [42, 73, 62]
Generated Node #2: [42, 73, 62] from Operation: 33+29=62
Current State: 31:[42, 73, 62], Operations: ['33+29=62']
Exploring Operation: 73-42=31, Resulting Numbers: [62, 31]
Generated Node #3: [62, 31] from Operation: 73-42=31
Current State: 31:[62, 31], Operations: ['33+29=62', '73-42=31']
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[33, 29, 42, 73], Operations: []
Exploring Operation: 73-29=44, Resulting Numbers: [33, 42, 44]
Generated Node #0,0: 31:[33, 42, 44] Operation: 73-29=44
Exploring Operation: 73-33=40, Resulting Numbers: [29, 42, 40]
Generated Node #0,1: 31:[29, 42, 40] Operation: 73-33=40
Exploring Operation: 42-29=13, Resulting Numbers: [33, 73, 13]
Generated Node #0,2: 31:[33, 73, 13] Operation: 42-29=13
Exploring Operation: 73-42=31, Resulting Numbers: [33, 29, 31]
Generated Node #0,3: 31:[33, 29, 31] Operation: 73-42=31
Exploring Operation: 42-33=9, Resulting Numbers: [29, 73, 9]
Generated Node #0,4: 31:[29, 73, 9] Operation: 42-33=9
Moving to Node #0,3
Current State: 31:[33, 29, 31], Operations: ['73-42=31']
Exploring Operation: 33+29=62, Resulting Numbers: [31, 62]
Generated Node #0,3,0: 31:[31, 62] Operation: 33+29=62
Exploring Operation: 33-29=4, Resulting Numbers: [31, 4]
Generated Node #0,3,1: 31:[31, 4] Operation: 33-29=4
Exploring Operation: 31-29=2, Resulting Numbers: [33, 2]
Generated Node #0,3,2: 31:[33, 2] Operation: 31-29=2
Exploring Operation: 29+31=60, Resulting Numbers: [33, 60]
Generated Node #0,3,3: 31:[33, 60] Operation: 29+31=60
Exploring Operation: 33-31=2, Resulting Numbers: [29, 2]
Generated Node #0,3,4: 31:[29, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[31, 4], Operations: ['73-42=31', '33-29=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[31, 62], Operations: ['73-42=31', '33+29=62']
Exploring Operation: 62/31=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 31+62=93, Resulting Numbers: [93]
93,31 unequal: No Solution
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[33, 29, 42, 73], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [33, 29, 31]
Generated Node #0,3: 31:[33, 29, 31] Operation: 73-42=31
Moving to Node #0,3
Current State: 31:[33, 29, 31], Operations: ['73-42=31']
Exploring Operation: 33+29=62, Resulting Numbers: [31, 62]
Generated Node #0,3,0: 31:[31, 62] Operation: 33+29=62
Moving to Node #0,3,0
Current State: 31:[31, 62], Operations: ['73-42=31', '33+29=62']
Exploring Operation: 62-31=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
10,
51,
83,
84
] | 42 | [
"51-10=41",
"84-83=1",
"41+1=42"
] | Current State: 42:[10, 51, 83, 84], Operations: []
Exploring Operation: 51-10=41, Resulting Numbers: [83, 84, 41]
Generated Node #2: [83, 84, 41] from Operation: 51-10=41
Current State: 42:[83, 84, 41], Operations: ['51-10=41']
Exploring Operation: 84-83=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 84-83=1
Current State: 42:[41, 1], Operations: ['51-10=41', '84-83=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 51, 83, 84], Operations: []
Exploring Operation: 84-51=33, Resulting Numbers: [10, 83, 33]
Generated Node #0,0: 42:[10, 83, 33] Operation: 84-51=33
Exploring Operation: 83-51=32, Resulting Numbers: [10, 84, 32]
Generated Node #0,1: 42:[10, 84, 32] Operation: 83-51=32
Exploring Operation: 83-10=73, Resulting Numbers: [51, 84, 73]
Generated Node #0,2: 42:[51, 84, 73] Operation: 83-10=73
Exploring Operation: 84-83=1, Resulting Numbers: [10, 51, 1]
Generated Node #0,3: 42:[10, 51, 1] Operation: 84-83=1
Moving to Node #0,3
Current State: 42:[10, 51, 1], Operations: ['84-83=1']
Exploring Operation: 51-1=50, Resulting Numbers: [10, 50]
Generated Node #0,3,0: 42:[10, 50] Operation: 51-1=50
Exploring Operation: 10-1=9, Resulting Numbers: [51, 9]
Generated Node #0,3,1: 42:[51, 9] Operation: 10-1=9
Exploring Operation: 10+1=11, Resulting Numbers: [51, 11]
Generated Node #0,3,2: 42:[51, 11] Operation: 10+1=11
Exploring Operation: 51-10=41, Resulting Numbers: [1, 41]
Generated Node #0,3,3: 42:[1, 41] Operation: 51-10=41
Moving to Node #0,0
Current State: 42:[10, 83, 33], Operations: ['84-51=33']
Exploring Operation: 33-10=23, Resulting Numbers: [83, 23]
Generated Node #0,0,0: 42:[83, 23] Operation: 33-10=23
Exploring Operation: 10+33=43, Resulting Numbers: [83, 43]
Generated Node #0,0,1: 42:[83, 43] Operation: 10+33=43
Exploring Operation: 83-33=50, Resulting Numbers: [10, 50]
Generated Node #0,0,2: 42:[10, 50] Operation: 83-33=50
Exploring Operation: 83-10=73, Resulting Numbers: [33, 73]
Generated Node #0,0,3: 42:[33, 73] Operation: 83-10=73
Moving to Node #0,1
Current State: 42:[10, 84, 32], Operations: ['83-51=32']
Exploring Operation: 84-32=52, Resulting Numbers: [10, 52]
Generated Node #0,1,0: 42:[10, 52] Operation: 84-32=52
Exploring Operation: 84-10=74, Resulting Numbers: [32, 74]
Generated Node #0,1,1: 42:[32, 74] Operation: 84-10=74
Exploring Operation: 32-10=22, Resulting Numbers: [84, 22]
Generated Node #0,1,2: 42:[84, 22] Operation: 32-10=22
Exploring Operation: 10+32=42, Resulting Numbers: [84, 42]
Generated Node #0,1,3: 42:[84, 42] Operation: 10+32=42
Moving to Node #0,2
Current State: 42:[51, 84, 73], Operations: ['83-10=73']
Exploring Operation: 84-73=11, Resulting Numbers: [51, 11]
Generated Node #0,2,0: 42:[51, 11] Operation: 84-73=11
Exploring Operation: 51+84=135, Resulting Numbers: [73, 135]
Generated Node #0,2,1: 42:[73, 135] Operation: 51+84=135
Exploring Operation: 73-51=22, Resulting Numbers: [84, 22]
Generated Node #0,2,2: 42:[84, 22] Operation: 73-51=22
Exploring Operation: 84-51=33, Resulting Numbers: [73, 33]
Generated Node #0,2,3: 42:[73, 33] Operation: 84-51=33
Moving to Node #0,3,3
Current State: 42:[1, 41], Operations: ['84-83=1', '51-10=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[10, 51, 83, 84], Operations: []
Exploring Operation: 84-83=1, Resulting Numbers: [10, 51, 1]
Generated Node #0,3: 42:[10, 51, 1] Operation: 84-83=1
Moving to Node #0,3
Current State: 42:[10, 51, 1], Operations: ['84-83=1']
Exploring Operation: 51-10=41, Resulting Numbers: [1, 41]
Generated Node #0,3,3: 42:[1, 41] Operation: 51-10=41
Moving to Node #0,3,3
Current State: 42:[1, 41], Operations: ['84-83=1', '51-10=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.976563 | hs_4 | mult_heuristic |
[
42,
88,
24,
53
] | 17 | [
"88-42=46",
"53-24=29",
"46-29=17"
] | Current State: 17:[42, 88, 24, 53], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [24, 53, 46]
Generated Node #2: [24, 53, 46] from Operation: 88-42=46
Current State: 17:[24, 53, 46], Operations: ['88-42=46']
Exploring Operation: 53-24=29, Resulting Numbers: [46, 29]
Generated Node #3: [46, 29] from Operation: 53-24=29
Current State: 17:[46, 29], Operations: ['88-42=46', '53-24=29']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[42, 88, 24, 53], Operations: []
Exploring Operation: 88-53=35, Resulting Numbers: [42, 24, 35]
Generated Node #0,0: 17:[42, 24, 35] Operation: 88-53=35
Exploring Operation: 88-42=46, Resulting Numbers: [24, 53, 46]
Generated Node #0,1: 17:[24, 53, 46] Operation: 88-42=46
Moving to Node #0,0
Current State: 17:[42, 24, 35], Operations: ['88-53=35']
Exploring Operation: 42-24=18, Resulting Numbers: [35, 18]
Generated Node #0,0,0: 17:[35, 18] Operation: 42-24=18
Exploring Operation: 42-35=7, Resulting Numbers: [24, 7]
Generated Node #0,0,1: 17:[24, 7] Operation: 42-35=7
Moving to Node #0,1
Current State: 17:[24, 53, 46], Operations: ['88-42=46']
Exploring Operation: 53-24=29, Resulting Numbers: [46, 29]
Generated Node #0,1,0: 17:[46, 29] Operation: 53-24=29
Exploring Operation: 53-46=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 17:[24, 7] Operation: 53-46=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[24, 7], Operations: ['88-42=46', '53-46=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[42, 88, 24, 53], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [24, 53, 46]
Generated Node #0,1: 17:[24, 53, 46] Operation: 88-42=46
Moving to Node #0,1
Current State: 17:[24, 53, 46], Operations: ['88-42=46']
Exploring Operation: 53-46=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 17:[24, 7] Operation: 53-46=7
Moving to Node #0,1,1
Current State: 17:[24, 7], Operations: ['88-42=46', '53-46=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
95,
76,
98,
99
] | 26 | [
"95+76=171",
"98+99=197",
"197-171=26"
] | Current State: 26:[95, 76, 98, 99], Operations: []
Exploring Operation: 95+76=171, Resulting Numbers: [98, 99, 171]
Generated Node #2: [98, 99, 171] from Operation: 95+76=171
Current State: 26:[98, 99, 171], Operations: ['95+76=171']
Exploring Operation: 98+99=197, Resulting Numbers: [171, 197]
Generated Node #3: [171, 197] from Operation: 98+99=197
Current State: 26:[171, 197], Operations: ['95+76=171', '98+99=197']
Exploring Operation: 197-171=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[95, 76, 98, 99], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [95, 76, 1]
Generated Node #0,0: 26:[95, 76, 1] Operation: 99-98=1
Exploring Operation: 98-95=3, Resulting Numbers: [76, 99, 3]
Generated Node #0,1: 26:[76, 99, 3] Operation: 98-95=3
Exploring Operation: 99-95=4, Resulting Numbers: [76, 98, 4]
Generated Node #0,2: 26:[76, 98, 4] Operation: 99-95=4
Moving to Node #0,0
Current State: 26:[95, 76, 1], Operations: ['99-98=1']
Exploring Operation: 76-1=75, Resulting Numbers: [95, 75]
Generated Node #0,0,0: 26:[95, 75] Operation: 76-1=75
Exploring Operation: 95-76=19, Resulting Numbers: [1, 19]
Generated Node #0,0,1: 26:[1, 19] Operation: 95-76=19
Exploring Operation: 95-1=94, Resulting Numbers: [76, 94]
Generated Node #0,0,2: 26:[76, 94] Operation: 95-1=94
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[1, 19], Operations: ['99-98=1', '95-76=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,26 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[95, 75], Operations: ['99-98=1', '76-1=75']
Exploring Operation: 95*75=7125, Resulting Numbers: [7125]
7125,26 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 95+75=170, Resulting Numbers: [170]
170,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[76, 94], Operations: ['99-98=1', '95-1=94']
Exploring Operation: 76*94=7144, Resulting Numbers: [7144]
7144,26 unequal: No Solution
Exploring Operation: 76+94=170, Resulting Numbers: [170]
170,26 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,26 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: 26:[76, 99, 3], Operations: ['98-95=3']
Exploring Operation: 99-76=23, Resulting Numbers: [3, 23]
Generated Node #0,1,0: 26:[3, 23] Operation: 99-76=23
Exploring Operation: 76-3=73, Resulting Numbers: [99, 73]
Generated Node #0,1,1: 26:[99, 73] Operation: 76-3=73
Exploring Operation: 99/3=33, Resulting Numbers: [76, 33]
Generated Node #0,1,2: 26:[76, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[3, 23], Operations: ['98-95=3', '99-76=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[95, 76, 98, 99], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [76, 99, 3]
Generated Node #0,1: 26:[76, 99, 3] Operation: 98-95=3
Moving to Node #0,1
Current State: 26:[76, 99, 3], Operations: ['98-95=3']
Exploring Operation: 99-76=23, Resulting Numbers: [3, 23]
Generated Node #0,1,0: 26:[3, 23] Operation: 99-76=23
Moving to Node #0,1,0
Current State: 26:[3, 23], Operations: ['98-95=3', '99-76=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
38,
53,
40,
47
] | 95 | [
"53+47=100",
"38*100=3800",
"3800/40=95"
] | Current State: 95:[38, 53, 40, 47], Operations: []
Exploring Operation: 53+47=100, Resulting Numbers: [38, 40, 100]
Generated Node #2: [38, 40, 100] from Operation: 53+47=100
Current State: 95:[38, 40, 100], Operations: ['53+47=100']
Exploring Operation: 38*100=3800, Resulting Numbers: [40, 3800]
Generated Node #3: [40, 3800] from Operation: 38*100=3800
Current State: 95:[40, 3800], Operations: ['53+47=100', '38*100=3800']
Exploring Operation: 3800/40=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[38, 53, 40, 47], Operations: []
Exploring Operation: 53+40=93, Resulting Numbers: [38, 47, 93]
Generated Node #0,0: 95:[38, 47, 93] Operation: 53+40=93
Exploring Operation: 53+47=100, Resulting Numbers: [38, 40, 100]
Generated Node #0,1: 95:[38, 40, 100] Operation: 53+47=100
Exploring Operation: 53-47=6, Resulting Numbers: [38, 40, 6]
Generated Node #0,2: 95:[38, 40, 6] Operation: 53-47=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[38, 40, 6], Operations: ['53-47=6']
Exploring Operation: 38-6=32, Resulting Numbers: [40, 32]
Generated Node #0,2,0: 95:[40, 32] Operation: 38-6=32
Exploring Operation: 40-38=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 95:[6, 2] Operation: 40-38=2
Exploring Operation: 38+40=78, Resulting Numbers: [6, 78]
Generated Node #0,2,2: 95:[6, 78] Operation: 38+40=78
Moving to Node #0,2,1
Current State: 95:[6, 2], Operations: ['53-47=6', '40-38=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[6, 78], Operations: ['53-47=6', '38+40=78']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[40, 32], Operations: ['53-47=6', '38-6=32']
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,95 unequal: No Solution
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,95 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[38, 40, 100], Operations: ['53+47=100']
Exploring Operation: 38+40=78, Resulting Numbers: [100, 78]
Generated Node #0,1,0: 95:[100, 78] Operation: 38+40=78
Exploring Operation: 100-38=62, Resulting Numbers: [40, 62]
Generated Node #0,1,1: 95:[40, 62] Operation: 100-38=62
Exploring Operation: 40-38=2, Resulting Numbers: [100, 2]
Generated Node #0,1,2: 95:[100, 2] Operation: 40-38=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[100, 2], Operations: ['53+47=100', '40-38=2']
Exploring Operation: 100+2=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,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,1,0
Current State: 95:[100, 78], Operations: ['53+47=100', '38+40=78']
Exploring Operation: 100+78=178, Resulting Numbers: [178]
178,95 unequal: No Solution
Exploring Operation: 100-78=22, Resulting Numbers: [22]
22,95 unequal: No Solution
Exploring Operation: 100*78=7800, Resulting Numbers: [7800]
7800,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,1,1
Current State: 95:[40, 62], Operations: ['53+47=100', '100-38=62']
Exploring Operation: 40*62=2480, Resulting Numbers: [2480]
2480,95 unequal: No Solution
Exploring Operation: 40+62=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,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:[38, 47, 93], Operations: ['53+40=93']
Exploring Operation: 38+47=85, Resulting Numbers: [93, 85]
Generated Node #0,0,0: 95:[93, 85] Operation: 38+47=85
Exploring Operation: 47-38=9, Resulting Numbers: [93, 9]
Generated Node #0,0,1: 95:[93, 9] Operation: 47-38=9
Exploring Operation: 93-47=46, Resulting Numbers: [38, 46]
Generated Node #0,0,2: 95:[38, 46] Operation: 93-47=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[93, 9], Operations: ['53+40=93', '47-38=9']
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,95 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,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,0,0
Current State: 95:[93, 85], Operations: ['53+40=93', '38+47=85']
Exploring Operation: 93+85=178, Resulting Numbers: [178]
178,95 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 93*85=7905, Resulting Numbers: [7905]
7905,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,0,2
Current State: 95:[38, 46], Operations: ['53+40=93', '93-47=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,95 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,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_3 | sum_heuristic |
[
10,
8,
8,
86
] | 95 | [
"10+86=96",
"8/8=1",
"96-1=95"
] | Current State: 95:[10, 8, 8, 86], Operations: []
Exploring Operation: 10+86=96, Resulting Numbers: [8, 8, 96]
Generated Node #2: [8, 8, 96] from Operation: 10+86=96
Current State: 95:[8, 8, 96], Operations: ['10+86=96']
Exploring Operation: 8/8=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 8/8=1
Current State: 95:[96, 1], Operations: ['10+86=96', '8/8=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 8, 8, 86], Operations: []
Exploring Operation: 8+86=94, Resulting Numbers: [10, 8, 94]
Generated Node #0,0: 95:[10, 8, 94] Operation: 8+86=94
Exploring Operation: 8+86=94, Resulting Numbers: [10, 8, 94]
Generated Node #0,1: 95:[10, 8, 94] Operation: 8+86=94
Exploring Operation: 10+8=18, Resulting Numbers: [8, 86, 18]
Generated Node #0,2: 95:[8, 86, 18] Operation: 10+8=18
Exploring Operation: 10+86=96, Resulting Numbers: [8, 8, 96]
Generated Node #0,3: 95:[8, 8, 96] Operation: 10+86=96
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[8, 8, 96], Operations: ['10+86=96']
Exploring Operation: 96-8=88, Resulting Numbers: [8, 88]
Generated Node #0,3,0: 95:[8, 88] Operation: 96-8=88
Exploring Operation: 8/8=1, Resulting Numbers: [96, 1]
Generated Node #0,3,1: 95:[96, 1] Operation: 8/8=1
Exploring Operation: 8-8=0, Resulting Numbers: [96, 0]
Generated Node #0,3,2: 95:[96, 0] Operation: 8-8=0
Exploring Operation: 8+8=16, Resulting Numbers: [96, 16]
Generated Node #0,3,3: 95:[96, 16] Operation: 8+8=16
Moving to Node #0,3,3
Current State: 95:[96, 16], Operations: ['10+86=96', '8+8=16']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,95 unequal: No Solution
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[96, 1], Operations: ['10+86=96', '8/8=1']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[10, 8, 8, 86], Operations: []
Exploring Operation: 10+86=96, Resulting Numbers: [8, 8, 96]
Generated Node #0,3: 95:[8, 8, 96] Operation: 10+86=96
Moving to Node #0,3
Current State: 95:[8, 8, 96], Operations: ['10+86=96']
Exploring Operation: 8/8=1, Resulting Numbers: [96, 1]
Generated Node #0,3,1: 95:[96, 1] Operation: 8/8=1
Moving to Node #0,3,1
Current State: 95:[96, 1], Operations: ['10+86=96', '8/8=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
95,
91,
75,
73
] | 87 | [
"75-73=2",
"91*2=182",
"182-95=87"
] | Current State: 87:[95, 91, 75, 73], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [95, 91, 2]
Generated Node #2: [95, 91, 2] from Operation: 75-73=2
Current State: 87:[95, 91, 2], Operations: ['75-73=2']
Exploring Operation: 91*2=182, Resulting Numbers: [95, 182]
Generated Node #3: [95, 182] from Operation: 91*2=182
Current State: 87:[95, 182], Operations: ['75-73=2', '91*2=182']
Exploring Operation: 182-95=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[95, 91, 75, 73], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [95, 91, 2]
Generated Node #0,0: 87:[95, 91, 2] Operation: 75-73=2
Moving to Node #0,0
Current State: 87:[95, 91, 2], Operations: ['75-73=2']
Exploring Operation: 95-91=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 87:[2, 4] Operation: 95-91=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[2, 4], Operations: ['75-73=2', '95-91=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,87 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 |
[
85,
73,
75,
12
] | 61 | [
"75-73=2",
"12*2=24",
"85-24=61"
] | Current State: 61:[85, 73, 75, 12], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [85, 12, 2]
Generated Node #2: [85, 12, 2] from Operation: 75-73=2
Current State: 61:[85, 12, 2], Operations: ['75-73=2']
Exploring Operation: 12*2=24, Resulting Numbers: [85, 24]
Generated Node #3: [85, 24] from Operation: 12*2=24
Current State: 61:[85, 24], Operations: ['75-73=2', '12*2=24']
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[85, 73, 75, 12], Operations: []
Exploring Operation: 85-12=73, Resulting Numbers: [73, 75, 73]
Generated Node #0,0: 61:[73, 75, 73] Operation: 85-12=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[73, 75, 73], Operations: ['85-12=73']
Exploring Operation: 75-73=2, Resulting Numbers: [73, 2]
Generated Node #0,0,0: 61:[73, 2] Operation: 75-73=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[73, 2], Operations: ['85-12=73', '75-73=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
80,
58,
27,
4
] | 78 | [
"58-4=54",
"54/27=2",
"80-2=78"
] | Current State: 78:[80, 58, 27, 4], Operations: []
Exploring Operation: 58-4=54, Resulting Numbers: [80, 27, 54]
Generated Node #2: [80, 27, 54] from Operation: 58-4=54
Current State: 78:[80, 27, 54], Operations: ['58-4=54']
Exploring Operation: 54/27=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 54/27=2
Current State: 78:[80, 2], Operations: ['58-4=54', '54/27=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[80, 58, 27, 4], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [27, 4, 22]
Generated Node #0,0: 78:[27, 4, 22] Operation: 80-58=22
Exploring Operation: 58-27=31, Resulting Numbers: [80, 4, 31]
Generated Node #0,1: 78:[80, 4, 31] Operation: 58-27=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[27, 4, 22], Operations: ['80-58=22']
Exploring Operation: 27-22=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 78:[4, 5] Operation: 27-22=5
Exploring Operation: 4+22=26, Resulting Numbers: [27, 26]
Generated Node #0,0,1: 78:[27, 26] Operation: 4+22=26
Moving to Node #0,0,1
Current State: 78:[27, 26], Operations: ['80-58=22', '4+22=26']
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[4, 5], Operations: ['80-58=22', '27-22=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,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
Current State: 78:[80, 4, 31], Operations: ['58-27=31']
Exploring Operation: 4+31=35, Resulting Numbers: [80, 35]
Generated Node #0,1,0: 78:[80, 35] Operation: 4+31=35
Exploring Operation: 31-4=27, Resulting Numbers: [80, 27]
Generated Node #0,1,1: 78:[80, 27] Operation: 31-4=27
Moving to Node #0,1,1
Current State: 78:[80, 27], Operations: ['58-27=31', '31-4=27']
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,78 unequal: No Solution
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[80, 35], Operations: ['58-27=31', '4+31=35']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,78 unequal: No Solution
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,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 |
[
22,
5,
98,
42
] | 50 | [
"98+42=140",
"140/5=28",
"22+28=50"
] | Current State: 50:[22, 5, 98, 42], Operations: []
Exploring Operation: 98+42=140, Resulting Numbers: [22, 5, 140]
Generated Node #2: [22, 5, 140] from Operation: 98+42=140
Current State: 50:[22, 5, 140], Operations: ['98+42=140']
Exploring Operation: 140/5=28, Resulting Numbers: [22, 28]
Generated Node #3: [22, 28] from Operation: 140/5=28
Current State: 50:[22, 28], Operations: ['98+42=140', '140/5=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[22, 5, 98, 42], Operations: []
Exploring Operation: 42-22=20, Resulting Numbers: [5, 98, 20]
Generated Node #0,0: 50:[5, 98, 20] Operation: 42-22=20
Exploring Operation: 98-22=76, Resulting Numbers: [5, 42, 76]
Generated Node #0,1: 50:[5, 42, 76] Operation: 98-22=76
Exploring Operation: 98-42=56, Resulting Numbers: [22, 5, 56]
Generated Node #0,2: 50:[22, 5, 56] Operation: 98-42=56
Moving to Node #0,2
Current State: 50:[22, 5, 56], Operations: ['98-42=56']
Exploring Operation: 22+5=27, Resulting Numbers: [56, 27]
Generated Node #0,2,0: 50:[56, 27] Operation: 22+5=27
Exploring Operation: 56-5=51, Resulting Numbers: [22, 51]
Generated Node #0,2,1: 50:[22, 51] Operation: 56-5=51
Exploring Operation: 56-22=34, Resulting Numbers: [5, 34]
Generated Node #0,2,2: 50:[5, 34] Operation: 56-22=34
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[22, 51], Operations: ['98-42=56', '56-5=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,50 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[56, 27], Operations: ['98-42=56', '22+5=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[5, 34], Operations: ['98-42=56', '56-22=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,50 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: 50:[5, 42, 76], Operations: ['98-22=76']
Exploring Operation: 76-42=34, Resulting Numbers: [5, 34]
Generated Node #0,1,0: 50:[5, 34] Operation: 76-42=34
Exploring Operation: 76-5=71, Resulting Numbers: [42, 71]
Generated Node #0,1,1: 50:[42, 71] Operation: 76-5=71
Exploring Operation: 5+42=47, Resulting Numbers: [76, 47]
Generated Node #0,1,2: 50:[76, 47] Operation: 5+42=47
Moving to Node #0,0
Current State: 50:[5, 98, 20], Operations: ['42-22=20']
Exploring Operation: 98-5=93, Resulting Numbers: [20, 93]
Generated Node #0,0,0: 50:[20, 93] Operation: 98-5=93
Exploring Operation: 98-20=78, Resulting Numbers: [5, 78]
Generated Node #0,0,1: 50:[5, 78] Operation: 98-20=78
Exploring Operation: 5+20=25, Resulting Numbers: [98, 25]
Generated Node #0,0,2: 50:[98, 25] Operation: 5+20=25
Moving to Node #0,1,0
Current State: 50:[5, 34], Operations: ['98-22=76', '76-42=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[5, 78], Operations: ['42-22=20', '98-20=78']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,50 unequal: No Solution
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 5*78=390, Resulting Numbers: [390]
390,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[76, 47], Operations: ['98-22=76', '5+42=47']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,50 unequal: No Solution
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[42, 71], Operations: ['98-22=76', '76-5=71']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,50 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[98, 25], Operations: ['42-22=20', '5+20=25']
Exploring Operation: 98*25=2450, Resulting Numbers: [2450]
2450,50 unequal: No Solution
Exploring Operation: 98+25=123, Resulting Numbers: [123]
123,50 unequal: No Solution
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[20, 93], Operations: ['42-22=20', '98-5=93']
Exploring Operation: 20*93=1860, Resulting Numbers: [1860]
1860,50 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,50 unequal: No Solution
Exploring Operation: 20+93=113, Resulting Numbers: [113]
113,50 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
9,
13,
10
] | 75 | [
"34-9=25",
"13-10=3",
"25*3=75"
] | Current State: 75:[34, 9, 13, 10], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [13, 10, 25]
Generated Node #2: [13, 10, 25] from Operation: 34-9=25
Current State: 75:[13, 10, 25], Operations: ['34-9=25']
Exploring Operation: 13-10=3, Resulting Numbers: [25, 3]
Generated Node #3: [25, 3] from Operation: 13-10=3
Current State: 75:[25, 3], Operations: ['34-9=25', '13-10=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[34, 9, 13, 10], Operations: []
Exploring Operation: 34-13=21, Resulting Numbers: [9, 10, 21]
Generated Node #0,0: 75:[9, 10, 21] Operation: 34-13=21
Exploring Operation: 34-9=25, Resulting Numbers: [13, 10, 25]
Generated Node #0,1: 75:[13, 10, 25] Operation: 34-9=25
Exploring Operation: 34-10=24, Resulting Numbers: [9, 13, 24]
Generated Node #0,2: 75:[9, 13, 24] Operation: 34-10=24
Exploring Operation: 10-9=1, Resulting Numbers: [34, 13, 1]
Generated Node #0,3: 75:[34, 13, 1] Operation: 10-9=1
Moving to Node #0,1
Current State: 75:[13, 10, 25], Operations: ['34-9=25']
Exploring Operation: 25-10=15, Resulting Numbers: [13, 15]
Generated Node #0,1,0: 75:[13, 15] Operation: 25-10=15
Exploring Operation: 25-13=12, Resulting Numbers: [10, 12]
Generated Node #0,1,1: 75:[10, 12] Operation: 25-13=12
Exploring Operation: 13+10=23, Resulting Numbers: [25, 23]
Generated Node #0,1,2: 75:[25, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [25, 3]
Generated Node #0,1,3: 75:[25, 3] Operation: 13-10=3
Moving to Node #0,2
Current State: 75:[9, 13, 24], Operations: ['34-10=24']
Exploring Operation: 24-13=11, Resulting Numbers: [9, 11]
Generated Node #0,2,0: 75:[9, 11] Operation: 24-13=11
Exploring Operation: 13-9=4, Resulting Numbers: [24, 4]
Generated Node #0,2,1: 75:[24, 4] Operation: 13-9=4
Exploring Operation: 24-9=15, Resulting Numbers: [13, 15]
Generated Node #0,2,2: 75:[13, 15] Operation: 24-9=15
Exploring Operation: 9+13=22, Resulting Numbers: [24, 22]
Generated Node #0,2,3: 75:[24, 22] Operation: 9+13=22
Moving to Node #0,3
Current State: 75:[34, 13, 1], Operations: ['10-9=1']
Exploring Operation: 34-1=33, Resulting Numbers: [13, 33]
Generated Node #0,3,0: 75:[13, 33] Operation: 34-1=33
Exploring Operation: 34-13=21, Resulting Numbers: [1, 21]
Generated Node #0,3,1: 75:[1, 21] Operation: 34-13=21
Exploring Operation: 13+1=14, Resulting Numbers: [34, 14]
Generated Node #0,3,2: 75:[34, 14] Operation: 13+1=14
Exploring Operation: 34*1=34, Resulting Numbers: [13, 34]
Generated Node #0,3,3: 75:[13, 34] Operation: 34*1=34
Moving to Node #0,0
Current State: 75:[9, 10, 21], Operations: ['34-13=21']
Exploring Operation: 10-9=1, Resulting Numbers: [21, 1]
Generated Node #0,0,0: 75:[21, 1] Operation: 10-9=1
Exploring Operation: 21-10=11, Resulting Numbers: [9, 11]
Generated Node #0,0,1: 75:[9, 11] Operation: 21-10=11
Exploring Operation: 21-9=12, Resulting Numbers: [10, 12]
Generated Node #0,0,2: 75:[10, 12] Operation: 21-9=12
Exploring Operation: 9+10=19, Resulting Numbers: [21, 19]
Generated Node #0,0,3: 75:[21, 19] Operation: 9+10=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[21, 1], Operations: ['34-13=21', '10-9=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[9, 11], Operations: ['34-13=21', '21-10=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 75:[10, 12], Operations: ['34-13=21', '21-9=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,75 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 75:[21, 19], Operations: ['34-13=21', '9+10=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,75 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,75 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: 75:[25, 3], Operations: ['34-9=25', '13-10=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[34, 9, 13, 10], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [13, 10, 25]
Generated Node #0,1: 75:[13, 10, 25] Operation: 34-9=25
Moving to Node #0,1
Current State: 75:[13, 10, 25], Operations: ['34-9=25']
Exploring Operation: 13-10=3, Resulting Numbers: [25, 3]
Generated Node #0,1,3: 75:[25, 3] Operation: 13-10=3
Moving to Node #0,1,3
Current State: 75:[25, 3], Operations: ['34-9=25', '13-10=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
20,
46,
98,
96
] | 43 | [
"98-96=2",
"46/2=23",
"20+23=43"
] | Current State: 43:[20, 46, 98, 96], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [20, 46, 2]
Generated Node #2: [20, 46, 2] from Operation: 98-96=2
Current State: 43:[20, 46, 2], Operations: ['98-96=2']
Exploring Operation: 46/2=23, Resulting Numbers: [20, 23]
Generated Node #3: [20, 23] from Operation: 46/2=23
Current State: 43:[20, 23], Operations: ['98-96=2', '46/2=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[20, 46, 98, 96], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [20, 46, 2]
Generated Node #0,0: 43:[20, 46, 2] Operation: 98-96=2
Exploring Operation: 98-46=52, Resulting Numbers: [20, 96, 52]
Generated Node #0,1: 43:[20, 96, 52] Operation: 98-46=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[20, 46, 2], Operations: ['98-96=2']
Exploring Operation: 20*2=40, Resulting Numbers: [46, 40]
Generated Node #0,0,0: 43:[46, 40] Operation: 20*2=40
Exploring Operation: 20+2=22, Resulting Numbers: [46, 22]
Generated Node #0,0,1: 43:[46, 22] Operation: 20+2=22
Moving to Node #0,0,0
Current State: 43:[46, 40], Operations: ['98-96=2', '20*2=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,43 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[46, 22], Operations: ['98-96=2', '20+2=22']
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[20, 96, 52], Operations: ['98-46=52']
Exploring Operation: 96-20=76, Resulting Numbers: [52, 76]
Generated Node #0,1,0: 43:[52, 76] Operation: 96-20=76
Exploring Operation: 96-52=44, Resulting Numbers: [20, 44]
Generated Node #0,1,1: 43:[20, 44] Operation: 96-52=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[20, 44], Operations: ['98-46=52', '96-52=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,43 unequal: No Solution
No 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: 43:[52, 76], Operations: ['98-46=52', '96-20=76']
Exploring Operation: 76-52=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 52+76=128, Resulting Numbers: [128]
128,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
68,
1,
62,
61
] | 70 | [
"68+1=69",
"62-61=1",
"69+1=70"
] | Current State: 70:[68, 1, 62, 61], Operations: []
Exploring Operation: 68+1=69, Resulting Numbers: [62, 61, 69]
Generated Node #2: [62, 61, 69] from Operation: 68+1=69
Current State: 70:[62, 61, 69], Operations: ['68+1=69']
Exploring Operation: 62-61=1, Resulting Numbers: [69, 1]
Generated Node #3: [69, 1] from Operation: 62-61=1
Current State: 70:[69, 1], Operations: ['68+1=69', '62-61=1']
Exploring Operation: 69+1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 1, 62, 61], Operations: []
Exploring Operation: 62-61=1, Resulting Numbers: [68, 1, 1]
Generated Node #0,0: 70:[68, 1, 1] Operation: 62-61=1
Exploring Operation: 68-61=7, Resulting Numbers: [1, 62, 7]
Generated Node #0,1: 70:[1, 62, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 70:[68, 1, 1], Operations: ['62-61=1']
Exploring Operation: 68+1=69, Resulting Numbers: [1, 69]
Generated Node #0,0,0: 70:[1, 69] Operation: 68+1=69
Exploring Operation: 68+1=69, Resulting Numbers: [1, 69]
Generated Node #0,0,1: 70:[1, 69] Operation: 68+1=69
Moving to Node #0,1
Current State: 70:[1, 62, 7], Operations: ['68-61=7']
Exploring Operation: 62+7=69, Resulting Numbers: [1, 69]
Generated Node #0,1,0: 70:[1, 69] Operation: 62+7=69
Exploring Operation: 1+62=63, Resulting Numbers: [7, 63]
Generated Node #0,1,1: 70:[7, 63] Operation: 1+62=63
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[1, 69], Operations: ['68-61=7', '62+7=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[68, 1, 62, 61], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [1, 62, 7]
Generated Node #0,1: 70:[1, 62, 7] Operation: 68-61=7
Moving to Node #0,1
Current State: 70:[1, 62, 7], Operations: ['68-61=7']
Exploring Operation: 62+7=69, Resulting Numbers: [1, 69]
Generated Node #0,1,0: 70:[1, 69] Operation: 62+7=69
Moving to Node #0,1,0
Current State: 70:[1, 69], Operations: ['68-61=7', '62+7=69']
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
14,
83,
87,
26
] | 36 | [
"14+83=97",
"87-26=61",
"97-61=36"
] | Current State: 36:[14, 83, 87, 26], Operations: []
Exploring Operation: 14+83=97, Resulting Numbers: [87, 26, 97]
Generated Node #2: [87, 26, 97] from Operation: 14+83=97
Current State: 36:[87, 26, 97], Operations: ['14+83=97']
Exploring Operation: 87-26=61, Resulting Numbers: [97, 61]
Generated Node #3: [97, 61] from Operation: 87-26=61
Current State: 36:[97, 61], Operations: ['14+83=97', '87-26=61']
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[14, 83, 87, 26], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [14, 26, 4]
Generated Node #0,0: 36:[14, 26, 4] Operation: 87-83=4
Exploring Operation: 83-26=57, Resulting Numbers: [14, 87, 57]
Generated Node #0,1: 36:[14, 87, 57] Operation: 83-26=57
Moving to Node #0,0
Current State: 36:[14, 26, 4], Operations: ['87-83=4']
Exploring Operation: 14+26=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 36:[4, 40] Operation: 14+26=40
Exploring Operation: 26-14=12, Resulting Numbers: [4, 12]
Generated Node #0,0,1: 36:[4, 12] Operation: 26-14=12
Moving to Node #0,1
Current State: 36:[14, 87, 57], Operations: ['83-26=57']
Exploring Operation: 87-14=73, Resulting Numbers: [57, 73]
Generated Node #0,1,0: 36:[57, 73] Operation: 87-14=73
Exploring Operation: 87-57=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 36:[14, 30] Operation: 87-57=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[14, 30], Operations: ['83-26=57', '87-57=30']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[57, 73], Operations: ['83-26=57', '87-14=73']
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,36 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: 36:[4, 12], Operations: ['87-83=4', '26-14=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[4, 40], Operations: ['87-83=4', '14+26=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[14, 83, 87, 26], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [14, 26, 4]
Generated Node #0,0: 36:[14, 26, 4] Operation: 87-83=4
Moving to Node #0,0
Current State: 36:[14, 26, 4], Operations: ['87-83=4']
Exploring Operation: 14+26=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 36:[4, 40] Operation: 14+26=40
Moving to Node #0,0,0
Current State: 36:[4, 40], Operations: ['87-83=4', '14+26=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
8,
98,
2,
36
] | 24 | [
"98-2=96",
"96/8=12",
"36-12=24"
] | Current State: 24:[8, 98, 2, 36], Operations: []
Exploring Operation: 98-2=96, Resulting Numbers: [8, 36, 96]
Generated Node #2: [8, 36, 96] from Operation: 98-2=96
Current State: 24:[8, 36, 96], Operations: ['98-2=96']
Exploring Operation: 96/8=12, Resulting Numbers: [36, 12]
Generated Node #3: [36, 12] from Operation: 96/8=12
Current State: 24:[36, 12], Operations: ['98-2=96', '96/8=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[8, 98, 2, 36], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [8, 36, 49]
Generated Node #0,0: 24:[8, 36, 49] Operation: 98/2=49
Exploring Operation: 98-8=90, Resulting Numbers: [2, 36, 90]
Generated Node #0,1: 24:[2, 36, 90] Operation: 98-8=90
Exploring Operation: 98-36=62, Resulting Numbers: [8, 2, 62]
Generated Node #0,2: 24:[8, 2, 62] Operation: 98-36=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[8, 36, 49], Operations: ['98/2=49']
Exploring Operation: 36-8=28, Resulting Numbers: [49, 28]
Generated Node #0,0,0: 24:[49, 28] Operation: 36-8=28
Exploring Operation: 49-8=41, Resulting Numbers: [36, 41]
Generated Node #0,0,1: 24:[36, 41] Operation: 49-8=41
Exploring Operation: 49-36=13, Resulting Numbers: [8, 13]
Generated Node #0,0,2: 24:[8, 13] Operation: 49-36=13
Moving to Node #0,0,2
Current State: 24:[8, 13], Operations: ['98/2=49', '49-36=13']
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[49, 28], Operations: ['98/2=49', '36-8=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,24 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[36, 41], Operations: ['98/2=49', '49-8=41']
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,24 unequal: No Solution
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,24 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[8, 2, 62], Operations: ['98-36=62']
Exploring Operation: 62-2=60, Resulting Numbers: [8, 60]
Generated Node #0,2,0: 24:[8, 60] Operation: 62-2=60
Exploring Operation: 62/2=31, Resulting Numbers: [8, 31]
Generated Node #0,2,1: 24:[8, 31] Operation: 62/2=31
Exploring Operation: 62-8=54, Resulting Numbers: [2, 54]
Generated Node #0,2,2: 24:[2, 54] Operation: 62-8=54
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 24:[8, 31], Operations: ['98-36=62', '62/2=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,24 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,24 unequal: No Solution
No 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: 24:[2, 54], Operations: ['98-36=62', '62-8=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,24 unequal: No Solution
No 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: 24:[8, 60], Operations: ['98-36=62', '62-2=60']
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,24 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: 24:[2, 36, 90], Operations: ['98-8=90']
Exploring Operation: 36/2=18, Resulting Numbers: [90, 18]
Generated Node #0,1,0: 24:[90, 18] Operation: 36/2=18
Exploring Operation: 90/2=45, Resulting Numbers: [36, 45]
Generated Node #0,1,1: 24:[36, 45] Operation: 90/2=45
Exploring Operation: 90-36=54, Resulting Numbers: [2, 54]
Generated Node #0,1,2: 24:[2, 54] Operation: 90-36=54
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[2, 54], Operations: ['98-8=90', '90-36=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,24 unequal: No Solution
No 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: 24:[36, 45], Operations: ['98-8=90', '90/2=45']
Exploring Operation: 36+45=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Exploring Operation: 36*45=1620, Resulting Numbers: [1620]
1620,24 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,24 unequal: No Solution
No 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: 24:[90, 18], Operations: ['98-8=90', '36/2=18']
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,24 unequal: No Solution
Exploring Operation: 90+18=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 90/18=5, Resulting Numbers: [5]
5,24 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 |
[
64,
15,
65,
37
] | 21 | [
"64-15=49",
"65-37=28",
"49-28=21"
] | Current State: 21:[64, 15, 65, 37], Operations: []
Exploring Operation: 64-15=49, Resulting Numbers: [65, 37, 49]
Generated Node #2: [65, 37, 49] from Operation: 64-15=49
Current State: 21:[65, 37, 49], Operations: ['64-15=49']
Exploring Operation: 65-37=28, Resulting Numbers: [49, 28]
Generated Node #3: [49, 28] from Operation: 65-37=28
Current State: 21:[49, 28], Operations: ['64-15=49', '65-37=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[64, 15, 65, 37], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [15, 37, 1]
Generated Node #0,0: 21:[15, 37, 1] Operation: 65-64=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[15, 37, 1], Operations: ['65-64=1']
Exploring Operation: 37-15=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 21:[1, 22] Operation: 37-15=22
Moving to Node #0,0,0
Current State: 21:[1, 22], Operations: ['65-64=1', '37-15=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[64, 15, 65, 37], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [15, 37, 1]
Generated Node #0,0: 21:[15, 37, 1] Operation: 65-64=1
Moving to Node #0,0
Current State: 21:[15, 37, 1], Operations: ['65-64=1']
Exploring Operation: 37-15=22, Resulting Numbers: [1, 22]
Generated Node #0,0,0: 21:[1, 22] Operation: 37-15=22
Moving to Node #0,0,0
Current State: 21:[1, 22], Operations: ['65-64=1', '37-15=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
72,
88,
66,
32
] | 62 | [
"72+88=160",
"66+32=98",
"160-98=62"
] | Current State: 62:[72, 88, 66, 32], Operations: []
Exploring Operation: 72+88=160, Resulting Numbers: [66, 32, 160]
Generated Node #2: [66, 32, 160] from Operation: 72+88=160
Current State: 62:[66, 32, 160], Operations: ['72+88=160']
Exploring Operation: 66+32=98, Resulting Numbers: [160, 98]
Generated Node #3: [160, 98] from Operation: 66+32=98
Current State: 62:[160, 98], Operations: ['72+88=160', '66+32=98']
Exploring Operation: 160-98=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[72, 88, 66, 32], Operations: []
Exploring Operation: 88-32=56, Resulting Numbers: [72, 66, 56]
Generated Node #0,0: 62:[72, 66, 56] Operation: 88-32=56
Exploring Operation: 72-66=6, Resulting Numbers: [88, 32, 6]
Generated Node #0,1: 62:[88, 32, 6] Operation: 72-66=6
Exploring Operation: 88-66=22, Resulting Numbers: [72, 32, 22]
Generated Node #0,2: 62:[72, 32, 22] Operation: 88-66=22
Exploring Operation: 88-72=16, Resulting Numbers: [66, 32, 16]
Generated Node #0,3: 62:[66, 32, 16] Operation: 88-72=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 62:[66, 32, 16], Operations: ['88-72=16']
Exploring Operation: 66-32=34, Resulting Numbers: [16, 34]
Generated Node #0,3,0: 62:[16, 34] Operation: 66-32=34
Exploring Operation: 32+16=48, Resulting Numbers: [66, 48]
Generated Node #0,3,1: 62:[66, 48] Operation: 32+16=48
Exploring Operation: 32/16=2, Resulting Numbers: [66, 2]
Generated Node #0,3,2: 62:[66, 2] Operation: 32/16=2
Exploring Operation: 66-16=50, Resulting Numbers: [32, 50]
Generated Node #0,3,3: 62:[32, 50] Operation: 66-16=50
Moving to Node #0,3,2
Current State: 62:[66, 2], Operations: ['88-72=16', '32/16=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,62 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[32, 50], Operations: ['88-72=16', '66-16=50']
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,62 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[16, 34], Operations: ['88-72=16', '66-32=34']
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,62 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[66, 48], Operations: ['88-72=16', '32+16=48']
Exploring Operation: 66*48=3168, Resulting Numbers: [3168]
3168,62 unequal: No Solution
Exploring Operation: 66+48=114, Resulting Numbers: [114]
114,62 unequal: No Solution
Exploring Operation: 66-48=18, Resulting Numbers: [18]
18,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
Current State: 62:[72, 66, 56], Operations: ['88-32=56']
Exploring Operation: 72+56=128, Resulting Numbers: [66, 128]
Generated Node #0,0,0: 62:[66, 128] Operation: 72+56=128
Exploring Operation: 72-56=16, Resulting Numbers: [66, 16]
Generated Node #0,0,1: 62:[66, 16] Operation: 72-56=16
Exploring Operation: 72-66=6, Resulting Numbers: [56, 6]
Generated Node #0,0,2: 62:[56, 6] Operation: 72-66=6
Exploring Operation: 66-56=10, Resulting Numbers: [72, 10]
Generated Node #0,0,3: 62:[72, 10] Operation: 66-56=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[56, 6], Operations: ['88-32=56', '72-66=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,62 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[72, 88, 66, 32], Operations: []
Exploring Operation: 88-32=56, Resulting Numbers: [72, 66, 56]
Generated Node #0,0: 62:[72, 66, 56] Operation: 88-32=56
Moving to Node #0,0
Current State: 62:[72, 66, 56], Operations: ['88-32=56']
Exploring Operation: 72-66=6, Resulting Numbers: [56, 6]
Generated Node #0,0,2: 62:[56, 6] Operation: 72-66=6
Moving to Node #0,0,2
Current State: 62:[56, 6], Operations: ['88-32=56', '72-66=6']
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | mult_heuristic |
[
85,
50,
31,
36
] | 33 | [
"36-31=5",
"85/5=17",
"50-17=33"
] | Current State: 33:[85, 50, 31, 36], Operations: []
Exploring Operation: 36-31=5, Resulting Numbers: [85, 50, 5]
Generated Node #2: [85, 50, 5] from Operation: 36-31=5
Current State: 33:[85, 50, 5], Operations: ['36-31=5']
Exploring Operation: 85/5=17, Resulting Numbers: [50, 17]
Generated Node #3: [50, 17] from Operation: 85/5=17
Current State: 33:[50, 17], Operations: ['36-31=5', '85/5=17']
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[85, 50, 31, 36], Operations: []
Exploring Operation: 50-36=14, Resulting Numbers: [85, 31, 14]
Generated Node #0,0: 33:[85, 31, 14] Operation: 50-36=14
Exploring Operation: 85-36=49, Resulting Numbers: [50, 31, 49]
Generated Node #0,1: 33:[50, 31, 49] Operation: 85-36=49
Exploring Operation: 85-50=35, Resulting Numbers: [31, 36, 35]
Generated Node #0,2: 33:[31, 36, 35] Operation: 85-50=35
Exploring Operation: 85-31=54, Resulting Numbers: [50, 36, 54]
Generated Node #0,3: 33:[50, 36, 54] Operation: 85-31=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[31, 36, 35], Operations: ['85-50=35']
Exploring Operation: 31+36=67, Resulting Numbers: [35, 67]
Generated Node #0,2,0: 33:[35, 67] Operation: 31+36=67
Exploring Operation: 35-31=4, Resulting Numbers: [36, 4]
Generated Node #0,2,1: 33:[36, 4] Operation: 35-31=4
Exploring Operation: 36-35=1, Resulting Numbers: [31, 1]
Generated Node #0,2,2: 33:[31, 1] Operation: 36-35=1
Exploring Operation: 36-31=5, Resulting Numbers: [35, 5]
Generated Node #0,2,3: 33:[35, 5] Operation: 36-31=5
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[36, 4], Operations: ['85-50=35', '35-31=4']
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No 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: 33:[31, 1], Operations: ['85-50=35', '36-35=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
No 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: 33:[35, 5], Operations: ['85-50=35', '36-31=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[35, 67], Operations: ['85-50=35', '31+36=67']
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,33 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,33 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: 33:[50, 31, 49], Operations: ['85-36=49']
Exploring Operation: 49-31=18, Resulting Numbers: [50, 18]
Generated Node #0,1,0: 33:[50, 18] Operation: 49-31=18
Exploring Operation: 50-49=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 33:[31, 1] Operation: 50-49=1
Exploring Operation: 50-31=19, Resulting Numbers: [49, 19]
Generated Node #0,1,2: 33:[49, 19] Operation: 50-31=19
Exploring Operation: 50+31=81, Resulting Numbers: [49, 81]
Generated Node #0,1,3: 33:[49, 81] Operation: 50+31=81
Moving to Node #0,1,1
Current State: 33:[31, 1], Operations: ['85-36=49', '50-49=1']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[49, 19], Operations: ['85-36=49', '50-31=19']
Exploring Operation: 49+19=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 49*19=931, Resulting Numbers: [931]
931,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[50, 18], Operations: ['85-36=49', '49-31=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[49, 81], Operations: ['85-36=49', '50+31=81']
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 49*81=3969, Resulting Numbers: [3969]
3969,33 unequal: No Solution
Exploring Operation: 49+81=130, Resulting Numbers: [130]
130,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[50, 36, 54], Operations: ['85-31=54']
Exploring Operation: 50+36=86, Resulting Numbers: [54, 86]
Generated Node #0,3,0: 33:[54, 86] Operation: 50+36=86
Exploring Operation: 50-36=14, Resulting Numbers: [54, 14]
Generated Node #0,3,1: 33:[54, 14] Operation: 50-36=14
Exploring Operation: 54-50=4, Resulting Numbers: [36, 4]
Generated Node #0,3,2: 33:[36, 4] Operation: 54-50=4
Exploring Operation: 54-36=18, Resulting Numbers: [50, 18]
Generated Node #0,3,3: 33:[50, 18] Operation: 54-36=18
Moving to Node #0,3,2
Current State: 33:[36, 4], Operations: ['85-31=54', '54-50=4']
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,33 unequal: No Solution
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[50, 18], Operations: ['85-31=54', '54-36=18']
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 50*18=900, Resulting Numbers: [900]
900,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[54, 14], Operations: ['85-31=54', '50-36=14']
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[54, 86], Operations: ['85-31=54', '50+36=86']
Exploring Operation: 54+86=140, Resulting Numbers: [140]
140,33 unequal: No Solution
Exploring Operation: 54*86=4644, Resulting Numbers: [4644]
4644,33 unequal: No Solution
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[85, 31, 14], Operations: ['50-36=14']
Exploring Operation: 31-14=17, Resulting Numbers: [85, 17]
Generated Node #0,0,0: 33:[85, 17] Operation: 31-14=17
Exploring Operation: 85-31=54, Resulting Numbers: [14, 54]
Generated Node #0,0,1: 33:[14, 54] Operation: 85-31=54
Exploring Operation: 85-14=71, Resulting Numbers: [31, 71]
Generated Node #0,0,2: 33:[31, 71] Operation: 85-14=71
Exploring Operation: 31+14=45, Resulting Numbers: [85, 45]
Generated Node #0,0,3: 33:[85, 45] Operation: 31+14=45
Moving to Node #0,0,1
Current State: 33:[14, 54], Operations: ['50-36=14', '85-31=54']
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,33 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[31, 71], Operations: ['50-36=14', '85-14=71']
Exploring Operation: 31*71=2201, Resulting Numbers: [2201]
2201,33 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 31+71=102, Resulting Numbers: [102]
102,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[85, 17], Operations: ['50-36=14', '31-14=17']
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,33 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,33 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[85, 45], Operations: ['50-36=14', '31+14=45']
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,33 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 85*45=3825, Resulting Numbers: [3825]
3825,33 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 |
[
30,
96,
87,
49
] | 57 | [
"30*96=2880",
"2880-87=2793",
"2793/49=57"
] | Current State: 57:[30, 96, 87, 49], Operations: []
Exploring Operation: 30*96=2880, Resulting Numbers: [87, 49, 2880]
Generated Node #2: [87, 49, 2880] from Operation: 30*96=2880
Current State: 57:[87, 49, 2880], Operations: ['30*96=2880']
Exploring Operation: 2880-87=2793, Resulting Numbers: [49, 2793]
Generated Node #3: [49, 2793] from Operation: 2880-87=2793
Current State: 57:[49, 2793], Operations: ['30*96=2880', '2880-87=2793']
Exploring Operation: 2793/49=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[30, 96, 87, 49], Operations: []
Exploring Operation: 96-30=66, Resulting Numbers: [87, 49, 66]
Generated Node #0,0: 57:[87, 49, 66] Operation: 96-30=66
Exploring Operation: 87-30=57, Resulting Numbers: [96, 49, 57]
Generated Node #0,1: 57:[96, 49, 57] Operation: 87-30=57
Exploring Operation: 96-87=9, Resulting Numbers: [30, 49, 9]
Generated Node #0,2: 57:[30, 49, 9] Operation: 96-87=9
Moving to Node #0,2
Current State: 57:[30, 49, 9], Operations: ['96-87=9']
Exploring Operation: 49-30=19, Resulting Numbers: [9, 19]
Generated Node #0,2,0: 57:[9, 19] Operation: 49-30=19
Exploring Operation: 30-9=21, Resulting Numbers: [49, 21]
Generated Node #0,2,1: 57:[49, 21] Operation: 30-9=21
Exploring Operation: 49+9=58, Resulting Numbers: [30, 58]
Generated Node #0,2,2: 57:[30, 58] Operation: 49+9=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[9, 19], Operations: ['96-87=9', '49-30=19']
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,57 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 57:[49, 21], Operations: ['96-87=9', '30-9=21']
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,57 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 57:[30, 58], Operations: ['96-87=9', '49+9=58']
Exploring Operation: 30*58=1740, Resulting Numbers: [1740]
1740,57 unequal: No Solution
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,57 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: 57:[87, 49, 66], Operations: ['96-30=66']
Exploring Operation: 87-49=38, Resulting Numbers: [66, 38]
Generated Node #0,0,0: 57:[66, 38] Operation: 87-49=38
Exploring Operation: 66-49=17, Resulting Numbers: [87, 17]
Generated Node #0,0,1: 57:[87, 17] Operation: 66-49=17
Exploring Operation: 87-66=21, Resulting Numbers: [49, 21]
Generated Node #0,0,2: 57:[49, 21] Operation: 87-66=21
Moving to Node #0,1
Current State: 57:[96, 49, 57], Operations: ['87-30=57']
Exploring Operation: 96-57=39, Resulting Numbers: [49, 39]
Generated Node #0,1,0: 57:[49, 39] Operation: 96-57=39
Exploring Operation: 96-49=47, Resulting Numbers: [57, 47]
Generated Node #0,1,1: 57:[57, 47] Operation: 96-49=47
Exploring Operation: 57-49=8, Resulting Numbers: [96, 8]
Generated Node #0,1,2: 57:[96, 8] Operation: 57-49=8
Moving to Node #0,0,2
Current State: 57:[49, 21], Operations: ['96-30=66', '87-66=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,57 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[57, 47], Operations: ['87-30=57', '96-49=47']
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,57 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[49, 39], Operations: ['87-30=57', '96-57=39']
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 49*39=1911, Resulting Numbers: [1911]
1911,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[66, 38], Operations: ['96-30=66', '87-49=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,57 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[87, 17], Operations: ['96-30=66', '66-49=17']
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,57 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,57 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[96, 8], Operations: ['87-30=57', '57-49=8']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 96+8=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,57 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
68,
45,
55
] | 56 | [
"68-22=46",
"55-45=10",
"46+10=56"
] | Current State: 56:[22, 68, 45, 55], Operations: []
Exploring Operation: 68-22=46, Resulting Numbers: [45, 55, 46]
Generated Node #2: [45, 55, 46] from Operation: 68-22=46
Current State: 56:[45, 55, 46], Operations: ['68-22=46']
Exploring Operation: 55-45=10, Resulting Numbers: [46, 10]
Generated Node #3: [46, 10] from Operation: 55-45=10
Current State: 56:[46, 10], Operations: ['68-22=46', '55-45=10']
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[22, 68, 45, 55], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [22, 55, 23]
Generated Node #0,0: 56:[22, 55, 23] Operation: 68-45=23
Exploring Operation: 55-45=10, Resulting Numbers: [22, 68, 10]
Generated Node #0,1: 56:[22, 68, 10] Operation: 55-45=10
Exploring Operation: 68-22=46, Resulting Numbers: [45, 55, 46]
Generated Node #0,2: 56:[45, 55, 46] Operation: 68-22=46
Exploring Operation: 68-55=13, Resulting Numbers: [22, 45, 13]
Generated Node #0,3: 56:[22, 45, 13] Operation: 68-55=13
Exploring Operation: 45-22=23, Resulting Numbers: [68, 55, 23]
Generated Node #0,4: 56:[68, 55, 23] Operation: 45-22=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[22, 55, 23], Operations: ['68-45=23']
Exploring Operation: 23-22=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 56:[55, 1] Operation: 23-22=1
Exploring Operation: 22+55=77, Resulting Numbers: [23, 77]
Generated Node #0,0,1: 56:[23, 77] Operation: 22+55=77
Exploring Operation: 22+23=45, Resulting Numbers: [55, 45]
Generated Node #0,0,2: 56:[55, 45] Operation: 22+23=45
Exploring Operation: 55-22=33, Resulting Numbers: [23, 33]
Generated Node #0,0,3: 56:[23, 33] Operation: 55-22=33
Exploring Operation: 55-23=32, Resulting Numbers: [22, 32]
Generated Node #0,0,4: 56:[22, 32] Operation: 55-23=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[55, 1], Operations: ['68-45=23', '23-22=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[22, 68, 45, 55], Operations: []
Exploring Operation: 68-45=23, Resulting Numbers: [22, 55, 23]
Generated Node #0,0: 56:[22, 55, 23] Operation: 68-45=23
Moving to Node #0,0
Current State: 56:[22, 55, 23], Operations: ['68-45=23']
Exploring Operation: 23-22=1, Resulting Numbers: [55, 1]
Generated Node #0,0,0: 56:[55, 1] Operation: 23-22=1
Moving to Node #0,0,0
Current State: 56:[55, 1], Operations: ['68-45=23', '23-22=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
30,
71,
60,
55
] | 79 | [
"60-55=5",
"30*5=150",
"150-71=79"
] | Current State: 79:[30, 71, 60, 55], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [30, 71, 5]
Generated Node #2: [30, 71, 5] from Operation: 60-55=5
Current State: 79:[30, 71, 5], Operations: ['60-55=5']
Exploring Operation: 30*5=150, Resulting Numbers: [71, 150]
Generated Node #3: [71, 150] from Operation: 30*5=150
Current State: 79:[71, 150], Operations: ['60-55=5', '30*5=150']
Exploring Operation: 150-71=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[30, 71, 60, 55], Operations: []
Exploring Operation: 30+55=85, Resulting Numbers: [71, 60, 85]
Generated Node #0,0: 79:[71, 60, 85] Operation: 30+55=85
Moving to Node #0,0
Current State: 79:[71, 60, 85], Operations: ['30+55=85']
Exploring Operation: 71+60=131, Resulting Numbers: [85, 131]
Generated Node #0,0,0: 79:[85, 131] Operation: 71+60=131
Moving to Node #0,0,0
Current State: 79:[85, 131], Operations: ['30+55=85', '71+60=131']
Exploring Operation: 131-85=46, Resulting Numbers: [46]
46,79 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
13,
13,
2,
37
] | 76 | [
"13/13=1",
"37+1=38",
"2*38=76"
] | Current State: 76:[13, 13, 2, 37], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [2, 37, 1]
Generated Node #2: [2, 37, 1] from Operation: 13/13=1
Current State: 76:[2, 37, 1], Operations: ['13/13=1']
Exploring Operation: 37+1=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 37+1=38
Current State: 76:[2, 38], Operations: ['13/13=1', '37+1=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[13, 13, 2, 37], Operations: []
Exploring Operation: 13-13=0, Resulting Numbers: [2, 37, 0]
Generated Node #0,0: 76:[2, 37, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [2, 37, 1]
Generated Node #0,1: 76:[2, 37, 1] Operation: 13/13=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[2, 37, 1], Operations: ['13/13=1']
Exploring Operation: 2*1=2, Resulting Numbers: [37, 2]
Generated Node #0,1,0: 76:[37, 2] Operation: 2*1=2
Exploring Operation: 37+1=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 76:[2, 38] Operation: 37+1=38
Moving to Node #0,1,1
Current State: 76:[2, 38], Operations: ['13/13=1', '37+1=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[13, 13, 2, 37], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [2, 37, 1]
Generated Node #0,1: 76:[2, 37, 1] Operation: 13/13=1
Moving to Node #0,1
Current State: 76:[2, 37, 1], Operations: ['13/13=1']
Exploring Operation: 37+1=38, Resulting Numbers: [2, 38]
Generated Node #0,1,1: 76:[2, 38] Operation: 37+1=38
Moving to Node #0,1,1
Current State: 76:[2, 38], Operations: ['13/13=1', '37+1=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
14,
69,
29,
27
] | 85 | [
"14+69=83",
"29-27=2",
"83+2=85"
] | Current State: 85:[14, 69, 29, 27], Operations: []
Exploring Operation: 14+69=83, Resulting Numbers: [29, 27, 83]
Generated Node #2: [29, 27, 83] from Operation: 14+69=83
Current State: 85:[29, 27, 83], Operations: ['14+69=83']
Exploring Operation: 29-27=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 29-27=2
Current State: 85:[83, 2], Operations: ['14+69=83', '29-27=2']
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[14, 69, 29, 27], Operations: []
Exploring Operation: 69+29=98, Resulting Numbers: [14, 27, 98]
Generated Node #0,0: 85:[14, 27, 98] Operation: 69+29=98
Exploring Operation: 69+27=96, Resulting Numbers: [14, 29, 96]
Generated Node #0,1: 85:[14, 29, 96] Operation: 69+27=96
Exploring Operation: 14+69=83, Resulting Numbers: [29, 27, 83]
Generated Node #0,2: 85:[29, 27, 83] Operation: 14+69=83
Exploring Operation: 29-27=2, Resulting Numbers: [14, 69, 2]
Generated Node #0,3: 85:[14, 69, 2] Operation: 29-27=2
Moving to Node #0,3
Current State: 85:[14, 69, 2], Operations: ['29-27=2']
Exploring Operation: 14/2=7, Resulting Numbers: [69, 7]
Generated Node #0,3,0: 85:[69, 7] Operation: 14/2=7
Exploring Operation: 14+69=83, Resulting Numbers: [2, 83]
Generated Node #0,3,1: 85:[2, 83] Operation: 14+69=83
Exploring Operation: 14+2=16, Resulting Numbers: [69, 16]
Generated Node #0,3,2: 85:[69, 16] Operation: 14+2=16
Exploring Operation: 69+2=71, Resulting Numbers: [14, 71]
Generated Node #0,3,3: 85:[14, 71] Operation: 69+2=71
Moving to Node #0,2
Current State: 85:[29, 27, 83], Operations: ['14+69=83']
Exploring Operation: 29+83=112, Resulting Numbers: [27, 112]
Generated Node #0,2,0: 85:[27, 112] Operation: 29+83=112
Exploring Operation: 29-27=2, Resulting Numbers: [83, 2]
Generated Node #0,2,1: 85:[83, 2] Operation: 29-27=2
Exploring Operation: 29+27=56, Resulting Numbers: [83, 56]
Generated Node #0,2,2: 85:[83, 56] Operation: 29+27=56
Exploring Operation: 27+83=110, Resulting Numbers: [29, 110]
Generated Node #0,2,3: 85:[29, 110] Operation: 27+83=110
Moving to Node #0,1
Current State: 85:[14, 29, 96], Operations: ['69+27=96']
Exploring Operation: 96-14=82, Resulting Numbers: [29, 82]
Generated Node #0,1,0: 85:[29, 82] Operation: 96-14=82
Exploring Operation: 29-14=15, Resulting Numbers: [96, 15]
Generated Node #0,1,1: 85:[96, 15] Operation: 29-14=15
Exploring Operation: 14+29=43, Resulting Numbers: [96, 43]
Generated Node #0,1,2: 85:[96, 43] Operation: 14+29=43
Exploring Operation: 96-29=67, Resulting Numbers: [14, 67]
Generated Node #0,1,3: 85:[14, 67] Operation: 96-29=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[96, 15], Operations: ['69+27=96', '29-14=15']
Exploring Operation: 96+15=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 96*15=1440, Resulting Numbers: [1440]
1440,85 unequal: No Solution
Exploring Operation: 96-15=81, Resulting Numbers: [81]
81,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[29, 82], Operations: ['69+27=96', '96-14=82']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,85 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,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:[14, 67], Operations: ['69+27=96', '96-29=67']
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,85 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,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:[96, 43], Operations: ['69+27=96', '14+29=43']
Exploring Operation: 96+43=139, Resulting Numbers: [139]
139,85 unequal: No Solution
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,85 unequal: No Solution
Exploring Operation: 96*43=4128, Resulting Numbers: [4128]
4128,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 85:[14, 27, 98], Operations: ['69+29=98']
Exploring Operation: 98-14=84, Resulting Numbers: [27, 84]
Generated Node #0,0,0: 85:[27, 84] Operation: 98-14=84
Exploring Operation: 27-14=13, Resulting Numbers: [98, 13]
Generated Node #0,0,1: 85:[98, 13] Operation: 27-14=13
Exploring Operation: 98/14=7, Resulting Numbers: [27, 7]
Generated Node #0,0,2: 85:[27, 7] Operation: 98/14=7
Exploring Operation: 98-27=71, Resulting Numbers: [14, 71]
Generated Node #0,0,3: 85:[14, 71] Operation: 98-27=71
Moving to Node #0,3,1
Current State: 85:[2, 83], Operations: ['29-27=2', '14+69=83']
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,85 unequal: No Solution
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[14, 69, 29, 27], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [14, 69, 2]
Generated Node #0,3: 85:[14, 69, 2] Operation: 29-27=2
Moving to Node #0,3
Current State: 85:[14, 69, 2], Operations: ['29-27=2']
Exploring Operation: 14+69=83, Resulting Numbers: [2, 83]
Generated Node #0,3,1: 85:[2, 83] Operation: 14+69=83
Moving to Node #0,3,1
Current State: 85:[2, 83], Operations: ['29-27=2', '14+69=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
60,
72,
36,
5
] | 67 | [
"60+5=65",
"72/36=2",
"65+2=67"
] | Current State: 67:[60, 72, 36, 5], Operations: []
Exploring Operation: 60+5=65, Resulting Numbers: [72, 36, 65]
Generated Node #2: [72, 36, 65] from Operation: 60+5=65
Current State: 67:[72, 36, 65], Operations: ['60+5=65']
Exploring Operation: 72/36=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 72/36=2
Current State: 67:[65, 2], Operations: ['60+5=65', '72/36=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[60, 72, 36, 5], Operations: []
Exploring Operation: 60+5=65, Resulting Numbers: [72, 36, 65]
Generated Node #0,0: 67:[72, 36, 65] Operation: 60+5=65
Moving to Node #0,0
Current State: 67:[72, 36, 65], Operations: ['60+5=65']
Exploring Operation: 72-36=36, Resulting Numbers: [65, 36]
Generated Node #0,0,0: 67:[65, 36] Operation: 72-36=36
Moving to Node #0,0,0
Current State: 67:[65, 36], Operations: ['60+5=65', '72-36=36']
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,67 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
95,
26,
5
] | 13 | [
"95-61=34",
"26-5=21",
"34-21=13"
] | Current State: 13:[61, 95, 26, 5], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [26, 5, 34]
Generated Node #2: [26, 5, 34] from Operation: 95-61=34
Current State: 13:[26, 5, 34], Operations: ['95-61=34']
Exploring Operation: 26-5=21, Resulting Numbers: [34, 21]
Generated Node #3: [34, 21] from Operation: 26-5=21
Current State: 13:[34, 21], Operations: ['95-61=34', '26-5=21']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[61, 95, 26, 5], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [26, 5, 34]
Generated Node #0,0: 13:[26, 5, 34] Operation: 95-61=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[26, 5, 34], Operations: ['95-61=34']
Exploring Operation: 34-26=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 13:[5, 8] Operation: 34-26=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[5, 8], Operations: ['95-61=34', '34-26=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[61, 95, 26, 5], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [26, 5, 34]
Generated Node #0,0: 13:[26, 5, 34] Operation: 95-61=34
Moving to Node #0,0
Current State: 13:[26, 5, 34], Operations: ['95-61=34']
Exploring Operation: 34-26=8, Resulting Numbers: [5, 8]
Generated Node #0,0,0: 13:[5, 8] Operation: 34-26=8
Moving to Node #0,0,0
Current State: 13:[5, 8], Operations: ['95-61=34', '34-26=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
15,
82,
7,
23
] | 28 | [
"82-7=75",
"75/15=5",
"23+5=28"
] | Current State: 28:[15, 82, 7, 23], Operations: []
Exploring Operation: 82-7=75, Resulting Numbers: [15, 23, 75]
Generated Node #2: [15, 23, 75] from Operation: 82-7=75
Current State: 28:[15, 23, 75], Operations: ['82-7=75']
Exploring Operation: 75/15=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 75/15=5
Current State: 28:[23, 5], Operations: ['82-7=75', '75/15=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[15, 82, 7, 23], Operations: []
Exploring Operation: 82-23=59, Resulting Numbers: [15, 7, 59]
Generated Node #0,0: 28:[15, 7, 59] Operation: 82-23=59
Exploring Operation: 82-15=67, Resulting Numbers: [7, 23, 67]
Generated Node #0,1: 28:[7, 23, 67] Operation: 82-15=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[15, 7, 59], Operations: ['82-23=59']
Exploring Operation: 59-7=52, Resulting Numbers: [15, 52]
Generated Node #0,0,0: 28:[15, 52] Operation: 59-7=52
Exploring Operation: 59-15=44, Resulting Numbers: [7, 44]
Generated Node #0,0,1: 28:[7, 44] Operation: 59-15=44
Moving to Node #0,0,1
Current State: 28:[7, 44], Operations: ['82-23=59', '59-15=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[15, 52], Operations: ['82-23=59', '59-7=52']
Exploring Operation: 52-15=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 15+52=67, Resulting Numbers: [67]
67,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[7, 23, 67], Operations: ['82-15=67']
Exploring Operation: 67-23=44, Resulting Numbers: [7, 44]
Generated Node #0,1,0: 28:[7, 44] Operation: 67-23=44
Exploring Operation: 67-7=60, Resulting Numbers: [23, 60]
Generated Node #0,1,1: 28:[23, 60] Operation: 67-7=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[7, 44], Operations: ['82-15=67', '67-23=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No 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: 28:[23, 60], Operations: ['82-15=67', '67-7=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,28 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,28 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,
88,
44,
5
] | 49 | [
"46-44=2",
"88/2=44",
"5+44=49"
] | Current State: 49:[46, 88, 44, 5], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [88, 5, 2]
Generated Node #2: [88, 5, 2] from Operation: 46-44=2
Current State: 49:[88, 5, 2], Operations: ['46-44=2']
Exploring Operation: 88/2=44, Resulting Numbers: [5, 44]
Generated Node #3: [5, 44] from Operation: 88/2=44
Current State: 49:[5, 44], Operations: ['46-44=2', '88/2=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[46, 88, 44, 5], Operations: []
Exploring Operation: 88-44=44, Resulting Numbers: [46, 5, 44]
Generated Node #0,0: 49:[46, 5, 44] Operation: 88-44=44
Exploring Operation: 88/44=2, Resulting Numbers: [46, 5, 2]
Generated Node #0,1: 49:[46, 5, 2] Operation: 88/44=2
Moving to Node #0,0
Current State: 49:[46, 5, 44], Operations: ['88-44=44']
Exploring Operation: 46+5=51, Resulting Numbers: [44, 51]
Generated Node #0,0,0: 49:[44, 51] Operation: 46+5=51
Exploring Operation: 5+44=49, Resulting Numbers: [46, 49]
Generated Node #0,0,1: 49:[46, 49] Operation: 5+44=49
Moving to Node #0,1
Current State: 49:[46, 5, 2], Operations: ['88/44=2']
Exploring Operation: 5+2=7, Resulting Numbers: [46, 7]
Generated Node #0,1,0: 49:[46, 7] Operation: 5+2=7
Exploring Operation: 46+2=48, Resulting Numbers: [5, 48]
Generated Node #0,1,1: 49:[5, 48] Operation: 46+2=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[46, 7], Operations: ['88/44=2', '5+2=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,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,1
Current State: 49:[5, 48], Operations: ['88/44=2', '46+2=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,49 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,49 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: 49:[46, 49], Operations: ['88-44=44', '5+44=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,49 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[44, 51], Operations: ['88-44=44', '46+5=51']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,49 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
28,
67,
21
] | 69 | [
"70-28=42",
"42/21=2",
"67+2=69"
] | Current State: 69:[70, 28, 67, 21], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [67, 21, 42]
Generated Node #2: [67, 21, 42] from Operation: 70-28=42
Current State: 69:[67, 21, 42], Operations: ['70-28=42']
Exploring Operation: 42/21=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 42/21=2
Current State: 69:[67, 2], Operations: ['70-28=42', '42/21=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[70, 28, 67, 21], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [67, 21, 42]
Generated Node #0,0: 69:[67, 21, 42] Operation: 70-28=42
Exploring Operation: 28-21=7, Resulting Numbers: [70, 67, 7]
Generated Node #0,1: 69:[70, 67, 7] Operation: 28-21=7
Exploring Operation: 70-67=3, Resulting Numbers: [28, 21, 3]
Generated Node #0,2: 69:[28, 21, 3] Operation: 70-67=3
Exploring Operation: 67-28=39, Resulting Numbers: [70, 21, 39]
Generated Node #0,3: 69:[70, 21, 39] Operation: 67-28=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[70, 67, 7], Operations: ['28-21=7']
Exploring Operation: 67+7=74, Resulting Numbers: [70, 74]
Generated Node #0,1,0: 69:[70, 74] Operation: 67+7=74
Exploring Operation: 70-7=63, Resulting Numbers: [67, 63]
Generated Node #0,1,1: 69:[67, 63] Operation: 70-7=63
Exploring Operation: 70-67=3, Resulting Numbers: [7, 3]
Generated Node #0,1,2: 69:[7, 3] Operation: 70-67=3
Exploring Operation: 70/7=10, Resulting Numbers: [67, 10]
Generated Node #0,1,3: 69:[67, 10] Operation: 70/7=10
Moving to Node #0,1,2
Current State: 69:[7, 3], Operations: ['28-21=7', '70-67=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[70, 74], Operations: ['28-21=7', '67+7=74']
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,69 unequal: No Solution
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,69 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[67, 63], Operations: ['28-21=7', '70-7=63']
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,69 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[67, 10], Operations: ['28-21=7', '70/7=10']
Exploring Operation: 67+10=77, Resulting Numbers: [77]
77,69 unequal: No Solution
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,69 unequal: No Solution
Exploring Operation: 67*10=670, Resulting Numbers: [670]
670,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
Current State: 69:[28, 21, 3], Operations: ['70-67=3']
Exploring Operation: 21/3=7, Resulting Numbers: [28, 7]
Generated Node #0,2,0: 69:[28, 7] Operation: 21/3=7
Exploring Operation: 28-21=7, Resulting Numbers: [3, 7]
Generated Node #0,2,1: 69:[3, 7] Operation: 28-21=7
Exploring Operation: 28-3=25, Resulting Numbers: [21, 25]
Generated Node #0,2,2: 69:[21, 25] Operation: 28-3=25
Exploring Operation: 21+3=24, Resulting Numbers: [28, 24]
Generated Node #0,2,3: 69:[28, 24] Operation: 21+3=24
Moving to Node #0,2,1
Current State: 69:[3, 7], Operations: ['70-67=3', '28-21=7']
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[21, 25], Operations: ['70-67=3', '28-3=25']
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,69 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[28, 24], Operations: ['70-67=3', '21+3=24']
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[28, 7], Operations: ['70-67=3', '21/3=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,69 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[70, 21, 39], Operations: ['67-28=39']
Exploring Operation: 39-21=18, Resulting Numbers: [70, 18]
Generated Node #0,3,0: 69:[70, 18] Operation: 39-21=18
Exploring Operation: 70-21=49, Resulting Numbers: [39, 49]
Generated Node #0,3,1: 69:[39, 49] Operation: 70-21=49
Exploring Operation: 21+39=60, Resulting Numbers: [70, 60]
Generated Node #0,3,2: 69:[70, 60] Operation: 21+39=60
Exploring Operation: 70-39=31, Resulting Numbers: [21, 31]
Generated Node #0,3,3: 69:[21, 31] Operation: 70-39=31
Moving to Node #0,3,0
Current State: 69:[70, 18], Operations: ['67-28=39', '39-21=18']
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,69 unequal: No Solution
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[21, 31], Operations: ['67-28=39', '70-39=31']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[70, 60], Operations: ['67-28=39', '21+39=60']
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 70+60=130, Resulting Numbers: [130]
130,69 unequal: No Solution
Exploring Operation: 70*60=4200, Resulting Numbers: [4200]
4200,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[39, 49], Operations: ['67-28=39', '70-21=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,69 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[67, 21, 42], Operations: ['70-28=42']
Exploring Operation: 21+42=63, Resulting Numbers: [67, 63]
Generated Node #0,0,0: 69:[67, 63] Operation: 21+42=63
Exploring Operation: 67-42=25, Resulting Numbers: [21, 25]
Generated Node #0,0,1: 69:[21, 25] Operation: 67-42=25
Exploring Operation: 42-21=21, Resulting Numbers: [67, 21]
Generated Node #0,0,2: 69:[67, 21] Operation: 42-21=21
Exploring Operation: 42/21=2, Resulting Numbers: [67, 2]
Generated Node #0,0,3: 69:[67, 2] Operation: 42/21=2
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 69:[67, 2], Operations: ['70-28=42', '42/21=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[70, 28, 67, 21], Operations: []
Exploring Operation: 70-28=42, Resulting Numbers: [67, 21, 42]
Generated Node #0,0: 69:[67, 21, 42] Operation: 70-28=42
Moving to Node #0,0
Current State: 69:[67, 21, 42], Operations: ['70-28=42']
Exploring Operation: 42/21=2, Resulting Numbers: [67, 2]
Generated Node #0,0,3: 69:[67, 2] Operation: 42/21=2
Moving to Node #0,0,3
Current State: 69:[67, 2], Operations: ['70-28=42', '42/21=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_4 | sum_heuristic |
[
62,
95,
82,
8
] | 67 | [
"62+95=157",
"82+8=90",
"157-90=67"
] | Current State: 67:[62, 95, 82, 8], Operations: []
Exploring Operation: 62+95=157, Resulting Numbers: [82, 8, 157]
Generated Node #2: [82, 8, 157] from Operation: 62+95=157
Current State: 67:[82, 8, 157], Operations: ['62+95=157']
Exploring Operation: 82+8=90, Resulting Numbers: [157, 90]
Generated Node #3: [157, 90] from Operation: 82+8=90
Current State: 67:[157, 90], Operations: ['62+95=157', '82+8=90']
Exploring Operation: 157-90=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[62, 95, 82, 8], Operations: []
Exploring Operation: 62+8=70, Resulting Numbers: [95, 82, 70]
Generated Node #0,0: 67:[95, 82, 70] Operation: 62+8=70
Exploring Operation: 95-8=87, Resulting Numbers: [62, 82, 87]
Generated Node #0,1: 67:[62, 82, 87] Operation: 95-8=87
Exploring Operation: 82-8=74, Resulting Numbers: [62, 95, 74]
Generated Node #0,2: 67:[62, 95, 74] Operation: 82-8=74
Exploring Operation: 95+8=103, Resulting Numbers: [62, 82, 103]
Generated Node #0,3: 67:[62, 82, 103] Operation: 95+8=103
Exploring Operation: 62-8=54, Resulting Numbers: [95, 82, 54]
Generated Node #0,4: 67:[95, 82, 54] Operation: 62-8=54
Moving to Node #0,1
Current State: 67:[62, 82, 87], Operations: ['95-8=87']
Exploring Operation: 87-62=25, Resulting Numbers: [82, 25]
Generated Node #0,1,0: 67:[82, 25] Operation: 87-62=25
Exploring Operation: 82-62=20, Resulting Numbers: [87, 20]
Generated Node #0,1,1: 67:[87, 20] Operation: 82-62=20
Exploring Operation: 62+87=149, Resulting Numbers: [82, 149]
Generated Node #0,1,2: 67:[82, 149] Operation: 62+87=149
Exploring Operation: 62+82=144, Resulting Numbers: [87, 144]
Generated Node #0,1,3: 67:[87, 144] Operation: 62+82=144
Exploring Operation: 87-82=5, Resulting Numbers: [62, 5]
Generated Node #0,1,4: 67:[62, 5] Operation: 87-82=5
Moving to Node #0,2
Current State: 67:[62, 95, 74], Operations: ['82-8=74']
Exploring Operation: 95-74=21, Resulting Numbers: [62, 21]
Generated Node #0,2,0: 67:[62, 21] Operation: 95-74=21
Exploring Operation: 62+95=157, Resulting Numbers: [74, 157]
Generated Node #0,2,1: 67:[74, 157] Operation: 62+95=157
Exploring Operation: 62+74=136, Resulting Numbers: [95, 136]
Generated Node #0,2,2: 67:[95, 136] Operation: 62+74=136
Exploring Operation: 74-62=12, Resulting Numbers: [95, 12]
Generated Node #0,2,3: 67:[95, 12] Operation: 74-62=12
Exploring Operation: 95-62=33, Resulting Numbers: [74, 33]
Generated Node #0,2,4: 67:[74, 33] Operation: 95-62=33
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[74, 33], Operations: ['82-8=74', '95-62=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 74*33=2442, Resulting Numbers: [2442]
2442,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[62, 21], Operations: ['82-8=74', '95-74=21']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,67 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[95, 12], Operations: ['82-8=74', '74-62=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,67 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[74, 157], Operations: ['82-8=74', '62+95=157']
Exploring Operation: 74*157=11618, Resulting Numbers: [11618]
11618,67 unequal: No Solution
Exploring Operation: 74+157=231, Resulting Numbers: [231]
231,67 unequal: No Solution
Exploring Operation: 157-74=83, Resulting Numbers: [83]
83,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[95, 136], Operations: ['82-8=74', '62+74=136']
Exploring Operation: 136-95=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 95*136=12920, Resulting Numbers: [12920]
12920,67 unequal: No Solution
Exploring Operation: 95+136=231, Resulting Numbers: [231]
231,67 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: 67:[95, 82, 70], Operations: ['62+8=70']
Exploring Operation: 82-70=12, Resulting Numbers: [95, 12]
Generated Node #0,0,0: 67:[95, 12] Operation: 82-70=12
Exploring Operation: 95+70=165, Resulting Numbers: [82, 165]
Generated Node #0,0,1: 67:[82, 165] Operation: 95+70=165
Exploring Operation: 95-82=13, Resulting Numbers: [70, 13]
Generated Node #0,0,2: 67:[70, 13] Operation: 95-82=13
Exploring Operation: 95-70=25, Resulting Numbers: [82, 25]
Generated Node #0,0,3: 67:[82, 25] Operation: 95-70=25
Exploring Operation: 95+82=177, Resulting Numbers: [70, 177]
Generated Node #0,0,4: 67:[70, 177] Operation: 95+82=177
Moving to Node #0,3
Current State: 67:[62, 82, 103], Operations: ['95+8=103']
Exploring Operation: 103-82=21, Resulting Numbers: [62, 21]
Generated Node #0,3,0: 67:[62, 21] Operation: 103-82=21
Exploring Operation: 82-62=20, Resulting Numbers: [103, 20]
Generated Node #0,3,1: 67:[103, 20] Operation: 82-62=20
Exploring Operation: 62+103=165, Resulting Numbers: [82, 165]
Generated Node #0,3,2: 67:[82, 165] Operation: 62+103=165
Exploring Operation: 103-62=41, Resulting Numbers: [82, 41]
Generated Node #0,3,3: 67:[82, 41] Operation: 103-62=41
Exploring Operation: 62+82=144, Resulting Numbers: [103, 144]
Generated Node #0,3,4: 67:[103, 144] Operation: 62+82=144
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[82, 41], Operations: ['95+8=103', '103-62=41']
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[62, 21], Operations: ['95+8=103', '103-82=21']
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,67 unequal: No Solution
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[103, 20], Operations: ['95+8=103', '82-62=20']
Exploring Operation: 103*20=2060, Resulting Numbers: [2060]
2060,67 unequal: No Solution
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 103+20=123, Resulting Numbers: [123]
123,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[82, 165], Operations: ['95+8=103', '62+103=165']
Exploring Operation: 165-82=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 82*165=13530, Resulting Numbers: [13530]
13530,67 unequal: No Solution
Exploring Operation: 82+165=247, Resulting Numbers: [247]
247,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 67:[103, 144], Operations: ['95+8=103', '62+82=144']
Exploring Operation: 144-103=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 103*144=14832, Resulting Numbers: [14832]
14832,67 unequal: No Solution
Exploring Operation: 103+144=247, Resulting Numbers: [247]
247,67 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: 67:[95, 82, 54], Operations: ['62-8=54']
Exploring Operation: 82+54=136, Resulting Numbers: [95, 136]
Generated Node #0,4,0: 67:[95, 136] Operation: 82+54=136
Exploring Operation: 95+54=149, Resulting Numbers: [82, 149]
Generated Node #0,4,1: 67:[82, 149] Operation: 95+54=149
Exploring Operation: 95-82=13, Resulting Numbers: [54, 13]
Generated Node #0,4,2: 67:[54, 13] Operation: 95-82=13
Exploring Operation: 82-54=28, Resulting Numbers: [95, 28]
Generated Node #0,4,3: 67:[95, 28] Operation: 82-54=28
Exploring Operation: 95-54=41, Resulting Numbers: [82, 41]
Generated Node #0,4,4: 67:[82, 41] Operation: 95-54=41
Moving to Node #0,4,4
Current State: 67:[82, 41], Operations: ['62-8=54', '95-54=41']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[70, 13], Operations: ['62+8=70', '95-82=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[82, 25], Operations: ['62+8=70', '95-70=25']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[82, 25], Operations: ['95-8=87', '87-62=25']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,67 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,67 unequal: No Solution
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[62, 5], Operations: ['95-8=87', '87-82=5']
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,67 unequal: No Solution
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[62, 95, 82, 8], Operations: []
Exploring Operation: 95-8=87, Resulting Numbers: [62, 82, 87]
Generated Node #0,1: 67:[62, 82, 87] Operation: 95-8=87
Moving to Node #0,1
Current State: 67:[62, 82, 87], Operations: ['95-8=87']
Exploring Operation: 87-82=5, Resulting Numbers: [62, 5]
Generated Node #0,1,4: 67:[62, 5] Operation: 87-82=5
Moving to Node #0,1,4
Current State: 67:[62, 5], Operations: ['95-8=87', '87-82=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.930556 | hs_5 | sum_heuristic |
[
87,
3,
34,
68
] | 58 | [
"87/3=29",
"68/34=2",
"29*2=58"
] | Current State: 58:[87, 3, 34, 68], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [34, 68, 29]
Generated Node #2: [34, 68, 29] from Operation: 87/3=29
Current State: 58:[34, 68, 29], Operations: ['87/3=29']
Exploring Operation: 68/34=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 68/34=2
Current State: 58:[29, 2], Operations: ['87/3=29', '68/34=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[87, 3, 34, 68], Operations: []
Exploring Operation: 87-34=53, Resulting Numbers: [3, 68, 53]
Generated Node #0,0: 58:[3, 68, 53] Operation: 87-34=53
Exploring Operation: 87/3=29, Resulting Numbers: [34, 68, 29]
Generated Node #0,1: 58:[34, 68, 29] Operation: 87/3=29
Exploring Operation: 68-34=34, Resulting Numbers: [87, 3, 34]
Generated Node #0,2: 58:[87, 3, 34] Operation: 68-34=34
Exploring Operation: 68/34=2, Resulting Numbers: [87, 3, 2]
Generated Node #0,3: 58:[87, 3, 2] Operation: 68/34=2
Exploring Operation: 87-68=19, Resulting Numbers: [3, 34, 19]
Generated Node #0,4: 58:[3, 34, 19] Operation: 87-68=19
Moving to Node #0,1
Current State: 58:[34, 68, 29], Operations: ['87/3=29']
Exploring Operation: 68-29=39, Resulting Numbers: [34, 39]
Generated Node #0,1,0: 58:[34, 39] Operation: 68-29=39
Exploring Operation: 68/34=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 58:[29, 2] Operation: 68/34=2
Exploring Operation: 34+29=63, Resulting Numbers: [68, 63]
Generated Node #0,1,2: 58:[68, 63] Operation: 34+29=63
Exploring Operation: 34-29=5, Resulting Numbers: [68, 5]
Generated Node #0,1,3: 58:[68, 5] Operation: 34-29=5
Exploring Operation: 68-34=34, Resulting Numbers: [29, 34]
Generated Node #0,1,4: 58:[29, 34] Operation: 68-34=34
Moving to Node #0,4
Current State: 58:[3, 34, 19], Operations: ['87-68=19']
Exploring Operation: 34-3=31, Resulting Numbers: [19, 31]
Generated Node #0,4,0: 58:[19, 31] Operation: 34-3=31
Exploring Operation: 3*19=57, Resulting Numbers: [34, 57]
Generated Node #0,4,1: 58:[34, 57] Operation: 3*19=57
Exploring Operation: 34+19=53, Resulting Numbers: [3, 53]
Generated Node #0,4,2: 58:[3, 53] Operation: 34+19=53
Exploring Operation: 34-19=15, Resulting Numbers: [3, 15]
Generated Node #0,4,3: 58:[3, 15] Operation: 34-19=15
Exploring Operation: 3+19=22, Resulting Numbers: [34, 22]
Generated Node #0,4,4: 58:[34, 22] Operation: 3+19=22
Moving to Node #0,0
Current State: 58:[3, 68, 53], Operations: ['87-34=53']
Exploring Operation: 53-3=50, Resulting Numbers: [68, 50]
Generated Node #0,0,0: 58:[68, 50] Operation: 53-3=50
Exploring Operation: 3+68=71, Resulting Numbers: [53, 71]
Generated Node #0,0,1: 58:[53, 71] Operation: 3+68=71
Exploring Operation: 68-53=15, Resulting Numbers: [3, 15]
Generated Node #0,0,2: 58:[3, 15] Operation: 68-53=15
Exploring Operation: 3+53=56, Resulting Numbers: [68, 56]
Generated Node #0,0,3: 58:[68, 56] Operation: 3+53=56
Exploring Operation: 68-3=65, Resulting Numbers: [53, 65]
Generated Node #0,0,4: 58:[53, 65] Operation: 68-3=65
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[68, 56], Operations: ['87-34=53', '3+53=56']
Exploring Operation: 68+56=124, Resulting Numbers: [124]
124,58 unequal: No Solution
Exploring Operation: 68*56=3808, Resulting Numbers: [3808]
3808,58 unequal: No Solution
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,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,4
Current State: 58:[53, 65], Operations: ['87-34=53', '68-3=65']
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,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,2
Current State: 58:[3, 15], Operations: ['87-34=53', '68-53=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,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,0
Current State: 58:[68, 50], Operations: ['87-34=53', '53-3=50']
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,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:[53, 71], Operations: ['87-34=53', '3+68=71']
Exploring Operation: 53+71=124, Resulting Numbers: [124]
124,58 unequal: No Solution
Exploring Operation: 53*71=3763, Resulting Numbers: [3763]
3763,58 unequal: No Solution
Exploring Operation: 71-53=18, Resulting Numbers: [18]
18,58 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: 58:[87, 3, 2], Operations: ['68/34=2']
Exploring Operation: 87-3=84, Resulting Numbers: [2, 84]
Generated Node #0,3,0: 58:[2, 84] Operation: 87-3=84
Exploring Operation: 3-2=1, Resulting Numbers: [87, 1]
Generated Node #0,3,1: 58:[87, 1] Operation: 3-2=1
Exploring Operation: 87+3=90, Resulting Numbers: [2, 90]
Generated Node #0,3,2: 58:[2, 90] Operation: 87+3=90
Exploring Operation: 87/3=29, Resulting Numbers: [2, 29]
Generated Node #0,3,3: 58:[2, 29] Operation: 87/3=29
Exploring Operation: 87-2=85, Resulting Numbers: [3, 85]
Generated Node #0,3,4: 58:[3, 85] Operation: 87-2=85
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[2, 29], Operations: ['68/34=2', '87/3=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[87, 3, 34, 68], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [87, 3, 2]
Generated Node #0,3: 58:[87, 3, 2] Operation: 68/34=2
Moving to Node #0,3
Current State: 58:[87, 3, 2], Operations: ['68/34=2']
Exploring Operation: 87/3=29, Resulting Numbers: [2, 29]
Generated Node #0,3,3: 58:[2, 29] Operation: 87/3=29
Moving to Node #0,3,3
Current State: 58:[2, 29], Operations: ['68/34=2', '87/3=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
9,
64,
90,
62
] | 79 | [
"9+64=73",
"90+62=152",
"152-73=79"
] | Current State: 79:[9, 64, 90, 62], Operations: []
Exploring Operation: 9+64=73, Resulting Numbers: [90, 62, 73]
Generated Node #2: [90, 62, 73] from Operation: 9+64=73
Current State: 79:[90, 62, 73], Operations: ['9+64=73']
Exploring Operation: 90+62=152, Resulting Numbers: [73, 152]
Generated Node #3: [73, 152] from Operation: 90+62=152
Current State: 79:[73, 152], Operations: ['9+64=73', '90+62=152']
Exploring Operation: 152-73=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[9, 64, 90, 62], Operations: []
Exploring Operation: 9+62=71, Resulting Numbers: [64, 90, 71]
Generated Node #0,0: 79:[64, 90, 71] Operation: 9+62=71
Exploring Operation: 9+64=73, Resulting Numbers: [90, 62, 73]
Generated Node #0,1: 79:[90, 62, 73] Operation: 9+64=73
Exploring Operation: 90-9=81, Resulting Numbers: [64, 62, 81]
Generated Node #0,2: 79:[64, 62, 81] Operation: 90-9=81
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[64, 90, 71], Operations: ['9+62=71']
Exploring Operation: 90-64=26, Resulting Numbers: [71, 26]
Generated Node #0,0,0: 79:[71, 26] Operation: 90-64=26
Exploring Operation: 90-71=19, Resulting Numbers: [64, 19]
Generated Node #0,0,1: 79:[64, 19] Operation: 90-71=19
Exploring Operation: 64+71=135, Resulting Numbers: [90, 135]
Generated Node #0,0,2: 79:[90, 135] Operation: 64+71=135
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[71, 26], Operations: ['9+62=71', '90-64=26']
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,79 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,79 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No 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: 79:[90, 135], Operations: ['9+62=71', '64+71=135']
Exploring Operation: 135-90=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 90+135=225, Resulting Numbers: [225]
225,79 unequal: No Solution
Exploring Operation: 90*135=12150, Resulting Numbers: [12150]
12150,79 unequal: No Solution
No 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: 79:[64, 19], Operations: ['9+62=71', '90-71=19']
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,79 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,79 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: 79:[90, 62, 73], Operations: ['9+64=73']
Exploring Operation: 90-62=28, Resulting Numbers: [73, 28]
Generated Node #0,1,0: 79:[73, 28] Operation: 90-62=28
Exploring Operation: 62+73=135, Resulting Numbers: [90, 135]
Generated Node #0,1,1: 79:[90, 135] Operation: 62+73=135
Exploring Operation: 90+62=152, Resulting Numbers: [73, 152]
Generated Node #0,1,2: 79:[73, 152] Operation: 90+62=152
Moving to Node #0,1,0
Current State: 79:[73, 28], Operations: ['9+64=73', '90-62=28']
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,79 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[90, 135], Operations: ['9+64=73', '62+73=135']
Exploring Operation: 90+135=225, Resulting Numbers: [225]
225,79 unequal: No Solution
Exploring Operation: 90*135=12150, Resulting Numbers: [12150]
12150,79 unequal: No Solution
Exploring Operation: 135-90=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[73, 152], Operations: ['9+64=73', '90+62=152']
Exploring Operation: 73*152=11096, Resulting Numbers: [11096]
11096,79 unequal: No Solution
Exploring Operation: 152-73=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[9, 64, 90, 62], Operations: []
Exploring Operation: 9+64=73, Resulting Numbers: [90, 62, 73]
Generated Node #0,1: 79:[90, 62, 73] Operation: 9+64=73
Moving to Node #0,1
Current State: 79:[90, 62, 73], Operations: ['9+64=73']
Exploring Operation: 90+62=152, Resulting Numbers: [73, 152]
Generated Node #0,1,2: 79:[73, 152] Operation: 90+62=152
Moving to Node #0,1,2
Current State: 79:[73, 152], Operations: ['9+64=73', '90+62=152']
Exploring Operation: 152-73=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
79,
9,
56,
40
] | 25 | [
"79+56=135",
"135/9=15",
"40-15=25"
] | Current State: 25:[79, 9, 56, 40], Operations: []
Exploring Operation: 79+56=135, Resulting Numbers: [9, 40, 135]
Generated Node #2: [9, 40, 135] from Operation: 79+56=135
Current State: 25:[9, 40, 135], Operations: ['79+56=135']
Exploring Operation: 135/9=15, Resulting Numbers: [40, 15]
Generated Node #3: [40, 15] from Operation: 135/9=15
Current State: 25:[40, 15], Operations: ['79+56=135', '135/9=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[79, 9, 56, 40], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [9, 40, 23]
Generated Node #0,0: 25:[9, 40, 23] Operation: 79-56=23
Exploring Operation: 79-40=39, Resulting Numbers: [9, 56, 39]
Generated Node #0,1: 25:[9, 56, 39] Operation: 79-40=39
Exploring Operation: 56-40=16, Resulting Numbers: [79, 9, 16]
Generated Node #0,2: 25:[79, 9, 16] Operation: 56-40=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[9, 40, 23], Operations: ['79-56=23']
Exploring Operation: 40-9=31, Resulting Numbers: [23, 31]
Generated Node #0,0,0: 25:[23, 31] Operation: 40-9=31
Exploring Operation: 9+23=32, Resulting Numbers: [40, 32]
Generated Node #0,0,1: 25:[40, 32] Operation: 9+23=32
Exploring Operation: 40-23=17, Resulting Numbers: [9, 17]
Generated Node #0,0,2: 25:[9, 17] Operation: 40-23=17
Moving to Node #0,0,0
Current State: 25:[23, 31], Operations: ['79-56=23', '40-9=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
Moving to Node #0,0,2
Current State: 25:[9, 17], Operations: ['79-56=23', '40-23=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,25 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[40, 32], Operations: ['79-56=23', '9+23=32']
Exploring Operation: 40*32=1280, Resulting Numbers: [1280]
1280,25 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,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:[9, 56, 39], Operations: ['79-40=39']
Exploring Operation: 56-39=17, Resulting Numbers: [9, 17]
Generated Node #0,1,0: 25:[9, 17] Operation: 56-39=17
Exploring Operation: 39-9=30, Resulting Numbers: [56, 30]
Generated Node #0,1,1: 25:[56, 30] Operation: 39-9=30
Exploring Operation: 56-9=47, Resulting Numbers: [39, 47]
Generated Node #0,1,2: 25:[39, 47] Operation: 56-9=47
Moving to Node #0,1,0
Current State: 25:[9, 17], Operations: ['79-40=39', '56-39=17']
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,25 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[56, 30], Operations: ['79-40=39', '39-9=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,25 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[39, 47], Operations: ['79-40=39', '56-9=47']
Exploring Operation: 47-39=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 39*47=1833, Resulting Numbers: [1833]
1833,25 unequal: No Solution
Exploring Operation: 39+47=86, Resulting Numbers: [86]
86,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,2
Current State: 25:[79, 9, 16], Operations: ['56-40=16']
Exploring Operation: 79-9=70, Resulting Numbers: [16, 70]
Generated Node #0,2,0: 25:[16, 70] Operation: 79-9=70
Exploring Operation: 9+16=25, Resulting Numbers: [79, 25]
Generated Node #0,2,1: 25:[79, 25] Operation: 9+16=25
Exploring Operation: 79-16=63, Resulting Numbers: [9, 63]
Generated Node #0,2,2: 25:[9, 63] Operation: 79-16=63
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[9, 63], Operations: ['56-40=16', '79-16=63']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,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,2,0
Current State: 25:[16, 70], Operations: ['56-40=16', '79-9=70']
Exploring Operation: 16+70=86, Resulting Numbers: [86]
86,25 unequal: No Solution
Exploring Operation: 16*70=1120, Resulting Numbers: [1120]
1120,25 unequal: No Solution
Exploring Operation: 70-16=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,2,1
Current State: 25:[79, 25], Operations: ['56-40=16', '9+16=25']
Exploring Operation: 79+25=104, Resulting Numbers: [104]
104,25 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 79*25=1975, Resulting Numbers: [1975]
1975,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
92,
11,
26,
82
] | 25 | [
"92-11=81",
"82-26=56",
"81-56=25"
] | Current State: 25:[92, 11, 26, 82], Operations: []
Exploring Operation: 92-11=81, Resulting Numbers: [26, 82, 81]
Generated Node #2: [26, 82, 81] from Operation: 92-11=81
Current State: 25:[26, 82, 81], Operations: ['92-11=81']
Exploring Operation: 82-26=56, Resulting Numbers: [81, 56]
Generated Node #3: [81, 56] from Operation: 82-26=56
Current State: 25:[81, 56], Operations: ['92-11=81', '82-26=56']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[92, 11, 26, 82], Operations: []
Exploring Operation: 92-26=66, Resulting Numbers: [11, 82, 66]
Generated Node #0,0: 25:[11, 82, 66] Operation: 92-26=66
Exploring Operation: 92-82=10, Resulting Numbers: [11, 26, 10]
Generated Node #0,1: 25:[11, 26, 10] Operation: 92-82=10
Moving to Node #0,1
Current State: 25:[11, 26, 10], Operations: ['92-82=10']
Exploring Operation: 11+10=21, Resulting Numbers: [26, 21]
Generated Node #0,1,0: 25:[26, 21] Operation: 11+10=21
Exploring Operation: 11-10=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 25:[26, 1] Operation: 11-10=1
Moving to Node #0,0
Current State: 25:[11, 82, 66], Operations: ['92-26=66']
Exploring Operation: 66/11=6, Resulting Numbers: [82, 6]
Generated Node #0,0,0: 25:[82, 6] Operation: 66/11=6
Exploring Operation: 82-66=16, Resulting Numbers: [11, 16]
Generated Node #0,0,1: 25:[11, 16] Operation: 82-66=16
Moving to Node #0,1,0
Current State: 25:[26, 21], Operations: ['92-82=10', '11+10=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[26, 1], Operations: ['92-82=10', '11-10=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[92, 11, 26, 82], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [11, 26, 10]
Generated Node #0,1: 25:[11, 26, 10] Operation: 92-82=10
Moving to Node #0,1
Current State: 25:[11, 26, 10], Operations: ['92-82=10']
Exploring Operation: 11-10=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 25:[26, 1] Operation: 11-10=1
Moving to Node #0,1,1
Current State: 25:[26, 1], Operations: ['92-82=10', '11-10=1']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.988715 | hs_2 | mult_heuristic |
[
3,
59,
84,
99
] | 58 | [
"99/3=33",
"84-59=25",
"33+25=58"
] | Current State: 58:[3, 59, 84, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [59, 84, 33]
Generated Node #2: [59, 84, 33] from Operation: 99/3=33
Current State: 58:[59, 84, 33], Operations: ['99/3=33']
Exploring Operation: 84-59=25, Resulting Numbers: [33, 25]
Generated Node #3: [33, 25] from Operation: 84-59=25
Current State: 58:[33, 25], Operations: ['99/3=33', '84-59=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[3, 59, 84, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [59, 84, 33]
Generated Node #0,0: 58:[59, 84, 33] Operation: 99/3=33
Exploring Operation: 99-84=15, Resulting Numbers: [3, 59, 15]
Generated Node #0,1: 58:[3, 59, 15] Operation: 99-84=15
Exploring Operation: 99-59=40, Resulting Numbers: [3, 84, 40]
Generated Node #0,2: 58:[3, 84, 40] Operation: 99-59=40
Moving to Node #0,1
Current State: 58:[3, 59, 15], Operations: ['99-84=15']
Exploring Operation: 15/3=5, Resulting Numbers: [59, 5]
Generated Node #0,1,0: 58:[59, 5] Operation: 15/3=5
Exploring Operation: 3+15=18, Resulting Numbers: [59, 18]
Generated Node #0,1,1: 58:[59, 18] Operation: 3+15=18
Exploring Operation: 15-3=12, Resulting Numbers: [59, 12]
Generated Node #0,1,2: 58:[59, 12] Operation: 15-3=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[59, 5], Operations: ['99-84=15', '15/3=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,58 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[59, 12], Operations: ['99-84=15', '15-3=12']
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,58 unequal: No Solution
Exploring Operation: 59*12=708, Resulting Numbers: [708]
708,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[59, 18], Operations: ['99-84=15', '3+15=18']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,58 unequal: No Solution
Exploring Operation: 59*18=1062, Resulting Numbers: [1062]
1062,58 unequal: No Solution
Exploring Operation: 59+18=77, Resulting Numbers: [77]
77,58 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: 58:[59, 84, 33], Operations: ['99/3=33']
Exploring Operation: 59-33=26, Resulting Numbers: [84, 26]
Generated Node #0,0,0: 58:[84, 26] Operation: 59-33=26
Exploring Operation: 84-59=25, Resulting Numbers: [33, 25]
Generated Node #0,0,1: 58:[33, 25] Operation: 84-59=25
Exploring Operation: 84-33=51, Resulting Numbers: [59, 51]
Generated Node #0,0,2: 58:[59, 51] Operation: 84-33=51
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[33, 25], Operations: ['99/3=33', '84-59=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[3, 59, 84, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [59, 84, 33]
Generated Node #0,0: 58:[59, 84, 33] Operation: 99/3=33
Moving to Node #0,0
Current State: 58:[59, 84, 33], Operations: ['99/3=33']
Exploring Operation: 84-59=25, Resulting Numbers: [33, 25]
Generated Node #0,0,1: 58:[33, 25] Operation: 84-59=25
Moving to Node #0,0,1
Current State: 58:[33, 25], Operations: ['99/3=33', '84-59=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
7,
19,
7,
5
] | 81 | [
"7+7=14",
"19*5=95",
"95-14=81"
] | Current State: 81:[7, 19, 7, 5], Operations: []
Exploring Operation: 7+7=14, Resulting Numbers: [19, 5, 14]
Generated Node #2: [19, 5, 14] from Operation: 7+7=14
Current State: 81:[19, 5, 14], Operations: ['7+7=14']
Exploring Operation: 19*5=95, Resulting Numbers: [14, 95]
Generated Node #3: [14, 95] from Operation: 19*5=95
Current State: 81:[14, 95], Operations: ['7+7=14', '19*5=95']
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[7, 19, 7, 5], Operations: []
Exploring Operation: 19+7=26, Resulting Numbers: [7, 5, 26]
Generated Node #0,0: 81:[7, 5, 26] Operation: 19+7=26
Exploring Operation: 7+19=26, Resulting Numbers: [7, 5, 26]
Generated Node #0,1: 81:[7, 5, 26] Operation: 7+19=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[7, 5, 26], Operations: ['19+7=26']
Exploring Operation: 7-5=2, Resulting Numbers: [26, 2]
Generated Node #0,0,0: 81:[26, 2] Operation: 7-5=2
Exploring Operation: 7+5=12, Resulting Numbers: [26, 12]
Generated Node #0,0,1: 81:[26, 12] Operation: 7+5=12
Moving to Node #0,0,0
Current State: 81:[26, 2], Operations: ['19+7=26', '7-5=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[26, 12], Operations: ['19+7=26', '7+5=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[7, 5, 26], Operations: ['7+19=26']
Exploring Operation: 7-5=2, Resulting Numbers: [26, 2]
Generated Node #0,1,0: 81:[26, 2] Operation: 7-5=2
Exploring Operation: 7+5=12, Resulting Numbers: [26, 12]
Generated Node #0,1,1: 81:[26, 12] Operation: 7+5=12
Moving to Node #0,1,0
Current State: 81:[26, 2], Operations: ['7+19=26', '7-5=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[26, 12], Operations: ['7+19=26', '7+5=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
42,
16,
93
] | 66 | [
"93-16=77",
"36*77=2772",
"2772/42=66"
] | Current State: 66:[36, 42, 16, 93], Operations: []
Exploring Operation: 93-16=77, Resulting Numbers: [36, 42, 77]
Generated Node #2: [36, 42, 77] from Operation: 93-16=77
Current State: 66:[36, 42, 77], Operations: ['93-16=77']
Exploring Operation: 36*77=2772, Resulting Numbers: [42, 2772]
Generated Node #3: [42, 2772] from Operation: 36*77=2772
Current State: 66:[42, 2772], Operations: ['93-16=77', '36*77=2772']
Exploring Operation: 2772/42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[36, 42, 16, 93], Operations: []
Exploring Operation: 93-42=51, Resulting Numbers: [36, 16, 51]
Generated Node #0,0: 66:[36, 16, 51] Operation: 93-42=51
Exploring Operation: 93-36=57, Resulting Numbers: [42, 16, 57]
Generated Node #0,1: 66:[42, 16, 57] Operation: 93-36=57
Exploring Operation: 42-36=6, Resulting Numbers: [16, 93, 6]
Generated Node #0,2: 66:[16, 93, 6] Operation: 42-36=6
Exploring Operation: 93-16=77, Resulting Numbers: [36, 42, 77]
Generated Node #0,3: 66:[36, 42, 77] Operation: 93-16=77
Exploring Operation: 42-16=26, Resulting Numbers: [36, 93, 26]
Generated Node #0,4: 66:[36, 93, 26] Operation: 42-16=26
Moving to Node #0,0
Current State: 66:[36, 16, 51], Operations: ['93-42=51']
Exploring Operation: 36+51=87, Resulting Numbers: [16, 87]
Generated Node #0,0,0: 66:[16, 87] Operation: 36+51=87
Exploring Operation: 51-16=35, Resulting Numbers: [36, 35]
Generated Node #0,0,1: 66:[36, 35] Operation: 51-16=35
Exploring Operation: 36-16=20, Resulting Numbers: [51, 20]
Generated Node #0,0,2: 66:[51, 20] Operation: 36-16=20
Exploring Operation: 16+51=67, Resulting Numbers: [36, 67]
Generated Node #0,0,3: 66:[36, 67] Operation: 16+51=67
Exploring Operation: 51-36=15, Resulting Numbers: [16, 15]
Generated Node #0,0,4: 66:[16, 15] Operation: 51-36=15
Moving to Node #0,3
Current State: 66:[36, 42, 77], Operations: ['93-16=77']
Exploring Operation: 36+77=113, Resulting Numbers: [42, 113]
Generated Node #0,3,0: 66:[42, 113] Operation: 36+77=113
Exploring Operation: 36+42=78, Resulting Numbers: [77, 78]
Generated Node #0,3,1: 66:[77, 78] Operation: 36+42=78
Exploring Operation: 77-36=41, Resulting Numbers: [42, 41]
Generated Node #0,3,2: 66:[42, 41] Operation: 77-36=41
Exploring Operation: 77-42=35, Resulting Numbers: [36, 35]
Generated Node #0,3,3: 66:[36, 35] Operation: 77-42=35
Exploring Operation: 42-36=6, Resulting Numbers: [77, 6]
Generated Node #0,3,4: 66:[77, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[36, 35], Operations: ['93-16=77', '77-42=35']
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,66 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[77, 6], Operations: ['93-16=77', '42-36=6']
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 77*6=462, Resulting Numbers: [462]
462,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,3,2
Current State: 66:[42, 41], Operations: ['93-16=77', '77-36=41']
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,66 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[77, 78], Operations: ['93-16=77', '36+42=78']
Exploring Operation: 77+78=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 78-77=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 77*78=6006, Resulting Numbers: [6006]
6006,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,3,0
Current State: 66:[42, 113], Operations: ['93-16=77', '36+77=113']
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,66 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: 66:[42, 16, 57], Operations: ['93-36=57']
Exploring Operation: 57-42=15, Resulting Numbers: [16, 15]
Generated Node #0,1,0: 66:[16, 15] Operation: 57-42=15
Exploring Operation: 42-16=26, Resulting Numbers: [57, 26]
Generated Node #0,1,1: 66:[57, 26] Operation: 42-16=26
Exploring Operation: 42+16=58, Resulting Numbers: [57, 58]
Generated Node #0,1,2: 66:[57, 58] Operation: 42+16=58
Exploring Operation: 16+57=73, Resulting Numbers: [42, 73]
Generated Node #0,1,3: 66:[42, 73] Operation: 16+57=73
Exploring Operation: 57-16=41, Resulting Numbers: [42, 41]
Generated Node #0,1,4: 66:[42, 41] Operation: 57-16=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[16, 15], Operations: ['93-36=57', '57-42=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,66 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,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,1,1
Current State: 66:[57, 26], Operations: ['93-36=57', '42-16=26']
Exploring Operation: 57+26=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 57*26=1482, Resulting Numbers: [1482]
1482,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,1,3
Current State: 66:[42, 73], Operations: ['93-36=57', '16+57=73']
Exploring Operation: 42*73=3066, Resulting Numbers: [3066]
3066,66 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 42+73=115, Resulting Numbers: [115]
115,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,1,2
Current State: 66:[57, 58], Operations: ['93-36=57', '42+16=58']
Exploring Operation: 57*58=3306, Resulting Numbers: [3306]
3306,66 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,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,1,4
Current State: 66:[42, 41], Operations: ['93-36=57', '57-16=41']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,66 unequal: No Solution
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,66 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: 66:[16, 93, 6], Operations: ['42-36=6']
Exploring Operation: 93+6=99, Resulting Numbers: [16, 99]
Generated Node #0,2,0: 66:[16, 99] Operation: 93+6=99
Exploring Operation: 16-6=10, Resulting Numbers: [93, 10]
Generated Node #0,2,1: 66:[93, 10] Operation: 16-6=10
Exploring Operation: 93-6=87, Resulting Numbers: [16, 87]
Generated Node #0,2,2: 66:[16, 87] Operation: 93-6=87
Exploring Operation: 93-16=77, Resulting Numbers: [6, 77]
Generated Node #0,2,3: 66:[6, 77] Operation: 93-16=77
Exploring Operation: 16+6=22, Resulting Numbers: [93, 22]
Generated Node #0,2,4: 66:[93, 22] Operation: 16+6=22
Moving to Node #0,4
Current State: 66:[36, 93, 26], Operations: ['42-16=26']
Exploring Operation: 36+26=62, Resulting Numbers: [93, 62]
Generated Node #0,4,0: 66:[93, 62] Operation: 36+26=62
Exploring Operation: 93-36=57, Resulting Numbers: [26, 57]
Generated Node #0,4,1: 66:[26, 57] Operation: 93-36=57
Exploring Operation: 93-26=67, Resulting Numbers: [36, 67]
Generated Node #0,4,2: 66:[36, 67] Operation: 93-26=67
Exploring Operation: 36-26=10, Resulting Numbers: [93, 10]
Generated Node #0,4,3: 66:[93, 10] Operation: 36-26=10
Exploring Operation: 93+26=119, Resulting Numbers: [36, 119]
Generated Node #0,4,4: 66:[36, 119] Operation: 93+26=119
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[36, 67], Operations: ['42-16=26', '93-26=67']
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,66 unequal: No Solution
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,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,4,1
Current State: 66:[26, 57], Operations: ['42-16=26', '93-36=57']
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,66 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,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,4,3
Current State: 66:[93, 10], Operations: ['42-16=26', '36-26=10']
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,66 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,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,4,0
Current State: 66:[93, 62], Operations: ['42-16=26', '36+26=62']
Exploring Operation: 93+62=155, Resulting Numbers: [155]
155,66 unequal: No Solution
Exploring Operation: 93*62=5766, Resulting Numbers: [5766]
5766,66 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,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,4,4
Current State: 66:[36, 119], Operations: ['42-16=26', '93+26=119']
Exploring Operation: 119-36=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 36*119=4284, Resulting Numbers: [4284]
4284,66 unequal: No Solution
Exploring Operation: 36+119=155, Resulting Numbers: [155]
155,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 66:[36, 67], Operations: ['93-42=51', '16+51=67']
Exploring Operation: 67-36=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 36+67=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 36*67=2412, Resulting Numbers: [2412]
2412,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[36, 35], Operations: ['93-42=51', '51-16=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[16, 15], Operations: ['93-42=51', '51-36=15']
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[6, 77], Operations: ['42-36=6', '93-16=77']
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 6*77=462, Resulting Numbers: [462]
462,66 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[51, 20], Operations: ['93-42=51', '36-16=20']
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,66 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[16, 87], Operations: ['42-36=6', '93-6=87']
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,66 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[16, 87], Operations: ['93-42=51', '36+51=87']
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,66 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[93, 22], Operations: ['42-36=6', '16+6=22']
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,66 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,66 unequal: No Solution
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[93, 10], Operations: ['42-36=6', '16-6=10']
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,66 unequal: No Solution
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[16, 99], Operations: ['42-36=6', '93+6=99']
Exploring Operation: 16+99=115, Resulting Numbers: [115]
115,66 unequal: No Solution
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,66 unequal: No Solution
Exploring Operation: 16*99=1584, Resulting Numbers: [1584]
1584,66 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
82,
93,
65
] | 41 | [
"14*82=1148",
"93-65=28",
"1148/28=41"
] | Current State: 41:[14, 82, 93, 65], Operations: []
Exploring Operation: 14*82=1148, Resulting Numbers: [93, 65, 1148]
Generated Node #2: [93, 65, 1148] from Operation: 14*82=1148
Current State: 41:[93, 65, 1148], Operations: ['14*82=1148']
Exploring Operation: 93-65=28, Resulting Numbers: [1148, 28]
Generated Node #3: [1148, 28] from Operation: 93-65=28
Current State: 41:[1148, 28], Operations: ['14*82=1148', '93-65=28']
Exploring Operation: 1148/28=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[14, 82, 93, 65], Operations: []
Exploring Operation: 93-82=11, Resulting Numbers: [14, 65, 11]
Generated Node #0,0: 41:[14, 65, 11] Operation: 93-82=11
Exploring Operation: 93-65=28, Resulting Numbers: [14, 82, 28]
Generated Node #0,1: 41:[14, 82, 28] Operation: 93-65=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[14, 65, 11], Operations: ['93-82=11']
Exploring Operation: 14+11=25, Resulting Numbers: [65, 25]
Generated Node #0,0,0: 41:[65, 25] Operation: 14+11=25
Exploring Operation: 65-14=51, Resulting Numbers: [11, 51]
Generated Node #0,0,1: 41:[11, 51] Operation: 65-14=51
Moving to Node #0,0,0
Current State: 41:[65, 25], Operations: ['93-82=11', '14+11=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,41 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[11, 51], Operations: ['93-82=11', '65-14=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,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:[14, 82, 28], Operations: ['93-65=28']
Exploring Operation: 82-14=68, Resulting Numbers: [28, 68]
Generated Node #0,1,0: 41:[28, 68] Operation: 82-14=68
Exploring Operation: 82-28=54, Resulting Numbers: [14, 54]
Generated Node #0,1,1: 41:[14, 54] Operation: 82-28=54
Moving to Node #0,1,0
Current State: 41:[28, 68], Operations: ['93-65=28', '82-14=68']
Exploring Operation: 28+68=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[14, 54], Operations: ['93-65=28', '82-28=54']
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,41 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,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 |
[
3,
95,
54,
6
] | 50 | [
"3+95=98",
"54-6=48",
"98-48=50"
] | Current State: 50:[3, 95, 54, 6], Operations: []
Exploring Operation: 3+95=98, Resulting Numbers: [54, 6, 98]
Generated Node #2: [54, 6, 98] from Operation: 3+95=98
Current State: 50:[54, 6, 98], Operations: ['3+95=98']
Exploring Operation: 54-6=48, Resulting Numbers: [98, 48]
Generated Node #3: [98, 48] from Operation: 54-6=48
Current State: 50:[98, 48], Operations: ['3+95=98', '54-6=48']
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[3, 95, 54, 6], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [3, 6, 41]
Generated Node #0,0: 50:[3, 6, 41] Operation: 95-54=41
Moving to Node #0,0
Current State: 50:[3, 6, 41], Operations: ['95-54=41']
Exploring Operation: 6+41=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 50:[3, 47] Operation: 6+41=47
Moving to Node #0,0,0
Current State: 50:[3, 47], Operations: ['95-54=41', '6+41=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[3, 95, 54, 6], Operations: []
Exploring Operation: 95-54=41, Resulting Numbers: [3, 6, 41]
Generated Node #0,0: 50:[3, 6, 41] Operation: 95-54=41
Moving to Node #0,0
Current State: 50:[3, 6, 41], Operations: ['95-54=41']
Exploring Operation: 6+41=47, Resulting Numbers: [3, 47]
Generated Node #0,0,0: 50:[3, 47] Operation: 6+41=47
Moving to Node #0,0,0
Current State: 50:[3, 47], Operations: ['95-54=41', '6+41=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
6,
77,
15,
32
] | 25 | [
"32-15=17",
"6*17=102",
"102-77=25"
] | Current State: 25:[6, 77, 15, 32], Operations: []
Exploring Operation: 32-15=17, Resulting Numbers: [6, 77, 17]
Generated Node #2: [6, 77, 17] from Operation: 32-15=17
Current State: 25:[6, 77, 17], Operations: ['32-15=17']
Exploring Operation: 6*17=102, Resulting Numbers: [77, 102]
Generated Node #3: [77, 102] from Operation: 6*17=102
Current State: 25:[77, 102], Operations: ['32-15=17', '6*17=102']
Exploring Operation: 102-77=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[6, 77, 15, 32], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [6, 15, 45]
Generated Node #0,0: 25:[6, 15, 45] Operation: 77-32=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[6, 15, 45], Operations: ['77-32=45']
Exploring Operation: 45/15=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 25:[6, 3] Operation: 45/15=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[6, 3], Operations: ['77-32=45', '45/15=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
93,
33,
22
] | 34 | [
"93-48=45",
"33-22=11",
"45-11=34"
] | Current State: 34:[48, 93, 33, 22], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [33, 22, 45]
Generated Node #2: [33, 22, 45] from Operation: 93-48=45
Current State: 34:[33, 22, 45], Operations: ['93-48=45']
Exploring Operation: 33-22=11, Resulting Numbers: [45, 11]
Generated Node #3: [45, 11] from Operation: 33-22=11
Current State: 34:[45, 11], Operations: ['93-48=45', '33-22=11']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[48, 93, 33, 22], Operations: []
Exploring Operation: 93-22=71, Resulting Numbers: [48, 33, 71]
Generated Node #0,0: 34:[48, 33, 71] Operation: 93-22=71
Exploring Operation: 93-33=60, Resulting Numbers: [48, 22, 60]
Generated Node #0,1: 34:[48, 22, 60] Operation: 93-33=60
Exploring Operation: 93-48=45, Resulting Numbers: [33, 22, 45]
Generated Node #0,2: 34:[33, 22, 45] Operation: 93-48=45
Moving to Node #0,2
Current State: 34:[33, 22, 45], Operations: ['93-48=45']
Exploring Operation: 33-22=11, Resulting Numbers: [45, 11]
Generated Node #0,2,0: 34:[45, 11] Operation: 33-22=11
Exploring Operation: 45-33=12, Resulting Numbers: [22, 12]
Generated Node #0,2,1: 34:[22, 12] Operation: 45-33=12
Exploring Operation: 45-22=23, Resulting Numbers: [33, 23]
Generated Node #0,2,2: 34:[33, 23] Operation: 45-22=23
Moving to Node #0,1
Current State: 34:[48, 22, 60], Operations: ['93-33=60']
Exploring Operation: 60-22=38, Resulting Numbers: [48, 38]
Generated Node #0,1,0: 34:[48, 38] Operation: 60-22=38
Exploring Operation: 48-22=26, Resulting Numbers: [60, 26]
Generated Node #0,1,1: 34:[60, 26] Operation: 48-22=26
Exploring Operation: 60-48=12, Resulting Numbers: [22, 12]
Generated Node #0,1,2: 34:[22, 12] Operation: 60-48=12
Moving to Node #0,0
Current State: 34:[48, 33, 71], Operations: ['93-22=71']
Exploring Operation: 71-48=23, Resulting Numbers: [33, 23]
Generated Node #0,0,0: 34:[33, 23] Operation: 71-48=23
Exploring Operation: 48-33=15, Resulting Numbers: [71, 15]
Generated Node #0,0,1: 34:[71, 15] Operation: 48-33=15
Exploring Operation: 71-33=38, Resulting Numbers: [48, 38]
Generated Node #0,0,2: 34:[48, 38] Operation: 71-33=38
Moving to Node #0,2,2
Current State: 34:[33, 23], Operations: ['93-48=45', '45-22=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,34 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[33, 23], Operations: ['93-22=71', '71-48=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[22, 12], Operations: ['93-48=45', '45-33=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,34 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[48, 93, 33, 22], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [33, 22, 45]
Generated Node #0,2: 34:[33, 22, 45] Operation: 93-48=45
Moving to Node #0,2
Current State: 34:[33, 22, 45], Operations: ['93-48=45']
Exploring Operation: 45-33=12, Resulting Numbers: [22, 12]
Generated Node #0,2,1: 34:[22, 12] Operation: 45-33=12
Moving to Node #0,2,1
Current State: 34:[22, 12], Operations: ['93-48=45', '45-33=12']
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
25,
5,
57,
95
] | 76 | [
"25/5=5",
"95/5=19",
"57+19=76"
] | Current State: 76:[25, 5, 57, 95], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [57, 95, 5]
Generated Node #2: [57, 95, 5] from Operation: 25/5=5
Current State: 76:[57, 95, 5], Operations: ['25/5=5']
Exploring Operation: 95/5=19, Resulting Numbers: [57, 19]
Generated Node #3: [57, 19] from Operation: 95/5=19
Current State: 76:[57, 19], Operations: ['25/5=5', '95/5=19']
Exploring Operation: 57+19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[25, 5, 57, 95], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [25, 5, 38]
Generated Node #0,0: 76:[25, 5, 38] Operation: 95-57=38
Moving to Node #0,0
Current State: 76:[25, 5, 38], Operations: ['95-57=38']
Exploring Operation: 25-5=20, Resulting Numbers: [38, 20]
Generated Node #0,0,0: 76:[38, 20] Operation: 25-5=20
Moving to Node #0,0,0
Current State: 76:[38, 20], Operations: ['95-57=38', '25-5=20']
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
13,
26,
50,
9
] | 67 | [
"26-13=13",
"9*13=117",
"117-50=67"
] | Current State: 67:[13, 26, 50, 9], Operations: []
Exploring Operation: 26-13=13, Resulting Numbers: [50, 9, 13]
Generated Node #2: [50, 9, 13] from Operation: 26-13=13
Current State: 67:[50, 9, 13], Operations: ['26-13=13']
Exploring Operation: 9*13=117, Resulting Numbers: [50, 117]
Generated Node #3: [50, 117] from Operation: 9*13=117
Current State: 67:[50, 117], Operations: ['26-13=13', '9*13=117']
Exploring Operation: 117-50=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[13, 26, 50, 9], Operations: []
Exploring Operation: 26+9=35, Resulting Numbers: [13, 50, 35]
Generated Node #0,0: 67:[13, 50, 35] Operation: 26+9=35
Exploring Operation: 13+26=39, Resulting Numbers: [50, 9, 39]
Generated Node #0,1: 67:[50, 9, 39] Operation: 13+26=39
Exploring Operation: 13+9=22, Resulting Numbers: [26, 50, 22]
Generated Node #0,2: 67:[26, 50, 22] Operation: 13+9=22
Exploring Operation: 13+50=63, Resulting Numbers: [26, 9, 63]
Generated Node #0,3: 67:[26, 9, 63] Operation: 13+50=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[13, 50, 35], Operations: ['26+9=35']
Exploring Operation: 13+50=63, Resulting Numbers: [35, 63]
Generated Node #0,0,0: 67:[35, 63] Operation: 13+50=63
Exploring Operation: 13+35=48, Resulting Numbers: [50, 48]
Generated Node #0,0,1: 67:[50, 48] Operation: 13+35=48
Exploring Operation: 50-13=37, Resulting Numbers: [35, 37]
Generated Node #0,0,2: 67:[35, 37] Operation: 50-13=37
Exploring Operation: 35-13=22, Resulting Numbers: [50, 22]
Generated Node #0,0,3: 67:[50, 22] Operation: 35-13=22
Moving to Node #0,0,0
Current State: 67:[35, 63], Operations: ['26+9=35', '13+50=63']
Exploring Operation: 35*63=2205, Resulting Numbers: [2205]
2205,67 unequal: No Solution
Exploring Operation: 35+63=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[50, 48], Operations: ['26+9=35', '13+35=48']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[50, 22], Operations: ['26+9=35', '35-13=22']
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,67 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[35, 37], Operations: ['26+9=35', '50-13=37']
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,67 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[50, 9, 39], Operations: ['13+26=39']
Exploring Operation: 50+9=59, Resulting Numbers: [39, 59]
Generated Node #0,1,0: 67:[39, 59] Operation: 50+9=59
Exploring Operation: 9+39=48, Resulting Numbers: [50, 48]
Generated Node #0,1,1: 67:[50, 48] Operation: 9+39=48
Exploring Operation: 39-9=30, Resulting Numbers: [50, 30]
Generated Node #0,1,2: 67:[50, 30] Operation: 39-9=30
Exploring Operation: 50-9=41, Resulting Numbers: [39, 41]
Generated Node #0,1,3: 67:[39, 41] Operation: 50-9=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[39, 59], Operations: ['13+26=39', '50+9=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,67 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[50, 48], Operations: ['13+26=39', '9+39=48']
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,67 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[50, 30], Operations: ['13+26=39', '39-9=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,67 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[39, 41], Operations: ['13+26=39', '50-9=41']
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 39*41=1599, Resulting Numbers: [1599]
1599,67 unequal: No Solution
Exploring Operation: 39+41=80, Resulting Numbers: [80]
80,67 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: 67:[26, 50, 22], Operations: ['13+9=22']
Exploring Operation: 26+22=48, Resulting Numbers: [50, 48]
Generated Node #0,2,0: 67:[50, 48] Operation: 26+22=48
Exploring Operation: 50+22=72, Resulting Numbers: [26, 72]
Generated Node #0,2,1: 67:[26, 72] Operation: 50+22=72
Exploring Operation: 26-22=4, Resulting Numbers: [50, 4]
Generated Node #0,2,2: 67:[50, 4] Operation: 26-22=4
Exploring Operation: 26+50=76, Resulting Numbers: [22, 76]
Generated Node #0,2,3: 67:[22, 76] Operation: 26+50=76
Moving to Node #0,2,0
Current State: 67:[50, 48], Operations: ['13+9=22', '26+22=48']
Exploring Operation: 50+48=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 50*48=2400, Resulting Numbers: [2400]
2400,67 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[26, 72], Operations: ['13+9=22', '50+22=72']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 26*72=1872, Resulting Numbers: [1872]
1872,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[22, 76], Operations: ['13+9=22', '26+50=76']
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,67 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[50, 4], Operations: ['13+9=22', '26-22=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,67 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[26, 9, 63], Operations: ['13+50=63']
Exploring Operation: 26+9=35, Resulting Numbers: [63, 35]
Generated Node #0,3,0: 67:[63, 35] Operation: 26+9=35
Exploring Operation: 9+63=72, Resulting Numbers: [26, 72]
Generated Node #0,3,1: 67:[26, 72] Operation: 9+63=72
Exploring Operation: 26-9=17, Resulting Numbers: [63, 17]
Generated Node #0,3,2: 67:[63, 17] Operation: 26-9=17
Exploring Operation: 63-9=54, Resulting Numbers: [26, 54]
Generated Node #0,3,3: 67:[26, 54] Operation: 63-9=54
Moving to Node #0,3,0
Current State: 67:[63, 35], Operations: ['13+50=63', '26+9=35']
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,67 unequal: No Solution
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[26, 72], Operations: ['13+50=63', '9+63=72']
Exploring Operation: 26*72=1872, Resulting Numbers: [1872]
1872,67 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 26+72=98, Resulting Numbers: [98]
98,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[26, 54], Operations: ['13+50=63', '63-9=54']
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,67 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[63, 17], Operations: ['13+50=63', '26-9=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,67 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,67 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 |
[
93,
44,
68,
17
] | 45 | [
"93-44=49",
"68/17=4",
"49-4=45"
] | Current State: 45:[93, 44, 68, 17], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [68, 17, 49]
Generated Node #2: [68, 17, 49] from Operation: 93-44=49
Current State: 45:[68, 17, 49], Operations: ['93-44=49']
Exploring Operation: 68/17=4, Resulting Numbers: [49, 4]
Generated Node #3: [49, 4] from Operation: 68/17=4
Current State: 45:[49, 4], Operations: ['93-44=49', '68/17=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[93, 44, 68, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [93, 44, 4]
Generated Node #0,0: 45:[93, 44, 4] Operation: 68/17=4
Exploring Operation: 93-44=49, Resulting Numbers: [68, 17, 49]
Generated Node #0,1: 45:[68, 17, 49] Operation: 93-44=49
Exploring Operation: 93-68=25, Resulting Numbers: [44, 17, 25]
Generated Node #0,2: 45:[44, 17, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[44, 17, 25], Operations: ['93-68=25']
Exploring Operation: 17+25=42, Resulting Numbers: [44, 42]
Generated Node #0,2,0: 45:[44, 42] Operation: 17+25=42
Exploring Operation: 44-25=19, Resulting Numbers: [17, 19]
Generated Node #0,2,1: 45:[17, 19] Operation: 44-25=19
Exploring Operation: 25-17=8, Resulting Numbers: [44, 8]
Generated Node #0,2,2: 45:[44, 8] Operation: 25-17=8
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 45:[44, 8], Operations: ['93-68=25', '25-17=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,45 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,45 unequal: No Solution
No 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: 45:[44, 42], Operations: ['93-68=25', '17+25=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,45 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,45 unequal: No Solution
No 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: 45:[17, 19], Operations: ['93-68=25', '44-25=19']
Exploring Operation: 17+19=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 19-17=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 17*19=323, Resulting Numbers: [323]
323,45 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: 45:[68, 17, 49], Operations: ['93-44=49']
Exploring Operation: 68-17=51, Resulting Numbers: [49, 51]
Generated Node #0,1,0: 45:[49, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [49, 4]
Generated Node #0,1,1: 45:[49, 4] Operation: 68/17=4
Exploring Operation: 68-49=19, Resulting Numbers: [17, 19]
Generated Node #0,1,2: 45:[17, 19] Operation: 68-49=19
Moving to Node #0,1,1
Current State: 45:[49, 4], Operations: ['93-44=49', '68/17=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[93, 44, 68, 17], Operations: []
Exploring Operation: 93-44=49, Resulting Numbers: [68, 17, 49]
Generated Node #0,1: 45:[68, 17, 49] Operation: 93-44=49
Moving to Node #0,1
Current State: 45:[68, 17, 49], Operations: ['93-44=49']
Exploring Operation: 68/17=4, Resulting Numbers: [49, 4]
Generated Node #0,1,1: 45:[49, 4] Operation: 68/17=4
Moving to Node #0,1,1
Current State: 45:[49, 4], Operations: ['93-44=49', '68/17=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
74,
98,
2,
88
] | 79 | [
"98-88=10",
"10/2=5",
"74+5=79"
] | Current State: 79:[74, 98, 2, 88], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [74, 2, 10]
Generated Node #2: [74, 2, 10] from Operation: 98-88=10
Current State: 79:[74, 2, 10], Operations: ['98-88=10']
Exploring Operation: 10/2=5, Resulting Numbers: [74, 5]
Generated Node #3: [74, 5] from Operation: 10/2=5
Current State: 79:[74, 5], Operations: ['98-88=10', '10/2=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 98, 2, 88], Operations: []
Exploring Operation: 88-2=86, Resulting Numbers: [74, 98, 86]
Generated Node #0,0: 79:[74, 98, 86] Operation: 88-2=86
Exploring Operation: 74+2=76, Resulting Numbers: [98, 88, 76]
Generated Node #0,1: 79:[98, 88, 76] Operation: 74+2=76
Exploring Operation: 98-2=96, Resulting Numbers: [74, 88, 96]
Generated Node #0,2: 79:[74, 88, 96] Operation: 98-2=96
Exploring Operation: 74-2=72, Resulting Numbers: [98, 88, 72]
Generated Node #0,3: 79:[98, 88, 72] Operation: 74-2=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[74, 98, 86], Operations: ['88-2=86']
Exploring Operation: 98-86=12, Resulting Numbers: [74, 12]
Generated Node #0,0,0: 79:[74, 12] Operation: 98-86=12
Exploring Operation: 74+98=172, Resulting Numbers: [86, 172]
Generated Node #0,0,1: 79:[86, 172] Operation: 74+98=172
Exploring Operation: 86-74=12, Resulting Numbers: [98, 12]
Generated Node #0,0,2: 79:[98, 12] Operation: 86-74=12
Exploring Operation: 98-74=24, Resulting Numbers: [86, 24]
Generated Node #0,0,3: 79:[86, 24] Operation: 98-74=24
Moving to Node #0,0,3
Current State: 79:[86, 24], Operations: ['88-2=86', '98-74=24']
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,79 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[74, 12], Operations: ['88-2=86', '98-86=12']
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 74*12=888, Resulting Numbers: [888]
888,79 unequal: No Solution
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[98, 12], Operations: ['88-2=86', '86-74=12']
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 98+12=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 98*12=1176, Resulting Numbers: [1176]
1176,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[86, 172], Operations: ['88-2=86', '74+98=172']
Exploring Operation: 86*172=14792, Resulting Numbers: [14792]
14792,79 unequal: No Solution
Exploring Operation: 86+172=258, Resulting Numbers: [258]
258,79 unequal: No Solution
Exploring Operation: 172/86=2, Resulting Numbers: [2]
2,79 unequal: No Solution
Exploring Operation: 172-86=86, Resulting Numbers: [86]
86,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[98, 88, 76], Operations: ['74+2=76']
Exploring Operation: 88-76=12, Resulting Numbers: [98, 12]
Generated Node #0,1,0: 79:[98, 12] Operation: 88-76=12
Exploring Operation: 98-88=10, Resulting Numbers: [76, 10]
Generated Node #0,1,1: 79:[76, 10] Operation: 98-88=10
Exploring Operation: 98+76=174, Resulting Numbers: [88, 174]
Generated Node #0,1,2: 79:[88, 174] Operation: 98+76=174
Exploring Operation: 98-76=22, Resulting Numbers: [88, 22]
Generated Node #0,1,3: 79:[88, 22] Operation: 98-76=22
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 79:[88, 22], Operations: ['74+2=76', '98-76=22']
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,79 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,79 unequal: No Solution
No 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: 79:[76, 10], Operations: ['74+2=76', '98-88=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,79 unequal: No Solution
No 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: 79:[98, 12], Operations: ['74+2=76', '88-76=12']
Exploring Operation: 98+12=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,79 unequal: No Solution
Exploring Operation: 98*12=1176, Resulting Numbers: [1176]
1176,79 unequal: No Solution
No 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: 79:[88, 174], Operations: ['74+2=76', '98+76=174']
Exploring Operation: 88+174=262, Resulting Numbers: [262]
262,79 unequal: No Solution
Exploring Operation: 88*174=15312, Resulting Numbers: [15312]
15312,79 unequal: No Solution
Exploring Operation: 174-88=86, Resulting Numbers: [86]
86,79 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: 79:[74, 88, 96], Operations: ['98-2=96']
Exploring Operation: 96-74=22, Resulting Numbers: [88, 22]
Generated Node #0,2,0: 79:[88, 22] Operation: 96-74=22
Exploring Operation: 96-88=8, Resulting Numbers: [74, 8]
Generated Node #0,2,1: 79:[74, 8] Operation: 96-88=8
Exploring Operation: 88-74=14, Resulting Numbers: [96, 14]
Generated Node #0,2,2: 79:[96, 14] Operation: 88-74=14
Exploring Operation: 74+88=162, Resulting Numbers: [96, 162]
Generated Node #0,2,3: 79:[96, 162] Operation: 74+88=162
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[88, 22], Operations: ['98-2=96', '96-74=22']
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,79 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,79 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,79 unequal: No Solution
No 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: 79:[74, 8], Operations: ['98-2=96', '96-88=8']
Exploring Operation: 74-8=66, Resulting Numbers: [66]
66,79 unequal: No Solution
Exploring Operation: 74+8=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 74*8=592, Resulting Numbers: [592]
592,79 unequal: No Solution
No 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: 79:[96, 14], Operations: ['98-2=96', '88-74=14']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,79 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,79 unequal: No Solution
No 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: 79:[96, 162], Operations: ['98-2=96', '74+88=162']
Exploring Operation: 96*162=15552, Resulting Numbers: [15552]
15552,79 unequal: No Solution
Exploring Operation: 96+162=258, Resulting Numbers: [258]
258,79 unequal: No Solution
Exploring Operation: 162-96=66, Resulting Numbers: [66]
66,79 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: 79:[98, 88, 72], Operations: ['74-2=72']
Exploring Operation: 98-72=26, Resulting Numbers: [88, 26]
Generated Node #0,3,0: 79:[88, 26] Operation: 98-72=26
Exploring Operation: 88-72=16, Resulting Numbers: [98, 16]
Generated Node #0,3,1: 79:[98, 16] Operation: 88-72=16
Exploring Operation: 98+72=170, Resulting Numbers: [88, 170]
Generated Node #0,3,2: 79:[88, 170] Operation: 98+72=170
Exploring Operation: 98-88=10, Resulting Numbers: [72, 10]
Generated Node #0,3,3: 79:[72, 10] Operation: 98-88=10
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[88, 26], Operations: ['74-2=72', '98-72=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,79 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,79 unequal: No Solution
No 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: 79:[72, 10], Operations: ['74-2=72', '98-88=10']
Exploring Operation: 72*10=720, Resulting Numbers: [720]
720,79 unequal: No Solution
Exploring Operation: 72-10=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 72+10=82, Resulting Numbers: [82]
82,79 unequal: No Solution
No 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: 79:[98, 16], Operations: ['74-2=72', '88-72=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,79 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,79 unequal: No Solution
No 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: 79:[88, 170], Operations: ['74-2=72', '98+72=170']
Exploring Operation: 88*170=14960, Resulting Numbers: [14960]
14960,79 unequal: No Solution
Exploring Operation: 170-88=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 88+170=258, Resulting Numbers: [258]
258,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
66,
76,
61,
35
] | 86 | [
"76-66=10",
"61+35=96",
"96-10=86"
] | Current State: 86:[66, 76, 61, 35], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [61, 35, 10]
Generated Node #2: [61, 35, 10] from Operation: 76-66=10
Current State: 86:[61, 35, 10], Operations: ['76-66=10']
Exploring Operation: 61+35=96, Resulting Numbers: [10, 96]
Generated Node #3: [10, 96] from Operation: 61+35=96
Current State: 86:[10, 96], Operations: ['76-66=10', '61+35=96']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[66, 76, 61, 35], Operations: []
Exploring Operation: 61+35=96, Resulting Numbers: [66, 76, 96]
Generated Node #0,0: 86:[66, 76, 96] Operation: 61+35=96
Exploring Operation: 66-35=31, Resulting Numbers: [76, 61, 31]
Generated Node #0,1: 86:[76, 61, 31] Operation: 66-35=31
Exploring Operation: 66-61=5, Resulting Numbers: [76, 35, 5]
Generated Node #0,2: 86:[76, 35, 5] Operation: 66-61=5
Exploring Operation: 76-66=10, Resulting Numbers: [61, 35, 10]
Generated Node #0,3: 86:[61, 35, 10] Operation: 76-66=10
Exploring Operation: 76-35=41, Resulting Numbers: [66, 61, 41]
Generated Node #0,4: 86:[66, 61, 41] Operation: 76-35=41
Moving to Node #0,2
Current State: 86:[76, 35, 5], Operations: ['66-61=5']
Exploring Operation: 76-5=71, Resulting Numbers: [35, 71]
Generated Node #0,2,0: 86:[35, 71] Operation: 76-5=71
Exploring Operation: 76-35=41, Resulting Numbers: [5, 41]
Generated Node #0,2,1: 86:[5, 41] Operation: 76-35=41
Exploring Operation: 76+5=81, Resulting Numbers: [35, 81]
Generated Node #0,2,2: 86:[35, 81] Operation: 76+5=81
Exploring Operation: 35+5=40, Resulting Numbers: [76, 40]
Generated Node #0,2,3: 86:[76, 40] Operation: 35+5=40
Exploring Operation: 35/5=7, Resulting Numbers: [76, 7]
Generated Node #0,2,4: 86:[76, 7] Operation: 35/5=7
Moving to Node #0,3
Current State: 86:[61, 35, 10], Operations: ['76-66=10']
Exploring Operation: 61-35=26, Resulting Numbers: [10, 26]
Generated Node #0,3,0: 86:[10, 26] Operation: 61-35=26
Exploring Operation: 61+35=96, Resulting Numbers: [10, 96]
Generated Node #0,3,1: 86:[10, 96] Operation: 61+35=96
Exploring Operation: 61+10=71, Resulting Numbers: [35, 71]
Generated Node #0,3,2: 86:[35, 71] Operation: 61+10=71
Exploring Operation: 61-10=51, Resulting Numbers: [35, 51]
Generated Node #0,3,3: 86:[35, 51] Operation: 61-10=51
Exploring Operation: 35+10=45, Resulting Numbers: [61, 45]
Generated Node #0,3,4: 86:[61, 45] Operation: 35+10=45
Moving to Node #0,0
Current State: 86:[66, 76, 96], Operations: ['61+35=96']
Exploring Operation: 96-76=20, Resulting Numbers: [66, 20]
Generated Node #0,0,0: 86:[66, 20] Operation: 96-76=20
Exploring Operation: 66+76=142, Resulting Numbers: [96, 142]
Generated Node #0,0,1: 86:[96, 142] Operation: 66+76=142
Exploring Operation: 66+96=162, Resulting Numbers: [76, 162]
Generated Node #0,0,2: 86:[76, 162] Operation: 66+96=162
Exploring Operation: 96-66=30, Resulting Numbers: [76, 30]
Generated Node #0,0,3: 86:[76, 30] Operation: 96-66=30
Exploring Operation: 76-66=10, Resulting Numbers: [96, 10]
Generated Node #0,0,4: 86:[96, 10] Operation: 76-66=10
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[96, 10], Operations: ['61+35=96', '76-66=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[66, 76, 61, 35], Operations: []
Exploring Operation: 61+35=96, Resulting Numbers: [66, 76, 96]
Generated Node #0,0: 86:[66, 76, 96] Operation: 61+35=96
Moving to Node #0,0
Current State: 86:[66, 76, 96], Operations: ['61+35=96']
Exploring Operation: 76-66=10, Resulting Numbers: [96, 10]
Generated Node #0,0,4: 86:[96, 10] Operation: 76-66=10
Moving to Node #0,0,4
Current State: 86:[96, 10], Operations: ['61+35=96', '76-66=10']
Exploring Operation: 96-10=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
3,
70,
17,
10
] | 30 | [
"3*70=210",
"17-10=7",
"210/7=30"
] | Current State: 30:[3, 70, 17, 10], Operations: []
Exploring Operation: 3*70=210, Resulting Numbers: [17, 10, 210]
Generated Node #2: [17, 10, 210] from Operation: 3*70=210
Current State: 30:[17, 10, 210], Operations: ['3*70=210']
Exploring Operation: 17-10=7, Resulting Numbers: [210, 7]
Generated Node #3: [210, 7] from Operation: 17-10=7
Current State: 30:[210, 7], Operations: ['3*70=210', '17-10=7']
Exploring Operation: 210/7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[3, 70, 17, 10], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [3, 17, 7]
Generated Node #0,0: 30:[3, 17, 7] Operation: 70/10=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[3, 17, 7], Operations: ['70/10=7']
Exploring Operation: 17-7=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 30:[3, 10] Operation: 17-7=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[3, 10], Operations: ['70/10=7', '17-7=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[3, 70, 17, 10], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [3, 17, 7]
Generated Node #0,0: 30:[3, 17, 7] Operation: 70/10=7
Moving to Node #0,0
Current State: 30:[3, 17, 7], Operations: ['70/10=7']
Exploring Operation: 17-7=10, Resulting Numbers: [3, 10]
Generated Node #0,0,0: 30:[3, 10] Operation: 17-7=10
Moving to Node #0,0,0
Current State: 30:[3, 10], Operations: ['70/10=7', '17-7=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
80,
10,
13,
62
] | 84 | [
"62-10=52",
"52/13=4",
"80+4=84"
] | Current State: 84:[80, 10, 13, 62], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [80, 13, 52]
Generated Node #2: [80, 13, 52] from Operation: 62-10=52
Current State: 84:[80, 13, 52], Operations: ['62-10=52']
Exploring Operation: 52/13=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 52/13=4
Current State: 84:[80, 4], Operations: ['62-10=52', '52/13=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[80, 10, 13, 62], Operations: []
Exploring Operation: 80-62=18, Resulting Numbers: [10, 13, 18]
Generated Node #0,0: 84:[10, 13, 18] Operation: 80-62=18
Exploring Operation: 62-10=52, Resulting Numbers: [80, 13, 52]
Generated Node #0,1: 84:[80, 13, 52] Operation: 62-10=52
Exploring Operation: 62-13=49, Resulting Numbers: [80, 10, 49]
Generated Node #0,2: 84:[80, 10, 49] Operation: 62-13=49
Moving to Node #0,0
Current State: 84:[10, 13, 18], Operations: ['80-62=18']
Exploring Operation: 10+18=28, Resulting Numbers: [13, 28]
Generated Node #0,0,0: 84:[13, 28] Operation: 10+18=28
Exploring Operation: 18-10=8, Resulting Numbers: [13, 8]
Generated Node #0,0,1: 84:[13, 8] Operation: 18-10=8
Exploring Operation: 13-10=3, Resulting Numbers: [18, 3]
Generated Node #0,0,2: 84:[18, 3] Operation: 13-10=3
Moving to Node #0,2
Current State: 84:[80, 10, 49], Operations: ['62-13=49']
Exploring Operation: 80/10=8, Resulting Numbers: [49, 8]
Generated Node #0,2,0: 84:[49, 8] Operation: 80/10=8
Exploring Operation: 49-10=39, Resulting Numbers: [80, 39]
Generated Node #0,2,1: 84:[80, 39] Operation: 49-10=39
Exploring Operation: 80-49=31, Resulting Numbers: [10, 31]
Generated Node #0,2,2: 84:[10, 31] Operation: 80-49=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[10, 31], Operations: ['62-13=49', '80-49=31']
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,84 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,84 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,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,2,1
Current State: 84:[80, 39], Operations: ['62-13=49', '49-10=39']
Exploring Operation: 80*39=3120, Resulting Numbers: [3120]
3120,84 unequal: No Solution
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,84 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,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,2,0
Current State: 84:[49, 8], Operations: ['62-13=49', '80/10=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,84 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,84 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,84 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: 84:[80, 13, 52], Operations: ['62-10=52']
Exploring Operation: 80-52=28, Resulting Numbers: [13, 28]
Generated Node #0,1,0: 84:[13, 28] Operation: 80-52=28
Exploring Operation: 52/13=4, Resulting Numbers: [80, 4]
Generated Node #0,1,1: 84:[80, 4] Operation: 52/13=4
Exploring Operation: 52-13=39, Resulting Numbers: [80, 39]
Generated Node #0,1,2: 84:[80, 39] Operation: 52-13=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[13, 28], Operations: ['62-10=52', '80-52=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,84 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,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:[80, 4], Operations: ['62-10=52', '52/13=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[80, 10, 13, 62], Operations: []
Exploring Operation: 62-10=52, Resulting Numbers: [80, 13, 52]
Generated Node #0,1: 84:[80, 13, 52] Operation: 62-10=52
Moving to Node #0,1
Current State: 84:[80, 13, 52], Operations: ['62-10=52']
Exploring Operation: 52/13=4, Resulting Numbers: [80, 4]
Generated Node #0,1,1: 84:[80, 4] Operation: 52/13=4
Moving to Node #0,1,1
Current State: 84:[80, 4], Operations: ['62-10=52', '52/13=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | sum_heuristic |
[
40,
23,
71,
46
] | 62 | [
"71-40=31",
"46/23=2",
"31*2=62"
] | Current State: 62:[40, 23, 71, 46], Operations: []
Exploring Operation: 71-40=31, Resulting Numbers: [23, 46, 31]
Generated Node #2: [23, 46, 31] from Operation: 71-40=31
Current State: 62:[23, 46, 31], Operations: ['71-40=31']
Exploring Operation: 46/23=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 46/23=2
Current State: 62:[31, 2], Operations: ['71-40=31', '46/23=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[40, 23, 71, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [40, 71, 2]
Generated Node #0,0: 62:[40, 71, 2] Operation: 46/23=2
Exploring Operation: 46-40=6, Resulting Numbers: [23, 71, 6]
Generated Node #0,1: 62:[23, 71, 6] Operation: 46-40=6
Moving to Node #0,0
Current State: 62:[40, 71, 2], Operations: ['46/23=2']
Exploring Operation: 71-40=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 62:[2, 31] Operation: 71-40=31
Exploring Operation: 40-2=38, Resulting Numbers: [71, 38]
Generated Node #0,0,1: 62:[71, 38] Operation: 40-2=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[2, 31], Operations: ['46/23=2', '71-40=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[40, 23, 71, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [40, 71, 2]
Generated Node #0,0: 62:[40, 71, 2] Operation: 46/23=2
Moving to Node #0,0
Current State: 62:[40, 71, 2], Operations: ['46/23=2']
Exploring Operation: 71-40=31, Resulting Numbers: [2, 31]
Generated Node #0,0,0: 62:[2, 31] Operation: 71-40=31
Moving to Node #0,0,0
Current State: 62:[2, 31], Operations: ['46/23=2', '71-40=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
54,
2,
11,
24
] | 66 | [
"2*24=48",
"54-48=6",
"11*6=66"
] | Current State: 66:[54, 2, 11, 24], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [54, 11, 48]
Generated Node #2: [54, 11, 48] from Operation: 2*24=48
Current State: 66:[54, 11, 48], Operations: ['2*24=48']
Exploring Operation: 54-48=6, Resulting Numbers: [11, 6]
Generated Node #3: [11, 6] from Operation: 54-48=6
Current State: 66:[11, 6], Operations: ['2*24=48', '54-48=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 2, 11, 24], Operations: []
Exploring Operation: 54+11=65, Resulting Numbers: [2, 24, 65]
Generated Node #0,0: 66:[2, 24, 65] Operation: 54+11=65
Exploring Operation: 54-24=30, Resulting Numbers: [2, 11, 30]
Generated Node #0,1: 66:[2, 11, 30] Operation: 54-24=30
Moving to Node #0,0
Current State: 66:[2, 24, 65], Operations: ['54+11=65']
Exploring Operation: 24-2=22, Resulting Numbers: [65, 22]
Generated Node #0,0,0: 66:[65, 22] Operation: 24-2=22
Exploring Operation: 24/2=12, Resulting Numbers: [65, 12]
Generated Node #0,0,1: 66:[65, 12] Operation: 24/2=12
Moving to Node #0,1
Current State: 66:[2, 11, 30], Operations: ['54-24=30']
Exploring Operation: 2*11=22, Resulting Numbers: [30, 22]
Generated Node #0,1,0: 66:[30, 22] Operation: 2*11=22
Exploring Operation: 2+30=32, Resulting Numbers: [11, 32]
Generated Node #0,1,1: 66:[11, 32] Operation: 2+30=32
Moving to Node #0,0,0
Current State: 66:[65, 22], Operations: ['54+11=65', '24-2=22']
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[11, 32], Operations: ['54-24=30', '2+30=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[65, 12], Operations: ['54+11=65', '24/2=12']
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[30, 22], Operations: ['54-24=30', '2*11=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,66 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
36,
46,
15,
2
] | 40 | [
"46-36=10",
"15*2=30",
"10+30=40"
] | Current State: 40:[36, 46, 15, 2], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [15, 2, 10]
Generated Node #2: [15, 2, 10] from Operation: 46-36=10
Current State: 40:[15, 2, 10], Operations: ['46-36=10']
Exploring Operation: 15*2=30, Resulting Numbers: [10, 30]
Generated Node #3: [10, 30] from Operation: 15*2=30
Current State: 40:[10, 30], Operations: ['46-36=10', '15*2=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[36, 46, 15, 2], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [15, 2, 10]
Generated Node #0,0: 40:[15, 2, 10] Operation: 46-36=10
Exploring Operation: 36-15=21, Resulting Numbers: [46, 2, 21]
Generated Node #0,1: 40:[46, 2, 21] Operation: 36-15=21
Moving to Node #0,0
Current State: 40:[15, 2, 10], Operations: ['46-36=10']
Exploring Operation: 15+2=17, Resulting Numbers: [10, 17]
Generated Node #0,0,0: 40:[10, 17] Operation: 15+2=17
Exploring Operation: 15-10=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 40:[2, 5] Operation: 15-10=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[2, 5], Operations: ['46-36=10', '15-10=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[10, 17], Operations: ['46-36=10', '15+2=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,40 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,40 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: 40:[46, 2, 21], Operations: ['36-15=21']
Exploring Operation: 46-2=44, Resulting Numbers: [21, 44]
Generated Node #0,1,0: 40:[21, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [21, 23]
Generated Node #0,1,1: 40:[21, 23] Operation: 46/2=23
Moving to Node #0,1,1
Current State: 40:[21, 23], Operations: ['36-15=21', '46/2=23']
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[21, 44], Operations: ['36-15=21', '46-2=44']
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,40 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,40 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
17,
9,
43,
69
] | 86 | [
"17+9=26",
"43+69=112",
"112-26=86"
] | Current State: 86:[17, 9, 43, 69], Operations: []
Exploring Operation: 17+9=26, Resulting Numbers: [43, 69, 26]
Generated Node #2: [43, 69, 26] from Operation: 17+9=26
Current State: 86:[43, 69, 26], Operations: ['17+9=26']
Exploring Operation: 43+69=112, Resulting Numbers: [26, 112]
Generated Node #3: [26, 112] from Operation: 43+69=112
Current State: 86:[26, 112], Operations: ['17+9=26', '43+69=112']
Exploring Operation: 112-26=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[17, 9, 43, 69], Operations: []
Exploring Operation: 17+69=86, Resulting Numbers: [9, 43, 86]
Generated Node #0,0: 86:[9, 43, 86] Operation: 17+69=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[9, 43, 86], Operations: ['17+69=86']
Exploring Operation: 86-43=43, Resulting Numbers: [9, 43]
Generated Node #0,0,0: 86:[9, 43] Operation: 86-43=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[9, 43], Operations: ['17+69=86', '86-43=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
47,
23,
2
] | 44 | [
"47-23=24",
"2*24=48",
"48-4=44"
] | Current State: 44:[4, 47, 23, 2], Operations: []
Exploring Operation: 47-23=24, Resulting Numbers: [4, 2, 24]
Generated Node #2: [4, 2, 24] from Operation: 47-23=24
Current State: 44:[4, 2, 24], Operations: ['47-23=24']
Exploring Operation: 2*24=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 2*24=48
Current State: 44:[4, 48], Operations: ['47-23=24', '2*24=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[4, 47, 23, 2], Operations: []
Exploring Operation: 47-23=24, Resulting Numbers: [4, 2, 24]
Generated Node #0,0: 44:[4, 2, 24] Operation: 47-23=24
Exploring Operation: 47-4=43, Resulting Numbers: [23, 2, 43]
Generated Node #0,1: 44:[23, 2, 43] Operation: 47-4=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[4, 2, 24], Operations: ['47-23=24']
Exploring Operation: 24/2=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 44:[4, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [4, 22]
Generated Node #0,0,1: 44:[4, 22] Operation: 24-2=22
Moving to Node #0,0,1
Current State: 44:[4, 22], Operations: ['47-23=24', '24-2=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[4, 12], Operations: ['47-23=24', '24/2=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,44 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[23, 2, 43], Operations: ['47-4=43']
Exploring Operation: 43-23=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 44:[2, 20] Operation: 43-23=20
Exploring Operation: 23-2=21, Resulting Numbers: [43, 21]
Generated Node #0,1,1: 44:[43, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[2, 20], Operations: ['47-4=43', '43-23=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[43, 21], Operations: ['47-4=43', '23-2=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,44 unequal: No Solution
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
42,
13,
84,
7
] | 67 | [
"42+13=55",
"84/7=12",
"55+12=67"
] | Current State: 67:[42, 13, 84, 7], Operations: []
Exploring Operation: 42+13=55, Resulting Numbers: [84, 7, 55]
Generated Node #2: [84, 7, 55] from Operation: 42+13=55
Current State: 67:[84, 7, 55], Operations: ['42+13=55']
Exploring Operation: 84/7=12, Resulting Numbers: [55, 12]
Generated Node #3: [55, 12] from Operation: 84/7=12
Current State: 67:[55, 12], Operations: ['42+13=55', '84/7=12']
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[42, 13, 84, 7], Operations: []
Exploring Operation: 13*7=91, Resulting Numbers: [42, 84, 91]
Generated Node #0,0: 67:[42, 84, 91] Operation: 13*7=91
Exploring Operation: 42+13=55, Resulting Numbers: [84, 7, 55]
Generated Node #0,1: 67:[84, 7, 55] Operation: 42+13=55
Exploring Operation: 42+7=49, Resulting Numbers: [13, 84, 49]
Generated Node #0,2: 67:[13, 84, 49] Operation: 42+7=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[42, 84, 91], Operations: ['13*7=91']
Exploring Operation: 42+84=126, Resulting Numbers: [91, 126]
Generated Node #0,0,0: 67:[91, 126] Operation: 42+84=126
Exploring Operation: 84-42=42, Resulting Numbers: [91, 42]
Generated Node #0,0,1: 67:[91, 42] Operation: 84-42=42
Exploring Operation: 91-42=49, Resulting Numbers: [84, 49]
Generated Node #0,0,2: 67:[84, 49] Operation: 91-42=49
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[84, 49], Operations: ['13*7=91', '91-42=49']
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,67 unequal: No Solution
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[91, 42], Operations: ['13*7=91', '84-42=42']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 91+42=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 91*42=3822, Resulting Numbers: [3822]
3822,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[91, 126], Operations: ['13*7=91', '42+84=126']
Exploring Operation: 91*126=11466, Resulting Numbers: [11466]
11466,67 unequal: No Solution
Exploring Operation: 126-91=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 91+126=217, Resulting Numbers: [217]
217,67 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: 67:[84, 7, 55], Operations: ['42+13=55']
Exploring Operation: 84+7=91, Resulting Numbers: [55, 91]
Generated Node #0,1,0: 67:[55, 91] Operation: 84+7=91
Exploring Operation: 7+55=62, Resulting Numbers: [84, 62]
Generated Node #0,1,1: 67:[84, 62] Operation: 7+55=62
Exploring Operation: 84-7=77, Resulting Numbers: [55, 77]
Generated Node #0,1,2: 67:[55, 77] Operation: 84-7=77
Moving to Node #0,1,1
Current State: 67:[84, 62], Operations: ['42+13=55', '7+55=62']
Exploring Operation: 84*62=5208, Resulting Numbers: [5208]
5208,67 unequal: No Solution
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 84+62=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[55, 77], Operations: ['42+13=55', '84-7=77']
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 55*77=4235, Resulting Numbers: [4235]
4235,67 unequal: No Solution
Exploring Operation: 55+77=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[55, 91], Operations: ['42+13=55', '84+7=91']
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 55+91=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Exploring Operation: 55*91=5005, Resulting Numbers: [5005]
5005,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[13, 84, 49], Operations: ['42+7=49']
Exploring Operation: 13+84=97, Resulting Numbers: [49, 97]
Generated Node #0,2,0: 67:[49, 97] Operation: 13+84=97
Exploring Operation: 84-13=71, Resulting Numbers: [49, 71]
Generated Node #0,2,1: 67:[49, 71] Operation: 84-13=71
Exploring Operation: 13+49=62, Resulting Numbers: [84, 62]
Generated Node #0,2,2: 67:[84, 62] Operation: 13+49=62
Moving to Node #0,2,1
Current State: 67:[49, 71], Operations: ['42+7=49', '84-13=71']
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,67 unequal: No Solution
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[84, 62], Operations: ['42+7=49', '13+49=62']
Exploring Operation: 84-62=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 84*62=5208, Resulting Numbers: [5208]
5208,67 unequal: No Solution
Exploring Operation: 84+62=146, Resulting Numbers: [146]
146,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[49, 97], Operations: ['42+7=49', '13+84=97']
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,67 unequal: No Solution
Exploring Operation: 49*97=4753, Resulting Numbers: [4753]
4753,67 unequal: No Solution
Exploring Operation: 49+97=146, Resulting Numbers: [146]
146,67 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 |
[
54,
2,
96,
13
] | 16 | [
"96-54=42",
"2*13=26",
"42-26=16"
] | Current State: 16:[54, 2, 96, 13], Operations: []
Exploring Operation: 96-54=42, Resulting Numbers: [2, 13, 42]
Generated Node #2: [2, 13, 42] from Operation: 96-54=42
Current State: 16:[2, 13, 42], Operations: ['96-54=42']
Exploring Operation: 2*13=26, Resulting Numbers: [42, 26]
Generated Node #3: [42, 26] from Operation: 2*13=26
Current State: 16:[42, 26], Operations: ['96-54=42', '2*13=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[54, 2, 96, 13], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [54, 13, 48]
Generated Node #0,0: 16:[54, 13, 48] Operation: 96/2=48
Exploring Operation: 96-54=42, Resulting Numbers: [2, 13, 42]
Generated Node #0,1: 16:[2, 13, 42] Operation: 96-54=42
Moving to Node #0,1
Current State: 16:[2, 13, 42], Operations: ['96-54=42']
Exploring Operation: 42/2=21, Resulting Numbers: [13, 21]
Generated Node #0,1,0: 16:[13, 21] Operation: 42/2=21
Exploring Operation: 42-13=29, Resulting Numbers: [2, 29]
Generated Node #0,1,1: 16:[2, 29] Operation: 42-13=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[13, 21], Operations: ['96-54=42', '42/2=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,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:[2, 29], Operations: ['96-54=42', '42-13=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,16 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: 16:[54, 13, 48], Operations: ['96/2=48']
Exploring Operation: 54-13=41, Resulting Numbers: [48, 41]
Generated Node #0,0,0: 16:[48, 41] Operation: 54-13=41
Exploring Operation: 54-48=6, Resulting Numbers: [13, 6]
Generated Node #0,0,1: 16:[13, 6] Operation: 54-48=6
Moving to Node #0,0,1
Current State: 16:[13, 6], Operations: ['96/2=48', '54-48=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[48, 41], Operations: ['96/2=48', '54-13=41']
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,16 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
29,
10,
7
] | 47 | [
"29-25=4",
"10*4=40",
"7+40=47"
] | Current State: 47:[25, 29, 10, 7], Operations: []
Exploring Operation: 29-25=4, Resulting Numbers: [10, 7, 4]
Generated Node #2: [10, 7, 4] from Operation: 29-25=4
Current State: 47:[10, 7, 4], Operations: ['29-25=4']
Exploring Operation: 10*4=40, Resulting Numbers: [7, 40]
Generated Node #3: [7, 40] from Operation: 10*4=40
Current State: 47:[7, 40], Operations: ['29-25=4', '10*4=40']
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[25, 29, 10, 7], Operations: []
Exploring Operation: 10*7=70, Resulting Numbers: [25, 29, 70]
Generated Node #0,0: 47:[25, 29, 70] Operation: 10*7=70
Exploring Operation: 25+10=35, Resulting Numbers: [29, 7, 35]
Generated Node #0,1: 47:[29, 7, 35] Operation: 25+10=35
Exploring Operation: 25+7=32, Resulting Numbers: [29, 10, 32]
Generated Node #0,2: 47:[29, 10, 32] Operation: 25+7=32
Exploring Operation: 29+10=39, Resulting Numbers: [25, 7, 39]
Generated Node #0,3: 47:[25, 7, 39] Operation: 29+10=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[25, 29, 70], Operations: ['10*7=70']
Exploring Operation: 29-25=4, Resulting Numbers: [70, 4]
Generated Node #0,0,0: 47:[70, 4] Operation: 29-25=4
Exploring Operation: 70-29=41, Resulting Numbers: [25, 41]
Generated Node #0,0,1: 47:[25, 41] Operation: 70-29=41
Exploring Operation: 70-25=45, Resulting Numbers: [29, 45]
Generated Node #0,0,2: 47:[29, 45] Operation: 70-25=45
Exploring Operation: 25+29=54, Resulting Numbers: [70, 54]
Generated Node #0,0,3: 47:[70, 54] Operation: 25+29=54
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[29, 45], Operations: ['10*7=70', '70-25=45']
Exploring Operation: 29*45=1305, Resulting Numbers: [1305]
1305,47 unequal: No Solution
Exploring Operation: 29+45=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No 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: 47:[25, 41], Operations: ['10*7=70', '70-29=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,47 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,47 unequal: No Solution
No 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: 47:[70, 54], Operations: ['10*7=70', '25+29=54']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,47 unequal: No Solution
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,47 unequal: No Solution
No 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: 47:[70, 4], Operations: ['10*7=70', '29-25=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,47 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,47 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: 47:[29, 7, 35], Operations: ['25+10=35']
Exploring Operation: 29+7=36, Resulting Numbers: [35, 36]
Generated Node #0,1,0: 47:[35, 36] Operation: 29+7=36
Exploring Operation: 29-7=22, Resulting Numbers: [35, 22]
Generated Node #0,1,1: 47:[35, 22] Operation: 29-7=22
Exploring Operation: 7+35=42, Resulting Numbers: [29, 42]
Generated Node #0,1,2: 47:[29, 42] Operation: 7+35=42
Exploring Operation: 35-7=28, Resulting Numbers: [29, 28]
Generated Node #0,1,3: 47:[29, 28] Operation: 35-7=28
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[35, 36], Operations: ['25+10=35', '29+7=36']
Exploring Operation: 35*36=1260, Resulting Numbers: [1260]
1260,47 unequal: No Solution
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 35+36=71, Resulting Numbers: [71]
71,47 unequal: No Solution
No 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: 47:[29, 42], Operations: ['25+10=35', '7+35=42']
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,47 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,47 unequal: No Solution
No 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: 47:[35, 22], Operations: ['25+10=35', '29-7=22']
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,47 unequal: No Solution
No 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: 47:[29, 28], Operations: ['25+10=35', '35-7=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,47 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,47 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: 47:[29, 10, 32], Operations: ['25+7=32']
Exploring Operation: 10+32=42, Resulting Numbers: [29, 42]
Generated Node #0,2,0: 47:[29, 42] Operation: 10+32=42
Exploring Operation: 32-10=22, Resulting Numbers: [29, 22]
Generated Node #0,2,1: 47:[29, 22] Operation: 32-10=22
Exploring Operation: 29-10=19, Resulting Numbers: [32, 19]
Generated Node #0,2,2: 47:[32, 19] Operation: 29-10=19
Exploring Operation: 29+10=39, Resulting Numbers: [32, 39]
Generated Node #0,2,3: 47:[32, 39] Operation: 29+10=39
Moving to Node #0,2,0
Current State: 47:[29, 42], Operations: ['25+7=32', '10+32=42']
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,47 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[32, 39], Operations: ['25+7=32', '29+10=39']
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,47 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[32, 19], Operations: ['25+7=32', '29-10=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,47 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[29, 22], Operations: ['25+7=32', '32-10=22']
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 29*22=638, Resulting Numbers: [638]
638,47 unequal: No Solution
Exploring Operation: 29+22=51, Resulting Numbers: [51]
51,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[25, 7, 39], Operations: ['29+10=39']
Exploring Operation: 25+7=32, Resulting Numbers: [39, 32]
Generated Node #0,3,0: 47:[39, 32] Operation: 25+7=32
Exploring Operation: 7+39=46, Resulting Numbers: [25, 46]
Generated Node #0,3,1: 47:[25, 46] Operation: 7+39=46
Exploring Operation: 25-7=18, Resulting Numbers: [39, 18]
Generated Node #0,3,2: 47:[39, 18] Operation: 25-7=18
Exploring Operation: 39-7=32, Resulting Numbers: [25, 32]
Generated Node #0,3,3: 47:[25, 32] Operation: 39-7=32
Moving to Node #0,3,0
Current State: 47:[39, 32], Operations: ['29+10=39', '25+7=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,47 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[25, 46], Operations: ['29+10=39', '7+39=46']
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[25, 32], Operations: ['29+10=39', '39-7=32']
Exploring Operation: 25+32=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 25*32=800, Resulting Numbers: [800]
800,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[39, 18], Operations: ['29+10=39', '25-7=18']
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,47 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
79,
25,
72
] | 66 | [
"71+79=150",
"150/25=6",
"72-6=66"
] | Current State: 66:[71, 79, 25, 72], Operations: []
Exploring Operation: 71+79=150, Resulting Numbers: [25, 72, 150]
Generated Node #2: [25, 72, 150] from Operation: 71+79=150
Current State: 66:[25, 72, 150], Operations: ['71+79=150']
Exploring Operation: 150/25=6, Resulting Numbers: [72, 6]
Generated Node #3: [72, 6] from Operation: 150/25=6
Current State: 66:[72, 6], Operations: ['71+79=150', '150/25=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[71, 79, 25, 72], Operations: []
Exploring Operation: 79-71=8, Resulting Numbers: [25, 72, 8]
Generated Node #0,0: 66:[25, 72, 8] Operation: 79-71=8
Exploring Operation: 79-72=7, Resulting Numbers: [71, 25, 7]
Generated Node #0,1: 66:[71, 25, 7] Operation: 79-72=7
Exploring Operation: 79-25=54, Resulting Numbers: [71, 72, 54]
Generated Node #0,2: 66:[71, 72, 54] Operation: 79-25=54
Exploring Operation: 72-71=1, Resulting Numbers: [79, 25, 1]
Generated Node #0,3: 66:[79, 25, 1] Operation: 72-71=1
Moving to Node #0,1
Current State: 66:[71, 25, 7], Operations: ['79-72=7']
Exploring Operation: 71-25=46, Resulting Numbers: [7, 46]
Generated Node #0,1,0: 66:[7, 46] Operation: 71-25=46
Exploring Operation: 25-7=18, Resulting Numbers: [71, 18]
Generated Node #0,1,1: 66:[71, 18] Operation: 25-7=18
Exploring Operation: 71-7=64, Resulting Numbers: [25, 64]
Generated Node #0,1,2: 66:[25, 64] Operation: 71-7=64
Exploring Operation: 25+7=32, Resulting Numbers: [71, 32]
Generated Node #0,1,3: 66:[71, 32] Operation: 25+7=32
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[25, 64], Operations: ['79-72=7', '71-7=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,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,1,3
Current State: 66:[71, 32], Operations: ['79-72=7', '25+7=32']
Exploring Operation: 71+32=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 71*32=2272, Resulting Numbers: [2272]
2272,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,1,1
Current State: 66:[71, 18], Operations: ['79-72=7', '25-7=18']
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,66 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,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,1,0
Current State: 66:[7, 46], Operations: ['79-72=7', '71-25=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,66 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: 66:[25, 72, 8], Operations: ['79-71=8']
Exploring Operation: 72-8=64, Resulting Numbers: [25, 64]
Generated Node #0,0,0: 66:[25, 64] Operation: 72-8=64
Exploring Operation: 25-8=17, Resulting Numbers: [72, 17]
Generated Node #0,0,1: 66:[72, 17] Operation: 25-8=17
Exploring Operation: 25+8=33, Resulting Numbers: [72, 33]
Generated Node #0,0,2: 66:[72, 33] Operation: 25+8=33
Exploring Operation: 72/8=9, Resulting Numbers: [25, 9]
Generated Node #0,0,3: 66:[25, 9] Operation: 72/8=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[25, 64], Operations: ['79-71=8', '72-8=64']
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 25*64=1600, Resulting Numbers: [1600]
1600,66 unequal: No Solution
Exploring Operation: 25+64=89, Resulting Numbers: [89]
89,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[25, 9], Operations: ['79-71=8', '72/8=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[72, 33], Operations: ['79-71=8', '25+8=33']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,66 unequal: No Solution
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[72, 17], Operations: ['79-71=8', '25-8=17']
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 66:[79, 25, 1], Operations: ['72-71=1']
Exploring Operation: 79-1=78, Resulting Numbers: [25, 78]
Generated Node #0,3,0: 66:[25, 78] Operation: 79-1=78
Exploring Operation: 79-25=54, Resulting Numbers: [1, 54]
Generated Node #0,3,1: 66:[1, 54] Operation: 79-25=54
Exploring Operation: 79*1=79, Resulting Numbers: [25, 79]
Generated Node #0,3,2: 66:[25, 79] Operation: 79*1=79
Exploring Operation: 25-1=24, Resulting Numbers: [79, 24]
Generated Node #0,3,3: 66:[79, 24] Operation: 25-1=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[1, 54], Operations: ['72-71=1', '79-25=54']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 1*54=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 1+54=55, Resulting Numbers: [55]
55,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,3,0
Current State: 66:[25, 78], Operations: ['72-71=1', '79-1=78']
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 25*78=1950, Resulting Numbers: [1950]
1950,66 unequal: No Solution
Exploring Operation: 25+78=103, Resulting Numbers: [103]
103,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,3,3
Current State: 66:[79, 24], Operations: ['72-71=1', '25-1=24']
Exploring Operation: 79+24=103, Resulting Numbers: [103]
103,66 unequal: No Solution
Exploring Operation: 79-24=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 79*24=1896, Resulting Numbers: [1896]
1896,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,3,2
Current State: 66:[25, 79], Operations: ['72-71=1', '79*1=79']
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,66 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,66 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: 66:[71, 72, 54], Operations: ['79-25=54']
Exploring Operation: 71+54=125, Resulting Numbers: [72, 125]
Generated Node #0,2,0: 66:[72, 125] Operation: 71+54=125
Exploring Operation: 71-54=17, Resulting Numbers: [72, 17]
Generated Node #0,2,1: 66:[72, 17] Operation: 71-54=17
Exploring Operation: 72-71=1, Resulting Numbers: [54, 1]
Generated Node #0,2,2: 66:[54, 1] Operation: 72-71=1
Exploring Operation: 72-54=18, Resulting Numbers: [71, 18]
Generated Node #0,2,3: 66:[71, 18] Operation: 72-54=18
Moving to Node #0,2,3
Current State: 66:[71, 18], Operations: ['79-25=54', '72-54=18']
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,66 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[72, 17], Operations: ['79-25=54', '71-54=17']
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[54, 1], Operations: ['79-25=54', '72-71=1']
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[72, 125], Operations: ['79-25=54', '71+54=125']
Exploring Operation: 72+125=197, Resulting Numbers: [197]
197,66 unequal: No Solution
Exploring Operation: 125-72=53, Resulting Numbers: [53]
53,66 unequal: No Solution
Exploring Operation: 72*125=9000, Resulting Numbers: [9000]
9000,66 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
4,
48,
5
] | 89 | [
"21+48=69",
"4*5=20",
"69+20=89"
] | Current State: 89:[21, 4, 48, 5], Operations: []
Exploring Operation: 21+48=69, Resulting Numbers: [4, 5, 69]
Generated Node #2: [4, 5, 69] from Operation: 21+48=69
Current State: 89:[4, 5, 69], Operations: ['21+48=69']
Exploring Operation: 4*5=20, Resulting Numbers: [69, 20]
Generated Node #3: [69, 20] from Operation: 4*5=20
Current State: 89:[69, 20], Operations: ['21+48=69', '4*5=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[21, 4, 48, 5], Operations: []
Exploring Operation: 21*4=84, Resulting Numbers: [48, 5, 84]
Generated Node #0,0: 89:[48, 5, 84] Operation: 21*4=84
Moving to Node #0,0
Current State: 89:[48, 5, 84], Operations: ['21*4=84']
Exploring Operation: 48+5=53, Resulting Numbers: [84, 53]
Generated Node #0,0,0: 89:[84, 53] Operation: 48+5=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[84, 53], Operations: ['21*4=84', '48+5=53']
Exploring Operation: 84+53=137, Resulting Numbers: [137]
137,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 | sum_heuristic |
[
51,
64,
39,
9
] | 74 | [
"51+39=90",
"90/9=10",
"64+10=74"
] | Current State: 74:[51, 64, 39, 9], Operations: []
Exploring Operation: 51+39=90, Resulting Numbers: [64, 9, 90]
Generated Node #2: [64, 9, 90] from Operation: 51+39=90
Current State: 74:[64, 9, 90], Operations: ['51+39=90']
Exploring Operation: 90/9=10, Resulting Numbers: [64, 10]
Generated Node #3: [64, 10] from Operation: 90/9=10
Current State: 74:[64, 10], Operations: ['51+39=90', '90/9=10']
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[51, 64, 39, 9], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [64, 39, 42]
Generated Node #0,0: 74:[64, 39, 42] Operation: 51-9=42
Moving to Node #0,0
Current State: 74:[64, 39, 42], Operations: ['51-9=42']
Exploring Operation: 42-39=3, Resulting Numbers: [64, 3]
Generated Node #0,0,0: 74:[64, 3] Operation: 42-39=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[64, 3], Operations: ['51-9=42', '42-39=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,74 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,
42,
8,
22
] | 23 | [
"42-34=8",
"8/8=1",
"22+1=23"
] | Current State: 23:[34, 42, 8, 22], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [8, 22, 8]
Generated Node #2: [8, 22, 8] from Operation: 42-34=8
Current State: 23:[8, 22, 8], Operations: ['42-34=8']
Exploring Operation: 8/8=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 8/8=1
Current State: 23:[22, 1], Operations: ['42-34=8', '8/8=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[34, 42, 8, 22], Operations: []
Exploring Operation: 34-8=26, Resulting Numbers: [42, 22, 26]
Generated Node #0,0: 23:[42, 22, 26] Operation: 34-8=26
Exploring Operation: 42-22=20, Resulting Numbers: [34, 8, 20]
Generated Node #0,1: 23:[34, 8, 20] Operation: 42-22=20
Exploring Operation: 42-8=34, Resulting Numbers: [34, 22, 34]
Generated Node #0,2: 23:[34, 22, 34] Operation: 42-8=34
Exploring Operation: 42-34=8, Resulting Numbers: [8, 22, 8]
Generated Node #0,3: 23:[8, 22, 8] Operation: 42-34=8
Exploring Operation: 8+22=30, Resulting Numbers: [34, 42, 30]
Generated Node #0,4: 23:[34, 42, 30] Operation: 8+22=30
Moving to Node #0,0
Current State: 23:[42, 22, 26], Operations: ['34-8=26']
Exploring Operation: 42-22=20, Resulting Numbers: [26, 20]
Generated Node #0,0,0: 23:[26, 20] Operation: 42-22=20
Exploring Operation: 22+26=48, Resulting Numbers: [42, 48]
Generated Node #0,0,1: 23:[42, 48] Operation: 22+26=48
Exploring Operation: 42+22=64, Resulting Numbers: [26, 64]
Generated Node #0,0,2: 23:[26, 64] Operation: 42+22=64
Exploring Operation: 42-26=16, Resulting Numbers: [22, 16]
Generated Node #0,0,3: 23:[22, 16] Operation: 42-26=16
Exploring Operation: 26-22=4, Resulting Numbers: [42, 4]
Generated Node #0,0,4: 23:[42, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[26, 20], Operations: ['34-8=26', '42-22=20']
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,23 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 23:[22, 16], Operations: ['34-8=26', '42-26=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,23 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 23:[42, 4], Operations: ['34-8=26', '26-22=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,23 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[42, 48], Operations: ['34-8=26', '22+26=48']
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,23 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[26, 64], Operations: ['34-8=26', '42+22=64']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,23 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 23:[34, 22, 34], Operations: ['42-8=34']
Exploring Operation: 34-22=12, Resulting Numbers: [34, 12]
Generated Node #0,2,0: 23:[34, 12] Operation: 34-22=12
Exploring Operation: 34-34=0, Resulting Numbers: [22, 0]
Generated Node #0,2,1: 23:[22, 0] Operation: 34-34=0
Exploring Operation: 34-22=12, Resulting Numbers: [34, 12]
Generated Node #0,2,2: 23:[34, 12] Operation: 34-22=12
Exploring Operation: 34+22=56, Resulting Numbers: [34, 56]
Generated Node #0,2,3: 23:[34, 56] Operation: 34+22=56
Exploring Operation: 34/34=1, Resulting Numbers: [22, 1]
Generated Node #0,2,4: 23:[22, 1] Operation: 34/34=1
Moving to Node #0,1
Current State: 23:[34, 8, 20], Operations: ['42-22=20']
Exploring Operation: 20-8=12, Resulting Numbers: [34, 12]
Generated Node #0,1,0: 23:[34, 12] Operation: 20-8=12
Exploring Operation: 34-20=14, Resulting Numbers: [8, 14]
Generated Node #0,1,1: 23:[8, 14] Operation: 34-20=14
Exploring Operation: 34-8=26, Resulting Numbers: [20, 26]
Generated Node #0,1,2: 23:[20, 26] Operation: 34-8=26
Exploring Operation: 8+20=28, Resulting Numbers: [34, 28]
Generated Node #0,1,3: 23:[34, 28] Operation: 8+20=28
Exploring Operation: 34+8=42, Resulting Numbers: [20, 42]
Generated Node #0,1,4: 23:[20, 42] Operation: 34+8=42
Moving to Node #0,3
Current State: 23:[8, 22, 8], Operations: ['42-34=8']
Exploring Operation: 8+8=16, Resulting Numbers: [22, 16]
Generated Node #0,3,0: 23:[22, 16] Operation: 8+8=16
Exploring Operation: 8/8=1, Resulting Numbers: [22, 1]
Generated Node #0,3,1: 23:[22, 1] Operation: 8/8=1
Exploring Operation: 8+22=30, Resulting Numbers: [8, 30]
Generated Node #0,3,2: 23:[8, 30] Operation: 8+22=30
Exploring Operation: 22-8=14, Resulting Numbers: [8, 14]
Generated Node #0,3,3: 23:[8, 14] Operation: 22-8=14
Exploring Operation: 22+8=30, Resulting Numbers: [8, 30]
Generated Node #0,3,4: 23:[8, 30] Operation: 22+8=30
Moving to Node #0,4
Current State: 23:[34, 42, 30], Operations: ['8+22=30']
Exploring Operation: 34+42=76, Resulting Numbers: [30, 76]
Generated Node #0,4,0: 23:[30, 76] Operation: 34+42=76
Exploring Operation: 42-30=12, Resulting Numbers: [34, 12]
Generated Node #0,4,1: 23:[34, 12] Operation: 42-30=12
Exploring Operation: 34+30=64, Resulting Numbers: [42, 64]
Generated Node #0,4,2: 23:[42, 64] Operation: 34+30=64
Exploring Operation: 34-30=4, Resulting Numbers: [42, 4]
Generated Node #0,4,3: 23:[42, 4] Operation: 34-30=4
Exploring Operation: 42-34=8, Resulting Numbers: [30, 8]
Generated Node #0,4,4: 23:[30, 8] Operation: 42-34=8
Moving to Node #0,1,2
Current State: 23:[20, 26], Operations: ['42-22=20', '34-8=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,23 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[22, 16], Operations: ['42-34=8', '8+8=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[34, 28], Operations: ['42-22=20', '8+20=28']
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,23 unequal: No Solution
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[34, 12], Operations: ['42-8=34', '34-22=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[8, 30], Operations: ['42-34=8', '8+22=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[8, 30], Operations: ['42-34=8', '22+8=30']
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,4,4
Current State: 23:[30, 8], Operations: ['8+22=30', '42-34=8']
Exploring Operation: 30*8=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 30+8=38, Resulting Numbers: [38]
38,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[34, 12], Operations: ['42-8=34', '34-22=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[34, 12], Operations: ['42-22=20', '20-8=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[20, 42], Operations: ['42-22=20', '34+8=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,23 unequal: No Solution
Moving to Node #0,4,1
Current State: 23:[34, 12], Operations: ['8+22=30', '42-30=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,23 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,23 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[22, 1], Operations: ['42-34=8', '8/8=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[34, 42, 8, 22], Operations: []
Exploring Operation: 42-34=8, Resulting Numbers: [8, 22, 8]
Generated Node #0,3: 23:[8, 22, 8] Operation: 42-34=8
Moving to Node #0,3
Current State: 23:[8, 22, 8], Operations: ['42-34=8']
Exploring Operation: 8/8=1, Resulting Numbers: [22, 1]
Generated Node #0,3,1: 23:[22, 1] Operation: 8/8=1
Moving to Node #0,3,1
Current State: 23:[22, 1], Operations: ['42-34=8', '8/8=1']
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.927951 | hs_5 | mult_heuristic |
[
32,
84,
37,
81
] | 33 | [
"37-32=5",
"84+81=165",
"165/5=33"
] | Current State: 33:[32, 84, 37, 81], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [84, 81, 5]
Generated Node #2: [84, 81, 5] from Operation: 37-32=5
Current State: 33:[84, 81, 5], Operations: ['37-32=5']
Exploring Operation: 84+81=165, Resulting Numbers: [5, 165]
Generated Node #3: [5, 165] from Operation: 84+81=165
Current State: 33:[5, 165], Operations: ['37-32=5', '84+81=165']
Exploring Operation: 165/5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[32, 84, 37, 81], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [32, 37, 3]
Generated Node #0,0: 33:[32, 37, 3] Operation: 84-81=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[32, 37, 3], Operations: ['84-81=3']
Exploring Operation: 37-32=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 33:[3, 5] Operation: 37-32=5
Moving to Node #0,0,0
Current State: 33:[3, 5], Operations: ['84-81=3', '37-32=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,33 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 |
[
52,
65,
75,
19
] | 79 | [
"52*75=3900",
"3900/65=60",
"19+60=79"
] | Current State: 79:[52, 65, 75, 19], Operations: []
Exploring Operation: 52*75=3900, Resulting Numbers: [65, 19, 3900]
Generated Node #2: [65, 19, 3900] from Operation: 52*75=3900
Current State: 79:[65, 19, 3900], Operations: ['52*75=3900']
Exploring Operation: 3900/65=60, Resulting Numbers: [19, 60]
Generated Node #3: [19, 60] from Operation: 3900/65=60
Current State: 79:[19, 60], Operations: ['52*75=3900', '3900/65=60']
Exploring Operation: 19+60=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[52, 65, 75, 19], Operations: []
Exploring Operation: 75+19=94, Resulting Numbers: [52, 65, 94]
Generated Node #0,0: 79:[52, 65, 94] Operation: 75+19=94
Exploring Operation: 65+19=84, Resulting Numbers: [52, 75, 84]
Generated Node #0,1: 79:[52, 75, 84] Operation: 65+19=84
Exploring Operation: 65-19=46, Resulting Numbers: [52, 75, 46]
Generated Node #0,2: 79:[52, 75, 46] Operation: 65-19=46
Exploring Operation: 52-19=33, Resulting Numbers: [65, 75, 33]
Generated Node #0,3: 79:[65, 75, 33] Operation: 52-19=33
Exploring Operation: 52+19=71, Resulting Numbers: [65, 75, 71]
Generated Node #0,4: 79:[65, 75, 71] Operation: 52+19=71
Moving to Node #0,4
Current State: 79:[65, 75, 71], Operations: ['52+19=71']
Exploring Operation: 65+75=140, Resulting Numbers: [71, 140]
Generated Node #0,4,0: 79:[71, 140] Operation: 65+75=140
Exploring Operation: 71-65=6, Resulting Numbers: [75, 6]
Generated Node #0,4,1: 79:[75, 6] Operation: 71-65=6
Exploring Operation: 75+71=146, Resulting Numbers: [65, 146]
Generated Node #0,4,2: 79:[65, 146] Operation: 75+71=146
Exploring Operation: 65+71=136, Resulting Numbers: [75, 136]
Generated Node #0,4,3: 79:[75, 136] Operation: 65+71=136
Exploring Operation: 75-65=10, Resulting Numbers: [71, 10]
Generated Node #0,4,4: 79:[71, 10] Operation: 75-65=10
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 79:[75, 136], Operations: ['52+19=71', '65+71=136']
Exploring Operation: 75+136=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 136-75=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 75*136=10200, Resulting Numbers: [10200]
10200,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,4,0
Current State: 79:[71, 140], Operations: ['52+19=71', '65+75=140']
Exploring Operation: 71+140=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 140-71=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 71*140=9940, Resulting Numbers: [9940]
9940,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,4,1
Current State: 79:[75, 6], Operations: ['52+19=71', '71-65=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,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,4,4
Current State: 79:[71, 10], Operations: ['52+19=71', '75-65=10']
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,79 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,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,4,2
Current State: 79:[65, 146], Operations: ['52+19=71', '75+71=146']
Exploring Operation: 146-65=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 65*146=9490, Resulting Numbers: [9490]
9490,79 unequal: No Solution
Exploring Operation: 65+146=211, Resulting Numbers: [211]
211,79 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: 79:[52, 75, 84], Operations: ['65+19=84']
Exploring Operation: 84-75=9, Resulting Numbers: [52, 9]
Generated Node #0,1,0: 79:[52, 9] Operation: 84-75=9
Exploring Operation: 75-52=23, Resulting Numbers: [84, 23]
Generated Node #0,1,1: 79:[84, 23] Operation: 75-52=23
Exploring Operation: 52+84=136, Resulting Numbers: [75, 136]
Generated Node #0,1,2: 79:[75, 136] Operation: 52+84=136
Exploring Operation: 84-52=32, Resulting Numbers: [75, 32]
Generated Node #0,1,3: 79:[75, 32] Operation: 84-52=32
Exploring Operation: 52+75=127, Resulting Numbers: [84, 127]
Generated Node #0,1,4: 79:[84, 127] Operation: 52+75=127
Moving to Node #0,0
Current State: 79:[52, 65, 94], Operations: ['75+19=94']
Exploring Operation: 94-52=42, Resulting Numbers: [65, 42]
Generated Node #0,0,0: 79:[65, 42] Operation: 94-52=42
Exploring Operation: 94-65=29, Resulting Numbers: [52, 29]
Generated Node #0,0,1: 79:[52, 29] Operation: 94-65=29
Exploring Operation: 65-52=13, Resulting Numbers: [94, 13]
Generated Node #0,0,2: 79:[94, 13] Operation: 65-52=13
Exploring Operation: 52+94=146, Resulting Numbers: [65, 146]
Generated Node #0,0,3: 79:[65, 146] Operation: 52+94=146
Exploring Operation: 52+65=117, Resulting Numbers: [94, 117]
Generated Node #0,0,4: 79:[94, 117] Operation: 52+65=117
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[65, 42], Operations: ['75+19=94', '94-52=42']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,79 unequal: No Solution
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 79:[94, 117], Operations: ['75+19=94', '52+65=117']
Exploring Operation: 117-94=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 94+117=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 94*117=10998, Resulting Numbers: [10998]
10998,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[52, 29], Operations: ['75+19=94', '94-65=29']
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[94, 13], Operations: ['75+19=94', '65-52=13']
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 94*13=1222, Resulting Numbers: [1222]
1222,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[65, 146], Operations: ['75+19=94', '52+94=146']
Exploring Operation: 65+146=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 65*146=9490, Resulting Numbers: [9490]
9490,79 unequal: No Solution
Exploring Operation: 146-65=81, Resulting Numbers: [81]
81,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, 75, 46], Operations: ['65-19=46']
Exploring Operation: 75-46=29, Resulting Numbers: [52, 29]
Generated Node #0,2,0: 79:[52, 29] Operation: 75-46=29
Exploring Operation: 52-46=6, Resulting Numbers: [75, 6]
Generated Node #0,2,1: 79:[75, 6] Operation: 52-46=6
Exploring Operation: 52+46=98, Resulting Numbers: [75, 98]
Generated Node #0,2,2: 79:[75, 98] Operation: 52+46=98
Exploring Operation: 75+46=121, Resulting Numbers: [52, 121]
Generated Node #0,2,3: 79:[52, 121] Operation: 75+46=121
Exploring Operation: 52+75=127, Resulting Numbers: [46, 127]
Generated Node #0,2,4: 79:[46, 127] Operation: 52+75=127
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[75, 98], Operations: ['65-19=46', '52+46=98']
Exploring Operation: 75*98=7350, Resulting Numbers: [7350]
7350,79 unequal: No Solution
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 75+98=173, Resulting Numbers: [173]
173,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[52, 121], Operations: ['65-19=46', '75+46=121']
Exploring Operation: 52*121=6292, Resulting Numbers: [6292]
6292,79 unequal: No Solution
Exploring Operation: 121-52=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 52+121=173, Resulting Numbers: [173]
173,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[52, 29], Operations: ['65-19=46', '75-46=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[75, 6], Operations: ['65-19=46', '52-46=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,79 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 79:[46, 127], Operations: ['65-19=46', '52+75=127']
Exploring Operation: 127-46=81, Resulting Numbers: [81]
81,79 unequal: No Solution
Exploring Operation: 46*127=5842, Resulting Numbers: [5842]
5842,79 unequal: No Solution
Exploring Operation: 46+127=173, Resulting Numbers: [173]
173,79 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: 79:[65, 75, 33], Operations: ['52-19=33']
Exploring Operation: 75+33=108, Resulting Numbers: [65, 108]
Generated Node #0,3,0: 79:[65, 108] Operation: 75+33=108
Exploring Operation: 65+75=140, Resulting Numbers: [33, 140]
Generated Node #0,3,1: 79:[33, 140] Operation: 65+75=140
Exploring Operation: 75-33=42, Resulting Numbers: [65, 42]
Generated Node #0,3,2: 79:[65, 42] Operation: 75-33=42
Exploring Operation: 65+33=98, Resulting Numbers: [75, 98]
Generated Node #0,3,3: 79:[75, 98] Operation: 65+33=98
Exploring Operation: 65-33=32, Resulting Numbers: [75, 32]
Generated Node #0,3,4: 79:[75, 32] Operation: 65-33=32
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 79:[75, 98], Operations: ['52-19=33', '65+33=98']
Exploring Operation: 98-75=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 75*98=7350, Resulting Numbers: [7350]
7350,79 unequal: No Solution
Exploring Operation: 75+98=173, Resulting Numbers: [173]
173,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,3,0
Current State: 79:[65, 108], Operations: ['52-19=33', '75+33=108']
Exploring Operation: 65*108=7020, Resulting Numbers: [7020]
7020,79 unequal: No Solution
Exploring Operation: 108-65=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 65+108=173, Resulting Numbers: [173]
173,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,3,2
Current State: 79:[65, 42], Operations: ['52-19=33', '75-33=42']
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,79 unequal: No Solution
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,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,3,4
Current State: 79:[75, 32], Operations: ['52-19=33', '65-33=32']
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,79 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,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,3,1
Current State: 79:[33, 140], Operations: ['52-19=33', '65+75=140']
Exploring Operation: 33*140=4620, Resulting Numbers: [4620]
4620,79 unequal: No Solution
Exploring Operation: 33+140=173, Resulting Numbers: [173]
173,79 unequal: No Solution
Exploring Operation: 140-33=107, Resulting Numbers: [107]
107,79 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: 79:[75, 32], Operations: ['65+19=84', '84-52=32']
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 75+32=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 75*32=2400, Resulting Numbers: [2400]
2400,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[84, 127], Operations: ['65+19=84', '52+75=127']
Exploring Operation: 84*127=10668, Resulting Numbers: [10668]
10668,79 unequal: No Solution
Exploring Operation: 84+127=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 127-84=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[84, 23], Operations: ['65+19=84', '75-52=23']
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,79 unequal: No Solution
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[75, 136], Operations: ['65+19=84', '52+84=136']
Exploring Operation: 136-75=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 75+136=211, Resulting Numbers: [211]
211,79 unequal: No Solution
Exploring Operation: 75*136=10200, Resulting Numbers: [10200]
10200,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[52, 9], Operations: ['65+19=84', '84-75=9']
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,79 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,79 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,79 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
91,
96,
65,
96
] | 36 | [
"96-91=5",
"96-65=31",
"5+31=36"
] | Current State: 36:[91, 96, 65, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [65, 5]
Generated Node #2: [65, 5] from Operation: 96-91=5
Current State: 36:[65, 5], Operations: ['96-91=5']
Exploring Operation: 96-65=31, Resulting Numbers: [5, 31]
Generated Node #3: [5, 31] from Operation: 96-65=31
Current State: 36:[5, 31], Operations: ['96-91=5', '96-65=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[91, 96, 65, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [65, 96, 5]
Generated Node #0,0: 36:[65, 96, 5] Operation: 96-91=5
Exploring Operation: 96-91=5, Resulting Numbers: [96, 65, 5]
Generated Node #0,1: 36:[96, 65, 5] Operation: 96-91=5
Exploring Operation: 96-96=0, Resulting Numbers: [91, 65, 0]
Generated Node #0,2: 36:[91, 65, 0] Operation: 96-96=0
Exploring Operation: 96/96=1, Resulting Numbers: [91, 65, 1]
Generated Node #0,3: 36:[91, 65, 1] Operation: 96/96=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[91, 65, 1], Operations: ['96/96=1']
Exploring Operation: 91-1=90, Resulting Numbers: [65, 90]
Generated Node #0,3,0: 36:[65, 90] Operation: 91-1=90
Exploring Operation: 91-65=26, Resulting Numbers: [1, 26]
Generated Node #0,3,1: 36:[1, 26] Operation: 91-65=26
Exploring Operation: 91*1=91, Resulting Numbers: [65, 91]
Generated Node #0,3,2: 36:[65, 91] Operation: 91*1=91
Exploring Operation: 65-1=64, Resulting Numbers: [91, 64]
Generated Node #0,3,3: 36:[91, 64] Operation: 65-1=64
Moving to Node #0,3,1
Current State: 36:[1, 26], Operations: ['96/96=1', '91-65=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[91, 64], Operations: ['96/96=1', '65-1=64']
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,36 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[65, 90], Operations: ['96/96=1', '91-1=90']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 65+90=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Exploring Operation: 65*90=5850, Resulting Numbers: [5850]
5850,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[65, 91], Operations: ['96/96=1', '91*1=91']
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,36 unequal: No Solution
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[91, 65, 0], Operations: ['96-96=0']
Exploring Operation: 91-65=26, Resulting Numbers: [0, 26]
Generated Node #0,2,0: 36:[0, 26] Operation: 91-65=26
Exploring Operation: 65*0=0, Resulting Numbers: [91, 0]
Generated Node #0,2,1: 36:[91, 0] Operation: 65*0=0
Exploring Operation: 91+0=91, Resulting Numbers: [65, 91]
Generated Node #0,2,2: 36:[65, 91] Operation: 91+0=91
Exploring Operation: 91*0=0, Resulting Numbers: [65, 0]
Generated Node #0,2,3: 36:[65, 0] Operation: 91*0=0
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[0, 26], Operations: ['96-96=0', '91-65=26']
Exploring Operation: 26-0=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 0+26=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 0*26=0, Resulting Numbers: [0]
0,36 unequal: No Solution
No 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: 36:[65, 0], Operations: ['96-96=0', '91*0=0']
Exploring Operation: 65+0=65, Resulting Numbers: [65]
65,36 unequal: No Solution
Exploring Operation: 65*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 65-0=65, Resulting Numbers: [65]
65,36 unequal: No Solution
No 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: 36:[91, 0], Operations: ['96-96=0', '65*0=0']
Exploring Operation: 91*0=0, Resulting Numbers: [0]
0,36 unequal: No Solution
Exploring Operation: 91-0=91, Resulting Numbers: [91]
91,36 unequal: No Solution
Exploring Operation: 91+0=91, Resulting Numbers: [91]
91,36 unequal: No Solution
No 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: 36:[65, 91], Operations: ['96-96=0', '91+0=91']
Exploring Operation: 65*91=5915, Resulting Numbers: [5915]
5915,36 unequal: No Solution
Exploring Operation: 91-65=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 65+91=156, Resulting Numbers: [156]
156,36 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: 36:[65, 96, 5], Operations: ['96-91=5']
Exploring Operation: 65/5=13, Resulting Numbers: [96, 13]
Generated Node #0,0,0: 36:[96, 13] Operation: 65/5=13
Exploring Operation: 96-5=91, Resulting Numbers: [65, 91]
Generated Node #0,0,1: 36:[65, 91] Operation: 96-5=91
Exploring Operation: 96-65=31, Resulting Numbers: [5, 31]
Generated Node #0,0,2: 36:[5, 31] Operation: 96-65=31
Exploring Operation: 65-5=60, Resulting Numbers: [96, 60]
Generated Node #0,0,3: 36:[96, 60] Operation: 65-5=60
Moving to Node #0,0,2
Current State: 36:[5, 31], Operations: ['96-91=5', '96-65=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,36 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[91, 96, 65, 96], Operations: []
Exploring Operation: 96-91=5, Resulting Numbers: [65, 96, 5]
Generated Node #0,0: 36:[65, 96, 5] Operation: 96-91=5
Moving to Node #0,0
Current State: 36:[65, 96, 5], Operations: ['96-91=5']
Exploring Operation: 96-65=31, Resulting Numbers: [5, 31]
Generated Node #0,0,2: 36:[5, 31] Operation: 96-65=31
Moving to Node #0,0,2
Current State: 36:[5, 31], Operations: ['96-91=5', '96-65=31']
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.958333 | hs_4 | mult_heuristic |
[
67,
2,
6,
46
] | 31 | [
"67-6=61",
"2*46=92",
"92-61=31"
] | Current State: 31:[67, 2, 6, 46], Operations: []
Exploring Operation: 67-6=61, Resulting Numbers: [2, 46, 61]
Generated Node #2: [2, 46, 61] from Operation: 67-6=61
Current State: 31:[2, 46, 61], Operations: ['67-6=61']
Exploring Operation: 2*46=92, Resulting Numbers: [61, 92]
Generated Node #3: [61, 92] from Operation: 2*46=92
Current State: 31:[61, 92], Operations: ['67-6=61', '2*46=92']
Exploring Operation: 92-61=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[67, 2, 6, 46], Operations: []
Exploring Operation: 67-46=21, Resulting Numbers: [2, 6, 21]
Generated Node #0,0: 31:[2, 6, 21] Operation: 67-46=21
Exploring Operation: 46/2=23, Resulting Numbers: [67, 6, 23]
Generated Node #0,1: 31:[67, 6, 23] Operation: 46/2=23
Moving to Node #0,0
Current State: 31:[2, 6, 21], Operations: ['67-46=21']
Exploring Operation: 2*6=12, Resulting Numbers: [21, 12]
Generated Node #0,0,0: 31:[21, 12] Operation: 2*6=12
Exploring Operation: 2+6=8, Resulting Numbers: [21, 8]
Generated Node #0,0,1: 31:[21, 8] Operation: 2+6=8
Moving to Node #0,1
Current State: 31:[67, 6, 23], Operations: ['46/2=23']
Exploring Operation: 67-23=44, Resulting Numbers: [6, 44]
Generated Node #0,1,0: 31:[6, 44] Operation: 67-23=44
Exploring Operation: 67-6=61, Resulting Numbers: [23, 61]
Generated Node #0,1,1: 31:[23, 61] Operation: 67-6=61
Moving to Node #0,0,0
Current State: 31:[21, 12], Operations: ['67-46=21', '2*6=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[21, 8], Operations: ['67-46=21', '2+6=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,31 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[23, 61], Operations: ['46/2=23', '67-6=61']
Exploring Operation: 23+61=84, Resulting Numbers: [84]
84,31 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[6, 44], Operations: ['46/2=23', '67-23=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,31 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
50,
5,
10,
65
] | 25 | [
"50+10=60",
"65+60=125",
"125/5=25"
] | Current State: 25:[50, 5, 10, 65], Operations: []
Exploring Operation: 50+10=60, Resulting Numbers: [5, 65, 60]
Generated Node #2: [5, 65, 60] from Operation: 50+10=60
Current State: 25:[5, 65, 60], Operations: ['50+10=60']
Exploring Operation: 65+60=125, Resulting Numbers: [5, 125]
Generated Node #3: [5, 125] from Operation: 65+60=125
Current State: 25:[5, 125], Operations: ['50+10=60', '65+60=125']
Exploring Operation: 125/5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[50, 5, 10, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [5, 10, 15]
Generated Node #0,0: 25:[5, 10, 15] Operation: 65-50=15
Exploring Operation: 65/5=13, Resulting Numbers: [50, 10, 13]
Generated Node #0,1: 25:[50, 10, 13] Operation: 65/5=13
Exploring Operation: 50/10=5, Resulting Numbers: [5, 65, 5]
Generated Node #0,2: 25:[5, 65, 5] Operation: 50/10=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[5, 10, 15], Operations: ['65-50=15']
Exploring Operation: 10+15=25, Resulting Numbers: [5, 25]
Generated Node #0,0,0: 25:[5, 25] Operation: 10+15=25
Exploring Operation: 15-10=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 25:[5, 5] Operation: 15-10=5
Exploring Operation: 15/5=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 25:[10, 3] Operation: 15/5=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[5, 25], Operations: ['65-50=15', '10+15=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,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:[5, 5], Operations: ['65-50=15', '15-10=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[50, 5, 10, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [5, 10, 15]
Generated Node #0,0: 25:[5, 10, 15] Operation: 65-50=15
Moving to Node #0,0
Current State: 25:[5, 10, 15], Operations: ['65-50=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5, 5]
Generated Node #0,0,1: 25:[5, 5] Operation: 15-10=5
Moving to Node #0,0,1
Current State: 25:[5, 5], Operations: ['65-50=15', '15-10=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
4,
13,
45,
65
] | 18 | [
"65-45=20",
"20/4=5",
"13+5=18"
] | Current State: 18:[4, 13, 45, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [4, 13, 20]
Generated Node #2: [4, 13, 20] from Operation: 65-45=20
Current State: 18:[4, 13, 20], Operations: ['65-45=20']
Exploring Operation: 20/4=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 20/4=5
Current State: 18:[13, 5], Operations: ['65-45=20', '20/4=5']
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[4, 13, 45, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [4, 13, 20]
Generated Node #0,0: 18:[4, 13, 20] Operation: 65-45=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[4, 13, 20], Operations: ['65-45=20']
Exploring Operation: 13-4=9, Resulting Numbers: [20, 9]
Generated Node #0,0,0: 18:[20, 9] Operation: 13-4=9
Moving to Node #0,0,0
Current State: 18:[20, 9], Operations: ['65-45=20', '13-4=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,18 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 |
[
63,
80,
45,
28
] | 70 | [
"63+80=143",
"45+28=73",
"143-73=70"
] | Current State: 70:[63, 80, 45, 28], Operations: []
Exploring Operation: 63+80=143, Resulting Numbers: [45, 28, 143]
Generated Node #2: [45, 28, 143] from Operation: 63+80=143
Current State: 70:[45, 28, 143], Operations: ['63+80=143']
Exploring Operation: 45+28=73, Resulting Numbers: [143, 73]
Generated Node #3: [143, 73] from Operation: 45+28=73
Current State: 70:[143, 73], Operations: ['63+80=143', '45+28=73']
Exploring Operation: 143-73=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[63, 80, 45, 28], Operations: []
Exploring Operation: 63-28=35, Resulting Numbers: [80, 45, 35]
Generated Node #0,0: 70:[80, 45, 35] Operation: 63-28=35
Exploring Operation: 80-63=17, Resulting Numbers: [45, 28, 17]
Generated Node #0,1: 70:[45, 28, 17] Operation: 80-63=17
Exploring Operation: 80-45=35, Resulting Numbers: [63, 28, 35]
Generated Node #0,2: 70:[63, 28, 35] Operation: 80-45=35
Exploring Operation: 45+28=73, Resulting Numbers: [63, 80, 73]
Generated Node #0,3: 70:[63, 80, 73] Operation: 45+28=73
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[63, 28, 35], Operations: ['80-45=35']
Exploring Operation: 35-28=7, Resulting Numbers: [63, 7]
Generated Node #0,2,0: 70:[63, 7] Operation: 35-28=7
Exploring Operation: 63-35=28, Resulting Numbers: [28, 28]
Generated Node #0,2,1: 70:[28, 28] Operation: 63-35=28
Exploring Operation: 28+35=63, Resulting Numbers: [63, 63]
Generated Node #0,2,2: 70:[63, 63] Operation: 28+35=63
Exploring Operation: 63-28=35, Resulting Numbers: [35, 35]
Generated Node #0,2,3: 70:[35, 35] Operation: 63-28=35
Moving to Node #0,2,3
Current State: 70:[35, 35], Operations: ['80-45=35', '63-28=35']
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[63, 80, 45, 28], Operations: []
Exploring Operation: 80-45=35, Resulting Numbers: [63, 28, 35]
Generated Node #0,2: 70:[63, 28, 35] Operation: 80-45=35
Moving to Node #0,2
Current State: 70:[63, 28, 35], Operations: ['80-45=35']
Exploring Operation: 63-28=35, Resulting Numbers: [35, 35]
Generated Node #0,2,3: 70:[35, 35] Operation: 63-28=35
Moving to Node #0,2,3
Current State: 70:[35, 35], Operations: ['80-45=35', '63-28=35']
Exploring Operation: 35+35=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
26,
7,
81,
83
] | 45 | [
"83-81=2",
"26*2=52",
"52-7=45"
] | Current State: 45:[26, 7, 81, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [26, 7, 2]
Generated Node #2: [26, 7, 2] from Operation: 83-81=2
Current State: 45:[26, 7, 2], Operations: ['83-81=2']
Exploring Operation: 26*2=52, Resulting Numbers: [7, 52]
Generated Node #3: [7, 52] from Operation: 26*2=52
Current State: 45:[7, 52], Operations: ['83-81=2', '26*2=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[26, 7, 81, 83], Operations: []
Exploring Operation: 26-7=19, Resulting Numbers: [81, 83, 19]
Generated Node #0,0: 45:[81, 83, 19] Operation: 26-7=19
Exploring Operation: 83-81=2, Resulting Numbers: [26, 7, 2]
Generated Node #0,1: 45:[26, 7, 2] Operation: 83-81=2
Exploring Operation: 81-7=74, Resulting Numbers: [26, 83, 74]
Generated Node #0,2: 45:[26, 83, 74] Operation: 81-7=74
Exploring Operation: 81-26=55, Resulting Numbers: [7, 83, 55]
Generated Node #0,3: 45:[7, 83, 55] Operation: 81-26=55
Exploring Operation: 83-26=57, Resulting Numbers: [7, 81, 57]
Generated Node #0,4: 45:[7, 81, 57] Operation: 83-26=57
Moving to Node #0,1
Current State: 45:[26, 7, 2], Operations: ['83-81=2']
Exploring Operation: 26/2=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 45:[7, 13] Operation: 26/2=13
Exploring Operation: 7+2=9, Resulting Numbers: [26, 9]
Generated Node #0,1,1: 45:[26, 9] Operation: 7+2=9
Exploring Operation: 26-7=19, Resulting Numbers: [2, 19]
Generated Node #0,1,2: 45:[2, 19] Operation: 26-7=19
Exploring Operation: 26-2=24, Resulting Numbers: [7, 24]
Generated Node #0,1,3: 45:[7, 24] Operation: 26-2=24
Exploring Operation: 26*2=52, Resulting Numbers: [7, 52]
Generated Node #0,1,4: 45:[7, 52] Operation: 26*2=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[7, 13], Operations: ['83-81=2', '26/2=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[2, 19], Operations: ['83-81=2', '26-7=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 45:[7, 52], Operations: ['83-81=2', '26*2=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[26, 7, 81, 83], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [26, 7, 2]
Generated Node #0,1: 45:[26, 7, 2] Operation: 83-81=2
Moving to Node #0,1
Current State: 45:[26, 7, 2], Operations: ['83-81=2']
Exploring Operation: 26*2=52, Resulting Numbers: [7, 52]
Generated Node #0,1,4: 45:[7, 52] Operation: 26*2=52
Moving to Node #0,1,4
Current State: 45:[7, 52], Operations: ['83-81=2', '26*2=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
32,
3,
21,
88
] | 71 | [
"32+21=53",
"3*53=159",
"159-88=71"
] | Current State: 71:[32, 3, 21, 88], Operations: []
Exploring Operation: 32+21=53, Resulting Numbers: [3, 88, 53]
Generated Node #2: [3, 88, 53] from Operation: 32+21=53
Current State: 71:[3, 88, 53], Operations: ['32+21=53']
Exploring Operation: 3*53=159, Resulting Numbers: [88, 159]
Generated Node #3: [88, 159] from Operation: 3*53=159
Current State: 71:[88, 159], Operations: ['32+21=53', '3*53=159']
Exploring Operation: 159-88=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[32, 3, 21, 88], Operations: []
Exploring Operation: 32+3=35, Resulting Numbers: [21, 88, 35]
Generated Node #0,0: 71:[21, 88, 35] Operation: 32+3=35
Exploring Operation: 32*3=96, Resulting Numbers: [21, 88, 96]
Generated Node #0,1: 71:[21, 88, 96] Operation: 32*3=96
Exploring Operation: 3*21=63, Resulting Numbers: [32, 88, 63]
Generated Node #0,2: 71:[32, 88, 63] Operation: 3*21=63
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[32, 88, 63], Operations: ['3*21=63']
Exploring Operation: 88-32=56, Resulting Numbers: [63, 56]
Generated Node #0,2,0: 71:[63, 56] Operation: 88-32=56
Exploring Operation: 32+63=95, Resulting Numbers: [88, 95]
Generated Node #0,2,1: 71:[88, 95] Operation: 32+63=95
Exploring Operation: 32+88=120, Resulting Numbers: [63, 120]
Generated Node #0,2,2: 71:[63, 120] Operation: 32+88=120
Moving to Node #0,2,0
Current State: 71:[63, 56], Operations: ['3*21=63', '88-32=56']
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,71 unequal: No Solution
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[88, 95], Operations: ['3*21=63', '32+63=95']
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 88*95=8360, Resulting Numbers: [8360]
8360,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[63, 120], Operations: ['3*21=63', '32+88=120']
Exploring Operation: 120-63=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 63+120=183, Resulting Numbers: [183]
183,71 unequal: No Solution
Exploring Operation: 63*120=7560, Resulting Numbers: [7560]
7560,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[21, 88, 96], Operations: ['32*3=96']
Exploring Operation: 96-21=75, Resulting Numbers: [88, 75]
Generated Node #0,1,0: 71:[88, 75] Operation: 96-21=75
Exploring Operation: 88-21=67, Resulting Numbers: [96, 67]
Generated Node #0,1,1: 71:[96, 67] Operation: 88-21=67
Exploring Operation: 21+88=109, Resulting Numbers: [96, 109]
Generated Node #0,1,2: 71:[96, 109] Operation: 21+88=109
Moving to Node #0,1,0
Current State: 71:[88, 75], Operations: ['32*3=96', '96-21=75']
Exploring Operation: 88+75=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 88*75=6600, Resulting Numbers: [6600]
6600,71 unequal: No Solution
Exploring Operation: 88-75=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[96, 67], Operations: ['32*3=96', '88-21=67']
Exploring Operation: 96*67=6432, Resulting Numbers: [6432]
6432,71 unequal: No Solution
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 96+67=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[96, 109], Operations: ['32*3=96', '21+88=109']
Exploring Operation: 109-96=13, Resulting Numbers: [13]
13,71 unequal: No Solution
Exploring Operation: 96+109=205, Resulting Numbers: [205]
205,71 unequal: No Solution
Exploring Operation: 96*109=10464, Resulting Numbers: [10464]
10464,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
Current State: 71:[21, 88, 35], Operations: ['32+3=35']
Exploring Operation: 21+35=56, Resulting Numbers: [88, 56]
Generated Node #0,0,0: 71:[88, 56] Operation: 21+35=56
Exploring Operation: 88-21=67, Resulting Numbers: [35, 67]
Generated Node #0,0,1: 71:[35, 67] Operation: 88-21=67
Exploring Operation: 88-35=53, Resulting Numbers: [21, 53]
Generated Node #0,0,2: 71:[21, 53] Operation: 88-35=53
Moving to Node #0,0,0
Current State: 71:[88, 56], Operations: ['32+3=35', '21+35=56']
Exploring Operation: 88*56=4928, Resulting Numbers: [4928]
4928,71 unequal: No Solution
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 88+56=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[35, 67], Operations: ['32+3=35', '88-21=67']
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,71 unequal: No Solution
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[21, 53], Operations: ['32+3=35', '88-35=53']
Exploring Operation: 21*53=1113, Resulting Numbers: [1113]
1113,71 unequal: No Solution
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 21+53=74, Resulting Numbers: [74]
74,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
63,
40,
53
] | 66 | [
"67+53=120",
"120/40=3",
"63+3=66"
] | Current State: 66:[67, 63, 40, 53], Operations: []
Exploring Operation: 67+53=120, Resulting Numbers: [63, 40, 120]
Generated Node #2: [63, 40, 120] from Operation: 67+53=120
Current State: 66:[63, 40, 120], Operations: ['67+53=120']
Exploring Operation: 120/40=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 120/40=3
Current State: 66:[63, 3], Operations: ['67+53=120', '120/40=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[67, 63, 40, 53], Operations: []
Exploring Operation: 63-53=10, Resulting Numbers: [67, 40, 10]
Generated Node #0,0: 66:[67, 40, 10] Operation: 63-53=10
Exploring Operation: 53-40=13, Resulting Numbers: [67, 63, 13]
Generated Node #0,1: 66:[67, 63, 13] Operation: 53-40=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[67, 63, 13], Operations: ['53-40=13']
Exploring Operation: 63+13=76, Resulting Numbers: [67, 76]
Generated Node #0,1,0: 66:[67, 76] Operation: 63+13=76
Exploring Operation: 67-63=4, Resulting Numbers: [13, 4]
Generated Node #0,1,1: 66:[13, 4] Operation: 67-63=4
Moving to Node #0,1,1
Current State: 66:[13, 4], Operations: ['53-40=13', '67-63=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[67, 76], Operations: ['53-40=13', '63+13=76']
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,66 unequal: No Solution
Exploring Operation: 67+76=143, Resulting Numbers: [143]
143,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:[67, 40, 10], Operations: ['63-53=10']
Exploring Operation: 40/10=4, Resulting Numbers: [67, 4]
Generated Node #0,0,0: 66:[67, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [67, 30]
Generated Node #0,0,1: 66:[67, 30] Operation: 40-10=30
Moving to Node #0,0,0
Current State: 66:[67, 4], Operations: ['63-53=10', '40/10=4']
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[67, 30], Operations: ['63-53=10', '40-10=30']
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,66 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 |
[
89,
57,
52,
4
] | 91 | [
"89-52=37",
"4*37=148",
"148-57=91"
] | Current State: 91:[89, 57, 52, 4], Operations: []
Exploring Operation: 89-52=37, Resulting Numbers: [57, 4, 37]
Generated Node #2: [57, 4, 37] from Operation: 89-52=37
Current State: 91:[57, 4, 37], Operations: ['89-52=37']
Exploring Operation: 4*37=148, Resulting Numbers: [57, 148]
Generated Node #3: [57, 148] from Operation: 4*37=148
Current State: 91:[57, 148], Operations: ['89-52=37', '4*37=148']
Exploring Operation: 148-57=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[89, 57, 52, 4], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [89, 4, 5]
Generated Node #0,0: 91:[89, 4, 5] Operation: 57-52=5
Moving to Node #0,0
Current State: 91:[89, 4, 5], Operations: ['57-52=5']
Exploring Operation: 89+4=93, Resulting Numbers: [5, 93]
Generated Node #0,0,0: 91:[5, 93] Operation: 89+4=93
Moving to Node #0,0,0
Current State: 91:[5, 93], Operations: ['57-52=5', '89+4=93']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
16,
93,
3,
36
] | 81 | [
"16*3=48",
"93+36=129",
"129-48=81"
] | Current State: 81:[16, 93, 3, 36], Operations: []
Exploring Operation: 16*3=48, Resulting Numbers: [93, 36, 48]
Generated Node #2: [93, 36, 48] from Operation: 16*3=48
Current State: 81:[93, 36, 48], Operations: ['16*3=48']
Exploring Operation: 93+36=129, Resulting Numbers: [48, 129]
Generated Node #3: [48, 129] from Operation: 93+36=129
Current State: 81:[48, 129], Operations: ['16*3=48', '93+36=129']
Exploring Operation: 129-48=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[16, 93, 3, 36], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [93, 3, 20]
Generated Node #0,0: 81:[93, 3, 20] Operation: 36-16=20
Exploring Operation: 93-16=77, Resulting Numbers: [3, 36, 77]
Generated Node #0,1: 81:[3, 36, 77] Operation: 93-16=77
Moving to Node #0,1
Current State: 81:[3, 36, 77], Operations: ['93-16=77']
Exploring Operation: 36/3=12, Resulting Numbers: [77, 12]
Generated Node #0,1,0: 81:[77, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [77, 33]
Generated Node #0,1,1: 81:[77, 33] Operation: 36-3=33
Moving to Node #0,0
Current State: 81:[93, 3, 20], Operations: ['36-16=20']
Exploring Operation: 93/3=31, Resulting Numbers: [20, 31]
Generated Node #0,0,0: 81:[20, 31] Operation: 93/3=31
Exploring Operation: 93-20=73, Resulting Numbers: [3, 73]
Generated Node #0,0,1: 81:[3, 73] Operation: 93-20=73
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[3, 73], Operations: ['36-16=20', '93-20=73']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[20, 31], Operations: ['36-16=20', '93/3=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,81 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: 81:[77, 12], Operations: ['93-16=77', '36/3=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[77, 33], Operations: ['93-16=77', '36-3=33']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
25,
27,
4
] | 38 | [
"9*4=36",
"27-25=2",
"36+2=38"
] | Current State: 38:[9, 25, 27, 4], Operations: []
Exploring Operation: 9*4=36, Resulting Numbers: [25, 27, 36]
Generated Node #2: [25, 27, 36] from Operation: 9*4=36
Current State: 38:[25, 27, 36], Operations: ['9*4=36']
Exploring Operation: 27-25=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 27-25=2
Current State: 38:[36, 2], Operations: ['9*4=36', '27-25=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[9, 25, 27, 4], Operations: []
Exploring Operation: 27-9=18, Resulting Numbers: [25, 4, 18]
Generated Node #0,0: 38:[25, 4, 18] Operation: 27-9=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[25, 4, 18], Operations: ['27-9=18']
Exploring Operation: 25-4=21, Resulting Numbers: [18, 21]
Generated Node #0,0,0: 38:[18, 21] Operation: 25-4=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[18, 21], Operations: ['27-9=18', '25-4=21']
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,38 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 |
[
5,
5,
14,
10
] | 27 | [
"14*10=140",
"140-5=135",
"135/5=27"
] | Current State: 27:[5, 5, 14, 10], Operations: []
Exploring Operation: 14*10=140, Resulting Numbers: [5, 5, 140]
Generated Node #2: [5, 5, 140] from Operation: 14*10=140
Current State: 27:[5, 5, 140], Operations: ['14*10=140']
Exploring Operation: 140-5=135, Resulting Numbers: [135]
135,27 equal: Goal Reached
Exploring Operation: 135/5=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 5, 14, 10], Operations: []
Exploring Operation: 14-5=9, Resulting Numbers: [5, 10, 9]
Generated Node #0,0: 27:[5, 10, 9] Operation: 14-5=9
Exploring Operation: 14-10=4, Resulting Numbers: [5, 5, 4]
Generated Node #0,1: 27:[5, 5, 4] Operation: 14-10=4
Exploring Operation: 5+5=10, Resulting Numbers: [14, 10, 10]
Generated Node #0,2: 27:[14, 10, 10] Operation: 5+5=10
Exploring Operation: 14-5=9, Resulting Numbers: [5, 10, 9]
Generated Node #0,3: 27:[5, 10, 9] Operation: 14-5=9
Moving to Node #0,0
Current State: 27:[5, 10, 9], Operations: ['14-5=9']
Exploring Operation: 9-5=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 27:[10, 4] Operation: 9-5=4
Exploring Operation: 10/5=2, Resulting Numbers: [9, 2]
Generated Node #0,0,1: 27:[9, 2] Operation: 10/5=2
Exploring Operation: 10-9=1, Resulting Numbers: [5, 1]
Generated Node #0,0,2: 27:[5, 1] Operation: 10-9=1
Exploring Operation: 10-5=5, Resulting Numbers: [9, 5]
Generated Node #0,0,3: 27:[9, 5] Operation: 10-5=5
Moving to Node #0,3
Current State: 27:[5, 10, 9], Operations: ['14-5=9']
Exploring Operation: 10/5=2, Resulting Numbers: [9, 2]
Generated Node #0,3,0: 27:[9, 2] Operation: 10/5=2
Exploring Operation: 10-5=5, Resulting Numbers: [9, 5]
Generated Node #0,3,1: 27:[9, 5] Operation: 10-5=5
Exploring Operation: 10-9=1, Resulting Numbers: [5, 1]
Generated Node #0,3,2: 27:[5, 1] Operation: 10-9=1
Exploring Operation: 9-5=4, Resulting Numbers: [10, 4]
Generated Node #0,3,3: 27:[10, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 27:[9, 2], Operations: ['14-5=9', '10/5=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[9, 5], Operations: ['14-5=9', '10-5=5']
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 27:[10, 4], Operations: ['14-5=9', '9-5=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[5, 1], Operations: ['14-5=9', '10-9=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,27 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: 27:[5, 5, 4], Operations: ['14-10=4']
Exploring Operation: 5+4=9, Resulting Numbers: [5, 9]
Generated Node #0,1,0: 27:[5, 9] Operation: 5+4=9
Exploring Operation: 5+5=10, Resulting Numbers: [4, 10]
Generated Node #0,1,1: 27:[4, 10] Operation: 5+5=10
Exploring Operation: 5*5=25, Resulting Numbers: [4, 25]
Generated Node #0,1,2: 27:[4, 25] Operation: 5*5=25
Exploring Operation: 5+4=9, Resulting Numbers: [5, 9]
Generated Node #0,1,3: 27:[5, 9] Operation: 5+4=9
Moving to Node #0,2
Current State: 27:[14, 10, 10], Operations: ['5+5=10']
Exploring Operation: 14+10=24, Resulting Numbers: [10, 24]
Generated Node #0,2,0: 27:[10, 24] Operation: 14+10=24
Exploring Operation: 14-10=4, Resulting Numbers: [10, 4]
Generated Node #0,2,1: 27:[10, 4] Operation: 14-10=4
Exploring Operation: 14-10=4, Resulting Numbers: [10, 4]
Generated Node #0,2,2: 27:[10, 4] Operation: 14-10=4
Exploring Operation: 14+10=24, Resulting Numbers: [10, 24]
Generated Node #0,2,3: 27:[10, 24] Operation: 14+10=24
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[10, 4], Operations: ['5+5=10', '14-10=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 27:[10, 4], Operations: ['5+5=10', '14-10=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[10, 24], Operations: ['5+5=10', '14+10=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,27 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 27:[10, 24], Operations: ['5+5=10', '14+10=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,27 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: 27:[9, 2], Operations: ['14-5=9', '10/5=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[9, 5], Operations: ['14-5=9', '10-5=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[5, 9], Operations: ['14-10=4', '5+4=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[4, 10], Operations: ['14-10=4', '5+5=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[10, 4], Operations: ['14-5=9', '9-5=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[5, 9], Operations: ['14-10=4', '5+4=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,27 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[4, 25], Operations: ['14-10=4', '5*5=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,27 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[5, 1], Operations: ['14-5=9', '10-9=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,27 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
57,
18,
87,
87
] | 76 | [
"57+18=75",
"87/87=1",
"75+1=76"
] | Current State: 76:[57, 18, 87, 87], Operations: []
Exploring Operation: 57+18=75, Resulting Numbers: [87, 87, 75]
Generated Node #2: [87, 87, 75] from Operation: 57+18=75
Current State: 76:[87, 87, 75], Operations: ['57+18=75']
Exploring Operation: 87/87=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 87/87=1
Current State: 76:[75, 1], Operations: ['57+18=75', '87/87=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[57, 18, 87, 87], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [18, 87, 30]
Generated Node #0,0: 76:[18, 87, 30] Operation: 87-57=30
Exploring Operation: 87/87=1, Resulting Numbers: [57, 18, 1]
Generated Node #0,1: 76:[57, 18, 1] Operation: 87/87=1
Exploring Operation: 87-57=30, Resulting Numbers: [18, 87, 30]
Generated Node #0,2: 76:[18, 87, 30] Operation: 87-57=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[18, 87, 30], Operations: ['87-57=30']
Exploring Operation: 30-18=12, Resulting Numbers: [87, 12]
Generated Node #0,0,0: 76:[87, 12] Operation: 30-18=12
Exploring Operation: 87-18=69, Resulting Numbers: [30, 69]
Generated Node #0,0,1: 76:[30, 69] Operation: 87-18=69
Exploring Operation: 87-30=57, Resulting Numbers: [18, 57]
Generated Node #0,0,2: 76:[18, 57] Operation: 87-30=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[30, 69], Operations: ['87-57=30', '87-18=69']
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,76 unequal: No Solution
No 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: 76:[87, 12], Operations: ['87-57=30', '30-18=12']
Exploring Operation: 87*12=1044, Resulting Numbers: [1044]
1044,76 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,76 unequal: No Solution
No 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: 76:[18, 57], Operations: ['87-57=30', '87-30=57']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,76 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,76 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: 76:[18, 87, 30], Operations: ['87-57=30']
Exploring Operation: 30-18=12, Resulting Numbers: [87, 12]
Generated Node #0,2,0: 76:[87, 12] Operation: 30-18=12
Exploring Operation: 87-18=69, Resulting Numbers: [30, 69]
Generated Node #0,2,1: 76:[30, 69] Operation: 87-18=69
Exploring Operation: 87-30=57, Resulting Numbers: [18, 57]
Generated Node #0,2,2: 76:[18, 57] Operation: 87-30=57
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[30, 69], Operations: ['87-57=30', '87-18=69']
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 30*69=2070, Resulting Numbers: [2070]
2070,76 unequal: No Solution
No 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: 76:[87, 12], Operations: ['87-57=30', '30-18=12']
Exploring Operation: 87*12=1044, Resulting Numbers: [1044]
1044,76 unequal: No Solution
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,76 unequal: No Solution
No 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: 76:[18, 57], Operations: ['87-57=30', '87-30=57']
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,76 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,76 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: 76:[57, 18, 1], Operations: ['87/87=1']
Exploring Operation: 57-18=39, Resulting Numbers: [1, 39]
Generated Node #0,1,0: 76:[1, 39] Operation: 57-18=39
Exploring Operation: 57+18=75, Resulting Numbers: [1, 75]
Generated Node #0,1,1: 76:[1, 75] Operation: 57+18=75
Exploring Operation: 57+1=58, Resulting Numbers: [18, 58]
Generated Node #0,1,2: 76:[18, 58] Operation: 57+1=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[1, 39], Operations: ['87/87=1', '57-18=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No 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: 76:[1, 75], Operations: ['87/87=1', '57+18=75']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 1*75=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[57, 18, 87, 87], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [57, 18, 1]
Generated Node #0,1: 76:[57, 18, 1] Operation: 87/87=1
Moving to Node #0,1
Current State: 76:[57, 18, 1], Operations: ['87/87=1']
Exploring Operation: 57+18=75, Resulting Numbers: [1, 75]
Generated Node #0,1,1: 76:[1, 75] Operation: 57+18=75
Moving to Node #0,1,1
Current State: 76:[1, 75], Operations: ['87/87=1', '57+18=75']
Exploring Operation: 1+75=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | sum_heuristic |
[
68,
63,
91,
17
] | 79 | [
"68-63=5",
"91-17=74",
"5+74=79"
] | Current State: 79:[68, 63, 91, 17], Operations: []
Exploring Operation: 68-63=5, Resulting Numbers: [91, 17, 5]
Generated Node #2: [91, 17, 5] from Operation: 68-63=5
Current State: 79:[91, 17, 5], Operations: ['68-63=5']
Exploring Operation: 91-17=74, Resulting Numbers: [5, 74]
Generated Node #3: [5, 74] from Operation: 91-17=74
Current State: 79:[5, 74], Operations: ['68-63=5', '91-17=74']
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[68, 63, 91, 17], Operations: []
Exploring Operation: 63-17=46, Resulting Numbers: [68, 91, 46]
Generated Node #0,0: 79:[68, 91, 46] Operation: 63-17=46
Exploring Operation: 91-17=74, Resulting Numbers: [68, 63, 74]
Generated Node #0,1: 79:[68, 63, 74] Operation: 91-17=74
Exploring Operation: 63+17=80, Resulting Numbers: [68, 91, 80]
Generated Node #0,2: 79:[68, 91, 80] Operation: 63+17=80
Exploring Operation: 68+17=85, Resulting Numbers: [63, 91, 85]
Generated Node #0,3: 79:[63, 91, 85] Operation: 68+17=85
Exploring Operation: 68-17=51, Resulting Numbers: [63, 91, 51]
Generated Node #0,4: 79:[63, 91, 51] Operation: 68-17=51
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[68, 91, 80], Operations: ['63+17=80']
Exploring Operation: 91-68=23, Resulting Numbers: [80, 23]
Generated Node #0,2,0: 79:[80, 23] Operation: 91-68=23
Exploring Operation: 68+91=159, Resulting Numbers: [80, 159]
Generated Node #0,2,1: 79:[80, 159] Operation: 68+91=159
Exploring Operation: 91-80=11, Resulting Numbers: [68, 11]
Generated Node #0,2,2: 79:[68, 11] Operation: 91-80=11
Exploring Operation: 80-68=12, Resulting Numbers: [91, 12]
Generated Node #0,2,3: 79:[91, 12] Operation: 80-68=12
Exploring Operation: 68+80=148, Resulting Numbers: [91, 148]
Generated Node #0,2,4: 79:[91, 148] Operation: 68+80=148
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[80, 23], Operations: ['63+17=80', '91-68=23']
Exploring Operation: 80+23=103, Resulting Numbers: [103]
103,79 unequal: No Solution
Exploring Operation: 80*23=1840, Resulting Numbers: [1840]
1840,79 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,79 unequal: No Solution
No 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: 79:[68, 11], Operations: ['63+17=80', '91-80=11']
Exploring Operation: 68+11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[68, 63, 91, 17], Operations: []
Exploring Operation: 63+17=80, Resulting Numbers: [68, 91, 80]
Generated Node #0,2: 79:[68, 91, 80] Operation: 63+17=80
Moving to Node #0,2
Current State: 79:[68, 91, 80], Operations: ['63+17=80']
Exploring Operation: 91-80=11, Resulting Numbers: [68, 11]
Generated Node #0,2,2: 79:[68, 11] Operation: 91-80=11
Moving to Node #0,2,2
Current State: 79:[68, 11], Operations: ['63+17=80', '91-80=11']
Exploring Operation: 68+11=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
6,
89,
96,
31
] | 44 | [
"89-6=83",
"96+31=127",
"127-83=44"
] | Current State: 44:[6, 89, 96, 31], Operations: []
Exploring Operation: 89-6=83, Resulting Numbers: [96, 31, 83]
Generated Node #2: [96, 31, 83] from Operation: 89-6=83
Current State: 44:[96, 31, 83], Operations: ['89-6=83']
Exploring Operation: 96+31=127, Resulting Numbers: [83, 127]
Generated Node #3: [83, 127] from Operation: 96+31=127
Current State: 44:[83, 127], Operations: ['89-6=83', '96+31=127']
Exploring Operation: 127-83=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[6, 89, 96, 31], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [6, 31, 7]
Generated Node #0,0: 44:[6, 31, 7] Operation: 96-89=7
Moving to Node #0,0
Current State: 44:[6, 31, 7], Operations: ['96-89=7']
Exploring Operation: 31-7=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 44:[6, 24] Operation: 31-7=24
Moving to Node #0,0,0
Current State: 44:[6, 24], Operations: ['96-89=7', '31-7=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,44 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
28,
37,
31
] | 20 | [
"97-37=60",
"31-28=3",
"60/3=20"
] | Current State: 20:[97, 28, 37, 31], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [28, 31, 60]
Generated Node #2: [28, 31, 60] from Operation: 97-37=60
Current State: 20:[28, 31, 60], Operations: ['97-37=60']
Exploring Operation: 31-28=3, Resulting Numbers: [60, 3]
Generated Node #3: [60, 3] from Operation: 31-28=3
Current State: 20:[60, 3], Operations: ['97-37=60', '31-28=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[97, 28, 37, 31], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [37, 31, 69]
Generated Node #0,0: 20:[37, 31, 69] Operation: 97-28=69
Exploring Operation: 37-28=9, Resulting Numbers: [97, 31, 9]
Generated Node #0,1: 20:[97, 31, 9] Operation: 37-28=9
Exploring Operation: 97-37=60, Resulting Numbers: [28, 31, 60]
Generated Node #0,2: 20:[28, 31, 60] Operation: 97-37=60
Exploring Operation: 37-31=6, Resulting Numbers: [97, 28, 6]
Generated Node #0,3: 20:[97, 28, 6] Operation: 37-31=6
Exploring Operation: 97-31=66, Resulting Numbers: [28, 37, 66]
Generated Node #0,4: 20:[28, 37, 66] Operation: 97-31=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[28, 31, 60], Operations: ['97-37=60']
Exploring Operation: 28+60=88, Resulting Numbers: [31, 88]
Generated Node #0,2,0: 20:[31, 88] Operation: 28+60=88
Exploring Operation: 60-31=29, Resulting Numbers: [28, 29]
Generated Node #0,2,1: 20:[28, 29] Operation: 60-31=29
Exploring Operation: 28+31=59, Resulting Numbers: [60, 59]
Generated Node #0,2,2: 20:[60, 59] Operation: 28+31=59
Exploring Operation: 31-28=3, Resulting Numbers: [60, 3]
Generated Node #0,2,3: 20:[60, 3] Operation: 31-28=3
Exploring Operation: 60-28=32, Resulting Numbers: [31, 32]
Generated Node #0,2,4: 20:[31, 32] Operation: 60-28=32
Moving to Node #0,2,1
Current State: 20:[28, 29], Operations: ['97-37=60', '60-31=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,20 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,2,4
Current State: 20:[31, 32], Operations: ['97-37=60', '60-28=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,20 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Moving to Node #0,2,3
Current State: 20:[60, 3], Operations: ['97-37=60', '31-28=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,20 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[97, 28, 37, 31], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [28, 31, 60]
Generated Node #0,2: 20:[28, 31, 60] Operation: 97-37=60
Moving to Node #0,2
Current State: 20:[28, 31, 60], Operations: ['97-37=60']
Exploring Operation: 31-28=3, Resulting Numbers: [60, 3]
Generated Node #0,2,3: 20:[60, 3] Operation: 31-28=3
Moving to Node #0,2,3
Current State: 20:[60, 3], Operations: ['97-37=60', '31-28=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
64,
66,
33,
33
] | 63 | [
"66-33=33",
"33/33=1",
"64-1=63"
] | Current State: 63:[64, 66, 33, 33], Operations: []
Exploring Operation: 66-33=33, Resulting Numbers: [64, 33]
Generated Node #2: [64, 33] from Operation: 66-33=33
Current State: 63:[64, 33], Operations: ['66-33=33']
Exploring Operation: 33/33=1, Resulting Numbers: [64, 1]
Generated Node #3: [64, 1] from Operation: 33/33=1
Current State: 63:[64, 1], Operations: ['66-33=33', '33/33=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[64, 66, 33, 33], Operations: []
Exploring Operation: 33/33=1, Resulting Numbers: [64, 66, 1]
Generated Node #0,0: 63:[64, 66, 1] Operation: 33/33=1
Exploring Operation: 33+33=66, Resulting Numbers: [64, 66, 66]
Generated Node #0,1: 63:[64, 66, 66] Operation: 33+33=66
Exploring Operation: 66/33=2, Resulting Numbers: [64, 33, 2]
Generated Node #0,2: 63:[64, 33, 2] Operation: 66/33=2
Exploring Operation: 66/33=2, Resulting Numbers: [64, 33, 2]
Generated Node #0,3: 63:[64, 33, 2] Operation: 66/33=2
Exploring Operation: 33-33=0, Resulting Numbers: [64, 66, 0]
Generated Node #0,4: 63:[64, 66, 0] Operation: 33-33=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[64, 66, 1], Operations: ['33/33=1']
Exploring Operation: 64*1=64, Resulting Numbers: [66, 64]
Generated Node #0,0,0: 63:[66, 64] Operation: 64*1=64
Exploring Operation: 64-1=63, Resulting Numbers: [66, 63]
Generated Node #0,0,1: 63:[66, 63] Operation: 64-1=63
Exploring Operation: 64/1=64, Resulting Numbers: [66, 64]
Generated Node #0,0,2: 63:[66, 64] Operation: 64/1=64
Exploring Operation: 66-64=2, Resulting Numbers: [1, 2]
Generated Node #0,0,3: 63:[1, 2] Operation: 66-64=2
Exploring Operation: 66-1=65, Resulting Numbers: [64, 65]
Generated Node #0,0,4: 63:[64, 65] Operation: 66-1=65
Moving to Node #0,0,1
Current State: 63:[66, 63], Operations: ['33/33=1', '64-1=63']
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,63 unequal: No Solution
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,63 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[64, 65], Operations: ['33/33=1', '66-1=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,63 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,63 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[1, 2], Operations: ['33/33=1', '66-64=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[66, 64], Operations: ['33/33=1', '64*1=64']
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,63 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[66, 64], Operations: ['33/33=1', '64/1=64']
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,63 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,63 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[64, 66, 66], Operations: ['33+33=66']
Exploring Operation: 64+66=130, Resulting Numbers: [66, 130]
Generated Node #0,1,0: 63:[66, 130] Operation: 64+66=130
Exploring Operation: 66/66=1, Resulting Numbers: [64, 1]
Generated Node #0,1,1: 63:[64, 1] Operation: 66/66=1
Exploring Operation: 66-66=0, Resulting Numbers: [64, 0]
Generated Node #0,1,2: 63:[64, 0] Operation: 66-66=0
Exploring Operation: 66-64=2, Resulting Numbers: [66, 2]
Generated Node #0,1,3: 63:[66, 2] Operation: 66-64=2
Exploring Operation: 66-64=2, Resulting Numbers: [66, 2]
Generated Node #0,1,4: 63:[66, 2] Operation: 66-64=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[64, 1], Operations: ['33+33=66', '66/66=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[64, 66, 33, 33], Operations: []
Exploring Operation: 33+33=66, Resulting Numbers: [64, 66, 66]
Generated Node #0,1: 63:[64, 66, 66] Operation: 33+33=66
Moving to Node #0,1
Current State: 63:[64, 66, 66], Operations: ['33+33=66']
Exploring Operation: 66/66=1, Resulting Numbers: [64, 1]
Generated Node #0,1,1: 63:[64, 1] Operation: 66/66=1
Moving to Node #0,1,1
Current State: 63:[64, 1], Operations: ['33+33=66', '66/66=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
65,
95,
87,
91
] | 26 | [
"95-65=30",
"91-87=4",
"30-4=26"
] | Current State: 26:[65, 95, 87, 91], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [87, 91, 30]
Generated Node #2: [87, 91, 30] from Operation: 95-65=30
Current State: 26:[87, 91, 30], Operations: ['95-65=30']
Exploring Operation: 91-87=4, Resulting Numbers: [30, 4]
Generated Node #3: [30, 4] from Operation: 91-87=4
Current State: 26:[30, 4], Operations: ['95-65=30', '91-87=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[65, 95, 87, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [65, 95, 4]
Generated Node #0,0: 26:[65, 95, 4] Operation: 91-87=4
Exploring Operation: 95-87=8, Resulting Numbers: [65, 91, 8]
Generated Node #0,1: 26:[65, 91, 8] Operation: 95-87=8
Exploring Operation: 95-65=30, Resulting Numbers: [87, 91, 30]
Generated Node #0,2: 26:[87, 91, 30] Operation: 95-65=30
Exploring Operation: 95-91=4, Resulting Numbers: [65, 87, 4]
Generated Node #0,3: 26:[65, 87, 4] Operation: 95-91=4
Moving to Node #0,3
Current State: 26:[65, 87, 4], Operations: ['95-91=4']
Exploring Operation: 87-65=22, Resulting Numbers: [4, 22]
Generated Node #0,3,0: 26:[4, 22] Operation: 87-65=22
Exploring Operation: 87-4=83, Resulting Numbers: [65, 83]
Generated Node #0,3,1: 26:[65, 83] Operation: 87-4=83
Exploring Operation: 65+4=69, Resulting Numbers: [87, 69]
Generated Node #0,3,2: 26:[87, 69] Operation: 65+4=69
Exploring Operation: 65-4=61, Resulting Numbers: [87, 61]
Generated Node #0,3,3: 26:[87, 61] Operation: 65-4=61
Moving to Node #0,1
Current State: 26:[65, 91, 8], Operations: ['95-87=8']
Exploring Operation: 65+8=73, Resulting Numbers: [91, 73]
Generated Node #0,1,0: 26:[91, 73] Operation: 65+8=73
Exploring Operation: 65-8=57, Resulting Numbers: [91, 57]
Generated Node #0,1,1: 26:[91, 57] Operation: 65-8=57
Exploring Operation: 91-65=26, Resulting Numbers: [8, 26]
Generated Node #0,1,2: 26:[8, 26] Operation: 91-65=26
Exploring Operation: 91-8=83, Resulting Numbers: [65, 83]
Generated Node #0,1,3: 26:[65, 83] Operation: 91-8=83
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[8, 26], Operations: ['95-87=8', '91-65=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,26 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[91, 57], Operations: ['95-87=8', '65-8=57']
Exploring Operation: 91-57=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 91+57=148, Resulting Numbers: [148]
148,26 unequal: No Solution
Exploring Operation: 91*57=5187, Resulting Numbers: [5187]
5187,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[65, 83], Operations: ['95-87=8', '91-8=83']
Exploring Operation: 65*83=5395, Resulting Numbers: [5395]
5395,26 unequal: No Solution
Exploring Operation: 65+83=148, Resulting Numbers: [148]
148,26 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[91, 73], Operations: ['95-87=8', '65+8=73']
Exploring Operation: 91*73=6643, Resulting Numbers: [6643]
6643,26 unequal: No Solution
Exploring Operation: 91+73=164, Resulting Numbers: [164]
164,26 unequal: No Solution
Exploring Operation: 91-73=18, Resulting Numbers: [18]
18,26 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: 26:[65, 95, 4], Operations: ['91-87=4']
Exploring Operation: 65-4=61, Resulting Numbers: [95, 61]
Generated Node #0,0,0: 26:[95, 61] Operation: 65-4=61
Exploring Operation: 95-4=91, Resulting Numbers: [65, 91]
Generated Node #0,0,1: 26:[65, 91] Operation: 95-4=91
Exploring Operation: 65+4=69, Resulting Numbers: [95, 69]
Generated Node #0,0,2: 26:[95, 69] Operation: 65+4=69
Exploring Operation: 95-65=30, Resulting Numbers: [4, 30]
Generated Node #0,0,3: 26:[4, 30] Operation: 95-65=30
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[4, 30], Operations: ['91-87=4', '95-65=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[65, 95, 87, 91], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [65, 95, 4]
Generated Node #0,0: 26:[65, 95, 4] Operation: 91-87=4
Moving to Node #0,0
Current State: 26:[65, 95, 4], Operations: ['91-87=4']
Exploring Operation: 95-65=30, Resulting Numbers: [4, 30]
Generated Node #0,0,3: 26:[4, 30] Operation: 95-65=30
Moving to Node #0,0,3
Current State: 26:[4, 30], Operations: ['91-87=4', '95-65=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
98,
81,
89,
1
] | 89 | [
"98+81=179",
"89+1=90",
"179-90=89"
] | Current State: 89:[98, 81, 89, 1], Operations: []
Exploring Operation: 98+81=179, Resulting Numbers: [89, 1, 179]
Generated Node #2: [89, 1, 179] from Operation: 98+81=179
Current State: 89:[89, 1, 179], Operations: ['98+81=179']
Exploring Operation: 89+1=90, Resulting Numbers: [179, 90]
Generated Node #3: [179, 90] from Operation: 89+1=90
Current State: 89:[179, 90], Operations: ['98+81=179', '89+1=90']
Exploring Operation: 179-90=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[98, 81, 89, 1], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [81, 89, 97]
Generated Node #0,0: 89:[81, 89, 97] Operation: 98-1=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[81, 89, 97], Operations: ['98-1=97']
Exploring Operation: 97-81=16, Resulting Numbers: [89, 16]
Generated Node #0,0,0: 89:[89, 16] Operation: 97-81=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[89, 16], Operations: ['98-1=97', '97-81=16']
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
39,
2,
52
] | 45 | [
"71+52=123",
"39*2=78",
"123-78=45"
] | Current State: 45:[71, 39, 2, 52], Operations: []
Exploring Operation: 71+52=123, Resulting Numbers: [39, 2, 123]
Generated Node #2: [39, 2, 123] from Operation: 71+52=123
Current State: 45:[39, 2, 123], Operations: ['71+52=123']
Exploring Operation: 39*2=78, Resulting Numbers: [123, 78]
Generated Node #3: [123, 78] from Operation: 39*2=78
Current State: 45:[123, 78], Operations: ['71+52=123', '39*2=78']
Exploring Operation: 123-78=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[71, 39, 2, 52], Operations: []
Exploring Operation: 71-52=19, Resulting Numbers: [39, 2, 19]
Generated Node #0,0: 45:[39, 2, 19] Operation: 71-52=19
Exploring Operation: 71-39=32, Resulting Numbers: [2, 52, 32]
Generated Node #0,1: 45:[2, 52, 32] Operation: 71-39=32
Moving to Node #0,0
Current State: 45:[39, 2, 19], Operations: ['71-52=19']
Exploring Operation: 39+2=41, Resulting Numbers: [19, 41]
Generated Node #0,0,0: 45:[19, 41] Operation: 39+2=41
Exploring Operation: 39-19=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 45:[2, 20] Operation: 39-19=20
Moving to Node #0,1
Current State: 45:[2, 52, 32], Operations: ['71-39=32']
Exploring Operation: 32/2=16, Resulting Numbers: [52, 16]
Generated Node #0,1,0: 45:[52, 16] Operation: 32/2=16
Exploring Operation: 52-32=20, Resulting Numbers: [2, 20]
Generated Node #0,1,1: 45:[2, 20] Operation: 52-32=20
Moving to Node #0,0,1
Current State: 45:[2, 20], Operations: ['71-52=19', '39-19=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[2, 20], Operations: ['71-39=32', '52-32=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,45 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[19, 41], Operations: ['71-52=19', '39+2=41']
Exploring Operation: 19+41=60, Resulting Numbers: [60]
60,45 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[52, 16], Operations: ['71-39=32', '32/2=16']
Exploring Operation: 52+16=68, Resulting Numbers: [68]
68,45 unequal: No Solution
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
59,
30,
39,
43
] | 93 | [
"59+30=89",
"43-39=4",
"89+4=93"
] | Current State: 93:[59, 30, 39, 43], Operations: []
Exploring Operation: 59+30=89, Resulting Numbers: [39, 43, 89]
Generated Node #2: [39, 43, 89] from Operation: 59+30=89
Current State: 93:[39, 43, 89], Operations: ['59+30=89']
Exploring Operation: 43-39=4, Resulting Numbers: [89, 4]
Generated Node #3: [89, 4] from Operation: 43-39=4
Current State: 93:[89, 4], Operations: ['59+30=89', '43-39=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[59, 30, 39, 43], Operations: []
Exploring Operation: 59+43=102, Resulting Numbers: [30, 39, 102]
Generated Node #0,0: 93:[30, 39, 102] Operation: 59+43=102
Exploring Operation: 59-30=29, Resulting Numbers: [39, 43, 29]
Generated Node #0,1: 93:[39, 43, 29] Operation: 59-30=29
Exploring Operation: 59+39=98, Resulting Numbers: [30, 43, 98]
Generated Node #0,2: 93:[30, 43, 98] Operation: 59+39=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[30, 39, 102], Operations: ['59+43=102']
Exploring Operation: 39-30=9, Resulting Numbers: [102, 9]
Generated Node #0,0,0: 93:[102, 9] Operation: 39-30=9
Exploring Operation: 102-39=63, Resulting Numbers: [30, 63]
Generated Node #0,0,1: 93:[30, 63] Operation: 102-39=63
Exploring Operation: 102-30=72, Resulting Numbers: [39, 72]
Generated Node #0,0,2: 93:[39, 72] Operation: 102-30=72
Moving to Node #0,0,0
Current State: 93:[102, 9], Operations: ['59+43=102', '39-30=9']
Exploring Operation: 102+9=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[59, 30, 39, 43], Operations: []
Exploring Operation: 59+43=102, Resulting Numbers: [30, 39, 102]
Generated Node #0,0: 93:[30, 39, 102] Operation: 59+43=102
Moving to Node #0,0
Current State: 93:[30, 39, 102], Operations: ['59+43=102']
Exploring Operation: 39-30=9, Resulting Numbers: [102, 9]
Generated Node #0,0,0: 93:[102, 9] Operation: 39-30=9
Moving to Node #0,0,0
Current State: 93:[102, 9], Operations: ['59+43=102', '39-30=9']
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
75,
50,
3,
43
] | 86 | [
"75/3=25",
"50*43=2150",
"2150/25=86"
] | Current State: 86:[75, 50, 3, 43], Operations: []
Exploring Operation: 75/3=25, Resulting Numbers: [50, 43, 25]
Generated Node #2: [50, 43, 25] from Operation: 75/3=25
Current State: 86:[50, 43, 25], Operations: ['75/3=25']
Exploring Operation: 50*43=2150, Resulting Numbers: [25, 2150]
Generated Node #3: [25, 2150] from Operation: 50*43=2150
Current State: 86:[25, 2150], Operations: ['75/3=25', '50*43=2150']
Exploring Operation: 2150/25=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[75, 50, 3, 43], Operations: []
Exploring Operation: 75+3=78, Resulting Numbers: [50, 43, 78]
Generated Node #0,0: 86:[50, 43, 78] Operation: 75+3=78
Exploring Operation: 75-43=32, Resulting Numbers: [50, 3, 32]
Generated Node #0,1: 86:[50, 3, 32] Operation: 75-43=32
Exploring Operation: 50-43=7, Resulting Numbers: [75, 3, 7]
Generated Node #0,2: 86:[75, 3, 7] Operation: 50-43=7
Exploring Operation: 75-50=25, Resulting Numbers: [3, 43, 25]
Generated Node #0,3: 86:[3, 43, 25] Operation: 75-50=25
Exploring Operation: 50-3=47, Resulting Numbers: [75, 43, 47]
Generated Node #0,4: 86:[75, 43, 47] Operation: 50-3=47
Moving to Node #0,0
Current State: 86:[50, 43, 78], Operations: ['75+3=78']
Exploring Operation: 50+43=93, Resulting Numbers: [78, 93]
Generated Node #0,0,0: 86:[78, 93] Operation: 50+43=93
Exploring Operation: 78-50=28, Resulting Numbers: [43, 28]
Generated Node #0,0,1: 86:[43, 28] Operation: 78-50=28
Exploring Operation: 78-43=35, Resulting Numbers: [50, 35]
Generated Node #0,0,2: 86:[50, 35] Operation: 78-43=35
Exploring Operation: 50-43=7, Resulting Numbers: [78, 7]
Generated Node #0,0,3: 86:[78, 7] Operation: 50-43=7
Exploring Operation: 50+78=128, Resulting Numbers: [43, 128]
Generated Node #0,0,4: 86:[43, 128] Operation: 50+78=128
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 86:[78, 7], Operations: ['75+3=78', '50-43=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,86 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[78, 93], Operations: ['75+3=78', '50+43=93']
Exploring Operation: 78+93=171, Resulting Numbers: [171]
171,86 unequal: No Solution
Exploring Operation: 78*93=7254, Resulting Numbers: [7254]
7254,86 unequal: No Solution
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[43, 28], Operations: ['75+3=78', '78-50=28']
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[50, 35], Operations: ['75+3=78', '78-43=35']
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,86 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 86:[43, 128], Operations: ['75+3=78', '50+78=128']
Exploring Operation: 128-43=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 43*128=5504, Resulting Numbers: [5504]
5504,86 unequal: No Solution
Exploring Operation: 43+128=171, Resulting Numbers: [171]
171,86 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: 86:[75, 43, 47], Operations: ['50-3=47']
Exploring Operation: 75+43=118, Resulting Numbers: [47, 118]
Generated Node #0,4,0: 86:[47, 118] Operation: 75+43=118
Exploring Operation: 75-47=28, Resulting Numbers: [43, 28]
Generated Node #0,4,1: 86:[43, 28] Operation: 75-47=28
Exploring Operation: 43+47=90, Resulting Numbers: [75, 90]
Generated Node #0,4,2: 86:[75, 90] Operation: 43+47=90
Exploring Operation: 75-43=32, Resulting Numbers: [47, 32]
Generated Node #0,4,3: 86:[47, 32] Operation: 75-43=32
Exploring Operation: 47-43=4, Resulting Numbers: [75, 4]
Generated Node #0,4,4: 86:[75, 4] Operation: 47-43=4
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 86:[75, 4], Operations: ['50-3=47', '47-43=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 86:[43, 28], Operations: ['50-3=47', '75-47=28']
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,86 unequal: No Solution
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 86:[75, 90], Operations: ['50-3=47', '43+47=90']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 75*90=6750, Resulting Numbers: [6750]
6750,86 unequal: No Solution
Exploring Operation: 75+90=165, Resulting Numbers: [165]
165,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 86:[47, 32], Operations: ['50-3=47', '75-43=32']
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,86 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 86:[47, 118], Operations: ['50-3=47', '75+43=118']
Exploring Operation: 47*118=5546, Resulting Numbers: [5546]
5546,86 unequal: No Solution
Exploring Operation: 118-47=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 47+118=165, Resulting Numbers: [165]
165,86 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: 86:[75, 3, 7], Operations: ['50-43=7']
Exploring Operation: 75+3=78, Resulting Numbers: [7, 78]
Generated Node #0,2,0: 86:[7, 78] Operation: 75+3=78
Exploring Operation: 75-3=72, Resulting Numbers: [7, 72]
Generated Node #0,2,1: 86:[7, 72] Operation: 75-3=72
Exploring Operation: 75-7=68, Resulting Numbers: [3, 68]
Generated Node #0,2,2: 86:[3, 68] Operation: 75-7=68
Exploring Operation: 75+7=82, Resulting Numbers: [3, 82]
Generated Node #0,2,3: 86:[3, 82] Operation: 75+7=82
Exploring Operation: 7-3=4, Resulting Numbers: [75, 4]
Generated Node #0,2,4: 86:[75, 4] Operation: 7-3=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[3, 82], Operations: ['50-43=7', '75+7=82']
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,86 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[7, 78], Operations: ['50-43=7', '75+3=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,86 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[75, 4], Operations: ['50-43=7', '7-3=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[7, 72], Operations: ['50-43=7', '75-3=72']
Exploring Operation: 7+72=79, Resulting Numbers: [79]
79,86 unequal: No Solution
Exploring Operation: 72-7=65, Resulting Numbers: [65]
65,86 unequal: No Solution
Exploring Operation: 7*72=504, Resulting Numbers: [504]
504,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[3, 68], Operations: ['50-43=7', '75-7=68']
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,86 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,86 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: 86:[50, 3, 32], Operations: ['75-43=32']
Exploring Operation: 50-3=47, Resulting Numbers: [32, 47]
Generated Node #0,1,0: 86:[32, 47] Operation: 50-3=47
Exploring Operation: 3+32=35, Resulting Numbers: [50, 35]
Generated Node #0,1,1: 86:[50, 35] Operation: 3+32=35
Exploring Operation: 50+32=82, Resulting Numbers: [3, 82]
Generated Node #0,1,2: 86:[3, 82] Operation: 50+32=82
Exploring Operation: 3*32=96, Resulting Numbers: [50, 96]
Generated Node #0,1,3: 86:[50, 96] Operation: 3*32=96
Exploring Operation: 50-32=18, Resulting Numbers: [3, 18]
Generated Node #0,1,4: 86:[3, 18] Operation: 50-32=18
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[3, 82], Operations: ['75-43=32', '50+32=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,86 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[32, 47], Operations: ['75-43=32', '50-3=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,86 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[50, 35], Operations: ['75-43=32', '3+32=35']
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,86 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[50, 96], Operations: ['75-43=32', '3*32=96']
Exploring Operation: 50+96=146, Resulting Numbers: [146]
146,86 unequal: No Solution
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 50*96=4800, Resulting Numbers: [4800]
4800,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 86:[3, 18], Operations: ['75-43=32', '50-32=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,86 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: 86:[3, 43, 25], Operations: ['75-50=25']
Exploring Operation: 43+25=68, Resulting Numbers: [3, 68]
Generated Node #0,3,0: 86:[3, 68] Operation: 43+25=68
Exploring Operation: 3+25=28, Resulting Numbers: [43, 28]
Generated Node #0,3,1: 86:[43, 28] Operation: 3+25=28
Exploring Operation: 43-25=18, Resulting Numbers: [3, 18]
Generated Node #0,3,2: 86:[3, 18] Operation: 43-25=18
Exploring Operation: 3*25=75, Resulting Numbers: [43, 75]
Generated Node #0,3,3: 86:[43, 75] Operation: 3*25=75
Exploring Operation: 25-3=22, Resulting Numbers: [43, 22]
Generated Node #0,3,4: 86:[43, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[43, 75], Operations: ['75-50=25', '3*25=75']
Exploring Operation: 43+75=118, Resulting Numbers: [118]
118,86 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 43*75=3225, Resulting Numbers: [3225]
3225,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[43, 28], Operations: ['75-50=25', '3+25=28']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[3, 18], Operations: ['75-50=25', '43-25=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[3, 68], Operations: ['75-50=25', '43+25=68']
Exploring Operation: 3*68=204, Resulting Numbers: [204]
204,86 unequal: No Solution
Exploring Operation: 3+68=71, Resulting Numbers: [71]
71,86 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[43, 22], Operations: ['75-50=25', '25-3=22']
Exploring Operation: 43-22=21, Resulting Numbers: [21]
21,86 unequal: No Solution
Exploring Operation: 43*22=946, Resulting Numbers: [946]
946,86 unequal: No Solution
Exploring Operation: 43+22=65, Resulting Numbers: [65]
65,86 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 |
[
83,
73,
30,
5
] | 28 | [
"83-73=10",
"10/5=2",
"30-2=28"
] | Current State: 28:[83, 73, 30, 5], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [30, 5, 10]
Generated Node #2: [30, 5, 10] from Operation: 83-73=10
Current State: 28:[30, 5, 10], Operations: ['83-73=10']
Exploring Operation: 10/5=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 10/5=2
Current State: 28:[30, 2], Operations: ['83-73=10', '10/5=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[83, 73, 30, 5], Operations: []
Exploring Operation: 73-30=43, Resulting Numbers: [83, 5, 43]
Generated Node #0,0: 28:[83, 5, 43] Operation: 73-30=43
Exploring Operation: 83-30=53, Resulting Numbers: [73, 5, 53]
Generated Node #0,1: 28:[73, 5, 53] Operation: 83-30=53
Exploring Operation: 73-5=68, Resulting Numbers: [83, 30, 68]
Generated Node #0,2: 28:[83, 30, 68] Operation: 73-5=68
Exploring Operation: 83-73=10, Resulting Numbers: [30, 5, 10]
Generated Node #0,3: 28:[30, 5, 10] Operation: 83-73=10
Exploring Operation: 83-5=78, Resulting Numbers: [73, 30, 78]
Generated Node #0,4: 28:[73, 30, 78] Operation: 83-5=78
Moving to Node #0,3
Current State: 28:[30, 5, 10], Operations: ['83-73=10']
Exploring Operation: 10-5=5, Resulting Numbers: [30, 5]
Generated Node #0,3,0: 28:[30, 5] Operation: 10-5=5
Exploring Operation: 10/5=2, Resulting Numbers: [30, 2]
Generated Node #0,3,1: 28:[30, 2] Operation: 10/5=2
Exploring Operation: 30/5=6, Resulting Numbers: [10, 6]
Generated Node #0,3,2: 28:[10, 6] Operation: 30/5=6
Exploring Operation: 30/10=3, Resulting Numbers: [5, 3]
Generated Node #0,3,3: 28:[5, 3] Operation: 30/10=3
Exploring Operation: 5+10=15, Resulting Numbers: [30, 15]
Generated Node #0,3,4: 28:[30, 15] Operation: 5+10=15
Moving to Node #0,1
Current State: 28:[73, 5, 53], Operations: ['83-30=53']
Exploring Operation: 5+53=58, Resulting Numbers: [73, 58]
Generated Node #0,1,0: 28:[73, 58] Operation: 5+53=58
Exploring Operation: 73-5=68, Resulting Numbers: [53, 68]
Generated Node #0,1,1: 28:[53, 68] Operation: 73-5=68
Exploring Operation: 73+5=78, Resulting Numbers: [53, 78]
Generated Node #0,1,2: 28:[53, 78] Operation: 73+5=78
Exploring Operation: 53-5=48, Resulting Numbers: [73, 48]
Generated Node #0,1,3: 28:[73, 48] Operation: 53-5=48
Exploring Operation: 73-53=20, Resulting Numbers: [5, 20]
Generated Node #0,1,4: 28:[5, 20] Operation: 73-53=20
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 28:[5, 20], Operations: ['83-30=53', '73-53=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,28 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[53, 68], Operations: ['83-30=53', '73-5=68']
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,28 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,28 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[73, 48], Operations: ['83-30=53', '53-5=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,28 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[73, 58], Operations: ['83-30=53', '5+53=58']
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,28 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,28 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[53, 78], Operations: ['83-30=53', '73+5=78']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,28 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,28 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: 28:[83, 5, 43], Operations: ['73-30=43']
Exploring Operation: 83+5=88, Resulting Numbers: [43, 88]
Generated Node #0,0,0: 28:[43, 88] Operation: 83+5=88
Exploring Operation: 83-43=40, Resulting Numbers: [5, 40]
Generated Node #0,0,1: 28:[5, 40] Operation: 83-43=40
Exploring Operation: 83-5=78, Resulting Numbers: [43, 78]
Generated Node #0,0,2: 28:[43, 78] Operation: 83-5=78
Exploring Operation: 43-5=38, Resulting Numbers: [83, 38]
Generated Node #0,0,3: 28:[83, 38] Operation: 43-5=38
Exploring Operation: 5+43=48, Resulting Numbers: [83, 48]
Generated Node #0,0,4: 28:[83, 48] Operation: 5+43=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[5, 40], Operations: ['73-30=43', '83-43=40']
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,28 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[43, 78], Operations: ['73-30=43', '83-5=78']
Exploring Operation: 43+78=121, Resulting Numbers: [121]
121,28 unequal: No Solution
Exploring Operation: 43*78=3354, Resulting Numbers: [3354]
3354,28 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 28:[83, 38], Operations: ['73-30=43', '43-5=38']
Exploring Operation: 83*38=3154, Resulting Numbers: [3154]
3154,28 unequal: No Solution
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,28 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[43, 88], Operations: ['73-30=43', '83+5=88']
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,28 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 28:[83, 48], Operations: ['73-30=43', '5+43=48']
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,28 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,28 unequal: No Solution
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,28 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: 28:[83, 30, 68], Operations: ['73-5=68']
Exploring Operation: 83-30=53, Resulting Numbers: [68, 53]
Generated Node #0,2,0: 28:[68, 53] Operation: 83-30=53
Exploring Operation: 83-68=15, Resulting Numbers: [30, 15]
Generated Node #0,2,1: 28:[30, 15] Operation: 83-68=15
Exploring Operation: 68-30=38, Resulting Numbers: [83, 38]
Generated Node #0,2,2: 28:[83, 38] Operation: 68-30=38
Exploring Operation: 83+68=151, Resulting Numbers: [30, 151]
Generated Node #0,2,3: 28:[30, 151] Operation: 83+68=151
Exploring Operation: 83+30=113, Resulting Numbers: [68, 113]
Generated Node #0,2,4: 28:[68, 113] Operation: 83+30=113
Moving to Node #0,4
Current State: 28:[73, 30, 78], Operations: ['83-5=78']
Exploring Operation: 73+78=151, Resulting Numbers: [30, 151]
Generated Node #0,4,0: 28:[30, 151] Operation: 73+78=151
Exploring Operation: 78-30=48, Resulting Numbers: [73, 48]
Generated Node #0,4,1: 28:[73, 48] Operation: 78-30=48
Exploring Operation: 73+30=103, Resulting Numbers: [78, 103]
Generated Node #0,4,2: 28:[78, 103] Operation: 73+30=103
Exploring Operation: 73-30=43, Resulting Numbers: [78, 43]
Generated Node #0,4,3: 28:[78, 43] Operation: 73-30=43
Exploring Operation: 78-73=5, Resulting Numbers: [30, 5]
Generated Node #0,4,4: 28:[30, 5] Operation: 78-73=5
Moving to Node #0,3,1
Current State: 28:[30, 2], Operations: ['83-73=10', '10/5=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,28 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,28 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[83, 73, 30, 5], Operations: []
Exploring Operation: 83-73=10, Resulting Numbers: [30, 5, 10]
Generated Node #0,3: 28:[30, 5, 10] Operation: 83-73=10
Moving to Node #0,3
Current State: 28:[30, 5, 10], Operations: ['83-73=10']
Exploring Operation: 10/5=2, Resulting Numbers: [30, 2]
Generated Node #0,3,1: 28:[30, 2] Operation: 10/5=2
Moving to Node #0,3,1
Current State: 28:[30, 2], Operations: ['83-73=10', '10/5=2']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.939236 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.