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 |
|---|---|---|---|---|---|---|---|---|
[
9,
6,
7,
24
] | 36 | [
"9-7=2",
"24-6=18",
"2*18=36"
] | Current State: 36:[9, 6, 7, 24], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [6, 24, 2]
Generated Node #2: [6, 24, 2] from Operation: 9-7=2
Current State: 36:[6, 24, 2], Operations: ['9-7=2']
Exploring Operation: 24-6=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 24-6=18
Current State: 36:[2, 18], Operations: ['9-7=2', '24-6=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 6, 7, 24], Operations: []
Exploring Operation: 24/6=4, Resulting Numbers: [9, 7, 4]
Generated Node #0,0: 36:[9, 7, 4] Operation: 24/6=4
Exploring Operation: 24-7=17, Resulting Numbers: [9, 6, 17]
Generated Node #0,1: 36:[9, 6, 17] Operation: 24-7=17
Exploring Operation: 24-6=18, Resulting Numbers: [9, 7, 18]
Generated Node #0,2: 36:[9, 7, 18] Operation: 24-6=18
Moving to Node #0,0
Current State: 36:[9, 7, 4], Operations: ['24/6=4']
Exploring Operation: 9-7=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 36:[4, 2] Operation: 9-7=2
Exploring Operation: 9*4=36, Resulting Numbers: [7, 36]
Generated Node #0,0,1: 36:[7, 36] Operation: 9*4=36
Exploring Operation: 7-4=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 36:[9, 3] Operation: 7-4=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[4, 2], Operations: ['24/6=4', '9-7=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[9, 3], Operations: ['24/6=4', '7-4=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[7, 36], Operations: ['24/6=4', '9*4=36']
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,36 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: 36:[9, 6, 17], Operations: ['24-7=17']
Exploring Operation: 9-6=3, Resulting Numbers: [17, 3]
Generated Node #0,1,0: 36:[17, 3] Operation: 9-6=3
Exploring Operation: 17-9=8, Resulting Numbers: [6, 8]
Generated Node #0,1,1: 36:[6, 8] Operation: 17-9=8
Exploring Operation: 17-6=11, Resulting Numbers: [9, 11]
Generated Node #0,1,2: 36:[9, 11] Operation: 17-6=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[17, 3], Operations: ['24-7=17', '9-6=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[6, 8], Operations: ['24-7=17', '17-9=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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,2
Current State: 36:[9, 11], Operations: ['24-7=17', '17-6=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,36 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: 36:[9, 7, 18], Operations: ['24-6=18']
Exploring Operation: 18/9=2, Resulting Numbers: [7, 2]
Generated Node #0,2,0: 36:[7, 2] Operation: 18/9=2
Exploring Operation: 9-7=2, Resulting Numbers: [18, 2]
Generated Node #0,2,1: 36:[18, 2] Operation: 9-7=2
Exploring Operation: 18-9=9, Resulting Numbers: [7, 9]
Generated Node #0,2,2: 36:[7, 9] Operation: 18-9=9
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[18, 2], Operations: ['24-6=18', '9-7=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[9, 6, 7, 24], Operations: []
Exploring Operation: 24-6=18, Resulting Numbers: [9, 7, 18]
Generated Node #0,2: 36:[9, 7, 18] Operation: 24-6=18
Moving to Node #0,2
Current State: 36:[9, 7, 18], Operations: ['24-6=18']
Exploring Operation: 9-7=2, Resulting Numbers: [18, 2]
Generated Node #0,2,1: 36:[18, 2] Operation: 9-7=2
Moving to Node #0,2,1
Current State: 36:[18, 2], Operations: ['24-6=18', '9-7=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
52,
75,
7,
68
] | 93 | [
"75-52=23",
"7*23=161",
"161-68=93"
] | Current State: 93:[52, 75, 7, 68], Operations: []
Exploring Operation: 75-52=23, Resulting Numbers: [7, 68, 23]
Generated Node #2: [7, 68, 23] from Operation: 75-52=23
Current State: 93:[7, 68, 23], Operations: ['75-52=23']
Exploring Operation: 7*23=161, Resulting Numbers: [68, 161]
Generated Node #3: [68, 161] from Operation: 7*23=161
Current State: 93:[68, 161], Operations: ['75-52=23', '7*23=161']
Exploring Operation: 161-68=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[52, 75, 7, 68], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [52, 7, 7]
Generated Node #0,0: 93:[52, 7, 7] Operation: 75-68=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[52, 7, 7], Operations: ['75-68=7']
Exploring Operation: 52-7=45, Resulting Numbers: [7, 45]
Generated Node #0,0,0: 93:[7, 45] Operation: 52-7=45
Moving to Node #0,0,0
Current State: 93:[7, 45], Operations: ['75-68=7', '52-7=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
77,
49,
48,
66
] | 11 | [
"77-66=11",
"49-48=1",
"11*1=11"
] | Current State: 11:[77, 49, 48, 66], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [49, 48, 11]
Generated Node #2: [49, 48, 11] from Operation: 77-66=11
Current State: 11:[49, 48, 11], Operations: ['77-66=11']
Exploring Operation: 49-48=1, Resulting Numbers: [11, 1]
Generated Node #3: [11, 1] from Operation: 49-48=1
Current State: 11:[11, 1], Operations: ['77-66=11', '49-48=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[77, 49, 48, 66], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [49, 48, 11]
Generated Node #0,0: 11:[49, 48, 11] Operation: 77-66=11
Moving to Node #0,0
Current State: 11:[49, 48, 11], Operations: ['77-66=11']
Exploring Operation: 49-48=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 11:[11, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[11, 1], Operations: ['77-66=11', '49-48=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[77, 49, 48, 66], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [49, 48, 11]
Generated Node #0,0: 11:[49, 48, 11] Operation: 77-66=11
Moving to Node #0,0
Current State: 11:[49, 48, 11], Operations: ['77-66=11']
Exploring Operation: 49-48=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 11:[11, 1] Operation: 49-48=1
Moving to Node #0,0,0
Current State: 11:[11, 1], Operations: ['77-66=11', '49-48=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
62,
78,
9,
69
] | 63 | [
"78-9=69",
"69/69=1",
"62+1=63"
] | Current State: 63:[62, 78, 9, 69], Operations: []
Exploring Operation: 78-9=69, Resulting Numbers: [62, 69, 69]
Generated Node #2: [62, 69, 69] from Operation: 78-9=69
Current State: 63:[62, 69, 69], Operations: ['78-9=69']
Exploring Operation: 69/69=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 69/69=1
Current State: 63:[62, 1], Operations: ['78-9=69', '69/69=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[62, 78, 9, 69], Operations: []
Exploring Operation: 78-9=69, Resulting Numbers: [62, 69, 69]
Generated Node #0,0: 63:[62, 69, 69] Operation: 78-9=69
Exploring Operation: 78-62=16, Resulting Numbers: [9, 69, 16]
Generated Node #0,1: 63:[9, 69, 16] Operation: 78-62=16
Exploring Operation: 69-62=7, Resulting Numbers: [78, 9, 7]
Generated Node #0,2: 63:[78, 9, 7] Operation: 69-62=7
Exploring Operation: 69-9=60, Resulting Numbers: [62, 78, 60]
Generated Node #0,3: 63:[62, 78, 60] Operation: 69-9=60
Exploring Operation: 78-69=9, Resulting Numbers: [62, 9, 9]
Generated Node #0,4: 63:[62, 9, 9] Operation: 78-69=9
Start Sub Search at level 1: Moving to Node #0,4
Current State: 63:[62, 9, 9], Operations: ['78-69=9']
Exploring Operation: 62+9=71, Resulting Numbers: [9, 71]
Generated Node #0,4,0: 63:[9, 71] Operation: 62+9=71
Exploring Operation: 62+9=71, Resulting Numbers: [9, 71]
Generated Node #0,4,1: 63:[9, 71] Operation: 62+9=71
Exploring Operation: 9-9=0, Resulting Numbers: [62, 0]
Generated Node #0,4,2: 63:[62, 0] Operation: 9-9=0
Exploring Operation: 9+9=18, Resulting Numbers: [62, 18]
Generated Node #0,4,3: 63:[62, 18] Operation: 9+9=18
Exploring Operation: 9/9=1, Resulting Numbers: [62, 1]
Generated Node #0,4,4: 63:[62, 1] Operation: 9/9=1
Moving to Node #0,4,4
Current State: 63:[62, 1], Operations: ['78-69=9', '9/9=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 62*1=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[62, 78, 9, 69], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [62, 9, 9]
Generated Node #0,4: 63:[62, 9, 9] Operation: 78-69=9
Moving to Node #0,4
Current State: 63:[62, 9, 9], Operations: ['78-69=9']
Exploring Operation: 9/9=1, Resulting Numbers: [62, 1]
Generated Node #0,4,4: 63:[62, 1] Operation: 9/9=1
Moving to Node #0,4,4
Current State: 63:[62, 1], Operations: ['78-69=9', '9/9=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
44,
24,
65,
50
] | 69 | [
"50-44=6",
"24/6=4",
"65+4=69"
] | Current State: 69:[44, 24, 65, 50], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [24, 65, 6]
Generated Node #2: [24, 65, 6] from Operation: 50-44=6
Current State: 69:[24, 65, 6], Operations: ['50-44=6']
Exploring Operation: 24/6=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 24/6=4
Current State: 69:[65, 4], Operations: ['50-44=6', '24/6=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[44, 24, 65, 50], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [24, 65, 6]
Generated Node #0,0: 69:[24, 65, 6] Operation: 50-44=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[24, 65, 6], Operations: ['50-44=6']
Exploring Operation: 65+6=71, Resulting Numbers: [24, 71]
Generated Node #0,0,0: 69:[24, 71] Operation: 65+6=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[24, 71], Operations: ['50-44=6', '65+6=71']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
10,
80,
8
] | 70 | [
"80-24=56",
"10*56=560",
"560/8=70"
] | Current State: 70:[24, 10, 80, 8], Operations: []
Exploring Operation: 80-24=56, Resulting Numbers: [10, 8, 56]
Generated Node #2: [10, 8, 56] from Operation: 80-24=56
Current State: 70:[10, 8, 56], Operations: ['80-24=56']
Exploring Operation: 10*56=560, Resulting Numbers: [8, 560]
Generated Node #3: [8, 560] from Operation: 10*56=560
Current State: 70:[8, 560], Operations: ['80-24=56', '10*56=560']
Exploring Operation: 560/8=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[24, 10, 80, 8], Operations: []
Exploring Operation: 80-10=70, Resulting Numbers: [24, 8, 70]
Generated Node #0,0: 70:[24, 8, 70] Operation: 80-10=70
Exploring Operation: 80/8=10, Resulting Numbers: [24, 10, 10]
Generated Node #0,1: 70:[24, 10, 10] Operation: 80/8=10
Exploring Operation: 24-10=14, Resulting Numbers: [80, 8, 14]
Generated Node #0,2: 70:[80, 8, 14] Operation: 24-10=14
Exploring Operation: 24/8=3, Resulting Numbers: [10, 80, 3]
Generated Node #0,3: 70:[10, 80, 3] Operation: 24/8=3
Exploring Operation: 24+10=34, Resulting Numbers: [80, 8, 34]
Generated Node #0,4: 70:[80, 8, 34] Operation: 24+10=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[24, 10, 10], Operations: ['80/8=10']
Exploring Operation: 24+10=34, Resulting Numbers: [10, 34]
Generated Node #0,1,0: 70:[10, 34] Operation: 24+10=34
Exploring Operation: 10/10=1, Resulting Numbers: [24, 1]
Generated Node #0,1,1: 70:[24, 1] Operation: 10/10=1
Exploring Operation: 24+10=34, Resulting Numbers: [10, 34]
Generated Node #0,1,2: 70:[10, 34] Operation: 24+10=34
Exploring Operation: 24-10=14, Resulting Numbers: [10, 14]
Generated Node #0,1,3: 70:[10, 14] Operation: 24-10=14
Exploring Operation: 24-10=14, Resulting Numbers: [10, 14]
Generated Node #0,1,4: 70:[10, 14] Operation: 24-10=14
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 70:[10, 14], Operations: ['80/8=10', '24-10=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 70:[10, 14], Operations: ['80/8=10', '24-10=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 70:[10, 34], Operations: ['80/8=10', '24+10=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,70 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 70:[10, 34], Operations: ['80/8=10', '24+10=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 70:[24, 1], Operations: ['80/8=10', '10/10=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[24, 8, 70], Operations: ['80-10=70']
Exploring Operation: 24/8=3, Resulting Numbers: [70, 3]
Generated Node #0,0,0: 70:[70, 3] Operation: 24/8=3
Exploring Operation: 24+8=32, Resulting Numbers: [70, 32]
Generated Node #0,0,1: 70:[70, 32] Operation: 24+8=32
Exploring Operation: 70-24=46, Resulting Numbers: [8, 46]
Generated Node #0,0,2: 70:[8, 46] Operation: 70-24=46
Exploring Operation: 24-8=16, Resulting Numbers: [70, 16]
Generated Node #0,0,3: 70:[70, 16] Operation: 24-8=16
Exploring Operation: 8+70=78, Resulting Numbers: [24, 78]
Generated Node #0,0,4: 70:[24, 78] Operation: 8+70=78
Moving to Node #0,0,0
Current State: 70:[70, 3], Operations: ['80-10=70', '24/8=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,70 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[70, 16], Operations: ['80-10=70', '24-8=16']
Exploring Operation: 70+16=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 70*16=1120, Resulting Numbers: [1120]
1120,70 unequal: No Solution
Exploring Operation: 70-16=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[70, 32], Operations: ['80-10=70', '24+8=32']
Exploring Operation: 70*32=2240, Resulting Numbers: [2240]
2240,70 unequal: No Solution
Exploring Operation: 70+32=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[8, 46], Operations: ['80-10=70', '70-24=46']
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,70 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[24, 78], Operations: ['80-10=70', '8+70=78']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,70 unequal: No Solution
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[80, 8, 14], Operations: ['24-10=14']
Exploring Operation: 14-8=6, Resulting Numbers: [80, 6]
Generated Node #0,2,0: 70:[80, 6] Operation: 14-8=6
Exploring Operation: 80/8=10, Resulting Numbers: [14, 10]
Generated Node #0,2,1: 70:[14, 10] Operation: 80/8=10
Exploring Operation: 80+8=88, Resulting Numbers: [14, 88]
Generated Node #0,2,2: 70:[14, 88] Operation: 80+8=88
Exploring Operation: 80-14=66, Resulting Numbers: [8, 66]
Generated Node #0,2,3: 70:[8, 66] Operation: 80-14=66
Exploring Operation: 80-8=72, Resulting Numbers: [14, 72]
Generated Node #0,2,4: 70:[14, 72] Operation: 80-8=72
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[14, 10], Operations: ['24-10=14', '80/8=10']
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 70:[14, 72], Operations: ['24-10=14', '80-8=72']
Exploring Operation: 14*72=1008, Resulting Numbers: [1008]
1008,70 unequal: No Solution
Exploring Operation: 14+72=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[8, 66], Operations: ['24-10=14', '80-14=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[80, 6], Operations: ['24-10=14', '14-8=6']
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 80+6=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Exploring Operation: 80*6=480, Resulting Numbers: [480]
480,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[14, 88], Operations: ['24-10=14', '80+8=88']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,70 unequal: No Solution
Exploring Operation: 14+88=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 14*88=1232, Resulting Numbers: [1232]
1232,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[10, 80, 3], Operations: ['24/8=3']
Exploring Operation: 80-10=70, Resulting Numbers: [3, 70]
Generated Node #0,3,0: 70:[3, 70] Operation: 80-10=70
Exploring Operation: 80-3=77, Resulting Numbers: [10, 77]
Generated Node #0,3,1: 70:[10, 77] Operation: 80-3=77
Exploring Operation: 10-3=7, Resulting Numbers: [80, 7]
Generated Node #0,3,2: 70:[80, 7] Operation: 10-3=7
Exploring Operation: 10+3=13, Resulting Numbers: [80, 13]
Generated Node #0,3,3: 70:[80, 13] Operation: 10+3=13
Exploring Operation: 80/10=8, Resulting Numbers: [3, 8]
Generated Node #0,3,4: 70:[3, 8] Operation: 80/10=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[3, 70], Operations: ['24/8=3', '80-10=70']
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,70 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 70:[3, 8], Operations: ['24/8=3', '80/10=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[10, 77], Operations: ['24/8=3', '80-3=77']
Exploring Operation: 10+77=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 10*77=770, Resulting Numbers: [770]
770,70 unequal: No Solution
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[80, 7], Operations: ['24/8=3', '10-3=7']
Exploring Operation: 80+7=87, Resulting Numbers: [87]
87,70 unequal: No Solution
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,70 unequal: No Solution
Exploring Operation: 80*7=560, Resulting Numbers: [560]
560,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[80, 13], Operations: ['24/8=3', '10+3=13']
Exploring Operation: 80-13=67, Resulting Numbers: [67]
67,70 unequal: No Solution
Exploring Operation: 80+13=93, Resulting Numbers: [93]
93,70 unequal: No Solution
Exploring Operation: 80*13=1040, Resulting Numbers: [1040]
1040,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 70:[80, 8, 34], Operations: ['24+10=34']
Exploring Operation: 80+8=88, Resulting Numbers: [34, 88]
Generated Node #0,4,0: 70:[34, 88] Operation: 80+8=88
Exploring Operation: 8+34=42, Resulting Numbers: [80, 42]
Generated Node #0,4,1: 70:[80, 42] Operation: 8+34=42
Exploring Operation: 80-8=72, Resulting Numbers: [34, 72]
Generated Node #0,4,2: 70:[34, 72] Operation: 80-8=72
Exploring Operation: 80-34=46, Resulting Numbers: [8, 46]
Generated Node #0,4,3: 70:[8, 46] Operation: 80-34=46
Exploring Operation: 80/8=10, Resulting Numbers: [34, 10]
Generated Node #0,4,4: 70:[34, 10] Operation: 80/8=10
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 70:[34, 10], Operations: ['24+10=34', '80/8=10']
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,70 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,70 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 70:[34, 72], Operations: ['24+10=34', '80-8=72']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,70 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,70 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 70:[8, 46], Operations: ['24+10=34', '80-34=46']
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,70 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 70:[80, 42], Operations: ['24+10=34', '8+34=42']
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,70 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,70 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 70:[34, 88], Operations: ['24+10=34', '80+8=88']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,70 unequal: No Solution
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,70 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
96,
28,
65,
65
] | 67 | [
"96-28=68",
"65/65=1",
"68-1=67"
] | Current State: 67:[96, 28, 65, 65], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [65, 65, 68]
Generated Node #2: [65, 65, 68] from Operation: 96-28=68
Current State: 67:[65, 65, 68], Operations: ['96-28=68']
Exploring Operation: 65/65=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 65/65=1
Current State: 67:[68, 1], Operations: ['96-28=68', '65/65=1']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[96, 28, 65, 65], Operations: []
Exploring Operation: 28+65=93, Resulting Numbers: [96, 65, 93]
Generated Node #0,0: 67:[96, 65, 93] Operation: 28+65=93
Exploring Operation: 28+65=93, Resulting Numbers: [96, 65, 93]
Generated Node #0,1: 67:[96, 65, 93] Operation: 28+65=93
Exploring Operation: 96-28=68, Resulting Numbers: [65, 65, 68]
Generated Node #0,2: 67:[65, 65, 68] Operation: 96-28=68
Exploring Operation: 96+28=124, Resulting Numbers: [65, 65, 124]
Generated Node #0,3: 67:[65, 65, 124] Operation: 96+28=124
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[65, 65, 68], Operations: ['96-28=68']
Exploring Operation: 68-65=3, Resulting Numbers: [65, 3]
Generated Node #0,2,0: 67:[65, 3] Operation: 68-65=3
Exploring Operation: 65/65=1, Resulting Numbers: [68, 1]
Generated Node #0,2,1: 67:[68, 1] Operation: 65/65=1
Exploring Operation: 65+65=130, Resulting Numbers: [68, 130]
Generated Node #0,2,2: 67:[68, 130] Operation: 65+65=130
Exploring Operation: 68-65=3, Resulting Numbers: [65, 3]
Generated Node #0,2,3: 67:[65, 3] Operation: 68-65=3
Moving to Node #0,2,2
Current State: 67:[68, 130], Operations: ['96-28=68', '65+65=130']
Exploring Operation: 130-68=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 68+130=198, Resulting Numbers: [198]
198,67 unequal: No Solution
Exploring Operation: 68*130=8840, Resulting Numbers: [8840]
8840,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[65, 3], Operations: ['96-28=68', '68-65=3']
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,67 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[65, 3], Operations: ['96-28=68', '68-65=3']
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,67 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[68, 1], Operations: ['96-28=68', '65/65=1']
Exploring Operation: 68*1=68, Resulting Numbers: [68]
68,67 unequal: No Solution
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[96, 28, 65, 65], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [65, 65, 68]
Generated Node #0,2: 67:[65, 65, 68] Operation: 96-28=68
Moving to Node #0,2
Current State: 67:[65, 65, 68], Operations: ['96-28=68']
Exploring Operation: 65/65=1, Resulting Numbers: [68, 1]
Generated Node #0,2,1: 67:[68, 1] Operation: 65/65=1
Moving to Node #0,2,1
Current State: 67:[68, 1], Operations: ['96-28=68', '65/65=1']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
36,
6,
15,
84
] | 99 | [
"36-6=30",
"84-15=69",
"30+69=99"
] | Current State: 99:[36, 6, 15, 84], Operations: []
Exploring Operation: 36-6=30, Resulting Numbers: [15, 84, 30]
Generated Node #2: [15, 84, 30] from Operation: 36-6=30
Current State: 99:[15, 84, 30], Operations: ['36-6=30']
Exploring Operation: 84-15=69, Resulting Numbers: [30, 69]
Generated Node #3: [30, 69] from Operation: 84-15=69
Current State: 99:[30, 69], Operations: ['36-6=30', '84-15=69']
Exploring Operation: 30+69=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[36, 6, 15, 84], Operations: []
Exploring Operation: 15+84=99, Resulting Numbers: [36, 6, 99]
Generated Node #0,0: 99:[36, 6, 99] Operation: 15+84=99
Exploring Operation: 36-6=30, Resulting Numbers: [15, 84, 30]
Generated Node #0,1: 99:[15, 84, 30] Operation: 36-6=30
Exploring Operation: 84/6=14, Resulting Numbers: [36, 15, 14]
Generated Node #0,2: 99:[36, 15, 14] Operation: 84/6=14
Exploring Operation: 15-6=9, Resulting Numbers: [36, 84, 9]
Generated Node #0,3: 99:[36, 84, 9] Operation: 15-6=9
Exploring Operation: 6+84=90, Resulting Numbers: [36, 15, 90]
Generated Node #0,4: 99:[36, 15, 90] Operation: 6+84=90
Moving to Node #0,0
Current State: 99:[36, 6, 99], Operations: ['15+84=99']
Exploring Operation: 99-6=93, Resulting Numbers: [36, 93]
Generated Node #0,0,0: 99:[36, 93] Operation: 99-6=93
Exploring Operation: 36+6=42, Resulting Numbers: [99, 42]
Generated Node #0,0,1: 99:[99, 42] Operation: 36+6=42
Exploring Operation: 36-6=30, Resulting Numbers: [99, 30]
Generated Node #0,0,2: 99:[99, 30] Operation: 36-6=30
Exploring Operation: 36/6=6, Resulting Numbers: [99, 6]
Generated Node #0,0,3: 99:[99, 6] Operation: 36/6=6
Exploring Operation: 6+99=105, Resulting Numbers: [36, 105]
Generated Node #0,0,4: 99:[36, 105] Operation: 6+99=105
Moving to Node #0,2
Current State: 99:[36, 15, 14], Operations: ['84/6=14']
Exploring Operation: 36+15=51, Resulting Numbers: [14, 51]
Generated Node #0,2,0: 99:[14, 51] Operation: 36+15=51
Exploring Operation: 15-14=1, Resulting Numbers: [36, 1]
Generated Node #0,2,1: 99:[36, 1] Operation: 15-14=1
Exploring Operation: 15+14=29, Resulting Numbers: [36, 29]
Generated Node #0,2,2: 99:[36, 29] Operation: 15+14=29
Exploring Operation: 36-14=22, Resulting Numbers: [15, 22]
Generated Node #0,2,3: 99:[15, 22] Operation: 36-14=22
Exploring Operation: 36-15=21, Resulting Numbers: [14, 21]
Generated Node #0,2,4: 99:[14, 21] Operation: 36-15=21
Moving to Node #0,4
Current State: 99:[36, 15, 90], Operations: ['6+84=90']
Exploring Operation: 15+90=105, Resulting Numbers: [36, 105]
Generated Node #0,4,0: 99:[36, 105] Operation: 15+90=105
Exploring Operation: 90-36=54, Resulting Numbers: [15, 54]
Generated Node #0,4,1: 99:[15, 54] Operation: 90-36=54
Exploring Operation: 90/15=6, Resulting Numbers: [36, 6]
Generated Node #0,4,2: 99:[36, 6] Operation: 90/15=6
Exploring Operation: 36-15=21, Resulting Numbers: [90, 21]
Generated Node #0,4,3: 99:[90, 21] Operation: 36-15=21
Exploring Operation: 36+15=51, Resulting Numbers: [90, 51]
Generated Node #0,4,4: 99:[90, 51] Operation: 36+15=51
Moving to Node #0,3
Current State: 99:[36, 84, 9], Operations: ['15-6=9']
Exploring Operation: 36-9=27, Resulting Numbers: [84, 27]
Generated Node #0,3,0: 99:[84, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [84, 4]
Generated Node #0,3,1: 99:[84, 4] Operation: 36/9=4
Exploring Operation: 84-36=48, Resulting Numbers: [9, 48]
Generated Node #0,3,2: 99:[9, 48] Operation: 84-36=48
Exploring Operation: 36+84=120, Resulting Numbers: [9, 120]
Generated Node #0,3,3: 99:[9, 120] Operation: 36+84=120
Exploring Operation: 84+9=93, Resulting Numbers: [36, 93]
Generated Node #0,3,4: 99:[36, 93] Operation: 84+9=93
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 99:[36, 93], Operations: ['15-6=9', '84+9=93']
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 36+93=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 36*93=3348, Resulting Numbers: [3348]
3348,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,3,2
Current State: 99:[9, 48], Operations: ['15-6=9', '84-36=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Exploring Operation: 9*48=432, Resulting Numbers: [432]
432,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,3,1
Current State: 99:[84, 4], Operations: ['15-6=9', '36/9=4']
Exploring Operation: 84+4=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Exploring Operation: 84/4=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Exploring Operation: 84*4=336, Resulting Numbers: [336]
336,99 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,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,3,0
Current State: 99:[84, 27], Operations: ['15-6=9', '36-9=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,99 unequal: No Solution
Exploring Operation: 84+27=111, Resulting Numbers: [111]
111,99 unequal: No Solution
Exploring Operation: 84*27=2268, Resulting Numbers: [2268]
2268,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,3,3
Current State: 99:[9, 120], Operations: ['15-6=9', '36+84=120']
Exploring Operation: 9+120=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 9*120=1080, Resulting Numbers: [1080]
1080,99 unequal: No Solution
Exploring Operation: 120-9=111, Resulting Numbers: [111]
111,99 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: 99:[15, 84, 30], Operations: ['36-6=30']
Exploring Operation: 15+84=99, Resulting Numbers: [30, 99]
Generated Node #0,1,0: 99:[30, 99] Operation: 15+84=99
Exploring Operation: 84-30=54, Resulting Numbers: [15, 54]
Generated Node #0,1,1: 99:[15, 54] Operation: 84-30=54
Exploring Operation: 30-15=15, Resulting Numbers: [84, 15]
Generated Node #0,1,2: 99:[84, 15] Operation: 30-15=15
Exploring Operation: 84+30=114, Resulting Numbers: [15, 114]
Generated Node #0,1,3: 99:[15, 114] Operation: 84+30=114
Exploring Operation: 30/15=2, Resulting Numbers: [84, 2]
Generated Node #0,1,4: 99:[84, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[30, 99], Operations: ['36-6=30', '15+84=99']
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,99 unequal: No Solution
Exploring Operation: 30+99=129, Resulting Numbers: [129]
129,99 unequal: No Solution
Exploring Operation: 30*99=2970, Resulting Numbers: [2970]
2970,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,4
Current State: 99:[84, 2], Operations: ['36-6=30', '30/15=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,99 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,99 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,99 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 99:[84, 15], Operations: ['36-6=30', '30-15=15']
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,99 unequal: No Solution
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[36, 6, 15, 84], Operations: []
Exploring Operation: 36-6=30, Resulting Numbers: [15, 84, 30]
Generated Node #0,1: 99:[15, 84, 30] Operation: 36-6=30
Moving to Node #0,1
Current State: 99:[15, 84, 30], Operations: ['36-6=30']
Exploring Operation: 30-15=15, Resulting Numbers: [84, 15]
Generated Node #0,1,2: 99:[84, 15] Operation: 30-15=15
Moving to Node #0,1,2
Current State: 99:[84, 15], Operations: ['36-6=30', '30-15=15']
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
55,
32,
63,
43
] | 43 | [
"55-32=23",
"63-43=20",
"23+20=43"
] | Current State: 43:[55, 32, 63, 43], Operations: []
Exploring Operation: 55-32=23, Resulting Numbers: [63, 43, 23]
Generated Node #2: [63, 43, 23] from Operation: 55-32=23
Current State: 43:[63, 43, 23], Operations: ['55-32=23']
Exploring Operation: 63-43=20, Resulting Numbers: [23, 20]
Generated Node #3: [23, 20] from Operation: 63-43=20
Current State: 43:[23, 20], Operations: ['55-32=23', '63-43=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[55, 32, 63, 43], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [32, 43, 8]
Generated Node #0,0: 43:[32, 43, 8] Operation: 63-55=8
Exploring Operation: 55-32=23, Resulting Numbers: [63, 43, 23]
Generated Node #0,1: 43:[63, 43, 23] Operation: 55-32=23
Exploring Operation: 63-32=31, Resulting Numbers: [55, 43, 31]
Generated Node #0,2: 43:[55, 43, 31] Operation: 63-32=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[55, 43, 31], Operations: ['63-32=31']
Exploring Operation: 55+31=86, Resulting Numbers: [43, 86]
Generated Node #0,2,0: 43:[43, 86] Operation: 55+31=86
Exploring Operation: 55-31=24, Resulting Numbers: [43, 24]
Generated Node #0,2,1: 43:[43, 24] Operation: 55-31=24
Exploring Operation: 55-43=12, Resulting Numbers: [31, 12]
Generated Node #0,2,2: 43:[31, 12] Operation: 55-43=12
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[43, 24], Operations: ['63-32=31', '55-31=24']
Exploring Operation: 43+24=67, Resulting Numbers: [67]
67,43 unequal: No Solution
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 43*24=1032, Resulting Numbers: [1032]
1032,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,2,0
Current State: 43:[43, 86], Operations: ['63-32=31', '55+31=86']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[55, 32, 63, 43], Operations: []
Exploring Operation: 63-32=31, Resulting Numbers: [55, 43, 31]
Generated Node #0,2: 43:[55, 43, 31] Operation: 63-32=31
Moving to Node #0,2
Current State: 43:[55, 43, 31], Operations: ['63-32=31']
Exploring Operation: 55+31=86, Resulting Numbers: [43, 86]
Generated Node #0,2,0: 43:[43, 86] Operation: 55+31=86
Moving to Node #0,2,0
Current State: 43:[43, 86], Operations: ['63-32=31', '55+31=86']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
6,
14,
94,
15
] | 71 | [
"14-6=8",
"94-15=79",
"79-8=71"
] | Current State: 71:[6, 14, 94, 15], Operations: []
Exploring Operation: 14-6=8, Resulting Numbers: [94, 15, 8]
Generated Node #2: [94, 15, 8] from Operation: 14-6=8
Current State: 71:[94, 15, 8], Operations: ['14-6=8']
Exploring Operation: 94-15=79, Resulting Numbers: [8, 79]
Generated Node #3: [8, 79] from Operation: 94-15=79
Current State: 71:[8, 79], Operations: ['14-6=8', '94-15=79']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[6, 14, 94, 15], Operations: []
Exploring Operation: 94-6=88, Resulting Numbers: [14, 15, 88]
Generated Node #0,0: 71:[14, 15, 88] Operation: 94-6=88
Exploring Operation: 6+15=21, Resulting Numbers: [14, 94, 21]
Generated Node #0,1: 71:[14, 94, 21] Operation: 6+15=21
Exploring Operation: 6*15=90, Resulting Numbers: [14, 94, 90]
Generated Node #0,2: 71:[14, 94, 90] Operation: 6*15=90
Exploring Operation: 6*14=84, Resulting Numbers: [94, 15, 84]
Generated Node #0,3: 71:[94, 15, 84] Operation: 6*14=84
Exploring Operation: 6+14=20, Resulting Numbers: [94, 15, 20]
Generated Node #0,4: 71:[94, 15, 20] Operation: 6+14=20
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[94, 15, 84], Operations: ['6*14=84']
Exploring Operation: 94-84=10, Resulting Numbers: [15, 10]
Generated Node #0,3,0: 71:[15, 10] Operation: 94-84=10
Exploring Operation: 94+15=109, Resulting Numbers: [84, 109]
Generated Node #0,3,1: 71:[84, 109] Operation: 94+15=109
Exploring Operation: 15+84=99, Resulting Numbers: [94, 99]
Generated Node #0,3,2: 71:[94, 99] Operation: 15+84=99
Exploring Operation: 94-15=79, Resulting Numbers: [84, 79]
Generated Node #0,3,3: 71:[84, 79] Operation: 94-15=79
Exploring Operation: 84-15=69, Resulting Numbers: [94, 69]
Generated Node #0,3,4: 71:[94, 69] Operation: 84-15=69
Moving to Node #0,3,3
Current State: 71:[84, 79], Operations: ['6*14=84', '94-15=79']
Exploring Operation: 84-79=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 84+79=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 84*79=6636, Resulting Numbers: [6636]
6636,71 unequal: No Solution
Moving to Node #0,3,4
Current State: 71:[94, 69], Operations: ['6*14=84', '84-15=69']
Exploring Operation: 94*69=6486, Resulting Numbers: [6486]
6486,71 unequal: No Solution
Exploring Operation: 94+69=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[84, 109], Operations: ['6*14=84', '94+15=109']
Exploring Operation: 84*109=9156, Resulting Numbers: [9156]
9156,71 unequal: No Solution
Exploring Operation: 84+109=193, Resulting Numbers: [193]
193,71 unequal: No Solution
Exploring Operation: 109-84=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[94, 99], Operations: ['6*14=84', '15+84=99']
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,71 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[15, 10], Operations: ['6*14=84', '94-84=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[14, 94, 90], Operations: ['6*15=90']
Exploring Operation: 94-90=4, Resulting Numbers: [14, 4]
Generated Node #0,2,0: 71:[14, 4] Operation: 94-90=4
Exploring Operation: 14+90=104, Resulting Numbers: [94, 104]
Generated Node #0,2,1: 71:[94, 104] Operation: 14+90=104
Exploring Operation: 90-14=76, Resulting Numbers: [94, 76]
Generated Node #0,2,2: 71:[94, 76] Operation: 90-14=76
Exploring Operation: 94-14=80, Resulting Numbers: [90, 80]
Generated Node #0,2,3: 71:[90, 80] Operation: 94-14=80
Exploring Operation: 14+94=108, Resulting Numbers: [90, 108]
Generated Node #0,2,4: 71:[90, 108] Operation: 14+94=108
Moving to Node #0,2,2
Current State: 71:[94, 76], Operations: ['6*15=90', '90-14=76']
Exploring Operation: 94*76=7144, Resulting Numbers: [7144]
7144,71 unequal: No Solution
Exploring Operation: 94+76=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 94-76=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[90, 80], Operations: ['6*15=90', '94-14=80']
Exploring Operation: 90+80=170, Resulting Numbers: [170]
170,71 unequal: No Solution
Exploring Operation: 90-80=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 90*80=7200, Resulting Numbers: [7200]
7200,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[94, 104], Operations: ['6*15=90', '14+90=104']
Exploring Operation: 94*104=9776, Resulting Numbers: [9776]
9776,71 unequal: No Solution
Exploring Operation: 94+104=198, Resulting Numbers: [198]
198,71 unequal: No Solution
Exploring Operation: 104-94=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Moving to Node #0,2,4
Current State: 71:[90, 108], Operations: ['6*15=90', '14+94=108']
Exploring Operation: 90*108=9720, Resulting Numbers: [9720]
9720,71 unequal: No Solution
Exploring Operation: 108-90=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 90+108=198, Resulting Numbers: [198]
198,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[14, 4], Operations: ['6*15=90', '94-90=4']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,71 unequal: No Solution
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,71 unequal: No Solution
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,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:[14, 15, 88], Operations: ['94-6=88']
Exploring Operation: 14+15=29, Resulting Numbers: [88, 29]
Generated Node #0,0,0: 71:[88, 29] Operation: 14+15=29
Exploring Operation: 88-14=74, Resulting Numbers: [15, 74]
Generated Node #0,0,1: 71:[15, 74] Operation: 88-14=74
Exploring Operation: 88-15=73, Resulting Numbers: [14, 73]
Generated Node #0,0,2: 71:[14, 73] Operation: 88-15=73
Exploring Operation: 15-14=1, Resulting Numbers: [88, 1]
Generated Node #0,0,3: 71:[88, 1] Operation: 15-14=1
Exploring Operation: 14+88=102, Resulting Numbers: [15, 102]
Generated Node #0,0,4: 71:[15, 102] Operation: 14+88=102
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[88, 29], Operations: ['94-6=88', '14+15=29']
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,71 unequal: No Solution
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,71 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[15, 74], Operations: ['94-6=88', '88-14=74']
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,71 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[14, 73], Operations: ['94-6=88', '88-15=73']
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,71 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[88, 1], Operations: ['94-6=88', '15-14=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,71 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 71:[15, 102], Operations: ['94-6=88', '14+88=102']
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,71 unequal: No Solution
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[14, 94, 21], Operations: ['6+15=21']
Exploring Operation: 94-21=73, Resulting Numbers: [14, 73]
Generated Node #0,1,0: 71:[14, 73] Operation: 94-21=73
Exploring Operation: 14+94=108, Resulting Numbers: [21, 108]
Generated Node #0,1,1: 71:[21, 108] Operation: 14+94=108
Exploring Operation: 14+21=35, Resulting Numbers: [94, 35]
Generated Node #0,1,2: 71:[94, 35] Operation: 14+21=35
Exploring Operation: 21-14=7, Resulting Numbers: [94, 7]
Generated Node #0,1,3: 71:[94, 7] Operation: 21-14=7
Exploring Operation: 94-14=80, Resulting Numbers: [21, 80]
Generated Node #0,1,4: 71:[21, 80] Operation: 94-14=80
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[14, 73], Operations: ['6+15=21', '94-21=73']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,71 unequal: No Solution
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 71:[94, 35], Operations: ['6+15=21', '14+21=35']
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,71 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 71:[21, 80], Operations: ['6+15=21', '94-14=80']
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,71 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[21, 108], Operations: ['6+15=21', '14+94=108']
Exploring Operation: 21*108=2268, Resulting Numbers: [2268]
2268,71 unequal: No Solution
Exploring Operation: 108-21=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 21+108=129, Resulting Numbers: [129]
129,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[94, 7], Operations: ['6+15=21', '21-14=7']
Exploring Operation: 94*7=658, Resulting Numbers: [658]
658,71 unequal: No Solution
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 94+7=101, Resulting Numbers: [101]
101,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 71:[94, 15, 20], Operations: ['6+14=20']
Exploring Operation: 15+20=35, Resulting Numbers: [94, 35]
Generated Node #0,4,0: 71:[94, 35] Operation: 15+20=35
Exploring Operation: 94-20=74, Resulting Numbers: [15, 74]
Generated Node #0,4,1: 71:[15, 74] Operation: 94-20=74
Exploring Operation: 20-15=5, Resulting Numbers: [94, 5]
Generated Node #0,4,2: 71:[94, 5] Operation: 20-15=5
Exploring Operation: 94-15=79, Resulting Numbers: [20, 79]
Generated Node #0,4,3: 71:[20, 79] Operation: 94-15=79
Exploring Operation: 94+15=109, Resulting Numbers: [20, 109]
Generated Node #0,4,4: 71:[20, 109] Operation: 94+15=109
Moving to Node #0,4,0
Current State: 71:[94, 35], Operations: ['6+14=20', '15+20=35']
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,71 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[20, 79], Operations: ['6+14=20', '94-15=79']
Exploring Operation: 20*79=1580, Resulting Numbers: [1580]
1580,71 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 20+79=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[15, 74], Operations: ['6+14=20', '94-20=74']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 15+74=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 15*74=1110, Resulting Numbers: [1110]
1110,71 unequal: No Solution
Moving to Node #0,4,2
Current State: 71:[94, 5], Operations: ['6+14=20', '20-15=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[20, 109], Operations: ['6+14=20', '94+15=109']
Exploring Operation: 20*109=2180, Resulting Numbers: [2180]
2180,71 unequal: No Solution
Exploring Operation: 109-20=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 20+109=129, Resulting Numbers: [129]
129,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
53,
96,
57,
5
] | 59 | [
"53-5=48",
"96/48=2",
"57+2=59"
] | Current State: 59:[53, 96, 57, 5], Operations: []
Exploring Operation: 53-5=48, Resulting Numbers: [96, 57, 48]
Generated Node #2: [96, 57, 48] from Operation: 53-5=48
Current State: 59:[96, 57, 48], Operations: ['53-5=48']
Exploring Operation: 96/48=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 96/48=2
Current State: 59:[57, 2], Operations: ['53-5=48', '96/48=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[53, 96, 57, 5], Operations: []
Exploring Operation: 53+5=58, Resulting Numbers: [96, 57, 58]
Generated Node #0,0: 59:[96, 57, 58] Operation: 53+5=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[96, 57, 58], Operations: ['53+5=58']
Exploring Operation: 96-57=39, Resulting Numbers: [58, 39]
Generated Node #0,0,0: 59:[58, 39] Operation: 96-57=39
Moving to Node #0,0,0
Current State: 59:[58, 39], Operations: ['53+5=58', '96-57=39']
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
26,
57,
28
] | 89 | [
"26-22=4",
"57+28=85",
"4+85=89"
] | Current State: 89:[22, 26, 57, 28], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [57, 28, 4]
Generated Node #2: [57, 28, 4] from Operation: 26-22=4
Current State: 89:[57, 28, 4], Operations: ['26-22=4']
Exploring Operation: 57+28=85, Resulting Numbers: [4, 85]
Generated Node #3: [4, 85] from Operation: 57+28=85
Current State: 89:[4, 85], Operations: ['26-22=4', '57+28=85']
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[22, 26, 57, 28], Operations: []
Exploring Operation: 22+26=48, Resulting Numbers: [57, 28, 48]
Generated Node #0,0: 89:[57, 28, 48] Operation: 22+26=48
Exploring Operation: 22+57=79, Resulting Numbers: [26, 28, 79]
Generated Node #0,1: 89:[26, 28, 79] Operation: 22+57=79
Moving to Node #0,0
Current State: 89:[57, 28, 48], Operations: ['22+26=48']
Exploring Operation: 57+28=85, Resulting Numbers: [48, 85]
Generated Node #0,0,0: 89:[48, 85] Operation: 57+28=85
Exploring Operation: 28+48=76, Resulting Numbers: [57, 76]
Generated Node #0,0,1: 89:[57, 76] Operation: 28+48=76
Moving to Node #0,1
Current State: 89:[26, 28, 79], Operations: ['22+57=79']
Exploring Operation: 26+28=54, Resulting Numbers: [79, 54]
Generated Node #0,1,0: 89:[79, 54] Operation: 26+28=54
Exploring Operation: 26+79=105, Resulting Numbers: [28, 105]
Generated Node #0,1,1: 89:[28, 105] Operation: 26+79=105
Moving to Node #0,0,0
Current State: 89:[48, 85], Operations: ['22+26=48', '57+28=85']
Exploring Operation: 48+85=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[79, 54], Operations: ['22+57=79', '26+28=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[57, 76], Operations: ['22+26=48', '28+48=76']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[28, 105], Operations: ['22+57=79', '26+79=105']
Exploring Operation: 105-28=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 28+105=133, Resulting Numbers: [133]
133,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
4,
42,
29
] | 27 | [
"95+42=137",
"137-29=108",
"108/4=27"
] | Current State: 27:[95, 4, 42, 29], Operations: []
Exploring Operation: 95+42=137, Resulting Numbers: [4, 29, 137]
Generated Node #2: [4, 29, 137] from Operation: 95+42=137
Current State: 27:[4, 29, 137], Operations: ['95+42=137']
Exploring Operation: 137-29=108, Resulting Numbers: [4, 108]
Generated Node #3: [4, 108] from Operation: 137-29=108
Current State: 27:[4, 108], Operations: ['95+42=137', '137-29=108']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[95, 4, 42, 29], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [95, 4, 13]
Generated Node #0,0: 27:[95, 4, 13] Operation: 42-29=13
Exploring Operation: 95-29=66, Resulting Numbers: [4, 42, 66]
Generated Node #0,1: 27:[4, 42, 66] Operation: 95-29=66
Exploring Operation: 95-4=91, Resulting Numbers: [42, 29, 91]
Generated Node #0,2: 27:[42, 29, 91] Operation: 95-4=91
Exploring Operation: 95-42=53, Resulting Numbers: [4, 29, 53]
Generated Node #0,3: 27:[4, 29, 53] Operation: 95-42=53
Moving to Node #0,3
Current State: 27:[4, 29, 53], Operations: ['95-42=53']
Exploring Operation: 29-4=25, Resulting Numbers: [53, 25]
Generated Node #0,3,0: 27:[53, 25] Operation: 29-4=25
Exploring Operation: 53-4=49, Resulting Numbers: [29, 49]
Generated Node #0,3,1: 27:[29, 49] Operation: 53-4=49
Exploring Operation: 53-29=24, Resulting Numbers: [4, 24]
Generated Node #0,3,2: 27:[4, 24] Operation: 53-29=24
Exploring Operation: 4+29=33, Resulting Numbers: [53, 33]
Generated Node #0,3,3: 27:[53, 33] Operation: 4+29=33
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 27:[4, 24], Operations: ['95-42=53', '53-29=24']
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 24-4=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,3,1
Current State: 27:[29, 49], Operations: ['95-42=53', '53-4=49']
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,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,0
Current State: 27:[53, 25], Operations: ['95-42=53', '29-4=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,27 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,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:[53, 33], Operations: ['95-42=53', '4+29=33']
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,27 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,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:[4, 42, 66], Operations: ['95-29=66']
Exploring Operation: 66-4=62, Resulting Numbers: [42, 62]
Generated Node #0,1,0: 27:[42, 62] Operation: 66-4=62
Exploring Operation: 42-4=38, Resulting Numbers: [66, 38]
Generated Node #0,1,1: 27:[66, 38] Operation: 42-4=38
Exploring Operation: 66-42=24, Resulting Numbers: [4, 24]
Generated Node #0,1,2: 27:[4, 24] Operation: 66-42=24
Exploring Operation: 4+42=46, Resulting Numbers: [66, 46]
Generated Node #0,1,3: 27:[66, 46] Operation: 4+42=46
Moving to Node #0,0
Current State: 27:[95, 4, 13], Operations: ['42-29=13']
Exploring Operation: 95+4=99, Resulting Numbers: [13, 99]
Generated Node #0,0,0: 27:[13, 99] Operation: 95+4=99
Exploring Operation: 13-4=9, Resulting Numbers: [95, 9]
Generated Node #0,0,1: 27:[95, 9] Operation: 13-4=9
Exploring Operation: 95-4=91, Resulting Numbers: [13, 91]
Generated Node #0,0,2: 27:[13, 91] Operation: 95-4=91
Exploring Operation: 95-13=82, Resulting Numbers: [4, 82]
Generated Node #0,0,3: 27:[4, 82] Operation: 95-13=82
Moving to Node #0,2
Current State: 27:[42, 29, 91], Operations: ['95-4=91']
Exploring Operation: 91-42=49, Resulting Numbers: [29, 49]
Generated Node #0,2,0: 27:[29, 49] Operation: 91-42=49
Exploring Operation: 42+29=71, Resulting Numbers: [91, 71]
Generated Node #0,2,1: 27:[91, 71] Operation: 42+29=71
Exploring Operation: 91-29=62, Resulting Numbers: [42, 62]
Generated Node #0,2,2: 27:[42, 62] Operation: 91-29=62
Exploring Operation: 42-29=13, Resulting Numbers: [91, 13]
Generated Node #0,2,3: 27:[91, 13] Operation: 42-29=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 27:[29, 49], Operations: ['95-4=91', '91-42=49']
Exploring Operation: 29*49=1421, Resulting Numbers: [1421]
1421,27 unequal: No Solution
Exploring Operation: 29+49=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 49-29=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,2
Current State: 27:[42, 62], Operations: ['95-4=91', '91-29=62']
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,27 unequal: No Solution
Exploring Operation: 62-42=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,3
Current State: 27:[91, 13], Operations: ['95-4=91', '42-29=13']
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,27 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 91/13=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,2,1
Current State: 27:[91, 71], Operations: ['95-4=91', '42+29=71']
Exploring Operation: 91+71=162, Resulting Numbers: [162]
162,27 unequal: No Solution
Exploring Operation: 91*71=6461, Resulting Numbers: [6461]
6461,27 unequal: No Solution
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 27:[4, 24], Operations: ['95-29=66', '66-42=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,27 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[66, 38], Operations: ['95-29=66', '42-4=38']
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,27 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[42, 62], Operations: ['95-29=66', '66-4=62']
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,27 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[4, 82], Operations: ['42-29=13', '95-13=82']
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,27 unequal: No Solution
Moving to Node #0,1,3
Current State: 27:[66, 46], Operations: ['95-29=66', '4+42=46']
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,27 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[13, 91], Operations: ['42-29=13', '95-4=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[95, 9], Operations: ['42-29=13', '13-4=9']
Exploring Operation: 95+9=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 95-9=86, Resulting Numbers: [86]
86,27 unequal: No Solution
Exploring Operation: 95*9=855, Resulting Numbers: [855]
855,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[13, 99], Operations: ['42-29=13', '95+4=99']
Exploring Operation: 13+99=112, Resulting Numbers: [112]
112,27 unequal: No Solution
Exploring Operation: 13*99=1287, Resulting Numbers: [1287]
1287,27 unequal: No Solution
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,27 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
54,
22,
50,
52
] | 70 | [
"54-22=32",
"50+52=102",
"102-32=70"
] | Current State: 70:[54, 22, 50, 52], Operations: []
Exploring Operation: 54-22=32, Resulting Numbers: [50, 52, 32]
Generated Node #2: [50, 52, 32] from Operation: 54-22=32
Current State: 70:[50, 52, 32], Operations: ['54-22=32']
Exploring Operation: 50+52=102, Resulting Numbers: [32, 102]
Generated Node #3: [32, 102] from Operation: 50+52=102
Current State: 70:[32, 102], Operations: ['54-22=32', '50+52=102']
Exploring Operation: 102-32=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[54, 22, 50, 52], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [22, 52, 4]
Generated Node #0,0: 70:[22, 52, 4] Operation: 54-50=4
Exploring Operation: 54-52=2, Resulting Numbers: [22, 50, 2]
Generated Node #0,1: 70:[22, 50, 2] Operation: 54-52=2
Exploring Operation: 52-50=2, Resulting Numbers: [54, 22, 2]
Generated Node #0,2: 70:[54, 22, 2] Operation: 52-50=2
Moving to Node #0,1
Current State: 70:[22, 50, 2], Operations: ['54-52=2']
Exploring Operation: 50-22=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 70:[2, 28] Operation: 50-22=28
Exploring Operation: 22/2=11, Resulting Numbers: [50, 11]
Generated Node #0,1,1: 70:[50, 11] Operation: 22/2=11
Exploring Operation: 22+50=72, Resulting Numbers: [2, 72]
Generated Node #0,1,2: 70:[2, 72] Operation: 22+50=72
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[2, 72], Operations: ['54-52=2', '22+50=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[54, 22, 50, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [22, 50, 2]
Generated Node #0,1: 70:[22, 50, 2] Operation: 54-52=2
Moving to Node #0,1
Current State: 70:[22, 50, 2], Operations: ['54-52=2']
Exploring Operation: 22+50=72, Resulting Numbers: [2, 72]
Generated Node #0,1,2: 70:[2, 72] Operation: 22+50=72
Moving to Node #0,1,2
Current State: 70:[2, 72], Operations: ['54-52=2', '22+50=72']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
19,
36,
7,
55
] | 32 | [
"36+55=91",
"91/7=13",
"19+13=32"
] | Current State: 32:[19, 36, 7, 55], Operations: []
Exploring Operation: 36+55=91, Resulting Numbers: [19, 7, 91]
Generated Node #2: [19, 7, 91] from Operation: 36+55=91
Current State: 32:[19, 7, 91], Operations: ['36+55=91']
Exploring Operation: 91/7=13, Resulting Numbers: [19, 13]
Generated Node #3: [19, 13] from Operation: 91/7=13
Current State: 32:[19, 13], Operations: ['36+55=91', '91/7=13']
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[19, 36, 7, 55], Operations: []
Exploring Operation: 55-36=19, Resulting Numbers: [19, 7, 19]
Generated Node #0,0: 32:[19, 7, 19] Operation: 55-36=19
Exploring Operation: 55-19=36, Resulting Numbers: [36, 7, 36]
Generated Node #0,1: 32:[36, 7, 36] Operation: 55-19=36
Moving to Node #0,0
Current State: 32:[19, 7, 19], Operations: ['55-36=19']
Exploring Operation: 19-19=0, Resulting Numbers: [7, 0]
Generated Node #0,0,0: 32:[7, 0] Operation: 19-19=0
Exploring Operation: 19/19=1, Resulting Numbers: [7, 1]
Generated Node #0,0,1: 32:[7, 1] Operation: 19/19=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[7, 1], Operations: ['55-36=19', '19/19=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No solution 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: 32:[7, 0], Operations: ['55-36=19', '19-19=0']
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,32 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: 32:[36, 7, 36], Operations: ['55-19=36']
Exploring Operation: 36-36=0, Resulting Numbers: [7, 0]
Generated Node #0,1,0: 32:[7, 0] Operation: 36-36=0
Exploring Operation: 36/36=1, Resulting Numbers: [7, 1]
Generated Node #0,1,1: 32:[7, 1] Operation: 36/36=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[7, 1], Operations: ['55-19=36', '36/36=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No 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: 32:[7, 0], Operations: ['55-19=36', '36-36=0']
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,32 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,32 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 |
[
68,
46,
40,
88
] | 10 | [
"68-46=22",
"40*22=880",
"880/88=10"
] | Current State: 10:[68, 46, 40, 88], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [40, 88, 22]
Generated Node #2: [40, 88, 22] from Operation: 68-46=22
Current State: 10:[40, 88, 22], Operations: ['68-46=22']
Exploring Operation: 40*22=880, Resulting Numbers: [88, 880]
Generated Node #3: [88, 880] from Operation: 40*22=880
Current State: 10:[88, 880], Operations: ['68-46=22', '40*22=880']
Exploring Operation: 880/88=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[68, 46, 40, 88], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [40, 88, 22]
Generated Node #0,0: 10:[40, 88, 22] Operation: 68-46=22
Exploring Operation: 88-46=42, Resulting Numbers: [68, 40, 42]
Generated Node #0,1: 10:[68, 40, 42] Operation: 88-46=42
Exploring Operation: 88-68=20, Resulting Numbers: [46, 40, 20]
Generated Node #0,2: 10:[46, 40, 20] Operation: 88-68=20
Moving to Node #0,2
Current State: 10:[46, 40, 20], Operations: ['88-68=20']
Exploring Operation: 40/20=2, Resulting Numbers: [46, 2]
Generated Node #0,2,0: 10:[46, 2] Operation: 40/20=2
Exploring Operation: 46-20=26, Resulting Numbers: [40, 26]
Generated Node #0,2,1: 10:[40, 26] Operation: 46-20=26
Exploring Operation: 46-40=6, Resulting Numbers: [20, 6]
Generated Node #0,2,2: 10:[20, 6] Operation: 46-40=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[20, 6], Operations: ['88-68=20', '46-40=6']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[46, 2], Operations: ['88-68=20', '40/20=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[40, 26], Operations: ['88-68=20', '46-20=26']
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,10 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: 10:[40, 88, 22], Operations: ['68-46=22']
Exploring Operation: 88/22=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 10:[40, 4] Operation: 88/22=4
Exploring Operation: 40-22=18, Resulting Numbers: [88, 18]
Generated Node #0,0,1: 10:[88, 18] Operation: 40-22=18
Exploring Operation: 88-40=48, Resulting Numbers: [22, 48]
Generated Node #0,0,2: 10:[22, 48] Operation: 88-40=48
Moving to Node #0,1
Current State: 10:[68, 40, 42], Operations: ['88-46=42']
Exploring Operation: 68-42=26, Resulting Numbers: [40, 26]
Generated Node #0,1,0: 10:[40, 26] Operation: 68-42=26
Exploring Operation: 42-40=2, Resulting Numbers: [68, 2]
Generated Node #0,1,1: 10:[68, 2] Operation: 42-40=2
Exploring Operation: 68-40=28, Resulting Numbers: [42, 28]
Generated Node #0,1,2: 10:[42, 28] Operation: 68-40=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[40, 26], Operations: ['88-46=42', '68-42=26']
Exploring Operation: 40*26=1040, Resulting Numbers: [1040]
1040,10 unequal: No Solution
Exploring Operation: 40+26=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[42, 28], Operations: ['88-46=42', '68-40=28']
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,10 unequal: No Solution
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[68, 2], Operations: ['88-46=42', '42-40=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 10:[40, 4], Operations: ['68-46=22', '88/22=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[68, 46, 40, 88], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [40, 88, 22]
Generated Node #0,0: 10:[40, 88, 22] Operation: 68-46=22
Moving to Node #0,0
Current State: 10:[40, 88, 22], Operations: ['68-46=22']
Exploring Operation: 88/22=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 10:[40, 4] Operation: 88/22=4
Moving to Node #0,0,0
Current State: 10:[40, 4], Operations: ['68-46=22', '88/22=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
84,
44,
7,
26
] | 95 | [
"84+44=128",
"7+26=33",
"128-33=95"
] | Current State: 95:[84, 44, 7, 26], Operations: []
Exploring Operation: 84+44=128, Resulting Numbers: [7, 26, 128]
Generated Node #2: [7, 26, 128] from Operation: 84+44=128
Current State: 95:[7, 26, 128], Operations: ['84+44=128']
Exploring Operation: 7+26=33, Resulting Numbers: [128, 33]
Generated Node #3: [128, 33] from Operation: 7+26=33
Current State: 95:[128, 33], Operations: ['84+44=128', '7+26=33']
Exploring Operation: 128-33=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[84, 44, 7, 26], Operations: []
Exploring Operation: 84+7=91, Resulting Numbers: [44, 26, 91]
Generated Node #0,0: 95:[44, 26, 91] Operation: 84+7=91
Exploring Operation: 84-44=40, Resulting Numbers: [7, 26, 40]
Generated Node #0,1: 95:[7, 26, 40] Operation: 84-44=40
Exploring Operation: 44-26=18, Resulting Numbers: [84, 7, 18]
Generated Node #0,2: 95:[84, 7, 18] Operation: 44-26=18
Moving to Node #0,2
Current State: 95:[84, 7, 18], Operations: ['44-26=18']
Exploring Operation: 84/7=12, Resulting Numbers: [18, 12]
Generated Node #0,2,0: 95:[18, 12] Operation: 84/7=12
Exploring Operation: 84+18=102, Resulting Numbers: [7, 102]
Generated Node #0,2,1: 95:[7, 102] Operation: 84+18=102
Exploring Operation: 84+7=91, Resulting Numbers: [18, 91]
Generated Node #0,2,2: 95:[18, 91] Operation: 84+7=91
Moving to Node #0,1
Current State: 95:[7, 26, 40], Operations: ['84-44=40']
Exploring Operation: 40-7=33, Resulting Numbers: [26, 33]
Generated Node #0,1,0: 95:[26, 33] Operation: 40-7=33
Exploring Operation: 40-26=14, Resulting Numbers: [7, 14]
Generated Node #0,1,1: 95:[7, 14] Operation: 40-26=14
Exploring Operation: 26-7=19, Resulting Numbers: [40, 19]
Generated Node #0,1,2: 95:[40, 19] Operation: 26-7=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[7, 14], Operations: ['84-44=40', '40-26=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,95 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[26, 33], Operations: ['84-44=40', '40-7=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,95 unequal: No Solution
Exploring Operation: 26*33=858, Resulting Numbers: [858]
858,95 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[40, 19], Operations: ['84-44=40', '26-7=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 40*19=760, Resulting Numbers: [760]
760,95 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,95 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: 95:[44, 26, 91], Operations: ['84+7=91']
Exploring Operation: 44-26=18, Resulting Numbers: [91, 18]
Generated Node #0,0,0: 95:[91, 18] Operation: 44-26=18
Exploring Operation: 44+26=70, Resulting Numbers: [91, 70]
Generated Node #0,0,1: 95:[91, 70] Operation: 44+26=70
Exploring Operation: 91-44=47, Resulting Numbers: [26, 47]
Generated Node #0,0,2: 95:[26, 47] Operation: 91-44=47
Moving to Node #0,2,2
Current State: 95:[18, 91], Operations: ['44-26=18', '84+7=91']
Exploring Operation: 18*91=1638, Resulting Numbers: [1638]
1638,95 unequal: No Solution
Exploring Operation: 18+91=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[91, 18], Operations: ['84+7=91', '44-26=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,95 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[18, 12], Operations: ['44-26=18', '84/7=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[7, 102], Operations: ['44-26=18', '84+18=102']
Exploring Operation: 7*102=714, Resulting Numbers: [714]
714,95 unequal: No Solution
Exploring Operation: 7+102=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[84, 44, 7, 26], Operations: []
Exploring Operation: 44-26=18, Resulting Numbers: [84, 7, 18]
Generated Node #0,2: 95:[84, 7, 18] Operation: 44-26=18
Moving to Node #0,2
Current State: 95:[84, 7, 18], Operations: ['44-26=18']
Exploring Operation: 84+18=102, Resulting Numbers: [7, 102]
Generated Node #0,2,1: 95:[7, 102] Operation: 84+18=102
Moving to Node #0,2,1
Current State: 95:[7, 102], Operations: ['44-26=18', '84+18=102']
Exploring Operation: 102-7=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
85,
2,
55,
38
] | 100 | [
"85-2=83",
"55-38=17",
"83+17=100"
] | Current State: 100:[85, 2, 55, 38], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [55, 38, 83]
Generated Node #2: [55, 38, 83] from Operation: 85-2=83
Current State: 100:[55, 38, 83], Operations: ['85-2=83']
Exploring Operation: 55-38=17, Resulting Numbers: [83, 17]
Generated Node #3: [83, 17] from Operation: 55-38=17
Current State: 100:[83, 17], Operations: ['85-2=83', '55-38=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[85, 2, 55, 38], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [2, 38, 30]
Generated Node #0,0: 100:[2, 38, 30] Operation: 85-55=30
Exploring Operation: 85-38=47, Resulting Numbers: [2, 55, 47]
Generated Node #0,1: 100:[2, 55, 47] Operation: 85-38=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[2, 55, 47], Operations: ['85-38=47']
Exploring Operation: 55+47=102, Resulting Numbers: [2, 102]
Generated Node #0,1,0: 100:[2, 102] Operation: 55+47=102
Exploring Operation: 55-47=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 100:[2, 8] Operation: 55-47=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[2, 102], Operations: ['85-38=47', '55+47=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[85, 2, 55, 38], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [2, 55, 47]
Generated Node #0,1: 100:[2, 55, 47] Operation: 85-38=47
Moving to Node #0,1
Current State: 100:[2, 55, 47], Operations: ['85-38=47']
Exploring Operation: 55+47=102, Resulting Numbers: [2, 102]
Generated Node #0,1,0: 100:[2, 102] Operation: 55+47=102
Moving to Node #0,1,0
Current State: 100:[2, 102], Operations: ['85-38=47', '55+47=102']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
54,
33,
4,
14
] | 66 | [
"4*14=56",
"56-54=2",
"33*2=66"
] | Current State: 66:[54, 33, 4, 14], Operations: []
Exploring Operation: 4*14=56, Resulting Numbers: [54, 33, 56]
Generated Node #2: [54, 33, 56] from Operation: 4*14=56
Current State: 66:[54, 33, 56], Operations: ['4*14=56']
Exploring Operation: 56-54=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 56-54=2
Current State: 66:[33, 2], Operations: ['4*14=56', '56-54=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[54, 33, 4, 14], Operations: []
Exploring Operation: 54-14=40, Resulting Numbers: [33, 4, 40]
Generated Node #0,0: 66:[33, 4, 40] Operation: 54-14=40
Exploring Operation: 54+14=68, Resulting Numbers: [33, 4, 68]
Generated Node #0,1: 66:[33, 4, 68] Operation: 54+14=68
Exploring Operation: 54-33=21, Resulting Numbers: [4, 14, 21]
Generated Node #0,2: 66:[4, 14, 21] Operation: 54-33=21
Moving to Node #0,1
Current State: 66:[33, 4, 68], Operations: ['54+14=68']
Exploring Operation: 68/4=17, Resulting Numbers: [33, 17]
Generated Node #0,1,0: 66:[33, 17] Operation: 68/4=17
Exploring Operation: 68-33=35, Resulting Numbers: [4, 35]
Generated Node #0,1,1: 66:[4, 35] Operation: 68-33=35
Exploring Operation: 68-4=64, Resulting Numbers: [33, 64]
Generated Node #0,1,2: 66:[33, 64] Operation: 68-4=64
Moving to Node #0,2
Current State: 66:[4, 14, 21], Operations: ['54-33=21']
Exploring Operation: 21-14=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 66:[4, 7] Operation: 21-14=7
Exploring Operation: 14+21=35, Resulting Numbers: [4, 35]
Generated Node #0,2,1: 66:[4, 35] Operation: 14+21=35
Exploring Operation: 14-4=10, Resulting Numbers: [21, 10]
Generated Node #0,2,2: 66:[21, 10] Operation: 14-4=10
Moving to Node #0,0
Current State: 66:[33, 4, 40], Operations: ['54-14=40']
Exploring Operation: 40-4=36, Resulting Numbers: [33, 36]
Generated Node #0,0,0: 66:[33, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [33, 10]
Generated Node #0,0,1: 66:[33, 10] Operation: 40/4=10
Exploring Operation: 40-33=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 66:[4, 7] Operation: 40-33=7
Moving to Node #0,0,1
Current State: 66:[33, 10], Operations: ['54-14=40', '40/4=10']
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,66 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[33, 64], Operations: ['54+14=68', '68-4=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[4, 7], Operations: ['54-33=21', '21-14=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[21, 10], Operations: ['54-33=21', '14-4=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,66 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[4, 7], Operations: ['54-14=40', '40-33=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,66 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[4, 35], Operations: ['54-33=21', '14+21=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[4, 35], Operations: ['54+14=68', '68-33=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[33, 36], Operations: ['54-14=40', '40-4=36']
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,66 unequal: No Solution
Exploring Operation: 33+36=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 33*36=1188, Resulting Numbers: [1188]
1188,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[33, 17], Operations: ['54+14=68', '68/4=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,66 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
35,
89,
56,
39
] | 71 | [
"89-35=54",
"56-39=17",
"54+17=71"
] | Current State: 71:[35, 89, 56, 39], Operations: []
Exploring Operation: 89-35=54, Resulting Numbers: [56, 39, 54]
Generated Node #2: [56, 39, 54] from Operation: 89-35=54
Current State: 71:[56, 39, 54], Operations: ['89-35=54']
Exploring Operation: 56-39=17, Resulting Numbers: [54, 17]
Generated Node #3: [54, 17] from Operation: 56-39=17
Current State: 71:[54, 17], Operations: ['89-35=54', '56-39=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[35, 89, 56, 39], Operations: []
Exploring Operation: 35+39=74, Resulting Numbers: [89, 56, 74]
Generated Node #0,0: 71:[89, 56, 74] Operation: 35+39=74
Exploring Operation: 89-35=54, Resulting Numbers: [56, 39, 54]
Generated Node #0,1: 71:[56, 39, 54] Operation: 89-35=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[89, 56, 74], Operations: ['35+39=74']
Exploring Operation: 89-74=15, Resulting Numbers: [56, 15]
Generated Node #0,0,0: 71:[56, 15] Operation: 89-74=15
Exploring Operation: 89-56=33, Resulting Numbers: [74, 33]
Generated Node #0,0,1: 71:[74, 33] Operation: 89-56=33
Moving to Node #0,0,1
Current State: 71:[74, 33], Operations: ['35+39=74', '89-56=33']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 74+33=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[56, 15], Operations: ['35+39=74', '89-74=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[35, 89, 56, 39], Operations: []
Exploring Operation: 35+39=74, Resulting Numbers: [89, 56, 74]
Generated Node #0,0: 71:[89, 56, 74] Operation: 35+39=74
Moving to Node #0,0
Current State: 71:[89, 56, 74], Operations: ['35+39=74']
Exploring Operation: 89-74=15, Resulting Numbers: [56, 15]
Generated Node #0,0,0: 71:[56, 15] Operation: 89-74=15
Moving to Node #0,0,0
Current State: 71:[56, 15], Operations: ['35+39=74', '89-74=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
57,
5,
46,
25
] | 55 | [
"57-46=11",
"25/5=5",
"11*5=55"
] | Current State: 55:[57, 5, 46, 25], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [5, 25, 11]
Generated Node #2: [5, 25, 11] from Operation: 57-46=11
Current State: 55:[5, 25, 11], Operations: ['57-46=11']
Exploring Operation: 25/5=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 25/5=5
Current State: 55:[11, 5], Operations: ['57-46=11', '25/5=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[57, 5, 46, 25], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [57, 46, 5]
Generated Node #0,0: 55:[57, 46, 5] Operation: 25/5=5
Exploring Operation: 46-25=21, Resulting Numbers: [57, 5, 21]
Generated Node #0,1: 55:[57, 5, 21] Operation: 46-25=21
Moving to Node #0,0
Current State: 55:[57, 46, 5], Operations: ['25/5=5']
Exploring Operation: 46+5=51, Resulting Numbers: [57, 51]
Generated Node #0,0,0: 55:[57, 51] Operation: 46+5=51
Exploring Operation: 57-46=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 55:[5, 11] Operation: 57-46=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[5, 11], Operations: ['25/5=5', '57-46=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[57, 5, 46, 25], Operations: []
Exploring Operation: 25/5=5, Resulting Numbers: [57, 46, 5]
Generated Node #0,0: 55:[57, 46, 5] Operation: 25/5=5
Moving to Node #0,0
Current State: 55:[57, 46, 5], Operations: ['25/5=5']
Exploring Operation: 57-46=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 55:[5, 11] Operation: 57-46=11
Moving to Node #0,0,1
Current State: 55:[5, 11], Operations: ['25/5=5', '57-46=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
39,
38,
26,
65
] | 34 | [
"39+65=104",
"104/26=4",
"38-4=34"
] | Current State: 34:[39, 38, 26, 65], Operations: []
Exploring Operation: 39+65=104, Resulting Numbers: [38, 26, 104]
Generated Node #2: [38, 26, 104] from Operation: 39+65=104
Current State: 34:[38, 26, 104], Operations: ['39+65=104']
Exploring Operation: 104/26=4, Resulting Numbers: [38, 4]
Generated Node #3: [38, 4] from Operation: 104/26=4
Current State: 34:[38, 4], Operations: ['39+65=104', '104/26=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[39, 38, 26, 65], Operations: []
Exploring Operation: 39-38=1, Resulting Numbers: [26, 65, 1]
Generated Node #0,0: 34:[26, 65, 1] Operation: 39-38=1
Exploring Operation: 65-26=39, Resulting Numbers: [39, 38, 39]
Generated Node #0,1: 34:[39, 38, 39] Operation: 65-26=39
Exploring Operation: 65-38=27, Resulting Numbers: [39, 26, 27]
Generated Node #0,2: 34:[39, 26, 27] Operation: 65-38=27
Exploring Operation: 65-39=26, Resulting Numbers: [38, 26, 26]
Generated Node #0,3: 34:[38, 26, 26] Operation: 65-39=26
Exploring Operation: 39-26=13, Resulting Numbers: [38, 65, 13]
Generated Node #0,4: 34:[38, 65, 13] Operation: 39-26=13
Moving to Node #0,1
Current State: 34:[39, 38, 39], Operations: ['65-26=39']
Exploring Operation: 39-38=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 34:[39, 1] Operation: 39-38=1
Exploring Operation: 39/39=1, Resulting Numbers: [38, 1]
Generated Node #0,1,1: 34:[38, 1] Operation: 39/39=1
Exploring Operation: 39-38=1, Resulting Numbers: [39, 1]
Generated Node #0,1,2: 34:[39, 1] Operation: 39-38=1
Exploring Operation: 39-39=0, Resulting Numbers: [38, 0]
Generated Node #0,1,3: 34:[38, 0] Operation: 39-39=0
Exploring Operation: 39+38=77, Resulting Numbers: [39, 77]
Generated Node #0,1,4: 34:[39, 77] Operation: 39+38=77
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[38, 1], Operations: ['65-26=39', '39/39=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[39, 1], Operations: ['65-26=39', '39-38=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[39, 1], Operations: ['65-26=39', '39-38=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 34:[38, 0], Operations: ['65-26=39', '39-39=0']
Exploring Operation: 38+0=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 38-0=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 38*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 34:[39, 77], Operations: ['65-26=39', '39+38=77']
Exploring Operation: 39+77=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 39*77=3003, Resulting Numbers: [3003]
3003,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 34:[38, 26, 26], Operations: ['65-39=26']
Exploring Operation: 38-26=12, Resulting Numbers: [26, 12]
Generated Node #0,3,0: 34:[26, 12] Operation: 38-26=12
Exploring Operation: 38-26=12, Resulting Numbers: [26, 12]
Generated Node #0,3,1: 34:[26, 12] Operation: 38-26=12
Exploring Operation: 26+26=52, Resulting Numbers: [38, 52]
Generated Node #0,3,2: 34:[38, 52] Operation: 26+26=52
Exploring Operation: 26/26=1, Resulting Numbers: [38, 1]
Generated Node #0,3,3: 34:[38, 1] Operation: 26/26=1
Exploring Operation: 26-26=0, Resulting Numbers: [38, 0]
Generated Node #0,3,4: 34:[38, 0] Operation: 26-26=0
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 34:[38, 1], Operations: ['65-39=26', '26/26=1']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 34:[38, 0], Operations: ['65-39=26', '26-26=0']
Exploring Operation: 38-0=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 38*0=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 38+0=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 34:[26, 12], Operations: ['65-39=26', '38-26=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,34 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 34:[26, 12], Operations: ['65-39=26', '38-26=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,34 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[38, 52], Operations: ['65-39=26', '26+26=52']
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,34 unequal: No Solution
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,34 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: 34:[39, 26, 27], Operations: ['65-38=27']
Exploring Operation: 39-27=12, Resulting Numbers: [26, 12]
Generated Node #0,2,0: 34:[26, 12] Operation: 39-27=12
Exploring Operation: 27-26=1, Resulting Numbers: [39, 1]
Generated Node #0,2,1: 34:[39, 1] Operation: 27-26=1
Exploring Operation: 26+27=53, Resulting Numbers: [39, 53]
Generated Node #0,2,2: 34:[39, 53] Operation: 26+27=53
Exploring Operation: 39-26=13, Resulting Numbers: [27, 13]
Generated Node #0,2,3: 34:[27, 13] Operation: 39-26=13
Exploring Operation: 39+26=65, Resulting Numbers: [27, 65]
Generated Node #0,2,4: 34:[27, 65] Operation: 39+26=65
Moving to Node #0,4
Current State: 34:[38, 65, 13], Operations: ['39-26=13']
Exploring Operation: 65-38=27, Resulting Numbers: [13, 27]
Generated Node #0,4,0: 34:[13, 27] Operation: 65-38=27
Exploring Operation: 38+13=51, Resulting Numbers: [65, 51]
Generated Node #0,4,1: 34:[65, 51] Operation: 38+13=51
Exploring Operation: 65/13=5, Resulting Numbers: [38, 5]
Generated Node #0,4,2: 34:[38, 5] Operation: 65/13=5
Exploring Operation: 65-13=52, Resulting Numbers: [38, 52]
Generated Node #0,4,3: 34:[38, 52] Operation: 65-13=52
Exploring Operation: 38-13=25, Resulting Numbers: [65, 25]
Generated Node #0,4,4: 34:[65, 25] Operation: 38-13=25
Moving to Node #0,0
Current State: 34:[26, 65, 1], Operations: ['39-38=1']
Exploring Operation: 26*1=26, Resulting Numbers: [65, 26]
Generated Node #0,0,0: 34:[65, 26] Operation: 26*1=26
Exploring Operation: 26-1=25, Resulting Numbers: [65, 25]
Generated Node #0,0,1: 34:[65, 25] Operation: 26-1=25
Exploring Operation: 65-26=39, Resulting Numbers: [1, 39]
Generated Node #0,0,2: 34:[1, 39] Operation: 65-26=39
Exploring Operation: 65-1=64, Resulting Numbers: [26, 64]
Generated Node #0,0,3: 34:[26, 64] Operation: 65-1=64
Exploring Operation: 26+1=27, Resulting Numbers: [65, 27]
Generated Node #0,0,4: 34:[65, 27] Operation: 26+1=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[1, 39], Operations: ['39-38=1', '65-26=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[26, 64], Operations: ['39-38=1', '65-1=64']
Exploring Operation: 26+64=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 26*64=1664, Resulting Numbers: [1664]
1664,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 34:[65, 27], Operations: ['39-38=1', '26+1=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,34 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[65, 26], Operations: ['39-38=1', '26*1=26']
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,34 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[65, 25], Operations: ['39-38=1', '26-1=25']
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,34 unequal: No Solution
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 34:[39, 1], Operations: ['65-38=27', '27-26=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Moving to Node #0,4,2
Current State: 34:[38, 5], Operations: ['39-26=13', '65/13=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,34 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,34 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,34 unequal: No Solution
Moving to Node #0,4,0
Current State: 34:[13, 27], Operations: ['39-26=13', '65-38=27']
Exploring Operation: 13*27=351, Resulting Numbers: [351]
351,34 unequal: No Solution
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[27, 13], Operations: ['65-38=27', '39-26=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,34 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[26, 12], Operations: ['65-38=27', '39-27=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,34 unequal: No Solution
Moving to Node #0,4,3
Current State: 34:[38, 52], Operations: ['39-26=13', '65-13=52']
Exploring Operation: 52-38=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 38+52=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 38*52=1976, Resulting Numbers: [1976]
1976,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[39, 53], Operations: ['65-38=27', '26+27=53']
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,34 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Moving to Node #0,2,4
Current State: 34:[27, 65], Operations: ['65-38=27', '39+26=65']
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,34 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,34 unequal: No Solution
Moving to Node #0,4,4
Current State: 34:[65, 25], Operations: ['39-26=13', '38-13=25']
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,34 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,34 unequal: No Solution
Moving to Node #0,4,1
Current State: 34:[65, 51], Operations: ['39-26=13', '38+13=51']
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,34 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
88,
50,
42
] | 48 | [
"27+50=77",
"88*42=3696",
"3696/77=48"
] | Current State: 48:[27, 88, 50, 42], Operations: []
Exploring Operation: 27+50=77, Resulting Numbers: [88, 42, 77]
Generated Node #2: [88, 42, 77] from Operation: 27+50=77
Current State: 48:[88, 42, 77], Operations: ['27+50=77']
Exploring Operation: 88*42=3696, Resulting Numbers: [77, 3696]
Generated Node #3: [77, 3696] from Operation: 88*42=3696
Current State: 48:[77, 3696], Operations: ['27+50=77', '88*42=3696']
Exploring Operation: 3696/77=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[27, 88, 50, 42], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [27, 42, 38]
Generated Node #0,0: 48:[27, 42, 38] Operation: 88-50=38
Exploring Operation: 88-42=46, Resulting Numbers: [27, 50, 46]
Generated Node #0,1: 48:[27, 50, 46] Operation: 88-42=46
Moving to Node #0,1
Current State: 48:[27, 50, 46], Operations: ['88-42=46']
Exploring Operation: 50-46=4, Resulting Numbers: [27, 4]
Generated Node #0,1,0: 48:[27, 4] Operation: 50-46=4
Exploring Operation: 50-27=23, Resulting Numbers: [46, 23]
Generated Node #0,1,1: 48:[46, 23] Operation: 50-27=23
Moving to Node #0,0
Current State: 48:[27, 42, 38], Operations: ['88-50=38']
Exploring Operation: 38-27=11, Resulting Numbers: [42, 11]
Generated Node #0,0,0: 48:[42, 11] Operation: 38-27=11
Exploring Operation: 42-38=4, Resulting Numbers: [27, 4]
Generated Node #0,0,1: 48:[27, 4] Operation: 42-38=4
Moving to Node #0,1,0
Current State: 48:[27, 4], Operations: ['88-42=46', '50-46=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[27, 4], Operations: ['88-50=38', '42-38=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[46, 23], Operations: ['88-42=46', '50-27=23']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[42, 11], Operations: ['88-50=38', '38-27=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,48 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
13,
44,
22
] | 19 | [
"3*44=132",
"132/22=6",
"13+6=19"
] | Current State: 19:[3, 13, 44, 22], Operations: []
Exploring Operation: 3*44=132, Resulting Numbers: [13, 22, 132]
Generated Node #2: [13, 22, 132] from Operation: 3*44=132
Current State: 19:[13, 22, 132], Operations: ['3*44=132']
Exploring Operation: 132/22=6, Resulting Numbers: [13, 6]
Generated Node #3: [13, 6] from Operation: 132/22=6
Current State: 19:[13, 6], Operations: ['3*44=132', '132/22=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[3, 13, 44, 22], Operations: []
Exploring Operation: 3+13=16, Resulting Numbers: [44, 22, 16]
Generated Node #0,0: 19:[44, 22, 16] Operation: 3+13=16
Exploring Operation: 44-13=31, Resulting Numbers: [3, 22, 31]
Generated Node #0,1: 19:[3, 22, 31] Operation: 44-13=31
Exploring Operation: 44-3=41, Resulting Numbers: [13, 22, 41]
Generated Node #0,2: 19:[13, 22, 41] Operation: 44-3=41
Exploring Operation: 44-22=22, Resulting Numbers: [3, 13, 22]
Generated Node #0,3: 19:[3, 13, 22] Operation: 44-22=22
Exploring Operation: 22-3=19, Resulting Numbers: [13, 44, 19]
Generated Node #0,4: 19:[13, 44, 19] Operation: 22-3=19
Moving to Node #0,3
Current State: 19:[3, 13, 22], Operations: ['44-22=22']
Exploring Operation: 13-3=10, Resulting Numbers: [22, 10]
Generated Node #0,3,0: 19:[22, 10] Operation: 13-3=10
Exploring Operation: 22-3=19, Resulting Numbers: [13, 19]
Generated Node #0,3,1: 19:[13, 19] Operation: 22-3=19
Exploring Operation: 3+13=16, Resulting Numbers: [22, 16]
Generated Node #0,3,2: 19:[22, 16] Operation: 3+13=16
Exploring Operation: 3+22=25, Resulting Numbers: [13, 25]
Generated Node #0,3,3: 19:[13, 25] Operation: 3+22=25
Exploring Operation: 3*13=39, Resulting Numbers: [22, 39]
Generated Node #0,3,4: 19:[22, 39] Operation: 3*13=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[13, 19], Operations: ['44-22=22', '22-3=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,19 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No 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: 19:[22, 16], Operations: ['44-22=22', '3+13=16']
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,19 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No 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: 19:[22, 10], Operations: ['44-22=22', '13-3=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 22*10=220, Resulting Numbers: [220]
220,19 unequal: No Solution
No 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: 19:[13, 25], Operations: ['44-22=22', '3+22=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,19 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No 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: 19:[22, 39], Operations: ['44-22=22', '3*13=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 22*39=858, Resulting Numbers: [858]
858,19 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,19 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: 19:[3, 22, 31], Operations: ['44-13=31']
Exploring Operation: 31-22=9, Resulting Numbers: [3, 9]
Generated Node #0,1,0: 19:[3, 9] Operation: 31-22=9
Exploring Operation: 3+31=34, Resulting Numbers: [22, 34]
Generated Node #0,1,1: 19:[22, 34] Operation: 3+31=34
Exploring Operation: 22-3=19, Resulting Numbers: [31, 19]
Generated Node #0,1,2: 19:[31, 19] Operation: 22-3=19
Exploring Operation: 3+22=25, Resulting Numbers: [31, 25]
Generated Node #0,1,3: 19:[31, 25] Operation: 3+22=25
Exploring Operation: 31-3=28, Resulting Numbers: [22, 28]
Generated Node #0,1,4: 19:[22, 28] Operation: 31-3=28
Moving to Node #0,4
Current State: 19:[13, 44, 19], Operations: ['22-3=19']
Exploring Operation: 13+19=32, Resulting Numbers: [44, 32]
Generated Node #0,4,0: 19:[44, 32] Operation: 13+19=32
Exploring Operation: 44-19=25, Resulting Numbers: [13, 25]
Generated Node #0,4,1: 19:[13, 25] Operation: 44-19=25
Exploring Operation: 13+44=57, Resulting Numbers: [19, 57]
Generated Node #0,4,2: 19:[19, 57] Operation: 13+44=57
Exploring Operation: 19-13=6, Resulting Numbers: [44, 6]
Generated Node #0,4,3: 19:[44, 6] Operation: 19-13=6
Exploring Operation: 44-13=31, Resulting Numbers: [19, 31]
Generated Node #0,4,4: 19:[19, 31] Operation: 44-13=31
Moving to Node #0,0
Current State: 19:[44, 22, 16], Operations: ['3+13=16']
Exploring Operation: 44-16=28, Resulting Numbers: [22, 28]
Generated Node #0,0,0: 19:[22, 28] Operation: 44-16=28
Exploring Operation: 44/22=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 19:[16, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [16, 22]
Generated Node #0,0,2: 19:[16, 22] Operation: 44-22=22
Exploring Operation: 44+16=60, Resulting Numbers: [22, 60]
Generated Node #0,0,3: 19:[22, 60] Operation: 44+16=60
Exploring Operation: 22-16=6, Resulting Numbers: [44, 6]
Generated Node #0,0,4: 19:[44, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[16, 22], Operations: ['3+13=16', '44-22=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,19 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,19 unequal: No Solution
No solution 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: 19:[22, 28], Operations: ['3+13=16', '44-16=28']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,19 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,19 unequal: No Solution
No solution 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: 19:[16, 2], Operations: ['3+13=16', '44/22=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution 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: 19:[44, 6], Operations: ['3+13=16', '22-16=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,19 unequal: No Solution
No solution 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: 19:[22, 60], Operations: ['3+13=16', '44+16=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,19 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,19 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: 19:[13, 22, 41], Operations: ['44-3=41']
Exploring Operation: 13+22=35, Resulting Numbers: [41, 35]
Generated Node #0,2,0: 19:[41, 35] Operation: 13+22=35
Exploring Operation: 41-13=28, Resulting Numbers: [22, 28]
Generated Node #0,2,1: 19:[22, 28] Operation: 41-13=28
Exploring Operation: 41-22=19, Resulting Numbers: [13, 19]
Generated Node #0,2,2: 19:[13, 19] Operation: 41-22=19
Exploring Operation: 13+41=54, Resulting Numbers: [22, 54]
Generated Node #0,2,3: 19:[22, 54] Operation: 13+41=54
Exploring Operation: 22-13=9, Resulting Numbers: [41, 9]
Generated Node #0,2,4: 19:[41, 9] Operation: 22-13=9
Moving to Node #0,2,2
Current State: 19:[13, 19], Operations: ['44-3=41', '41-22=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[13, 25], Operations: ['22-3=19', '44-19=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,19 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[19, 31], Operations: ['22-3=19', '44-13=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,19 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[22, 28], Operations: ['44-3=41', '41-13=28']
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,19 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[31, 19], Operations: ['44-13=31', '22-3=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,19 unequal: No Solution
Moving to Node #0,1,4
Current State: 19:[22, 28], Operations: ['44-13=31', '31-3=28']
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[22, 34], Operations: ['44-13=31', '3+31=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[31, 25], Operations: ['44-13=31', '3+22=25']
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 31*25=775, Resulting Numbers: [775]
775,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[3, 9], Operations: ['44-13=31', '31-22=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Moving to Node #0,2,4
Current State: 19:[41, 9], Operations: ['44-3=41', '22-13=9']
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,19 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[44, 6], Operations: ['22-3=19', '19-13=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,19 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,19 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[41, 35], Operations: ['44-3=41', '13+22=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,19 unequal: No Solution
Moving to Node #0,4,0
Current State: 19:[44, 32], Operations: ['22-3=19', '13+19=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,19 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,19 unequal: No Solution
Moving to Node #0,2,3
Current State: 19:[22, 54], Operations: ['44-3=41', '13+41=54']
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,19 unequal: No Solution
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,19 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[19, 57], Operations: ['22-3=19', '13+44=57']
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 19*57=1083, Resulting Numbers: [1083]
1083,19 unequal: No Solution
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
78,
27,
58,
95
] | 68 | [
"78+27=105",
"95-58=37",
"105-37=68"
] | Current State: 68:[78, 27, 58, 95], Operations: []
Exploring Operation: 78+27=105, Resulting Numbers: [58, 95, 105]
Generated Node #2: [58, 95, 105] from Operation: 78+27=105
Current State: 68:[58, 95, 105], Operations: ['78+27=105']
Exploring Operation: 95-58=37, Resulting Numbers: [105, 37]
Generated Node #3: [105, 37] from Operation: 95-58=37
Current State: 68:[105, 37], Operations: ['78+27=105', '95-58=37']
Exploring Operation: 105-37=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[78, 27, 58, 95], Operations: []
Exploring Operation: 78-58=20, Resulting Numbers: [27, 95, 20]
Generated Node #0,0: 68:[27, 95, 20] Operation: 78-58=20
Exploring Operation: 95-27=68, Resulting Numbers: [78, 58, 68]
Generated Node #0,1: 68:[78, 58, 68] Operation: 95-27=68
Exploring Operation: 95-58=37, Resulting Numbers: [78, 27, 37]
Generated Node #0,2: 68:[78, 27, 37] Operation: 95-58=37
Exploring Operation: 95-78=17, Resulting Numbers: [27, 58, 17]
Generated Node #0,3: 68:[27, 58, 17] Operation: 95-78=17
Moving to Node #0,3
Current State: 68:[27, 58, 17], Operations: ['95-78=17']
Exploring Operation: 27-17=10, Resulting Numbers: [58, 10]
Generated Node #0,3,0: 68:[58, 10] Operation: 27-17=10
Exploring Operation: 58+17=75, Resulting Numbers: [27, 75]
Generated Node #0,3,1: 68:[27, 75] Operation: 58+17=75
Exploring Operation: 58-27=31, Resulting Numbers: [17, 31]
Generated Node #0,3,2: 68:[17, 31] Operation: 58-27=31
Exploring Operation: 58-17=41, Resulting Numbers: [27, 41]
Generated Node #0,3,3: 68:[27, 41] Operation: 58-17=41
Moving to Node #0,2
Current State: 68:[78, 27, 37], Operations: ['95-58=37']
Exploring Operation: 27+37=64, Resulting Numbers: [78, 64]
Generated Node #0,2,0: 68:[78, 64] Operation: 27+37=64
Exploring Operation: 37-27=10, Resulting Numbers: [78, 10]
Generated Node #0,2,1: 68:[78, 10] Operation: 37-27=10
Exploring Operation: 78-27=51, Resulting Numbers: [37, 51]
Generated Node #0,2,2: 68:[37, 51] Operation: 78-27=51
Exploring Operation: 78-37=41, Resulting Numbers: [27, 41]
Generated Node #0,2,3: 68:[27, 41] Operation: 78-37=41
Moving to Node #0,1
Current State: 68:[78, 58, 68], Operations: ['95-27=68']
Exploring Operation: 68-58=10, Resulting Numbers: [78, 10]
Generated Node #0,1,0: 68:[78, 10] Operation: 68-58=10
Exploring Operation: 78-68=10, Resulting Numbers: [58, 10]
Generated Node #0,1,1: 68:[58, 10] Operation: 78-68=10
Exploring Operation: 78+58=136, Resulting Numbers: [68, 136]
Generated Node #0,1,2: 68:[68, 136] Operation: 78+58=136
Exploring Operation: 78-58=20, Resulting Numbers: [68, 20]
Generated Node #0,1,3: 68:[68, 20] Operation: 78-58=20
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 68:[68, 20], Operations: ['95-27=68', '78-58=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,68 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[78, 10], Operations: ['95-27=68', '68-58=10']
Exploring Operation: 78*10=780, Resulting Numbers: [780]
780,68 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[78, 27, 58, 95], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [78, 58, 68]
Generated Node #0,1: 68:[78, 58, 68] Operation: 95-27=68
Moving to Node #0,1
Current State: 68:[78, 58, 68], Operations: ['95-27=68']
Exploring Operation: 68-58=10, Resulting Numbers: [78, 10]
Generated Node #0,1,0: 68:[78, 10] Operation: 68-58=10
Moving to Node #0,1,0
Current State: 68:[78, 10], Operations: ['95-27=68', '68-58=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
88,
18,
86,
67
] | 98 | [
"88-86=2",
"67-18=49",
"2*49=98"
] | Current State: 98:[88, 18, 86, 67], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [18, 67, 2]
Generated Node #2: [18, 67, 2] from Operation: 88-86=2
Current State: 98:[18, 67, 2], Operations: ['88-86=2']
Exploring Operation: 67-18=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 67-18=49
Current State: 98:[2, 49], Operations: ['88-86=2', '67-18=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[88, 18, 86, 67], Operations: []
Exploring Operation: 18+86=104, Resulting Numbers: [88, 67, 104]
Generated Node #0,0: 98:[88, 67, 104] Operation: 18+86=104
Exploring Operation: 67-18=49, Resulting Numbers: [88, 86, 49]
Generated Node #0,1: 98:[88, 86, 49] Operation: 67-18=49
Exploring Operation: 88-86=2, Resulting Numbers: [18, 67, 2]
Generated Node #0,2: 98:[18, 67, 2] Operation: 88-86=2
Exploring Operation: 88-67=21, Resulting Numbers: [18, 86, 21]
Generated Node #0,3: 98:[18, 86, 21] Operation: 88-67=21
Exploring Operation: 86-67=19, Resulting Numbers: [88, 18, 19]
Generated Node #0,4: 98:[88, 18, 19] Operation: 86-67=19
Moving to Node #0,4
Current State: 98:[88, 18, 19], Operations: ['86-67=19']
Exploring Operation: 19-18=1, Resulting Numbers: [88, 1]
Generated Node #0,4,0: 98:[88, 1] Operation: 19-18=1
Exploring Operation: 88-19=69, Resulting Numbers: [18, 69]
Generated Node #0,4,1: 98:[18, 69] Operation: 88-19=69
Exploring Operation: 88+18=106, Resulting Numbers: [19, 106]
Generated Node #0,4,2: 98:[19, 106] Operation: 88+18=106
Exploring Operation: 88+19=107, Resulting Numbers: [18, 107]
Generated Node #0,4,3: 98:[18, 107] Operation: 88+19=107
Exploring Operation: 18+19=37, Resulting Numbers: [88, 37]
Generated Node #0,4,4: 98:[88, 37] Operation: 18+19=37
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 98:[88, 1], Operations: ['86-67=19', '19-18=1']
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,98 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,98 unequal: No Solution
Exploring Operation: 88+1=89, Resulting Numbers: [89]
89,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 98:[19, 106], Operations: ['86-67=19', '88+18=106']
Exploring Operation: 19+106=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 106-19=87, Resulting Numbers: [87]
87,98 unequal: No Solution
Exploring Operation: 19*106=2014, Resulting Numbers: [2014]
2014,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 98:[18, 107], Operations: ['86-67=19', '88+19=107']
Exploring Operation: 18*107=1926, Resulting Numbers: [1926]
1926,98 unequal: No Solution
Exploring Operation: 107-18=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 18+107=125, Resulting Numbers: [125]
125,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 98:[88, 37], Operations: ['86-67=19', '18+19=37']
Exploring Operation: 88+37=125, Resulting Numbers: [125]
125,98 unequal: No Solution
Exploring Operation: 88*37=3256, Resulting Numbers: [3256]
3256,98 unequal: No Solution
Exploring Operation: 88-37=51, Resulting Numbers: [51]
51,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 98:[18, 69], Operations: ['86-67=19', '88-19=69']
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,98 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,98 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: 98:[18, 67, 2], Operations: ['88-86=2']
Exploring Operation: 18/2=9, Resulting Numbers: [67, 9]
Generated Node #0,2,0: 98:[67, 9] Operation: 18/2=9
Exploring Operation: 67-2=65, Resulting Numbers: [18, 65]
Generated Node #0,2,1: 98:[18, 65] Operation: 67-2=65
Exploring Operation: 67-18=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 98:[2, 49] Operation: 67-18=49
Exploring Operation: 18-2=16, Resulting Numbers: [67, 16]
Generated Node #0,2,3: 98:[67, 16] Operation: 18-2=16
Exploring Operation: 18+67=85, Resulting Numbers: [2, 85]
Generated Node #0,2,4: 98:[2, 85] Operation: 18+67=85
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[2, 49], Operations: ['88-86=2', '67-18=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[88, 18, 86, 67], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [18, 67, 2]
Generated Node #0,2: 98:[18, 67, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 98:[18, 67, 2], Operations: ['88-86=2']
Exploring Operation: 67-18=49, Resulting Numbers: [2, 49]
Generated Node #0,2,2: 98:[2, 49] Operation: 67-18=49
Moving to Node #0,2,2
Current State: 98:[2, 49], Operations: ['88-86=2', '67-18=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
53,
4,
39,
43
] | 63 | [
"53+43=96",
"96/4=24",
"39+24=63"
] | Current State: 63:[53, 4, 39, 43], Operations: []
Exploring Operation: 53+43=96, Resulting Numbers: [4, 39, 96]
Generated Node #2: [4, 39, 96] from Operation: 53+43=96
Current State: 63:[4, 39, 96], Operations: ['53+43=96']
Exploring Operation: 96/4=24, Resulting Numbers: [39, 24]
Generated Node #3: [39, 24] from Operation: 96/4=24
Current State: 63:[39, 24], Operations: ['53+43=96', '96/4=24']
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[53, 4, 39, 43], Operations: []
Exploring Operation: 43-39=4, Resulting Numbers: [53, 4, 4]
Generated Node #0,0: 63:[53, 4, 4] Operation: 43-39=4
Exploring Operation: 53-43=10, Resulting Numbers: [4, 39, 10]
Generated Node #0,1: 63:[4, 39, 10] Operation: 53-43=10
Exploring Operation: 53-39=14, Resulting Numbers: [4, 43, 14]
Generated Node #0,2: 63:[4, 43, 14] Operation: 53-39=14
Exploring Operation: 53+4=57, Resulting Numbers: [39, 43, 57]
Generated Node #0,3: 63:[39, 43, 57] Operation: 53+4=57
Exploring Operation: 39+43=82, Resulting Numbers: [53, 4, 82]
Generated Node #0,4: 63:[53, 4, 82] Operation: 39+43=82
Moving to Node #0,0
Current State: 63:[53, 4, 4], Operations: ['43-39=4']
Exploring Operation: 53+4=57, Resulting Numbers: [4, 57]
Generated Node #0,0,0: 63:[4, 57] Operation: 53+4=57
Exploring Operation: 4/4=1, Resulting Numbers: [53, 1]
Generated Node #0,0,1: 63:[53, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [53, 8]
Generated Node #0,0,2: 63:[53, 8] Operation: 4+4=8
Exploring Operation: 53+4=57, Resulting Numbers: [4, 57]
Generated Node #0,0,3: 63:[4, 57] Operation: 53+4=57
Exploring Operation: 4-4=0, Resulting Numbers: [53, 0]
Generated Node #0,0,4: 63:[53, 0] Operation: 4-4=0
Moving to Node #0,1
Current State: 63:[4, 39, 10], Operations: ['53-43=10']
Exploring Operation: 39-10=29, Resulting Numbers: [4, 29]
Generated Node #0,1,0: 63:[4, 29] Operation: 39-10=29
Exploring Operation: 39+10=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 63:[4, 49] Operation: 39+10=49
Exploring Operation: 4+39=43, Resulting Numbers: [10, 43]
Generated Node #0,1,2: 63:[10, 43] Operation: 4+39=43
Exploring Operation: 39-4=35, Resulting Numbers: [10, 35]
Generated Node #0,1,3: 63:[10, 35] Operation: 39-4=35
Exploring Operation: 10-4=6, Resulting Numbers: [39, 6]
Generated Node #0,1,4: 63:[39, 6] Operation: 10-4=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[4, 29], Operations: ['53-43=10', '39-10=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,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,1
Current State: 63:[4, 49], Operations: ['53-43=10', '39+10=49']
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,63 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,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,3
Current State: 63:[10, 35], Operations: ['53-43=10', '39-4=35']
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,63 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,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,4
Current State: 63:[39, 6], Operations: ['53-43=10', '10-4=6']
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,63 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,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,2
Current State: 63:[10, 43], Operations: ['53-43=10', '4+39=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,63 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,63 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: 63:[4, 43, 14], Operations: ['53-39=14']
Exploring Operation: 43-14=29, Resulting Numbers: [4, 29]
Generated Node #0,2,0: 63:[4, 29] Operation: 43-14=29
Exploring Operation: 43+14=57, Resulting Numbers: [4, 57]
Generated Node #0,2,1: 63:[4, 57] Operation: 43+14=57
Exploring Operation: 14-4=10, Resulting Numbers: [43, 10]
Generated Node #0,2,2: 63:[43, 10] Operation: 14-4=10
Exploring Operation: 43-4=39, Resulting Numbers: [14, 39]
Generated Node #0,2,3: 63:[14, 39] Operation: 43-4=39
Exploring Operation: 4+43=47, Resulting Numbers: [14, 47]
Generated Node #0,2,4: 63:[14, 47] Operation: 4+43=47
Moving to Node #0,4
Current State: 63:[53, 4, 82], Operations: ['39+43=82']
Exploring Operation: 53-4=49, Resulting Numbers: [82, 49]
Generated Node #0,4,0: 63:[82, 49] Operation: 53-4=49
Exploring Operation: 82-4=78, Resulting Numbers: [53, 78]
Generated Node #0,4,1: 63:[53, 78] Operation: 82-4=78
Exploring Operation: 4+82=86, Resulting Numbers: [53, 86]
Generated Node #0,4,2: 63:[53, 86] Operation: 4+82=86
Exploring Operation: 53+4=57, Resulting Numbers: [82, 57]
Generated Node #0,4,3: 63:[82, 57] Operation: 53+4=57
Exploring Operation: 82-53=29, Resulting Numbers: [4, 29]
Generated Node #0,4,4: 63:[4, 29] Operation: 82-53=29
Moving to Node #0,3
Current State: 63:[39, 43, 57], Operations: ['53+4=57']
Exploring Operation: 39+43=82, Resulting Numbers: [57, 82]
Generated Node #0,3,0: 63:[57, 82] Operation: 39+43=82
Exploring Operation: 57-43=14, Resulting Numbers: [39, 14]
Generated Node #0,3,1: 63:[39, 14] Operation: 57-43=14
Exploring Operation: 57-39=18, Resulting Numbers: [43, 18]
Generated Node #0,3,2: 63:[43, 18] Operation: 57-39=18
Exploring Operation: 43-39=4, Resulting Numbers: [57, 4]
Generated Node #0,3,3: 63:[57, 4] Operation: 43-39=4
Exploring Operation: 39+57=96, Resulting Numbers: [43, 96]
Generated Node #0,3,4: 63:[43, 96] Operation: 39+57=96
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[57, 4], Operations: ['53+4=57', '43-39=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,63 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,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,3,1
Current State: 63:[39, 14], Operations: ['53+4=57', '57-43=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,63 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,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,3,2
Current State: 63:[43, 18], Operations: ['53+4=57', '57-39=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,63 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,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,3,0
Current State: 63:[57, 82], Operations: ['53+4=57', '39+43=82']
Exploring Operation: 57*82=4674, Resulting Numbers: [4674]
4674,63 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 57+82=139, Resulting Numbers: [139]
139,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,3,4
Current State: 63:[43, 96], Operations: ['53+4=57', '39+57=96']
Exploring Operation: 43+96=139, Resulting Numbers: [139]
139,63 unequal: No Solution
Exploring Operation: 43*96=4128, Resulting Numbers: [4128]
4128,63 unequal: No Solution
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 63:[4, 57], Operations: ['43-39=4', '53+4=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,63 unequal: No Solution
Moving to Node #0,2,1
Current State: 63:[4, 57], Operations: ['53-39=14', '43+14=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[4, 57], Operations: ['43-39=4', '53+4=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,63 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Moving to Node #0,2,0
Current State: 63:[4, 29], Operations: ['53-39=14', '43-14=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,63 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[4, 29], Operations: ['39+43=82', '82-53=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,63 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[53, 8], Operations: ['43-39=4', '4+4=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,63 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[53, 1], Operations: ['43-39=4', '4/4=1']
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,63 unequal: No Solution
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[53, 0], Operations: ['43-39=4', '4-4=0']
Exploring Operation: 53*0=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 53-0=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 53+0=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Moving to Node #0,2,4
Current State: 63:[14, 47], Operations: ['53-39=14', '4+43=47']
Exploring Operation: 14+47=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 14*47=658, Resulting Numbers: [658]
658,63 unequal: No Solution
Moving to Node #0,2,2
Current State: 63:[43, 10], Operations: ['53-39=14', '14-4=10']
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,63 unequal: No Solution
Moving to Node #0,2,3
Current State: 63:[14, 39], Operations: ['53-39=14', '43-4=39']
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,63 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[53, 78], Operations: ['39+43=82', '82-4=78']
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,63 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,63 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[82, 57], Operations: ['39+43=82', '53+4=57']
Exploring Operation: 82*57=4674, Resulting Numbers: [4674]
4674,63 unequal: No Solution
Exploring Operation: 82+57=139, Resulting Numbers: [139]
139,63 unequal: No Solution
Exploring Operation: 82-57=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[53, 86], Operations: ['39+43=82', '4+82=86']
Exploring Operation: 53*86=4558, Resulting Numbers: [4558]
4558,63 unequal: No Solution
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 53+86=139, Resulting Numbers: [139]
139,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[82, 49], Operations: ['39+43=82', '53-4=49']
Exploring Operation: 82+49=131, Resulting Numbers: [131]
131,63 unequal: No Solution
Exploring Operation: 82*49=4018, Resulting Numbers: [4018]
4018,63 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,63 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
44,
77,
85,
19
] | 71 | [
"77-44=33",
"85+19=104",
"104-33=71"
] | Current State: 71:[44, 77, 85, 19], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [85, 19, 33]
Generated Node #2: [85, 19, 33] from Operation: 77-44=33
Current State: 71:[85, 19, 33], Operations: ['77-44=33']
Exploring Operation: 85+19=104, Resulting Numbers: [33, 104]
Generated Node #3: [33, 104] from Operation: 85+19=104
Current State: 71:[33, 104], Operations: ['77-44=33', '85+19=104']
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[44, 77, 85, 19], Operations: []
Exploring Operation: 77+19=96, Resulting Numbers: [44, 85, 96]
Generated Node #0,0: 71:[44, 85, 96] Operation: 77+19=96
Exploring Operation: 85-19=66, Resulting Numbers: [44, 77, 66]
Generated Node #0,1: 71:[44, 77, 66] Operation: 85-19=66
Exploring Operation: 77-19=58, Resulting Numbers: [44, 85, 58]
Generated Node #0,2: 71:[44, 85, 58] Operation: 77-19=58
Exploring Operation: 44-19=25, Resulting Numbers: [77, 85, 25]
Generated Node #0,3: 71:[77, 85, 25] Operation: 44-19=25
Exploring Operation: 44+19=63, Resulting Numbers: [77, 85, 63]
Generated Node #0,4: 71:[77, 85, 63] Operation: 44+19=63
Moving to Node #0,4
Current State: 71:[77, 85, 63], Operations: ['44+19=63']
Exploring Operation: 77-63=14, Resulting Numbers: [85, 14]
Generated Node #0,4,0: 71:[85, 14] Operation: 77-63=14
Exploring Operation: 85+63=148, Resulting Numbers: [77, 148]
Generated Node #0,4,1: 71:[77, 148] Operation: 85+63=148
Exploring Operation: 77+63=140, Resulting Numbers: [85, 140]
Generated Node #0,4,2: 71:[85, 140] Operation: 77+63=140
Exploring Operation: 85-77=8, Resulting Numbers: [63, 8]
Generated Node #0,4,3: 71:[63, 8] Operation: 85-77=8
Exploring Operation: 85-63=22, Resulting Numbers: [77, 22]
Generated Node #0,4,4: 71:[77, 22] Operation: 85-63=22
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[77, 22], Operations: ['44+19=63', '85-63=22']
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,71 unequal: No Solution
Exploring Operation: 77*22=1694, Resulting Numbers: [1694]
1694,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,4,0
Current State: 71:[85, 14], Operations: ['44+19=63', '77-63=14']
Exploring Operation: 85*14=1190, Resulting Numbers: [1190]
1190,71 unequal: No Solution
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[44, 77, 85, 19], Operations: []
Exploring Operation: 44+19=63, Resulting Numbers: [77, 85, 63]
Generated Node #0,4: 71:[77, 85, 63] Operation: 44+19=63
Moving to Node #0,4
Current State: 71:[77, 85, 63], Operations: ['44+19=63']
Exploring Operation: 77-63=14, Resulting Numbers: [85, 14]
Generated Node #0,4,0: 71:[85, 14] Operation: 77-63=14
Moving to Node #0,4,0
Current State: 71:[85, 14], Operations: ['44+19=63', '77-63=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
72,
95,
11,
60
] | 83 | [
"72+60=132",
"132/11=12",
"95-12=83"
] | Current State: 83:[72, 95, 11, 60], Operations: []
Exploring Operation: 72+60=132, Resulting Numbers: [95, 11, 132]
Generated Node #2: [95, 11, 132] from Operation: 72+60=132
Current State: 83:[95, 11, 132], Operations: ['72+60=132']
Exploring Operation: 132/11=12, Resulting Numbers: [95, 12]
Generated Node #3: [95, 12] from Operation: 132/11=12
Current State: 83:[95, 12], Operations: ['72+60=132', '132/11=12']
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[72, 95, 11, 60], Operations: []
Exploring Operation: 11+60=71, Resulting Numbers: [72, 95, 71]
Generated Node #0,0: 83:[72, 95, 71] Operation: 11+60=71
Exploring Operation: 95-11=84, Resulting Numbers: [72, 60, 84]
Generated Node #0,1: 83:[72, 60, 84] Operation: 95-11=84
Exploring Operation: 72+11=83, Resulting Numbers: [95, 60, 83]
Generated Node #0,2: 83:[95, 60, 83] Operation: 72+11=83
Moving to Node #0,0
Current State: 83:[72, 95, 71], Operations: ['11+60=71']
Exploring Operation: 72+71=143, Resulting Numbers: [95, 143]
Generated Node #0,0,0: 83:[95, 143] Operation: 72+71=143
Exploring Operation: 95-71=24, Resulting Numbers: [72, 24]
Generated Node #0,0,1: 83:[72, 24] Operation: 95-71=24
Exploring Operation: 95-72=23, Resulting Numbers: [71, 23]
Generated Node #0,0,2: 83:[71, 23] Operation: 95-72=23
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[72, 24], Operations: ['11+60=71', '95-71=24']
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[95, 143], Operations: ['11+60=71', '72+71=143']
Exploring Operation: 95+143=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 95*143=13585, Resulting Numbers: [13585]
13585,83 unequal: No Solution
Exploring Operation: 143-95=48, Resulting Numbers: [48]
48,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[71, 23], Operations: ['11+60=71', '95-72=23']
Exploring Operation: 71+23=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 71*23=1633, Resulting Numbers: [1633]
1633,83 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: 83:[72, 60, 84], Operations: ['95-11=84']
Exploring Operation: 72+60=132, Resulting Numbers: [84, 132]
Generated Node #0,1,0: 83:[84, 132] Operation: 72+60=132
Exploring Operation: 72-60=12, Resulting Numbers: [84, 12]
Generated Node #0,1,1: 83:[84, 12] Operation: 72-60=12
Exploring Operation: 84-60=24, Resulting Numbers: [72, 24]
Generated Node #0,1,2: 83:[72, 24] Operation: 84-60=24
Moving to Node #0,2
Current State: 83:[95, 60, 83], Operations: ['72+11=83']
Exploring Operation: 60+83=143, Resulting Numbers: [95, 143]
Generated Node #0,2,0: 83:[95, 143] Operation: 60+83=143
Exploring Operation: 95+60=155, Resulting Numbers: [83, 155]
Generated Node #0,2,1: 83:[83, 155] Operation: 95+60=155
Exploring Operation: 95-60=35, Resulting Numbers: [83, 35]
Generated Node #0,2,2: 83:[83, 35] Operation: 95-60=35
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[83, 35], Operations: ['72+11=83', '95-60=35']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,83 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[95, 143], Operations: ['72+11=83', '60+83=143']
Exploring Operation: 95+143=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 143-95=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Exploring Operation: 95*143=13585, Resulting Numbers: [13585]
13585,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[83, 155], Operations: ['72+11=83', '95+60=155']
Exploring Operation: 155-83=72, Resulting Numbers: [72]
72,83 unequal: No Solution
Exploring Operation: 83*155=12865, Resulting Numbers: [12865]
12865,83 unequal: No Solution
Exploring Operation: 83+155=238, Resulting Numbers: [238]
238,83 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: 83:[84, 132], Operations: ['95-11=84', '72+60=132']
Exploring Operation: 84+132=216, Resulting Numbers: [216]
216,83 unequal: No Solution
Exploring Operation: 84*132=11088, Resulting Numbers: [11088]
11088,83 unequal: No Solution
Exploring Operation: 132-84=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[72, 24], Operations: ['95-11=84', '84-60=24']
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[84, 12], Operations: ['95-11=84', '72-60=12']
Exploring Operation: 84+12=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,83 unequal: No Solution
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,83 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
47,
29,
70,
64
] | 24 | [
"47-29=18",
"70-64=6",
"18+6=24"
] | Current State: 24:[47, 29, 70, 64], Operations: []
Exploring Operation: 47-29=18, Resulting Numbers: [70, 64, 18]
Generated Node #2: [70, 64, 18] from Operation: 47-29=18
Current State: 24:[70, 64, 18], Operations: ['47-29=18']
Exploring Operation: 70-64=6, Resulting Numbers: [18, 6]
Generated Node #3: [18, 6] from Operation: 70-64=6
Current State: 24:[18, 6], Operations: ['47-29=18', '70-64=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[47, 29, 70, 64], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [29, 70, 17]
Generated Node #0,0: 24:[29, 70, 17] Operation: 64-47=17
Exploring Operation: 70-47=23, Resulting Numbers: [29, 64, 23]
Generated Node #0,1: 24:[29, 64, 23] Operation: 70-47=23
Exploring Operation: 70-64=6, Resulting Numbers: [47, 29, 6]
Generated Node #0,2: 24:[47, 29, 6] Operation: 70-64=6
Exploring Operation: 70-29=41, Resulting Numbers: [47, 64, 41]
Generated Node #0,3: 24:[47, 64, 41] Operation: 70-29=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[47, 29, 6], Operations: ['70-64=6']
Exploring Operation: 47-29=18, Resulting Numbers: [6, 18]
Generated Node #0,2,0: 24:[6, 18] Operation: 47-29=18
Exploring Operation: 47-6=41, Resulting Numbers: [29, 41]
Generated Node #0,2,1: 24:[29, 41] Operation: 47-6=41
Exploring Operation: 47+6=53, Resulting Numbers: [29, 53]
Generated Node #0,2,2: 24:[29, 53] Operation: 47+6=53
Exploring Operation: 29-6=23, Resulting Numbers: [47, 23]
Generated Node #0,2,3: 24:[47, 23] Operation: 29-6=23
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 24:[6, 18], Operations: ['70-64=6', '47-29=18']
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[47, 29, 70, 64], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [47, 29, 6]
Generated Node #0,2: 24:[47, 29, 6] Operation: 70-64=6
Moving to Node #0,2
Current State: 24:[47, 29, 6], Operations: ['70-64=6']
Exploring Operation: 47-29=18, Resulting Numbers: [6, 18]
Generated Node #0,2,0: 24:[6, 18] Operation: 47-29=18
Moving to Node #0,2,0
Current State: 24:[6, 18], Operations: ['70-64=6', '47-29=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
4,
68,
37,
65
] | 10 | [
"68+37=105",
"105-65=40",
"40/4=10"
] | Current State: 10:[4, 68, 37, 65], Operations: []
Exploring Operation: 68+37=105, Resulting Numbers: [4, 65, 105]
Generated Node #2: [4, 65, 105] from Operation: 68+37=105
Current State: 10:[4, 65, 105], Operations: ['68+37=105']
Exploring Operation: 105-65=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 105-65=40
Current State: 10:[4, 40], Operations: ['68+37=105', '105-65=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[4, 68, 37, 65], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [4, 68, 28]
Generated Node #0,0: 10:[4, 68, 28] Operation: 65-37=28
Exploring Operation: 68-65=3, Resulting Numbers: [4, 37, 3]
Generated Node #0,1: 10:[4, 37, 3] Operation: 68-65=3
Exploring Operation: 68/4=17, Resulting Numbers: [37, 65, 17]
Generated Node #0,2: 10:[37, 65, 17] Operation: 68/4=17
Exploring Operation: 68-37=31, Resulting Numbers: [4, 65, 31]
Generated Node #0,3: 10:[4, 65, 31] Operation: 68-37=31
Moving to Node #0,1
Current State: 10:[4, 37, 3], Operations: ['68-65=3']
Exploring Operation: 4-3=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 10:[37, 1] Operation: 4-3=1
Exploring Operation: 37-3=34, Resulting Numbers: [4, 34]
Generated Node #0,1,1: 10:[4, 34] Operation: 37-3=34
Exploring Operation: 4+3=7, Resulting Numbers: [37, 7]
Generated Node #0,1,2: 10:[37, 7] Operation: 4+3=7
Exploring Operation: 37-4=33, Resulting Numbers: [3, 33]
Generated Node #0,1,3: 10:[3, 33] Operation: 37-4=33
Moving to Node #0,3
Current State: 10:[4, 65, 31], Operations: ['68-37=31']
Exploring Operation: 31-4=27, Resulting Numbers: [65, 27]
Generated Node #0,3,0: 10:[65, 27] Operation: 31-4=27
Exploring Operation: 65-31=34, Resulting Numbers: [4, 34]
Generated Node #0,3,1: 10:[4, 34] Operation: 65-31=34
Exploring Operation: 4+65=69, Resulting Numbers: [31, 69]
Generated Node #0,3,2: 10:[31, 69] Operation: 4+65=69
Exploring Operation: 65-4=61, Resulting Numbers: [31, 61]
Generated Node #0,3,3: 10:[31, 61] Operation: 65-4=61
Moving to Node #0,0
Current State: 10:[4, 68, 28], Operations: ['65-37=28']
Exploring Operation: 68-28=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 10:[4, 40] Operation: 68-28=40
Exploring Operation: 68/4=17, Resulting Numbers: [28, 17]
Generated Node #0,0,1: 10:[28, 17] Operation: 68/4=17
Exploring Operation: 28/4=7, Resulting Numbers: [68, 7]
Generated Node #0,0,2: 10:[68, 7] Operation: 28/4=7
Exploring Operation: 68-4=64, Resulting Numbers: [28, 64]
Generated Node #0,0,3: 10:[28, 64] Operation: 68-4=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[28, 17], Operations: ['65-37=28', '68/4=17']
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,10 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[4, 40], Operations: ['65-37=28', '68-28=40']
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,10 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[4, 68, 37, 65], Operations: []
Exploring Operation: 65-37=28, Resulting Numbers: [4, 68, 28]
Generated Node #0,0: 10:[4, 68, 28] Operation: 65-37=28
Moving to Node #0,0
Current State: 10:[4, 68, 28], Operations: ['65-37=28']
Exploring Operation: 68-28=40, Resulting Numbers: [4, 40]
Generated Node #0,0,0: 10:[4, 40] Operation: 68-28=40
Moving to Node #0,0,0
Current State: 10:[4, 40], Operations: ['65-37=28', '68-28=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
65,
2,
77,
69
] | 63 | [
"77-65=12",
"12/2=6",
"69-6=63"
] | Current State: 63:[65, 2, 77, 69], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [2, 69, 12]
Generated Node #2: [2, 69, 12] from Operation: 77-65=12
Current State: 63:[2, 69, 12], Operations: ['77-65=12']
Exploring Operation: 12/2=6, Resulting Numbers: [69, 6]
Generated Node #3: [69, 6] from Operation: 12/2=6
Current State: 63:[69, 6], Operations: ['77-65=12', '12/2=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[65, 2, 77, 69], Operations: []
Exploring Operation: 77-69=8, Resulting Numbers: [65, 2, 8]
Generated Node #0,0: 63:[65, 2, 8] Operation: 77-69=8
Exploring Operation: 69-65=4, Resulting Numbers: [2, 77, 4]
Generated Node #0,1: 63:[2, 77, 4] Operation: 69-65=4
Exploring Operation: 77-65=12, Resulting Numbers: [2, 69, 12]
Generated Node #0,2: 63:[2, 69, 12] Operation: 77-65=12
Exploring Operation: 65-2=63, Resulting Numbers: [77, 69, 63]
Generated Node #0,3: 63:[77, 69, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[65, 2, 8], Operations: ['77-69=8']
Exploring Operation: 8-2=6, Resulting Numbers: [65, 6]
Generated Node #0,0,0: 63:[65, 6] Operation: 8-2=6
Exploring Operation: 2+8=10, Resulting Numbers: [65, 10]
Generated Node #0,0,1: 63:[65, 10] Operation: 2+8=10
Exploring Operation: 8/2=4, Resulting Numbers: [65, 4]
Generated Node #0,0,2: 63:[65, 4] Operation: 8/2=4
Exploring Operation: 65-2=63, Resulting Numbers: [8, 63]
Generated Node #0,0,3: 63:[8, 63] Operation: 65-2=63
Moving to Node #0,0,3
Current State: 63:[8, 63], Operations: ['77-69=8', '65-2=63']
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 8*63=504, Resulting Numbers: [504]
504,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[65, 10], Operations: ['77-69=8', '2+8=10']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,63 unequal: No Solution
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,63 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[65, 6], Operations: ['77-69=8', '8-2=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,63 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[65, 4], Operations: ['77-69=8', '8/2=4']
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,63 unequal: No Solution
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,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,2
Current State: 63:[2, 69, 12], Operations: ['77-65=12']
Exploring Operation: 12/2=6, Resulting Numbers: [69, 6]
Generated Node #0,2,0: 63:[69, 6] Operation: 12/2=6
Exploring Operation: 69-2=67, Resulting Numbers: [12, 67]
Generated Node #0,2,1: 63:[12, 67] Operation: 69-2=67
Exploring Operation: 12-2=10, Resulting Numbers: [69, 10]
Generated Node #0,2,2: 63:[69, 10] Operation: 12-2=10
Exploring Operation: 69-12=57, Resulting Numbers: [2, 57]
Generated Node #0,2,3: 63:[2, 57] Operation: 69-12=57
Moving to Node #0,2,0
Current State: 63:[69, 6], Operations: ['77-65=12', '12/2=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[65, 2, 77, 69], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [2, 69, 12]
Generated Node #0,2: 63:[2, 69, 12] Operation: 77-65=12
Moving to Node #0,2
Current State: 63:[2, 69, 12], Operations: ['77-65=12']
Exploring Operation: 12/2=6, Resulting Numbers: [69, 6]
Generated Node #0,2,0: 63:[69, 6] Operation: 12/2=6
Moving to Node #0,2,0
Current State: 63:[69, 6], Operations: ['77-65=12', '12/2=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
44,
16,
32,
24
] | 80 | [
"44+16=60",
"32*60=1920",
"1920/24=80"
] | Current State: 80:[44, 16, 32, 24], Operations: []
Exploring Operation: 44+16=60, Resulting Numbers: [32, 24, 60]
Generated Node #2: [32, 24, 60] from Operation: 44+16=60
Current State: 80:[32, 24, 60], Operations: ['44+16=60']
Exploring Operation: 32*60=1920, Resulting Numbers: [24, 1920]
Generated Node #3: [24, 1920] from Operation: 32*60=1920
Current State: 80:[24, 1920], Operations: ['44+16=60', '32*60=1920']
Exploring Operation: 1920/24=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[44, 16, 32, 24], Operations: []
Exploring Operation: 32-24=8, Resulting Numbers: [44, 16, 8]
Generated Node #0,0: 80:[44, 16, 8] Operation: 32-24=8
Moving to Node #0,0
Current State: 80:[44, 16, 8], Operations: ['32-24=8']
Exploring Operation: 44-8=36, Resulting Numbers: [16, 36]
Generated Node #0,0,0: 80:[16, 36] Operation: 44-8=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[16, 36], Operations: ['32-24=8', '44-8=36']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,80 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 |
[
60,
9,
3,
23
] | 30 | [
"60+3=63",
"63/9=7",
"23+7=30"
] | Current State: 30:[60, 9, 3, 23], Operations: []
Exploring Operation: 60+3=63, Resulting Numbers: [9, 23, 63]
Generated Node #2: [9, 23, 63] from Operation: 60+3=63
Current State: 30:[9, 23, 63], Operations: ['60+3=63']
Exploring Operation: 63/9=7, Resulting Numbers: [23, 7]
Generated Node #3: [23, 7] from Operation: 63/9=7
Current State: 30:[23, 7], Operations: ['60+3=63', '63/9=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[60, 9, 3, 23], Operations: []
Exploring Operation: 60/3=20, Resulting Numbers: [9, 23, 20]
Generated Node #0,0: 30:[9, 23, 20] Operation: 60/3=20
Exploring Operation: 60-23=37, Resulting Numbers: [9, 3, 37]
Generated Node #0,1: 30:[9, 3, 37] Operation: 60-23=37
Moving to Node #0,1
Current State: 30:[9, 3, 37], Operations: ['60-23=37']
Exploring Operation: 37-3=34, Resulting Numbers: [9, 34]
Generated Node #0,1,0: 30:[9, 34] Operation: 37-3=34
Exploring Operation: 37-9=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 30:[3, 28] Operation: 37-9=28
Moving to Node #0,0
Current State: 30:[9, 23, 20], Operations: ['60/3=20']
Exploring Operation: 23-20=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 30:[9, 3] Operation: 23-20=3
Exploring Operation: 23-9=14, Resulting Numbers: [20, 14]
Generated Node #0,0,1: 30:[20, 14] Operation: 23-9=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[9, 3], Operations: ['60/3=20', '23-20=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[20, 14], Operations: ['60/3=20', '23-9=14']
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 30:[3, 28], Operations: ['60-23=37', '37-9=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[9, 34], Operations: ['60-23=37', '37-3=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,30 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
70,
19,
13,
3
] | 88 | [
"19-13=6",
"3*6=18",
"70+18=88"
] | Current State: 88:[70, 19, 13, 3], Operations: []
Exploring Operation: 19-13=6, Resulting Numbers: [70, 3, 6]
Generated Node #2: [70, 3, 6] from Operation: 19-13=6
Current State: 88:[70, 3, 6], Operations: ['19-13=6']
Exploring Operation: 3*6=18, Resulting Numbers: [70, 18]
Generated Node #3: [70, 18] from Operation: 3*6=18
Current State: 88:[70, 18], Operations: ['19-13=6', '3*6=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[70, 19, 13, 3], Operations: []
Exploring Operation: 70+19=89, Resulting Numbers: [13, 3, 89]
Generated Node #0,0: 88:[13, 3, 89] Operation: 70+19=89
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[13, 3, 89], Operations: ['70+19=89']
Exploring Operation: 13-3=10, Resulting Numbers: [89, 10]
Generated Node #0,0,0: 88:[89, 10] Operation: 13-3=10
Moving to Node #0,0,0
Current State: 88:[89, 10], Operations: ['70+19=89', '13-3=10']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,88 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 |
[
23,
15,
5,
27
] | 60 | [
"23+15=38",
"27-5=22",
"38+22=60"
] | Current State: 60:[23, 15, 5, 27], Operations: []
Exploring Operation: 23+15=38, Resulting Numbers: [5, 27, 38]
Generated Node #2: [5, 27, 38] from Operation: 23+15=38
Current State: 60:[5, 27, 38], Operations: ['23+15=38']
Exploring Operation: 27-5=22, Resulting Numbers: [38, 22]
Generated Node #3: [38, 22] from Operation: 27-5=22
Current State: 60:[38, 22], Operations: ['23+15=38', '27-5=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[23, 15, 5, 27], Operations: []
Exploring Operation: 27-23=4, Resulting Numbers: [15, 5, 4]
Generated Node #0,0: 60:[15, 5, 4] Operation: 27-23=4
Exploring Operation: 27-15=12, Resulting Numbers: [23, 5, 12]
Generated Node #0,1: 60:[23, 5, 12] Operation: 27-15=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[15, 5, 4], Operations: ['27-23=4']
Exploring Operation: 15+5=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 60:[4, 20] Operation: 15+5=20
Exploring Operation: 15-5=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 60:[4, 10] Operation: 15-5=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[4, 20], Operations: ['27-23=4', '15+5=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[4, 10], Operations: ['27-23=4', '15-5=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[23, 5, 12], Operations: ['27-15=12']
Exploring Operation: 23+5=28, Resulting Numbers: [12, 28]
Generated Node #0,1,0: 60:[12, 28] Operation: 23+5=28
Exploring Operation: 23-12=11, Resulting Numbers: [5, 11]
Generated Node #0,1,1: 60:[5, 11] Operation: 23-12=11
Moving to Node #0,1,1
Current State: 60:[5, 11], Operations: ['27-15=12', '23-12=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[12, 28], Operations: ['27-15=12', '23+5=28']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,60 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,60 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 |
[
20,
52,
30,
22
] | 11 | [
"52-20=32",
"32-30=2",
"22/2=11"
] | Current State: 11:[20, 52, 30, 22], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [30, 22, 32]
Generated Node #2: [30, 22, 32] from Operation: 52-20=32
Current State: 11:[30, 22, 32], Operations: ['52-20=32']
Exploring Operation: 32-30=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 32-30=2
Current State: 11:[22, 2], Operations: ['52-20=32', '32-30=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[20, 52, 30, 22], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [20, 22, 22]
Generated Node #0,0: 11:[20, 22, 22] Operation: 52-30=22
Exploring Operation: 52-20=32, Resulting Numbers: [30, 22, 32]
Generated Node #0,1: 11:[30, 22, 32] Operation: 52-20=32
Exploring Operation: 52-22=30, Resulting Numbers: [20, 30, 30]
Generated Node #0,2: 11:[20, 30, 30] Operation: 52-22=30
Moving to Node #0,0
Current State: 11:[20, 22, 22], Operations: ['52-30=22']
Exploring Operation: 22-20=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 11:[22, 2] Operation: 22-20=2
Exploring Operation: 22/22=1, Resulting Numbers: [20, 1]
Generated Node #0,0,1: 11:[20, 1] Operation: 22/22=1
Exploring Operation: 22-20=2, Resulting Numbers: [22, 2]
Generated Node #0,0,2: 11:[22, 2] Operation: 22-20=2
Moving to Node #0,2
Current State: 11:[20, 30, 30], Operations: ['52-22=30']
Exploring Operation: 30/30=1, Resulting Numbers: [20, 1]
Generated Node #0,2,0: 11:[20, 1] Operation: 30/30=1
Exploring Operation: 30-20=10, Resulting Numbers: [30, 10]
Generated Node #0,2,1: 11:[30, 10] Operation: 30-20=10
Exploring Operation: 30-20=10, Resulting Numbers: [30, 10]
Generated Node #0,2,2: 11:[30, 10] Operation: 30-20=10
Moving to Node #0,1
Current State: 11:[30, 22, 32], Operations: ['52-20=32']
Exploring Operation: 32-22=10, Resulting Numbers: [30, 10]
Generated Node #0,1,0: 11:[30, 10] Operation: 32-22=10
Exploring Operation: 30-22=8, Resulting Numbers: [32, 8]
Generated Node #0,1,1: 11:[32, 8] Operation: 30-22=8
Exploring Operation: 32-30=2, Resulting Numbers: [22, 2]
Generated Node #0,1,2: 11:[22, 2] Operation: 32-30=2
Moving to Node #0,0,1
Current State: 11:[20, 1], Operations: ['52-30=22', '22/22=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[20, 1], Operations: ['52-22=30', '30/30=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[22, 2], Operations: ['52-30=22', '22-20=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[20, 52, 30, 22], Operations: []
Exploring Operation: 52-30=22, Resulting Numbers: [20, 22, 22]
Generated Node #0,0: 11:[20, 22, 22] Operation: 52-30=22
Moving to Node #0,0
Current State: 11:[20, 22, 22], Operations: ['52-30=22']
Exploring Operation: 22-20=2, Resulting Numbers: [22, 2]
Generated Node #0,0,2: 11:[22, 2] Operation: 22-20=2
Moving to Node #0,0,2
Current State: 11:[22, 2], Operations: ['52-30=22', '22-20=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
32,
96,
97,
43
] | 32 | [
"96/32=3",
"43*3=129",
"129-97=32"
] | Current State: 32:[32, 96, 97, 43], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [97, 43, 3]
Generated Node #2: [97, 43, 3] from Operation: 96/32=3
Current State: 32:[97, 43, 3], Operations: ['96/32=3']
Exploring Operation: 43*3=129, Resulting Numbers: [97, 129]
Generated Node #3: [97, 129] from Operation: 43*3=129
Current State: 32:[97, 129], Operations: ['96/32=3', '43*3=129']
Exploring Operation: 129-97=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[32, 96, 97, 43], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [32, 97, 53]
Generated Node #0,0: 32:[32, 97, 53] Operation: 96-43=53
Exploring Operation: 96/32=3, Resulting Numbers: [97, 43, 3]
Generated Node #0,1: 32:[97, 43, 3] Operation: 96/32=3
Exploring Operation: 96-32=64, Resulting Numbers: [97, 43, 64]
Generated Node #0,2: 32:[97, 43, 64] Operation: 96-32=64
Exploring Operation: 97-43=54, Resulting Numbers: [32, 96, 54]
Generated Node #0,3: 32:[32, 96, 54] Operation: 97-43=54
Exploring Operation: 97-96=1, Resulting Numbers: [32, 43, 1]
Generated Node #0,4: 32:[32, 43, 1] Operation: 97-96=1
Moving to Node #0,4
Current State: 32:[32, 43, 1], Operations: ['97-96=1']
Exploring Operation: 43-32=11, Resulting Numbers: [1, 11]
Generated Node #0,4,0: 32:[1, 11] Operation: 43-32=11
Exploring Operation: 43-1=42, Resulting Numbers: [32, 42]
Generated Node #0,4,1: 32:[32, 42] Operation: 43-1=42
Exploring Operation: 32/1=32, Resulting Numbers: [43, 32]
Generated Node #0,4,2: 32:[43, 32] Operation: 32/1=32
Exploring Operation: 32*1=32, Resulting Numbers: [43, 32]
Generated Node #0,4,3: 32:[43, 32] Operation: 32*1=32
Exploring Operation: 43*1=43, Resulting Numbers: [32, 43]
Generated Node #0,4,4: 32:[32, 43] Operation: 43*1=43
Moving to Node #0,1
Current State: 32:[97, 43, 3], Operations: ['96/32=3']
Exploring Operation: 97-3=94, Resulting Numbers: [43, 94]
Generated Node #0,1,0: 32:[43, 94] Operation: 97-3=94
Exploring Operation: 97+3=100, Resulting Numbers: [43, 100]
Generated Node #0,1,1: 32:[43, 100] Operation: 97+3=100
Exploring Operation: 43-3=40, Resulting Numbers: [97, 40]
Generated Node #0,1,2: 32:[97, 40] Operation: 43-3=40
Exploring Operation: 97-43=54, Resulting Numbers: [3, 54]
Generated Node #0,1,3: 32:[3, 54] Operation: 97-43=54
Exploring Operation: 43+3=46, Resulting Numbers: [97, 46]
Generated Node #0,1,4: 32:[97, 46] Operation: 43+3=46
Moving to Node #0,0
Current State: 32:[32, 97, 53], Operations: ['96-43=53']
Exploring Operation: 32+97=129, Resulting Numbers: [53, 129]
Generated Node #0,0,0: 32:[53, 129] Operation: 32+97=129
Exploring Operation: 97-32=65, Resulting Numbers: [53, 65]
Generated Node #0,0,1: 32:[53, 65] Operation: 97-32=65
Exploring Operation: 53-32=21, Resulting Numbers: [97, 21]
Generated Node #0,0,2: 32:[97, 21] Operation: 53-32=21
Exploring Operation: 32+53=85, Resulting Numbers: [97, 85]
Generated Node #0,0,3: 32:[97, 85] Operation: 32+53=85
Exploring Operation: 97-53=44, Resulting Numbers: [32, 44]
Generated Node #0,0,4: 32:[32, 44] Operation: 97-53=44
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[32, 44], Operations: ['96-43=53', '97-53=44']
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,32 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution 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: 32:[53, 65], Operations: ['96-43=53', '97-32=65']
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,32 unequal: No Solution
No solution 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: 32:[97, 21], Operations: ['96-43=53', '53-32=21']
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,32 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,32 unequal: No Solution
No solution 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: 32:[53, 129], Operations: ['96-43=53', '32+97=129']
Exploring Operation: 53*129=6837, Resulting Numbers: [6837]
6837,32 unequal: No Solution
Exploring Operation: 129-53=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 53+129=182, Resulting Numbers: [182]
182,32 unequal: No Solution
No solution 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: 32:[97, 85], Operations: ['96-43=53', '32+53=85']
Exploring Operation: 97-85=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 97*85=8245, Resulting Numbers: [8245]
8245,32 unequal: No Solution
Exploring Operation: 97+85=182, Resulting Numbers: [182]
182,32 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: 32:[32, 96, 54], Operations: ['97-43=54']
Exploring Operation: 54-32=22, Resulting Numbers: [96, 22]
Generated Node #0,3,0: 32:[96, 22] Operation: 54-32=22
Exploring Operation: 96/32=3, Resulting Numbers: [54, 3]
Generated Node #0,3,1: 32:[54, 3] Operation: 96/32=3
Exploring Operation: 96-32=64, Resulting Numbers: [54, 64]
Generated Node #0,3,2: 32:[54, 64] Operation: 96-32=64
Exploring Operation: 32+96=128, Resulting Numbers: [54, 128]
Generated Node #0,3,3: 32:[54, 128] Operation: 32+96=128
Exploring Operation: 96-54=42, Resulting Numbers: [32, 42]
Generated Node #0,3,4: 32:[32, 42] Operation: 96-54=42
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 32:[32, 42], Operations: ['97-43=54', '96-54=42']
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,32 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[54, 3], Operations: ['97-43=54', '96/32=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,32 unequal: No Solution
No 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: 32:[54, 64], Operations: ['97-43=54', '96-32=64']
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,32 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[96, 22], Operations: ['97-43=54', '54-32=22']
Exploring Operation: 96+22=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 96*22=2112, Resulting Numbers: [2112]
2112,32 unequal: No Solution
Exploring Operation: 96-22=74, Resulting Numbers: [74]
74,32 unequal: No Solution
No 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: 32:[54, 128], Operations: ['97-43=54', '32+96=128']
Exploring Operation: 128-54=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 54+128=182, Resulting Numbers: [182]
182,32 unequal: No Solution
Exploring Operation: 54*128=6912, Resulting Numbers: [6912]
6912,32 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: 32:[97, 43, 64], Operations: ['96-32=64']
Exploring Operation: 64-43=21, Resulting Numbers: [97, 21]
Generated Node #0,2,0: 32:[97, 21] Operation: 64-43=21
Exploring Operation: 97-64=33, Resulting Numbers: [43, 33]
Generated Node #0,2,1: 32:[43, 33] Operation: 97-64=33
Exploring Operation: 97-43=54, Resulting Numbers: [64, 54]
Generated Node #0,2,2: 32:[64, 54] Operation: 97-43=54
Exploring Operation: 97+64=161, Resulting Numbers: [43, 161]
Generated Node #0,2,3: 32:[43, 161] Operation: 97+64=161
Exploring Operation: 97+43=140, Resulting Numbers: [64, 140]
Generated Node #0,2,4: 32:[64, 140] Operation: 97+43=140
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 32:[43, 33], Operations: ['96-32=64', '97-64=33']
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,32 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[64, 54], Operations: ['96-32=64', '97-43=54']
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,32 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,32 unequal: No Solution
No 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: 32:[97, 21], Operations: ['96-32=64', '64-43=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,32 unequal: No Solution
No 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: 32:[43, 161], Operations: ['96-32=64', '97+64=161']
Exploring Operation: 43*161=6923, Resulting Numbers: [6923]
6923,32 unequal: No Solution
Exploring Operation: 43+161=204, Resulting Numbers: [204]
204,32 unequal: No Solution
Exploring Operation: 161-43=118, Resulting Numbers: [118]
118,32 unequal: No Solution
No 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: 32:[64, 140], Operations: ['96-32=64', '97+43=140']
Exploring Operation: 140-64=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 64*140=8960, Resulting Numbers: [8960]
8960,32 unequal: No Solution
Exploring Operation: 64+140=204, Resulting Numbers: [204]
204,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 32:[1, 11], Operations: ['97-96=1', '43-32=11']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[32, 42], Operations: ['97-96=1', '43-1=42']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,32 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[43, 32], Operations: ['97-96=1', '32/1=32']
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,32 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[32, 43], Operations: ['97-96=1', '43*1=43']
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,32 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,4,3
Current State: 32:[43, 32], Operations: ['97-96=1', '32*1=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,32 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[3, 54], Operations: ['96/32=3', '97-43=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[97, 40], Operations: ['96/32=3', '43-3=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,32 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[43, 94], Operations: ['96/32=3', '97-3=94']
Exploring Operation: 43+94=137, Resulting Numbers: [137]
137,32 unequal: No Solution
Exploring Operation: 43*94=4042, Resulting Numbers: [4042]
4042,32 unequal: No Solution
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[97, 46], Operations: ['96/32=3', '43+3=46']
Exploring Operation: 97+46=143, Resulting Numbers: [143]
143,32 unequal: No Solution
Exploring Operation: 97*46=4462, Resulting Numbers: [4462]
4462,32 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[43, 100], Operations: ['96/32=3', '97+3=100']
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,32 unequal: No Solution
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
34,
32,
11,
3
] | 41 | [
"32-11=21",
"21/3=7",
"34+7=41"
] | Current State: 41:[34, 32, 11, 3], Operations: []
Exploring Operation: 32-11=21, Resulting Numbers: [34, 3, 21]
Generated Node #2: [34, 3, 21] from Operation: 32-11=21
Current State: 41:[34, 3, 21], Operations: ['32-11=21']
Exploring Operation: 21/3=7, Resulting Numbers: [34, 7]
Generated Node #3: [34, 7] from Operation: 21/3=7
Current State: 41:[34, 7], Operations: ['32-11=21', '21/3=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[34, 32, 11, 3], Operations: []
Exploring Operation: 11+3=14, Resulting Numbers: [34, 32, 14]
Generated Node #0,0: 41:[34, 32, 14] Operation: 11+3=14
Exploring Operation: 11*3=33, Resulting Numbers: [34, 32, 33]
Generated Node #0,1: 41:[34, 32, 33] Operation: 11*3=33
Exploring Operation: 32+3=35, Resulting Numbers: [34, 11, 35]
Generated Node #0,2: 41:[34, 11, 35] Operation: 32+3=35
Exploring Operation: 34+3=37, Resulting Numbers: [32, 11, 37]
Generated Node #0,3: 41:[32, 11, 37] Operation: 34+3=37
Exploring Operation: 32+11=43, Resulting Numbers: [34, 3, 43]
Generated Node #0,4: 41:[34, 3, 43] Operation: 32+11=43
Moving to Node #0,1
Current State: 41:[34, 32, 33], Operations: ['11*3=33']
Exploring Operation: 33-32=1, Resulting Numbers: [34, 1]
Generated Node #0,1,0: 41:[34, 1] Operation: 33-32=1
Exploring Operation: 32+33=65, Resulting Numbers: [34, 65]
Generated Node #0,1,1: 41:[34, 65] Operation: 32+33=65
Exploring Operation: 34+33=67, Resulting Numbers: [32, 67]
Generated Node #0,1,2: 41:[32, 67] Operation: 34+33=67
Exploring Operation: 34-32=2, Resulting Numbers: [33, 2]
Generated Node #0,1,3: 41:[33, 2] Operation: 34-32=2
Exploring Operation: 34+32=66, Resulting Numbers: [33, 66]
Generated Node #0,1,4: 41:[33, 66] Operation: 34+32=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[34, 65], Operations: ['11*3=33', '32+33=65']
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,41 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,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,4
Current State: 41:[33, 66], Operations: ['11*3=33', '34+32=66']
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,41 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,41 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,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, 67], Operations: ['11*3=33', '34+33=67']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,41 unequal: No Solution
Exploring Operation: 32+67=99, Resulting Numbers: [99]
99,41 unequal: No Solution
Exploring Operation: 32*67=2144, Resulting Numbers: [2144]
2144,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:[34, 1], Operations: ['11*3=33', '33-32=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,41 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,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,3
Current State: 41:[33, 2], Operations: ['11*3=33', '34-32=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,41 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,41 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: 41:[34, 11, 35], Operations: ['32+3=35']
Exploring Operation: 34+35=69, Resulting Numbers: [11, 69]
Generated Node #0,2,0: 41:[11, 69] Operation: 34+35=69
Exploring Operation: 34-11=23, Resulting Numbers: [35, 23]
Generated Node #0,2,1: 41:[35, 23] Operation: 34-11=23
Exploring Operation: 34+11=45, Resulting Numbers: [35, 45]
Generated Node #0,2,2: 41:[35, 45] Operation: 34+11=45
Exploring Operation: 35-11=24, Resulting Numbers: [34, 24]
Generated Node #0,2,3: 41:[34, 24] Operation: 35-11=24
Exploring Operation: 11+35=46, Resulting Numbers: [34, 46]
Generated Node #0,2,4: 41:[34, 46] Operation: 11+35=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[35, 45], Operations: ['32+3=35', '34+11=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,41 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[34, 46], Operations: ['32+3=35', '11+35=46']
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,41 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[35, 23], Operations: ['32+3=35', '34-11=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,41 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[34, 24], Operations: ['32+3=35', '35-11=24']
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,41 unequal: No Solution
Exploring Operation: 34-24=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,2,0
Current State: 41:[11, 69], Operations: ['32+3=35', '34+35=69']
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,41 unequal: No Solution
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[34, 32, 14], Operations: ['11+3=14']
Exploring Operation: 34-14=20, Resulting Numbers: [32, 20]
Generated Node #0,0,0: 41:[32, 20] Operation: 34-14=20
Exploring Operation: 34+14=48, Resulting Numbers: [32, 48]
Generated Node #0,0,1: 41:[32, 48] Operation: 34+14=48
Exploring Operation: 34+32=66, Resulting Numbers: [14, 66]
Generated Node #0,0,2: 41:[14, 66] Operation: 34+32=66
Exploring Operation: 32+14=46, Resulting Numbers: [34, 46]
Generated Node #0,0,3: 41:[34, 46] Operation: 32+14=46
Exploring Operation: 32-14=18, Resulting Numbers: [34, 18]
Generated Node #0,0,4: 41:[34, 18] Operation: 32-14=18
Moving to Node #0,3
Current State: 41:[32, 11, 37], Operations: ['34+3=37']
Exploring Operation: 37-11=26, Resulting Numbers: [32, 26]
Generated Node #0,3,0: 41:[32, 26] Operation: 37-11=26
Exploring Operation: 32+11=43, Resulting Numbers: [37, 43]
Generated Node #0,3,1: 41:[37, 43] Operation: 32+11=43
Exploring Operation: 11+37=48, Resulting Numbers: [32, 48]
Generated Node #0,3,2: 41:[32, 48] Operation: 11+37=48
Exploring Operation: 32+37=69, Resulting Numbers: [11, 69]
Generated Node #0,3,3: 41:[11, 69] Operation: 32+37=69
Exploring Operation: 32-11=21, Resulting Numbers: [37, 21]
Generated Node #0,3,4: 41:[37, 21] Operation: 32-11=21
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[37, 43], Operations: ['34+3=37', '32+11=43']
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,41 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[32, 48], Operations: ['34+3=37', '11+37=48']
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,41 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,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,3,0
Current State: 41:[32, 26], Operations: ['34+3=37', '37-11=26']
Exploring Operation: 32*26=832, Resulting Numbers: [832]
832,41 unequal: No Solution
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[37, 21], Operations: ['34+3=37', '32-11=21']
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 37*21=777, Resulting Numbers: [777]
777,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,3,3
Current State: 41:[11, 69], Operations: ['34+3=37', '32+37=69']
Exploring Operation: 69-11=58, Resulting Numbers: [58]
58,41 unequal: No Solution
Exploring Operation: 11*69=759, Resulting Numbers: [759]
759,41 unequal: No Solution
Exploring Operation: 11+69=80, Resulting Numbers: [80]
80,41 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: 41:[34, 3, 43], Operations: ['32+11=43']
Exploring Operation: 34*3=102, Resulting Numbers: [43, 102]
Generated Node #0,4,0: 41:[43, 102] Operation: 34*3=102
Exploring Operation: 3+43=46, Resulting Numbers: [34, 46]
Generated Node #0,4,1: 41:[34, 46] Operation: 3+43=46
Exploring Operation: 43-3=40, Resulting Numbers: [34, 40]
Generated Node #0,4,2: 41:[34, 40] Operation: 43-3=40
Exploring Operation: 34-3=31, Resulting Numbers: [43, 31]
Generated Node #0,4,3: 41:[43, 31] Operation: 34-3=31
Exploring Operation: 34+3=37, Resulting Numbers: [43, 37]
Generated Node #0,4,4: 41:[43, 37] Operation: 34+3=37
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[43, 37], Operations: ['32+11=43', '34+3=37']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 43*37=1591, Resulting Numbers: [1591]
1591,41 unequal: No Solution
Exploring Operation: 43+37=80, Resulting Numbers: [80]
80,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,4,2
Current State: 41:[34, 40], Operations: ['32+11=43', '43-3=40']
Exploring Operation: 34*40=1360, Resulting Numbers: [1360]
1360,41 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[34, 46], Operations: ['32+11=43', '3+43=46']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,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,4,3
Current State: 41:[43, 31], Operations: ['32+11=43', '34-3=31']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,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,4,0
Current State: 41:[43, 102], Operations: ['32+11=43', '34*3=102']
Exploring Operation: 43+102=145, Resulting Numbers: [145]
145,41 unequal: No Solution
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,41 unequal: No Solution
Exploring Operation: 43*102=4386, Resulting Numbers: [4386]
4386,41 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: 41:[34, 46], Operations: ['11+3=14', '32+14=46']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[32, 48], Operations: ['11+3=14', '34+14=48']
Exploring Operation: 32+48=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 32*48=1536, Resulting Numbers: [1536]
1536,41 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[32, 20], Operations: ['11+3=14', '34-14=20']
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,41 unequal: No Solution
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[34, 18], Operations: ['11+3=14', '32-14=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,41 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[14, 66], Operations: ['11+3=14', '34+32=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,41 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
4,
9,
21
] | 36 | [
"60+21=81",
"4*81=324",
"324/9=36"
] | Current State: 36:[60, 4, 9, 21], Operations: []
Exploring Operation: 60+21=81, Resulting Numbers: [4, 9, 81]
Generated Node #2: [4, 9, 81] from Operation: 60+21=81
Current State: 36:[4, 9, 81], Operations: ['60+21=81']
Exploring Operation: 4*81=324, Resulting Numbers: [9, 324]
Generated Node #3: [9, 324] from Operation: 4*81=324
Current State: 36:[9, 324], Operations: ['60+21=81', '4*81=324']
Exploring Operation: 324/9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[60, 4, 9, 21], Operations: []
Exploring Operation: 60-4=56, Resulting Numbers: [9, 21, 56]
Generated Node #0,0: 36:[9, 21, 56] Operation: 60-4=56
Exploring Operation: 60/4=15, Resulting Numbers: [9, 21, 15]
Generated Node #0,1: 36:[9, 21, 15] Operation: 60/4=15
Exploring Operation: 60-9=51, Resulting Numbers: [4, 21, 51]
Generated Node #0,2: 36:[4, 21, 51] Operation: 60-9=51
Exploring Operation: 60-21=39, Resulting Numbers: [4, 9, 39]
Generated Node #0,3: 36:[4, 9, 39] Operation: 60-21=39
Exploring Operation: 21-9=12, Resulting Numbers: [60, 4, 12]
Generated Node #0,4: 36:[60, 4, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[4, 9, 39], Operations: ['60-21=39']
Exploring Operation: 4*9=36, Resulting Numbers: [39, 36]
Generated Node #0,3,0: 36:[39, 36] Operation: 4*9=36
Exploring Operation: 4+9=13, Resulting Numbers: [39, 13]
Generated Node #0,3,1: 36:[39, 13] Operation: 4+9=13
Exploring Operation: 39-4=35, Resulting Numbers: [9, 35]
Generated Node #0,3,2: 36:[9, 35] Operation: 39-4=35
Exploring Operation: 9-4=5, Resulting Numbers: [39, 5]
Generated Node #0,3,3: 36:[39, 5] Operation: 9-4=5
Exploring Operation: 39-9=30, Resulting Numbers: [4, 30]
Generated Node #0,3,4: 36:[4, 30] Operation: 39-9=30
Moving to Node #0,3,2
Current State: 36:[9, 35], Operations: ['60-21=39', '39-4=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,36 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[39, 36], Operations: ['60-21=39', '4*9=36']
Exploring Operation: 39+36=75, Resulting Numbers: [75]
75,36 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 39*36=1404, Resulting Numbers: [1404]
1404,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[39, 13], Operations: ['60-21=39', '4+9=13']
Exploring Operation: 39+13=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 39*13=507, Resulting Numbers: [507]
507,36 unequal: No Solution
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[39, 5], Operations: ['60-21=39', '9-4=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,36 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Moving to Node #0,3,4
Current State: 36:[4, 30], Operations: ['60-21=39', '39-9=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,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
Current State: 36:[9, 21, 15], Operations: ['60/4=15']
Exploring Operation: 21-9=12, Resulting Numbers: [15, 12]
Generated Node #0,1,0: 36:[15, 12] Operation: 21-9=12
Exploring Operation: 9+21=30, Resulting Numbers: [15, 30]
Generated Node #0,1,1: 36:[15, 30] Operation: 9+21=30
Exploring Operation: 21+15=36, Resulting Numbers: [9, 36]
Generated Node #0,1,2: 36:[9, 36] Operation: 21+15=36
Exploring Operation: 15-9=6, Resulting Numbers: [21, 6]
Generated Node #0,1,3: 36:[21, 6] Operation: 15-9=6
Exploring Operation: 21-15=6, Resulting Numbers: [9, 6]
Generated Node #0,1,4: 36:[9, 6] Operation: 21-15=6
Moving to Node #0,1,2
Current State: 36:[9, 36], Operations: ['60/4=15', '21+15=36']
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,36 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Moving to Node #0,1,4
Current State: 36:[9, 6], Operations: ['60/4=15', '21-15=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[15, 12], Operations: ['60/4=15', '21-9=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[21, 6], Operations: ['60/4=15', '15-9=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[15, 30], Operations: ['60/4=15', '9+21=30']
Exploring Operation: 15+30=45, Resulting Numbers: [45]
45,36 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 15*30=450, Resulting Numbers: [450]
450,36 unequal: No Solution
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,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:[4, 21, 51], Operations: ['60-9=51']
Exploring Operation: 4+51=55, Resulting Numbers: [21, 55]
Generated Node #0,2,0: 36:[21, 55] Operation: 4+51=55
Exploring Operation: 51-21=30, Resulting Numbers: [4, 30]
Generated Node #0,2,1: 36:[4, 30] Operation: 51-21=30
Exploring Operation: 51-4=47, Resulting Numbers: [21, 47]
Generated Node #0,2,2: 36:[21, 47] Operation: 51-4=47
Exploring Operation: 4+21=25, Resulting Numbers: [51, 25]
Generated Node #0,2,3: 36:[51, 25] Operation: 4+21=25
Exploring Operation: 21-4=17, Resulting Numbers: [51, 17]
Generated Node #0,2,4: 36:[51, 17] Operation: 21-4=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[4, 30], Operations: ['60-9=51', '51-21=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,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:[21, 47], Operations: ['60-9=51', '51-4=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,36 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,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,4
Current State: 36:[51, 17], Operations: ['60-9=51', '21-4=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,36 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,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,0
Current State: 36:[21, 55], Operations: ['60-9=51', '4+51=55']
Exploring Operation: 21+55=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,36 unequal: No Solution
Exploring Operation: 21*55=1155, Resulting Numbers: [1155]
1155,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:[51, 25], Operations: ['60-9=51', '4+21=25']
Exploring Operation: 51*25=1275, Resulting Numbers: [1275]
1275,36 unequal: No Solution
Exploring Operation: 51+25=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,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:[9, 21, 56], Operations: ['60-4=56']
Exploring Operation: 56-9=47, Resulting Numbers: [21, 47]
Generated Node #0,0,0: 36:[21, 47] Operation: 56-9=47
Exploring Operation: 56-21=35, Resulting Numbers: [9, 35]
Generated Node #0,0,1: 36:[9, 35] Operation: 56-21=35
Exploring Operation: 21-9=12, Resulting Numbers: [56, 12]
Generated Node #0,0,2: 36:[56, 12] Operation: 21-9=12
Exploring Operation: 9+21=30, Resulting Numbers: [56, 30]
Generated Node #0,0,3: 36:[56, 30] Operation: 9+21=30
Exploring Operation: 9+56=65, Resulting Numbers: [21, 65]
Generated Node #0,0,4: 36:[21, 65] Operation: 9+56=65
Moving to Node #0,0,1
Current State: 36:[9, 35], Operations: ['60-4=56', '56-21=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,36 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[21, 47], Operations: ['60-4=56', '56-9=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,36 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[56, 12], Operations: ['60-4=56', '21-9=12']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 56*12=672, Resulting Numbers: [672]
672,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[56, 30], Operations: ['60-4=56', '9+21=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,36 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[21, 65], Operations: ['60-4=56', '9+56=65']
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,36 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,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,4
Current State: 36:[60, 4, 12], Operations: ['21-9=12']
Exploring Operation: 60-4=56, Resulting Numbers: [12, 56]
Generated Node #0,4,0: 36:[12, 56] Operation: 60-4=56
Exploring Operation: 60-12=48, Resulting Numbers: [4, 48]
Generated Node #0,4,1: 36:[4, 48] Operation: 60-12=48
Exploring Operation: 60/4=15, Resulting Numbers: [12, 15]
Generated Node #0,4,2: 36:[12, 15] Operation: 60/4=15
Exploring Operation: 12/4=3, Resulting Numbers: [60, 3]
Generated Node #0,4,3: 36:[60, 3] Operation: 12/4=3
Exploring Operation: 60/12=5, Resulting Numbers: [4, 5]
Generated Node #0,4,4: 36:[4, 5] Operation: 60/12=5
Moving to Node #0,4,4
Current State: 36:[4, 5], Operations: ['21-9=12', '60/12=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[12, 15], Operations: ['21-9=12', '60/4=15']
Exploring Operation: 12*15=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 12+15=27, Resulting Numbers: [27]
27,36 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[4, 48], Operations: ['21-9=12', '60-12=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,36 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[12, 56], Operations: ['21-9=12', '60-4=56']
Exploring Operation: 12*56=672, Resulting Numbers: [672]
672,36 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[60, 3], Operations: ['21-9=12', '12/4=3']
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
1,
55,
9,
4
] | 23 | [
"1+55=56",
"56/4=14",
"9+14=23"
] | Current State: 23:[1, 55, 9, 4], Operations: []
Exploring Operation: 1+55=56, Resulting Numbers: [9, 4, 56]
Generated Node #2: [9, 4, 56] from Operation: 1+55=56
Current State: 23:[9, 4, 56], Operations: ['1+55=56']
Exploring Operation: 56/4=14, Resulting Numbers: [9, 14]
Generated Node #3: [9, 14] from Operation: 56/4=14
Current State: 23:[9, 14], Operations: ['1+55=56', '56/4=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[1, 55, 9, 4], Operations: []
Exploring Operation: 55-1=54, Resulting Numbers: [9, 4, 54]
Generated Node #0,0: 23:[9, 4, 54] Operation: 55-1=54
Exploring Operation: 1+9=10, Resulting Numbers: [55, 4, 10]
Generated Node #0,1: 23:[55, 4, 10] Operation: 1+9=10
Exploring Operation: 55-9=46, Resulting Numbers: [1, 4, 46]
Generated Node #0,2: 23:[1, 4, 46] Operation: 55-9=46
Exploring Operation: 1+4=5, Resulting Numbers: [55, 9, 5]
Generated Node #0,3: 23:[55, 9, 5] Operation: 1+4=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[9, 4, 54], Operations: ['55-1=54']
Exploring Operation: 54-9=45, Resulting Numbers: [4, 45]
Generated Node #0,0,0: 23:[4, 45] Operation: 54-9=45
Exploring Operation: 54-4=50, Resulting Numbers: [9, 50]
Generated Node #0,0,1: 23:[9, 50] Operation: 54-4=50
Exploring Operation: 54/9=6, Resulting Numbers: [4, 6]
Generated Node #0,0,2: 23:[4, 6] Operation: 54/9=6
Exploring Operation: 9+4=13, Resulting Numbers: [54, 13]
Generated Node #0,0,3: 23:[54, 13] Operation: 9+4=13
Moving to Node #0,0,2
Current State: 23:[4, 6], Operations: ['55-1=54', '54/9=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[9, 50], Operations: ['55-1=54', '54-4=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,23 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[4, 45], Operations: ['55-1=54', '54-9=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[54, 13], Operations: ['55-1=54', '9+4=13']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 54+13=67, Resulting Numbers: [67]
67,23 unequal: No Solution
Exploring Operation: 54*13=702, Resulting Numbers: [702]
702,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[55, 4, 10], Operations: ['1+9=10']
Exploring Operation: 55+4=59, Resulting Numbers: [10, 59]
Generated Node #0,1,0: 23:[10, 59] Operation: 55+4=59
Exploring Operation: 55-10=45, Resulting Numbers: [4, 45]
Generated Node #0,1,1: 23:[4, 45] Operation: 55-10=45
Exploring Operation: 4+10=14, Resulting Numbers: [55, 14]
Generated Node #0,1,2: 23:[55, 14] Operation: 4+10=14
Exploring Operation: 55-4=51, Resulting Numbers: [10, 51]
Generated Node #0,1,3: 23:[10, 51] Operation: 55-4=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[4, 45], Operations: ['1+9=10', '55-10=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,23 unequal: No Solution
No 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: 23:[55, 14], Operations: ['1+9=10', '4+10=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,23 unequal: No Solution
No 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: 23:[10, 51], Operations: ['1+9=10', '55-4=51']
Exploring Operation: 10*51=510, Resulting Numbers: [510]
510,23 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 10+51=61, Resulting Numbers: [61]
61,23 unequal: No Solution
No 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: 23:[10, 59], Operations: ['1+9=10', '55+4=59']
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,23 unequal: No Solution
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,23 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: 23:[1, 4, 46], Operations: ['55-9=46']
Exploring Operation: 1+4=5, Resulting Numbers: [46, 5]
Generated Node #0,2,0: 23:[46, 5] Operation: 1+4=5
Exploring Operation: 1*4=4, Resulting Numbers: [46, 4]
Generated Node #0,2,1: 23:[46, 4] Operation: 1*4=4
Exploring Operation: 46-1=45, Resulting Numbers: [4, 45]
Generated Node #0,2,2: 23:[4, 45] Operation: 46-1=45
Exploring Operation: 46-4=42, Resulting Numbers: [1, 42]
Generated Node #0,2,3: 23:[1, 42] Operation: 46-4=42
Moving to Node #0,2,0
Current State: 23:[46, 5], Operations: ['55-9=46', '1+4=5']
Exploring Operation: 46*5=230, Resulting Numbers: [230]
230,23 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 46+5=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[1, 42], Operations: ['55-9=46', '46-4=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[4, 45], Operations: ['55-9=46', '46-1=45']
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[46, 4], Operations: ['55-9=46', '1*4=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,23 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,23 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,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,3
Current State: 23:[55, 9, 5], Operations: ['1+4=5']
Exploring Operation: 55/5=11, Resulting Numbers: [9, 11]
Generated Node #0,3,0: 23:[9, 11] Operation: 55/5=11
Exploring Operation: 9+5=14, Resulting Numbers: [55, 14]
Generated Node #0,3,1: 23:[55, 14] Operation: 9+5=14
Exploring Operation: 55-5=50, Resulting Numbers: [9, 50]
Generated Node #0,3,2: 23:[9, 50] Operation: 55-5=50
Exploring Operation: 55-9=46, Resulting Numbers: [5, 46]
Generated Node #0,3,3: 23:[5, 46] Operation: 55-9=46
Moving to Node #0,3,0
Current State: 23:[9, 11], Operations: ['1+4=5', '55/5=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,23 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[9, 50], Operations: ['1+4=5', '55-5=50']
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,23 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[55, 14], Operations: ['1+4=5', '9+5=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,23 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[5, 46], Operations: ['1+4=5', '55-9=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,23 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 |
[
56,
63,
84,
98
] | 61 | [
"98-56=42",
"84/42=2",
"63-2=61"
] | Current State: 61:[56, 63, 84, 98], Operations: []
Exploring Operation: 98-56=42, Resulting Numbers: [63, 84, 42]
Generated Node #2: [63, 84, 42] from Operation: 98-56=42
Current State: 61:[63, 84, 42], Operations: ['98-56=42']
Exploring Operation: 84/42=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 84/42=2
Current State: 61:[63, 2], Operations: ['98-56=42', '84/42=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[56, 63, 84, 98], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [56, 84, 35]
Generated Node #0,0: 61:[56, 84, 35] Operation: 98-63=35
Exploring Operation: 98-56=42, Resulting Numbers: [63, 84, 42]
Generated Node #0,1: 61:[63, 84, 42] Operation: 98-56=42
Moving to Node #0,1
Current State: 61:[63, 84, 42], Operations: ['98-56=42']
Exploring Operation: 84-63=21, Resulting Numbers: [42, 21]
Generated Node #0,1,0: 61:[42, 21] Operation: 84-63=21
Exploring Operation: 84-42=42, Resulting Numbers: [63, 42]
Generated Node #0,1,1: 61:[63, 42] Operation: 84-42=42
Moving to Node #0,0
Current State: 61:[56, 84, 35], Operations: ['98-63=35']
Exploring Operation: 56+35=91, Resulting Numbers: [84, 91]
Generated Node #0,0,0: 61:[84, 91] Operation: 56+35=91
Exploring Operation: 84-35=49, Resulting Numbers: [56, 49]
Generated Node #0,0,1: 61:[56, 49] Operation: 84-35=49
Moving to Node #0,0,1
Current State: 61:[56, 49], Operations: ['98-63=35', '84-35=49']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 56+49=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[63, 42], Operations: ['98-56=42', '84-42=42']
Exploring Operation: 63+42=105, Resulting Numbers: [105]
105,61 unequal: No Solution
Exploring Operation: 63-42=21, Resulting Numbers: [21]
21,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[84, 91], Operations: ['98-63=35', '56+35=91']
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 84+91=175, Resulting Numbers: [175]
175,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[42, 21], Operations: ['98-56=42', '84-63=21']
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,61 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
22,
49,
42
] | 74 | [
"59+22=81",
"49-42=7",
"81-7=74"
] | Current State: 74:[59, 22, 49, 42], Operations: []
Exploring Operation: 59+22=81, Resulting Numbers: [49, 42, 81]
Generated Node #2: [49, 42, 81] from Operation: 59+22=81
Current State: 74:[49, 42, 81], Operations: ['59+22=81']
Exploring Operation: 49-42=7, Resulting Numbers: [81, 7]
Generated Node #3: [81, 7] from Operation: 49-42=7
Current State: 74:[81, 7], Operations: ['59+22=81', '49-42=7']
Exploring Operation: 81-7=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[59, 22, 49, 42], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [49, 42, 37]
Generated Node #0,0: 74:[49, 42, 37] Operation: 59-22=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[49, 42, 37], Operations: ['59-22=37']
Exploring Operation: 49-42=7, Resulting Numbers: [37, 7]
Generated Node #0,0,0: 74:[37, 7] Operation: 49-42=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[37, 7], Operations: ['59-22=37', '49-42=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
55,
69,
10,
35
] | 11 | [
"69-55=14",
"35-10=25",
"25-14=11"
] | Current State: 11:[55, 69, 10, 35], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [10, 35, 14]
Generated Node #2: [10, 35, 14] from Operation: 69-55=14
Current State: 11:[10, 35, 14], Operations: ['69-55=14']
Exploring Operation: 35-10=25, Resulting Numbers: [14, 25]
Generated Node #3: [14, 25] from Operation: 35-10=25
Current State: 11:[14, 25], Operations: ['69-55=14', '35-10=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[55, 69, 10, 35], Operations: []
Exploring Operation: 69-35=34, Resulting Numbers: [55, 10, 34]
Generated Node #0,0: 11:[55, 10, 34] Operation: 69-35=34
Exploring Operation: 55-35=20, Resulting Numbers: [69, 10, 20]
Generated Node #0,1: 11:[69, 10, 20] Operation: 55-35=20
Exploring Operation: 55-10=45, Resulting Numbers: [69, 35, 45]
Generated Node #0,2: 11:[69, 35, 45] Operation: 55-10=45
Exploring Operation: 69-10=59, Resulting Numbers: [55, 35, 59]
Generated Node #0,3: 11:[55, 35, 59] Operation: 69-10=59
Exploring Operation: 69-55=14, Resulting Numbers: [10, 35, 14]
Generated Node #0,4: 11:[10, 35, 14] Operation: 69-55=14
Moving to Node #0,4
Current State: 11:[10, 35, 14], Operations: ['69-55=14']
Exploring Operation: 10+14=24, Resulting Numbers: [35, 24]
Generated Node #0,4,0: 11:[35, 24] Operation: 10+14=24
Exploring Operation: 14-10=4, Resulting Numbers: [35, 4]
Generated Node #0,4,1: 11:[35, 4] Operation: 14-10=4
Exploring Operation: 35-10=25, Resulting Numbers: [14, 25]
Generated Node #0,4,2: 11:[14, 25] Operation: 35-10=25
Exploring Operation: 35-14=21, Resulting Numbers: [10, 21]
Generated Node #0,4,3: 11:[10, 21] Operation: 35-14=21
Exploring Operation: 10+35=45, Resulting Numbers: [14, 45]
Generated Node #0,4,4: 11:[14, 45] Operation: 10+35=45
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 11:[10, 21], Operations: ['69-55=14', '35-14=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[55, 69, 10, 35], Operations: []
Exploring Operation: 69-55=14, Resulting Numbers: [10, 35, 14]
Generated Node #0,4: 11:[10, 35, 14] Operation: 69-55=14
Moving to Node #0,4
Current State: 11:[10, 35, 14], Operations: ['69-55=14']
Exploring Operation: 35-14=21, Resulting Numbers: [10, 21]
Generated Node #0,4,3: 11:[10, 21] Operation: 35-14=21
Moving to Node #0,4,3
Current State: 11:[10, 21], Operations: ['69-55=14', '35-14=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
97,
11,
68,
4
] | 10 | [
"97+11=108",
"108-68=40",
"40/4=10"
] | Current State: 10:[97, 11, 68, 4], Operations: []
Exploring Operation: 97+11=108, Resulting Numbers: [68, 4, 108]
Generated Node #2: [68, 4, 108] from Operation: 97+11=108
Current State: 10:[68, 4, 108], Operations: ['97+11=108']
Exploring Operation: 108-68=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 108-68=40
Current State: 10:[4, 40], Operations: ['97+11=108', '108-68=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[97, 11, 68, 4], Operations: []
Exploring Operation: 97-11=86, Resulting Numbers: [68, 4, 86]
Generated Node #0,0: 10:[68, 4, 86] Operation: 97-11=86
Exploring Operation: 68/4=17, Resulting Numbers: [97, 11, 17]
Generated Node #0,1: 10:[97, 11, 17] Operation: 68/4=17
Exploring Operation: 97-68=29, Resulting Numbers: [11, 4, 29]
Generated Node #0,2: 10:[11, 4, 29] Operation: 97-68=29
Moving to Node #0,2
Current State: 10:[11, 4, 29], Operations: ['97-68=29']
Exploring Operation: 29-4=25, Resulting Numbers: [11, 25]
Generated Node #0,2,0: 10:[11, 25] Operation: 29-4=25
Exploring Operation: 29-11=18, Resulting Numbers: [4, 18]
Generated Node #0,2,1: 10:[4, 18] Operation: 29-11=18
Exploring Operation: 11-4=7, Resulting Numbers: [29, 7]
Generated Node #0,2,2: 10:[29, 7] Operation: 11-4=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[4, 18], Operations: ['97-68=29', '29-11=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[11, 25], Operations: ['97-68=29', '29-4=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,10 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[29, 7], Operations: ['97-68=29', '11-4=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,10 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: 10:[97, 11, 17], Operations: ['68/4=17']
Exploring Operation: 17-11=6, Resulting Numbers: [97, 6]
Generated Node #0,1,0: 10:[97, 6] Operation: 17-11=6
Exploring Operation: 97-17=80, Resulting Numbers: [11, 80]
Generated Node #0,1,1: 10:[11, 80] Operation: 97-17=80
Exploring Operation: 97-11=86, Resulting Numbers: [17, 86]
Generated Node #0,1,2: 10:[17, 86] Operation: 97-11=86
Moving to Node #0,0
Current State: 10:[68, 4, 86], Operations: ['97-11=86']
Exploring Operation: 86-68=18, Resulting Numbers: [4, 18]
Generated Node #0,0,0: 10:[4, 18] Operation: 86-68=18
Exploring Operation: 68/4=17, Resulting Numbers: [86, 17]
Generated Node #0,0,1: 10:[86, 17] Operation: 68/4=17
Exploring Operation: 68-4=64, Resulting Numbers: [86, 64]
Generated Node #0,0,2: 10:[86, 64] Operation: 68-4=64
Moving to Node #0,0,0
Current State: 10:[4, 18], Operations: ['97-11=86', '86-68=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[11, 80], Operations: ['68/4=17', '97-17=80']
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,10 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[86, 17], Operations: ['97-11=86', '68/4=17']
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[17, 86], Operations: ['68/4=17', '97-11=86']
Exploring Operation: 17+86=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 17*86=1462, Resulting Numbers: [1462]
1462,10 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[97, 6], Operations: ['68/4=17', '17-11=6']
Exploring Operation: 97-6=91, Resulting Numbers: [91]
91,10 unequal: No Solution
Exploring Operation: 97+6=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 97*6=582, Resulting Numbers: [582]
582,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[86, 64], Operations: ['97-11=86', '68-4=64']
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,10 unequal: No Solution
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,10 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
40,
44,
85,
55
] | 55 | [
"40+44=84",
"85-84=1",
"55*1=55"
] | Current State: 55:[40, 44, 85, 55], Operations: []
Exploring Operation: 40+44=84, Resulting Numbers: [85, 55, 84]
Generated Node #2: [85, 55, 84] from Operation: 40+44=84
Current State: 55:[85, 55, 84], Operations: ['40+44=84']
Exploring Operation: 85-84=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 85-84=1
Current State: 55:[55, 1], Operations: ['40+44=84', '85-84=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[40, 44, 85, 55], Operations: []
Exploring Operation: 85-44=41, Resulting Numbers: [40, 55, 41]
Generated Node #0,0: 55:[40, 55, 41] Operation: 85-44=41
Exploring Operation: 85-40=45, Resulting Numbers: [44, 55, 45]
Generated Node #0,1: 55:[44, 55, 45] Operation: 85-40=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[44, 55, 45], Operations: ['85-40=45']
Exploring Operation: 45-44=1, Resulting Numbers: [55, 1]
Generated Node #0,1,0: 55:[55, 1] Operation: 45-44=1
Exploring Operation: 55-44=11, Resulting Numbers: [45, 11]
Generated Node #0,1,1: 55:[45, 11] Operation: 55-44=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[55, 1], Operations: ['85-40=45', '45-44=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[40, 44, 85, 55], Operations: []
Exploring Operation: 85-40=45, Resulting Numbers: [44, 55, 45]
Generated Node #0,1: 55:[44, 55, 45] Operation: 85-40=45
Moving to Node #0,1
Current State: 55:[44, 55, 45], Operations: ['85-40=45']
Exploring Operation: 45-44=1, Resulting Numbers: [55, 1]
Generated Node #0,1,0: 55:[55, 1] Operation: 45-44=1
Moving to Node #0,1,0
Current State: 55:[55, 1], Operations: ['85-40=45', '45-44=1']
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
87,
95,
75,
72
] | 90 | [
"87-72=15",
"75/15=5",
"95-5=90"
] | Current State: 90:[87, 95, 75, 72], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [95, 75, 15]
Generated Node #2: [95, 75, 15] from Operation: 87-72=15
Current State: 90:[95, 75, 15], Operations: ['87-72=15']
Exploring Operation: 75/15=5, Resulting Numbers: [95, 5]
Generated Node #3: [95, 5] from Operation: 75/15=5
Current State: 90:[95, 5], Operations: ['87-72=15', '75/15=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[87, 95, 75, 72], Operations: []
Exploring Operation: 87-72=15, Resulting Numbers: [95, 75, 15]
Generated Node #0,0: 90:[95, 75, 15] Operation: 87-72=15
Exploring Operation: 75-72=3, Resulting Numbers: [87, 95, 3]
Generated Node #0,1: 90:[87, 95, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[87, 95, 3], Operations: ['75-72=3']
Exploring Operation: 87+3=90, Resulting Numbers: [95, 90]
Generated Node #0,1,0: 90:[95, 90] Operation: 87+3=90
Exploring Operation: 95-87=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 90:[3, 8] Operation: 95-87=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[3, 8], Operations: ['75-72=3', '95-87=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[95, 90], Operations: ['75-72=3', '87+3=90']
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[95, 75, 15], Operations: ['87-72=15']
Exploring Operation: 95-75=20, Resulting Numbers: [15, 20]
Generated Node #0,0,0: 90:[15, 20] Operation: 95-75=20
Exploring Operation: 75+15=90, Resulting Numbers: [95, 90]
Generated Node #0,0,1: 90:[95, 90] Operation: 75+15=90
Moving to Node #0,0,0
Current State: 90:[15, 20], Operations: ['87-72=15', '95-75=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,90 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[95, 90], Operations: ['87-72=15', '75+15=90']
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,90 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,90 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 |
[
68,
56,
8,
60
] | 36 | [
"68-56=12",
"8*12=96",
"96-60=36"
] | Current State: 36:[68, 56, 8, 60], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [8, 60, 12]
Generated Node #2: [8, 60, 12] from Operation: 68-56=12
Current State: 36:[8, 60, 12], Operations: ['68-56=12']
Exploring Operation: 8*12=96, Resulting Numbers: [60, 96]
Generated Node #3: [60, 96] from Operation: 8*12=96
Current State: 36:[60, 96], Operations: ['68-56=12', '8*12=96']
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[68, 56, 8, 60], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [56, 8, 8]
Generated Node #0,0: 36:[56, 8, 8] Operation: 68-60=8
Exploring Operation: 60-56=4, Resulting Numbers: [68, 8, 4]
Generated Node #0,1: 36:[68, 8, 4] Operation: 60-56=4
Exploring Operation: 68-56=12, Resulting Numbers: [8, 60, 12]
Generated Node #0,2: 36:[8, 60, 12] Operation: 68-56=12
Moving to Node #0,0
Current State: 36:[56, 8, 8], Operations: ['68-60=8']
Exploring Operation: 56/8=7, Resulting Numbers: [8, 7]
Generated Node #0,0,0: 36:[8, 7] Operation: 56/8=7
Exploring Operation: 56-8=48, Resulting Numbers: [8, 48]
Generated Node #0,0,1: 36:[8, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [8, 7]
Generated Node #0,0,2: 36:[8, 7] Operation: 56/8=7
Moving to Node #0,2
Current State: 36:[8, 60, 12], Operations: ['68-56=12']
Exploring Operation: 60/12=5, Resulting Numbers: [8, 5]
Generated Node #0,2,0: 36:[8, 5] Operation: 60/12=5
Exploring Operation: 60-8=52, Resulting Numbers: [12, 52]
Generated Node #0,2,1: 36:[12, 52] Operation: 60-8=52
Exploring Operation: 60-12=48, Resulting Numbers: [8, 48]
Generated Node #0,2,2: 36:[8, 48] Operation: 60-12=48
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[8, 5], Operations: ['68-56=12', '60/12=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,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,2
Current State: 36:[8, 48], Operations: ['68-56=12', '60-12=48']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,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,1
Current State: 36:[12, 52], Operations: ['68-56=12', '60-8=52']
Exploring Operation: 12+52=64, Resulting Numbers: [64]
64,36 unequal: No Solution
Exploring Operation: 12*52=624, Resulting Numbers: [624]
624,36 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,36 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: 36:[68, 8, 4], Operations: ['60-56=4']
Exploring Operation: 68-4=64, Resulting Numbers: [8, 64]
Generated Node #0,1,0: 36:[8, 64] Operation: 68-4=64
Exploring Operation: 68/4=17, Resulting Numbers: [8, 17]
Generated Node #0,1,1: 36:[8, 17] Operation: 68/4=17
Exploring Operation: 68-8=60, Resulting Numbers: [4, 60]
Generated Node #0,1,2: 36:[4, 60] Operation: 68-8=60
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[8, 17], Operations: ['60-56=4', '68/4=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,36 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,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,2
Current State: 36:[4, 60], Operations: ['60-56=4', '68-8=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,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:[8, 64], Operations: ['60-56=4', '68-4=64']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 36:[8, 7], Operations: ['68-60=8', '56/8=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[8, 7], Operations: ['68-60=8', '56/8=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[8, 48], Operations: ['68-60=8', '56-8=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
83,
4,
66,
56
] | 12 | [
"83-66=17",
"4*17=68",
"68-56=12"
] | Current State: 12:[83, 4, 66, 56], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [4, 56, 17]
Generated Node #2: [4, 56, 17] from Operation: 83-66=17
Current State: 12:[4, 56, 17], Operations: ['83-66=17']
Exploring Operation: 4*17=68, Resulting Numbers: [56, 68]
Generated Node #3: [56, 68] from Operation: 4*17=68
Current State: 12:[56, 68], Operations: ['83-66=17', '4*17=68']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[83, 4, 66, 56], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [4, 56, 17]
Generated Node #0,0: 12:[4, 56, 17] Operation: 83-66=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[4, 56, 17], Operations: ['83-66=17']
Exploring Operation: 56/4=14, Resulting Numbers: [17, 14]
Generated Node #0,0,0: 12:[17, 14] Operation: 56/4=14
Moving to Node #0,0,0
Current State: 12:[17, 14], Operations: ['83-66=17', '56/4=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,12 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 |
[
27,
20,
83,
77
] | 93 | [
"83-77=6",
"20*6=120",
"120-27=93"
] | Current State: 93:[27, 20, 83, 77], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [27, 20, 6]
Generated Node #2: [27, 20, 6] from Operation: 83-77=6
Current State: 93:[27, 20, 6], Operations: ['83-77=6']
Exploring Operation: 20*6=120, Resulting Numbers: [27, 120]
Generated Node #3: [27, 120] from Operation: 20*6=120
Current State: 93:[27, 120], Operations: ['83-77=6', '20*6=120']
Exploring Operation: 120-27=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[27, 20, 83, 77], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [83, 77, 7]
Generated Node #0,0: 93:[83, 77, 7] Operation: 27-20=7
Exploring Operation: 20+77=97, Resulting Numbers: [27, 83, 97]
Generated Node #0,1: 93:[27, 83, 97] Operation: 20+77=97
Exploring Operation: 83-77=6, Resulting Numbers: [27, 20, 6]
Generated Node #0,2: 93:[27, 20, 6] Operation: 83-77=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[27, 83, 97], Operations: ['20+77=97']
Exploring Operation: 27+83=110, Resulting Numbers: [97, 110]
Generated Node #0,1,0: 93:[97, 110] Operation: 27+83=110
Exploring Operation: 97-83=14, Resulting Numbers: [27, 14]
Generated Node #0,1,1: 93:[27, 14] Operation: 97-83=14
Exploring Operation: 83-27=56, Resulting Numbers: [97, 56]
Generated Node #0,1,2: 93:[97, 56] Operation: 83-27=56
Moving to Node #0,1,1
Current State: 93:[27, 14], Operations: ['20+77=97', '97-83=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[97, 110], Operations: ['20+77=97', '27+83=110']
Exploring Operation: 110-97=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 97+110=207, Resulting Numbers: [207]
207,93 unequal: No Solution
Exploring Operation: 97*110=10670, Resulting Numbers: [10670]
10670,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[97, 56], Operations: ['20+77=97', '83-27=56']
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,93 unequal: No Solution
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[27, 20, 6], Operations: ['83-77=6']
Exploring Operation: 20+6=26, Resulting Numbers: [27, 26]
Generated Node #0,2,0: 93:[27, 26] Operation: 20+6=26
Exploring Operation: 27+6=33, Resulting Numbers: [20, 33]
Generated Node #0,2,1: 93:[20, 33] Operation: 27+6=33
Exploring Operation: 27-20=7, Resulting Numbers: [6, 7]
Generated Node #0,2,2: 93:[6, 7] Operation: 27-20=7
Moving to Node #0,2,2
Current State: 93:[6, 7], Operations: ['83-77=6', '27-20=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[27, 26], Operations: ['83-77=6', '20+6=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,93 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[20, 33], Operations: ['83-77=6', '27+6=33']
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,93 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,93 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[83, 77, 7], Operations: ['27-20=7']
Exploring Operation: 77/7=11, Resulting Numbers: [83, 11]
Generated Node #0,0,0: 93:[83, 11] Operation: 77/7=11
Exploring Operation: 83+7=90, Resulting Numbers: [77, 90]
Generated Node #0,0,1: 93:[77, 90] Operation: 83+7=90
Exploring Operation: 83-77=6, Resulting Numbers: [7, 6]
Generated Node #0,0,2: 93:[7, 6] Operation: 83-77=6
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[7, 6], Operations: ['27-20=7', '83-77=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,93 unequal: No Solution
No 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: 93:[83, 11], Operations: ['27-20=7', '77/7=11']
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,93 unequal: No Solution
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,93 unequal: No Solution
No 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: 93:[77, 90], Operations: ['27-20=7', '83+7=90']
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,93 unequal: No Solution
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,93 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 |
[
89,
21,
17,
8
] | 87 | [
"21-17=4",
"8/4=2",
"89-2=87"
] | Current State: 87:[89, 21, 17, 8], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [89, 8, 4]
Generated Node #2: [89, 8, 4] from Operation: 21-17=4
Current State: 87:[89, 8, 4], Operations: ['21-17=4']
Exploring Operation: 8/4=2, Resulting Numbers: [89, 2]
Generated Node #3: [89, 2] from Operation: 8/4=2
Current State: 87:[89, 2], Operations: ['21-17=4', '8/4=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[89, 21, 17, 8], Operations: []
Exploring Operation: 21+8=29, Resulting Numbers: [89, 17, 29]
Generated Node #0,0: 87:[89, 17, 29] Operation: 21+8=29
Exploring Operation: 21-17=4, Resulting Numbers: [89, 8, 4]
Generated Node #0,1: 87:[89, 8, 4] Operation: 21-17=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[89, 8, 4], Operations: ['21-17=4']
Exploring Operation: 8/4=2, Resulting Numbers: [89, 2]
Generated Node #0,1,0: 87:[89, 2] Operation: 8/4=2
Exploring Operation: 8-4=4, Resulting Numbers: [89, 4]
Generated Node #0,1,1: 87:[89, 4] Operation: 8-4=4
Moving to Node #0,1,0
Current State: 87:[89, 2], Operations: ['21-17=4', '8/4=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[89, 21, 17, 8], Operations: []
Exploring Operation: 21-17=4, Resulting Numbers: [89, 8, 4]
Generated Node #0,1: 87:[89, 8, 4] Operation: 21-17=4
Moving to Node #0,1
Current State: 87:[89, 8, 4], Operations: ['21-17=4']
Exploring Operation: 8/4=2, Resulting Numbers: [89, 2]
Generated Node #0,1,0: 87:[89, 2] Operation: 8/4=2
Moving to Node #0,1,0
Current State: 87:[89, 2], Operations: ['21-17=4', '8/4=2']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
92,
66,
72,
76
] | 89 | [
"76-72=4",
"92/4=23",
"66+23=89"
] | Current State: 89:[92, 66, 72, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [92, 66, 4]
Generated Node #2: [92, 66, 4] from Operation: 76-72=4
Current State: 89:[92, 66, 4], Operations: ['76-72=4']
Exploring Operation: 92/4=23, Resulting Numbers: [66, 23]
Generated Node #3: [66, 23] from Operation: 92/4=23
Current State: 89:[66, 23], Operations: ['76-72=4', '92/4=23']
Exploring Operation: 66+23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[92, 66, 72, 76], Operations: []
Exploring Operation: 66+72=138, Resulting Numbers: [92, 76, 138]
Generated Node #0,0: 89:[92, 76, 138] Operation: 66+72=138
Exploring Operation: 92+66=158, Resulting Numbers: [72, 76, 158]
Generated Node #0,1: 89:[72, 76, 158] Operation: 92+66=158
Exploring Operation: 92-66=26, Resulting Numbers: [72, 76, 26]
Generated Node #0,2: 89:[72, 76, 26] Operation: 92-66=26
Exploring Operation: 72+76=148, Resulting Numbers: [92, 66, 148]
Generated Node #0,3: 89:[92, 66, 148] Operation: 72+76=148
Exploring Operation: 66+76=142, Resulting Numbers: [92, 72, 142]
Generated Node #0,4: 89:[92, 72, 142] Operation: 66+76=142
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[92, 76, 138], Operations: ['66+72=138']
Exploring Operation: 76+138=214, Resulting Numbers: [92, 214]
Generated Node #0,0,0: 89:[92, 214] Operation: 76+138=214
Exploring Operation: 92-76=16, Resulting Numbers: [138, 16]
Generated Node #0,0,1: 89:[138, 16] Operation: 92-76=16
Exploring Operation: 92+76=168, Resulting Numbers: [138, 168]
Generated Node #0,0,2: 89:[138, 168] Operation: 92+76=168
Exploring Operation: 138-76=62, Resulting Numbers: [92, 62]
Generated Node #0,0,3: 89:[92, 62] Operation: 138-76=62
Exploring Operation: 138-92=46, Resulting Numbers: [76, 46]
Generated Node #0,0,4: 89:[76, 46] Operation: 138-92=46
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[92, 62], Operations: ['66+72=138', '138-76=62']
Exploring Operation: 92+62=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 92*62=5704, Resulting Numbers: [5704]
5704,89 unequal: No Solution
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 89:[76, 46], Operations: ['66+72=138', '138-92=46']
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,89 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[138, 16], Operations: ['66+72=138', '92-76=16']
Exploring Operation: 138*16=2208, Resulting Numbers: [2208]
2208,89 unequal: No Solution
Exploring Operation: 138+16=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 138-16=122, Resulting Numbers: [122]
122,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[92, 214], Operations: ['66+72=138', '76+138=214']
Exploring Operation: 214-92=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 92+214=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 92*214=19688, Resulting Numbers: [19688]
19688,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[138, 168], Operations: ['66+72=138', '92+76=168']
Exploring Operation: 138+168=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 138*168=23184, Resulting Numbers: [23184]
23184,89 unequal: No Solution
Exploring Operation: 168-138=30, Resulting Numbers: [30]
30,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[92, 72, 142], Operations: ['66+76=142']
Exploring Operation: 92+72=164, Resulting Numbers: [142, 164]
Generated Node #0,4,0: 89:[142, 164] Operation: 92+72=164
Exploring Operation: 72+142=214, Resulting Numbers: [92, 214]
Generated Node #0,4,1: 89:[92, 214] Operation: 72+142=214
Exploring Operation: 142-72=70, Resulting Numbers: [92, 70]
Generated Node #0,4,2: 89:[92, 70] Operation: 142-72=70
Exploring Operation: 142-92=50, Resulting Numbers: [72, 50]
Generated Node #0,4,3: 89:[72, 50] Operation: 142-92=50
Exploring Operation: 92-72=20, Resulting Numbers: [142, 20]
Generated Node #0,4,4: 89:[142, 20] Operation: 92-72=20
Moving to Node #0,4,2
Current State: 89:[92, 70], Operations: ['66+76=142', '142-72=70']
Exploring Operation: 92*70=6440, Resulting Numbers: [6440]
6440,89 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 92+70=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[72, 50], Operations: ['66+76=142', '142-92=50']
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,89 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[142, 20], Operations: ['66+76=142', '92-72=20']
Exploring Operation: 142*20=2840, Resulting Numbers: [2840]
2840,89 unequal: No Solution
Exploring Operation: 142-20=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 142+20=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[142, 164], Operations: ['66+76=142', '92+72=164']
Exploring Operation: 142*164=23288, Resulting Numbers: [23288]
23288,89 unequal: No Solution
Exploring Operation: 164-142=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 142+164=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[92, 214], Operations: ['66+76=142', '72+142=214']
Exploring Operation: 92+214=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 92*214=19688, Resulting Numbers: [19688]
19688,89 unequal: No Solution
Exploring Operation: 214-92=122, Resulting Numbers: [122]
122,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[92, 66, 148], Operations: ['72+76=148']
Exploring Operation: 66+148=214, Resulting Numbers: [92, 214]
Generated Node #0,3,0: 89:[92, 214] Operation: 66+148=214
Exploring Operation: 148-66=82, Resulting Numbers: [92, 82]
Generated Node #0,3,1: 89:[92, 82] Operation: 148-66=82
Exploring Operation: 92+66=158, Resulting Numbers: [148, 158]
Generated Node #0,3,2: 89:[148, 158] Operation: 92+66=158
Exploring Operation: 148-92=56, Resulting Numbers: [66, 56]
Generated Node #0,3,3: 89:[66, 56] Operation: 148-92=56
Exploring Operation: 92-66=26, Resulting Numbers: [148, 26]
Generated Node #0,3,4: 89:[148, 26] Operation: 92-66=26
Moving to Node #0,3,1
Current State: 89:[92, 82], Operations: ['72+76=148', '148-66=82']
Exploring Operation: 92+82=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 92*82=7544, Resulting Numbers: [7544]
7544,89 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[66, 56], Operations: ['72+76=148', '148-92=56']
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[148, 26], Operations: ['72+76=148', '92-66=26']
Exploring Operation: 148+26=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 148*26=3848, Resulting Numbers: [3848]
3848,89 unequal: No Solution
Exploring Operation: 148-26=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[92, 214], Operations: ['72+76=148', '66+148=214']
Exploring Operation: 214-92=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 92+214=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 92*214=19688, Resulting Numbers: [19688]
19688,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[148, 158], Operations: ['72+76=148', '92+66=158']
Exploring Operation: 158-148=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 148*158=23384, Resulting Numbers: [23384]
23384,89 unequal: No Solution
Exploring Operation: 148+158=306, Resulting Numbers: [306]
306,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[72, 76, 26], Operations: ['92-66=26']
Exploring Operation: 76-26=50, Resulting Numbers: [72, 50]
Generated Node #0,2,0: 89:[72, 50] Operation: 76-26=50
Exploring Operation: 72+76=148, Resulting Numbers: [26, 148]
Generated Node #0,2,1: 89:[26, 148] Operation: 72+76=148
Exploring Operation: 72-26=46, Resulting Numbers: [76, 46]
Generated Node #0,2,2: 89:[76, 46] Operation: 72-26=46
Exploring Operation: 76+26=102, Resulting Numbers: [72, 102]
Generated Node #0,2,3: 89:[72, 102] Operation: 76+26=102
Exploring Operation: 72+26=98, Resulting Numbers: [76, 98]
Generated Node #0,2,4: 89:[76, 98] Operation: 72+26=98
Moving to Node #0,2,4
Current State: 89:[76, 98], Operations: ['92-66=26', '72+26=98']
Exploring Operation: 76*98=7448, Resulting Numbers: [7448]
7448,89 unequal: No Solution
Exploring Operation: 76+98=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[72, 102], Operations: ['92-66=26', '76+26=102']
Exploring Operation: 72*102=7344, Resulting Numbers: [7344]
7344,89 unequal: No Solution
Exploring Operation: 72+102=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 102-72=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[72, 50], Operations: ['92-66=26', '76-26=50']
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,89 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[76, 46], Operations: ['92-66=26', '72-26=46']
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[26, 148], Operations: ['92-66=26', '72+76=148']
Exploring Operation: 26+148=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 148-26=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 26*148=3848, Resulting Numbers: [3848]
3848,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[72, 76, 158], Operations: ['92+66=158']
Exploring Operation: 76-72=4, Resulting Numbers: [158, 4]
Generated Node #0,1,0: 89:[158, 4] Operation: 76-72=4
Exploring Operation: 72+76=148, Resulting Numbers: [158, 148]
Generated Node #0,1,1: 89:[158, 148] Operation: 72+76=148
Exploring Operation: 72+158=230, Resulting Numbers: [76, 230]
Generated Node #0,1,2: 89:[76, 230] Operation: 72+158=230
Exploring Operation: 158-76=82, Resulting Numbers: [72, 82]
Generated Node #0,1,3: 89:[72, 82] Operation: 158-76=82
Exploring Operation: 158-72=86, Resulting Numbers: [76, 86]
Generated Node #0,1,4: 89:[76, 86] Operation: 158-72=86
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 89:[76, 86], Operations: ['92+66=158', '158-72=86']
Exploring Operation: 76+86=162, Resulting Numbers: [162]
162,89 unequal: No Solution
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 76*86=6536, Resulting Numbers: [6536]
6536,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[72, 82], Operations: ['92+66=158', '158-76=82']
Exploring Operation: 82-72=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 72*82=5904, Resulting Numbers: [5904]
5904,89 unequal: No Solution
Exploring Operation: 72+82=154, Resulting Numbers: [154]
154,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[158, 148], Operations: ['92+66=158', '72+76=148']
Exploring Operation: 158+148=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 158*148=23384, Resulting Numbers: [23384]
23384,89 unequal: No Solution
Exploring Operation: 158-148=10, Resulting Numbers: [10]
10,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[158, 4], Operations: ['92+66=158', '76-72=4']
Exploring Operation: 158*4=632, Resulting Numbers: [632]
632,89 unequal: No Solution
Exploring Operation: 158-4=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 158+4=162, Resulting Numbers: [162]
162,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[76, 230], Operations: ['92+66=158', '72+158=230']
Exploring Operation: 76+230=306, Resulting Numbers: [306]
306,89 unequal: No Solution
Exploring Operation: 230-76=154, Resulting Numbers: [154]
154,89 unequal: No Solution
Exploring Operation: 76*230=17480, Resulting Numbers: [17480]
17480,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
9,
36,
64
] | 25 | [
"66+9=75",
"36+64=100",
"100-75=25"
] | Current State: 25:[66, 9, 36, 64], Operations: []
Exploring Operation: 66+9=75, Resulting Numbers: [36, 64, 75]
Generated Node #2: [36, 64, 75] from Operation: 66+9=75
Current State: 25:[36, 64, 75], Operations: ['66+9=75']
Exploring Operation: 36+64=100, Resulting Numbers: [75, 100]
Generated Node #3: [75, 100] from Operation: 36+64=100
Current State: 25:[75, 100], Operations: ['66+9=75', '36+64=100']
Exploring Operation: 100-75=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[66, 9, 36, 64], Operations: []
Exploring Operation: 66-64=2, Resulting Numbers: [9, 36, 2]
Generated Node #0,0: 25:[9, 36, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[9, 36, 2], Operations: ['66-64=2']
Exploring Operation: 36/9=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 25:[2, 4] Operation: 36/9=4
Moving to Node #0,0,0
Current State: 25:[2, 4], Operations: ['66-64=2', '36/9=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,25 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 |
[
44,
44,
21,
94
] | 74 | [
"44/44=1",
"94-21=73",
"1+73=74"
] | Current State: 74:[44, 44, 21, 94], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [21, 94, 1]
Generated Node #2: [21, 94, 1] from Operation: 44/44=1
Current State: 74:[21, 94, 1], Operations: ['44/44=1']
Exploring Operation: 94-21=73, Resulting Numbers: [1, 73]
Generated Node #3: [1, 73] from Operation: 94-21=73
Current State: 74:[1, 73], Operations: ['44/44=1', '94-21=73']
Exploring Operation: 1+73=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[44, 44, 21, 94], Operations: []
Exploring Operation: 94-44=50, Resulting Numbers: [44, 21, 50]
Generated Node #0,0: 74:[44, 21, 50] Operation: 94-44=50
Exploring Operation: 94-21=73, Resulting Numbers: [44, 44, 73]
Generated Node #0,1: 74:[44, 44, 73] Operation: 94-21=73
Exploring Operation: 44+21=65, Resulting Numbers: [44, 94, 65]
Generated Node #0,2: 74:[44, 94, 65] Operation: 44+21=65
Exploring Operation: 44+21=65, Resulting Numbers: [44, 94, 65]
Generated Node #0,3: 74:[44, 94, 65] Operation: 44+21=65
Exploring Operation: 94-44=50, Resulting Numbers: [44, 21, 50]
Generated Node #0,4: 74:[44, 21, 50] Operation: 94-44=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[44, 44, 73], Operations: ['94-21=73']
Exploring Operation: 44+44=88, Resulting Numbers: [73, 88]
Generated Node #0,1,0: 74:[73, 88] Operation: 44+44=88
Exploring Operation: 73-44=29, Resulting Numbers: [44, 29]
Generated Node #0,1,1: 74:[44, 29] Operation: 73-44=29
Exploring Operation: 73-44=29, Resulting Numbers: [44, 29]
Generated Node #0,1,2: 74:[44, 29] Operation: 73-44=29
Exploring Operation: 44-44=0, Resulting Numbers: [73, 0]
Generated Node #0,1,3: 74:[73, 0] Operation: 44-44=0
Exploring Operation: 44/44=1, Resulting Numbers: [73, 1]
Generated Node #0,1,4: 74:[73, 1] Operation: 44/44=1
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[73, 1], Operations: ['94-21=73', '44/44=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,74 unequal: No Solution
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[44, 44, 21, 94], Operations: []
Exploring Operation: 94-21=73, Resulting Numbers: [44, 44, 73]
Generated Node #0,1: 74:[44, 44, 73] Operation: 94-21=73
Moving to Node #0,1
Current State: 74:[44, 44, 73], Operations: ['94-21=73']
Exploring Operation: 44/44=1, Resulting Numbers: [73, 1]
Generated Node #0,1,4: 74:[73, 1] Operation: 44/44=1
Moving to Node #0,1,4
Current State: 74:[73, 1], Operations: ['94-21=73', '44/44=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
36,
26,
36,
52
] | 77 | [
"36/36=1",
"26+52=78",
"78-1=77"
] | Current State: 77:[36, 26, 36, 52], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [26, 52, 1]
Generated Node #2: [26, 52, 1] from Operation: 36/36=1
Current State: 77:[26, 52, 1], Operations: ['36/36=1']
Exploring Operation: 26+52=78, Resulting Numbers: [1, 78]
Generated Node #3: [1, 78] from Operation: 26+52=78
Current State: 77:[1, 78], Operations: ['36/36=1', '26+52=78']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[36, 26, 36, 52], Operations: []
Exploring Operation: 52-36=16, Resulting Numbers: [36, 26, 16]
Generated Node #0,0: 77:[36, 26, 16] Operation: 52-36=16
Exploring Operation: 36/36=1, Resulting Numbers: [26, 52, 1]
Generated Node #0,1: 77:[26, 52, 1] Operation: 36/36=1
Exploring Operation: 52-36=16, Resulting Numbers: [26, 36, 16]
Generated Node #0,2: 77:[26, 36, 16] Operation: 52-36=16
Exploring Operation: 36+36=72, Resulting Numbers: [26, 52, 72]
Generated Node #0,3: 77:[26, 52, 72] Operation: 36+36=72
Exploring Operation: 36-36=0, Resulting Numbers: [26, 52, 0]
Generated Node #0,4: 77:[26, 52, 0] Operation: 36-36=0
Moving to Node #0,0
Current State: 77:[36, 26, 16], Operations: ['52-36=16']
Exploring Operation: 26-16=10, Resulting Numbers: [36, 10]
Generated Node #0,0,0: 77:[36, 10] Operation: 26-16=10
Exploring Operation: 36-16=20, Resulting Numbers: [26, 20]
Generated Node #0,0,1: 77:[26, 20] Operation: 36-16=20
Exploring Operation: 36+16=52, Resulting Numbers: [26, 52]
Generated Node #0,0,2: 77:[26, 52] Operation: 36+16=52
Exploring Operation: 36-26=10, Resulting Numbers: [16, 10]
Generated Node #0,0,3: 77:[16, 10] Operation: 36-26=10
Exploring Operation: 36+26=62, Resulting Numbers: [16, 62]
Generated Node #0,0,4: 77:[16, 62] Operation: 36+26=62
Moving to Node #0,3
Current State: 77:[26, 52, 72], Operations: ['36+36=72']
Exploring Operation: 26+72=98, Resulting Numbers: [52, 98]
Generated Node #0,3,0: 77:[52, 98] Operation: 26+72=98
Exploring Operation: 26+52=78, Resulting Numbers: [72, 78]
Generated Node #0,3,1: 77:[72, 78] Operation: 26+52=78
Exploring Operation: 72-52=20, Resulting Numbers: [26, 20]
Generated Node #0,3,2: 77:[26, 20] Operation: 72-52=20
Exploring Operation: 52/26=2, Resulting Numbers: [72, 2]
Generated Node #0,3,3: 77:[72, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [72, 26]
Generated Node #0,3,4: 77:[72, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[72, 78], Operations: ['36+36=72', '26+52=78']
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,77 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[72, 2], Operations: ['36+36=72', '52/26=2']
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,77 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 77:[72, 26], Operations: ['36+36=72', '52-26=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,77 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,77 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[26, 20], Operations: ['36+36=72', '72-52=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 26*20=520, Resulting Numbers: [520]
520,77 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[52, 98], Operations: ['36+36=72', '26+72=98']
Exploring Operation: 98-52=46, Resulting Numbers: [46]
46,77 unequal: No Solution
Exploring Operation: 52+98=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 52*98=5096, Resulting Numbers: [5096]
5096,77 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: 77:[26, 36, 16], Operations: ['52-36=16']
Exploring Operation: 26+36=62, Resulting Numbers: [16, 62]
Generated Node #0,2,0: 77:[16, 62] Operation: 26+36=62
Exploring Operation: 26-16=10, Resulting Numbers: [36, 10]
Generated Node #0,2,1: 77:[36, 10] Operation: 26-16=10
Exploring Operation: 36+16=52, Resulting Numbers: [26, 52]
Generated Node #0,2,2: 77:[26, 52] Operation: 36+16=52
Exploring Operation: 36-26=10, Resulting Numbers: [16, 10]
Generated Node #0,2,3: 77:[16, 10] Operation: 36-26=10
Exploring Operation: 36-16=20, Resulting Numbers: [26, 20]
Generated Node #0,2,4: 77:[26, 20] Operation: 36-16=20
Moving to Node #0,1
Current State: 77:[26, 52, 1], Operations: ['36/36=1']
Exploring Operation: 26+52=78, Resulting Numbers: [1, 78]
Generated Node #0,1,0: 77:[1, 78] Operation: 26+52=78
Exploring Operation: 52-26=26, Resulting Numbers: [1, 26]
Generated Node #0,1,1: 77:[1, 26] Operation: 52-26=26
Exploring Operation: 26-1=25, Resulting Numbers: [52, 25]
Generated Node #0,1,2: 77:[52, 25] Operation: 26-1=25
Exploring Operation: 52/26=2, Resulting Numbers: [1, 2]
Generated Node #0,1,3: 77:[1, 2] Operation: 52/26=2
Exploring Operation: 52+1=53, Resulting Numbers: [26, 53]
Generated Node #0,1,4: 77:[26, 53] Operation: 52+1=53
Moving to Node #0,4
Current State: 77:[26, 52, 0], Operations: ['36-36=0']
Exploring Operation: 26+52=78, Resulting Numbers: [0, 78]
Generated Node #0,4,0: 77:[0, 78] Operation: 26+52=78
Exploring Operation: 52-26=26, Resulting Numbers: [0, 26]
Generated Node #0,4,1: 77:[0, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [0, 2]
Generated Node #0,4,2: 77:[0, 2] Operation: 52/26=2
Exploring Operation: 26*0=0, Resulting Numbers: [52, 0]
Generated Node #0,4,3: 77:[52, 0] Operation: 26*0=0
Exploring Operation: 52*0=0, Resulting Numbers: [26, 0]
Generated Node #0,4,4: 77:[26, 0] Operation: 52*0=0
Moving to Node #0,0,3
Current State: 77:[16, 10], Operations: ['52-36=16', '36-26=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[16, 10], Operations: ['52-36=16', '36-26=10']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[1, 78], Operations: ['36/36=1', '26+52=78']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 1+78=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 1*78=78, Resulting Numbers: [78]
78,77 unequal: No Solution
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[36, 26, 36, 52], Operations: []
Exploring Operation: 36/36=1, Resulting Numbers: [26, 52, 1]
Generated Node #0,1: 77:[26, 52, 1] Operation: 36/36=1
Moving to Node #0,1
Current State: 77:[26, 52, 1], Operations: ['36/36=1']
Exploring Operation: 26+52=78, Resulting Numbers: [1, 78]
Generated Node #0,1,0: 77:[1, 78] Operation: 26+52=78
Moving to Node #0,1,0
Current State: 77:[1, 78], Operations: ['36/36=1', '26+52=78']
Exploring Operation: 78-1=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.947917 | hs_5 | sum_heuristic |
[
50,
28,
29,
15
] | 62 | [
"50*15=750",
"28*29=812",
"812-750=62"
] | Current State: 62:[50, 28, 29, 15], Operations: []
Exploring Operation: 50*15=750, Resulting Numbers: [28, 29, 750]
Generated Node #2: [28, 29, 750] from Operation: 50*15=750
Current State: 62:[28, 29, 750], Operations: ['50*15=750']
Exploring Operation: 28*29=812, Resulting Numbers: [750, 812]
Generated Node #3: [750, 812] from Operation: 28*29=812
Current State: 62:[750, 812], Operations: ['50*15=750', '28*29=812']
Exploring Operation: 812-750=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[50, 28, 29, 15], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [28, 29, 35]
Generated Node #0,0: 62:[28, 29, 35] Operation: 50-15=35
Exploring Operation: 50+15=65, Resulting Numbers: [28, 29, 65]
Generated Node #0,1: 62:[28, 29, 65] Operation: 50+15=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[28, 29, 65], Operations: ['50+15=65']
Exploring Operation: 28+29=57, Resulting Numbers: [65, 57]
Generated Node #0,1,0: 62:[65, 57] Operation: 28+29=57
Exploring Operation: 29-28=1, Resulting Numbers: [65, 1]
Generated Node #0,1,1: 62:[65, 1] Operation: 29-28=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[65, 1], Operations: ['50+15=65', '29-28=1']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[65, 57], Operations: ['50+15=65', '28+29=57']
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[28, 29, 35], Operations: ['50-15=35']
Exploring Operation: 29-28=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 62:[35, 1] Operation: 29-28=1
Exploring Operation: 28+35=63, Resulting Numbers: [29, 63]
Generated Node #0,0,1: 62:[29, 63] Operation: 28+35=63
Moving to Node #0,0,1
Current State: 62:[29, 63], Operations: ['50-15=35', '28+35=63']
Exploring Operation: 29+63=92, Resulting Numbers: [92]
92,62 unequal: No Solution
Exploring Operation: 63-29=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[35, 1], Operations: ['50-15=35', '29-28=1']
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
92,
3,
34
] | 31 | [
"92-21=71",
"3*34=102",
"102-71=31"
] | Current State: 31:[21, 92, 3, 34], Operations: []
Exploring Operation: 92-21=71, Resulting Numbers: [3, 34, 71]
Generated Node #2: [3, 34, 71] from Operation: 92-21=71
Current State: 31:[3, 34, 71], Operations: ['92-21=71']
Exploring Operation: 3*34=102, Resulting Numbers: [71, 102]
Generated Node #3: [71, 102] from Operation: 3*34=102
Current State: 31:[71, 102], Operations: ['92-21=71', '3*34=102']
Exploring Operation: 102-71=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[21, 92, 3, 34], Operations: []
Exploring Operation: 92-34=58, Resulting Numbers: [21, 3, 58]
Generated Node #0,0: 31:[21, 3, 58] Operation: 92-34=58
Moving to Node #0,0
Current State: 31:[21, 3, 58], Operations: ['92-34=58']
Exploring Operation: 21+3=24, Resulting Numbers: [58, 24]
Generated Node #0,0,0: 31:[58, 24] Operation: 21+3=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[58, 24], Operations: ['92-34=58', '21+3=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,31 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 |
[
43,
64,
58,
2
] | 46 | [
"64-58=6",
"6/2=3",
"43+3=46"
] | Current State: 46:[43, 64, 58, 2], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [43, 2, 6]
Generated Node #2: [43, 2, 6] from Operation: 64-58=6
Current State: 46:[43, 2, 6], Operations: ['64-58=6']
Exploring Operation: 6/2=3, Resulting Numbers: [43, 3]
Generated Node #3: [43, 3] from Operation: 6/2=3
Current State: 46:[43, 3], Operations: ['64-58=6', '6/2=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[43, 64, 58, 2], Operations: []
Exploring Operation: 64-43=21, Resulting Numbers: [58, 2, 21]
Generated Node #0,0: 46:[58, 2, 21] Operation: 64-43=21
Exploring Operation: 64-58=6, Resulting Numbers: [43, 2, 6]
Generated Node #0,1: 46:[43, 2, 6] Operation: 64-58=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[43, 2, 6], Operations: ['64-58=6']
Exploring Operation: 43+6=49, Resulting Numbers: [2, 49]
Generated Node #0,1,0: 46:[2, 49] Operation: 43+6=49
Exploring Operation: 6/2=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 46:[43, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 46:[2, 49], Operations: ['64-58=6', '43+6=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,46 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 46:[43, 3], Operations: ['64-58=6', '6/2=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[43, 64, 58, 2], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [43, 2, 6]
Generated Node #0,1: 46:[43, 2, 6] Operation: 64-58=6
Moving to Node #0,1
Current State: 46:[43, 2, 6], Operations: ['64-58=6']
Exploring Operation: 6/2=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 46:[43, 3] Operation: 6/2=3
Moving to Node #0,1,1
Current State: 46:[43, 3], Operations: ['64-58=6', '6/2=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
65,
20,
4,
62
] | 47 | [
"65+62=127",
"20*4=80",
"127-80=47"
] | Current State: 47:[65, 20, 4, 62], Operations: []
Exploring Operation: 65+62=127, Resulting Numbers: [20, 4, 127]
Generated Node #2: [20, 4, 127] from Operation: 65+62=127
Current State: 47:[20, 4, 127], Operations: ['65+62=127']
Exploring Operation: 20*4=80, Resulting Numbers: [127, 80]
Generated Node #3: [127, 80] from Operation: 20*4=80
Current State: 47:[127, 80], Operations: ['65+62=127', '20*4=80']
Exploring Operation: 127-80=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[65, 20, 4, 62], Operations: []
Exploring Operation: 65-4=61, Resulting Numbers: [20, 62, 61]
Generated Node #0,0: 47:[20, 62, 61] Operation: 65-4=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[20, 62, 61], Operations: ['65-4=61']
Exploring Operation: 62-20=42, Resulting Numbers: [61, 42]
Generated Node #0,0,0: 47:[61, 42] Operation: 62-20=42
Moving to Node #0,0,0
Current State: 47:[61, 42], Operations: ['65-4=61', '62-20=42']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,47 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 |
[
86,
2,
50,
86
] | 26 | [
"86/86=1",
"50/2=25",
"1+25=26"
] | Current State: 26:[86, 2, 50, 86], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [2, 50, 1]
Generated Node #2: [2, 50, 1] from Operation: 86/86=1
Current State: 26:[2, 50, 1], Operations: ['86/86=1']
Exploring Operation: 50/2=25, Resulting Numbers: [1, 25]
Generated Node #3: [1, 25] from Operation: 50/2=25
Current State: 26:[1, 25], Operations: ['86/86=1', '50/2=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[86, 2, 50, 86], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [2, 50, 1]
Generated Node #0,0: 26:[2, 50, 1] Operation: 86/86=1
Moving to Node #0,0
Current State: 26:[2, 50, 1], Operations: ['86/86=1']
Exploring Operation: 50/2=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 26:[1, 25] Operation: 50/2=25
Moving to Node #0,0,0
Current State: 26:[1, 25], Operations: ['86/86=1', '50/2=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[86, 2, 50, 86], Operations: []
Exploring Operation: 86/86=1, Resulting Numbers: [2, 50, 1]
Generated Node #0,0: 26:[2, 50, 1] Operation: 86/86=1
Moving to Node #0,0
Current State: 26:[2, 50, 1], Operations: ['86/86=1']
Exploring Operation: 50/2=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 26:[1, 25] Operation: 50/2=25
Moving to Node #0,0,0
Current State: 26:[1, 25], Operations: ['86/86=1', '50/2=25']
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
75,
84,
45,
48
] | 60 | [
"84-48=36",
"75*36=2700",
"2700/45=60"
] | Current State: 60:[75, 84, 45, 48], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [75, 45, 36]
Generated Node #2: [75, 45, 36] from Operation: 84-48=36
Current State: 60:[75, 45, 36], Operations: ['84-48=36']
Exploring Operation: 75*36=2700, Resulting Numbers: [45, 2700]
Generated Node #3: [45, 2700] from Operation: 75*36=2700
Current State: 60:[45, 2700], Operations: ['84-48=36', '75*36=2700']
Exploring Operation: 2700/45=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[75, 84, 45, 48], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [45, 48, 9]
Generated Node #0,0: 60:[45, 48, 9] Operation: 84-75=9
Exploring Operation: 75-45=30, Resulting Numbers: [84, 48, 30]
Generated Node #0,1: 60:[84, 48, 30] Operation: 75-45=30
Moving to Node #0,0
Current State: 60:[45, 48, 9], Operations: ['84-75=9']
Exploring Operation: 48-45=3, Resulting Numbers: [9, 3]
Generated Node #0,0,0: 60:[9, 3] Operation: 48-45=3
Exploring Operation: 45/9=5, Resulting Numbers: [48, 5]
Generated Node #0,0,1: 60:[48, 5] Operation: 45/9=5
Moving to Node #0,1
Current State: 60:[84, 48, 30], Operations: ['75-45=30']
Exploring Operation: 84-30=54, Resulting Numbers: [48, 54]
Generated Node #0,1,0: 60:[48, 54] Operation: 84-30=54
Exploring Operation: 84-48=36, Resulting Numbers: [30, 36]
Generated Node #0,1,1: 60:[30, 36] Operation: 84-48=36
Moving to Node #0,0,0
Current State: 60:[9, 3], Operations: ['84-75=9', '48-45=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[30, 36], Operations: ['75-45=30', '84-48=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[48, 5], Operations: ['84-75=9', '45/9=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,60 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[48, 54], Operations: ['75-45=30', '84-30=54']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,60 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
95,
5,
87
] | 68 | [
"65+95=160",
"5+87=92",
"160-92=68"
] | Current State: 68:[65, 95, 5, 87], Operations: []
Exploring Operation: 65+95=160, Resulting Numbers: [5, 87, 160]
Generated Node #2: [5, 87, 160] from Operation: 65+95=160
Current State: 68:[5, 87, 160], Operations: ['65+95=160']
Exploring Operation: 5+87=92, Resulting Numbers: [160, 92]
Generated Node #3: [160, 92] from Operation: 5+87=92
Current State: 68:[160, 92], Operations: ['65+95=160', '5+87=92']
Exploring Operation: 160-92=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[65, 95, 5, 87], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [65, 5, 8]
Generated Node #0,0: 68:[65, 5, 8] Operation: 95-87=8
Exploring Operation: 95-65=30, Resulting Numbers: [5, 87, 30]
Generated Node #0,1: 68:[5, 87, 30] Operation: 95-65=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[65, 5, 8], Operations: ['95-87=8']
Exploring Operation: 8-5=3, Resulting Numbers: [65, 3]
Generated Node #0,0,0: 68:[65, 3] Operation: 8-5=3
Exploring Operation: 65+5=70, Resulting Numbers: [8, 70]
Generated Node #0,0,1: 68:[8, 70] Operation: 65+5=70
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[65, 3], Operations: ['95-87=8', '8-5=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[65, 95, 5, 87], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [65, 5, 8]
Generated Node #0,0: 68:[65, 5, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 68:[65, 5, 8], Operations: ['95-87=8']
Exploring Operation: 8-5=3, Resulting Numbers: [65, 3]
Generated Node #0,0,0: 68:[65, 3] Operation: 8-5=3
Moving to Node #0,0,0
Current State: 68:[65, 3], Operations: ['95-87=8', '8-5=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
17,
5,
23,
5
] | 30 | [
"17*5=85",
"23*5=115",
"115-85=30"
] | Current State: 30:[17, 5, 23, 5], Operations: []
Exploring Operation: 17*5=85, Resulting Numbers: [23, 85]
Generated Node #2: [23, 85] from Operation: 17*5=85
Current State: 30:[23, 85], Operations: ['17*5=85']
Exploring Operation: 23*5=115, Resulting Numbers: [85, 115]
Generated Node #3: [85, 115] from Operation: 23*5=115
Current State: 30:[85, 115], Operations: ['17*5=85', '23*5=115']
Exploring Operation: 115-85=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[17, 5, 23, 5], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [5, 5, 6]
Generated Node #0,0: 30:[5, 5, 6] Operation: 23-17=6
Exploring Operation: 5+23=28, Resulting Numbers: [17, 5, 28]
Generated Node #0,1: 30:[17, 5, 28] Operation: 5+23=28
Moving to Node #0,0
Current State: 30:[5, 5, 6], Operations: ['23-17=6']
Exploring Operation: 5*6=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 30:[5, 30] Operation: 5*6=30
Exploring Operation: 5+5=10, Resulting Numbers: [6, 10]
Generated Node #0,0,1: 30:[6, 10] Operation: 5+5=10
Moving to Node #0,1
Current State: 30:[17, 5, 28], Operations: ['5+23=28']
Exploring Operation: 28-17=11, Resulting Numbers: [5, 11]
Generated Node #0,1,0: 30:[5, 11] Operation: 28-17=11
Exploring Operation: 17-5=12, Resulting Numbers: [28, 12]
Generated Node #0,1,1: 30:[28, 12] Operation: 17-5=12
Moving to Node #0,0,0
Current State: 30:[5, 30], Operations: ['23-17=6', '5*6=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[6, 10], Operations: ['23-17=6', '5+5=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[5, 11], Operations: ['5+23=28', '28-17=11']
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[28, 12], Operations: ['5+23=28', '17-5=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
54,
46,
38,
77
] | 47 | [
"54-46=8",
"77-38=39",
"8+39=47"
] | Current State: 47:[54, 46, 38, 77], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [38, 77, 8]
Generated Node #2: [38, 77, 8] from Operation: 54-46=8
Current State: 47:[38, 77, 8], Operations: ['54-46=8']
Exploring Operation: 77-38=39, Resulting Numbers: [8, 39]
Generated Node #3: [8, 39] from Operation: 77-38=39
Current State: 47:[8, 39], Operations: ['54-46=8', '77-38=39']
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[54, 46, 38, 77], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [54, 38, 31]
Generated Node #0,0: 47:[54, 38, 31] Operation: 77-46=31
Exploring Operation: 77-38=39, Resulting Numbers: [54, 46, 39]
Generated Node #0,1: 47:[54, 46, 39] Operation: 77-38=39
Exploring Operation: 54-38=16, Resulting Numbers: [46, 77, 16]
Generated Node #0,2: 47:[46, 77, 16] Operation: 54-38=16
Exploring Operation: 77-54=23, Resulting Numbers: [46, 38, 23]
Generated Node #0,3: 47:[46, 38, 23] Operation: 77-54=23
Moving to Node #0,1
Current State: 47:[54, 46, 39], Operations: ['77-38=39']
Exploring Operation: 46+39=85, Resulting Numbers: [54, 85]
Generated Node #0,1,0: 47:[54, 85] Operation: 46+39=85
Exploring Operation: 54-39=15, Resulting Numbers: [46, 15]
Generated Node #0,1,1: 47:[46, 15] Operation: 54-39=15
Exploring Operation: 54+39=93, Resulting Numbers: [46, 93]
Generated Node #0,1,2: 47:[46, 93] Operation: 54+39=93
Exploring Operation: 54-46=8, Resulting Numbers: [39, 8]
Generated Node #0,1,3: 47:[39, 8] Operation: 54-46=8
Moving to Node #0,0
Current State: 47:[54, 38, 31], Operations: ['77-46=31']
Exploring Operation: 54-31=23, Resulting Numbers: [38, 23]
Generated Node #0,0,0: 47:[38, 23] Operation: 54-31=23
Exploring Operation: 54-38=16, Resulting Numbers: [31, 16]
Generated Node #0,0,1: 47:[31, 16] Operation: 54-38=16
Exploring Operation: 38+31=69, Resulting Numbers: [54, 69]
Generated Node #0,0,2: 47:[54, 69] Operation: 38+31=69
Exploring Operation: 54+31=85, Resulting Numbers: [38, 85]
Generated Node #0,0,3: 47:[38, 85] Operation: 54+31=85
Moving to Node #0,3
Current State: 47:[46, 38, 23], Operations: ['77-54=23']
Exploring Operation: 46-23=23, Resulting Numbers: [38, 23]
Generated Node #0,3,0: 47:[38, 23] Operation: 46-23=23
Exploring Operation: 38+23=61, Resulting Numbers: [46, 61]
Generated Node #0,3,1: 47:[46, 61] Operation: 38+23=61
Exploring Operation: 38-23=15, Resulting Numbers: [46, 15]
Generated Node #0,3,2: 47:[46, 15] Operation: 38-23=15
Exploring Operation: 46+23=69, Resulting Numbers: [38, 69]
Generated Node #0,3,3: 47:[38, 69] Operation: 46+23=69
Moving to Node #0,2
Current State: 47:[46, 77, 16], Operations: ['54-38=16']
Exploring Operation: 46-16=30, Resulting Numbers: [77, 30]
Generated Node #0,2,0: 47:[77, 30] Operation: 46-16=30
Exploring Operation: 77-16=61, Resulting Numbers: [46, 61]
Generated Node #0,2,1: 47:[46, 61] Operation: 77-16=61
Exploring Operation: 77-46=31, Resulting Numbers: [16, 31]
Generated Node #0,2,2: 47:[16, 31] Operation: 77-46=31
Exploring Operation: 46+16=62, Resulting Numbers: [77, 62]
Generated Node #0,2,3: 47:[77, 62] Operation: 46+16=62
Moving to Node #0,3,1
Current State: 47:[46, 61], Operations: ['77-54=23', '38+23=61']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 46*61=2806, Resulting Numbers: [2806]
2806,47 unequal: No Solution
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[46, 61], Operations: ['54-38=16', '77-16=61']
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 46+61=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Exploring Operation: 46*61=2806, Resulting Numbers: [2806]
2806,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[54, 69], Operations: ['77-46=31', '38+31=69']
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,47 unequal: No Solution
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[38, 69], Operations: ['77-54=23', '46+23=69']
Exploring Operation: 38*69=2622, Resulting Numbers: [2622]
2622,47 unequal: No Solution
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 38+69=107, Resulting Numbers: [107]
107,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[38, 23], Operations: ['77-46=31', '54-31=23']
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[46, 15], Operations: ['77-54=23', '38-23=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,47 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[38, 23], Operations: ['77-54=23', '46-23=23']
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,47 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[46, 15], Operations: ['77-38=39', '54-39=15']
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,47 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[77, 62], Operations: ['54-38=16', '46+16=62']
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[54, 85], Operations: ['77-38=39', '46+39=85']
Exploring Operation: 54+85=139, Resulting Numbers: [139]
139,47 unequal: No Solution
Exploring Operation: 85-54=31, Resulting Numbers: [31]
31,47 unequal: No Solution
Exploring Operation: 54*85=4590, Resulting Numbers: [4590]
4590,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[16, 31], Operations: ['54-38=16', '77-46=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[54, 46, 38, 77], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [46, 77, 16]
Generated Node #0,2: 47:[46, 77, 16] Operation: 54-38=16
Moving to Node #0,2
Current State: 47:[46, 77, 16], Operations: ['54-38=16']
Exploring Operation: 77-46=31, Resulting Numbers: [16, 31]
Generated Node #0,2,2: 47:[16, 31] Operation: 77-46=31
Moving to Node #0,2,2
Current State: 47:[16, 31], Operations: ['54-38=16', '77-46=31']
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.951389 | hs_4 | sum_heuristic |
[
54,
78,
18,
48
] | 69 | [
"78*48=3744",
"3744-18=3726",
"3726/54=69"
] | Current State: 69:[54, 78, 18, 48], Operations: []
Exploring Operation: 78*48=3744, Resulting Numbers: [54, 18, 3744]
Generated Node #2: [54, 18, 3744] from Operation: 78*48=3744
Current State: 69:[54, 18, 3744], Operations: ['78*48=3744']
Exploring Operation: 3744-18=3726, Resulting Numbers: [54, 3726]
Generated Node #3: [54, 3726] from Operation: 3744-18=3726
Current State: 69:[54, 3726], Operations: ['78*48=3744', '3744-18=3726']
Exploring Operation: 3726/54=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[54, 78, 18, 48], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [78, 48, 3]
Generated Node #0,0: 69:[78, 48, 3] Operation: 54/18=3
Exploring Operation: 78-54=24, Resulting Numbers: [18, 48, 24]
Generated Node #0,1: 69:[18, 48, 24] Operation: 78-54=24
Exploring Operation: 18+48=66, Resulting Numbers: [54, 78, 66]
Generated Node #0,2: 69:[54, 78, 66] Operation: 18+48=66
Exploring Operation: 54-48=6, Resulting Numbers: [78, 18, 6]
Generated Node #0,3: 69:[78, 18, 6] Operation: 54-48=6
Exploring Operation: 78-48=30, Resulting Numbers: [54, 18, 30]
Generated Node #0,4: 69:[54, 18, 30] Operation: 78-48=30
Moving to Node #0,3
Current State: 69:[78, 18, 6], Operations: ['54-48=6']
Exploring Operation: 18+6=24, Resulting Numbers: [78, 24]
Generated Node #0,3,0: 69:[78, 24] Operation: 18+6=24
Exploring Operation: 18/6=3, Resulting Numbers: [78, 3]
Generated Node #0,3,1: 69:[78, 3] Operation: 18/6=3
Exploring Operation: 78-6=72, Resulting Numbers: [18, 72]
Generated Node #0,3,2: 69:[18, 72] Operation: 78-6=72
Exploring Operation: 78/6=13, Resulting Numbers: [18, 13]
Generated Node #0,3,3: 69:[18, 13] Operation: 78/6=13
Exploring Operation: 78-18=60, Resulting Numbers: [6, 60]
Generated Node #0,3,4: 69:[6, 60] Operation: 78-18=60
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[18, 72], Operations: ['54-48=6', '78-6=72']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,69 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[78, 3], Operations: ['54-48=6', '18/6=3']
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,69 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[78, 24], Operations: ['54-48=6', '18+6=24']
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,69 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 69:[6, 60], Operations: ['54-48=6', '78-18=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 6*60=360, Resulting Numbers: [360]
360,69 unequal: No Solution
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[18, 13], Operations: ['54-48=6', '78/6=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,69 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,69 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,69 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: 69:[54, 78, 66], Operations: ['18+48=66']
Exploring Operation: 78-54=24, Resulting Numbers: [66, 24]
Generated Node #0,2,0: 69:[66, 24] Operation: 78-54=24
Exploring Operation: 54+66=120, Resulting Numbers: [78, 120]
Generated Node #0,2,1: 69:[78, 120] Operation: 54+66=120
Exploring Operation: 54+78=132, Resulting Numbers: [66, 132]
Generated Node #0,2,2: 69:[66, 132] Operation: 54+78=132
Exploring Operation: 66-54=12, Resulting Numbers: [78, 12]
Generated Node #0,2,3: 69:[78, 12] Operation: 66-54=12
Exploring Operation: 78-66=12, Resulting Numbers: [54, 12]
Generated Node #0,2,4: 69:[54, 12] Operation: 78-66=12
Moving to Node #0,1
Current State: 69:[18, 48, 24], Operations: ['78-54=24']
Exploring Operation: 48/24=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 69:[18, 2] Operation: 48/24=2
Exploring Operation: 48-18=30, Resulting Numbers: [24, 30]
Generated Node #0,1,1: 69:[24, 30] Operation: 48-18=30
Exploring Operation: 18+48=66, Resulting Numbers: [24, 66]
Generated Node #0,1,2: 69:[24, 66] Operation: 18+48=66
Exploring Operation: 48+24=72, Resulting Numbers: [18, 72]
Generated Node #0,1,3: 69:[18, 72] Operation: 48+24=72
Exploring Operation: 48-24=24, Resulting Numbers: [18, 24]
Generated Node #0,1,4: 69:[18, 24] Operation: 48-24=24
Moving to Node #0,4
Current State: 69:[54, 18, 30], Operations: ['78-48=30']
Exploring Operation: 54/18=3, Resulting Numbers: [30, 3]
Generated Node #0,4,0: 69:[30, 3] Operation: 54/18=3
Exploring Operation: 54+30=84, Resulting Numbers: [18, 84]
Generated Node #0,4,1: 69:[18, 84] Operation: 54+30=84
Exploring Operation: 54-30=24, Resulting Numbers: [18, 24]
Generated Node #0,4,2: 69:[18, 24] Operation: 54-30=24
Exploring Operation: 54-18=36, Resulting Numbers: [30, 36]
Generated Node #0,4,3: 69:[30, 36] Operation: 54-18=36
Exploring Operation: 54+18=72, Resulting Numbers: [30, 72]
Generated Node #0,4,4: 69:[30, 72] Operation: 54+18=72
Moving to Node #0,0
Current State: 69:[78, 48, 3], Operations: ['54/18=3']
Exploring Operation: 48/3=16, Resulting Numbers: [78, 16]
Generated Node #0,0,0: 69:[78, 16] Operation: 48/3=16
Exploring Operation: 78-48=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 69:[3, 30] Operation: 78-48=30
Exploring Operation: 78-3=75, Resulting Numbers: [48, 75]
Generated Node #0,0,2: 69:[48, 75] Operation: 78-3=75
Exploring Operation: 48+3=51, Resulting Numbers: [78, 51]
Generated Node #0,0,3: 69:[78, 51] Operation: 48+3=51
Exploring Operation: 78/3=26, Resulting Numbers: [48, 26]
Generated Node #0,0,4: 69:[48, 26] Operation: 78/3=26
Moving to Node #0,2,0
Current State: 69:[66, 24], Operations: ['18+48=66', '78-54=24']
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,69 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[24, 66], Operations: ['78-54=24', '18+48=66']
Exploring Operation: 24*66=1584, Resulting Numbers: [1584]
1584,69 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 24+66=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[18, 2], Operations: ['78-54=24', '48/24=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,69 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,69 unequal: No Solution
Moving to Node #0,1,4
Current State: 69:[18, 24], Operations: ['78-54=24', '48-24=24']
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,69 unequal: No Solution
Moving to Node #0,4,2
Current State: 69:[18, 24], Operations: ['78-48=30', '54-30=24']
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,69 unequal: No Solution
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,4,0
Current State: 69:[30, 3], Operations: ['78-48=30', '54/18=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[3, 30], Operations: ['54/18=3', '78-48=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,69 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[18, 72], Operations: ['78-54=24', '48+24=72']
Exploring Operation: 18*72=1296, Resulting Numbers: [1296]
1296,69 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 18+72=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[24, 30], Operations: ['78-54=24', '48-18=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,69 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,69 unequal: No Solution
Moving to Node #0,4,4
Current State: 69:[30, 72], Operations: ['78-48=30', '54+18=72']
Exploring Operation: 30+72=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 30*72=2160, Resulting Numbers: [2160]
2160,69 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[78, 16], Operations: ['54/18=3', '48/3=16']
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,69 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,69 unequal: No Solution
Moving to Node #0,2,3
Current State: 69:[78, 12], Operations: ['18+48=66', '66-54=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,69 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,69 unequal: No Solution
Moving to Node #0,4,3
Current State: 69:[30, 36], Operations: ['78-48=30', '54-18=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,69 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,4,1
Current State: 69:[18, 84], Operations: ['78-48=30', '54+30=84']
Exploring Operation: 18+84=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 18*84=1512, Resulting Numbers: [1512]
1512,69 unequal: No Solution
Moving to Node #0,2,4
Current State: 69:[54, 12], Operations: ['18+48=66', '78-66=12']
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,69 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[48, 26], Operations: ['54/18=3', '78/3=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,69 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,69 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[78, 51], Operations: ['54/18=3', '48+3=51']
Exploring Operation: 78*51=3978, Resulting Numbers: [3978]
3978,69 unequal: No Solution
Exploring Operation: 78-51=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 78+51=129, Resulting Numbers: [129]
129,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[48, 75], Operations: ['54/18=3', '78-3=75']
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,69 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 48*75=3600, Resulting Numbers: [3600]
3600,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[78, 120], Operations: ['18+48=66', '54+66=120']
Exploring Operation: 78+120=198, Resulting Numbers: [198]
198,69 unequal: No Solution
Exploring Operation: 120-78=42, Resulting Numbers: [42]
42,69 unequal: No Solution
Exploring Operation: 78*120=9360, Resulting Numbers: [9360]
9360,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[66, 132], Operations: ['18+48=66', '54+78=132']
Exploring Operation: 132/66=2, Resulting Numbers: [2]
2,69 unequal: No Solution
Exploring Operation: 132-66=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 66+132=198, Resulting Numbers: [198]
198,69 unequal: No Solution
Exploring Operation: 66*132=8712, Resulting Numbers: [8712]
8712,69 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
23,
92,
6,
90
] | 100 | [
"23+92=115",
"90/6=15",
"115-15=100"
] | Current State: 100:[23, 92, 6, 90], Operations: []
Exploring Operation: 23+92=115, Resulting Numbers: [6, 90, 115]
Generated Node #2: [6, 90, 115] from Operation: 23+92=115
Current State: 100:[6, 90, 115], Operations: ['23+92=115']
Exploring Operation: 90/6=15, Resulting Numbers: [115, 15]
Generated Node #3: [115, 15] from Operation: 90/6=15
Current State: 100:[115, 15], Operations: ['23+92=115', '90/6=15']
Exploring Operation: 115-15=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[23, 92, 6, 90], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [6, 90, 4]
Generated Node #0,0: 100:[6, 90, 4] Operation: 92/23=4
Exploring Operation: 92+6=98, Resulting Numbers: [23, 90, 98]
Generated Node #0,1: 100:[23, 90, 98] Operation: 92+6=98
Exploring Operation: 90/6=15, Resulting Numbers: [23, 92, 15]
Generated Node #0,2: 100:[23, 92, 15] Operation: 90/6=15
Exploring Operation: 92-90=2, Resulting Numbers: [23, 6, 2]
Generated Node #0,3: 100:[23, 6, 2] Operation: 92-90=2
Exploring Operation: 6+90=96, Resulting Numbers: [23, 92, 96]
Generated Node #0,4: 100:[23, 92, 96] Operation: 6+90=96
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[23, 6, 2], Operations: ['92-90=2']
Exploring Operation: 23-6=17, Resulting Numbers: [2, 17]
Generated Node #0,3,0: 100:[2, 17] Operation: 23-6=17
Exploring Operation: 6-2=4, Resulting Numbers: [23, 4]
Generated Node #0,3,1: 100:[23, 4] Operation: 6-2=4
Exploring Operation: 23-2=21, Resulting Numbers: [6, 21]
Generated Node #0,3,2: 100:[6, 21] Operation: 23-2=21
Exploring Operation: 6/2=3, Resulting Numbers: [23, 3]
Generated Node #0,3,3: 100:[23, 3] Operation: 6/2=3
Exploring Operation: 23+2=25, Resulting Numbers: [6, 25]
Generated Node #0,3,4: 100:[6, 25] Operation: 23+2=25
Moving to Node #0,3,4
Current State: 100:[6, 25], Operations: ['92-90=2', '23+2=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Moving to Node #0,3,2
Current State: 100:[6, 21], Operations: ['92-90=2', '23-2=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Moving to Node #0,3,1
Current State: 100:[23, 4], Operations: ['92-90=2', '6-2=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Moving to Node #0,3,0
Current State: 100:[2, 17], Operations: ['92-90=2', '23-6=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,100 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,100 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Moving to Node #0,3,3
Current State: 100:[23, 3], Operations: ['92-90=2', '6/2=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,100 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[6, 90, 4], Operations: ['92/23=4']
Exploring Operation: 90/6=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 100:[4, 15] Operation: 90/6=15
Exploring Operation: 6-4=2, Resulting Numbers: [90, 2]
Generated Node #0,0,1: 100:[90, 2] Operation: 6-4=2
Exploring Operation: 6+90=96, Resulting Numbers: [4, 96]
Generated Node #0,0,2: 100:[4, 96] Operation: 6+90=96
Exploring Operation: 90+4=94, Resulting Numbers: [6, 94]
Generated Node #0,0,3: 100:[6, 94] Operation: 90+4=94
Exploring Operation: 6+4=10, Resulting Numbers: [90, 10]
Generated Node #0,0,4: 100:[90, 10] Operation: 6+4=10
Moving to Node #0,0,2
Current State: 100:[4, 96], Operations: ['92/23=4', '6+90=96']
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[23, 92, 6, 90], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [6, 90, 4]
Generated Node #0,0: 100:[6, 90, 4] Operation: 92/23=4
Moving to Node #0,0
Current State: 100:[6, 90, 4], Operations: ['92/23=4']
Exploring Operation: 6+90=96, Resulting Numbers: [4, 96]
Generated Node #0,0,2: 100:[4, 96] Operation: 6+90=96
Moving to Node #0,0,2
Current State: 100:[4, 96], Operations: ['92/23=4', '6+90=96']
Exploring Operation: 4+96=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
64,
36,
34,
43
] | 49 | [
"64-36=28",
"34+43=77",
"77-28=49"
] | Current State: 49:[64, 36, 34, 43], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [34, 43, 28]
Generated Node #2: [34, 43, 28] from Operation: 64-36=28
Current State: 49:[34, 43, 28], Operations: ['64-36=28']
Exploring Operation: 34+43=77, Resulting Numbers: [28, 77]
Generated Node #3: [28, 77] from Operation: 34+43=77
Current State: 49:[28, 77], Operations: ['64-36=28', '34+43=77']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[64, 36, 34, 43], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [64, 43, 2]
Generated Node #0,0: 49:[64, 43, 2] Operation: 36-34=2
Moving to Node #0,0
Current State: 49:[64, 43, 2], Operations: ['36-34=2']
Exploring Operation: 64-43=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 49:[2, 21] Operation: 64-43=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[2, 21], Operations: ['36-34=2', '64-43=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,49 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 |
[
8,
44,
71,
80
] | 37 | [
"80/8=10",
"71-44=27",
"10+27=37"
] | Current State: 37:[8, 44, 71, 80], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [44, 71, 10]
Generated Node #2: [44, 71, 10] from Operation: 80/8=10
Current State: 37:[44, 71, 10], Operations: ['80/8=10']
Exploring Operation: 71-44=27, Resulting Numbers: [10, 27]
Generated Node #3: [10, 27] from Operation: 71-44=27
Current State: 37:[10, 27], Operations: ['80/8=10', '71-44=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[8, 44, 71, 80], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [44, 71, 10]
Generated Node #0,0: 37:[44, 71, 10] Operation: 80/8=10
Exploring Operation: 71-8=63, Resulting Numbers: [44, 80, 63]
Generated Node #0,1: 37:[44, 80, 63] Operation: 71-8=63
Exploring Operation: 80-71=9, Resulting Numbers: [8, 44, 9]
Generated Node #0,2: 37:[8, 44, 9] Operation: 80-71=9
Exploring Operation: 80-44=36, Resulting Numbers: [8, 71, 36]
Generated Node #0,3: 37:[8, 71, 36] Operation: 80-44=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[8, 44, 9], Operations: ['80-71=9']
Exploring Operation: 8+9=17, Resulting Numbers: [44, 17]
Generated Node #0,2,0: 37:[44, 17] Operation: 8+9=17
Exploring Operation: 44-8=36, Resulting Numbers: [9, 36]
Generated Node #0,2,1: 37:[9, 36] Operation: 44-8=36
Exploring Operation: 44-9=35, Resulting Numbers: [8, 35]
Generated Node #0,2,2: 37:[8, 35] Operation: 44-9=35
Exploring Operation: 8*9=72, Resulting Numbers: [44, 72]
Generated Node #0,2,3: 37:[44, 72] Operation: 8*9=72
Moving to Node #0,2,0
Current State: 37:[44, 17], Operations: ['80-71=9', '8+9=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[9, 36], Operations: ['80-71=9', '44-8=36']
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,37 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,37 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[8, 35], Operations: ['80-71=9', '44-9=35']
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[44, 72], Operations: ['80-71=9', '8*9=72']
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,37 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,37 unequal: No Solution
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[8, 71, 36], Operations: ['80-44=36']
Exploring Operation: 71-8=63, Resulting Numbers: [36, 63]
Generated Node #0,3,0: 37:[36, 63] Operation: 71-8=63
Exploring Operation: 71-36=35, Resulting Numbers: [8, 35]
Generated Node #0,3,1: 37:[8, 35] Operation: 71-36=35
Exploring Operation: 8+36=44, Resulting Numbers: [71, 44]
Generated Node #0,3,2: 37:[71, 44] Operation: 8+36=44
Exploring Operation: 8+71=79, Resulting Numbers: [36, 79]
Generated Node #0,3,3: 37:[36, 79] Operation: 8+71=79
Moving to Node #0,3,0
Current State: 37:[36, 63], Operations: ['80-44=36', '71-8=63']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,37 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,37 unequal: No Solution
Moving to Node #0,3,1
Current State: 37:[8, 35], Operations: ['80-44=36', '71-36=35']
Exploring Operation: 8*35=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Moving to Node #0,3,2
Current State: 37:[71, 44], Operations: ['80-44=36', '8+36=44']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,37 unequal: No Solution
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Moving to Node #0,3,3
Current State: 37:[36, 79], Operations: ['80-44=36', '8+71=79']
Exploring Operation: 36+79=115, Resulting Numbers: [115]
115,37 unequal: No Solution
Exploring Operation: 79-36=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 36*79=2844, Resulting Numbers: [2844]
2844,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[44, 71, 10], Operations: ['80/8=10']
Exploring Operation: 44-10=34, Resulting Numbers: [71, 34]
Generated Node #0,0,0: 37:[71, 34] Operation: 44-10=34
Exploring Operation: 71-44=27, Resulting Numbers: [10, 27]
Generated Node #0,0,1: 37:[10, 27] Operation: 71-44=27
Exploring Operation: 44+10=54, Resulting Numbers: [71, 54]
Generated Node #0,0,2: 37:[71, 54] Operation: 44+10=54
Exploring Operation: 71-10=61, Resulting Numbers: [44, 61]
Generated Node #0,0,3: 37:[44, 61] Operation: 71-10=61
Moving to Node #0,0,3
Current State: 37:[44, 61], Operations: ['80/8=10', '71-10=61']
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 44+61=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 44*61=2684, Resulting Numbers: [2684]
2684,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[10, 27], Operations: ['80/8=10', '71-44=27']
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,37 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[8, 44, 71, 80], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [44, 71, 10]
Generated Node #0,0: 37:[44, 71, 10] Operation: 80/8=10
Moving to Node #0,0
Current State: 37:[44, 71, 10], Operations: ['80/8=10']
Exploring Operation: 71-44=27, Resulting Numbers: [10, 27]
Generated Node #0,0,1: 37:[10, 27] Operation: 71-44=27
Moving to Node #0,0,1
Current State: 37:[10, 27], Operations: ['80/8=10', '71-44=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_4 | sum_heuristic |
[
63,
24,
81,
26
] | 36 | [
"81-63=18",
"26-24=2",
"18*2=36"
] | Current State: 36:[63, 24, 81, 26], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [24, 26, 18]
Generated Node #2: [24, 26, 18] from Operation: 81-63=18
Current State: 36:[24, 26, 18], Operations: ['81-63=18']
Exploring Operation: 26-24=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 26-24=2
Current State: 36:[18, 2], Operations: ['81-63=18', '26-24=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[63, 24, 81, 26], Operations: []
Exploring Operation: 63-26=37, Resulting Numbers: [24, 81, 37]
Generated Node #0,0: 36:[24, 81, 37] Operation: 63-26=37
Exploring Operation: 81-63=18, Resulting Numbers: [24, 26, 18]
Generated Node #0,1: 36:[24, 26, 18] Operation: 81-63=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[24, 26, 18], Operations: ['81-63=18']
Exploring Operation: 26-24=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 36:[18, 2] Operation: 26-24=2
Exploring Operation: 26-18=8, Resulting Numbers: [24, 8]
Generated Node #0,1,1: 36:[24, 8] Operation: 26-18=8
Moving to Node #0,1,0
Current State: 36:[18, 2], Operations: ['81-63=18', '26-24=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[63, 24, 81, 26], Operations: []
Exploring Operation: 81-63=18, Resulting Numbers: [24, 26, 18]
Generated Node #0,1: 36:[24, 26, 18] Operation: 81-63=18
Moving to Node #0,1
Current State: 36:[24, 26, 18], Operations: ['81-63=18']
Exploring Operation: 26-24=2, Resulting Numbers: [18, 2]
Generated Node #0,1,0: 36:[18, 2] Operation: 26-24=2
Moving to Node #0,1,0
Current State: 36:[18, 2], Operations: ['81-63=18', '26-24=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
59,
76,
93,
44
] | 86 | [
"59+76=135",
"93-44=49",
"135-49=86"
] | Current State: 86:[59, 76, 93, 44], Operations: []
Exploring Operation: 59+76=135, Resulting Numbers: [93, 44, 135]
Generated Node #2: [93, 44, 135] from Operation: 59+76=135
Current State: 86:[93, 44, 135], Operations: ['59+76=135']
Exploring Operation: 93-44=49, Resulting Numbers: [135, 49]
Generated Node #3: [135, 49] from Operation: 93-44=49
Current State: 86:[135, 49], Operations: ['59+76=135', '93-44=49']
Exploring Operation: 135-49=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[59, 76, 93, 44], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [76, 44, 34]
Generated Node #0,0: 86:[76, 44, 34] Operation: 93-59=34
Exploring Operation: 76-59=17, Resulting Numbers: [93, 44, 17]
Generated Node #0,1: 86:[93, 44, 17] Operation: 76-59=17
Exploring Operation: 59-44=15, Resulting Numbers: [76, 93, 15]
Generated Node #0,2: 86:[76, 93, 15] Operation: 59-44=15
Moving to Node #0,0
Current State: 86:[76, 44, 34], Operations: ['93-59=34']
Exploring Operation: 76-34=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 86:[44, 42] Operation: 76-34=42
Exploring Operation: 44+34=78, Resulting Numbers: [76, 78]
Generated Node #0,0,1: 86:[76, 78] Operation: 44+34=78
Exploring Operation: 44-34=10, Resulting Numbers: [76, 10]
Generated Node #0,0,2: 86:[76, 10] Operation: 44-34=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[44, 42], Operations: ['93-59=34', '76-34=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,86 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[59, 76, 93, 44], Operations: []
Exploring Operation: 93-59=34, Resulting Numbers: [76, 44, 34]
Generated Node #0,0: 86:[76, 44, 34] Operation: 93-59=34
Moving to Node #0,0
Current State: 86:[76, 44, 34], Operations: ['93-59=34']
Exploring Operation: 76-34=42, Resulting Numbers: [44, 42]
Generated Node #0,0,0: 86:[44, 42] Operation: 76-34=42
Moving to Node #0,0,0
Current State: 86:[44, 42], Operations: ['93-59=34', '76-34=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
55,
26,
37,
9
] | 52 | [
"55-37=18",
"26*18=468",
"468/9=52"
] | Current State: 52:[55, 26, 37, 9], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [26, 9, 18]
Generated Node #2: [26, 9, 18] from Operation: 55-37=18
Current State: 52:[26, 9, 18], Operations: ['55-37=18']
Exploring Operation: 26*18=468, Resulting Numbers: [9, 468]
Generated Node #3: [9, 468] from Operation: 26*18=468
Current State: 52:[9, 468], Operations: ['55-37=18', '26*18=468']
Exploring Operation: 468/9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[55, 26, 37, 9], Operations: []
Exploring Operation: 37-26=11, Resulting Numbers: [55, 9, 11]
Generated Node #0,0: 52:[55, 9, 11] Operation: 37-26=11
Exploring Operation: 37+9=46, Resulting Numbers: [55, 26, 46]
Generated Node #0,1: 52:[55, 26, 46] Operation: 37+9=46
Exploring Operation: 55-37=18, Resulting Numbers: [26, 9, 18]
Generated Node #0,2: 52:[26, 9, 18] Operation: 55-37=18
Exploring Operation: 37-9=28, Resulting Numbers: [55, 26, 28]
Generated Node #0,3: 52:[55, 26, 28] Operation: 37-9=28
Moving to Node #0,3
Current State: 52:[55, 26, 28], Operations: ['37-9=28']
Exploring Operation: 55-26=29, Resulting Numbers: [28, 29]
Generated Node #0,3,0: 52:[28, 29] Operation: 55-26=29
Exploring Operation: 55-28=27, Resulting Numbers: [26, 27]
Generated Node #0,3,1: 52:[26, 27] Operation: 55-28=27
Exploring Operation: 26+28=54, Resulting Numbers: [55, 54]
Generated Node #0,3,2: 52:[55, 54] Operation: 26+28=54
Exploring Operation: 28-26=2, Resulting Numbers: [55, 2]
Generated Node #0,3,3: 52:[55, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[26, 27], Operations: ['37-9=28', '55-28=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[55, 2], Operations: ['37-9=28', '28-26=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[28, 29], Operations: ['37-9=28', '55-26=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,52 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[55, 54], Operations: ['37-9=28', '26+28=54']
Exploring Operation: 55*54=2970, Resulting Numbers: [2970]
2970,52 unequal: No Solution
Exploring Operation: 55+54=109, Resulting Numbers: [109]
109,52 unequal: No Solution
Exploring Operation: 55-54=1, Resulting Numbers: [1]
1,52 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: 52:[55, 26, 46], Operations: ['37+9=46']
Exploring Operation: 55-26=29, Resulting Numbers: [46, 29]
Generated Node #0,1,0: 52:[46, 29] Operation: 55-26=29
Exploring Operation: 26+46=72, Resulting Numbers: [55, 72]
Generated Node #0,1,1: 52:[55, 72] Operation: 26+46=72
Exploring Operation: 55-46=9, Resulting Numbers: [26, 9]
Generated Node #0,1,2: 52:[26, 9] Operation: 55-46=9
Exploring Operation: 46-26=20, Resulting Numbers: [55, 20]
Generated Node #0,1,3: 52:[55, 20] Operation: 46-26=20
Moving to Node #0,0
Current State: 52:[55, 9, 11], Operations: ['37-26=11']
Exploring Operation: 55-9=46, Resulting Numbers: [11, 46]
Generated Node #0,0,0: 52:[11, 46] Operation: 55-9=46
Exploring Operation: 9+11=20, Resulting Numbers: [55, 20]
Generated Node #0,0,1: 52:[55, 20] Operation: 9+11=20
Exploring Operation: 11-9=2, Resulting Numbers: [55, 2]
Generated Node #0,0,2: 52:[55, 2] Operation: 11-9=2
Exploring Operation: 55/11=5, Resulting Numbers: [9, 5]
Generated Node #0,0,3: 52:[9, 5] Operation: 55/11=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[55, 2], Operations: ['37-26=11', '11-9=2']
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,52 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 52:[9, 5], Operations: ['37-26=11', '55/11=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,52 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[11, 46], Operations: ['37-26=11', '55-9=46']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,52 unequal: No Solution
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[55, 20], Operations: ['37-26=11', '9+11=20']
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,52 unequal: No Solution
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,52 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,52 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: 52:[26, 9, 18], Operations: ['55-37=18']
Exploring Operation: 26-18=8, Resulting Numbers: [9, 8]
Generated Node #0,2,0: 52:[9, 8] Operation: 26-18=8
Exploring Operation: 18/9=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 52:[26, 2] Operation: 18/9=2
Exploring Operation: 9+18=27, Resulting Numbers: [26, 27]
Generated Node #0,2,2: 52:[26, 27] Operation: 9+18=27
Exploring Operation: 18-9=9, Resulting Numbers: [26, 9]
Generated Node #0,2,3: 52:[26, 9] Operation: 18-9=9
Moving to Node #0,2,1
Current State: 52:[26, 2], Operations: ['55-37=18', '18/9=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[55, 26, 37, 9], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [26, 9, 18]
Generated Node #0,2: 52:[26, 9, 18] Operation: 55-37=18
Moving to Node #0,2
Current State: 52:[26, 9, 18], Operations: ['55-37=18']
Exploring Operation: 18/9=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 52:[26, 2] Operation: 18/9=2
Moving to Node #0,2,1
Current State: 52:[26, 2], Operations: ['55-37=18', '18/9=2']
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
18,
85,
4,
59
] | 86 | [
"85-59=26",
"4*26=104",
"104-18=86"
] | Current State: 86:[18, 85, 4, 59], Operations: []
Exploring Operation: 85-59=26, Resulting Numbers: [18, 4, 26]
Generated Node #2: [18, 4, 26] from Operation: 85-59=26
Current State: 86:[18, 4, 26], Operations: ['85-59=26']
Exploring Operation: 4*26=104, Resulting Numbers: [18, 104]
Generated Node #3: [18, 104] from Operation: 4*26=104
Current State: 86:[18, 104], Operations: ['85-59=26', '4*26=104']
Exploring Operation: 104-18=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[18, 85, 4, 59], Operations: []
Exploring Operation: 59-18=41, Resulting Numbers: [85, 4, 41]
Generated Node #0,0: 86:[85, 4, 41] Operation: 59-18=41
Exploring Operation: 18+59=77, Resulting Numbers: [85, 4, 77]
Generated Node #0,1: 86:[85, 4, 77] Operation: 18+59=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[85, 4, 41], Operations: ['59-18=41']
Exploring Operation: 4+41=45, Resulting Numbers: [85, 45]
Generated Node #0,0,0: 86:[85, 45] Operation: 4+41=45
Exploring Operation: 85-41=44, Resulting Numbers: [4, 44]
Generated Node #0,0,1: 86:[4, 44] Operation: 85-41=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[85, 45], Operations: ['59-18=41', '4+41=45']
Exploring Operation: 85+45=130, Resulting Numbers: [130]
130,86 unequal: No Solution
Exploring Operation: 85-45=40, Resulting Numbers: [40]
40,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[4, 44], Operations: ['59-18=41', '85-41=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[85, 4, 77], Operations: ['18+59=77']
Exploring Operation: 4+77=81, Resulting Numbers: [85, 81]
Generated Node #0,1,0: 86:[85, 81] Operation: 4+77=81
Exploring Operation: 85-77=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 86:[4, 8] Operation: 85-77=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[85, 81], Operations: ['18+59=77', '4+77=81']
Exploring Operation: 85+81=166, Resulting Numbers: [166]
166,86 unequal: No Solution
Exploring Operation: 85-81=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[4, 8], Operations: ['18+59=77', '85-77=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,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_2 | mult_heuristic |
[
8,
67,
26,
47
] | 14 | [
"67-8=59",
"26+47=73",
"73-59=14"
] | Current State: 14:[8, 67, 26, 47], Operations: []
Exploring Operation: 67-8=59, Resulting Numbers: [26, 47, 59]
Generated Node #2: [26, 47, 59] from Operation: 67-8=59
Current State: 14:[26, 47, 59], Operations: ['67-8=59']
Exploring Operation: 26+47=73, Resulting Numbers: [59, 73]
Generated Node #3: [59, 73] from Operation: 26+47=73
Current State: 14:[59, 73], Operations: ['67-8=59', '26+47=73']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[8, 67, 26, 47], Operations: []
Exploring Operation: 67-26=41, Resulting Numbers: [8, 47, 41]
Generated Node #0,0: 14:[8, 47, 41] Operation: 67-26=41
Exploring Operation: 67-47=20, Resulting Numbers: [8, 26, 20]
Generated Node #0,1: 14:[8, 26, 20] Operation: 67-47=20
Moving to Node #0,1
Current State: 14:[8, 26, 20], Operations: ['67-47=20']
Exploring Operation: 26-8=18, Resulting Numbers: [20, 18]
Generated Node #0,1,0: 14:[20, 18] Operation: 26-8=18
Exploring Operation: 26-20=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 14:[8, 6] Operation: 26-20=6
Moving to Node #0,0
Current State: 14:[8, 47, 41], Operations: ['67-26=41']
Exploring Operation: 47-41=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 47-41=6
Exploring Operation: 47-8=39, Resulting Numbers: [41, 39]
Generated Node #0,0,1: 14:[41, 39] Operation: 47-8=39
Moving to Node #0,1,1
Current State: 14:[8, 6], Operations: ['67-47=20', '26-20=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[8, 67, 26, 47], Operations: []
Exploring Operation: 67-47=20, Resulting Numbers: [8, 26, 20]
Generated Node #0,1: 14:[8, 26, 20] Operation: 67-47=20
Moving to Node #0,1
Current State: 14:[8, 26, 20], Operations: ['67-47=20']
Exploring Operation: 26-20=6, Resulting Numbers: [8, 6]
Generated Node #0,1,1: 14:[8, 6] Operation: 26-20=6
Moving to Node #0,1,1
Current State: 14:[8, 6], Operations: ['67-47=20', '26-20=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
73,
17,
20,
97
] | 30 | [
"73+97=170",
"170/17=10",
"20+10=30"
] | Current State: 30:[73, 17, 20, 97], Operations: []
Exploring Operation: 73+97=170, Resulting Numbers: [17, 20, 170]
Generated Node #2: [17, 20, 170] from Operation: 73+97=170
Current State: 30:[17, 20, 170], Operations: ['73+97=170']
Exploring Operation: 170/17=10, Resulting Numbers: [20, 10]
Generated Node #3: [20, 10] from Operation: 170/17=10
Current State: 30:[20, 10], Operations: ['73+97=170', '170/17=10']
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[73, 17, 20, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [17, 20, 24]
Generated Node #0,0: 30:[17, 20, 24] Operation: 97-73=24
Exploring Operation: 73-20=53, Resulting Numbers: [17, 97, 53]
Generated Node #0,1: 30:[17, 97, 53] Operation: 73-20=53
Moving to Node #0,0
Current State: 30:[17, 20, 24], Operations: ['97-73=24']
Exploring Operation: 20-17=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 30:[24, 3] Operation: 20-17=3
Exploring Operation: 24-20=4, Resulting Numbers: [17, 4]
Generated Node #0,0,1: 30:[17, 4] Operation: 24-20=4
Moving to Node #0,1
Current State: 30:[17, 97, 53], Operations: ['73-20=53']
Exploring Operation: 97-17=80, Resulting Numbers: [53, 80]
Generated Node #0,1,0: 30:[53, 80] Operation: 97-17=80
Exploring Operation: 97-53=44, Resulting Numbers: [17, 44]
Generated Node #0,1,1: 30:[17, 44] Operation: 97-53=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[17, 44], Operations: ['73-20=53', '97-53=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[53, 80], Operations: ['73-20=53', '97-17=80']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,30 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: 30:[17, 4], Operations: ['97-73=24', '24-20=4']
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[24, 3], Operations: ['97-73=24', '20-17=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,30 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
4,
30,
85
] | 95 | [
"5*4=20",
"30+85=115",
"115-20=95"
] | Current State: 95:[5, 4, 30, 85], Operations: []
Exploring Operation: 5*4=20, Resulting Numbers: [30, 85, 20]
Generated Node #2: [30, 85, 20] from Operation: 5*4=20
Current State: 95:[30, 85, 20], Operations: ['5*4=20']
Exploring Operation: 30+85=115, Resulting Numbers: [20, 115]
Generated Node #3: [20, 115] from Operation: 30+85=115
Current State: 95:[20, 115], Operations: ['5*4=20', '30+85=115']
Exploring Operation: 115-20=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[5, 4, 30, 85], Operations: []
Exploring Operation: 30-5=25, Resulting Numbers: [4, 85, 25]
Generated Node #0,0: 95:[4, 85, 25] Operation: 30-5=25
Exploring Operation: 85/5=17, Resulting Numbers: [4, 30, 17]
Generated Node #0,1: 95:[4, 30, 17] Operation: 85/5=17
Exploring Operation: 5+85=90, Resulting Numbers: [4, 30, 90]
Generated Node #0,2: 95:[4, 30, 90] Operation: 5+85=90
Exploring Operation: 30/5=6, Resulting Numbers: [4, 85, 6]
Generated Node #0,3: 95:[4, 85, 6] Operation: 30/5=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[4, 85, 6], Operations: ['30/5=6']
Exploring Operation: 6-4=2, Resulting Numbers: [85, 2]
Generated Node #0,3,0: 95:[85, 2] Operation: 6-4=2
Exploring Operation: 85-4=81, Resulting Numbers: [6, 81]
Generated Node #0,3,1: 95:[6, 81] Operation: 85-4=81
Exploring Operation: 4+85=89, Resulting Numbers: [6, 89]
Generated Node #0,3,2: 95:[6, 89] Operation: 4+85=89
Exploring Operation: 85+6=91, Resulting Numbers: [4, 91]
Generated Node #0,3,3: 95:[4, 91] Operation: 85+6=91
Moving to Node #0,3,3
Current State: 95:[4, 91], Operations: ['30/5=6', '85+6=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[5, 4, 30, 85], Operations: []
Exploring Operation: 30/5=6, Resulting Numbers: [4, 85, 6]
Generated Node #0,3: 95:[4, 85, 6] Operation: 30/5=6
Moving to Node #0,3
Current State: 95:[4, 85, 6], Operations: ['30/5=6']
Exploring Operation: 85+6=91, Resulting Numbers: [4, 91]
Generated Node #0,3,3: 95:[4, 91] Operation: 85+6=91
Moving to Node #0,3,3
Current State: 95:[4, 91], Operations: ['30/5=6', '85+6=91']
Exploring Operation: 4+91=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
99,
46,
1,
12
] | 64 | [
"99-46=53",
"12-1=11",
"53+11=64"
] | Current State: 64:[99, 46, 1, 12], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [1, 12, 53]
Generated Node #2: [1, 12, 53] from Operation: 99-46=53
Current State: 64:[1, 12, 53], Operations: ['99-46=53']
Exploring Operation: 12-1=11, Resulting Numbers: [53, 11]
Generated Node #3: [53, 11] from Operation: 12-1=11
Current State: 64:[53, 11], Operations: ['99-46=53', '12-1=11']
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[99, 46, 1, 12], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [1, 12, 53]
Generated Node #0,0: 64:[1, 12, 53] Operation: 99-46=53
Exploring Operation: 46+12=58, Resulting Numbers: [99, 1, 58]
Generated Node #0,1: 64:[99, 1, 58] Operation: 46+12=58
Exploring Operation: 99-12=87, Resulting Numbers: [46, 1, 87]
Generated Node #0,2: 64:[46, 1, 87] Operation: 99-12=87
Exploring Operation: 46-12=34, Resulting Numbers: [99, 1, 34]
Generated Node #0,3: 64:[99, 1, 34] Operation: 46-12=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[1, 12, 53], Operations: ['99-46=53']
Exploring Operation: 1+12=13, Resulting Numbers: [53, 13]
Generated Node #0,0,0: 64:[53, 13] Operation: 1+12=13
Exploring Operation: 12-1=11, Resulting Numbers: [53, 11]
Generated Node #0,0,1: 64:[53, 11] Operation: 12-1=11
Exploring Operation: 12+53=65, Resulting Numbers: [1, 65]
Generated Node #0,0,2: 64:[1, 65] Operation: 12+53=65
Exploring Operation: 53-12=41, Resulting Numbers: [1, 41]
Generated Node #0,0,3: 64:[1, 41] Operation: 53-12=41
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[1, 65], Operations: ['99-46=53', '12+53=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[99, 46, 1, 12], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [1, 12, 53]
Generated Node #0,0: 64:[1, 12, 53] Operation: 99-46=53
Moving to Node #0,0
Current State: 64:[1, 12, 53], Operations: ['99-46=53']
Exploring Operation: 12+53=65, Resulting Numbers: [1, 65]
Generated Node #0,0,2: 64:[1, 65] Operation: 12+53=65
Moving to Node #0,0,2
Current State: 64:[1, 65], Operations: ['99-46=53', '12+53=65']
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
28,
90,
72,
50
] | 92 | [
"28+72=100",
"100/50=2",
"90+2=92"
] | Current State: 92:[28, 90, 72, 50], Operations: []
Exploring Operation: 28+72=100, Resulting Numbers: [90, 50, 100]
Generated Node #2: [90, 50, 100] from Operation: 28+72=100
Current State: 92:[90, 50, 100], Operations: ['28+72=100']
Exploring Operation: 100/50=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 100/50=2
Current State: 92:[90, 2], Operations: ['28+72=100', '100/50=2']
Exploring Operation: 90+2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[28, 90, 72, 50], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [90, 50, 44]
Generated Node #0,0: 92:[90, 50, 44] Operation: 72-28=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[90, 50, 44], Operations: ['72-28=44']
Exploring Operation: 90-44=46, Resulting Numbers: [50, 46]
Generated Node #0,0,0: 92:[50, 46] Operation: 90-44=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[50, 46], Operations: ['72-28=44', '90-44=46']
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
13,
47,
35
] | 14 | [
"82-47=35",
"35/35=1",
"13+1=14"
] | Current State: 14:[82, 13, 47, 35], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [13, 35, 35]
Generated Node #2: [13, 35, 35] from Operation: 82-47=35
Current State: 14:[13, 35, 35], Operations: ['82-47=35']
Exploring Operation: 35/35=1, Resulting Numbers: [13, 1]
Generated Node #3: [13, 1] from Operation: 35/35=1
Current State: 14:[13, 1], Operations: ['82-47=35', '35/35=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[82, 13, 47, 35], Operations: []
Exploring Operation: 47-35=12, Resulting Numbers: [82, 13, 12]
Generated Node #0,0: 14:[82, 13, 12] Operation: 47-35=12
Exploring Operation: 82-47=35, Resulting Numbers: [13, 35, 35]
Generated Node #0,1: 14:[13, 35, 35] Operation: 82-47=35
Exploring Operation: 82-35=47, Resulting Numbers: [13, 47, 47]
Generated Node #0,2: 14:[13, 47, 47] Operation: 82-35=47
Moving to Node #0,1
Current State: 14:[13, 35, 35], Operations: ['82-47=35']
Exploring Operation: 35-35=0, Resulting Numbers: [13, 0]
Generated Node #0,1,0: 14:[13, 0] Operation: 35-35=0
Exploring Operation: 35-13=22, Resulting Numbers: [35, 22]
Generated Node #0,1,1: 14:[35, 22] Operation: 35-13=22
Exploring Operation: 35/35=1, Resulting Numbers: [13, 1]
Generated Node #0,1,2: 14:[13, 1] Operation: 35/35=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[13, 1], Operations: ['82-47=35', '35/35=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[82, 13, 47, 35], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [13, 35, 35]
Generated Node #0,1: 14:[13, 35, 35] Operation: 82-47=35
Moving to Node #0,1
Current State: 14:[13, 35, 35], Operations: ['82-47=35']
Exploring Operation: 35/35=1, Resulting Numbers: [13, 1]
Generated Node #0,1,2: 14:[13, 1] Operation: 35/35=1
Moving to Node #0,1,2
Current State: 14:[13, 1], Operations: ['82-47=35', '35/35=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
1,
75,
5,
29
] | 81 | [
"1+29=30",
"30/5=6",
"75+6=81"
] | Current State: 81:[1, 75, 5, 29], Operations: []
Exploring Operation: 1+29=30, Resulting Numbers: [75, 5, 30]
Generated Node #2: [75, 5, 30] from Operation: 1+29=30
Current State: 81:[75, 5, 30], Operations: ['1+29=30']
Exploring Operation: 30/5=6, Resulting Numbers: [75, 6]
Generated Node #3: [75, 6] from Operation: 30/5=6
Current State: 81:[75, 6], Operations: ['1+29=30', '30/5=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[1, 75, 5, 29], Operations: []
Exploring Operation: 75+5=80, Resulting Numbers: [1, 29, 80]
Generated Node #0,0: 81:[1, 29, 80] Operation: 75+5=80
Exploring Operation: 5-1=4, Resulting Numbers: [75, 29, 4]
Generated Node #0,1: 81:[75, 29, 4] Operation: 5-1=4
Exploring Operation: 1+75=76, Resulting Numbers: [5, 29, 76]
Generated Node #0,2: 81:[5, 29, 76] Operation: 1+75=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[1, 29, 80], Operations: ['75+5=80']
Exploring Operation: 1+80=81, Resulting Numbers: [29, 81]
Generated Node #0,0,0: 81:[29, 81] Operation: 1+80=81
Exploring Operation: 1*29=29, Resulting Numbers: [80, 29]
Generated Node #0,0,1: 81:[80, 29] Operation: 1*29=29
Exploring Operation: 29-1=28, Resulting Numbers: [80, 28]
Generated Node #0,0,2: 81:[80, 28] Operation: 29-1=28
Moving to Node #0,0,0
Current State: 81:[29, 81], Operations: ['75+5=80', '1+80=81']
Exploring Operation: 29+81=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 29*81=2349, Resulting Numbers: [2349]
2349,81 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[80, 28], Operations: ['75+5=80', '29-1=28']
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,81 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[80, 29], Operations: ['75+5=80', '1*29=29']
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,81 unequal: No Solution
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,81 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,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:[75, 29, 4], Operations: ['5-1=4']
Exploring Operation: 29-4=25, Resulting Numbers: [75, 25]
Generated Node #0,1,0: 81:[75, 25] Operation: 29-4=25
Exploring Operation: 75-4=71, Resulting Numbers: [29, 71]
Generated Node #0,1,1: 81:[29, 71] Operation: 75-4=71
Exploring Operation: 75+4=79, Resulting Numbers: [29, 79]
Generated Node #0,1,2: 81:[29, 79] Operation: 75+4=79
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[29, 79], Operations: ['5-1=4', '75+4=79']
Exploring Operation: 29+79=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 29*79=2291, Resulting Numbers: [2291]
2291,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[75, 25], Operations: ['5-1=4', '29-4=25']
Exploring Operation: 75+25=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 75-25=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 75/25=3, Resulting Numbers: [3]
3,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[29, 71], Operations: ['5-1=4', '75-4=71']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 29*71=2059, Resulting Numbers: [2059]
2059,81 unequal: No Solution
Exploring Operation: 29+71=100, Resulting Numbers: [100]
100,81 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: 81:[5, 29, 76], Operations: ['1+75=76']
Exploring Operation: 5+76=81, Resulting Numbers: [29, 81]
Generated Node #0,2,0: 81:[29, 81] Operation: 5+76=81
Exploring Operation: 5+29=34, Resulting Numbers: [76, 34]
Generated Node #0,2,1: 81:[76, 34] Operation: 5+29=34
Exploring Operation: 29-5=24, Resulting Numbers: [76, 24]
Generated Node #0,2,2: 81:[76, 24] Operation: 29-5=24
Moving to Node #0,2,0
Current State: 81:[29, 81], Operations: ['1+75=76', '5+76=81']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 29*81=2349, Resulting Numbers: [2349]
2349,81 unequal: No Solution
Exploring Operation: 29+81=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[76, 24], Operations: ['1+75=76', '29-5=24']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,81 unequal: No Solution
Exploring Operation: 76*24=1824, Resulting Numbers: [1824]
1824,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[76, 34], Operations: ['1+75=76', '5+29=34']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,81 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 |
[
77,
85,
8,
45
] | 89 | [
"77-45=32",
"32/8=4",
"85+4=89"
] | Current State: 89:[77, 85, 8, 45], Operations: []
Exploring Operation: 77-45=32, Resulting Numbers: [85, 8, 32]
Generated Node #2: [85, 8, 32] from Operation: 77-45=32
Current State: 89:[85, 8, 32], Operations: ['77-45=32']
Exploring Operation: 32/8=4, Resulting Numbers: [85, 4]
Generated Node #3: [85, 4] from Operation: 32/8=4
Current State: 89:[85, 4], Operations: ['77-45=32', '32/8=4']
Exploring Operation: 85+4=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[77, 85, 8, 45], Operations: []
Exploring Operation: 77+8=85, Resulting Numbers: [85, 45, 85]
Generated Node #0,0: 89:[85, 45, 85] Operation: 77+8=85
Exploring Operation: 85+8=93, Resulting Numbers: [77, 45, 93]
Generated Node #0,1: 89:[77, 45, 93] Operation: 85+8=93
Exploring Operation: 85-8=77, Resulting Numbers: [77, 45, 77]
Generated Node #0,2: 89:[77, 45, 77] Operation: 85-8=77
Exploring Operation: 77-8=69, Resulting Numbers: [85, 45, 69]
Generated Node #0,3: 89:[85, 45, 69] Operation: 77-8=69
Exploring Operation: 8+45=53, Resulting Numbers: [77, 85, 53]
Generated Node #0,4: 89:[77, 85, 53] Operation: 8+45=53
Moving to Node #0,0
Current State: 89:[85, 45, 85], Operations: ['77+8=85']
Exploring Operation: 85+85=170, Resulting Numbers: [45, 170]
Generated Node #0,0,0: 89:[45, 170] Operation: 85+85=170
Exploring Operation: 45+85=130, Resulting Numbers: [85, 130]
Generated Node #0,0,1: 89:[85, 130] Operation: 45+85=130
Exploring Operation: 85+45=130, Resulting Numbers: [85, 130]
Generated Node #0,0,2: 89:[85, 130] Operation: 85+45=130
Exploring Operation: 85-45=40, Resulting Numbers: [85, 40]
Generated Node #0,0,3: 89:[85, 40] Operation: 85-45=40
Exploring Operation: 85-45=40, Resulting Numbers: [85, 40]
Generated Node #0,0,4: 89:[85, 40] Operation: 85-45=40
Moving to Node #0,4
Current State: 89:[77, 85, 53], Operations: ['8+45=53']
Exploring Operation: 85+53=138, Resulting Numbers: [77, 138]
Generated Node #0,4,0: 89:[77, 138] Operation: 85+53=138
Exploring Operation: 77-53=24, Resulting Numbers: [85, 24]
Generated Node #0,4,1: 89:[85, 24] Operation: 77-53=24
Exploring Operation: 77+85=162, Resulting Numbers: [53, 162]
Generated Node #0,4,2: 89:[53, 162] Operation: 77+85=162
Exploring Operation: 77+53=130, Resulting Numbers: [85, 130]
Generated Node #0,4,3: 89:[85, 130] Operation: 77+53=130
Exploring Operation: 85-53=32, Resulting Numbers: [77, 32]
Generated Node #0,4,4: 89:[77, 32] Operation: 85-53=32
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 89:[85, 130], Operations: ['8+45=53', '77+53=130']
Exploring Operation: 130-85=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 85*130=11050, Resulting Numbers: [11050]
11050,89 unequal: No Solution
Exploring Operation: 85+130=215, Resulting Numbers: [215]
215,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 89:[77, 138], Operations: ['8+45=53', '85+53=138']
Exploring Operation: 77*138=10626, Resulting Numbers: [10626]
10626,89 unequal: No Solution
Exploring Operation: 138-77=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 77+138=215, Resulting Numbers: [215]
215,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 89:[85, 24], Operations: ['8+45=53', '77-53=24']
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 89:[77, 32], Operations: ['8+45=53', '85-53=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 89:[53, 162], Operations: ['8+45=53', '77+85=162']
Exploring Operation: 53+162=215, Resulting Numbers: [215]
215,89 unequal: No Solution
Exploring Operation: 162-53=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 53*162=8586, Resulting Numbers: [8586]
8586,89 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: 89:[77, 45, 93], Operations: ['85+8=93']
Exploring Operation: 77+45=122, Resulting Numbers: [93, 122]
Generated Node #0,1,0: 89:[93, 122] Operation: 77+45=122
Exploring Operation: 93-45=48, Resulting Numbers: [77, 48]
Generated Node #0,1,1: 89:[77, 48] Operation: 93-45=48
Exploring Operation: 77-45=32, Resulting Numbers: [93, 32]
Generated Node #0,1,2: 89:[93, 32] Operation: 77-45=32
Exploring Operation: 45+93=138, Resulting Numbers: [77, 138]
Generated Node #0,1,3: 89:[77, 138] Operation: 45+93=138
Exploring Operation: 93-77=16, Resulting Numbers: [45, 16]
Generated Node #0,1,4: 89:[45, 16] Operation: 93-77=16
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[93, 122], Operations: ['85+8=93', '77+45=122']
Exploring Operation: 122-93=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 93+122=215, Resulting Numbers: [215]
215,89 unequal: No Solution
Exploring Operation: 93*122=11346, Resulting Numbers: [11346]
11346,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[77, 48], Operations: ['85+8=93', '93-45=48']
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,89 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[93, 32], Operations: ['85+8=93', '77-45=32']
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,89 unequal: No Solution
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[77, 138], Operations: ['85+8=93', '45+93=138']
Exploring Operation: 138-77=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 77*138=10626, Resulting Numbers: [10626]
10626,89 unequal: No Solution
Exploring Operation: 77+138=215, Resulting Numbers: [215]
215,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 89:[45, 16], Operations: ['85+8=93', '93-77=16']
Exploring Operation: 45*16=720, Resulting Numbers: [720]
720,89 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,89 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: 89:[77, 45, 77], Operations: ['85-8=77']
Exploring Operation: 77+45=122, Resulting Numbers: [77, 122]
Generated Node #0,2,0: 89:[77, 122] Operation: 77+45=122
Exploring Operation: 77-45=32, Resulting Numbers: [77, 32]
Generated Node #0,2,1: 89:[77, 32] Operation: 77-45=32
Exploring Operation: 77+77=154, Resulting Numbers: [45, 154]
Generated Node #0,2,2: 89:[45, 154] Operation: 77+77=154
Exploring Operation: 45+77=122, Resulting Numbers: [77, 122]
Generated Node #0,2,3: 89:[77, 122] Operation: 45+77=122
Exploring Operation: 77-45=32, Resulting Numbers: [77, 32]
Generated Node #0,2,4: 89:[77, 32] Operation: 77-45=32
Moving to Node #0,3
Current State: 89:[85, 45, 69], Operations: ['77-8=69']
Exploring Operation: 85+69=154, Resulting Numbers: [45, 154]
Generated Node #0,3,0: 89:[45, 154] Operation: 85+69=154
Exploring Operation: 45+69=114, Resulting Numbers: [85, 114]
Generated Node #0,3,1: 89:[85, 114] Operation: 45+69=114
Exploring Operation: 69-45=24, Resulting Numbers: [85, 24]
Generated Node #0,3,2: 89:[85, 24] Operation: 69-45=24
Exploring Operation: 85-45=40, Resulting Numbers: [69, 40]
Generated Node #0,3,3: 89:[69, 40] Operation: 85-45=40
Exploring Operation: 85+45=130, Resulting Numbers: [69, 130]
Generated Node #0,3,4: 89:[69, 130] Operation: 85+45=130
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 89:[85, 114], Operations: ['77-8=69', '45+69=114']
Exploring Operation: 114-85=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 85*114=9690, Resulting Numbers: [9690]
9690,89 unequal: No Solution
Exploring Operation: 85+114=199, Resulting Numbers: [199]
199,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 89:[69, 130], Operations: ['77-8=69', '85+45=130']
Exploring Operation: 69+130=199, Resulting Numbers: [199]
199,89 unequal: No Solution
Exploring Operation: 130-69=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 69*130=8970, Resulting Numbers: [8970]
8970,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 89:[85, 24], Operations: ['77-8=69', '69-45=24']
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,89 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 89:[69, 40], Operations: ['77-8=69', '85-45=40']
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,89 unequal: No Solution
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,89 unequal: No Solution
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 89:[45, 154], Operations: ['77-8=69', '85+69=154']
Exploring Operation: 154-45=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 45+154=199, Resulting Numbers: [199]
199,89 unequal: No Solution
Exploring Operation: 45*154=6930, Resulting Numbers: [6930]
6930,89 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: 89:[85, 130], Operations: ['77+8=85', '45+85=130']
Exploring Operation: 85*130=11050, Resulting Numbers: [11050]
11050,89 unequal: No Solution
Exploring Operation: 130-85=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 85+130=215, Resulting Numbers: [215]
215,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[77, 122], Operations: ['85-8=77', '77+45=122']
Exploring Operation: 77+122=199, Resulting Numbers: [199]
199,89 unequal: No Solution
Exploring Operation: 122-77=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 77*122=9394, Resulting Numbers: [9394]
9394,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[77, 122], Operations: ['85-8=77', '45+77=122']
Exploring Operation: 77*122=9394, Resulting Numbers: [9394]
9394,89 unequal: No Solution
Exploring Operation: 122-77=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 77+122=199, Resulting Numbers: [199]
199,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[85, 130], Operations: ['77+8=85', '85+45=130']
Exploring Operation: 85+130=215, Resulting Numbers: [215]
215,89 unequal: No Solution
Exploring Operation: 85*130=11050, Resulting Numbers: [11050]
11050,89 unequal: No Solution
Exploring Operation: 130-85=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[85, 40], Operations: ['77+8=85', '85-45=40']
Exploring Operation: 85+40=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 85*40=3400, Resulting Numbers: [3400]
3400,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[85, 40], Operations: ['77+8=85', '85-45=40']
Exploring Operation: 85+40=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 85*40=3400, Resulting Numbers: [3400]
3400,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[77, 32], Operations: ['85-8=77', '77-45=32']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[77, 32], Operations: ['85-8=77', '77-45=32']
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[45, 154], Operations: ['85-8=77', '77+77=154']
Exploring Operation: 45+154=199, Resulting Numbers: [199]
199,89 unequal: No Solution
Exploring Operation: 154-45=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 45*154=6930, Resulting Numbers: [6930]
6930,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[45, 170], Operations: ['77+8=85', '85+85=170']
Exploring Operation: 170-45=125, Resulting Numbers: [125]
125,89 unequal: No Solution
Exploring Operation: 45*170=7650, Resulting Numbers: [7650]
7650,89 unequal: No Solution
Exploring Operation: 45+170=215, Resulting Numbers: [215]
215,89 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
52,
46,
94,
14
] | 87 | [
"52+46=98",
"98/14=7",
"94-7=87"
] | Current State: 87:[52, 46, 94, 14], Operations: []
Exploring Operation: 52+46=98, Resulting Numbers: [94, 14, 98]
Generated Node #2: [94, 14, 98] from Operation: 52+46=98
Current State: 87:[94, 14, 98], Operations: ['52+46=98']
Exploring Operation: 98/14=7, Resulting Numbers: [94, 7]
Generated Node #3: [94, 7] from Operation: 98/14=7
Current State: 87:[94, 7], Operations: ['52+46=98', '98/14=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[52, 46, 94, 14], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [94, 14, 6]
Generated Node #0,0: 87:[94, 14, 6] Operation: 52-46=6
Exploring Operation: 52+46=98, Resulting Numbers: [94, 14, 98]
Generated Node #0,1: 87:[94, 14, 98] Operation: 52+46=98
Exploring Operation: 52-14=38, Resulting Numbers: [46, 94, 38]
Generated Node #0,2: 87:[46, 94, 38] Operation: 52-14=38
Moving to Node #0,0
Current State: 87:[94, 14, 6], Operations: ['52-46=6']
Exploring Operation: 94-14=80, Resulting Numbers: [6, 80]
Generated Node #0,0,0: 87:[6, 80] Operation: 94-14=80
Exploring Operation: 14*6=84, Resulting Numbers: [94, 84]
Generated Node #0,0,1: 87:[94, 84] Operation: 14*6=84
Exploring Operation: 94-6=88, Resulting Numbers: [14, 88]
Generated Node #0,0,2: 87:[14, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[6, 80], Operations: ['52-46=6', '94-14=80']
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,87 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,87 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[94, 84], Operations: ['52-46=6', '14*6=84']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[14, 88], Operations: ['52-46=6', '94-6=88']
Exploring Operation: 88-14=74, Resulting Numbers: [74]
74,87 unequal: No Solution
Exploring Operation: 14*88=1232, Resulting Numbers: [1232]
1232,87 unequal: No Solution
Exploring Operation: 14+88=102, Resulting Numbers: [102]
102,87 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: 87:[94, 14, 98], Operations: ['52+46=98']
Exploring Operation: 98-14=84, Resulting Numbers: [94, 84]
Generated Node #0,1,0: 87:[94, 84] Operation: 98-14=84
Exploring Operation: 98/14=7, Resulting Numbers: [94, 7]
Generated Node #0,1,1: 87:[94, 7] Operation: 98/14=7
Exploring Operation: 98-94=4, Resulting Numbers: [14, 4]
Generated Node #0,1,2: 87:[14, 4] Operation: 98-94=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[94, 84], Operations: ['52+46=98', '98-14=84']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[94, 7], Operations: ['52+46=98', '98/14=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[52, 46, 94, 14], Operations: []
Exploring Operation: 52+46=98, Resulting Numbers: [94, 14, 98]
Generated Node #0,1: 87:[94, 14, 98] Operation: 52+46=98
Moving to Node #0,1
Current State: 87:[94, 14, 98], Operations: ['52+46=98']
Exploring Operation: 98/14=7, Resulting Numbers: [94, 7]
Generated Node #0,1,1: 87:[94, 7] Operation: 98/14=7
Moving to Node #0,1,1
Current State: 87:[94, 7], Operations: ['52+46=98', '98/14=7']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
14,
5,
2,
22
] | 81 | [
"14*5=70",
"22/2=11",
"70+11=81"
] | Current State: 81:[14, 5, 2, 22], Operations: []
Exploring Operation: 14*5=70, Resulting Numbers: [2, 22, 70]
Generated Node #2: [2, 22, 70] from Operation: 14*5=70
Current State: 81:[2, 22, 70], Operations: ['14*5=70']
Exploring Operation: 22/2=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 22/2=11
Current State: 81:[70, 11], Operations: ['14*5=70', '22/2=11']
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[14, 5, 2, 22], Operations: []
Exploring Operation: 22-14=8, Resulting Numbers: [5, 2, 8]
Generated Node #0,0: 81:[5, 2, 8] Operation: 22-14=8
Exploring Operation: 14-5=9, Resulting Numbers: [2, 22, 9]
Generated Node #0,1: 81:[2, 22, 9] Operation: 14-5=9
Moving to Node #0,0
Current State: 81:[5, 2, 8], Operations: ['22-14=8']
Exploring Operation: 5-2=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 81:[8, 3] Operation: 5-2=3
Exploring Operation: 8-5=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 81:[2, 3] Operation: 8-5=3
Moving to Node #0,1
Current State: 81:[2, 22, 9], Operations: ['14-5=9']
Exploring Operation: 2+22=24, Resulting Numbers: [9, 24]
Generated Node #0,1,0: 81:[9, 24] Operation: 2+22=24
Exploring Operation: 22/2=11, Resulting Numbers: [9, 11]
Generated Node #0,1,1: 81:[9, 11] Operation: 22/2=11
Moving to Node #0,0,0
Current State: 81:[8, 3], Operations: ['22-14=8', '5-2=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[2, 3], Operations: ['22-14=8', '8-5=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[9, 11], Operations: ['14-5=9', '22/2=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[9, 24], Operations: ['14-5=9', '2+22=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,81 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
4,
7,
48,
24
] | 36 | [
"48/24=2",
"7+2=9",
"4*9=36"
] | Current State: 36:[4, 7, 48, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [4, 7, 2]
Generated Node #2: [4, 7, 2] from Operation: 48/24=2
Current State: 36:[4, 7, 2], Operations: ['48/24=2']
Exploring Operation: 7+2=9, Resulting Numbers: [4, 9]
Generated Node #3: [4, 9] from Operation: 7+2=9
Current State: 36:[4, 9], Operations: ['48/24=2', '7+2=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[4, 7, 48, 24], Operations: []
Exploring Operation: 48-24=24, Resulting Numbers: [4, 7, 24]
Generated Node #0,0: 36:[4, 7, 24] Operation: 48-24=24
Exploring Operation: 48/24=2, Resulting Numbers: [4, 7, 2]
Generated Node #0,1: 36:[4, 7, 2] Operation: 48/24=2
Exploring Operation: 48/4=12, Resulting Numbers: [7, 24, 12]
Generated Node #0,2: 36:[7, 24, 12] Operation: 48/4=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[4, 7, 2], Operations: ['48/24=2']
Exploring Operation: 7-4=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 36:[2, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [2, 11]
Generated Node #0,1,1: 36:[2, 11] Operation: 4+7=11
Exploring Operation: 7+2=9, Resulting Numbers: [4, 9]
Generated Node #0,1,2: 36:[4, 9] Operation: 7+2=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[2, 3], Operations: ['48/24=2', '7-4=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,36 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,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,1,2
Current State: 36:[4, 9], Operations: ['48/24=2', '7+2=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[4, 7, 48, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [4, 7, 2]
Generated Node #0,1: 36:[4, 7, 2] Operation: 48/24=2
Moving to Node #0,1
Current State: 36:[4, 7, 2], Operations: ['48/24=2']
Exploring Operation: 7+2=9, Resulting Numbers: [4, 9]
Generated Node #0,1,2: 36:[4, 9] Operation: 7+2=9
Moving to Node #0,1,2
Current State: 36:[4, 9], Operations: ['48/24=2', '7+2=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
62,
58,
6,
6
] | 60 | [
"62-58=4",
"6+4=10",
"6*10=60"
] | Current State: 60:[62, 58, 6, 6], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [6, 6, 4]
Generated Node #2: [6, 6, 4] from Operation: 62-58=4
Current State: 60:[6, 6, 4], Operations: ['62-58=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,60 equal: Goal Reached
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[62, 58, 6, 6], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [6, 6, 4]
Generated Node #0,0: 60:[6, 6, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[6, 6, 4], Operations: ['62-58=4']
Exploring Operation: 6+6=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 60:[4, 12] Operation: 6+6=12
Moving to Node #0,0,0
Current State: 60:[4, 12], Operations: ['62-58=4', '6+6=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
68,
85,
69,
3
] | 81 | [
"68+85=153",
"69+3=72",
"153-72=81"
] | Current State: 81:[68, 85, 69, 3], Operations: []
Exploring Operation: 68+85=153, Resulting Numbers: [69, 3, 153]
Generated Node #2: [69, 3, 153] from Operation: 68+85=153
Current State: 81:[69, 3, 153], Operations: ['68+85=153']
Exploring Operation: 69+3=72, Resulting Numbers: [153, 72]
Generated Node #3: [153, 72] from Operation: 69+3=72
Current State: 81:[153, 72], Operations: ['68+85=153', '69+3=72']
Exploring Operation: 153-72=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[68, 85, 69, 3], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [85, 3, 1]
Generated Node #0,0: 81:[85, 3, 1] Operation: 69-68=1
Exploring Operation: 85-68=17, Resulting Numbers: [69, 3, 17]
Generated Node #0,1: 81:[69, 3, 17] Operation: 85-68=17
Moving to Node #0,0
Current State: 81:[85, 3, 1], Operations: ['69-68=1']
Exploring Operation: 85-1=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 81:[3, 84] Operation: 85-1=84
Exploring Operation: 85-3=82, Resulting Numbers: [1, 82]
Generated Node #0,0,1: 81:[1, 82] Operation: 85-3=82
Moving to Node #0,1
Current State: 81:[69, 3, 17], Operations: ['85-68=17']
Exploring Operation: 69+17=86, Resulting Numbers: [3, 86]
Generated Node #0,1,0: 81:[3, 86] Operation: 69+17=86
Exploring Operation: 69/3=23, Resulting Numbers: [17, 23]
Generated Node #0,1,1: 81:[17, 23] Operation: 69/3=23
Moving to Node #0,0,0
Current State: 81:[3, 84], Operations: ['69-68=1', '85-1=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[68, 85, 69, 3], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [85, 3, 1]
Generated Node #0,0: 81:[85, 3, 1] Operation: 69-68=1
Moving to Node #0,0
Current State: 81:[85, 3, 1], Operations: ['69-68=1']
Exploring Operation: 85-1=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 81:[3, 84] Operation: 85-1=84
Moving to Node #0,0,0
Current State: 81:[3, 84], Operations: ['69-68=1', '85-1=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
13,
63,
88,
21
] | 98 | [
"13+88=101",
"63/21=3",
"101-3=98"
] | Current State: 98:[13, 63, 88, 21], Operations: []
Exploring Operation: 13+88=101, Resulting Numbers: [63, 21, 101]
Generated Node #2: [63, 21, 101] from Operation: 13+88=101
Current State: 98:[63, 21, 101], Operations: ['13+88=101']
Exploring Operation: 63/21=3, Resulting Numbers: [101, 3]
Generated Node #3: [101, 3] from Operation: 63/21=3
Current State: 98:[101, 3], Operations: ['13+88=101', '63/21=3']
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[13, 63, 88, 21], Operations: []
Exploring Operation: 63-21=42, Resulting Numbers: [13, 88, 42]
Generated Node #0,0: 98:[13, 88, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [13, 88, 3]
Generated Node #0,1: 98:[13, 88, 3] Operation: 63/21=3
Exploring Operation: 63-13=50, Resulting Numbers: [88, 21, 50]
Generated Node #0,2: 98:[88, 21, 50] Operation: 63-13=50
Exploring Operation: 88-63=25, Resulting Numbers: [13, 21, 25]
Generated Node #0,3: 98:[13, 21, 25] Operation: 88-63=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[13, 88, 3], Operations: ['63/21=3']
Exploring Operation: 88+3=91, Resulting Numbers: [13, 91]
Generated Node #0,1,0: 98:[13, 91] Operation: 88+3=91
Exploring Operation: 13-3=10, Resulting Numbers: [88, 10]
Generated Node #0,1,1: 98:[88, 10] Operation: 13-3=10
Exploring Operation: 13+88=101, Resulting Numbers: [3, 101]
Generated Node #0,1,2: 98:[3, 101] Operation: 13+88=101
Exploring Operation: 13+3=16, Resulting Numbers: [88, 16]
Generated Node #0,1,3: 98:[88, 16] Operation: 13+3=16
Moving to Node #0,1,2
Current State: 98:[3, 101], Operations: ['63/21=3', '13+88=101']
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[13, 63, 88, 21], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [13, 88, 3]
Generated Node #0,1: 98:[13, 88, 3] Operation: 63/21=3
Moving to Node #0,1
Current State: 98:[13, 88, 3], Operations: ['63/21=3']
Exploring Operation: 13+88=101, Resulting Numbers: [3, 101]
Generated Node #0,1,2: 98:[3, 101] Operation: 13+88=101
Moving to Node #0,1,2
Current State: 98:[3, 101], Operations: ['63/21=3', '13+88=101']
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
39,
68,
2,
93
] | 35 | [
"68-39=29",
"2*29=58",
"93-58=35"
] | Current State: 35:[39, 68, 2, 93], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [2, 93, 29]
Generated Node #2: [2, 93, 29] from Operation: 68-39=29
Current State: 35:[2, 93, 29], Operations: ['68-39=29']
Exploring Operation: 2*29=58, Resulting Numbers: [93, 58]
Generated Node #3: [93, 58] from Operation: 2*29=58
Current State: 35:[93, 58], Operations: ['68-39=29', '2*29=58']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[39, 68, 2, 93], Operations: []
Exploring Operation: 93-39=54, Resulting Numbers: [68, 2, 54]
Generated Node #0,0: 35:[68, 2, 54] Operation: 93-39=54
Exploring Operation: 68/2=34, Resulting Numbers: [39, 93, 34]
Generated Node #0,1: 35:[39, 93, 34] Operation: 68/2=34
Exploring Operation: 93-68=25, Resulting Numbers: [39, 2, 25]
Generated Node #0,2: 35:[39, 2, 25] Operation: 93-68=25
Exploring Operation: 68-39=29, Resulting Numbers: [2, 93, 29]
Generated Node #0,3: 35:[2, 93, 29] Operation: 68-39=29
Moving to Node #0,2
Current State: 35:[39, 2, 25], Operations: ['93-68=25']
Exploring Operation: 39+2=41, Resulting Numbers: [25, 41]
Generated Node #0,2,0: 35:[25, 41] Operation: 39+2=41
Exploring Operation: 2+25=27, Resulting Numbers: [39, 27]
Generated Node #0,2,1: 35:[39, 27] Operation: 2+25=27
Exploring Operation: 39-25=14, Resulting Numbers: [2, 14]
Generated Node #0,2,2: 35:[2, 14] Operation: 39-25=14
Exploring Operation: 39-2=37, Resulting Numbers: [25, 37]
Generated Node #0,2,3: 35:[25, 37] Operation: 39-2=37
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 35:[2, 14], Operations: ['93-68=25', '39-25=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 35:[39, 27], Operations: ['93-68=25', '2+25=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,35 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 35:[25, 37], Operations: ['93-68=25', '39-2=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,35 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[25, 41], Operations: ['93-68=25', '39+2=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,35 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,35 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: 35:[68, 2, 54], Operations: ['93-39=54']
Exploring Operation: 68-2=66, Resulting Numbers: [54, 66]
Generated Node #0,0,0: 35:[54, 66] Operation: 68-2=66
Exploring Operation: 68-54=14, Resulting Numbers: [2, 14]
Generated Node #0,0,1: 35:[2, 14] Operation: 68-54=14
Exploring Operation: 54/2=27, Resulting Numbers: [68, 27]
Generated Node #0,0,2: 35:[68, 27] Operation: 54/2=27
Exploring Operation: 68/2=34, Resulting Numbers: [54, 34]
Generated Node #0,0,3: 35:[54, 34] Operation: 68/2=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[2, 14], Operations: ['93-39=54', '68-54=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,35 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,35 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[54, 34], Operations: ['93-39=54', '68/2=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,35 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 35:[68, 27], Operations: ['93-39=54', '54/2=27']
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,35 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[54, 66], Operations: ['93-39=54', '68-2=66']
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,35 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,35 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: 35:[39, 93, 34], Operations: ['68/2=34']
Exploring Operation: 93-39=54, Resulting Numbers: [34, 54]
Generated Node #0,1,0: 35:[34, 54] Operation: 93-39=54
Exploring Operation: 39+34=73, Resulting Numbers: [93, 73]
Generated Node #0,1,1: 35:[93, 73] Operation: 39+34=73
Exploring Operation: 93-34=59, Resulting Numbers: [39, 59]
Generated Node #0,1,2: 35:[39, 59] Operation: 93-34=59
Exploring Operation: 39-34=5, Resulting Numbers: [93, 5]
Generated Node #0,1,3: 35:[93, 5] Operation: 39-34=5
Moving to Node #0,3
Current State: 35:[2, 93, 29], Operations: ['68-39=29']
Exploring Operation: 93-2=91, Resulting Numbers: [29, 91]
Generated Node #0,3,0: 35:[29, 91] Operation: 93-2=91
Exploring Operation: 2+93=95, Resulting Numbers: [29, 95]
Generated Node #0,3,1: 35:[29, 95] Operation: 2+93=95
Exploring Operation: 2+29=31, Resulting Numbers: [93, 31]
Generated Node #0,3,2: 35:[93, 31] Operation: 2+29=31
Exploring Operation: 93-29=64, Resulting Numbers: [2, 64]
Generated Node #0,3,3: 35:[2, 64] Operation: 93-29=64
Moving to Node #0,1,0
Current State: 35:[34, 54], Operations: ['68/2=34', '93-39=54']
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,35 unequal: No Solution
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[39, 59], Operations: ['68/2=34', '93-34=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 39*59=2301, Resulting Numbers: [2301]
2301,35 unequal: No Solution
Moving to Node #0,3,3
Current State: 35:[2, 64], Operations: ['68-39=29', '93-29=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,35 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,35 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[93, 5], Operations: ['68/2=34', '39-34=5']
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,35 unequal: No Solution
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,35 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,35 unequal: No Solution
Moving to Node #0,3,0
Current State: 35:[29, 91], Operations: ['68-39=29', '93-2=91']
Exploring Operation: 29+91=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Exploring Operation: 91-29=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 29*91=2639, Resulting Numbers: [2639]
2639,35 unequal: No Solution
Moving to Node #0,3,2
Current State: 35:[93, 31], Operations: ['68-39=29', '2+29=31']
Exploring Operation: 93/31=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 93+31=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 93-31=62, Resulting Numbers: [62]
62,35 unequal: No Solution
Exploring Operation: 93*31=2883, Resulting Numbers: [2883]
2883,35 unequal: No Solution
Moving to Node #0,3,1
Current State: 35:[29, 95], Operations: ['68-39=29', '2+93=95']
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 29+95=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 29*95=2755, Resulting Numbers: [2755]
2755,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[93, 73], Operations: ['68/2=34', '39+34=73']
Exploring Operation: 93-73=20, Resulting Numbers: [20]
20,35 unequal: No Solution
Exploring Operation: 93+73=166, Resulting Numbers: [166]
166,35 unequal: No Solution
Exploring Operation: 93*73=6789, Resulting Numbers: [6789]
6789,35 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
15,
51,
37,
53
] | 54 | [
"51-15=36",
"37+53=90",
"90-36=54"
] | Current State: 54:[15, 51, 37, 53], Operations: []
Exploring Operation: 51-15=36, Resulting Numbers: [37, 53, 36]
Generated Node #2: [37, 53, 36] from Operation: 51-15=36
Current State: 54:[37, 53, 36], Operations: ['51-15=36']
Exploring Operation: 37+53=90, Resulting Numbers: [36, 90]
Generated Node #3: [36, 90] from Operation: 37+53=90
Current State: 54:[36, 90], Operations: ['51-15=36', '37+53=90']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[15, 51, 37, 53], Operations: []
Exploring Operation: 15+37=52, Resulting Numbers: [51, 53, 52]
Generated Node #0,0: 54:[51, 53, 52] Operation: 15+37=52
Exploring Operation: 37-15=22, Resulting Numbers: [51, 53, 22]
Generated Node #0,1: 54:[51, 53, 22] Operation: 37-15=22
Moving to Node #0,0
Current State: 54:[51, 53, 52], Operations: ['15+37=52']
Exploring Operation: 52-51=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 54:[53, 1] Operation: 52-51=1
Exploring Operation: 53-51=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 54:[52, 2] Operation: 53-51=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[53, 1], Operations: ['15+37=52', '52-51=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[15, 51, 37, 53], Operations: []
Exploring Operation: 15+37=52, Resulting Numbers: [51, 53, 52]
Generated Node #0,0: 54:[51, 53, 52] Operation: 15+37=52
Moving to Node #0,0
Current State: 54:[51, 53, 52], Operations: ['15+37=52']
Exploring Operation: 52-51=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 54:[53, 1] Operation: 52-51=1
Moving to Node #0,0,0
Current State: 54:[53, 1], Operations: ['15+37=52', '52-51=1']
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
8,
60,
29,
14
] | 81 | [
"8*14=112",
"60-29=31",
"112-31=81"
] | Current State: 81:[8, 60, 29, 14], Operations: []
Exploring Operation: 8*14=112, Resulting Numbers: [60, 29, 112]
Generated Node #2: [60, 29, 112] from Operation: 8*14=112
Current State: 81:[60, 29, 112], Operations: ['8*14=112']
Exploring Operation: 60-29=31, Resulting Numbers: [112, 31]
Generated Node #3: [112, 31] from Operation: 60-29=31
Current State: 81:[112, 31], Operations: ['8*14=112', '60-29=31']
Exploring Operation: 112-31=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[8, 60, 29, 14], Operations: []
Exploring Operation: 60+29=89, Resulting Numbers: [8, 14, 89]
Generated Node #0,0: 81:[8, 14, 89] Operation: 60+29=89
Exploring Operation: 60+14=74, Resulting Numbers: [8, 29, 74]
Generated Node #0,1: 81:[8, 29, 74] Operation: 60+14=74
Exploring Operation: 60-29=31, Resulting Numbers: [8, 14, 31]
Generated Node #0,2: 81:[8, 14, 31] Operation: 60-29=31
Moving to Node #0,1
Current State: 81:[8, 29, 74], Operations: ['60+14=74']
Exploring Operation: 8+74=82, Resulting Numbers: [29, 82]
Generated Node #0,1,0: 81:[29, 82] Operation: 8+74=82
Exploring Operation: 8+29=37, Resulting Numbers: [74, 37]
Generated Node #0,1,1: 81:[74, 37] Operation: 8+29=37
Exploring Operation: 29-8=21, Resulting Numbers: [74, 21]
Generated Node #0,1,2: 81:[74, 21] Operation: 29-8=21
Moving to Node #0,2
Current State: 81:[8, 14, 31], Operations: ['60-29=31']
Exploring Operation: 14-8=6, Resulting Numbers: [31, 6]
Generated Node #0,2,0: 81:[31, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [31, 22]
Generated Node #0,2,1: 81:[31, 22] Operation: 8+14=22
Exploring Operation: 31-8=23, Resulting Numbers: [14, 23]
Generated Node #0,2,2: 81:[14, 23] Operation: 31-8=23
Moving to Node #0,0
Current State: 81:[8, 14, 89], Operations: ['60+29=89']
Exploring Operation: 89-14=75, Resulting Numbers: [8, 75]
Generated Node #0,0,0: 81:[8, 75] Operation: 89-14=75
Exploring Operation: 14-8=6, Resulting Numbers: [89, 6]
Generated Node #0,0,1: 81:[89, 6] Operation: 14-8=6
Exploring Operation: 89-8=81, Resulting Numbers: [14, 81]
Generated Node #0,0,2: 81:[14, 81] Operation: 89-8=81
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[14, 81], Operations: ['60+29=89', '89-8=81']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,81 unequal: No Solution
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,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:[8, 75], Operations: ['60+29=89', '89-14=75']
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 8*75=600, Resulting Numbers: [600]
600,81 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[89, 6], Operations: ['60+29=89', '14-8=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,81 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,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:[29, 82], Operations: ['60+14=74', '8+74=82']
Exploring Operation: 82-29=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 29*82=2378, Resulting Numbers: [2378]
2378,81 unequal: No Solution
Exploring Operation: 29+82=111, Resulting Numbers: [111]
111,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[31, 6], Operations: ['60-29=31', '14-8=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[14, 23], Operations: ['60-29=31', '31-8=23']
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,81 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[31, 22], Operations: ['60-29=31', '8+14=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[74, 21], Operations: ['60+14=74', '29-8=21']
Exploring Operation: 74*21=1554, Resulting Numbers: [1554]
1554,81 unequal: No Solution
Exploring Operation: 74+21=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[74, 37], Operations: ['60+14=74', '8+29=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 74+37=111, Resulting Numbers: [111]
111,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
31,
42,
47,
17
] | 44 | [
"31-17=14",
"42/14=3",
"47-3=44"
] | Current State: 44:[31, 42, 47, 17], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [42, 47, 14]
Generated Node #2: [42, 47, 14] from Operation: 31-17=14
Current State: 44:[42, 47, 14], Operations: ['31-17=14']
Exploring Operation: 42/14=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 42/14=3
Current State: 44:[47, 3], Operations: ['31-17=14', '42/14=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[31, 42, 47, 17], Operations: []
Exploring Operation: 31+17=48, Resulting Numbers: [42, 47, 48]
Generated Node #0,0: 44:[42, 47, 48] Operation: 31+17=48
Exploring Operation: 47-42=5, Resulting Numbers: [31, 17, 5]
Generated Node #0,1: 44:[31, 17, 5] Operation: 47-42=5
Exploring Operation: 47-31=16, Resulting Numbers: [42, 17, 16]
Generated Node #0,2: 44:[42, 17, 16] Operation: 47-31=16
Exploring Operation: 42-31=11, Resulting Numbers: [47, 17, 11]
Generated Node #0,3: 44:[47, 17, 11] Operation: 42-31=11
Exploring Operation: 31-17=14, Resulting Numbers: [42, 47, 14]
Generated Node #0,4: 44:[42, 47, 14] Operation: 31-17=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[47, 17, 11], Operations: ['42-31=11']
Exploring Operation: 47-11=36, Resulting Numbers: [17, 36]
Generated Node #0,3,0: 44:[17, 36] Operation: 47-11=36
Exploring Operation: 47+11=58, Resulting Numbers: [17, 58]
Generated Node #0,3,1: 44:[17, 58] Operation: 47+11=58
Exploring Operation: 17-11=6, Resulting Numbers: [47, 6]
Generated Node #0,3,2: 44:[47, 6] Operation: 17-11=6
Exploring Operation: 47-17=30, Resulting Numbers: [11, 30]
Generated Node #0,3,3: 44:[11, 30] Operation: 47-17=30
Exploring Operation: 17+11=28, Resulting Numbers: [47, 28]
Generated Node #0,3,4: 44:[47, 28] Operation: 17+11=28
Moving to Node #0,3,2
Current State: 44:[47, 6], Operations: ['42-31=11', '17-11=6']
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,44 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[11, 30], Operations: ['42-31=11', '47-17=30']
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,44 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[47, 28], Operations: ['42-31=11', '17+11=28']
Exploring Operation: 47*28=1316, Resulting Numbers: [1316]
1316,44 unequal: No Solution
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[17, 36], Operations: ['42-31=11', '47-11=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[17, 58], Operations: ['42-31=11', '47+11=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,44 unequal: No Solution
Exploring Operation: 17*58=986, Resulting Numbers: [986]
986,44 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,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,4
Current State: 44:[42, 47, 14], Operations: ['31-17=14']
Exploring Operation: 42-14=28, Resulting Numbers: [47, 28]
Generated Node #0,4,0: 44:[47, 28] Operation: 42-14=28
Exploring Operation: 42/14=3, Resulting Numbers: [47, 3]
Generated Node #0,4,1: 44:[47, 3] Operation: 42/14=3
Exploring Operation: 42+14=56, Resulting Numbers: [47, 56]
Generated Node #0,4,2: 44:[47, 56] Operation: 42+14=56
Exploring Operation: 47-14=33, Resulting Numbers: [42, 33]
Generated Node #0,4,3: 44:[42, 33] Operation: 47-14=33
Exploring Operation: 47-42=5, Resulting Numbers: [14, 5]
Generated Node #0,4,4: 44:[14, 5] Operation: 47-42=5
Moving to Node #0,4,1
Current State: 44:[47, 3], Operations: ['31-17=14', '42/14=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[31, 42, 47, 17], Operations: []
Exploring Operation: 31-17=14, Resulting Numbers: [42, 47, 14]
Generated Node #0,4: 44:[42, 47, 14] Operation: 31-17=14
Moving to Node #0,4
Current State: 44:[42, 47, 14], Operations: ['31-17=14']
Exploring Operation: 42/14=3, Resulting Numbers: [47, 3]
Generated Node #0,4,1: 44:[47, 3] Operation: 42/14=3
Moving to Node #0,4,1
Current State: 44:[47, 3], Operations: ['31-17=14', '42/14=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
56,
76,
28,
57
] | 95 | [
"56*76=4256",
"4256/28=152",
"152-57=95"
] | Current State: 95:[56, 76, 28, 57], Operations: []
Exploring Operation: 56*76=4256, Resulting Numbers: [28, 57, 4256]
Generated Node #2: [28, 57, 4256] from Operation: 56*76=4256
Current State: 95:[28, 57, 4256], Operations: ['56*76=4256']
Exploring Operation: 4256/28=152, Resulting Numbers: [57, 152]
Generated Node #3: [57, 152] from Operation: 4256/28=152
Current State: 95:[57, 152], Operations: ['56*76=4256', '4256/28=152']
Exploring Operation: 152-57=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[56, 76, 28, 57], Operations: []
Exploring Operation: 56+57=113, Resulting Numbers: [76, 28, 113]
Generated Node #0,0: 95:[76, 28, 113] Operation: 56+57=113
Exploring Operation: 57-56=1, Resulting Numbers: [76, 28, 1]
Generated Node #0,1: 95:[76, 28, 1] Operation: 57-56=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[76, 28, 1], Operations: ['57-56=1']
Exploring Operation: 76+28=104, Resulting Numbers: [1, 104]
Generated Node #0,1,0: 95:[1, 104] Operation: 76+28=104
Exploring Operation: 76+1=77, Resulting Numbers: [28, 77]
Generated Node #0,1,1: 95:[28, 77] Operation: 76+1=77
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[1, 104], Operations: ['57-56=1', '76+28=104']
Exploring Operation: 1*104=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 104-1=103, Resulting Numbers: [103]
103,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:[28, 77], Operations: ['57-56=1', '76+1=77']
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 28+77=105, Resulting Numbers: [105]
105,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:[76, 28, 113], Operations: ['56+57=113']
Exploring Operation: 76+28=104, Resulting Numbers: [113, 104]
Generated Node #0,0,0: 95:[113, 104] Operation: 76+28=104
Exploring Operation: 113-76=37, Resulting Numbers: [28, 37]
Generated Node #0,0,1: 95:[28, 37] Operation: 113-76=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[113, 104], Operations: ['56+57=113', '76+28=104']
Exploring Operation: 113-104=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 113+104=217, Resulting Numbers: [217]
217,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,1
Current State: 95:[28, 37], Operations: ['56+57=113', '113-76=37']
Exploring Operation: 28+37=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,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_2 | sum_heuristic |
[
74,
14,
54,
18
] | 91 | [
"74+14=88",
"54/18=3",
"88+3=91"
] | Current State: 91:[74, 14, 54, 18], Operations: []
Exploring Operation: 74+14=88, Resulting Numbers: [54, 18, 88]
Generated Node #2: [54, 18, 88] from Operation: 74+14=88
Current State: 91:[54, 18, 88], Operations: ['74+14=88']
Exploring Operation: 54/18=3, Resulting Numbers: [88, 3]
Generated Node #3: [88, 3] from Operation: 54/18=3
Current State: 91:[88, 3], Operations: ['74+14=88', '54/18=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[74, 14, 54, 18], Operations: []
Exploring Operation: 74-54=20, Resulting Numbers: [14, 18, 20]
Generated Node #0,0: 91:[14, 18, 20] Operation: 74-54=20
Exploring Operation: 54/18=3, Resulting Numbers: [74, 14, 3]
Generated Node #0,1: 91:[74, 14, 3] Operation: 54/18=3
Moving to Node #0,0
Current State: 91:[14, 18, 20], Operations: ['74-54=20']
Exploring Operation: 20-14=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 91:[18, 6] Operation: 20-14=6
Exploring Operation: 20-18=2, Resulting Numbers: [14, 2]
Generated Node #0,0,1: 91:[14, 2] Operation: 20-18=2
Moving to Node #0,1
Current State: 91:[74, 14, 3], Operations: ['54/18=3']
Exploring Operation: 74+14=88, Resulting Numbers: [3, 88]
Generated Node #0,1,0: 91:[3, 88] Operation: 74+14=88
Exploring Operation: 74+3=77, Resulting Numbers: [14, 77]
Generated Node #0,1,1: 91:[14, 77] Operation: 74+3=77
Moving to Node #0,0,0
Current State: 91:[18, 6], Operations: ['74-54=20', '20-14=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[14, 2], Operations: ['74-54=20', '20-18=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[3, 88], Operations: ['54/18=3', '74+14=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[74, 14, 54, 18], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [74, 14, 3]
Generated Node #0,1: 91:[74, 14, 3] Operation: 54/18=3
Moving to Node #0,1
Current State: 91:[74, 14, 3], Operations: ['54/18=3']
Exploring Operation: 74+14=88, Resulting Numbers: [3, 88]
Generated Node #0,1,0: 91:[3, 88] Operation: 74+14=88
Moving to Node #0,1,0
Current State: 91:[3, 88], Operations: ['54/18=3', '74+14=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
47,
25,
27,
45
] | 90 | [
"47+25=72",
"45-27=18",
"72+18=90"
] | Current State: 90:[47, 25, 27, 45], Operations: []
Exploring Operation: 47+25=72, Resulting Numbers: [27, 45, 72]
Generated Node #2: [27, 45, 72] from Operation: 47+25=72
Current State: 90:[27, 45, 72], Operations: ['47+25=72']
Exploring Operation: 45-27=18, Resulting Numbers: [72, 18]
Generated Node #3: [72, 18] from Operation: 45-27=18
Current State: 90:[72, 18], Operations: ['47+25=72', '45-27=18']
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[47, 25, 27, 45], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [47, 45, 2]
Generated Node #0,0: 90:[47, 45, 2] Operation: 27-25=2
Exploring Operation: 47-27=20, Resulting Numbers: [25, 45, 20]
Generated Node #0,1: 90:[25, 45, 20] Operation: 47-27=20
Exploring Operation: 47-25=22, Resulting Numbers: [27, 45, 22]
Generated Node #0,2: 90:[27, 45, 22] Operation: 47-25=22
Moving to Node #0,0
Current State: 90:[47, 45, 2], Operations: ['27-25=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45, 45]
Generated Node #0,0,0: 90:[45, 45] Operation: 47-2=45
Exploring Operation: 47-45=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 90:[2, 2] Operation: 47-45=2
Exploring Operation: 47+45=92, Resulting Numbers: [2, 92]
Generated Node #0,0,2: 90:[2, 92] Operation: 47+45=92
Moving to Node #0,1
Current State: 90:[25, 45, 20], Operations: ['47-27=20']
Exploring Operation: 45-25=20, Resulting Numbers: [20, 20]
Generated Node #0,1,0: 90:[20, 20] Operation: 45-25=20
Exploring Operation: 25+20=45, Resulting Numbers: [45, 45]
Generated Node #0,1,1: 90:[45, 45] Operation: 25+20=45
Exploring Operation: 25-20=5, Resulting Numbers: [45, 5]
Generated Node #0,1,2: 90:[45, 5] Operation: 25-20=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 90:[45, 45], Operations: ['47-27=20', '25+20=45']
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,90 unequal: No Solution
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,90 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[47, 25, 27, 45], Operations: []
Exploring Operation: 47-27=20, Resulting Numbers: [25, 45, 20]
Generated Node #0,1: 90:[25, 45, 20] Operation: 47-27=20
Moving to Node #0,1
Current State: 90:[25, 45, 20], Operations: ['47-27=20']
Exploring Operation: 25+20=45, Resulting Numbers: [45, 45]
Generated Node #0,1,1: 90:[45, 45] Operation: 25+20=45
Moving to Node #0,1,1
Current State: 90:[45, 45], Operations: ['47-27=20', '25+20=45']
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
34,
16,
89,
80
] | 59 | [
"34+16=50",
"89-80=9",
"50+9=59"
] | Current State: 59:[34, 16, 89, 80], Operations: []
Exploring Operation: 34+16=50, Resulting Numbers: [89, 80, 50]
Generated Node #2: [89, 80, 50] from Operation: 34+16=50
Current State: 59:[89, 80, 50], Operations: ['34+16=50']
Exploring Operation: 89-80=9, Resulting Numbers: [50, 9]
Generated Node #3: [50, 9] from Operation: 89-80=9
Current State: 59:[50, 9], Operations: ['34+16=50', '89-80=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[34, 16, 89, 80], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [34, 80, 73]
Generated Node #0,0: 59:[34, 80, 73] Operation: 89-16=73
Exploring Operation: 34+16=50, Resulting Numbers: [89, 80, 50]
Generated Node #0,1: 59:[89, 80, 50] Operation: 34+16=50
Moving to Node #0,0
Current State: 59:[34, 80, 73], Operations: ['89-16=73']
Exploring Operation: 80-34=46, Resulting Numbers: [73, 46]
Generated Node #0,0,0: 59:[73, 46] Operation: 80-34=46
Exploring Operation: 73-34=39, Resulting Numbers: [80, 39]
Generated Node #0,0,1: 59:[80, 39] Operation: 73-34=39
Moving to Node #0,1
Current State: 59:[89, 80, 50], Operations: ['34+16=50']
Exploring Operation: 89-80=9, Resulting Numbers: [50, 9]
Generated Node #0,1,0: 59:[50, 9] Operation: 89-80=9
Exploring Operation: 89-50=39, Resulting Numbers: [80, 39]
Generated Node #0,1,1: 59:[80, 39] Operation: 89-50=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[80, 39], Operations: ['34+16=50', '89-50=39']
Exploring Operation: 80+39=119, Resulting Numbers: [119]
119,59 unequal: No Solution
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[50, 9], Operations: ['34+16=50', '89-80=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[34, 16, 89, 80], Operations: []
Exploring Operation: 34+16=50, Resulting Numbers: [89, 80, 50]
Generated Node #0,1: 59:[89, 80, 50] Operation: 34+16=50
Moving to Node #0,1
Current State: 59:[89, 80, 50], Operations: ['34+16=50']
Exploring Operation: 89-80=9, Resulting Numbers: [50, 9]
Generated Node #0,1,0: 59:[50, 9] Operation: 89-80=9
Moving to Node #0,1,0
Current State: 59:[50, 9], Operations: ['34+16=50', '89-80=9']
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
42,
13,
22,
99
] | 66 | [
"42+13=55",
"22+99=121",
"121-55=66"
] | Current State: 66:[42, 13, 22, 99], Operations: []
Exploring Operation: 42+13=55, Resulting Numbers: [22, 99, 55]
Generated Node #2: [22, 99, 55] from Operation: 42+13=55
Current State: 66:[22, 99, 55], Operations: ['42+13=55']
Exploring Operation: 22+99=121, Resulting Numbers: [55, 121]
Generated Node #3: [55, 121] from Operation: 22+99=121
Current State: 66:[55, 121], Operations: ['42+13=55', '22+99=121']
Exploring Operation: 121-55=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[42, 13, 22, 99], Operations: []
Exploring Operation: 42+22=64, Resulting Numbers: [13, 99, 64]
Generated Node #0,0: 66:[13, 99, 64] Operation: 42+22=64
Exploring Operation: 42-13=29, Resulting Numbers: [22, 99, 29]
Generated Node #0,1: 66:[22, 99, 29] Operation: 42-13=29
Exploring Operation: 99-13=86, Resulting Numbers: [42, 22, 86]
Generated Node #0,2: 66:[42, 22, 86] Operation: 99-13=86
Exploring Operation: 99-42=57, Resulting Numbers: [13, 22, 57]
Generated Node #0,3: 66:[13, 22, 57] Operation: 99-42=57
Exploring Operation: 99-22=77, Resulting Numbers: [42, 13, 77]
Generated Node #0,4: 66:[42, 13, 77] Operation: 99-22=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[13, 22, 57], Operations: ['99-42=57']
Exploring Operation: 57-22=35, Resulting Numbers: [13, 35]
Generated Node #0,3,0: 66:[13, 35] Operation: 57-22=35
Exploring Operation: 13+22=35, Resulting Numbers: [57, 35]
Generated Node #0,3,1: 66:[57, 35] Operation: 13+22=35
Exploring Operation: 13+57=70, Resulting Numbers: [22, 70]
Generated Node #0,3,2: 66:[22, 70] Operation: 13+57=70
Exploring Operation: 57-13=44, Resulting Numbers: [22, 44]
Generated Node #0,3,3: 66:[22, 44] Operation: 57-13=44
Exploring Operation: 22-13=9, Resulting Numbers: [57, 9]
Generated Node #0,3,4: 66:[57, 9] Operation: 22-13=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[13, 35], Operations: ['99-42=57', '57-22=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 13*35=455, Resulting Numbers: [455]
455,66 unequal: No Solution
Exploring Operation: 13+35=48, Resulting Numbers: [48]
48,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 66:[22, 70], Operations: ['99-42=57', '13+57=70']
Exploring Operation: 22+70=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 70-22=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 22*70=1540, Resulting Numbers: [1540]
1540,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[57, 35], Operations: ['99-42=57', '13+22=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,66 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[22, 44], Operations: ['99-42=57', '57-13=44']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[42, 13, 22, 99], Operations: []
Exploring Operation: 99-42=57, Resulting Numbers: [13, 22, 57]
Generated Node #0,3: 66:[13, 22, 57] Operation: 99-42=57
Moving to Node #0,3
Current State: 66:[13, 22, 57], Operations: ['99-42=57']
Exploring Operation: 57-13=44, Resulting Numbers: [22, 44]
Generated Node #0,3,3: 66:[22, 44] Operation: 57-13=44
Moving to Node #0,3,3
Current State: 66:[22, 44], Operations: ['99-42=57', '57-13=44']
Exploring Operation: 22+44=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
52,
31,
47,
54
] | 90 | [
"52+31=83",
"54-47=7",
"83+7=90"
] | Current State: 90:[52, 31, 47, 54], Operations: []
Exploring Operation: 52+31=83, Resulting Numbers: [47, 54, 83]
Generated Node #2: [47, 54, 83] from Operation: 52+31=83
Current State: 90:[47, 54, 83], Operations: ['52+31=83']
Exploring Operation: 54-47=7, Resulting Numbers: [83, 7]
Generated Node #3: [83, 7] from Operation: 54-47=7
Current State: 90:[83, 7], Operations: ['52+31=83', '54-47=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[52, 31, 47, 54], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [52, 31, 7]
Generated Node #0,0: 90:[52, 31, 7] Operation: 54-47=7
Exploring Operation: 52-47=5, Resulting Numbers: [31, 54, 5]
Generated Node #0,1: 90:[31, 54, 5] Operation: 52-47=5
Exploring Operation: 52-31=21, Resulting Numbers: [47, 54, 21]
Generated Node #0,2: 90:[47, 54, 21] Operation: 52-31=21
Exploring Operation: 54-52=2, Resulting Numbers: [31, 47, 2]
Generated Node #0,3: 90:[31, 47, 2] Operation: 54-52=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[31, 47, 2], Operations: ['54-52=2']
Exploring Operation: 47-31=16, Resulting Numbers: [2, 16]
Generated Node #0,3,0: 90:[2, 16] Operation: 47-31=16
Exploring Operation: 31+2=33, Resulting Numbers: [47, 33]
Generated Node #0,3,1: 90:[47, 33] Operation: 31+2=33
Exploring Operation: 31-2=29, Resulting Numbers: [47, 29]
Generated Node #0,3,2: 90:[47, 29] Operation: 31-2=29
Exploring Operation: 47-2=45, Resulting Numbers: [31, 45]
Generated Node #0,3,3: 90:[31, 45] Operation: 47-2=45
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[2, 16], Operations: ['54-52=2', '47-31=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[31, 45], Operations: ['54-52=2', '47-2=45']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[47, 29], Operations: ['54-52=2', '31-2=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[47, 33], Operations: ['54-52=2', '31+2=33']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,90 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[52, 31, 7], Operations: ['54-47=7']
Exploring Operation: 52-7=45, Resulting Numbers: [31, 45]
Generated Node #0,0,0: 90:[31, 45] Operation: 52-7=45
Exploring Operation: 31-7=24, Resulting Numbers: [52, 24]
Generated Node #0,0,1: 90:[52, 24] Operation: 31-7=24
Exploring Operation: 52+31=83, Resulting Numbers: [7, 83]
Generated Node #0,0,2: 90:[7, 83] Operation: 52+31=83
Exploring Operation: 52-31=21, Resulting Numbers: [7, 21]
Generated Node #0,0,3: 90:[7, 21] Operation: 52-31=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[31, 45], Operations: ['54-47=7', '52-7=45']
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,90 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 90:[7, 21], Operations: ['54-47=7', '52-31=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,90 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,90 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[7, 83], Operations: ['54-47=7', '52+31=83']
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[52, 31, 47, 54], Operations: []
Exploring Operation: 54-47=7, Resulting Numbers: [52, 31, 7]
Generated Node #0,0: 90:[52, 31, 7] Operation: 54-47=7
Moving to Node #0,0
Current State: 90:[52, 31, 7], Operations: ['54-47=7']
Exploring Operation: 52+31=83, Resulting Numbers: [7, 83]
Generated Node #0,0,2: 90:[7, 83] Operation: 52+31=83
Moving to Node #0,0,2
Current State: 90:[7, 83], Operations: ['54-47=7', '52+31=83']
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
28,
7,
13,
16
] | 89 | [
"28-13=15",
"7*15=105",
"105-16=89"
] | Current State: 89:[28, 7, 13, 16], Operations: []
Exploring Operation: 28-13=15, Resulting Numbers: [7, 16, 15]
Generated Node #2: [7, 16, 15] from Operation: 28-13=15
Current State: 89:[7, 16, 15], Operations: ['28-13=15']
Exploring Operation: 7*15=105, Resulting Numbers: [16, 105]
Generated Node #3: [16, 105] from Operation: 7*15=105
Current State: 89:[16, 105], Operations: ['28-13=15', '7*15=105']
Exploring Operation: 105-16=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[28, 7, 13, 16], Operations: []
Exploring Operation: 28+13=41, Resulting Numbers: [7, 16, 41]
Generated Node #0,0: 89:[7, 16, 41] Operation: 28+13=41
Exploring Operation: 28+7=35, Resulting Numbers: [13, 16, 35]
Generated Node #0,1: 89:[13, 16, 35] Operation: 28+7=35
Exploring Operation: 7*16=112, Resulting Numbers: [28, 13, 112]
Generated Node #0,2: 89:[28, 13, 112] Operation: 7*16=112
Exploring Operation: 7*13=91, Resulting Numbers: [28, 16, 91]
Generated Node #0,3: 89:[28, 16, 91] Operation: 7*13=91
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[28, 16, 91], Operations: ['7*13=91']
Exploring Operation: 28-16=12, Resulting Numbers: [91, 12]
Generated Node #0,3,0: 89:[91, 12] Operation: 28-16=12
Exploring Operation: 16+91=107, Resulting Numbers: [28, 107]
Generated Node #0,3,1: 89:[28, 107] Operation: 16+91=107
Exploring Operation: 28+16=44, Resulting Numbers: [91, 44]
Generated Node #0,3,2: 89:[91, 44] Operation: 28+16=44
Exploring Operation: 91-16=75, Resulting Numbers: [28, 75]
Generated Node #0,3,3: 89:[28, 75] Operation: 91-16=75
Moving to Node #0,3,2
Current State: 89:[91, 44], Operations: ['7*13=91', '28+16=44']
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Exploring Operation: 91*44=4004, Resulting Numbers: [4004]
4004,89 unequal: No Solution
Exploring Operation: 91+44=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[28, 75], Operations: ['7*13=91', '91-16=75']
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,89 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[28, 107], Operations: ['7*13=91', '16+91=107']
Exploring Operation: 28+107=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 107-28=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 28*107=2996, Resulting Numbers: [2996]
2996,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[91, 12], Operations: ['7*13=91', '28-16=12']
Exploring Operation: 91*12=1092, Resulting Numbers: [1092]
1092,89 unequal: No Solution
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 91+12=103, Resulting Numbers: [103]
103,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[28, 13, 112], Operations: ['7*16=112']
Exploring Operation: 112-13=99, Resulting Numbers: [28, 99]
Generated Node #0,2,0: 89:[28, 99] Operation: 112-13=99
Exploring Operation: 112-28=84, Resulting Numbers: [13, 84]
Generated Node #0,2,1: 89:[13, 84] Operation: 112-28=84
Exploring Operation: 28+13=41, Resulting Numbers: [112, 41]
Generated Node #0,2,2: 89:[112, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [112, 15]
Generated Node #0,2,3: 89:[112, 15] Operation: 28-13=15
Moving to Node #0,2,0
Current State: 89:[28, 99], Operations: ['7*16=112', '112-13=99']
Exploring Operation: 28+99=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 99-28=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 28*99=2772, Resulting Numbers: [2772]
2772,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[112, 41], Operations: ['7*16=112', '28+13=41']
Exploring Operation: 112*41=4592, Resulting Numbers: [4592]
4592,89 unequal: No Solution
Exploring Operation: 112-41=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 112+41=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[13, 84], Operations: ['7*16=112', '112-28=84']
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,89 unequal: No Solution
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[112, 15], Operations: ['7*16=112', '28-13=15']
Exploring Operation: 112+15=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 112-15=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 112*15=1680, Resulting Numbers: [1680]
1680,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[7, 16, 41], Operations: ['28+13=41']
Exploring Operation: 7+41=48, Resulting Numbers: [16, 48]
Generated Node #0,0,0: 89:[16, 48] Operation: 7+41=48
Exploring Operation: 7*16=112, Resulting Numbers: [41, 112]
Generated Node #0,0,1: 89:[41, 112] Operation: 7*16=112
Exploring Operation: 7+16=23, Resulting Numbers: [41, 23]
Generated Node #0,0,2: 89:[41, 23] Operation: 7+16=23
Exploring Operation: 16+41=57, Resulting Numbers: [7, 57]
Generated Node #0,0,3: 89:[7, 57] Operation: 16+41=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 89:[41, 112], Operations: ['28+13=41', '7*16=112']
Exploring Operation: 41*112=4592, Resulting Numbers: [4592]
4592,89 unequal: No Solution
Exploring Operation: 112-41=71, Resulting Numbers: [71]
71,89 unequal: No Solution
Exploring Operation: 41+112=153, Resulting Numbers: [153]
153,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[16, 48], Operations: ['28+13=41', '7+41=48']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,89 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[41, 23], Operations: ['28+13=41', '7+16=23']
Exploring Operation: 41*23=943, Resulting Numbers: [943]
943,89 unequal: No Solution
Exploring Operation: 41+23=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[7, 57], Operations: ['28+13=41', '16+41=57']
Exploring Operation: 7+57=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,89 unequal: No Solution
Exploring Operation: 7*57=399, Resulting Numbers: [399]
399,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[13, 16, 35], Operations: ['28+7=35']
Exploring Operation: 13+35=48, Resulting Numbers: [16, 48]
Generated Node #0,1,0: 89:[16, 48] Operation: 13+35=48
Exploring Operation: 16-13=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 89:[35, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [35, 29]
Generated Node #0,1,2: 89:[35, 29] Operation: 13+16=29
Exploring Operation: 16+35=51, Resulting Numbers: [13, 51]
Generated Node #0,1,3: 89:[13, 51] Operation: 16+35=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 89:[16, 48], Operations: ['28+7=35', '13+35=48']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,89 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,89 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 89:[35, 29], Operations: ['28+7=35', '13+16=29']
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[13, 51], Operations: ['28+7=35', '16+35=51']
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,89 unequal: No Solution
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[35, 3], Operations: ['28+7=35', '16-13=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,89 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,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_4 | sum_heuristic |
[
2,
83,
63,
49
] | 63 | [
"83-2=81",
"49*81=3969",
"3969/63=63"
] | Current State: 63:[2, 83, 63, 49], Operations: []
Exploring Operation: 83-2=81, Resulting Numbers: [63, 49, 81]
Generated Node #2: [63, 49, 81] from Operation: 83-2=81
Current State: 63:[63, 49, 81], Operations: ['83-2=81']
Exploring Operation: 49*81=3969, Resulting Numbers: [63, 3969]
Generated Node #3: [63, 3969] from Operation: 49*81=3969
Current State: 63:[63, 3969], Operations: ['83-2=81', '49*81=3969']
Exploring Operation: 3969/63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[2, 83, 63, 49], Operations: []
Exploring Operation: 83-49=34, Resulting Numbers: [2, 63, 34]
Generated Node #0,0: 63:[2, 63, 34] Operation: 83-49=34
Exploring Operation: 83-2=81, Resulting Numbers: [63, 49, 81]
Generated Node #0,1: 63:[63, 49, 81] Operation: 83-2=81
Exploring Operation: 63-49=14, Resulting Numbers: [2, 83, 14]
Generated Node #0,2: 63:[2, 83, 14] Operation: 63-49=14
Exploring Operation: 83-63=20, Resulting Numbers: [2, 49, 20]
Generated Node #0,3: 63:[2, 49, 20] Operation: 83-63=20
Exploring Operation: 2+49=51, Resulting Numbers: [83, 63, 51]
Generated Node #0,4: 63:[83, 63, 51] Operation: 2+49=51
Moving to Node #0,0
Current State: 63:[2, 63, 34], Operations: ['83-49=34']
Exploring Operation: 63-34=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 63:[2, 29] Operation: 63-34=29
Exploring Operation: 2*34=68, Resulting Numbers: [63, 68]
Generated Node #0,0,1: 63:[63, 68] Operation: 2*34=68
Exploring Operation: 2+63=65, Resulting Numbers: [34, 65]
Generated Node #0,0,2: 63:[34, 65] Operation: 2+63=65
Exploring Operation: 34/2=17, Resulting Numbers: [63, 17]
Generated Node #0,0,3: 63:[63, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [63, 32]
Generated Node #0,0,4: 63:[63, 32] Operation: 34-2=32
Moving to Node #0,3
Current State: 63:[2, 49, 20], Operations: ['83-63=20']
Exploring Operation: 49+20=69, Resulting Numbers: [2, 69]
Generated Node #0,3,0: 63:[2, 69] Operation: 49+20=69
Exploring Operation: 2+49=51, Resulting Numbers: [20, 51]
Generated Node #0,3,1: 63:[20, 51] Operation: 2+49=51
Exploring Operation: 49-20=29, Resulting Numbers: [2, 29]
Generated Node #0,3,2: 63:[2, 29] Operation: 49-20=29
Exploring Operation: 20/2=10, Resulting Numbers: [49, 10]
Generated Node #0,3,3: 63:[49, 10] Operation: 20/2=10
Exploring Operation: 2+20=22, Resulting Numbers: [49, 22]
Generated Node #0,3,4: 63:[49, 22] Operation: 2+20=22
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[2, 69], Operations: ['83-63=20', '49+20=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,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,3,2
Current State: 63:[2, 29], Operations: ['83-63=20', '49-20=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,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,3,1
Current State: 63:[20, 51], Operations: ['83-63=20', '2+49=51']
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 20+51=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 20*51=1020, Resulting Numbers: [1020]
1020,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,3,3
Current State: 63:[49, 10], Operations: ['83-63=20', '20/2=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,63 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,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,3,4
Current State: 63:[49, 22], Operations: ['83-63=20', '2+20=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,63 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,63 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: 63:[2, 83, 14], Operations: ['63-49=14']
Exploring Operation: 14-2=12, Resulting Numbers: [83, 12]
Generated Node #0,2,0: 63:[83, 12] Operation: 14-2=12
Exploring Operation: 83-14=69, Resulting Numbers: [2, 69]
Generated Node #0,2,1: 63:[2, 69] Operation: 83-14=69
Exploring Operation: 2+14=16, Resulting Numbers: [83, 16]
Generated Node #0,2,2: 63:[83, 16] Operation: 2+14=16
Exploring Operation: 83-2=81, Resulting Numbers: [14, 81]
Generated Node #0,2,3: 63:[14, 81] Operation: 83-2=81
Exploring Operation: 14/2=7, Resulting Numbers: [83, 7]
Generated Node #0,2,4: 63:[83, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[2, 69], Operations: ['63-49=14', '83-14=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,63 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,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,2,4
Current State: 63:[83, 7], Operations: ['63-49=14', '14/2=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,63 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,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,2,0
Current State: 63:[83, 12], Operations: ['63-49=14', '14-2=12']
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,63 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,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,2,3
Current State: 63:[14, 81], Operations: ['63-49=14', '83-2=81']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 14+81=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 14*81=1134, Resulting Numbers: [1134]
1134,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,2,2
Current State: 63:[83, 16], Operations: ['63-49=14', '2+14=16']
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,63 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,63 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: 63:[63, 49, 81], Operations: ['83-2=81']
Exploring Operation: 63-49=14, Resulting Numbers: [81, 14]
Generated Node #0,1,0: 63:[81, 14] Operation: 63-49=14
Exploring Operation: 81-49=32, Resulting Numbers: [63, 32]
Generated Node #0,1,1: 63:[63, 32] Operation: 81-49=32
Exploring Operation: 49+81=130, Resulting Numbers: [63, 130]
Generated Node #0,1,2: 63:[63, 130] Operation: 49+81=130
Exploring Operation: 63+49=112, Resulting Numbers: [81, 112]
Generated Node #0,1,3: 63:[81, 112] Operation: 63+49=112
Exploring Operation: 81-63=18, Resulting Numbers: [49, 18]
Generated Node #0,1,4: 63:[49, 18] Operation: 81-63=18
Moving to Node #0,4
Current State: 63:[83, 63, 51], Operations: ['2+49=51']
Exploring Operation: 83-63=20, Resulting Numbers: [51, 20]
Generated Node #0,4,0: 63:[51, 20] Operation: 83-63=20
Exploring Operation: 63+51=114, Resulting Numbers: [83, 114]
Generated Node #0,4,1: 63:[83, 114] Operation: 63+51=114
Exploring Operation: 83-51=32, Resulting Numbers: [63, 32]
Generated Node #0,4,2: 63:[63, 32] Operation: 83-51=32
Exploring Operation: 63-51=12, Resulting Numbers: [83, 12]
Generated Node #0,4,3: 63:[83, 12] Operation: 63-51=12
Exploring Operation: 83+51=134, Resulting Numbers: [63, 134]
Generated Node #0,4,4: 63:[63, 134] Operation: 83+51=134
Moving to Node #0,0,3
Current State: 63:[63, 17], Operations: ['83-49=34', '34/2=17']
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,63 unequal: No Solution
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,63 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[63, 68], Operations: ['83-49=34', '2*34=68']
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,63 unequal: No Solution
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[2, 29], Operations: ['83-49=34', '63-34=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,63 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,63 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[63, 32], Operations: ['83-2=81', '81-49=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,63 unequal: No Solution
Moving to Node #0,4,2
Current State: 63:[63, 32], Operations: ['2+49=51', '83-51=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,63 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[63, 32], Operations: ['83-49=34', '34-2=32']
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,63 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,4,0
Current State: 63:[51, 20], Operations: ['2+49=51', '83-63=20']
Exploring Operation: 51*20=1020, Resulting Numbers: [1020]
1020,63 unequal: No Solution
Exploring Operation: 51+20=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 51-20=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[34, 65], Operations: ['83-49=34', '2+63=65']
Exploring Operation: 34*65=2210, Resulting Numbers: [2210]
2210,63 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 34+65=99, Resulting Numbers: [99]
99,63 unequal: No Solution
Moving to Node #0,1,4
Current State: 63:[49, 18], Operations: ['83-2=81', '81-63=18']
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,63 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,4,3
Current State: 63:[83, 12], Operations: ['2+49=51', '63-51=12']
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,63 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[81, 14], Operations: ['83-2=81', '63-49=14']
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,63 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[81, 112], Operations: ['83-2=81', '63+49=112']
Exploring Operation: 81+112=193, Resulting Numbers: [193]
193,63 unequal: No Solution
Exploring Operation: 81*112=9072, Resulting Numbers: [9072]
9072,63 unequal: No Solution
Exploring Operation: 112-81=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[63, 130], Operations: ['83-2=81', '49+81=130']
Exploring Operation: 63*130=8190, Resulting Numbers: [8190]
8190,63 unequal: No Solution
Exploring Operation: 130-63=67, Resulting Numbers: [67]
67,63 unequal: No Solution
Exploring Operation: 63+130=193, Resulting Numbers: [193]
193,63 unequal: No Solution
Moving to Node #0,4,4
Current State: 63:[63, 134], Operations: ['2+49=51', '83+51=134']
Exploring Operation: 63*134=8442, Resulting Numbers: [8442]
8442,63 unequal: No Solution
Exploring Operation: 63+134=197, Resulting Numbers: [197]
197,63 unequal: No Solution
Exploring Operation: 134-63=71, Resulting Numbers: [71]
71,63 unequal: No Solution
Moving to Node #0,4,1
Current State: 63:[83, 114], Operations: ['2+49=51', '63+51=114']
Exploring Operation: 114-83=31, Resulting Numbers: [31]
31,63 unequal: No Solution
Exploring Operation: 83*114=9462, Resulting Numbers: [9462]
9462,63 unequal: No Solution
Exploring Operation: 83+114=197, Resulting Numbers: [197]
197,63 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
30,
4,
47
] | 62 | [
"55-47=8",
"4*8=32",
"30+32=62"
] | Current State: 62:[55, 30, 4, 47], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [30, 4, 8]
Generated Node #2: [30, 4, 8] from Operation: 55-47=8
Current State: 62:[30, 4, 8], Operations: ['55-47=8']
Exploring Operation: 4*8=32, Resulting Numbers: [30, 32]
Generated Node #3: [30, 32] from Operation: 4*8=32
Current State: 62:[30, 32], Operations: ['55-47=8', '4*8=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[55, 30, 4, 47], Operations: []
Exploring Operation: 55+4=59, Resulting Numbers: [30, 47, 59]
Generated Node #0,0: 62:[30, 47, 59] Operation: 55+4=59
Exploring Operation: 55-47=8, Resulting Numbers: [30, 4, 8]
Generated Node #0,1: 62:[30, 4, 8] Operation: 55-47=8
Exploring Operation: 4+47=51, Resulting Numbers: [55, 30, 51]
Generated Node #0,2: 62:[55, 30, 51] Operation: 4+47=51
Moving to Node #0,1
Current State: 62:[30, 4, 8], Operations: ['55-47=8']
Exploring Operation: 4*8=32, Resulting Numbers: [30, 32]
Generated Node #0,1,0: 62:[30, 32] Operation: 4*8=32
Exploring Operation: 8-4=4, Resulting Numbers: [30, 4]
Generated Node #0,1,1: 62:[30, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [30, 2]
Generated Node #0,1,2: 62:[30, 2] Operation: 8/4=2
Moving to Node #0,0
Current State: 62:[30, 47, 59], Operations: ['55+4=59']
Exploring Operation: 47-30=17, Resulting Numbers: [59, 17]
Generated Node #0,0,0: 62:[59, 17] Operation: 47-30=17
Exploring Operation: 59-30=29, Resulting Numbers: [47, 29]
Generated Node #0,0,1: 62:[47, 29] Operation: 59-30=29
Exploring Operation: 59-47=12, Resulting Numbers: [30, 12]
Generated Node #0,0,2: 62:[30, 12] Operation: 59-47=12
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[30, 12], Operations: ['55+4=59', '59-47=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[59, 17], Operations: ['55+4=59', '47-30=17']
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,62 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[47, 29], Operations: ['55+4=59', '59-30=29']
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 47+29=76, Resulting Numbers: [76]
76,62 unequal: No Solution
Exploring Operation: 47*29=1363, Resulting Numbers: [1363]
1363,62 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: 62:[55, 30, 51], Operations: ['4+47=51']
Exploring Operation: 55-51=4, Resulting Numbers: [30, 4]
Generated Node #0,2,0: 62:[30, 4] Operation: 55-51=4
Exploring Operation: 51-30=21, Resulting Numbers: [55, 21]
Generated Node #0,2,1: 62:[55, 21] Operation: 51-30=21
Exploring Operation: 55-30=25, Resulting Numbers: [51, 25]
Generated Node #0,2,2: 62:[51, 25] Operation: 55-30=25
Moving to Node #0,1,2
Current State: 62:[30, 2], Operations: ['55-47=8', '8/4=2']
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[30, 32], Operations: ['55-47=8', '4*8=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[55, 30, 4, 47], Operations: []
Exploring Operation: 55-47=8, Resulting Numbers: [30, 4, 8]
Generated Node #0,1: 62:[30, 4, 8] Operation: 55-47=8
Moving to Node #0,1
Current State: 62:[30, 4, 8], Operations: ['55-47=8']
Exploring Operation: 4*8=32, Resulting Numbers: [30, 32]
Generated Node #0,1,0: 62:[30, 32] Operation: 4*8=32
Moving to Node #0,1,0
Current State: 62:[30, 32], Operations: ['55-47=8', '4*8=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
32,
40,
36,
62
] | 72 | [
"36-32=4",
"40/4=10",
"62+10=72"
] | Current State: 72:[32, 40, 36, 62], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [40, 62, 4]
Generated Node #2: [40, 62, 4] from Operation: 36-32=4
Current State: 72:[40, 62, 4], Operations: ['36-32=4']
Exploring Operation: 40/4=10, Resulting Numbers: [62, 10]
Generated Node #3: [62, 10] from Operation: 40/4=10
Current State: 72:[62, 10], Operations: ['36-32=4', '40/4=10']
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[32, 40, 36, 62], Operations: []
Exploring Operation: 62-40=22, Resulting Numbers: [32, 36, 22]
Generated Node #0,0: 72:[32, 36, 22] Operation: 62-40=22
Exploring Operation: 32+40=72, Resulting Numbers: [36, 62, 72]
Generated Node #0,1: 72:[36, 62, 72] Operation: 32+40=72
Moving to Node #0,0
Current State: 72:[32, 36, 22], Operations: ['62-40=22']
Exploring Operation: 36-32=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 72:[22, 4] Operation: 36-32=4
Exploring Operation: 32-22=10, Resulting Numbers: [36, 10]
Generated Node #0,0,1: 72:[36, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[36, 10], Operations: ['62-40=22', '32-22=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[22, 4], Operations: ['62-40=22', '36-32=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,72 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: 72:[36, 62, 72], Operations: ['32+40=72']
Exploring Operation: 62-36=26, Resulting Numbers: [72, 26]
Generated Node #0,1,0: 72:[72, 26] Operation: 62-36=26
Exploring Operation: 72-62=10, Resulting Numbers: [36, 10]
Generated Node #0,1,1: 72:[36, 10] Operation: 72-62=10
Moving to Node #0,1,1
Current State: 72:[36, 10], Operations: ['32+40=72', '72-62=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[72, 26], Operations: ['32+40=72', '62-36=26']
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,72 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.