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 |
|---|---|---|---|---|---|---|---|---|
[
40,
81,
22,
13
] | 49 | [
"22-13=9",
"81/9=9",
"40+9=49"
] | Current State: 49:[40, 81, 22, 13], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [40, 81, 9]
Generated Node #2: [40, 81, 9] from Operation: 22-13=9
Current State: 49:[40, 81, 9], Operations: ['22-13=9']
Exploring Operation: 81/9=9, Resulting Numbers: [40, 9]
Generated Node #3: [40, 9] from Operation: 81/9=9
Current State: 49:[40, 9], Operations: ['22-13=9', '81/9=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[40, 81, 22, 13], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [81, 13, 18]
Generated Node #0,0: 49:[81, 13, 18] Operation: 40-22=18
Exploring Operation: 22-13=9, Resulting Numbers: [40, 81, 9]
Generated Node #0,1: 49:[40, 81, 9] Operation: 22-13=9
Exploring Operation: 81-13=68, Resulting Numbers: [40, 22, 68]
Generated Node #0,2: 49:[40, 22, 68] Operation: 81-13=68
Exploring Operation: 81-40=41, Resulting Numbers: [22, 13, 41]
Generated Node #0,3: 49:[22, 13, 41] Operation: 81-40=41
Exploring Operation: 81-22=59, Resulting Numbers: [40, 13, 59]
Generated Node #0,4: 49:[40, 13, 59] Operation: 81-22=59
Moving to Node #0,4
Current State: 49:[40, 13, 59], Operations: ['81-22=59']
Exploring Operation: 40+13=53, Resulting Numbers: [59, 53]
Generated Node #0,4,0: 49:[59, 53] Operation: 40+13=53
Exploring Operation: 13+59=72, Resulting Numbers: [40, 72]
Generated Node #0,4,1: 49:[40, 72] Operation: 13+59=72
Exploring Operation: 59-40=19, Resulting Numbers: [13, 19]
Generated Node #0,4,2: 49:[13, 19] Operation: 59-40=19
Exploring Operation: 40-13=27, Resulting Numbers: [59, 27]
Generated Node #0,4,3: 49:[59, 27] Operation: 40-13=27
Exploring Operation: 59-13=46, Resulting Numbers: [40, 46]
Generated Node #0,4,4: 49:[40, 46] Operation: 59-13=46
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 49:[40, 46], Operations: ['81-22=59', '59-13=46']
Exploring Operation: 40*46=1840, Resulting Numbers: [1840]
1840,49 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,49 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 49:[59, 53], Operations: ['81-22=59', '40+13=53']
Exploring Operation: 59+53=112, Resulting Numbers: [112]
112,49 unequal: No Solution
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 59*53=3127, Resulting Numbers: [3127]
3127,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 49:[13, 19], Operations: ['81-22=59', '59-40=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,49 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 49:[59, 27], Operations: ['81-22=59', '40-13=27']
Exploring Operation: 59*27=1593, Resulting Numbers: [1593]
1593,49 unequal: No Solution
Exploring Operation: 59-27=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 59+27=86, Resulting Numbers: [86]
86,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 49:[40, 72], Operations: ['81-22=59', '13+59=72']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,49 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,49 unequal: No Solution
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,49 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: 49:[22, 13, 41], Operations: ['81-40=41']
Exploring Operation: 22+41=63, Resulting Numbers: [13, 63]
Generated Node #0,3,0: 49:[13, 63] Operation: 22+41=63
Exploring Operation: 41-22=19, Resulting Numbers: [13, 19]
Generated Node #0,3,1: 49:[13, 19] Operation: 41-22=19
Exploring Operation: 13+41=54, Resulting Numbers: [22, 54]
Generated Node #0,3,2: 49:[22, 54] Operation: 13+41=54
Exploring Operation: 22+13=35, Resulting Numbers: [41, 35]
Generated Node #0,3,3: 49:[41, 35] Operation: 22+13=35
Exploring Operation: 22-13=9, Resulting Numbers: [41, 9]
Generated Node #0,3,4: 49:[41, 9] Operation: 22-13=9
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[41, 9], Operations: ['81-40=41', '22-13=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,49 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[13, 19], Operations: ['81-40=41', '41-22=19']
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,49 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[13, 63], Operations: ['81-40=41', '22+41=63']
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,49 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[22, 54], Operations: ['81-40=41', '13+41=54']
Exploring Operation: 22*54=1188, Resulting Numbers: [1188]
1188,49 unequal: No Solution
Exploring Operation: 22+54=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[41, 35], Operations: ['81-40=41', '22+13=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,49 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 49:[40, 81, 9], Operations: ['22-13=9']
Exploring Operation: 81-9=72, Resulting Numbers: [40, 72]
Generated Node #0,1,0: 49:[40, 72] Operation: 81-9=72
Exploring Operation: 81/9=9, Resulting Numbers: [40, 9]
Generated Node #0,1,1: 49:[40, 9] Operation: 81/9=9
Exploring Operation: 40+9=49, Resulting Numbers: [81, 49]
Generated Node #0,1,2: 49:[81, 49] Operation: 40+9=49
Exploring Operation: 81-40=41, Resulting Numbers: [9, 41]
Generated Node #0,1,3: 49:[9, 41] Operation: 81-40=41
Exploring Operation: 40-9=31, Resulting Numbers: [81, 31]
Generated Node #0,1,4: 49:[81, 31] Operation: 40-9=31
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[9, 41], Operations: ['22-13=9', '81-40=41']
Exploring Operation: 9+41=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 9*41=369, Resulting Numbers: [369]
369,49 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[40, 9], Operations: ['22-13=9', '81/9=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[40, 81, 22, 13], Operations: []
Exploring Operation: 22-13=9, Resulting Numbers: [40, 81, 9]
Generated Node #0,1: 49:[40, 81, 9] Operation: 22-13=9
Moving to Node #0,1
Current State: 49:[40, 81, 9], Operations: ['22-13=9']
Exploring Operation: 81/9=9, Resulting Numbers: [40, 9]
Generated Node #0,1,1: 49:[40, 9] Operation: 81/9=9
Moving to Node #0,1,1
Current State: 49:[40, 9], Operations: ['22-13=9', '81/9=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
87,
28,
12,
51
] | 31 | [
"87-51=36",
"36/12=3",
"28+3=31"
] | Current State: 31:[87, 28, 12, 51], Operations: []
Exploring Operation: 87-51=36, Resulting Numbers: [28, 12, 36]
Generated Node #2: [28, 12, 36] from Operation: 87-51=36
Current State: 31:[28, 12, 36], Operations: ['87-51=36']
Exploring Operation: 36/12=3, Resulting Numbers: [28, 3]
Generated Node #3: [28, 3] from Operation: 36/12=3
Current State: 31:[28, 3], Operations: ['87-51=36', '36/12=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[87, 28, 12, 51], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [28, 51, 75]
Generated Node #0,0: 31:[28, 51, 75] Operation: 87-12=75
Exploring Operation: 87-51=36, Resulting Numbers: [28, 12, 36]
Generated Node #0,1: 31:[28, 12, 36] Operation: 87-51=36
Exploring Operation: 87-28=59, Resulting Numbers: [12, 51, 59]
Generated Node #0,2: 31:[12, 51, 59] Operation: 87-28=59
Moving to Node #0,1
Current State: 31:[28, 12, 36], Operations: ['87-51=36']
Exploring Operation: 36-12=24, Resulting Numbers: [28, 24]
Generated Node #0,1,0: 31:[28, 24] Operation: 36-12=24
Exploring Operation: 28+12=40, Resulting Numbers: [36, 40]
Generated Node #0,1,1: 31:[36, 40] Operation: 28+12=40
Exploring Operation: 28-12=16, Resulting Numbers: [36, 16]
Generated Node #0,1,2: 31:[36, 16] Operation: 28-12=16
Moving to Node #0,0
Current State: 31:[28, 51, 75], Operations: ['87-12=75']
Exploring Operation: 51-28=23, Resulting Numbers: [75, 23]
Generated Node #0,0,0: 31:[75, 23] Operation: 51-28=23
Exploring Operation: 75-28=47, Resulting Numbers: [51, 47]
Generated Node #0,0,1: 31:[51, 47] Operation: 75-28=47
Exploring Operation: 75-51=24, Resulting Numbers: [28, 24]
Generated Node #0,0,2: 31:[28, 24] Operation: 75-51=24
Moving to Node #0,2
Current State: 31:[12, 51, 59], Operations: ['87-28=59']
Exploring Operation: 51-12=39, Resulting Numbers: [59, 39]
Generated Node #0,2,0: 31:[59, 39] Operation: 51-12=39
Exploring Operation: 59-51=8, Resulting Numbers: [12, 8]
Generated Node #0,2,1: 31:[12, 8] Operation: 59-51=8
Exploring Operation: 59-12=47, Resulting Numbers: [51, 47]
Generated Node #0,2,2: 31:[51, 47] Operation: 59-12=47
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 31:[59, 39], Operations: ['87-28=59', '51-12=39']
Exploring Operation: 59*39=2301, Resulting Numbers: [2301]
2301,31 unequal: No Solution
Exploring Operation: 59-39=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 59+39=98, Resulting Numbers: [98]
98,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 31:[51, 47], Operations: ['87-28=59', '59-12=47']
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,31 unequal: No Solution
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[12, 8], Operations: ['87-28=59', '59-51=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,31 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: 31:[28, 24], Operations: ['87-51=36', '36-12=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,31 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[28, 24], Operations: ['87-12=75', '75-51=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,31 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[36, 40], Operations: ['87-51=36', '28+12=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,31 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[36, 16], Operations: ['87-51=36', '28-12=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[51, 47], Operations: ['87-12=75', '75-28=47']
Exploring Operation: 51*47=2397, Resulting Numbers: [2397]
2397,31 unequal: No Solution
Exploring Operation: 51-47=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 51+47=98, Resulting Numbers: [98]
98,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[75, 23], Operations: ['87-12=75', '51-28=23']
Exploring Operation: 75+23=98, Resulting Numbers: [98]
98,31 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 75*23=1725, Resulting Numbers: [1725]
1725,31 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
33,
56,
68
] | 36 | [
"15+33=48",
"68-56=12",
"48-12=36"
] | Current State: 36:[15, 33, 56, 68], Operations: []
Exploring Operation: 15+33=48, Resulting Numbers: [56, 68, 48]
Generated Node #2: [56, 68, 48] from Operation: 15+33=48
Current State: 36:[56, 68, 48], Operations: ['15+33=48']
Exploring Operation: 68-56=12, Resulting Numbers: [48, 12]
Generated Node #3: [48, 12] from Operation: 68-56=12
Current State: 36:[48, 12], Operations: ['15+33=48', '68-56=12']
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[15, 33, 56, 68], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [15, 33, 12]
Generated Node #0,0: 36:[15, 33, 12] Operation: 68-56=12
Exploring Operation: 56-15=41, Resulting Numbers: [33, 68, 41]
Generated Node #0,1: 36:[33, 68, 41] Operation: 56-15=41
Exploring Operation: 68-33=35, Resulting Numbers: [15, 56, 35]
Generated Node #0,2: 36:[15, 56, 35] Operation: 68-33=35
Moving to Node #0,0
Current State: 36:[15, 33, 12], Operations: ['68-56=12']
Exploring Operation: 15-12=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 36:[33, 3] Operation: 15-12=3
Exploring Operation: 33-12=21, Resulting Numbers: [15, 21]
Generated Node #0,0,1: 36:[15, 21] Operation: 33-12=21
Exploring Operation: 33-15=18, Resulting Numbers: [12, 18]
Generated Node #0,0,2: 36:[12, 18] Operation: 33-15=18
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[12, 18], Operations: ['68-56=12', '33-15=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,36 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,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,0
Current State: 36:[33, 3], Operations: ['68-56=12', '15-12=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,36 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[15, 33, 56, 68], Operations: []
Exploring Operation: 68-56=12, Resulting Numbers: [15, 33, 12]
Generated Node #0,0: 36:[15, 33, 12] Operation: 68-56=12
Moving to Node #0,0
Current State: 36:[15, 33, 12], Operations: ['68-56=12']
Exploring Operation: 15-12=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 36:[33, 3] Operation: 15-12=3
Moving to Node #0,0,0
Current State: 36:[33, 3], Operations: ['68-56=12', '15-12=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
55,
3,
60,
68
] | 53 | [
"60-55=5",
"3*5=15",
"68-15=53"
] | Current State: 53:[55, 3, 60, 68], Operations: []
Exploring Operation: 60-55=5, Resulting Numbers: [3, 68, 5]
Generated Node #2: [3, 68, 5] from Operation: 60-55=5
Current State: 53:[3, 68, 5], Operations: ['60-55=5']
Exploring Operation: 3*5=15, Resulting Numbers: [68, 15]
Generated Node #3: [68, 15] from Operation: 3*5=15
Current State: 53:[68, 15], Operations: ['60-55=5', '3*5=15']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[55, 3, 60, 68], Operations: []
Exploring Operation: 60-3=57, Resulting Numbers: [55, 68, 57]
Generated Node #0,0: 53:[55, 68, 57] Operation: 60-3=57
Moving to Node #0,0
Current State: 53:[55, 68, 57], Operations: ['60-3=57']
Exploring Operation: 68-55=13, Resulting Numbers: [57, 13]
Generated Node #0,0,0: 53:[57, 13] Operation: 68-55=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[57, 13], Operations: ['60-3=57', '68-55=13']
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,53 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 |
[
10,
7,
65,
73
] | 74 | [
"73-10=63",
"63/7=9",
"65+9=74"
] | Current State: 74:[10, 7, 65, 73], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [7, 65, 63]
Generated Node #2: [7, 65, 63] from Operation: 73-10=63
Current State: 74:[7, 65, 63], Operations: ['73-10=63']
Exploring Operation: 63/7=9, Resulting Numbers: [65, 9]
Generated Node #3: [65, 9] from Operation: 63/7=9
Current State: 74:[65, 9], Operations: ['73-10=63', '63/7=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[10, 7, 65, 73], Operations: []
Exploring Operation: 7+65=72, Resulting Numbers: [10, 73, 72]
Generated Node #0,0: 74:[10, 73, 72] Operation: 7+65=72
Exploring Operation: 10+65=75, Resulting Numbers: [7, 73, 75]
Generated Node #0,1: 74:[7, 73, 75] Operation: 10+65=75
Exploring Operation: 10-7=3, Resulting Numbers: [65, 73, 3]
Generated Node #0,2: 74:[65, 73, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[7, 73, 75], Operations: ['10+65=75']
Exploring Operation: 75-73=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 74:[7, 2] Operation: 75-73=2
Exploring Operation: 75-7=68, Resulting Numbers: [73, 68]
Generated Node #0,1,1: 74:[73, 68] Operation: 75-7=68
Exploring Operation: 7+73=80, Resulting Numbers: [75, 80]
Generated Node #0,1,2: 74:[75, 80] Operation: 7+73=80
Moving to Node #0,1,0
Current State: 74:[7, 2], Operations: ['10+65=75', '75-73=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[73, 68], Operations: ['10+65=75', '75-7=68']
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,74 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[75, 80], Operations: ['10+65=75', '7+73=80']
Exploring Operation: 75*80=6000, Resulting Numbers: [6000]
6000,74 unequal: No Solution
Exploring Operation: 75+80=155, Resulting Numbers: [155]
155,74 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[10, 73, 72], Operations: ['7+65=72']
Exploring Operation: 10+73=83, Resulting Numbers: [72, 83]
Generated Node #0,0,0: 74:[72, 83] Operation: 10+73=83
Exploring Operation: 73-72=1, Resulting Numbers: [10, 1]
Generated Node #0,0,1: 74:[10, 1] Operation: 73-72=1
Exploring Operation: 10+72=82, Resulting Numbers: [73, 82]
Generated Node #0,0,2: 74:[73, 82] Operation: 10+72=82
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[10, 1], Operations: ['7+65=72', '73-72=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[73, 82], Operations: ['7+65=72', '10+72=82']
Exploring Operation: 73*82=5986, Resulting Numbers: [5986]
5986,74 unequal: No Solution
Exploring Operation: 82-73=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 73+82=155, Resulting Numbers: [155]
155,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[72, 83], Operations: ['7+65=72', '10+73=83']
Exploring Operation: 72*83=5976, Resulting Numbers: [5976]
5976,74 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 72+83=155, Resulting Numbers: [155]
155,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[65, 73, 3], Operations: ['10-7=3']
Exploring Operation: 65+3=68, Resulting Numbers: [73, 68]
Generated Node #0,2,0: 74:[73, 68] Operation: 65+3=68
Exploring Operation: 73+3=76, Resulting Numbers: [65, 76]
Generated Node #0,2,1: 74:[65, 76] Operation: 73+3=76
Exploring Operation: 73-65=8, Resulting Numbers: [3, 8]
Generated Node #0,2,2: 74:[3, 8] Operation: 73-65=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 74:[73, 68], Operations: ['10-7=3', '65+3=68']
Exploring Operation: 73*68=4964, Resulting Numbers: [4964]
4964,74 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 73+68=141, Resulting Numbers: [141]
141,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 74:[3, 8], Operations: ['10-7=3', '73-65=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[65, 76], Operations: ['10-7=3', '73+3=76']
Exploring Operation: 65+76=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 65*76=4940, Resulting Numbers: [4940]
4940,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_3 | mult_heuristic |
[
43,
58,
50,
45
] | 91 | [
"50-43=7",
"58-45=13",
"7*13=91"
] | Current State: 91:[43, 58, 50, 45], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [58, 45, 7]
Generated Node #2: [58, 45, 7] from Operation: 50-43=7
Current State: 91:[58, 45, 7], Operations: ['50-43=7']
Exploring Operation: 58-45=13, Resulting Numbers: [7, 13]
Generated Node #3: [7, 13] from Operation: 58-45=13
Current State: 91:[7, 13], Operations: ['50-43=7', '58-45=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[43, 58, 50, 45], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [43, 45, 8]
Generated Node #0,0: 91:[43, 45, 8] Operation: 58-50=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[43, 45, 8], Operations: ['58-50=8']
Exploring Operation: 43+45=88, Resulting Numbers: [8, 88]
Generated Node #0,0,0: 91:[8, 88] Operation: 43+45=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[8, 88], Operations: ['58-50=8', '43+45=88']
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,91 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 |
[
87,
18,
60,
6
] | 54 | [
"87-18=69",
"69-60=9",
"6*9=54"
] | Current State: 54:[87, 18, 60, 6], Operations: []
Exploring Operation: 87-18=69, Resulting Numbers: [60, 6, 69]
Generated Node #2: [60, 6, 69] from Operation: 87-18=69
Current State: 54:[60, 6, 69], Operations: ['87-18=69']
Exploring Operation: 69-60=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 69-60=9
Current State: 54:[6, 9], Operations: ['87-18=69', '69-60=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[87, 18, 60, 6], Operations: []
Exploring Operation: 87-6=81, Resulting Numbers: [18, 60, 81]
Generated Node #0,0: 54:[18, 60, 81] Operation: 87-6=81
Exploring Operation: 87-18=69, Resulting Numbers: [60, 6, 69]
Generated Node #0,1: 54:[60, 6, 69] Operation: 87-18=69
Exploring Operation: 87-60=27, Resulting Numbers: [18, 6, 27]
Generated Node #0,2: 54:[18, 6, 27] Operation: 87-60=27
Moving to Node #0,2
Current State: 54:[18, 6, 27], Operations: ['87-60=27']
Exploring Operation: 18/6=3, Resulting Numbers: [27, 3]
Generated Node #0,2,0: 54:[27, 3] Operation: 18/6=3
Exploring Operation: 18+6=24, Resulting Numbers: [27, 24]
Generated Node #0,2,1: 54:[27, 24] Operation: 18+6=24
Exploring Operation: 27-18=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 54:[6, 9] Operation: 27-18=9
Moving to Node #0,1
Current State: 54:[60, 6, 69], Operations: ['87-18=69']
Exploring Operation: 69-6=63, Resulting Numbers: [60, 63]
Generated Node #0,1,0: 54:[60, 63] Operation: 69-6=63
Exploring Operation: 60-6=54, Resulting Numbers: [69, 54]
Generated Node #0,1,1: 54:[69, 54] Operation: 60-6=54
Exploring Operation: 69-60=9, Resulting Numbers: [6, 9]
Generated Node #0,1,2: 54:[6, 9] Operation: 69-60=9
Moving to Node #0,0
Current State: 54:[18, 60, 81], Operations: ['87-6=81']
Exploring Operation: 60-18=42, Resulting Numbers: [81, 42]
Generated Node #0,0,0: 54:[81, 42] Operation: 60-18=42
Exploring Operation: 81-60=21, Resulting Numbers: [18, 21]
Generated Node #0,0,1: 54:[18, 21] Operation: 81-60=21
Exploring Operation: 81-18=63, Resulting Numbers: [60, 63]
Generated Node #0,0,2: 54:[60, 63] Operation: 81-18=63
Moving to Node #0,2,0
Current State: 54:[27, 3], Operations: ['87-60=27', '18/6=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[6, 9], Operations: ['87-60=27', '27-18=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[87, 18, 60, 6], Operations: []
Exploring Operation: 87-60=27, Resulting Numbers: [18, 6, 27]
Generated Node #0,2: 54:[18, 6, 27] Operation: 87-60=27
Moving to Node #0,2
Current State: 54:[18, 6, 27], Operations: ['87-60=27']
Exploring Operation: 27-18=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 54:[6, 9] Operation: 27-18=9
Moving to Node #0,2,2
Current State: 54:[6, 9], Operations: ['87-60=27', '27-18=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.981771 | hs_3 | sum_heuristic |
[
45,
50,
5,
4
] | 23 | [
"45+50=95",
"95/5=19",
"4+19=23"
] | Current State: 23:[45, 50, 5, 4], Operations: []
Exploring Operation: 45+50=95, Resulting Numbers: [5, 4, 95]
Generated Node #2: [5, 4, 95] from Operation: 45+50=95
Current State: 23:[5, 4, 95], Operations: ['45+50=95']
Exploring Operation: 95/5=19, Resulting Numbers: [4, 19]
Generated Node #3: [4, 19] from Operation: 95/5=19
Current State: 23:[4, 19], Operations: ['45+50=95', '95/5=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[45, 50, 5, 4], Operations: []
Exploring Operation: 5*4=20, Resulting Numbers: [45, 50, 20]
Generated Node #0,0: 23:[45, 50, 20] Operation: 5*4=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[45, 50, 20], Operations: ['5*4=20']
Exploring Operation: 50-45=5, Resulting Numbers: [20, 5]
Generated Node #0,0,0: 23:[20, 5] Operation: 50-45=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[20, 5], Operations: ['5*4=20', '50-45=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
12,
72,
48,
56
] | 15 | [
"72-56=16",
"48/16=3",
"12+3=15"
] | Current State: 15:[12, 72, 48, 56], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [12, 48, 16]
Generated Node #2: [12, 48, 16] from Operation: 72-56=16
Current State: 15:[12, 48, 16], Operations: ['72-56=16']
Exploring Operation: 48/16=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 48/16=3
Current State: 15:[12, 3], Operations: ['72-56=16', '48/16=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[12, 72, 48, 56], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [12, 48, 16]
Generated Node #0,0: 15:[12, 48, 16] Operation: 72-56=16
Exploring Operation: 72-48=24, Resulting Numbers: [12, 56, 24]
Generated Node #0,1: 15:[12, 56, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[12, 48, 16], Operations: ['72-56=16']
Exploring Operation: 48/12=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 15:[16, 4] Operation: 48/12=4
Exploring Operation: 48/16=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 15:[12, 3] Operation: 48/16=3
Moving to Node #0,0,0
Current State: 15:[16, 4], Operations: ['72-56=16', '48/12=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[12, 3], Operations: ['72-56=16', '48/16=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[12, 72, 48, 56], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [12, 48, 16]
Generated Node #0,0: 15:[12, 48, 16] Operation: 72-56=16
Moving to Node #0,0
Current State: 15:[12, 48, 16], Operations: ['72-56=16']
Exploring Operation: 48/16=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 15:[12, 3] Operation: 48/16=3
Moving to Node #0,0,1
Current State: 15:[12, 3], Operations: ['72-56=16', '48/16=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
24,
38,
94,
6
] | 86 | [
"38-24=14",
"94+6=100",
"100-14=86"
] | Current State: 86:[24, 38, 94, 6], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [94, 6, 14]
Generated Node #2: [94, 6, 14] from Operation: 38-24=14
Current State: 86:[94, 6, 14], Operations: ['38-24=14']
Exploring Operation: 94+6=100, Resulting Numbers: [14, 100]
Generated Node #3: [14, 100] from Operation: 94+6=100
Current State: 86:[14, 100], Operations: ['38-24=14', '94+6=100']
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[24, 38, 94, 6], Operations: []
Exploring Operation: 24+6=30, Resulting Numbers: [38, 94, 30]
Generated Node #0,0: 86:[38, 94, 30] Operation: 24+6=30
Exploring Operation: 24/6=4, Resulting Numbers: [38, 94, 4]
Generated Node #0,1: 86:[38, 94, 4] Operation: 24/6=4
Exploring Operation: 38-24=14, Resulting Numbers: [94, 6, 14]
Generated Node #0,2: 86:[94, 6, 14] Operation: 38-24=14
Exploring Operation: 94-24=70, Resulting Numbers: [38, 6, 70]
Generated Node #0,3: 86:[38, 6, 70] Operation: 94-24=70
Moving to Node #0,1
Current State: 86:[38, 94, 4], Operations: ['24/6=4']
Exploring Operation: 38-4=34, Resulting Numbers: [94, 34]
Generated Node #0,1,0: 86:[94, 34] Operation: 38-4=34
Exploring Operation: 94-38=56, Resulting Numbers: [4, 56]
Generated Node #0,1,1: 86:[4, 56] Operation: 94-38=56
Exploring Operation: 94-4=90, Resulting Numbers: [38, 90]
Generated Node #0,1,2: 86:[38, 90] Operation: 94-4=90
Exploring Operation: 38+4=42, Resulting Numbers: [94, 42]
Generated Node #0,1,3: 86:[94, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[38, 90], Operations: ['24/6=4', '94-4=90']
Exploring Operation: 38+90=128, Resulting Numbers: [128]
128,86 unequal: No Solution
Exploring Operation: 38*90=3420, Resulting Numbers: [3420]
3420,86 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[94, 42], Operations: ['24/6=4', '38+4=42']
Exploring Operation: 94-42=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 94*42=3948, Resulting Numbers: [3948]
3948,86 unequal: No Solution
Exploring Operation: 94+42=136, Resulting Numbers: [136]
136,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[4, 56], Operations: ['24/6=4', '94-38=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,86 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[94, 34], Operations: ['24/6=4', '38-4=34']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,86 unequal: No Solution
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 86:[94, 6, 14], Operations: ['38-24=14']
Exploring Operation: 14-6=8, Resulting Numbers: [94, 8]
Generated Node #0,2,0: 86:[94, 8] Operation: 14-6=8
Exploring Operation: 94-14=80, Resulting Numbers: [6, 80]
Generated Node #0,2,1: 86:[6, 80] Operation: 94-14=80
Exploring Operation: 6*14=84, Resulting Numbers: [94, 84]
Generated Node #0,2,2: 86:[94, 84] Operation: 6*14=84
Exploring Operation: 94-6=88, Resulting Numbers: [14, 88]
Generated Node #0,2,3: 86:[14, 88] Operation: 94-6=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[6, 80], Operations: ['38-24=14', '94-14=80']
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,86 unequal: No Solution
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[24, 38, 94, 6], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [94, 6, 14]
Generated Node #0,2: 86:[94, 6, 14] Operation: 38-24=14
Moving to Node #0,2
Current State: 86:[94, 6, 14], Operations: ['38-24=14']
Exploring Operation: 94-14=80, Resulting Numbers: [6, 80]
Generated Node #0,2,1: 86:[6, 80] Operation: 94-14=80
Moving to Node #0,2,1
Current State: 86:[6, 80], Operations: ['38-24=14', '94-14=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
16,
54,
60,
70
] | 60 | [
"16+54=70",
"60+70=130",
"130-70=60"
] | Current State: 60:[16, 54, 60, 70], Operations: []
Exploring Operation: 16+54=70, Resulting Numbers: [60, 70, 70]
Generated Node #2: [60, 70, 70] from Operation: 16+54=70
Current State: 60:[60, 70, 70], Operations: ['16+54=70']
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,60 equal: Goal Reached
Exploring Operation: 130-70=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[16, 54, 60, 70], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [16, 70, 6]
Generated Node #0,0: 60:[16, 70, 6] Operation: 60-54=6
Exploring Operation: 70-54=16, Resulting Numbers: [16, 60, 16]
Generated Node #0,1: 60:[16, 60, 16] Operation: 70-54=16
Exploring Operation: 70-60=10, Resulting Numbers: [16, 54, 10]
Generated Node #0,2: 60:[16, 54, 10] Operation: 70-60=10
Moving to Node #0,1
Current State: 60:[16, 60, 16], Operations: ['70-54=16']
Exploring Operation: 16-16=0, Resulting Numbers: [60, 0]
Generated Node #0,1,0: 60:[60, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [60, 1]
Generated Node #0,1,1: 60:[60, 1] Operation: 16/16=1
Exploring Operation: 16+16=32, Resulting Numbers: [60, 32]
Generated Node #0,1,2: 60:[60, 32] Operation: 16+16=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[60, 1], Operations: ['70-54=16', '16/16=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[16, 54, 60, 70], Operations: []
Exploring Operation: 70-54=16, Resulting Numbers: [16, 60, 16]
Generated Node #0,1: 60:[16, 60, 16] Operation: 70-54=16
Moving to Node #0,1
Current State: 60:[16, 60, 16], Operations: ['70-54=16']
Exploring Operation: 16/16=1, Resulting Numbers: [60, 1]
Generated Node #0,1,1: 60:[60, 1] Operation: 16/16=1
Moving to Node #0,1,1
Current State: 60:[60, 1], Operations: ['70-54=16', '16/16=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
38,
30,
73,
62
] | 57 | [
"38+30=68",
"73-62=11",
"68-11=57"
] | Current State: 57:[38, 30, 73, 62], Operations: []
Exploring Operation: 38+30=68, Resulting Numbers: [73, 62, 68]
Generated Node #2: [73, 62, 68] from Operation: 38+30=68
Current State: 57:[73, 62, 68], Operations: ['38+30=68']
Exploring Operation: 73-62=11, Resulting Numbers: [68, 11]
Generated Node #3: [68, 11] from Operation: 73-62=11
Current State: 57:[68, 11], Operations: ['38+30=68', '73-62=11']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[38, 30, 73, 62], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [30, 73, 24]
Generated Node #0,0: 57:[30, 73, 24] Operation: 62-38=24
Exploring Operation: 38+30=68, Resulting Numbers: [73, 62, 68]
Generated Node #0,1: 57:[73, 62, 68] Operation: 38+30=68
Exploring Operation: 73-38=35, Resulting Numbers: [30, 62, 35]
Generated Node #0,2: 57:[30, 62, 35] Operation: 73-38=35
Exploring Operation: 38-30=8, Resulting Numbers: [73, 62, 8]
Generated Node #0,3: 57:[73, 62, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[73, 62, 8], Operations: ['38-30=8']
Exploring Operation: 62-8=54, Resulting Numbers: [73, 54]
Generated Node #0,3,0: 57:[73, 54] Operation: 62-8=54
Exploring Operation: 73-8=65, Resulting Numbers: [62, 65]
Generated Node #0,3,1: 57:[62, 65] Operation: 73-8=65
Exploring Operation: 73+8=81, Resulting Numbers: [62, 81]
Generated Node #0,3,2: 57:[62, 81] Operation: 73+8=81
Exploring Operation: 73-62=11, Resulting Numbers: [8, 11]
Generated Node #0,3,3: 57:[8, 11] Operation: 73-62=11
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[62, 65], Operations: ['38-30=8', '73-8=65']
Exploring Operation: 62*65=4030, Resulting Numbers: [4030]
4030,57 unequal: No Solution
Exploring Operation: 65-62=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 62+65=127, Resulting Numbers: [127]
127,57 unequal: No Solution
No 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: 57:[8, 11], Operations: ['38-30=8', '73-62=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,57 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[73, 54], Operations: ['38-30=8', '62-8=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,57 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,57 unequal: No Solution
No 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: 57:[62, 81], Operations: ['38-30=8', '73+8=81']
Exploring Operation: 62*81=5022, Resulting Numbers: [5022]
5022,57 unequal: No Solution
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,57 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,57 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: 57:[30, 73, 24], Operations: ['62-38=24']
Exploring Operation: 30+24=54, Resulting Numbers: [73, 54]
Generated Node #0,0,0: 57:[73, 54] Operation: 30+24=54
Exploring Operation: 73-24=49, Resulting Numbers: [30, 49]
Generated Node #0,0,1: 57:[30, 49] Operation: 73-24=49
Exploring Operation: 73-30=43, Resulting Numbers: [24, 43]
Generated Node #0,0,2: 57:[24, 43] Operation: 73-30=43
Exploring Operation: 30-24=6, Resulting Numbers: [73, 6]
Generated Node #0,0,3: 57:[73, 6] Operation: 30-24=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[73, 54], Operations: ['62-38=24', '30+24=54']
Exploring Operation: 73-54=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 73*54=3942, Resulting Numbers: [3942]
3942,57 unequal: No Solution
Exploring Operation: 73+54=127, Resulting Numbers: [127]
127,57 unequal: No Solution
No 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: 57:[30, 49], Operations: ['62-38=24', '73-24=49']
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,57 unequal: No Solution
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No 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: 57:[24, 43], Operations: ['62-38=24', '73-30=43']
Exploring Operation: 43-24=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 24+43=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 24*43=1032, Resulting Numbers: [1032]
1032,57 unequal: No Solution
No 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: 57:[73, 6], Operations: ['62-38=24', '30-24=6']
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,57 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,57 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: 57:[73, 62, 68], Operations: ['38+30=68']
Exploring Operation: 73-68=5, Resulting Numbers: [62, 5]
Generated Node #0,1,0: 57:[62, 5] Operation: 73-68=5
Exploring Operation: 73-62=11, Resulting Numbers: [68, 11]
Generated Node #0,1,1: 57:[68, 11] Operation: 73-62=11
Exploring Operation: 68-62=6, Resulting Numbers: [73, 6]
Generated Node #0,1,2: 57:[73, 6] Operation: 68-62=6
Exploring Operation: 73+62=135, Resulting Numbers: [68, 135]
Generated Node #0,1,3: 57:[68, 135] Operation: 73+62=135
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[62, 5], Operations: ['38+30=68', '73-68=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[38, 30, 73, 62], Operations: []
Exploring Operation: 38+30=68, Resulting Numbers: [73, 62, 68]
Generated Node #0,1: 57:[73, 62, 68] Operation: 38+30=68
Moving to Node #0,1
Current State: 57:[73, 62, 68], Operations: ['38+30=68']
Exploring Operation: 73-68=5, Resulting Numbers: [62, 5]
Generated Node #0,1,0: 57:[62, 5] Operation: 73-68=5
Moving to Node #0,1,0
Current State: 57:[62, 5], Operations: ['38+30=68', '73-68=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.960069 | hs_4 | sum_heuristic |
[
16,
43,
61,
44
] | 45 | [
"61-16=45",
"44-43=1",
"45*1=45"
] | Current State: 45:[16, 43, 61, 44], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [43, 44, 45]
Generated Node #2: [43, 44, 45] from Operation: 61-16=45
Current State: 45:[43, 44, 45], Operations: ['61-16=45']
Exploring Operation: 44-43=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 44-43=1
Current State: 45:[45, 1], Operations: ['61-16=45', '44-43=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[16, 43, 61, 44], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [43, 44, 45]
Generated Node #0,0: 45:[43, 44, 45] Operation: 61-16=45
Moving to Node #0,0
Current State: 45:[43, 44, 45], Operations: ['61-16=45']
Exploring Operation: 44-43=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 45:[45, 1] Operation: 44-43=1
Moving to Node #0,0,0
Current State: 45:[45, 1], Operations: ['61-16=45', '44-43=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[16, 43, 61, 44], Operations: []
Exploring Operation: 61-16=45, Resulting Numbers: [43, 44, 45]
Generated Node #0,0: 45:[43, 44, 45] Operation: 61-16=45
Moving to Node #0,0
Current State: 45:[43, 44, 45], Operations: ['61-16=45']
Exploring Operation: 44-43=1, Resulting Numbers: [45, 1]
Generated Node #0,0,0: 45:[45, 1] Operation: 44-43=1
Moving to Node #0,0,0
Current State: 45:[45, 1], Operations: ['61-16=45', '44-43=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
55,
2,
73,
8
] | 17 | [
"73-55=18",
"18/2=9",
"8+9=17"
] | Current State: 17:[55, 2, 73, 8], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [2, 8, 18]
Generated Node #2: [2, 8, 18] from Operation: 73-55=18
Current State: 17:[2, 8, 18], Operations: ['73-55=18']
Exploring Operation: 18/2=9, Resulting Numbers: [8, 9]
Generated Node #3: [8, 9] from Operation: 18/2=9
Current State: 17:[8, 9], Operations: ['73-55=18', '18/2=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[55, 2, 73, 8], Operations: []
Exploring Operation: 55-2=53, Resulting Numbers: [73, 8, 53]
Generated Node #0,0: 17:[73, 8, 53] Operation: 55-2=53
Exploring Operation: 73-2=71, Resulting Numbers: [55, 8, 71]
Generated Node #0,1: 17:[55, 8, 71] Operation: 73-2=71
Exploring Operation: 55-8=47, Resulting Numbers: [2, 73, 47]
Generated Node #0,2: 17:[2, 73, 47] Operation: 55-8=47
Exploring Operation: 2*8=16, Resulting Numbers: [55, 73, 16]
Generated Node #0,3: 17:[55, 73, 16] Operation: 2*8=16
Exploring Operation: 73-55=18, Resulting Numbers: [2, 8, 18]
Generated Node #0,4: 17:[2, 8, 18] Operation: 73-55=18
Moving to Node #0,4
Current State: 17:[2, 8, 18], Operations: ['73-55=18']
Exploring Operation: 18-2=16, Resulting Numbers: [8, 16]
Generated Node #0,4,0: 17:[8, 16] Operation: 18-2=16
Exploring Operation: 2*8=16, Resulting Numbers: [18, 16]
Generated Node #0,4,1: 17:[18, 16] Operation: 2*8=16
Exploring Operation: 2+18=20, Resulting Numbers: [8, 20]
Generated Node #0,4,2: 17:[8, 20] Operation: 2+18=20
Exploring Operation: 2+8=10, Resulting Numbers: [18, 10]
Generated Node #0,4,3: 17:[18, 10] Operation: 2+8=10
Exploring Operation: 8-2=6, Resulting Numbers: [18, 6]
Generated Node #0,4,4: 17:[18, 6] Operation: 8-2=6
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 17:[18, 16], Operations: ['73-55=18', '2*8=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 17:[18, 10], Operations: ['73-55=18', '2+8=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,17 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 17:[8, 16], Operations: ['73-55=18', '18-2=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,17 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 17:[8, 20], Operations: ['73-55=18', '2+18=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 17:[18, 6], Operations: ['73-55=18', '8-2=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,17 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,17 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: 17:[55, 73, 16], Operations: ['2*8=16']
Exploring Operation: 55+16=71, Resulting Numbers: [73, 71]
Generated Node #0,3,0: 17:[73, 71] Operation: 55+16=71
Exploring Operation: 73+16=89, Resulting Numbers: [55, 89]
Generated Node #0,3,1: 17:[55, 89] Operation: 73+16=89
Exploring Operation: 73-55=18, Resulting Numbers: [16, 18]
Generated Node #0,3,2: 17:[16, 18] Operation: 73-55=18
Exploring Operation: 73-16=57, Resulting Numbers: [55, 57]
Generated Node #0,3,3: 17:[55, 57] Operation: 73-16=57
Exploring Operation: 55-16=39, Resulting Numbers: [73, 39]
Generated Node #0,3,4: 17:[73, 39] Operation: 55-16=39
Moving to Node #0,0
Current State: 17:[73, 8, 53], Operations: ['55-2=53']
Exploring Operation: 73+8=81, Resulting Numbers: [53, 81]
Generated Node #0,0,0: 17:[53, 81] Operation: 73+8=81
Exploring Operation: 73-8=65, Resulting Numbers: [53, 65]
Generated Node #0,0,1: 17:[53, 65] Operation: 73-8=65
Exploring Operation: 73-53=20, Resulting Numbers: [8, 20]
Generated Node #0,0,2: 17:[8, 20] Operation: 73-53=20
Exploring Operation: 53-8=45, Resulting Numbers: [73, 45]
Generated Node #0,0,3: 17:[73, 45] Operation: 53-8=45
Exploring Operation: 8+53=61, Resulting Numbers: [73, 61]
Generated Node #0,0,4: 17:[73, 61] Operation: 8+53=61
Moving to Node #0,1
Current State: 17:[55, 8, 71], Operations: ['73-2=71']
Exploring Operation: 71-55=16, Resulting Numbers: [8, 16]
Generated Node #0,1,0: 17:[8, 16] Operation: 71-55=16
Exploring Operation: 71-8=63, Resulting Numbers: [55, 63]
Generated Node #0,1,1: 17:[55, 63] Operation: 71-8=63
Exploring Operation: 55-8=47, Resulting Numbers: [71, 47]
Generated Node #0,1,2: 17:[71, 47] Operation: 55-8=47
Exploring Operation: 8+71=79, Resulting Numbers: [55, 79]
Generated Node #0,1,3: 17:[55, 79] Operation: 8+71=79
Exploring Operation: 55+8=63, Resulting Numbers: [71, 63]
Generated Node #0,1,4: 17:[71, 63] Operation: 55+8=63
Moving to Node #0,2
Current State: 17:[2, 73, 47], Operations: ['55-8=47']
Exploring Operation: 2+47=49, Resulting Numbers: [73, 49]
Generated Node #0,2,0: 17:[73, 49] Operation: 2+47=49
Exploring Operation: 2+73=75, Resulting Numbers: [47, 75]
Generated Node #0,2,1: 17:[47, 75] Operation: 2+73=75
Exploring Operation: 73-47=26, Resulting Numbers: [2, 26]
Generated Node #0,2,2: 17:[2, 26] Operation: 73-47=26
Exploring Operation: 73-2=71, Resulting Numbers: [47, 71]
Generated Node #0,2,3: 17:[47, 71] Operation: 73-2=71
Exploring Operation: 47-2=45, Resulting Numbers: [73, 45]
Generated Node #0,2,4: 17:[73, 45] Operation: 47-2=45
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[2, 26], Operations: ['55-8=47', '73-47=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[47, 71], Operations: ['55-8=47', '73-2=71']
Exploring Operation: 47*71=3337, Resulting Numbers: [3337]
3337,17 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 47+71=118, Resulting Numbers: [118]
118,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 17:[73, 45], Operations: ['55-8=47', '47-2=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,17 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[73, 49], Operations: ['55-8=47', '2+47=49']
Exploring Operation: 73*49=3577, Resulting Numbers: [3577]
3577,17 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 73+49=122, Resulting Numbers: [122]
122,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[47, 75], Operations: ['55-8=47', '2+73=75']
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,17 unequal: No Solution
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,17 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 17:[16, 18], Operations: ['2*8=16', '73-55=18']
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,17 unequal: No Solution
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[8, 16], Operations: ['73-2=71', '71-55=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,17 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[8, 20], Operations: ['55-2=53', '73-53=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,17 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Moving to Node #0,3,4
Current State: 17:[73, 39], Operations: ['2*8=16', '55-16=39']
Exploring Operation: 73*39=2847, Resulting Numbers: [2847]
2847,17 unequal: No Solution
Exploring Operation: 73+39=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[55, 57], Operations: ['2*8=16', '73-16=57']
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,17 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,17 unequal: No Solution
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[53, 65], Operations: ['55-2=53', '73-8=65']
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,17 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,17 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[71, 47], Operations: ['73-2=71', '55-8=47']
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,17 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,17 unequal: No Solution
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[73, 45], Operations: ['55-2=53', '53-8=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,17 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[55, 63], Operations: ['73-2=71', '71-8=63']
Exploring Operation: 55*63=3465, Resulting Numbers: [3465]
3465,17 unequal: No Solution
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,17 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[55, 79], Operations: ['73-2=71', '8+71=79']
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,17 unequal: No Solution
Exploring Operation: 55*79=4345, Resulting Numbers: [4345]
4345,17 unequal: No Solution
Exploring Operation: 55+79=134, Resulting Numbers: [134]
134,17 unequal: No Solution
Moving to Node #0,1,4
Current State: 17:[71, 63], Operations: ['73-2=71', '55+8=63']
Exploring Operation: 71-63=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 71*63=4473, Resulting Numbers: [4473]
4473,17 unequal: No Solution
Exploring Operation: 71+63=134, Resulting Numbers: [134]
134,17 unequal: No Solution
Moving to Node #0,0,4
Current State: 17:[73, 61], Operations: ['55-2=53', '8+53=61']
Exploring Operation: 73+61=134, Resulting Numbers: [134]
134,17 unequal: No Solution
Exploring Operation: 73-61=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 73*61=4453, Resulting Numbers: [4453]
4453,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[53, 81], Operations: ['55-2=53', '73+8=81']
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,17 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,17 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[73, 71], Operations: ['2*8=16', '55+16=71']
Exploring Operation: 73+71=144, Resulting Numbers: [144]
144,17 unequal: No Solution
Exploring Operation: 73*71=5183, Resulting Numbers: [5183]
5183,17 unequal: No Solution
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Moving to Node #0,3,1
Current State: 17:[55, 89], Operations: ['2*8=16', '73+16=89']
Exploring Operation: 55*89=4895, Resulting Numbers: [4895]
4895,17 unequal: No Solution
Exploring Operation: 55+89=144, Resulting Numbers: [144]
144,17 unequal: No Solution
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,17 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
44,
71,
18,
46
] | 45 | [
"44+71=115",
"18*115=2070",
"2070/46=45"
] | Current State: 45:[44, 71, 18, 46], Operations: []
Exploring Operation: 44+71=115, Resulting Numbers: [18, 46, 115]
Generated Node #2: [18, 46, 115] from Operation: 44+71=115
Current State: 45:[18, 46, 115], Operations: ['44+71=115']
Exploring Operation: 18*115=2070, Resulting Numbers: [46, 2070]
Generated Node #3: [46, 2070] from Operation: 18*115=2070
Current State: 45:[46, 2070], Operations: ['44+71=115', '18*115=2070']
Exploring Operation: 2070/46=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[44, 71, 18, 46], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [44, 46, 53]
Generated Node #0,0: 45:[44, 46, 53] Operation: 71-18=53
Exploring Operation: 46-44=2, Resulting Numbers: [71, 18, 2]
Generated Node #0,1: 45:[71, 18, 2] Operation: 46-44=2
Exploring Operation: 71-44=27, Resulting Numbers: [18, 46, 27]
Generated Node #0,2: 45:[18, 46, 27] Operation: 71-44=27
Exploring Operation: 71-46=25, Resulting Numbers: [44, 18, 25]
Generated Node #0,3: 45:[44, 18, 25] Operation: 71-46=25
Moving to Node #0,0
Current State: 45:[44, 46, 53], Operations: ['71-18=53']
Exploring Operation: 46-44=2, Resulting Numbers: [53, 2]
Generated Node #0,0,0: 45:[53, 2] Operation: 46-44=2
Exploring Operation: 53-46=7, Resulting Numbers: [44, 7]
Generated Node #0,0,1: 45:[44, 7] Operation: 53-46=7
Exploring Operation: 53-44=9, Resulting Numbers: [46, 9]
Generated Node #0,0,2: 45:[46, 9] Operation: 53-44=9
Exploring Operation: 44+46=90, Resulting Numbers: [53, 90]
Generated Node #0,0,3: 45:[53, 90] Operation: 44+46=90
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[46, 9], Operations: ['71-18=53', '53-44=9']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[44, 7], Operations: ['71-18=53', '53-46=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,45 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[53, 2], Operations: ['71-18=53', '46-44=2']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[53, 90], Operations: ['71-18=53', '44+46=90']
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 53+90=143, Resulting Numbers: [143]
143,45 unequal: No Solution
Exploring Operation: 53*90=4770, Resulting Numbers: [4770]
4770,45 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: 45:[44, 18, 25], Operations: ['71-46=25']
Exploring Operation: 44-25=19, Resulting Numbers: [18, 19]
Generated Node #0,3,0: 45:[18, 19] Operation: 44-25=19
Exploring Operation: 18+25=43, Resulting Numbers: [44, 43]
Generated Node #0,3,1: 45:[44, 43] Operation: 18+25=43
Exploring Operation: 25-18=7, Resulting Numbers: [44, 7]
Generated Node #0,3,2: 45:[44, 7] Operation: 25-18=7
Exploring Operation: 44-18=26, Resulting Numbers: [25, 26]
Generated Node #0,3,3: 45:[25, 26] Operation: 44-18=26
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 45:[44, 43], Operations: ['71-46=25', '18+25=43']
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,45 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,45 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 45:[44, 7], Operations: ['71-46=25', '25-18=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,45 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 45:[18, 19], Operations: ['71-46=25', '44-25=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,45 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 45:[25, 26], Operations: ['71-46=25', '44-18=26']
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 25*26=650, Resulting Numbers: [650]
650,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 45:[18, 46, 27], Operations: ['71-44=27']
Exploring Operation: 46-18=28, Resulting Numbers: [27, 28]
Generated Node #0,2,0: 45:[27, 28] Operation: 46-18=28
Exploring Operation: 46-27=19, Resulting Numbers: [18, 19]
Generated Node #0,2,1: 45:[18, 19] Operation: 46-27=19
Exploring Operation: 18+27=45, Resulting Numbers: [46, 45]
Generated Node #0,2,2: 45:[46, 45] Operation: 18+27=45
Exploring Operation: 27-18=9, Resulting Numbers: [46, 9]
Generated Node #0,2,3: 45:[46, 9] Operation: 27-18=9
Moving to Node #0,1
Current State: 45:[71, 18, 2], Operations: ['46-44=2']
Exploring Operation: 18-2=16, Resulting Numbers: [71, 16]
Generated Node #0,1,0: 45:[71, 16] Operation: 18-2=16
Exploring Operation: 71-18=53, Resulting Numbers: [2, 53]
Generated Node #0,1,1: 45:[2, 53] Operation: 71-18=53
Exploring Operation: 71-2=69, Resulting Numbers: [18, 69]
Generated Node #0,1,2: 45:[18, 69] Operation: 71-2=69
Exploring Operation: 18/2=9, Resulting Numbers: [71, 9]
Generated Node #0,1,3: 45:[71, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[2, 53], Operations: ['46-44=2', '71-18=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,45 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 45:[71, 9], Operations: ['46-44=2', '18/2=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,45 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[71, 16], Operations: ['46-44=2', '18-2=16']
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,45 unequal: No Solution
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[18, 69], Operations: ['46-44=2', '71-2=69']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,45 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 45:[46, 45], Operations: ['71-44=27', '18+27=45']
Exploring Operation: 46+45=91, Resulting Numbers: [91]
91,45 unequal: No Solution
Exploring Operation: 46-45=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 46*45=2070, Resulting Numbers: [2070]
2070,45 unequal: No Solution
Moving to Node #0,2,3
Current State: 45:[46, 9], Operations: ['71-44=27', '27-18=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,45 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[18, 19], Operations: ['71-44=27', '46-27=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,45 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[27, 28], Operations: ['71-44=27', '46-18=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
73,
5,
10
] | 88 | [
"10-7=3",
"5*3=15",
"73+15=88"
] | Current State: 88:[7, 73, 5, 10], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [73, 5, 3]
Generated Node #2: [73, 5, 3] from Operation: 10-7=3
Current State: 88:[73, 5, 3], Operations: ['10-7=3']
Exploring Operation: 5*3=15, Resulting Numbers: [73, 15]
Generated Node #3: [73, 15] from Operation: 5*3=15
Current State: 88:[73, 15], Operations: ['10-7=3', '5*3=15']
Exploring Operation: 73+15=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 73, 5, 10], Operations: []
Exploring Operation: 73+5=78, Resulting Numbers: [7, 10, 78]
Generated Node #0,0: 88:[7, 10, 78] Operation: 73+5=78
Exploring Operation: 73+10=83, Resulting Numbers: [7, 5, 83]
Generated Node #0,1: 88:[7, 5, 83] Operation: 73+10=83
Exploring Operation: 7+73=80, Resulting Numbers: [5, 10, 80]
Generated Node #0,2: 88:[5, 10, 80] Operation: 7+73=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[7, 5, 83], Operations: ['73+10=83']
Exploring Operation: 5+83=88, Resulting Numbers: [7, 88]
Generated Node #0,1,0: 88:[7, 88] Operation: 5+83=88
Exploring Operation: 7+83=90, Resulting Numbers: [5, 90]
Generated Node #0,1,1: 88:[5, 90] Operation: 7+83=90
Exploring Operation: 7-5=2, Resulting Numbers: [83, 2]
Generated Node #0,1,2: 88:[83, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[7, 88], Operations: ['73+10=83', '5+83=88']
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,88 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,88 unequal: No Solution
No 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: 88:[5, 90], Operations: ['73+10=83', '7+83=90']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,88 unequal: No Solution
No 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: 88:[83, 2], Operations: ['73+10=83', '7-5=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,88 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: 88:[5, 10, 80], Operations: ['7+73=80']
Exploring Operation: 5+80=85, Resulting Numbers: [10, 85]
Generated Node #0,2,0: 88:[10, 85] Operation: 5+80=85
Exploring Operation: 10+80=90, Resulting Numbers: [5, 90]
Generated Node #0,2,1: 88:[5, 90] Operation: 10+80=90
Exploring Operation: 80/10=8, Resulting Numbers: [5, 8]
Generated Node #0,2,2: 88:[5, 8] Operation: 80/10=8
Moving to Node #0,2,2
Current State: 88:[5, 8], Operations: ['7+73=80', '80/10=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[5, 90], Operations: ['7+73=80', '10+80=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,88 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[10, 85], Operations: ['7+73=80', '5+80=85']
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,88 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[7, 10, 78], Operations: ['73+5=78']
Exploring Operation: 10-7=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 88:[78, 3] Operation: 10-7=3
Exploring Operation: 10+78=88, Resulting Numbers: [7, 88]
Generated Node #0,0,1: 88:[7, 88] Operation: 10+78=88
Exploring Operation: 7+78=85, Resulting Numbers: [10, 85]
Generated Node #0,0,2: 88:[10, 85] Operation: 7+78=85
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[7, 88], Operations: ['73+5=78', '10+78=88']
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,88 unequal: No Solution
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,88 unequal: No Solution
No 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: 88:[10, 85], Operations: ['73+5=78', '7+78=85']
Exploring Operation: 10*85=850, Resulting Numbers: [850]
850,88 unequal: No Solution
Exploring Operation: 10+85=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,88 unequal: No Solution
No 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: 88:[78, 3], Operations: ['73+5=78', '10-7=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,88 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 |
[
56,
47,
58,
19
] | 56 | [
"58-56=2",
"47-19=28",
"2*28=56"
] | Current State: 56:[56, 47, 58, 19], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [47, 19, 2]
Generated Node #2: [47, 19, 2] from Operation: 58-56=2
Current State: 56:[47, 19, 2], Operations: ['58-56=2']
Exploring Operation: 47-19=28, Resulting Numbers: [2, 28]
Generated Node #3: [2, 28] from Operation: 47-19=28
Current State: 56:[2, 28], Operations: ['58-56=2', '47-19=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[56, 47, 58, 19], Operations: []
Exploring Operation: 56-47=9, Resulting Numbers: [58, 19, 9]
Generated Node #0,0: 56:[58, 19, 9] Operation: 56-47=9
Exploring Operation: 47-19=28, Resulting Numbers: [56, 58, 28]
Generated Node #0,1: 56:[56, 58, 28] Operation: 47-19=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[56, 58, 28], Operations: ['47-19=28']
Exploring Operation: 56-28=28, Resulting Numbers: [58, 28]
Generated Node #0,1,0: 56:[58, 28] Operation: 56-28=28
Exploring Operation: 58-56=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 56:[28, 2] Operation: 58-56=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[28, 2], Operations: ['47-19=28', '58-56=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[56, 47, 58, 19], Operations: []
Exploring Operation: 47-19=28, Resulting Numbers: [56, 58, 28]
Generated Node #0,1: 56:[56, 58, 28] Operation: 47-19=28
Moving to Node #0,1
Current State: 56:[56, 58, 28], Operations: ['47-19=28']
Exploring Operation: 58-56=2, Resulting Numbers: [28, 2]
Generated Node #0,1,1: 56:[28, 2] Operation: 58-56=2
Moving to Node #0,1,1
Current State: 56:[28, 2], Operations: ['47-19=28', '58-56=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
70,
41,
7,
2
] | 97 | [
"70+41=111",
"7*2=14",
"111-14=97"
] | Current State: 97:[70, 41, 7, 2], Operations: []
Exploring Operation: 70+41=111, Resulting Numbers: [7, 2, 111]
Generated Node #2: [7, 2, 111] from Operation: 70+41=111
Current State: 97:[7, 2, 111], Operations: ['70+41=111']
Exploring Operation: 7*2=14, Resulting Numbers: [111, 14]
Generated Node #3: [111, 14] from Operation: 7*2=14
Current State: 97:[111, 14], Operations: ['70+41=111', '7*2=14']
Exploring Operation: 111-14=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[70, 41, 7, 2], Operations: []
Exploring Operation: 41*2=82, Resulting Numbers: [70, 7, 82]
Generated Node #0,0: 97:[70, 7, 82] Operation: 41*2=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[70, 7, 82], Operations: ['41*2=82']
Exploring Operation: 70+7=77, Resulting Numbers: [82, 77]
Generated Node #0,0,0: 97:[82, 77] Operation: 70+7=77
Moving to Node #0,0,0
Current State: 97:[82, 77], Operations: ['41*2=82', '70+7=77']
Exploring Operation: 82+77=159, Resulting Numbers: [159]
159,97 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 |
[
42,
16,
17,
89
] | 47 | [
"89-42=47",
"17-16=1",
"47*1=47"
] | Current State: 47:[42, 16, 17, 89], Operations: []
Exploring Operation: 89-42=47, Resulting Numbers: [16, 17, 47]
Generated Node #2: [16, 17, 47] from Operation: 89-42=47
Current State: 47:[16, 17, 47], Operations: ['89-42=47']
Exploring Operation: 17-16=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 17-16=1
Current State: 47:[47, 1], Operations: ['89-42=47', '17-16=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[42, 16, 17, 89], Operations: []
Exploring Operation: 16+17=33, Resulting Numbers: [42, 89, 33]
Generated Node #0,0: 47:[42, 89, 33] Operation: 16+17=33
Exploring Operation: 89-42=47, Resulting Numbers: [16, 17, 47]
Generated Node #0,1: 47:[16, 17, 47] Operation: 89-42=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[42, 89, 33], Operations: ['16+17=33']
Exploring Operation: 89-33=56, Resulting Numbers: [42, 56]
Generated Node #0,0,0: 47:[42, 56] Operation: 89-33=56
Exploring Operation: 89-42=47, Resulting Numbers: [33, 47]
Generated Node #0,0,1: 47:[33, 47] Operation: 89-42=47
Moving to Node #0,0,0
Current State: 47:[42, 56], Operations: ['16+17=33', '89-33=56']
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[33, 47], Operations: ['16+17=33', '89-42=47']
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,47 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[16, 17, 47], Operations: ['89-42=47']
Exploring Operation: 16+17=33, Resulting Numbers: [47, 33]
Generated Node #0,1,0: 47:[47, 33] Operation: 16+17=33
Exploring Operation: 17-16=1, Resulting Numbers: [47, 1]
Generated Node #0,1,1: 47:[47, 1] Operation: 17-16=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[47, 33], Operations: ['89-42=47', '16+17=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[47, 1], Operations: ['89-42=47', '17-16=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[42, 16, 17, 89], Operations: []
Exploring Operation: 89-42=47, Resulting Numbers: [16, 17, 47]
Generated Node #0,1: 47:[16, 17, 47] Operation: 89-42=47
Moving to Node #0,1
Current State: 47:[16, 17, 47], Operations: ['89-42=47']
Exploring Operation: 17-16=1, Resulting Numbers: [47, 1]
Generated Node #0,1,1: 47:[47, 1] Operation: 17-16=1
Moving to Node #0,1,1
Current State: 47:[47, 1], Operations: ['89-42=47', '17-16=1']
Exploring Operation: 47*1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
68,
20,
70,
69
] | 47 | [
"68-20=48",
"70-69=1",
"48-1=47"
] | Current State: 47:[68, 20, 70, 69], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [70, 69, 48]
Generated Node #2: [70, 69, 48] from Operation: 68-20=48
Current State: 47:[70, 69, 48], Operations: ['68-20=48']
Exploring Operation: 70-69=1, Resulting Numbers: [48, 1]
Generated Node #3: [48, 1] from Operation: 70-69=1
Current State: 47:[48, 1], Operations: ['68-20=48', '70-69=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[68, 20, 70, 69], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [68, 70, 49]
Generated Node #0,0: 47:[68, 70, 49] Operation: 69-20=49
Exploring Operation: 70-20=50, Resulting Numbers: [68, 69, 50]
Generated Node #0,1: 47:[68, 69, 50] Operation: 70-20=50
Exploring Operation: 68-20=48, Resulting Numbers: [70, 69, 48]
Generated Node #0,2: 47:[70, 69, 48] Operation: 68-20=48
Moving to Node #0,0
Current State: 47:[68, 70, 49], Operations: ['69-20=49']
Exploring Operation: 70-49=21, Resulting Numbers: [68, 21]
Generated Node #0,0,0: 47:[68, 21] Operation: 70-49=21
Exploring Operation: 68-49=19, Resulting Numbers: [70, 19]
Generated Node #0,0,1: 47:[70, 19] Operation: 68-49=19
Exploring Operation: 70-68=2, Resulting Numbers: [49, 2]
Generated Node #0,0,2: 47:[49, 2] Operation: 70-68=2
Moving to Node #0,1
Current State: 47:[68, 69, 50], Operations: ['70-20=50']
Exploring Operation: 69-50=19, Resulting Numbers: [68, 19]
Generated Node #0,1,0: 47:[68, 19] Operation: 69-50=19
Exploring Operation: 68-50=18, Resulting Numbers: [69, 18]
Generated Node #0,1,1: 47:[69, 18] Operation: 68-50=18
Exploring Operation: 69-68=1, Resulting Numbers: [50, 1]
Generated Node #0,1,2: 47:[50, 1] Operation: 69-68=1
Moving to Node #0,2
Current State: 47:[70, 69, 48], Operations: ['68-20=48']
Exploring Operation: 70-48=22, Resulting Numbers: [69, 22]
Generated Node #0,2,0: 47:[69, 22] Operation: 70-48=22
Exploring Operation: 70-69=1, Resulting Numbers: [48, 1]
Generated Node #0,2,1: 47:[48, 1] Operation: 70-69=1
Exploring Operation: 69-48=21, Resulting Numbers: [70, 21]
Generated Node #0,2,2: 47:[70, 21] Operation: 69-48=21
Moving to Node #0,0,0
Current State: 47:[68, 21], Operations: ['69-20=49', '70-49=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,47 unequal: No Solution
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[68, 20, 70, 69], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [68, 70, 49]
Generated Node #0,0: 47:[68, 70, 49] Operation: 69-20=49
Moving to Node #0,0
Current State: 47:[68, 70, 49], Operations: ['69-20=49']
Exploring Operation: 70-49=21, Resulting Numbers: [68, 21]
Generated Node #0,0,0: 47:[68, 21] Operation: 70-49=21
Moving to Node #0,0,0
Current State: 47:[68, 21], Operations: ['69-20=49', '70-49=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.984375 | hs_3 | mult_heuristic |
[
46,
43,
96,
9
] | 90 | [
"46-43=3",
"96-9=87",
"3+87=90"
] | Current State: 90:[46, 43, 96, 9], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [96, 9, 3]
Generated Node #2: [96, 9, 3] from Operation: 46-43=3
Current State: 90:[96, 9, 3], Operations: ['46-43=3']
Exploring Operation: 96-9=87, Resulting Numbers: [3, 87]
Generated Node #3: [3, 87] from Operation: 96-9=87
Current State: 90:[3, 87], Operations: ['46-43=3', '96-9=87']
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[46, 43, 96, 9], Operations: []
Exploring Operation: 96-9=87, Resulting Numbers: [46, 43, 87]
Generated Node #0,0: 90:[46, 43, 87] Operation: 96-9=87
Exploring Operation: 46+43=89, Resulting Numbers: [96, 9, 89]
Generated Node #0,1: 90:[96, 9, 89] Operation: 46+43=89
Exploring Operation: 46-43=3, Resulting Numbers: [96, 9, 3]
Generated Node #0,2: 90:[96, 9, 3] Operation: 46-43=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[46, 43, 87], Operations: ['96-9=87']
Exploring Operation: 46-43=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 90:[87, 3] Operation: 46-43=3
Exploring Operation: 87-43=44, Resulting Numbers: [46, 44]
Generated Node #0,0,1: 90:[46, 44] Operation: 87-43=44
Exploring Operation: 46+43=89, Resulting Numbers: [87, 89]
Generated Node #0,0,2: 90:[87, 89] Operation: 46+43=89
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[46, 44], Operations: ['96-9=87', '87-43=44']
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,90 unequal: No Solution
Exploring Operation: 46*44=2024, Resulting Numbers: [2024]
2024,90 unequal: No Solution
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[46, 43, 96, 9], Operations: []
Exploring Operation: 96-9=87, Resulting Numbers: [46, 43, 87]
Generated Node #0,0: 90:[46, 43, 87] Operation: 96-9=87
Moving to Node #0,0
Current State: 90:[46, 43, 87], Operations: ['96-9=87']
Exploring Operation: 87-43=44, Resulting Numbers: [46, 44]
Generated Node #0,0,1: 90:[46, 44] Operation: 87-43=44
Moving to Node #0,0,1
Current State: 90:[46, 44], Operations: ['96-9=87', '87-43=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
19,
22,
18,
1
] | 80 | [
"19+1=20",
"22-18=4",
"20*4=80"
] | Current State: 80:[19, 22, 18, 1], Operations: []
Exploring Operation: 19+1=20, Resulting Numbers: [22, 18, 20]
Generated Node #2: [22, 18, 20] from Operation: 19+1=20
Current State: 80:[22, 18, 20], Operations: ['19+1=20']
Exploring Operation: 22-18=4, Resulting Numbers: [20, 4]
Generated Node #3: [20, 4] from Operation: 22-18=4
Current State: 80:[20, 4], Operations: ['19+1=20', '22-18=4']
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[19, 22, 18, 1], Operations: []
Exploring Operation: 22+18=40, Resulting Numbers: [19, 1, 40]
Generated Node #0,0: 80:[19, 1, 40] Operation: 22+18=40
Exploring Operation: 22-18=4, Resulting Numbers: [19, 1, 4]
Generated Node #0,1: 80:[19, 1, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[19, 1, 40], Operations: ['22+18=40']
Exploring Operation: 19*1=19, Resulting Numbers: [40, 19]
Generated Node #0,0,0: 80:[40, 19] Operation: 19*1=19
Exploring Operation: 19+1=20, Resulting Numbers: [40, 20]
Generated Node #0,0,1: 80:[40, 20] Operation: 19+1=20
Moving to Node #0,0,1
Current State: 80:[40, 20], Operations: ['22+18=40', '19+1=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Moving to Node #0,0,0
Current State: 80:[40, 19], Operations: ['22+18=40', '19*1=19']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Exploring Operation: 40+19=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[19, 1, 4], Operations: ['22-18=4']
Exploring Operation: 19*1=19, Resulting Numbers: [4, 19]
Generated Node #0,1,0: 80:[4, 19] Operation: 19*1=19
Exploring Operation: 19+1=20, Resulting Numbers: [4, 20]
Generated Node #0,1,1: 80:[4, 20] Operation: 19+1=20
Moving to Node #0,1,1
Current State: 80:[4, 20], Operations: ['22-18=4', '19+1=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[19, 22, 18, 1], Operations: []
Exploring Operation: 22-18=4, Resulting Numbers: [19, 1, 4]
Generated Node #0,1: 80:[19, 1, 4] Operation: 22-18=4
Moving to Node #0,1
Current State: 80:[19, 1, 4], Operations: ['22-18=4']
Exploring Operation: 19+1=20, Resulting Numbers: [4, 20]
Generated Node #0,1,1: 80:[4, 20] Operation: 19+1=20
Moving to Node #0,1,1
Current State: 80:[4, 20], Operations: ['22-18=4', '19+1=20']
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
29,
39,
34,
48
] | 96 | [
"29+39=68",
"68/34=2",
"48*2=96"
] | Current State: 96:[29, 39, 34, 48], Operations: []
Exploring Operation: 29+39=68, Resulting Numbers: [34, 48, 68]
Generated Node #2: [34, 48, 68] from Operation: 29+39=68
Current State: 96:[34, 48, 68], Operations: ['29+39=68']
Exploring Operation: 68/34=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 68/34=2
Current State: 96:[48, 2], Operations: ['29+39=68', '68/34=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[29, 39, 34, 48], Operations: []
Exploring Operation: 48-29=19, Resulting Numbers: [39, 34, 19]
Generated Node #0,0: 96:[39, 34, 19] Operation: 48-29=19
Exploring Operation: 39-34=5, Resulting Numbers: [29, 48, 5]
Generated Node #0,1: 96:[29, 48, 5] Operation: 39-34=5
Exploring Operation: 34-29=5, Resulting Numbers: [39, 48, 5]
Generated Node #0,2: 96:[39, 48, 5] Operation: 34-29=5
Exploring Operation: 48-39=9, Resulting Numbers: [29, 34, 9]
Generated Node #0,3: 96:[29, 34, 9] Operation: 48-39=9
Exploring Operation: 39-29=10, Resulting Numbers: [34, 48, 10]
Generated Node #0,4: 96:[34, 48, 10] Operation: 39-29=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[29, 48, 5], Operations: ['39-34=5']
Exploring Operation: 29+5=34, Resulting Numbers: [48, 34]
Generated Node #0,1,0: 96:[48, 34] Operation: 29+5=34
Exploring Operation: 29-5=24, Resulting Numbers: [48, 24]
Generated Node #0,1,1: 96:[48, 24] Operation: 29-5=24
Exploring Operation: 48+5=53, Resulting Numbers: [29, 53]
Generated Node #0,1,2: 96:[29, 53] Operation: 48+5=53
Exploring Operation: 48-29=19, Resulting Numbers: [5, 19]
Generated Node #0,1,3: 96:[5, 19] Operation: 48-29=19
Exploring Operation: 48-5=43, Resulting Numbers: [29, 43]
Generated Node #0,1,4: 96:[29, 43] Operation: 48-5=43
Moving to Node #0,1,1
Current State: 96:[48, 24], Operations: ['39-34=5', '29-5=24']
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,96 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[48, 34], Operations: ['39-34=5', '29+5=34']
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,96 unequal: No Solution
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[5, 19], Operations: ['39-34=5', '48-29=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[29, 53], Operations: ['39-34=5', '48+5=53']
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,96 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,1,4
Current State: 96:[29, 43], Operations: ['39-34=5', '48-5=43']
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,96 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No 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: 96:[34, 48, 10], Operations: ['39-29=10']
Exploring Operation: 48-10=38, Resulting Numbers: [34, 38]
Generated Node #0,4,0: 96:[34, 38] Operation: 48-10=38
Exploring Operation: 48+10=58, Resulting Numbers: [34, 58]
Generated Node #0,4,1: 96:[34, 58] Operation: 48+10=58
Exploring Operation: 34+10=44, Resulting Numbers: [48, 44]
Generated Node #0,4,2: 96:[48, 44] Operation: 34+10=44
Exploring Operation: 48-34=14, Resulting Numbers: [10, 14]
Generated Node #0,4,3: 96:[10, 14] Operation: 48-34=14
Exploring Operation: 34-10=24, Resulting Numbers: [48, 24]
Generated Node #0,4,4: 96:[48, 24] Operation: 34-10=24
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 96:[48, 24], Operations: ['39-29=10', '34-10=24']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,96 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 96:[48, 44], Operations: ['39-29=10', '34+10=44']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,96 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 96:[10, 14], Operations: ['39-29=10', '48-34=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[34, 38], Operations: ['39-29=10', '48-10=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,96 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 96:[34, 58], Operations: ['39-29=10', '48+10=58']
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,96 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[29, 34, 9], Operations: ['48-39=9']
Exploring Operation: 34-9=25, Resulting Numbers: [29, 25]
Generated Node #0,3,0: 96:[29, 25] Operation: 34-9=25
Exploring Operation: 29+9=38, Resulting Numbers: [34, 38]
Generated Node #0,3,1: 96:[34, 38] Operation: 29+9=38
Exploring Operation: 34-29=5, Resulting Numbers: [9, 5]
Generated Node #0,3,2: 96:[9, 5] Operation: 34-29=5
Exploring Operation: 29-9=20, Resulting Numbers: [34, 20]
Generated Node #0,3,3: 96:[34, 20] Operation: 29-9=20
Exploring Operation: 34+9=43, Resulting Numbers: [29, 43]
Generated Node #0,3,4: 96:[29, 43] Operation: 34+9=43
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 96:[9, 5], Operations: ['48-39=9', '34-29=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 96:[29, 25], Operations: ['48-39=9', '34-9=25']
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,96 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 96:[34, 20], Operations: ['48-39=9', '29-9=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,96 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 96:[34, 38], Operations: ['48-39=9', '29+9=38']
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 34*38=1292, Resulting Numbers: [1292]
1292,96 unequal: No Solution
Exploring Operation: 34+38=72, Resulting Numbers: [72]
72,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 96:[29, 43], Operations: ['48-39=9', '34+9=43']
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[39, 48, 5], Operations: ['34-29=5']
Exploring Operation: 39+5=44, Resulting Numbers: [48, 44]
Generated Node #0,2,0: 96:[48, 44] Operation: 39+5=44
Exploring Operation: 39-5=34, Resulting Numbers: [48, 34]
Generated Node #0,2,1: 96:[48, 34] Operation: 39-5=34
Exploring Operation: 48+5=53, Resulting Numbers: [39, 53]
Generated Node #0,2,2: 96:[39, 53] Operation: 48+5=53
Exploring Operation: 48-39=9, Resulting Numbers: [5, 9]
Generated Node #0,2,3: 96:[5, 9] Operation: 48-39=9
Exploring Operation: 39+48=87, Resulting Numbers: [5, 87]
Generated Node #0,2,4: 96:[5, 87] Operation: 39+48=87
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[48, 34], Operations: ['34-29=5', '39-5=34']
Exploring Operation: 48+34=82, Resulting Numbers: [82]
82,96 unequal: No Solution
Exploring Operation: 48*34=1632, Resulting Numbers: [1632]
1632,96 unequal: No Solution
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[5, 9], Operations: ['34-29=5', '48-39=9']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[48, 44], Operations: ['34-29=5', '39+5=44']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[5, 87], Operations: ['34-29=5', '39+48=87']
Exploring Operation: 5+87=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 5*87=435, Resulting Numbers: [435]
435,96 unequal: No Solution
Exploring Operation: 87-5=82, Resulting Numbers: [82]
82,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[39, 53], Operations: ['34-29=5', '48+5=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,96 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[39, 34, 19], Operations: ['48-29=19']
Exploring Operation: 39-34=5, Resulting Numbers: [19, 5]
Generated Node #0,0,0: 96:[19, 5] Operation: 39-34=5
Exploring Operation: 34-19=15, Resulting Numbers: [39, 15]
Generated Node #0,0,1: 96:[39, 15] Operation: 34-19=15
Exploring Operation: 34+19=53, Resulting Numbers: [39, 53]
Generated Node #0,0,2: 96:[39, 53] Operation: 34+19=53
Exploring Operation: 39-19=20, Resulting Numbers: [34, 20]
Generated Node #0,0,3: 96:[34, 20] Operation: 39-19=20
Exploring Operation: 39+19=58, Resulting Numbers: [34, 58]
Generated Node #0,0,4: 96:[34, 58] Operation: 39+19=58
Moving to Node #0,0,0
Current State: 96:[19, 5], Operations: ['48-29=19', '39-34=5']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[34, 20], Operations: ['48-29=19', '39-19=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[39, 15], Operations: ['48-29=19', '34-19=15']
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,96 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[39, 53], Operations: ['48-29=19', '34+19=53']
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[34, 58], Operations: ['48-29=19', '39+19=58']
Exploring Operation: 34*58=1972, Resulting Numbers: [1972]
1972,96 unequal: No Solution
Exploring Operation: 34+58=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,96 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 |
[
14,
38,
23,
63
] | 63 | [
"38-14=24",
"24-23=1",
"63*1=63"
] | Current State: 63:[14, 38, 23, 63], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [23, 63, 24]
Generated Node #2: [23, 63, 24] from Operation: 38-14=24
Current State: 63:[23, 63, 24], Operations: ['38-14=24']
Exploring Operation: 24-23=1, Resulting Numbers: [63, 1]
Generated Node #3: [63, 1] from Operation: 24-23=1
Current State: 63:[63, 1], Operations: ['38-14=24', '24-23=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[14, 38, 23, 63], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [23, 63, 24]
Generated Node #0,0: 63:[23, 63, 24] Operation: 38-14=24
Exploring Operation: 38-23=15, Resulting Numbers: [14, 63, 15]
Generated Node #0,1: 63:[14, 63, 15] Operation: 38-23=15
Exploring Operation: 38+23=61, Resulting Numbers: [14, 63, 61]
Generated Node #0,2: 63:[14, 63, 61] Operation: 38+23=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[23, 63, 24], Operations: ['38-14=24']
Exploring Operation: 63-24=39, Resulting Numbers: [23, 39]
Generated Node #0,0,0: 63:[23, 39] Operation: 63-24=39
Exploring Operation: 24-23=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 63:[63, 1] Operation: 24-23=1
Exploring Operation: 23+24=47, Resulting Numbers: [63, 47]
Generated Node #0,0,2: 63:[63, 47] Operation: 23+24=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[63, 1], Operations: ['38-14=24', '24-23=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[14, 38, 23, 63], Operations: []
Exploring Operation: 38-14=24, Resulting Numbers: [23, 63, 24]
Generated Node #0,0: 63:[23, 63, 24] Operation: 38-14=24
Moving to Node #0,0
Current State: 63:[23, 63, 24], Operations: ['38-14=24']
Exploring Operation: 24-23=1, Resulting Numbers: [63, 1]
Generated Node #0,0,1: 63:[63, 1] Operation: 24-23=1
Moving to Node #0,0,1
Current State: 63:[63, 1], Operations: ['38-14=24', '24-23=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
44,
47,
24,
64
] | 94 | [
"24+64=88",
"88/44=2",
"47*2=94"
] | Current State: 94:[44, 47, 24, 64], Operations: []
Exploring Operation: 24+64=88, Resulting Numbers: [44, 47, 88]
Generated Node #2: [44, 47, 88] from Operation: 24+64=88
Current State: 94:[44, 47, 88], Operations: ['24+64=88']
Exploring Operation: 88/44=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 88/44=2
Current State: 94:[47, 2], Operations: ['24+64=88', '88/44=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[44, 47, 24, 64], Operations: []
Exploring Operation: 24+64=88, Resulting Numbers: [44, 47, 88]
Generated Node #0,0: 94:[44, 47, 88] Operation: 24+64=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[44, 47, 88], Operations: ['24+64=88']
Exploring Operation: 88/44=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 94:[47, 2] Operation: 88/44=2
Moving to Node #0,0,0
Current State: 94:[47, 2], Operations: ['24+64=88', '88/44=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[44, 47, 24, 64], Operations: []
Exploring Operation: 24+64=88, Resulting Numbers: [44, 47, 88]
Generated Node #0,0: 94:[44, 47, 88] Operation: 24+64=88
Moving to Node #0,0
Current State: 94:[44, 47, 88], Operations: ['24+64=88']
Exploring Operation: 88/44=2, Resulting Numbers: [47, 2]
Generated Node #0,0,0: 94:[47, 2] Operation: 88/44=2
Moving to Node #0,0,0
Current State: 94:[47, 2], Operations: ['24+64=88', '88/44=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
26,
67,
26,
24
] | 54 | [
"26-24=2",
"26/2=13",
"67-13=54"
] | Current State: 54:[26, 67, 26, 24], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [67, 2]
Generated Node #2: [67, 2] from Operation: 26-24=2
Current State: 54:[67, 2], Operations: ['26-24=2']
Exploring Operation: 26/2=13, Resulting Numbers: [67, 13]
Generated Node #3: [67, 13] from Operation: 26/2=13
Current State: 54:[67, 13], Operations: ['26-24=2', '26/2=13']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[26, 67, 26, 24], Operations: []
Exploring Operation: 67-26=41, Resulting Numbers: [26, 24, 41]
Generated Node #0,0: 54:[26, 24, 41] Operation: 67-26=41
Exploring Operation: 67-24=43, Resulting Numbers: [26, 26, 43]
Generated Node #0,1: 54:[26, 26, 43] Operation: 67-24=43
Exploring Operation: 26-24=2, Resulting Numbers: [26, 67, 2]
Generated Node #0,2: 54:[26, 67, 2] Operation: 26-24=2
Exploring Operation: 26-24=2, Resulting Numbers: [67, 26, 2]
Generated Node #0,3: 54:[67, 26, 2] Operation: 26-24=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[26, 26, 43], Operations: ['67-24=43']
Exploring Operation: 26/26=1, Resulting Numbers: [43, 1]
Generated Node #0,1,0: 54:[43, 1] Operation: 26/26=1
Exploring Operation: 43-26=17, Resulting Numbers: [26, 17]
Generated Node #0,1,1: 54:[26, 17] Operation: 43-26=17
Exploring Operation: 26+26=52, Resulting Numbers: [43, 52]
Generated Node #0,1,2: 54:[43, 52] Operation: 26+26=52
Exploring Operation: 43-26=17, Resulting Numbers: [26, 17]
Generated Node #0,1,3: 54:[26, 17] Operation: 43-26=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[26, 17], Operations: ['67-24=43', '43-26=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,54 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[26, 17], Operations: ['67-24=43', '43-26=17']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,54 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[43, 1], Operations: ['67-24=43', '26/26=1']
Exploring Operation: 43+1=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[43, 52], Operations: ['67-24=43', '26+26=52']
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[26, 67, 2], Operations: ['26-24=2']
Exploring Operation: 67-26=41, Resulting Numbers: [2, 41]
Generated Node #0,2,0: 54:[2, 41] Operation: 67-26=41
Exploring Operation: 26+2=28, Resulting Numbers: [67, 28]
Generated Node #0,2,1: 54:[67, 28] Operation: 26+2=28
Exploring Operation: 67-2=65, Resulting Numbers: [26, 65]
Generated Node #0,2,2: 54:[26, 65] Operation: 67-2=65
Exploring Operation: 26*2=52, Resulting Numbers: [67, 52]
Generated Node #0,2,3: 54:[67, 52] Operation: 26*2=52
Moving to Node #0,2,2
Current State: 54:[26, 65], Operations: ['26-24=2', '67-2=65']
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,54 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,54 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[2, 41], Operations: ['26-24=2', '67-26=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[67, 28], Operations: ['26-24=2', '26+2=28']
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,54 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[67, 52], Operations: ['26-24=2', '26*2=52']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,54 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[67, 26, 2], Operations: ['26-24=2']
Exploring Operation: 26+2=28, Resulting Numbers: [67, 28]
Generated Node #0,3,0: 54:[67, 28] Operation: 26+2=28
Exploring Operation: 67-26=41, Resulting Numbers: [2, 41]
Generated Node #0,3,1: 54:[2, 41] Operation: 67-26=41
Exploring Operation: 67-2=65, Resulting Numbers: [26, 65]
Generated Node #0,3,2: 54:[26, 65] Operation: 67-2=65
Exploring Operation: 26*2=52, Resulting Numbers: [67, 52]
Generated Node #0,3,3: 54:[67, 52] Operation: 26*2=52
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[26, 65], Operations: ['26-24=2', '67-2=65']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,54 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[2, 41], Operations: ['26-24=2', '67-26=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[67, 28], Operations: ['26-24=2', '26+2=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[67, 52], Operations: ['26-24=2', '26*2=52']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,54 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,54 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[26, 24, 41], Operations: ['67-26=41']
Exploring Operation: 41-26=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 54:[24, 15] Operation: 41-26=15
Exploring Operation: 26-24=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 54:[41, 2] Operation: 26-24=2
Exploring Operation: 24+41=65, Resulting Numbers: [26, 65]
Generated Node #0,0,2: 54:[26, 65] Operation: 24+41=65
Exploring Operation: 41-24=17, Resulting Numbers: [26, 17]
Generated Node #0,0,3: 54:[26, 17] Operation: 41-24=17
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 54:[26, 17], Operations: ['67-26=41', '41-24=17']
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,54 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[24, 15], Operations: ['67-26=41', '41-26=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[26, 65], Operations: ['67-26=41', '24+41=65']
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,54 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[41, 2], Operations: ['67-26=41', '26-24=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
53,
3,
15,
61
] | 83 | [
"53*3=159",
"15+61=76",
"159-76=83"
] | Current State: 83:[53, 3, 15, 61], Operations: []
Exploring Operation: 53*3=159, Resulting Numbers: [15, 61, 159]
Generated Node #2: [15, 61, 159] from Operation: 53*3=159
Current State: 83:[15, 61, 159], Operations: ['53*3=159']
Exploring Operation: 15+61=76, Resulting Numbers: [159, 76]
Generated Node #3: [159, 76] from Operation: 15+61=76
Current State: 83:[159, 76], Operations: ['53*3=159', '15+61=76']
Exploring Operation: 159-76=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[53, 3, 15, 61], Operations: []
Exploring Operation: 3+61=64, Resulting Numbers: [53, 15, 64]
Generated Node #0,0: 83:[53, 15, 64] Operation: 3+61=64
Exploring Operation: 53+3=56, Resulting Numbers: [15, 61, 56]
Generated Node #0,1: 83:[15, 61, 56] Operation: 53+3=56
Exploring Operation: 3+15=18, Resulting Numbers: [53, 61, 18]
Generated Node #0,2: 83:[53, 61, 18] Operation: 3+15=18
Exploring Operation: 53+15=68, Resulting Numbers: [3, 61, 68]
Generated Node #0,3: 83:[3, 61, 68] Operation: 53+15=68
Exploring Operation: 3*15=45, Resulting Numbers: [53, 61, 45]
Generated Node #0,4: 83:[53, 61, 45] Operation: 3*15=45
Start Sub Search at level 1: Moving to Node #0,4
Current State: 83:[53, 61, 45], Operations: ['3*15=45']
Exploring Operation: 53-45=8, Resulting Numbers: [61, 8]
Generated Node #0,4,0: 83:[61, 8] Operation: 53-45=8
Exploring Operation: 53+61=114, Resulting Numbers: [45, 114]
Generated Node #0,4,1: 83:[45, 114] Operation: 53+61=114
Exploring Operation: 61-45=16, Resulting Numbers: [53, 16]
Generated Node #0,4,2: 83:[53, 16] Operation: 61-45=16
Exploring Operation: 53+45=98, Resulting Numbers: [61, 98]
Generated Node #0,4,3: 83:[61, 98] Operation: 53+45=98
Exploring Operation: 61+45=106, Resulting Numbers: [53, 106]
Generated Node #0,4,4: 83:[53, 106] Operation: 61+45=106
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 83:[61, 98], Operations: ['3*15=45', '53+45=98']
Exploring Operation: 61*98=5978, Resulting Numbers: [5978]
5978,83 unequal: No Solution
Exploring Operation: 61+98=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,83 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 83:[53, 106], Operations: ['3*15=45', '61+45=106']
Exploring Operation: 53*106=5618, Resulting Numbers: [5618]
5618,83 unequal: No Solution
Exploring Operation: 106/53=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 53+106=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 106-53=53, Resulting Numbers: [53]
53,83 unequal: No Solution
No 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: 83:[45, 114], Operations: ['3*15=45', '53+61=114']
Exploring Operation: 45+114=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 114-45=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 45*114=5130, Resulting Numbers: [5130]
5130,83 unequal: No Solution
No 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: 83:[61, 8], Operations: ['3*15=45', '53-45=8']
Exploring Operation: 61*8=488, Resulting Numbers: [488]
488,83 unequal: No Solution
Exploring Operation: 61+8=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,83 unequal: No Solution
No 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: 83:[53, 16], Operations: ['3*15=45', '61-45=16']
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,83 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,83 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: 83:[53, 15, 64], Operations: ['3+61=64']
Exploring Operation: 53-15=38, Resulting Numbers: [64, 38]
Generated Node #0,0,0: 83:[64, 38] Operation: 53-15=38
Exploring Operation: 15+64=79, Resulting Numbers: [53, 79]
Generated Node #0,0,1: 83:[53, 79] Operation: 15+64=79
Exploring Operation: 53+64=117, Resulting Numbers: [15, 117]
Generated Node #0,0,2: 83:[15, 117] Operation: 53+64=117
Exploring Operation: 64-15=49, Resulting Numbers: [53, 49]
Generated Node #0,0,3: 83:[53, 49] Operation: 64-15=49
Exploring Operation: 53+15=68, Resulting Numbers: [64, 68]
Generated Node #0,0,4: 83:[64, 68] Operation: 53+15=68
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 83:[53, 79], Operations: ['3+61=64', '15+64=79']
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,83 unequal: No Solution
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No 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: 83:[64, 68], Operations: ['3+61=64', '53+15=68']
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,83 unequal: No Solution
No 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: 83:[64, 38], Operations: ['3+61=64', '53-15=38']
Exploring Operation: 64+38=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 64*38=2432, Resulting Numbers: [2432]
2432,83 unequal: No Solution
No 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: 83:[53, 49], Operations: ['3+61=64', '64-15=49']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,83 unequal: No Solution
No 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: 83:[15, 117], Operations: ['3+61=64', '53+64=117']
Exploring Operation: 15*117=1755, Resulting Numbers: [1755]
1755,83 unequal: No Solution
Exploring Operation: 117-15=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 15+117=132, Resulting Numbers: [132]
132,83 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: 83:[15, 61, 56], Operations: ['53+3=56']
Exploring Operation: 15+61=76, Resulting Numbers: [56, 76]
Generated Node #0,1,0: 83:[56, 76] Operation: 15+61=76
Exploring Operation: 61-15=46, Resulting Numbers: [56, 46]
Generated Node #0,1,1: 83:[56, 46] Operation: 61-15=46
Exploring Operation: 15+56=71, Resulting Numbers: [61, 71]
Generated Node #0,1,2: 83:[61, 71] Operation: 15+56=71
Exploring Operation: 56-15=41, Resulting Numbers: [61, 41]
Generated Node #0,1,3: 83:[61, 41] Operation: 56-15=41
Exploring Operation: 61+56=117, Resulting Numbers: [15, 117]
Generated Node #0,1,4: 83:[15, 117] Operation: 61+56=117
Moving to Node #0,1,0
Current State: 83:[56, 76], Operations: ['53+3=56', '15+61=76']
Exploring Operation: 56+76=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 56*76=4256, Resulting Numbers: [4256]
4256,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[61, 71], Operations: ['53+3=56', '15+56=71']
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,83 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[56, 46], Operations: ['53+3=56', '61-15=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[61, 41], Operations: ['53+3=56', '56-15=41']
Exploring Operation: 61+41=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 61*41=2501, Resulting Numbers: [2501]
2501,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[15, 117], Operations: ['53+3=56', '61+56=117']
Exploring Operation: 15+117=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 117-15=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 15*117=1755, Resulting Numbers: [1755]
1755,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
Current State: 83:[53, 61, 18], Operations: ['3+15=18']
Exploring Operation: 53-18=35, Resulting Numbers: [61, 35]
Generated Node #0,2,0: 83:[61, 35] Operation: 53-18=35
Exploring Operation: 53+61=114, Resulting Numbers: [18, 114]
Generated Node #0,2,1: 83:[18, 114] Operation: 53+61=114
Exploring Operation: 61+18=79, Resulting Numbers: [53, 79]
Generated Node #0,2,2: 83:[53, 79] Operation: 61+18=79
Exploring Operation: 53+18=71, Resulting Numbers: [61, 71]
Generated Node #0,2,3: 83:[61, 71] Operation: 53+18=71
Exploring Operation: 61-18=43, Resulting Numbers: [53, 43]
Generated Node #0,2,4: 83:[53, 43] Operation: 61-18=43
Moving to Node #0,2,2
Current State: 83:[53, 79], Operations: ['3+15=18', '61+18=79']
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,83 unequal: No Solution
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[61, 71], Operations: ['3+15=18', '53+18=71']
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,83 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[61, 35], Operations: ['3+15=18', '53-18=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 61*35=2135, Resulting Numbers: [2135]
2135,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[53, 43], Operations: ['3+15=18', '61-18=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,83 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[18, 114], Operations: ['3+15=18', '53+61=114']
Exploring Operation: 18*114=2052, Resulting Numbers: [2052]
2052,83 unequal: No Solution
Exploring Operation: 18+114=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 114-18=96, Resulting Numbers: [96]
96,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[3, 61, 68], Operations: ['53+15=68']
Exploring Operation: 3+61=64, Resulting Numbers: [68, 64]
Generated Node #0,3,0: 83:[68, 64] Operation: 3+61=64
Exploring Operation: 68-3=65, Resulting Numbers: [61, 65]
Generated Node #0,3,1: 83:[61, 65] Operation: 68-3=65
Exploring Operation: 3+68=71, Resulting Numbers: [61, 71]
Generated Node #0,3,2: 83:[61, 71] Operation: 3+68=71
Exploring Operation: 61-3=58, Resulting Numbers: [68, 58]
Generated Node #0,3,3: 83:[68, 58] Operation: 61-3=58
Exploring Operation: 3*61=183, Resulting Numbers: [68, 183]
Generated Node #0,3,4: 83:[68, 183] Operation: 3*61=183
Moving to Node #0,3,0
Current State: 83:[68, 64], Operations: ['53+15=68', '3+61=64']
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,83 unequal: No Solution
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[61, 71], Operations: ['53+15=68', '3+68=71']
Exploring Operation: 61*71=4331, Resulting Numbers: [4331]
4331,83 unequal: No Solution
Exploring Operation: 61+71=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 71-61=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[61, 65], Operations: ['53+15=68', '68-3=65']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,83 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,83 unequal: No Solution
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[68, 58], Operations: ['53+15=68', '61-3=58']
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,83 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[68, 183], Operations: ['53+15=68', '3*61=183']
Exploring Operation: 68+183=251, Resulting Numbers: [251]
251,83 unequal: No Solution
Exploring Operation: 183-68=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 68*183=12444, Resulting Numbers: [12444]
12444,83 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 |
[
26,
28,
94,
13
] | 19 | [
"26/13=2",
"94/2=47",
"47-28=19"
] | Current State: 19:[26, 28, 94, 13], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [28, 94, 2]
Generated Node #2: [28, 94, 2] from Operation: 26/13=2
Current State: 19:[28, 94, 2], Operations: ['26/13=2']
Exploring Operation: 94/2=47, Resulting Numbers: [28, 47]
Generated Node #3: [28, 47] from Operation: 94/2=47
Current State: 19:[28, 47], Operations: ['26/13=2', '94/2=47']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[26, 28, 94, 13], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [26, 13, 66]
Generated Node #0,0: 19:[26, 13, 66] Operation: 94-28=66
Exploring Operation: 94-26=68, Resulting Numbers: [28, 13, 68]
Generated Node #0,1: 19:[28, 13, 68] Operation: 94-26=68
Exploring Operation: 94-13=81, Resulting Numbers: [26, 28, 81]
Generated Node #0,2: 19:[26, 28, 81] Operation: 94-13=81
Moving to Node #0,0
Current State: 19:[26, 13, 66], Operations: ['94-28=66']
Exploring Operation: 66-26=40, Resulting Numbers: [13, 40]
Generated Node #0,0,0: 19:[13, 40] Operation: 66-26=40
Exploring Operation: 66-13=53, Resulting Numbers: [26, 53]
Generated Node #0,0,1: 19:[26, 53] Operation: 66-13=53
Exploring Operation: 26-13=13, Resulting Numbers: [66, 13]
Generated Node #0,0,2: 19:[66, 13] Operation: 26-13=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[13, 40], Operations: ['94-28=66', '66-26=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,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:[26, 53], Operations: ['94-28=66', '66-13=53']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,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,2
Current State: 19:[66, 13], Operations: ['94-28=66', '26-13=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,19 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,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:[28, 13, 68], Operations: ['94-26=68']
Exploring Operation: 28-13=15, Resulting Numbers: [68, 15]
Generated Node #0,1,0: 19:[68, 15] Operation: 28-13=15
Exploring Operation: 68-13=55, Resulting Numbers: [28, 55]
Generated Node #0,1,1: 19:[28, 55] Operation: 68-13=55
Exploring Operation: 68-28=40, Resulting Numbers: [13, 40]
Generated Node #0,1,2: 19:[13, 40] Operation: 68-28=40
Moving to Node #0,2
Current State: 19:[26, 28, 81], Operations: ['94-13=81']
Exploring Operation: 28-26=2, Resulting Numbers: [81, 2]
Generated Node #0,2,0: 19:[81, 2] Operation: 28-26=2
Exploring Operation: 81-28=53, Resulting Numbers: [26, 53]
Generated Node #0,2,1: 19:[26, 53] Operation: 81-28=53
Exploring Operation: 81-26=55, Resulting Numbers: [28, 55]
Generated Node #0,2,2: 19:[28, 55] Operation: 81-26=55
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[26, 53], Operations: ['94-13=81', '81-28=53']
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,19 unequal: No Solution
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,19 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,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,2,2
Current State: 19:[28, 55], Operations: ['94-13=81', '81-26=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,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,2,0
Current State: 19:[81, 2], Operations: ['94-13=81', '28-26=2']
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,19 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,19 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: 19:[13, 40], Operations: ['94-26=68', '68-28=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,19 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[28, 55], Operations: ['94-26=68', '68-13=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,19 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[68, 15], Operations: ['94-26=68', '28-13=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
45,
33,
7,
99
] | 66 | [
"99/33=3",
"7*3=21",
"45+21=66"
] | Current State: 66:[45, 33, 7, 99], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [45, 7, 3]
Generated Node #2: [45, 7, 3] from Operation: 99/33=3
Current State: 66:[45, 7, 3], Operations: ['99/33=3']
Exploring Operation: 7*3=21, Resulting Numbers: [45, 21]
Generated Node #3: [45, 21] from Operation: 7*3=21
Current State: 66:[45, 21], Operations: ['99/33=3', '7*3=21']
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[45, 33, 7, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [33, 7, 54]
Generated Node #0,0: 66:[33, 7, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[33, 7, 54], Operations: ['99-45=54']
Exploring Operation: 54-33=21, Resulting Numbers: [7, 21]
Generated Node #0,0,0: 66:[7, 21] Operation: 54-33=21
Moving to Node #0,0,0
Current State: 66:[7, 21], Operations: ['99-45=54', '54-33=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,66 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 |
[
49,
98,
20,
80
] | 51 | [
"98-49=49",
"20+80=100",
"100-49=51"
] | Current State: 51:[49, 98, 20, 80], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [20, 80, 49]
Generated Node #2: [20, 80, 49] from Operation: 98-49=49
Current State: 51:[20, 80, 49], Operations: ['98-49=49']
Exploring Operation: 20+80=100, Resulting Numbers: [49, 100]
Generated Node #3: [49, 100] from Operation: 20+80=100
Current State: 51:[49, 100], Operations: ['98-49=49', '20+80=100']
Exploring Operation: 100-49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[49, 98, 20, 80], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [20, 80, 2]
Generated Node #0,0: 51:[20, 80, 2] Operation: 98/49=2
Exploring Operation: 98-80=18, Resulting Numbers: [49, 20, 18]
Generated Node #0,1: 51:[49, 20, 18] Operation: 98-80=18
Exploring Operation: 98-49=49, Resulting Numbers: [20, 80, 49]
Generated Node #0,2: 51:[20, 80, 49] Operation: 98-49=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[49, 20, 18], Operations: ['98-80=18']
Exploring Operation: 49-20=29, Resulting Numbers: [18, 29]
Generated Node #0,1,0: 51:[18, 29] Operation: 49-20=29
Exploring Operation: 20-18=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 51:[49, 2] Operation: 20-18=2
Exploring Operation: 20+18=38, Resulting Numbers: [49, 38]
Generated Node #0,1,2: 51:[49, 38] Operation: 20+18=38
Moving to Node #0,1,1
Current State: 51:[49, 2], Operations: ['98-80=18', '20-18=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[49, 98, 20, 80], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [49, 20, 18]
Generated Node #0,1: 51:[49, 20, 18] Operation: 98-80=18
Moving to Node #0,1
Current State: 51:[49, 20, 18], Operations: ['98-80=18']
Exploring Operation: 20-18=2, Resulting Numbers: [49, 2]
Generated Node #0,1,1: 51:[49, 2] Operation: 20-18=2
Moving to Node #0,1,1
Current State: 51:[49, 2], Operations: ['98-80=18', '20-18=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
73,
79,
51,
34
] | 67 | [
"73+79=152",
"51+34=85",
"152-85=67"
] | Current State: 67:[73, 79, 51, 34], Operations: []
Exploring Operation: 73+79=152, Resulting Numbers: [51, 34, 152]
Generated Node #2: [51, 34, 152] from Operation: 73+79=152
Current State: 67:[51, 34, 152], Operations: ['73+79=152']
Exploring Operation: 51+34=85, Resulting Numbers: [152, 85]
Generated Node #3: [152, 85] from Operation: 51+34=85
Current State: 67:[152, 85], Operations: ['73+79=152', '51+34=85']
Exploring Operation: 152-85=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[73, 79, 51, 34], Operations: []
Exploring Operation: 51+34=85, Resulting Numbers: [73, 79, 85]
Generated Node #0,0: 67:[73, 79, 85] Operation: 51+34=85
Moving to Node #0,0
Current State: 67:[73, 79, 85], Operations: ['51+34=85']
Exploring Operation: 85-73=12, Resulting Numbers: [79, 12]
Generated Node #0,0,0: 67:[79, 12] Operation: 85-73=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[79, 12], Operations: ['51+34=85', '85-73=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[73, 79, 51, 34], Operations: []
Exploring Operation: 51+34=85, Resulting Numbers: [73, 79, 85]
Generated Node #0,0: 67:[73, 79, 85] Operation: 51+34=85
Moving to Node #0,0
Current State: 67:[73, 79, 85], Operations: ['51+34=85']
Exploring Operation: 85-73=12, Resulting Numbers: [79, 12]
Generated Node #0,0,0: 67:[79, 12] Operation: 85-73=12
Moving to Node #0,0,0
Current State: 67:[79, 12], Operations: ['51+34=85', '85-73=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
99,
45,
72,
3
] | 78 | [
"99-45=54",
"72/3=24",
"54+24=78"
] | Current State: 78:[99, 45, 72, 3], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [72, 3, 54]
Generated Node #2: [72, 3, 54] from Operation: 99-45=54
Current State: 78:[72, 3, 54], Operations: ['99-45=54']
Exploring Operation: 72/3=24, Resulting Numbers: [54, 24]
Generated Node #3: [54, 24] from Operation: 72/3=24
Current State: 78:[54, 24], Operations: ['99-45=54', '72/3=24']
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[99, 45, 72, 3], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [45, 72, 33]
Generated Node #0,0: 78:[45, 72, 33] Operation: 99/3=33
Exploring Operation: 99-72=27, Resulting Numbers: [45, 3, 27]
Generated Node #0,1: 78:[45, 3, 27] Operation: 99-72=27
Exploring Operation: 72-45=27, Resulting Numbers: [99, 3, 27]
Generated Node #0,2: 78:[99, 3, 27] Operation: 72-45=27
Exploring Operation: 99-45=54, Resulting Numbers: [72, 3, 54]
Generated Node #0,3: 78:[72, 3, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[45, 3, 27], Operations: ['99-72=27']
Exploring Operation: 45+27=72, Resulting Numbers: [3, 72]
Generated Node #0,1,0: 78:[3, 72] Operation: 45+27=72
Exploring Operation: 45/3=15, Resulting Numbers: [27, 15]
Generated Node #0,1,1: 78:[27, 15] Operation: 45/3=15
Exploring Operation: 45-27=18, Resulting Numbers: [3, 18]
Generated Node #0,1,2: 78:[3, 18] Operation: 45-27=18
Exploring Operation: 45-3=42, Resulting Numbers: [27, 42]
Generated Node #0,1,3: 78:[27, 42] Operation: 45-3=42
Moving to Node #0,1,1
Current State: 78:[27, 15], Operations: ['99-72=27', '45/3=15']
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,78 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[27, 42], Operations: ['99-72=27', '45-3=42']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[3, 18], Operations: ['99-72=27', '45-27=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[3, 72], Operations: ['99-72=27', '45+27=72']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,78 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,78 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[45, 72, 33], Operations: ['99/3=33']
Exploring Operation: 72-33=39, Resulting Numbers: [45, 39]
Generated Node #0,0,0: 78:[45, 39] Operation: 72-33=39
Exploring Operation: 45-33=12, Resulting Numbers: [72, 12]
Generated Node #0,0,1: 78:[72, 12] Operation: 45-33=12
Exploring Operation: 72-45=27, Resulting Numbers: [33, 27]
Generated Node #0,0,2: 78:[33, 27] Operation: 72-45=27
Exploring Operation: 45+33=78, Resulting Numbers: [72, 78]
Generated Node #0,0,3: 78:[72, 78] Operation: 45+33=78
Moving to Node #0,0,0
Current State: 78:[45, 39], Operations: ['99/3=33', '72-33=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,78 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[72, 78], Operations: ['99/3=33', '45+33=78']
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,78 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,78 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[33, 27], Operations: ['99/3=33', '72-45=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[72, 12], Operations: ['99/3=33', '45-33=12']
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 72+12=84, Resulting Numbers: [84]
84,78 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,78 unequal: No Solution
Exploring Operation: 72*12=864, Resulting Numbers: [864]
864,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[72, 3, 54], Operations: ['99-45=54']
Exploring Operation: 54/3=18, Resulting Numbers: [72, 18]
Generated Node #0,3,0: 78:[72, 18] Operation: 54/3=18
Exploring Operation: 72-54=18, Resulting Numbers: [3, 18]
Generated Node #0,3,1: 78:[3, 18] Operation: 72-54=18
Exploring Operation: 72/3=24, Resulting Numbers: [54, 24]
Generated Node #0,3,2: 78:[54, 24] Operation: 72/3=24
Exploring Operation: 72+3=75, Resulting Numbers: [54, 75]
Generated Node #0,3,3: 78:[54, 75] Operation: 72+3=75
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 78:[3, 18], Operations: ['99-45=54', '72-54=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,78 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,78 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 78:[72, 18], Operations: ['99-45=54', '54/3=18']
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,78 unequal: No Solution
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,78 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,78 unequal: No Solution
No 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: 78:[54, 24], Operations: ['99-45=54', '72/3=24']
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,78 unequal: No Solution
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,78 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[99, 45, 72, 3], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [72, 3, 54]
Generated Node #0,3: 78:[72, 3, 54] Operation: 99-45=54
Moving to Node #0,3
Current State: 78:[72, 3, 54], Operations: ['99-45=54']
Exploring Operation: 72/3=24, Resulting Numbers: [54, 24]
Generated Node #0,3,2: 78:[54, 24] Operation: 72/3=24
Moving to Node #0,3,2
Current State: 78:[54, 24], Operations: ['99-45=54', '72/3=24']
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_4 | sum_heuristic |
[
86,
90,
24,
14
] | 87 | [
"86-14=72",
"72/24=3",
"90-3=87"
] | Current State: 87:[86, 90, 24, 14], Operations: []
Exploring Operation: 86-14=72, Resulting Numbers: [90, 24, 72]
Generated Node #2: [90, 24, 72] from Operation: 86-14=72
Current State: 87:[90, 24, 72], Operations: ['86-14=72']
Exploring Operation: 72/24=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 72/24=3
Current State: 87:[90, 3], Operations: ['86-14=72', '72/24=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[86, 90, 24, 14], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [24, 14, 4]
Generated Node #0,0: 87:[24, 14, 4] Operation: 90-86=4
Exploring Operation: 90-14=76, Resulting Numbers: [86, 24, 76]
Generated Node #0,1: 87:[86, 24, 76] Operation: 90-14=76
Exploring Operation: 24+14=38, Resulting Numbers: [86, 90, 38]
Generated Node #0,2: 87:[86, 90, 38] Operation: 24+14=38
Exploring Operation: 24-14=10, Resulting Numbers: [86, 90, 10]
Generated Node #0,3: 87:[86, 90, 10] Operation: 24-14=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[86, 90, 10], Operations: ['24-14=10']
Exploring Operation: 90-86=4, Resulting Numbers: [10, 4]
Generated Node #0,3,0: 87:[10, 4] Operation: 90-86=4
Exploring Operation: 90-10=80, Resulting Numbers: [86, 80]
Generated Node #0,3,1: 87:[86, 80] Operation: 90-10=80
Exploring Operation: 90/10=9, Resulting Numbers: [86, 9]
Generated Node #0,3,2: 87:[86, 9] Operation: 90/10=9
Exploring Operation: 86+10=96, Resulting Numbers: [90, 96]
Generated Node #0,3,3: 87:[90, 96] Operation: 86+10=96
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 87:[86, 9], Operations: ['24-14=10', '90/10=9']
Exploring Operation: 86*9=774, Resulting Numbers: [774]
774,87 unequal: No Solution
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,87 unequal: No Solution
Exploring Operation: 86+9=95, Resulting Numbers: [95]
95,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[10, 4], Operations: ['24-14=10', '90-86=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[86, 80], Operations: ['24-14=10', '90-10=80']
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,87 unequal: No Solution
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,87 unequal: No Solution
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[90, 96], Operations: ['24-14=10', '86+10=96']
Exploring Operation: 90*96=8640, Resulting Numbers: [8640]
8640,87 unequal: No Solution
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[86, 90, 38], Operations: ['24+14=38']
Exploring Operation: 86+38=124, Resulting Numbers: [90, 124]
Generated Node #0,2,0: 87:[90, 124] Operation: 86+38=124
Exploring Operation: 90-38=52, Resulting Numbers: [86, 52]
Generated Node #0,2,1: 87:[86, 52] Operation: 90-38=52
Exploring Operation: 86-38=48, Resulting Numbers: [90, 48]
Generated Node #0,2,2: 87:[90, 48] Operation: 86-38=48
Exploring Operation: 90-86=4, Resulting Numbers: [38, 4]
Generated Node #0,2,3: 87:[38, 4] Operation: 90-86=4
Moving to Node #0,2,3
Current State: 87:[38, 4], Operations: ['24+14=38', '90-86=4']
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[90, 48], Operations: ['24+14=38', '86-38=48']
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,87 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[86, 52], Operations: ['24+14=38', '90-38=52']
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,87 unequal: No Solution
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[90, 124], Operations: ['24+14=38', '86+38=124']
Exploring Operation: 90+124=214, Resulting Numbers: [214]
214,87 unequal: No Solution
Exploring Operation: 124-90=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 90*124=11160, Resulting Numbers: [11160]
11160,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
Current State: 87:[24, 14, 4], Operations: ['90-86=4']
Exploring Operation: 24-14=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 87:[4, 10] Operation: 24-14=10
Exploring Operation: 14-4=10, Resulting Numbers: [24, 10]
Generated Node #0,0,1: 87:[24, 10] Operation: 14-4=10
Exploring Operation: 24+14=38, Resulting Numbers: [4, 38]
Generated Node #0,0,2: 87:[4, 38] Operation: 24+14=38
Exploring Operation: 24+4=28, Resulting Numbers: [14, 28]
Generated Node #0,0,3: 87:[14, 28] Operation: 24+4=28
Moving to Node #0,0,0
Current State: 87:[4, 10], Operations: ['90-86=4', '24-14=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[4, 38], Operations: ['90-86=4', '24+14=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[14, 28], Operations: ['90-86=4', '24+4=28']
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,87 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[24, 10], Operations: ['90-86=4', '14-4=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[86, 24, 76], Operations: ['90-14=76']
Exploring Operation: 86+24=110, Resulting Numbers: [76, 110]
Generated Node #0,1,0: 87:[76, 110] Operation: 86+24=110
Exploring Operation: 24+76=100, Resulting Numbers: [86, 100]
Generated Node #0,1,1: 87:[86, 100] Operation: 24+76=100
Exploring Operation: 76-24=52, Resulting Numbers: [86, 52]
Generated Node #0,1,2: 87:[86, 52] Operation: 76-24=52
Exploring Operation: 86-76=10, Resulting Numbers: [24, 10]
Generated Node #0,1,3: 87:[24, 10] Operation: 86-76=10
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 87:[24, 10], Operations: ['90-14=76', '86-76=10']
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[86, 100], Operations: ['90-14=76', '24+76=100']
Exploring Operation: 100-86=14, Resulting Numbers: [14]
14,87 unequal: No Solution
Exploring Operation: 86*100=8600, Resulting Numbers: [8600]
8600,87 unequal: No Solution
Exploring Operation: 86+100=186, Resulting Numbers: [186]
186,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[86, 52], Operations: ['90-14=76', '76-24=52']
Exploring Operation: 86*52=4472, Resulting Numbers: [4472]
4472,87 unequal: No Solution
Exploring Operation: 86-52=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 86+52=138, Resulting Numbers: [138]
138,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[76, 110], Operations: ['90-14=76', '86+24=110']
Exploring Operation: 76*110=8360, Resulting Numbers: [8360]
8360,87 unequal: No Solution
Exploring Operation: 76+110=186, Resulting Numbers: [186]
186,87 unequal: No Solution
Exploring Operation: 110-76=34, Resulting Numbers: [34]
34,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
98,
41,
18,
68
] | 29 | [
"98-41=57",
"18+68=86",
"86-57=29"
] | Current State: 29:[98, 41, 18, 68], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [18, 68, 57]
Generated Node #2: [18, 68, 57] from Operation: 98-41=57
Current State: 29:[18, 68, 57], Operations: ['98-41=57']
Exploring Operation: 18+68=86, Resulting Numbers: [57, 86]
Generated Node #3: [57, 86] from Operation: 18+68=86
Current State: 29:[57, 86], Operations: ['98-41=57', '18+68=86']
Exploring Operation: 86-57=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[98, 41, 18, 68], Operations: []
Exploring Operation: 98-68=30, Resulting Numbers: [41, 18, 30]
Generated Node #0,0: 29:[41, 18, 30] Operation: 98-68=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[41, 18, 30], Operations: ['98-68=30']
Exploring Operation: 41-18=23, Resulting Numbers: [30, 23]
Generated Node #0,0,0: 29:[30, 23] Operation: 41-18=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[30, 23], Operations: ['98-68=30', '41-18=23']
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,29 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 |
[
4,
18,
89,
38
] | 29 | [
"4+18=22",
"89-38=51",
"51-22=29"
] | Current State: 29:[4, 18, 89, 38], Operations: []
Exploring Operation: 4+18=22, Resulting Numbers: [89, 38, 22]
Generated Node #2: [89, 38, 22] from Operation: 4+18=22
Current State: 29:[89, 38, 22], Operations: ['4+18=22']
Exploring Operation: 89-38=51, Resulting Numbers: [22, 51]
Generated Node #3: [22, 51] from Operation: 89-38=51
Current State: 29:[22, 51], Operations: ['4+18=22', '89-38=51']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[4, 18, 89, 38], Operations: []
Exploring Operation: 89-38=51, Resulting Numbers: [4, 18, 51]
Generated Node #0,0: 29:[4, 18, 51] Operation: 89-38=51
Moving to Node #0,0
Current State: 29:[4, 18, 51], Operations: ['89-38=51']
Exploring Operation: 4+18=22, Resulting Numbers: [51, 22]
Generated Node #0,0,0: 29:[51, 22] Operation: 4+18=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[51, 22], Operations: ['89-38=51', '4+18=22']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[4, 18, 89, 38], Operations: []
Exploring Operation: 89-38=51, Resulting Numbers: [4, 18, 51]
Generated Node #0,0: 29:[4, 18, 51] Operation: 89-38=51
Moving to Node #0,0
Current State: 29:[4, 18, 51], Operations: ['89-38=51']
Exploring Operation: 4+18=22, Resulting Numbers: [51, 22]
Generated Node #0,0,0: 29:[51, 22] Operation: 4+18=22
Moving to Node #0,0,0
Current State: 29:[51, 22], Operations: ['89-38=51', '4+18=22']
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
36,
90,
7,
56
] | 46 | [
"90-36=54",
"56/7=8",
"54-8=46"
] | Current State: 46:[36, 90, 7, 56], Operations: []
Exploring Operation: 90-36=54, Resulting Numbers: [7, 56, 54]
Generated Node #2: [7, 56, 54] from Operation: 90-36=54
Current State: 46:[7, 56, 54], Operations: ['90-36=54']
Exploring Operation: 56/7=8, Resulting Numbers: [54, 8]
Generated Node #3: [54, 8] from Operation: 56/7=8
Current State: 46:[54, 8], Operations: ['90-36=54', '56/7=8']
Exploring Operation: 54-8=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[36, 90, 7, 56], Operations: []
Exploring Operation: 90-56=34, Resulting Numbers: [36, 7, 34]
Generated Node #0,0: 46:[36, 7, 34] Operation: 90-56=34
Exploring Operation: 56-36=20, Resulting Numbers: [90, 7, 20]
Generated Node #0,1: 46:[90, 7, 20] Operation: 56-36=20
Exploring Operation: 90-36=54, Resulting Numbers: [7, 56, 54]
Generated Node #0,2: 46:[7, 56, 54] Operation: 90-36=54
Moving to Node #0,2
Current State: 46:[7, 56, 54], Operations: ['90-36=54']
Exploring Operation: 54-7=47, Resulting Numbers: [56, 47]
Generated Node #0,2,0: 46:[56, 47] Operation: 54-7=47
Exploring Operation: 56-7=49, Resulting Numbers: [54, 49]
Generated Node #0,2,1: 46:[54, 49] Operation: 56-7=49
Exploring Operation: 56-54=2, Resulting Numbers: [7, 2]
Generated Node #0,2,2: 46:[7, 2] Operation: 56-54=2
Moving to Node #0,0
Current State: 46:[36, 7, 34], Operations: ['90-56=34']
Exploring Operation: 36+7=43, Resulting Numbers: [34, 43]
Generated Node #0,0,0: 46:[34, 43] Operation: 36+7=43
Exploring Operation: 34-7=27, Resulting Numbers: [36, 27]
Generated Node #0,0,1: 46:[36, 27] Operation: 34-7=27
Exploring Operation: 36-34=2, Resulting Numbers: [7, 2]
Generated Node #0,0,2: 46:[7, 2] Operation: 36-34=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[7, 2], Operations: ['90-56=34', '36-34=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[34, 43], Operations: ['90-56=34', '36+7=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,46 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[36, 27], Operations: ['90-56=34', '34-7=27']
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,46 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,46 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: 46:[90, 7, 20], Operations: ['56-36=20']
Exploring Operation: 7+20=27, Resulting Numbers: [90, 27]
Generated Node #0,1,0: 46:[90, 27] Operation: 7+20=27
Exploring Operation: 90-20=70, Resulting Numbers: [7, 70]
Generated Node #0,1,1: 46:[7, 70] Operation: 90-20=70
Exploring Operation: 90-7=83, Resulting Numbers: [20, 83]
Generated Node #0,1,2: 46:[20, 83] Operation: 90-7=83
Moving to Node #0,2,2
Current State: 46:[7, 2], Operations: ['90-36=54', '56-54=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[54, 49], Operations: ['90-36=54', '56-7=49']
Exploring Operation: 54+49=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Exploring Operation: 54*49=2646, Resulting Numbers: [2646]
2646,46 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[56, 47], Operations: ['90-36=54', '54-7=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,46 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[7, 70], Operations: ['56-36=20', '90-20=70']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,46 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[20, 83], Operations: ['56-36=20', '90-7=83']
Exploring Operation: 20+83=103, Resulting Numbers: [103]
103,46 unequal: No Solution
Exploring Operation: 20*83=1660, Resulting Numbers: [1660]
1660,46 unequal: No Solution
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[90, 27], Operations: ['56-36=20', '7+20=27']
Exploring Operation: 90+27=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 90*27=2430, Resulting Numbers: [2430]
2430,46 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
74,
22,
96,
78
] | 78 | [
"74+22=96",
"96+78=174",
"174-96=78"
] | Current State: 78:[74, 22, 96, 78], Operations: []
Exploring Operation: 74+22=96, Resulting Numbers: [96, 78, 96]
Generated Node #2: [96, 78, 96] from Operation: 74+22=96
Current State: 78:[96, 78, 96], Operations: ['74+22=96']
Exploring Operation: 96+78=174, Resulting Numbers: [174]
174,78 equal: Goal Reached
Exploring Operation: 174-96=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[74, 22, 96, 78], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [22, 78, 22]
Generated Node #0,0: 78:[22, 78, 22] Operation: 96-74=22
Exploring Operation: 96-78=18, Resulting Numbers: [74, 22, 18]
Generated Node #0,1: 78:[74, 22, 18] Operation: 96-78=18
Exploring Operation: 78-74=4, Resulting Numbers: [22, 96, 4]
Generated Node #0,2: 78:[22, 96, 4] Operation: 78-74=4
Exploring Operation: 74-22=52, Resulting Numbers: [96, 78, 52]
Generated Node #0,3: 78:[96, 78, 52] Operation: 74-22=52
Exploring Operation: 96-22=74, Resulting Numbers: [74, 78, 74]
Generated Node #0,4: 78:[74, 78, 74] Operation: 96-22=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[22, 78, 22], Operations: ['96-74=22']
Exploring Operation: 78-22=56, Resulting Numbers: [22, 56]
Generated Node #0,0,0: 78:[22, 56] Operation: 78-22=56
Exploring Operation: 78-22=56, Resulting Numbers: [22, 56]
Generated Node #0,0,1: 78:[22, 56] Operation: 78-22=56
Exploring Operation: 22/22=1, Resulting Numbers: [78, 1]
Generated Node #0,0,2: 78:[78, 1] Operation: 22/22=1
Exploring Operation: 22-22=0, Resulting Numbers: [78, 0]
Generated Node #0,0,3: 78:[78, 0] Operation: 22-22=0
Exploring Operation: 22+22=44, Resulting Numbers: [78, 44]
Generated Node #0,0,4: 78:[78, 44] Operation: 22+22=44
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[78, 1], Operations: ['96-74=22', '22/22=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[74, 22, 96, 78], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [22, 78, 22]
Generated Node #0,0: 78:[22, 78, 22] Operation: 96-74=22
Moving to Node #0,0
Current State: 78:[22, 78, 22], Operations: ['96-74=22']
Exploring Operation: 22/22=1, Resulting Numbers: [78, 1]
Generated Node #0,0,2: 78:[78, 1] Operation: 22/22=1
Moving to Node #0,0,2
Current State: 78:[78, 1], Operations: ['96-74=22', '22/22=1']
Exploring Operation: 78*1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
27,
77,
7,
6
] | 91 | [
"27+77=104",
"7+6=13",
"104-13=91"
] | Current State: 91:[27, 77, 7, 6], Operations: []
Exploring Operation: 27+77=104, Resulting Numbers: [7, 6, 104]
Generated Node #2: [7, 6, 104] from Operation: 27+77=104
Current State: 91:[7, 6, 104], Operations: ['27+77=104']
Exploring Operation: 7+6=13, Resulting Numbers: [104, 13]
Generated Node #3: [104, 13] from Operation: 7+6=13
Current State: 91:[104, 13], Operations: ['27+77=104', '7+6=13']
Exploring Operation: 104-13=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[27, 77, 7, 6], Operations: []
Exploring Operation: 77/7=11, Resulting Numbers: [27, 6, 11]
Generated Node #0,0: 91:[27, 6, 11] Operation: 77/7=11
Exploring Operation: 27+77=104, Resulting Numbers: [7, 6, 104]
Generated Node #0,1: 91:[7, 6, 104] Operation: 27+77=104
Exploring Operation: 27-7=20, Resulting Numbers: [77, 6, 20]
Generated Node #0,2: 91:[77, 6, 20] Operation: 27-7=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[7, 6, 104], Operations: ['27+77=104']
Exploring Operation: 104-6=98, Resulting Numbers: [7, 98]
Generated Node #0,1,0: 91:[7, 98] Operation: 104-6=98
Exploring Operation: 7+6=13, Resulting Numbers: [104, 13]
Generated Node #0,1,1: 91:[104, 13] Operation: 7+6=13
Exploring Operation: 104-7=97, Resulting Numbers: [6, 97]
Generated Node #0,1,2: 91:[6, 97] Operation: 104-7=97
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[7, 98], Operations: ['27+77=104', '104-6=98']
Exploring Operation: 7+98=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 98/7=14, Resulting Numbers: [14]
14,91 unequal: No Solution
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[27, 77, 7, 6], Operations: []
Exploring Operation: 27+77=104, Resulting Numbers: [7, 6, 104]
Generated Node #0,1: 91:[7, 6, 104] Operation: 27+77=104
Moving to Node #0,1
Current State: 91:[7, 6, 104], Operations: ['27+77=104']
Exploring Operation: 104-6=98, Resulting Numbers: [7, 98]
Generated Node #0,1,0: 91:[7, 98] Operation: 104-6=98
Moving to Node #0,1,0
Current State: 91:[7, 98], Operations: ['27+77=104', '104-6=98']
Exploring Operation: 98-7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
29,
22,
4,
21
] | 38 | [
"29+21=50",
"22*4=88",
"88-50=38"
] | Current State: 38:[29, 22, 4, 21], Operations: []
Exploring Operation: 29+21=50, Resulting Numbers: [22, 4, 50]
Generated Node #2: [22, 4, 50] from Operation: 29+21=50
Current State: 38:[22, 4, 50], Operations: ['29+21=50']
Exploring Operation: 22*4=88, Resulting Numbers: [50, 88]
Generated Node #3: [50, 88] from Operation: 22*4=88
Current State: 38:[50, 88], Operations: ['29+21=50', '22*4=88']
Exploring Operation: 88-50=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[29, 22, 4, 21], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [4, 21, 7]
Generated Node #0,0: 38:[4, 21, 7] Operation: 29-22=7
Exploring Operation: 29+4=33, Resulting Numbers: [22, 21, 33]
Generated Node #0,1: 38:[22, 21, 33] Operation: 29+4=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[4, 21, 7], Operations: ['29-22=7']
Exploring Operation: 21/7=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 38:[4, 3] Operation: 21/7=3
Exploring Operation: 7-4=3, Resulting Numbers: [21, 3]
Generated Node #0,0,1: 38:[21, 3] Operation: 7-4=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[4, 3], Operations: ['29-22=7', '21/7=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,38 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[21, 3], Operations: ['29-22=7', '7-4=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[22, 21, 33], Operations: ['29+4=33']
Exploring Operation: 22+21=43, Resulting Numbers: [33, 43]
Generated Node #0,1,0: 38:[33, 43] Operation: 22+21=43
Exploring Operation: 22-21=1, Resulting Numbers: [33, 1]
Generated Node #0,1,1: 38:[33, 1] Operation: 22-21=1
Moving to Node #0,1,1
Current State: 38:[33, 1], Operations: ['29+4=33', '22-21=1']
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[33, 43], Operations: ['29+4=33', '22+21=43']
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,38 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
36,
6,
77,
17
] | 66 | [
"36/6=6",
"77-17=60",
"6+60=66"
] | Current State: 66:[36, 6, 77, 17], Operations: []
Exploring Operation: 36/6=6, Resulting Numbers: [77, 17, 6]
Generated Node #2: [77, 17, 6] from Operation: 36/6=6
Current State: 66:[77, 17, 6], Operations: ['36/6=6']
Exploring Operation: 77-17=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 77-17=60
Current State: 66:[6, 60], Operations: ['36/6=6', '77-17=60']
Exploring Operation: 6+60=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[36, 6, 77, 17], Operations: []
Exploring Operation: 77-6=71, Resulting Numbers: [36, 17, 71]
Generated Node #0,0: 66:[36, 17, 71] Operation: 77-6=71
Exploring Operation: 77-17=60, Resulting Numbers: [36, 6, 60]
Generated Node #0,1: 66:[36, 6, 60] Operation: 77-17=60
Exploring Operation: 36-17=19, Resulting Numbers: [6, 77, 19]
Generated Node #0,2: 66:[6, 77, 19] Operation: 36-17=19
Exploring Operation: 77-36=41, Resulting Numbers: [6, 17, 41]
Generated Node #0,3: 66:[6, 17, 41] Operation: 77-36=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[36, 6, 60], Operations: ['77-17=60']
Exploring Operation: 6+60=66, Resulting Numbers: [36, 66]
Generated Node #0,1,0: 66:[36, 66] Operation: 6+60=66
Exploring Operation: 60-36=24, Resulting Numbers: [6, 24]
Generated Node #0,1,1: 66:[6, 24] Operation: 60-36=24
Exploring Operation: 60/6=10, Resulting Numbers: [36, 10]
Generated Node #0,1,2: 66:[36, 10] Operation: 60/6=10
Exploring Operation: 36/6=6, Resulting Numbers: [60, 6]
Generated Node #0,1,3: 66:[60, 6] Operation: 36/6=6
Moving to Node #0,1,1
Current State: 66:[6, 24], Operations: ['77-17=60', '60-36=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[36, 66], Operations: ['77-17=60', '6+60=66']
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,66 unequal: No Solution
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,66 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[36, 10], Operations: ['77-17=60', '60/6=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,66 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[60, 6], Operations: ['77-17=60', '36/6=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[36, 6, 77, 17], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [36, 6, 60]
Generated Node #0,1: 66:[36, 6, 60] Operation: 77-17=60
Moving to Node #0,1
Current State: 66:[36, 6, 60], Operations: ['77-17=60']
Exploring Operation: 36/6=6, Resulting Numbers: [60, 6]
Generated Node #0,1,3: 66:[60, 6] Operation: 36/6=6
Moving to Node #0,1,3
Current State: 66:[60, 6], Operations: ['77-17=60', '36/6=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | sum_heuristic |
[
14,
77,
79,
93
] | 100 | [
"79-77=2",
"14/2=7",
"93+7=100"
] | Current State: 100:[14, 77, 79, 93], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [14, 93, 2]
Generated Node #2: [14, 93, 2] from Operation: 79-77=2
Current State: 100:[14, 93, 2], Operations: ['79-77=2']
Exploring Operation: 14/2=7, Resulting Numbers: [93, 7]
Generated Node #3: [93, 7] from Operation: 14/2=7
Current State: 100:[93, 7], Operations: ['79-77=2', '14/2=7']
Exploring Operation: 93+7=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[14, 77, 79, 93], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [14, 93, 2]
Generated Node #0,0: 100:[14, 93, 2] Operation: 79-77=2
Exploring Operation: 93-77=16, Resulting Numbers: [14, 79, 16]
Generated Node #0,1: 100:[14, 79, 16] Operation: 93-77=16
Moving to Node #0,0
Current State: 100:[14, 93, 2], Operations: ['79-77=2']
Exploring Operation: 14+93=107, Resulting Numbers: [2, 107]
Generated Node #0,0,0: 100:[2, 107] Operation: 14+93=107
Exploring Operation: 14-2=12, Resulting Numbers: [93, 12]
Generated Node #0,0,1: 100:[93, 12] Operation: 14-2=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[2, 107], Operations: ['79-77=2', '14+93=107']
Exploring Operation: 2+107=109, Resulting Numbers: [109]
109,100 unequal: No Solution
Exploring Operation: 107-2=105, Resulting Numbers: [105]
105,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,1
Current State: 100:[93, 12], Operations: ['79-77=2', '14-2=12']
Exploring Operation: 93+12=105, Resulting Numbers: [105]
105,100 unequal: No Solution
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,100 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: 100:[14, 79, 16], Operations: ['93-77=16']
Exploring Operation: 14+79=93, Resulting Numbers: [16, 93]
Generated Node #0,1,0: 100:[16, 93] Operation: 14+79=93
Exploring Operation: 79+16=95, Resulting Numbers: [14, 95]
Generated Node #0,1,1: 100:[14, 95] Operation: 79+16=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[14, 95], Operations: ['93-77=16', '79+16=95']
Exploring Operation: 14+95=109, Resulting Numbers: [109]
109,100 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,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,1,0
Current State: 100:[16, 93], Operations: ['93-77=16', '14+79=93']
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,100 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,100 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 |
[
37,
43,
54,
23
] | 85 | [
"37*54=1998",
"1998-43=1955",
"1955/23=85"
] | Current State: 85:[37, 43, 54, 23], Operations: []
Exploring Operation: 37*54=1998, Resulting Numbers: [43, 23, 1998]
Generated Node #2: [43, 23, 1998] from Operation: 37*54=1998
Current State: 85:[43, 23, 1998], Operations: ['37*54=1998']
Exploring Operation: 1998-43=1955, Resulting Numbers: [23, 1955]
Generated Node #3: [23, 1955] from Operation: 1998-43=1955
Current State: 85:[23, 1955], Operations: ['37*54=1998', '1998-43=1955']
Exploring Operation: 1955/23=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[37, 43, 54, 23], Operations: []
Exploring Operation: 43+54=97, Resulting Numbers: [37, 23, 97]
Generated Node #0,0: 85:[37, 23, 97] Operation: 43+54=97
Exploring Operation: 54-43=11, Resulting Numbers: [37, 23, 11]
Generated Node #0,1: 85:[37, 23, 11] Operation: 54-43=11
Exploring Operation: 37+54=91, Resulting Numbers: [43, 23, 91]
Generated Node #0,2: 85:[43, 23, 91] Operation: 37+54=91
Exploring Operation: 54-37=17, Resulting Numbers: [43, 23, 17]
Generated Node #0,3: 85:[43, 23, 17] Operation: 54-37=17
Exploring Operation: 43-37=6, Resulting Numbers: [54, 23, 6]
Generated Node #0,4: 85:[54, 23, 6] Operation: 43-37=6
Moving to Node #0,1
Current State: 85:[37, 23, 11], Operations: ['54-43=11']
Exploring Operation: 37-11=26, Resulting Numbers: [23, 26]
Generated Node #0,1,0: 85:[23, 26] Operation: 37-11=26
Exploring Operation: 37-23=14, Resulting Numbers: [11, 14]
Generated Node #0,1,1: 85:[11, 14] Operation: 37-23=14
Exploring Operation: 37+23=60, Resulting Numbers: [11, 60]
Generated Node #0,1,2: 85:[11, 60] Operation: 37+23=60
Exploring Operation: 23-11=12, Resulting Numbers: [37, 12]
Generated Node #0,1,3: 85:[37, 12] Operation: 23-11=12
Exploring Operation: 37+11=48, Resulting Numbers: [23, 48]
Generated Node #0,1,4: 85:[23, 48] Operation: 37+11=48
Moving to Node #0,3
Current State: 85:[43, 23, 17], Operations: ['54-37=17']
Exploring Operation: 43-23=20, Resulting Numbers: [17, 20]
Generated Node #0,3,0: 85:[17, 20] Operation: 43-23=20
Exploring Operation: 43-17=26, Resulting Numbers: [23, 26]
Generated Node #0,3,1: 85:[23, 26] Operation: 43-17=26
Exploring Operation: 23-17=6, Resulting Numbers: [43, 6]
Generated Node #0,3,2: 85:[43, 6] Operation: 23-17=6
Exploring Operation: 43+17=60, Resulting Numbers: [23, 60]
Generated Node #0,3,3: 85:[23, 60] Operation: 43+17=60
Exploring Operation: 43+23=66, Resulting Numbers: [17, 66]
Generated Node #0,3,4: 85:[17, 66] Operation: 43+23=66
Moving to Node #0,0
Current State: 85:[37, 23, 97], Operations: ['43+54=97']
Exploring Operation: 37+97=134, Resulting Numbers: [23, 134]
Generated Node #0,0,0: 85:[23, 134] Operation: 37+97=134
Exploring Operation: 97-37=60, Resulting Numbers: [23, 60]
Generated Node #0,0,1: 85:[23, 60] Operation: 97-37=60
Exploring Operation: 37+23=60, Resulting Numbers: [97, 60]
Generated Node #0,0,2: 85:[97, 60] Operation: 37+23=60
Exploring Operation: 97-23=74, Resulting Numbers: [37, 74]
Generated Node #0,0,3: 85:[37, 74] Operation: 97-23=74
Exploring Operation: 37-23=14, Resulting Numbers: [97, 14]
Generated Node #0,0,4: 85:[97, 14] Operation: 37-23=14
Moving to Node #0,2
Current State: 85:[43, 23, 91], Operations: ['37+54=91']
Exploring Operation: 91-23=68, Resulting Numbers: [43, 68]
Generated Node #0,2,0: 85:[43, 68] Operation: 91-23=68
Exploring Operation: 91-43=48, Resulting Numbers: [23, 48]
Generated Node #0,2,1: 85:[23, 48] Operation: 91-43=48
Exploring Operation: 43-23=20, Resulting Numbers: [91, 20]
Generated Node #0,2,2: 85:[91, 20] Operation: 43-23=20
Exploring Operation: 43+23=66, Resulting Numbers: [91, 66]
Generated Node #0,2,3: 85:[91, 66] Operation: 43+23=66
Exploring Operation: 43+91=134, Resulting Numbers: [23, 134]
Generated Node #0,2,4: 85:[23, 134] Operation: 43+91=134
Moving to Node #0,4
Current State: 85:[54, 23, 6], Operations: ['43-37=6']
Exploring Operation: 54+6=60, Resulting Numbers: [23, 60]
Generated Node #0,4,0: 85:[23, 60] Operation: 54+6=60
Exploring Operation: 54+23=77, Resulting Numbers: [6, 77]
Generated Node #0,4,1: 85:[6, 77] Operation: 54+23=77
Exploring Operation: 23-6=17, Resulting Numbers: [54, 17]
Generated Node #0,4,2: 85:[54, 17] Operation: 23-6=17
Exploring Operation: 54/6=9, Resulting Numbers: [23, 9]
Generated Node #0,4,3: 85:[23, 9] Operation: 54/6=9
Exploring Operation: 54-23=31, Resulting Numbers: [6, 31]
Generated Node #0,4,4: 85:[6, 31] Operation: 54-23=31
Moving to Node #0,3,0
Current State: 85:[17, 20], Operations: ['54-37=17', '43-23=20']
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,85 unequal: No Solution
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[11, 14], Operations: ['54-43=11', '37-23=14']
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[91, 20], Operations: ['37+54=91', '43-23=20']
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,85 unequal: No Solution
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Moving to Node #0,4,1
Current State: 85:[6, 77], Operations: ['43-37=6', '54+23=77']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 6*77=462, Resulting Numbers: [462]
462,85 unequal: No Solution
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Moving to Node #0,4,3
Current State: 85:[23, 9], Operations: ['43-37=6', '54/6=9']
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,85 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[23, 26], Operations: ['54-37=17', '43-17=26']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,85 unequal: No Solution
Moving to Node #0,4,4
Current State: 85:[6, 31], Operations: ['43-37=6', '54-23=31']
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,85 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,0,4
Current State: 85:[97, 14], Operations: ['43+54=97', '37-23=14']
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,85 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[23, 26], Operations: ['54-43=11', '37-11=26']
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[17, 66], Operations: ['54-37=17', '43+23=66']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[37, 12], Operations: ['54-43=11', '23-11=12']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,85 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[91, 66], Operations: ['37+54=91', '43+23=66']
Exploring Operation: 91*66=6006, Resulting Numbers: [6006]
6006,85 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 91+66=157, Resulting Numbers: [157]
157,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[43, 6], Operations: ['54-37=17', '23-17=6']
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,85 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[54, 17], Operations: ['43-37=6', '23-6=17']
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,85 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[37, 74], Operations: ['43+54=97', '97-23=74']
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 37*74=2738, Resulting Numbers: [2738]
2738,85 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,85 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[23, 60], Operations: ['43+54=97', '97-37=60']
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,85 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[23, 60], Operations: ['54-37=17', '43+17=60']
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,85 unequal: No Solution
Moving to Node #0,4,0
Current State: 85:[23, 60], Operations: ['43-37=6', '54+6=60']
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[11, 60], Operations: ['54-43=11', '37+23=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,85 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[97, 60], Operations: ['43+54=97', '37+23=60']
Exploring Operation: 97+60=157, Resulting Numbers: [157]
157,85 unequal: No Solution
Exploring Operation: 97*60=5820, Resulting Numbers: [5820]
5820,85 unequal: No Solution
Exploring Operation: 97-60=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[23, 48], Operations: ['54-43=11', '37+11=48']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,85 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[23, 48], Operations: ['37+54=91', '91-43=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,85 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[43, 68], Operations: ['37+54=91', '91-23=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 43*68=2924, Resulting Numbers: [2924]
2924,85 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[23, 134], Operations: ['43+54=97', '37+97=134']
Exploring Operation: 134-23=111, Resulting Numbers: [111]
111,85 unequal: No Solution
Exploring Operation: 23+134=157, Resulting Numbers: [157]
157,85 unequal: No Solution
Exploring Operation: 23*134=3082, Resulting Numbers: [3082]
3082,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[23, 134], Operations: ['37+54=91', '43+91=134']
Exploring Operation: 23+134=157, Resulting Numbers: [157]
157,85 unequal: No Solution
Exploring Operation: 23*134=3082, Resulting Numbers: [3082]
3082,85 unequal: No Solution
Exploring Operation: 134-23=111, Resulting Numbers: [111]
111,85 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
5,
3,
34,
45
] | 96 | [
"5+34=39",
"3*45=135",
"135-39=96"
] | Current State: 96:[5, 3, 34, 45], Operations: []
Exploring Operation: 5+34=39, Resulting Numbers: [3, 45, 39]
Generated Node #2: [3, 45, 39] from Operation: 5+34=39
Current State: 96:[3, 45, 39], Operations: ['5+34=39']
Exploring Operation: 3*45=135, Resulting Numbers: [39, 135]
Generated Node #3: [39, 135] from Operation: 3*45=135
Current State: 96:[39, 135], Operations: ['5+34=39', '3*45=135']
Exploring Operation: 135-39=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[5, 3, 34, 45], Operations: []
Exploring Operation: 5+45=50, Resulting Numbers: [3, 34, 50]
Generated Node #0,0: 96:[3, 34, 50] Operation: 5+45=50
Exploring Operation: 45/5=9, Resulting Numbers: [3, 34, 9]
Generated Node #0,1: 96:[3, 34, 9] Operation: 45/5=9
Exploring Operation: 45-34=11, Resulting Numbers: [5, 3, 11]
Generated Node #0,2: 96:[5, 3, 11] Operation: 45-34=11
Exploring Operation: 45/3=15, Resulting Numbers: [5, 34, 15]
Generated Node #0,3: 96:[5, 34, 15] Operation: 45/3=15
Exploring Operation: 3+45=48, Resulting Numbers: [5, 34, 48]
Generated Node #0,4: 96:[5, 34, 48] Operation: 3+45=48
Moving to Node #0,2
Current State: 96:[5, 3, 11], Operations: ['45-34=11']
Exploring Operation: 5+3=8, Resulting Numbers: [11, 8]
Generated Node #0,2,0: 96:[11, 8] Operation: 5+3=8
Exploring Operation: 5+11=16, Resulting Numbers: [3, 16]
Generated Node #0,2,1: 96:[3, 16] Operation: 5+11=16
Exploring Operation: 11-3=8, Resulting Numbers: [5, 8]
Generated Node #0,2,2: 96:[5, 8] Operation: 11-3=8
Exploring Operation: 5-3=2, Resulting Numbers: [11, 2]
Generated Node #0,2,3: 96:[11, 2] Operation: 5-3=2
Exploring Operation: 11-5=6, Resulting Numbers: [3, 6]
Generated Node #0,2,4: 96:[3, 6] Operation: 11-5=6
Moving to Node #0,4
Current State: 96:[5, 34, 48], Operations: ['3+45=48']
Exploring Operation: 5+34=39, Resulting Numbers: [48, 39]
Generated Node #0,4,0: 96:[48, 39] Operation: 5+34=39
Exploring Operation: 5+48=53, Resulting Numbers: [34, 53]
Generated Node #0,4,1: 96:[34, 53] Operation: 5+48=53
Exploring Operation: 34-5=29, Resulting Numbers: [48, 29]
Generated Node #0,4,2: 96:[48, 29] Operation: 34-5=29
Exploring Operation: 48-5=43, Resulting Numbers: [34, 43]
Generated Node #0,4,3: 96:[34, 43] Operation: 48-5=43
Exploring Operation: 48-34=14, Resulting Numbers: [5, 14]
Generated Node #0,4,4: 96:[5, 14] Operation: 48-34=14
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 96:[48, 29], Operations: ['3+45=48', '34-5=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 48*29=1392, Resulting Numbers: [1392]
1392,96 unequal: No Solution
No 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: 96:[5, 14], Operations: ['3+45=48', '48-34=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,96 unequal: No Solution
No 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: 96:[48, 39], Operations: ['3+45=48', '5+34=39']
Exploring Operation: 48*39=1872, Resulting Numbers: [1872]
1872,96 unequal: No Solution
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,96 unequal: No Solution
No 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: 96:[34, 53], Operations: ['3+45=48', '5+48=53']
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,96 unequal: No Solution
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,96 unequal: No Solution
No 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: 96:[34, 43], Operations: ['3+45=48', '48-5=43']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,96 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,96 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: 96:[3, 34, 9], Operations: ['45/5=9']
Exploring Operation: 34-9=25, Resulting Numbers: [3, 25]
Generated Node #0,1,0: 96:[3, 25] Operation: 34-9=25
Exploring Operation: 3+9=12, Resulting Numbers: [34, 12]
Generated Node #0,1,1: 96:[34, 12] Operation: 3+9=12
Exploring Operation: 9/3=3, Resulting Numbers: [34, 3]
Generated Node #0,1,2: 96:[34, 3] Operation: 9/3=3
Exploring Operation: 9-3=6, Resulting Numbers: [34, 6]
Generated Node #0,1,3: 96:[34, 6] Operation: 9-3=6
Exploring Operation: 34-3=31, Resulting Numbers: [9, 31]
Generated Node #0,1,4: 96:[9, 31] Operation: 34-3=31
Moving to Node #0,0
Current State: 96:[3, 34, 50], Operations: ['5+45=50']
Exploring Operation: 3+34=37, Resulting Numbers: [50, 37]
Generated Node #0,0,0: 96:[50, 37] Operation: 3+34=37
Exploring Operation: 50-3=47, Resulting Numbers: [34, 47]
Generated Node #0,0,1: 96:[34, 47] Operation: 50-3=47
Exploring Operation: 34-3=31, Resulting Numbers: [50, 31]
Generated Node #0,0,2: 96:[50, 31] Operation: 34-3=31
Exploring Operation: 3+50=53, Resulting Numbers: [34, 53]
Generated Node #0,0,3: 96:[34, 53] Operation: 3+50=53
Exploring Operation: 50-34=16, Resulting Numbers: [3, 16]
Generated Node #0,0,4: 96:[3, 16] Operation: 50-34=16
Moving to Node #0,3
Current State: 96:[5, 34, 15], Operations: ['45/3=15']
Exploring Operation: 34-15=19, Resulting Numbers: [5, 19]
Generated Node #0,3,0: 96:[5, 19] Operation: 34-15=19
Exploring Operation: 15-5=10, Resulting Numbers: [34, 10]
Generated Node #0,3,1: 96:[34, 10] Operation: 15-5=10
Exploring Operation: 34+15=49, Resulting Numbers: [5, 49]
Generated Node #0,3,2: 96:[5, 49] Operation: 34+15=49
Exploring Operation: 15/5=3, Resulting Numbers: [34, 3]
Generated Node #0,3,3: 96:[34, 3] Operation: 15/5=3
Exploring Operation: 34-5=29, Resulting Numbers: [15, 29]
Generated Node #0,3,4: 96:[15, 29] Operation: 34-5=29
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 96:[5, 49], Operations: ['45/3=15', '34+15=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,96 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,96 unequal: No Solution
No 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: 96:[34, 3], Operations: ['45/3=15', '15/5=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,96 unequal: No Solution
No 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: 96:[5, 19], Operations: ['45/3=15', '34-15=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,96 unequal: No Solution
No 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: 96:[34, 10], Operations: ['45/3=15', '15-5=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,96 unequal: No Solution
No 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: 96:[15, 29], Operations: ['45/3=15', '34-5=29']
Exploring Operation: 15*29=435, Resulting Numbers: [435]
435,96 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 15+29=44, Resulting Numbers: [44]
44,96 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: 96:[3, 16], Operations: ['45-34=11', '5+11=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[3, 6], Operations: ['45-34=11', '11-5=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[3, 16], Operations: ['5+45=50', '50-34=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[11, 8], Operations: ['45-34=11', '5+3=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[3, 25], Operations: ['45/5=9', '34-9=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,96 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[11, 2], Operations: ['45-34=11', '5-3=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[5, 8], Operations: ['45-34=11', '11-3=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[34, 12], Operations: ['45/5=9', '3+9=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,96 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Moving to Node #0,1,4
Current State: 96:[9, 31], Operations: ['45/5=9', '34-3=31']
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,96 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[34, 6], Operations: ['45/5=9', '9-3=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[34, 3], Operations: ['45/5=9', '9/3=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,96 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[50, 31], Operations: ['5+45=50', '34-3=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,96 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,96 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[34, 47], Operations: ['5+45=50', '50-3=47']
Exploring Operation: 34+47=81, Resulting Numbers: [81]
81,96 unequal: No Solution
Exploring Operation: 34*47=1598, Resulting Numbers: [1598]
1598,96 unequal: No Solution
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[34, 53], Operations: ['5+45=50', '3+50=53']
Exploring Operation: 34*53=1802, Resulting Numbers: [1802]
1802,96 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,96 unequal: No Solution
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[50, 37], Operations: ['5+45=50', '3+34=37']
Exploring Operation: 50-37=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 50+37=87, Resulting Numbers: [87]
87,96 unequal: No Solution
Exploring Operation: 50*37=1850, Resulting Numbers: [1850]
1850,96 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
54,
59,
50
] | 25 | [
"3+54=57",
"59-57=2",
"50/2=25"
] | Current State: 25:[3, 54, 59, 50], Operations: []
Exploring Operation: 3+54=57, Resulting Numbers: [59, 50, 57]
Generated Node #2: [59, 50, 57] from Operation: 3+54=57
Current State: 25:[59, 50, 57], Operations: ['3+54=57']
Exploring Operation: 59-57=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 59-57=2
Current State: 25:[50, 2], Operations: ['3+54=57', '59-57=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[3, 54, 59, 50], Operations: []
Exploring Operation: 54-50=4, Resulting Numbers: [3, 59, 4]
Generated Node #0,0: 25:[3, 59, 4] Operation: 54-50=4
Exploring Operation: 59-50=9, Resulting Numbers: [3, 54, 9]
Generated Node #0,1: 25:[3, 54, 9] Operation: 59-50=9
Exploring Operation: 59-54=5, Resulting Numbers: [3, 50, 5]
Generated Node #0,2: 25:[3, 50, 5] Operation: 59-54=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[3, 50, 5], Operations: ['59-54=5']
Exploring Operation: 50/5=10, Resulting Numbers: [3, 10]
Generated Node #0,2,0: 25:[3, 10] Operation: 50/5=10
Exploring Operation: 50-3=47, Resulting Numbers: [5, 47]
Generated Node #0,2,1: 25:[5, 47] Operation: 50-3=47
Exploring Operation: 50-5=45, Resulting Numbers: [3, 45]
Generated Node #0,2,2: 25:[3, 45] Operation: 50-5=45
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 25:[3, 10], Operations: ['59-54=5', '50/5=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,25 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 25:[5, 47], Operations: ['59-54=5', '50-3=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,25 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 25:[3, 45], Operations: ['59-54=5', '50-5=45']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[3, 54, 9], Operations: ['59-50=9']
Exploring Operation: 54/9=6, Resulting Numbers: [3, 6]
Generated Node #0,1,0: 25:[3, 6] Operation: 54/9=6
Exploring Operation: 54/3=18, Resulting Numbers: [9, 18]
Generated Node #0,1,1: 25:[9, 18] Operation: 54/3=18
Exploring Operation: 54-9=45, Resulting Numbers: [3, 45]
Generated Node #0,1,2: 25:[3, 45] Operation: 54-9=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 25:[3, 6], Operations: ['59-50=9', '54/9=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[9, 18], Operations: ['59-50=9', '54/3=18']
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 25:[3, 45], Operations: ['59-50=9', '54-9=45']
Exploring Operation: 3+45=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,25 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[3, 59, 4], Operations: ['54-50=4']
Exploring Operation: 59-3=56, Resulting Numbers: [4, 56]
Generated Node #0,0,0: 25:[4, 56] Operation: 59-3=56
Exploring Operation: 3+4=7, Resulting Numbers: [59, 7]
Generated Node #0,0,1: 25:[59, 7] Operation: 3+4=7
Exploring Operation: 59-4=55, Resulting Numbers: [3, 55]
Generated Node #0,0,2: 25:[3, 55] Operation: 59-4=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[4, 56], Operations: ['54-50=4', '59-3=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[3, 55], Operations: ['54-50=4', '59-4=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,25 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[59, 7], Operations: ['54-50=4', '3+4=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
32,
16,
62
] | 85 | [
"32/16=2",
"62/2=31",
"54+31=85"
] | Current State: 85:[54, 32, 16, 62], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [54, 62, 2]
Generated Node #2: [54, 62, 2] from Operation: 32/16=2
Current State: 85:[54, 62, 2], Operations: ['32/16=2']
Exploring Operation: 62/2=31, Resulting Numbers: [54, 31]
Generated Node #3: [54, 31] from Operation: 62/2=31
Current State: 85:[54, 31], Operations: ['32/16=2', '62/2=31']
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[54, 32, 16, 62], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [32, 16, 8]
Generated Node #0,0: 85:[32, 16, 8] Operation: 62-54=8
Exploring Operation: 54-32=22, Resulting Numbers: [16, 62, 22]
Generated Node #0,1: 85:[16, 62, 22] Operation: 54-32=22
Exploring Operation: 54+32=86, Resulting Numbers: [16, 62, 86]
Generated Node #0,2: 85:[16, 62, 86] Operation: 54+32=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[32, 16, 8], Operations: ['62-54=8']
Exploring Operation: 32/8=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 85:[16, 4] Operation: 32/8=4
Exploring Operation: 32-16=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 85:[8, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [8, 2]
Generated Node #0,0,2: 85:[8, 2] Operation: 32/16=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[16, 4], Operations: ['62-54=8', '32/8=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[8, 16], Operations: ['62-54=8', '32-16=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[8, 2], Operations: ['62-54=8', '32/16=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[16, 62, 86], Operations: ['54+32=86']
Exploring Operation: 86-62=24, Resulting Numbers: [16, 24]
Generated Node #0,2,0: 85:[16, 24] Operation: 86-62=24
Exploring Operation: 16+62=78, Resulting Numbers: [86, 78]
Generated Node #0,2,1: 85:[86, 78] Operation: 16+62=78
Exploring Operation: 62-16=46, Resulting Numbers: [86, 46]
Generated Node #0,2,2: 85:[86, 46] Operation: 62-16=46
Moving to Node #0,2,0
Current State: 85:[16, 24], Operations: ['54+32=86', '86-62=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,85 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[86, 78], Operations: ['54+32=86', '16+62=78']
Exploring Operation: 86*78=6708, Resulting Numbers: [6708]
6708,85 unequal: No Solution
Exploring Operation: 86-78=8, Resulting Numbers: [8]
8,85 unequal: No Solution
Exploring Operation: 86+78=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[86, 46], Operations: ['54+32=86', '62-16=46']
Exploring Operation: 86+46=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 86*46=3956, Resulting Numbers: [3956]
3956,85 unequal: No Solution
Exploring Operation: 86-46=40, Resulting Numbers: [40]
40,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[16, 62, 22], Operations: ['54-32=22']
Exploring Operation: 22-16=6, Resulting Numbers: [62, 6]
Generated Node #0,1,0: 85:[62, 6] Operation: 22-16=6
Exploring Operation: 16+62=78, Resulting Numbers: [22, 78]
Generated Node #0,1,1: 85:[22, 78] Operation: 16+62=78
Exploring Operation: 62+22=84, Resulting Numbers: [16, 84]
Generated Node #0,1,2: 85:[16, 84] Operation: 62+22=84
Moving to Node #0,1,2
Current State: 85:[16, 84], Operations: ['54-32=22', '62+22=84']
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 16+84=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 16*84=1344, Resulting Numbers: [1344]
1344,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[22, 78], Operations: ['54-32=22', '16+62=78']
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 78-22=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 22*78=1716, Resulting Numbers: [1716]
1716,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[62, 6], Operations: ['54-32=22', '22-16=6']
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,85 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,85 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
65,
52,
63,
44
] | 70 | [
"65-63=2",
"52/2=26",
"44+26=70"
] | Current State: 70:[65, 52, 63, 44], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [52, 44, 2]
Generated Node #2: [52, 44, 2] from Operation: 65-63=2
Current State: 70:[52, 44, 2], Operations: ['65-63=2']
Exploring Operation: 52/2=26, Resulting Numbers: [44, 26]
Generated Node #3: [44, 26] from Operation: 52/2=26
Current State: 70:[44, 26], Operations: ['65-63=2', '52/2=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[65, 52, 63, 44], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [65, 63, 8]
Generated Node #0,0: 70:[65, 63, 8] Operation: 52-44=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[65, 63, 8], Operations: ['52-44=8']
Exploring Operation: 65-63=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 70:[8, 2] Operation: 65-63=2
Moving to Node #0,0,0
Current State: 70:[8, 2], Operations: ['52-44=8', '65-63=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
20,
70,
46
] | 71 | [
"26+20=46",
"46/46=1",
"70+1=71"
] | Current State: 71:[26, 20, 70, 46], Operations: []
Exploring Operation: 26+20=46, Resulting Numbers: [70, 46, 46]
Generated Node #2: [70, 46, 46] from Operation: 26+20=46
Current State: 71:[70, 46, 46], Operations: ['26+20=46']
Exploring Operation: 46/46=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 46/46=1
Current State: 71:[70, 1], Operations: ['26+20=46', '46/46=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[26, 20, 70, 46], Operations: []
Exploring Operation: 26+20=46, Resulting Numbers: [70, 46, 46]
Generated Node #0,0: 71:[70, 46, 46] Operation: 26+20=46
Exploring Operation: 20+46=66, Resulting Numbers: [26, 70, 66]
Generated Node #0,1: 71:[26, 70, 66] Operation: 20+46=66
Exploring Operation: 26+46=72, Resulting Numbers: [20, 70, 72]
Generated Node #0,2: 71:[20, 70, 72] Operation: 26+46=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[70, 46, 46], Operations: ['26+20=46']
Exploring Operation: 46+46=92, Resulting Numbers: [70, 92]
Generated Node #0,0,0: 71:[70, 92] Operation: 46+46=92
Exploring Operation: 70+46=116, Resulting Numbers: [46, 116]
Generated Node #0,0,1: 71:[46, 116] Operation: 70+46=116
Exploring Operation: 70+46=116, Resulting Numbers: [46, 116]
Generated Node #0,0,2: 71:[46, 116] Operation: 70+46=116
Moving to Node #0,0,0
Current State: 71:[70, 92], Operations: ['26+20=46', '46+46=92']
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[46, 116], Operations: ['26+20=46', '70+46=116']
Exploring Operation: 46+116=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 116-46=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 46*116=5336, Resulting Numbers: [5336]
5336,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[46, 116], Operations: ['26+20=46', '70+46=116']
Exploring Operation: 116-46=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 46+116=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 46*116=5336, Resulting Numbers: [5336]
5336,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[26, 70, 66], Operations: ['20+46=66']
Exploring Operation: 26+70=96, Resulting Numbers: [66, 96]
Generated Node #0,1,0: 71:[66, 96] Operation: 26+70=96
Exploring Operation: 26+66=92, Resulting Numbers: [70, 92]
Generated Node #0,1,1: 71:[70, 92] Operation: 26+66=92
Exploring Operation: 70-26=44, Resulting Numbers: [66, 44]
Generated Node #0,1,2: 71:[66, 44] Operation: 70-26=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[70, 92], Operations: ['20+46=66', '26+66=92']
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,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,0
Current State: 71:[66, 96], Operations: ['20+46=66', '26+70=96']
Exploring Operation: 96-66=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 66+96=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 66*96=6336, Resulting Numbers: [6336]
6336,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:[66, 44], Operations: ['20+46=66', '70-26=44']
Exploring Operation: 66*44=2904, Resulting Numbers: [2904]
2904,71 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 66+44=110, Resulting Numbers: [110]
110,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,2
Current State: 71:[20, 70, 72], Operations: ['26+46=72']
Exploring Operation: 20+70=90, Resulting Numbers: [72, 90]
Generated Node #0,2,0: 71:[72, 90] Operation: 20+70=90
Exploring Operation: 70-20=50, Resulting Numbers: [72, 50]
Generated Node #0,2,1: 71:[72, 50] Operation: 70-20=50
Exploring Operation: 72-20=52, Resulting Numbers: [70, 52]
Generated Node #0,2,2: 71:[70, 52] Operation: 72-20=52
Moving to Node #0,2,0
Current State: 71:[72, 90], Operations: ['26+46=72', '20+70=90']
Exploring Operation: 72+90=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 72*90=6480, Resulting Numbers: [6480]
6480,71 unequal: No Solution
Exploring Operation: 90-72=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[70, 52], Operations: ['26+46=72', '72-20=52']
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,71 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[72, 50], Operations: ['26+46=72', '70-20=50']
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,71 unequal: No Solution
Exploring Operation: 72+50=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 72*50=3600, Resulting Numbers: [3600]
3600,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
61,
88,
93,
90
] | 29 | [
"90-88=2",
"61*2=122",
"122-93=29"
] | Current State: 29:[61, 88, 93, 90], Operations: []
Exploring Operation: 90-88=2, Resulting Numbers: [61, 93, 2]
Generated Node #2: [61, 93, 2] from Operation: 90-88=2
Current State: 29:[61, 93, 2], Operations: ['90-88=2']
Exploring Operation: 61*2=122, Resulting Numbers: [93, 122]
Generated Node #3: [93, 122] from Operation: 61*2=122
Current State: 29:[93, 122], Operations: ['90-88=2', '61*2=122']
Exploring Operation: 122-93=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[61, 88, 93, 90], Operations: []
Exploring Operation: 93-88=5, Resulting Numbers: [61, 90, 5]
Generated Node #0,0: 29:[61, 90, 5] Operation: 93-88=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[61, 90, 5], Operations: ['93-88=5']
Exploring Operation: 90-61=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 29:[5, 29] Operation: 90-61=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[5, 29], Operations: ['93-88=5', '90-61=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,29 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 |
[
83,
83,
83,
42
] | 43 | [
"83*42=3486",
"83+3486=3569",
"3569/83=43"
] | Current State: 43:[83, 83, 83, 42], Operations: []
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 equal: Goal Reached
Exploring Operation: 83+3486=3569, Resulting Numbers: [3569]
3569,43 equal: Goal Reached
Exploring Operation: 3569/83=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[83, 83, 83, 42], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [83, 42, 1]
Generated Node #0,0: 43:[83, 42, 1] Operation: 83/83=1
Exploring Operation: 83-42=41, Resulting Numbers: [83, 83, 41]
Generated Node #0,1: 43:[83, 83, 41] Operation: 83-42=41
Exploring Operation: 83-42=41, Resulting Numbers: [83, 83, 41]
Generated Node #0,2: 43:[83, 83, 41] Operation: 83-42=41
Exploring Operation: 83-42=41, Resulting Numbers: [83, 83, 41]
Generated Node #0,3: 43:[83, 83, 41] Operation: 83-42=41
Moving to Node #0,1
Current State: 43:[83, 83, 41], Operations: ['83-42=41']
Exploring Operation: 83-41=42, Resulting Numbers: [83, 42]
Generated Node #0,1,0: 43:[83, 42] Operation: 83-41=42
Exploring Operation: 83-41=42, Resulting Numbers: [83, 42]
Generated Node #0,1,1: 43:[83, 42] Operation: 83-41=42
Exploring Operation: 83/83=1, Resulting Numbers: [41, 1]
Generated Node #0,1,2: 43:[41, 1] Operation: 83/83=1
Exploring Operation: 83-83=0, Resulting Numbers: [41, 0]
Generated Node #0,1,3: 43:[41, 0] Operation: 83-83=0
Moving to Node #0,3
Current State: 43:[83, 83, 41], Operations: ['83-42=41']
Exploring Operation: 83-41=42, Resulting Numbers: [83, 42]
Generated Node #0,3,0: 43:[83, 42] Operation: 83-41=42
Exploring Operation: 83-41=42, Resulting Numbers: [83, 42]
Generated Node #0,3,1: 43:[83, 42] Operation: 83-41=42
Exploring Operation: 83/83=1, Resulting Numbers: [41, 1]
Generated Node #0,3,2: 43:[41, 1] Operation: 83/83=1
Exploring Operation: 83-83=0, Resulting Numbers: [41, 0]
Generated Node #0,3,3: 43:[41, 0] Operation: 83-83=0
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[83, 42], Operations: ['83-42=41', '83-41=42']
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[83, 42], Operations: ['83-42=41', '83-41=42']
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[41, 1], Operations: ['83-42=41', '83/83=1']
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[41, 0], Operations: ['83-42=41', '83-83=0']
Exploring Operation: 41*0=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,43 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: 43:[83, 83, 41], Operations: ['83-42=41']
Exploring Operation: 83-41=42, Resulting Numbers: [83, 42]
Generated Node #0,2,0: 43:[83, 42] Operation: 83-41=42
Exploring Operation: 83-83=0, Resulting Numbers: [41, 0]
Generated Node #0,2,1: 43:[41, 0] Operation: 83-83=0
Exploring Operation: 83-41=42, Resulting Numbers: [83, 42]
Generated Node #0,2,2: 43:[83, 42] Operation: 83-41=42
Exploring Operation: 83/83=1, Resulting Numbers: [41, 1]
Generated Node #0,2,3: 43:[41, 1] Operation: 83/83=1
Moving to Node #0,0
Current State: 43:[83, 42, 1], Operations: ['83/83=1']
Exploring Operation: 83-1=82, Resulting Numbers: [42, 82]
Generated Node #0,0,0: 43:[42, 82] Operation: 83-1=82
Exploring Operation: 83/1=83, Resulting Numbers: [42, 83]
Generated Node #0,0,1: 43:[42, 83] Operation: 83/1=83
Exploring Operation: 42+1=43, Resulting Numbers: [83, 43]
Generated Node #0,0,2: 43:[83, 43] Operation: 42+1=43
Exploring Operation: 83*1=83, Resulting Numbers: [42, 83]
Generated Node #0,0,3: 43:[42, 83] Operation: 83*1=83
Moving to Node #0,0,0
Current State: 43:[42, 82], Operations: ['83/83=1', '83-1=82']
Exploring Operation: 42+82=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 42*82=3444, Resulting Numbers: [3444]
3444,43 unequal: No Solution
Exploring Operation: 82-42=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[83, 43], Operations: ['83/83=1', '42+1=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[83, 42], Operations: ['83-42=41', '83-41=42']
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[42, 83], Operations: ['83/83=1', '83*1=83']
Exploring Operation: 42+83=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 42*83=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[83, 42], Operations: ['83-42=41', '83-41=42']
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[83, 42], Operations: ['83-42=41', '83-41=42']
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[42, 83], Operations: ['83/83=1', '83/1=83']
Exploring Operation: 42*83=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 42+83=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[83, 42], Operations: ['83-42=41', '83-41=42']
Exploring Operation: 83*42=3486, Resulting Numbers: [3486]
3486,43 unequal: No Solution
Exploring Operation: 83+42=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[41, 1], Operations: ['83-42=41', '83/83=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[41, 1], Operations: ['83-42=41', '83/83=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[41, 0], Operations: ['83-42=41', '83-83=0']
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41*0=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[41, 0], Operations: ['83-42=41', '83-83=0']
Exploring Operation: 41-0=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41+0=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 41*0=0, Resulting Numbers: [0]
0,43 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
65,
53,
27,
15
] | 64 | [
"65*27=1755",
"1755/15=117",
"117-53=64"
] | Current State: 64:[65, 53, 27, 15], Operations: []
Exploring Operation: 65*27=1755, Resulting Numbers: [53, 15, 1755]
Generated Node #2: [53, 15, 1755] from Operation: 65*27=1755
Current State: 64:[53, 15, 1755], Operations: ['65*27=1755']
Exploring Operation: 1755/15=117, Resulting Numbers: [53, 117]
Generated Node #3: [53, 117] from Operation: 1755/15=117
Current State: 64:[53, 117], Operations: ['65*27=1755', '1755/15=117']
Exploring Operation: 117-53=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[65, 53, 27, 15], Operations: []
Exploring Operation: 53-27=26, Resulting Numbers: [65, 15, 26]
Generated Node #0,0: 64:[65, 15, 26] Operation: 53-27=26
Exploring Operation: 27-15=12, Resulting Numbers: [65, 53, 12]
Generated Node #0,1: 64:[65, 53, 12] Operation: 27-15=12
Exploring Operation: 53+15=68, Resulting Numbers: [65, 27, 68]
Generated Node #0,2: 64:[65, 27, 68] Operation: 53+15=68
Exploring Operation: 53-15=38, Resulting Numbers: [65, 27, 38]
Generated Node #0,3: 64:[65, 27, 38] Operation: 53-15=38
Exploring Operation: 65-53=12, Resulting Numbers: [27, 15, 12]
Generated Node #0,4: 64:[27, 15, 12] Operation: 65-53=12
Moving to Node #0,0
Current State: 64:[65, 15, 26], Operations: ['53-27=26']
Exploring Operation: 26-15=11, Resulting Numbers: [65, 11]
Generated Node #0,0,0: 64:[65, 11] Operation: 26-15=11
Exploring Operation: 15+26=41, Resulting Numbers: [65, 41]
Generated Node #0,0,1: 64:[65, 41] Operation: 15+26=41
Exploring Operation: 65-26=39, Resulting Numbers: [15, 39]
Generated Node #0,0,2: 64:[15, 39] Operation: 65-26=39
Exploring Operation: 65-15=50, Resulting Numbers: [26, 50]
Generated Node #0,0,3: 64:[26, 50] Operation: 65-15=50
Exploring Operation: 65+15=80, Resulting Numbers: [26, 80]
Generated Node #0,0,4: 64:[26, 80] Operation: 65+15=80
Moving to Node #0,4
Current State: 64:[27, 15, 12], Operations: ['65-53=12']
Exploring Operation: 27+12=39, Resulting Numbers: [15, 39]
Generated Node #0,4,0: 64:[15, 39] Operation: 27+12=39
Exploring Operation: 27-15=12, Resulting Numbers: [12, 12]
Generated Node #0,4,1: 64:[12, 12] Operation: 27-15=12
Exploring Operation: 27-12=15, Resulting Numbers: [15, 15]
Generated Node #0,4,2: 64:[15, 15] Operation: 27-12=15
Exploring Operation: 15+12=27, Resulting Numbers: [27, 27]
Generated Node #0,4,3: 64:[27, 27] Operation: 15+12=27
Exploring Operation: 15-12=3, Resulting Numbers: [27, 3]
Generated Node #0,4,4: 64:[27, 3] Operation: 15-12=3
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[15, 15], Operations: ['65-53=12', '27-12=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,64 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[27, 3], Operations: ['65-53=12', '15-12=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[15, 39], Operations: ['65-53=12', '27+12=39']
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,64 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[12, 12], Operations: ['65-53=12', '27-15=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[27, 27], Operations: ['65-53=12', '15+12=27']
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,64 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: 64:[65, 27, 68], Operations: ['53+15=68']
Exploring Operation: 27+68=95, Resulting Numbers: [65, 95]
Generated Node #0,2,0: 64:[65, 95] Operation: 27+68=95
Exploring Operation: 68-27=41, Resulting Numbers: [65, 41]
Generated Node #0,2,1: 64:[65, 41] Operation: 68-27=41
Exploring Operation: 65-27=38, Resulting Numbers: [68, 38]
Generated Node #0,2,2: 64:[68, 38] Operation: 65-27=38
Exploring Operation: 68-65=3, Resulting Numbers: [27, 3]
Generated Node #0,2,3: 64:[27, 3] Operation: 68-65=3
Exploring Operation: 65+27=92, Resulting Numbers: [68, 92]
Generated Node #0,2,4: 64:[68, 92] Operation: 65+27=92
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 64:[27, 3], Operations: ['53+15=68', '68-65=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[65, 41], Operations: ['53+15=68', '68-27=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 64:[68, 38], Operations: ['53+15=68', '65-27=38']
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 64:[65, 95], Operations: ['53+15=68', '27+68=95']
Exploring Operation: 65*95=6175, Resulting Numbers: [6175]
6175,64 unequal: No Solution
Exploring Operation: 65+95=160, Resulting Numbers: [160]
160,64 unequal: No Solution
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 64:[68, 92], Operations: ['53+15=68', '65+27=92']
Exploring Operation: 92-68=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 68*92=6256, Resulting Numbers: [6256]
6256,64 unequal: No Solution
Exploring Operation: 68+92=160, Resulting Numbers: [160]
160,64 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: 64:[65, 27, 38], Operations: ['53-15=38']
Exploring Operation: 65-38=27, Resulting Numbers: [27, 27]
Generated Node #0,3,0: 64:[27, 27] Operation: 65-38=27
Exploring Operation: 27+38=65, Resulting Numbers: [65, 65]
Generated Node #0,3,1: 64:[65, 65] Operation: 27+38=65
Exploring Operation: 38-27=11, Resulting Numbers: [65, 11]
Generated Node #0,3,2: 64:[65, 11] Operation: 38-27=11
Exploring Operation: 65-27=38, Resulting Numbers: [38, 38]
Generated Node #0,3,3: 64:[38, 38] Operation: 65-27=38
Exploring Operation: 65+27=92, Resulting Numbers: [38, 92]
Generated Node #0,3,4: 64:[38, 92] Operation: 65+27=92
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[65, 65], Operations: ['53-15=38', '27+38=65']
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 65*65=4225, Resulting Numbers: [4225]
4225,64 unequal: No Solution
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[65, 11], Operations: ['53-15=38', '38-27=11']
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,64 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[27, 27], Operations: ['53-15=38', '65-38=27']
Exploring Operation: 27/27=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 27+27=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 27-27=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 27*27=729, Resulting Numbers: [729]
729,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[38, 38], Operations: ['53-15=38', '65-27=38']
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,64 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[38, 92], Operations: ['53-15=38', '65+27=92']
Exploring Operation: 38+92=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 38*92=3496, Resulting Numbers: [3496]
3496,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[65, 53, 12], Operations: ['27-15=12']
Exploring Operation: 65-12=53, Resulting Numbers: [53, 53]
Generated Node #0,1,0: 64:[53, 53] Operation: 65-12=53
Exploring Operation: 53-12=41, Resulting Numbers: [65, 41]
Generated Node #0,1,1: 64:[65, 41] Operation: 53-12=41
Exploring Operation: 65-53=12, Resulting Numbers: [12, 12]
Generated Node #0,1,2: 64:[12, 12] Operation: 65-53=12
Exploring Operation: 65+12=77, Resulting Numbers: [53, 77]
Generated Node #0,1,3: 64:[53, 77] Operation: 65+12=77
Exploring Operation: 53+12=65, Resulting Numbers: [65, 65]
Generated Node #0,1,4: 64:[65, 65] Operation: 53+12=65
Moving to Node #0,1,4
Current State: 64:[65, 65], Operations: ['27-15=12', '53+12=65']
Exploring Operation: 65-65=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 65+65=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 65/65=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 65*65=4225, Resulting Numbers: [4225]
4225,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[65, 11], Operations: ['53-27=26', '26-15=11']
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,64 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[12, 12], Operations: ['27-15=12', '65-53=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[15, 39], Operations: ['53-27=26', '65-26=39']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,64 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[65, 41], Operations: ['53-27=26', '15+26=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,64 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[65, 41], Operations: ['27-15=12', '53-12=41']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,64 unequal: No Solution
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[26, 50], Operations: ['53-27=26', '65-15=50']
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,64 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[53, 53], Operations: ['27-15=12', '65-12=53']
Exploring Operation: 53*53=2809, Resulting Numbers: [2809]
2809,64 unequal: No Solution
Exploring Operation: 53+53=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 53/53=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 53-53=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[26, 80], Operations: ['53-27=26', '65+15=80']
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Exploring Operation: 26*80=2080, Resulting Numbers: [2080]
2080,64 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[53, 77], Operations: ['27-15=12', '65+12=77']
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 53+77=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 53*77=4081, Resulting Numbers: [4081]
4081,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
9,
54,
36
] | 31 | [
"36-9=27",
"54/27=2",
"29+2=31"
] | Current State: 31:[29, 9, 54, 36], Operations: []
Exploring Operation: 36-9=27, Resulting Numbers: [29, 54, 27]
Generated Node #2: [29, 54, 27] from Operation: 36-9=27
Current State: 31:[29, 54, 27], Operations: ['36-9=27']
Exploring Operation: 54/27=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 54/27=2
Current State: 31:[29, 2], Operations: ['36-9=27', '54/27=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[29, 9, 54, 36], Operations: []
Exploring Operation: 36-9=27, Resulting Numbers: [29, 54, 27]
Generated Node #0,0: 31:[29, 54, 27] Operation: 36-9=27
Exploring Operation: 54-9=45, Resulting Numbers: [29, 36, 45]
Generated Node #0,1: 31:[29, 36, 45] Operation: 54-9=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[29, 36, 45], Operations: ['54-9=45']
Exploring Operation: 45-29=16, Resulting Numbers: [36, 16]
Generated Node #0,1,0: 31:[36, 16] Operation: 45-29=16
Exploring Operation: 45-36=9, Resulting Numbers: [29, 9]
Generated Node #0,1,1: 31:[29, 9] Operation: 45-36=9
Moving to Node #0,1,0
Current State: 31:[36, 16], Operations: ['54-9=45', '45-29=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[29, 9], Operations: ['54-9=45', '45-36=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[29, 54, 27], Operations: ['36-9=27']
Exploring Operation: 54-29=25, Resulting Numbers: [27, 25]
Generated Node #0,0,0: 31:[27, 25] Operation: 54-29=25
Exploring Operation: 54-27=27, Resulting Numbers: [29, 27]
Generated Node #0,0,1: 31:[29, 27] Operation: 54-27=27
Moving to Node #0,0,1
Current State: 31:[29, 27], Operations: ['36-9=27', '54-27=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[27, 25], Operations: ['36-9=27', '54-29=25']
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,31 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 |
[
8,
75,
28,
24
] | 87 | [
"8+75=83",
"28-24=4",
"83+4=87"
] | Current State: 87:[8, 75, 28, 24], Operations: []
Exploring Operation: 8+75=83, Resulting Numbers: [28, 24, 83]
Generated Node #2: [28, 24, 83] from Operation: 8+75=83
Current State: 87:[28, 24, 83], Operations: ['8+75=83']
Exploring Operation: 28-24=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 28-24=4
Current State: 87:[83, 4], Operations: ['8+75=83', '28-24=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[8, 75, 28, 24], Operations: []
Exploring Operation: 8+75=83, Resulting Numbers: [28, 24, 83]
Generated Node #0,0: 87:[28, 24, 83] Operation: 8+75=83
Exploring Operation: 24/8=3, Resulting Numbers: [75, 28, 3]
Generated Node #0,1: 87:[75, 28, 3] Operation: 24/8=3
Moving to Node #0,0
Current State: 87:[28, 24, 83], Operations: ['8+75=83']
Exploring Operation: 28-24=4, Resulting Numbers: [83, 4]
Generated Node #0,0,0: 87:[83, 4] Operation: 28-24=4
Exploring Operation: 24+83=107, Resulting Numbers: [28, 107]
Generated Node #0,0,1: 87:[28, 107] Operation: 24+83=107
Moving to Node #0,1
Current State: 87:[75, 28, 3], Operations: ['24/8=3']
Exploring Operation: 75+3=78, Resulting Numbers: [28, 78]
Generated Node #0,1,0: 87:[28, 78] Operation: 75+3=78
Exploring Operation: 75/3=25, Resulting Numbers: [28, 25]
Generated Node #0,1,1: 87:[28, 25] Operation: 75/3=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[28, 25], Operations: ['24/8=3', '75/3=25']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,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,0
Current State: 87:[28, 78], Operations: ['24/8=3', '75+3=78']
Exploring Operation: 78-28=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 28+78=106, Resulting Numbers: [106]
106,87 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: 87:[83, 4], Operations: ['8+75=83', '28-24=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[8, 75, 28, 24], Operations: []
Exploring Operation: 8+75=83, Resulting Numbers: [28, 24, 83]
Generated Node #0,0: 87:[28, 24, 83] Operation: 8+75=83
Moving to Node #0,0
Current State: 87:[28, 24, 83], Operations: ['8+75=83']
Exploring Operation: 28-24=4, Resulting Numbers: [83, 4]
Generated Node #0,0,0: 87:[83, 4] Operation: 28-24=4
Moving to Node #0,0,0
Current State: 87:[83, 4], Operations: ['8+75=83', '28-24=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
14,
17,
41,
39
] | 84 | [
"17-14=3",
"41*3=123",
"123-39=84"
] | Current State: 84:[14, 17, 41, 39], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [41, 39, 3]
Generated Node #2: [41, 39, 3] from Operation: 17-14=3
Current State: 84:[41, 39, 3], Operations: ['17-14=3']
Exploring Operation: 41*3=123, Resulting Numbers: [39, 123]
Generated Node #3: [39, 123] from Operation: 41*3=123
Current State: 84:[39, 123], Operations: ['17-14=3', '41*3=123']
Exploring Operation: 123-39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[14, 17, 41, 39], Operations: []
Exploring Operation: 17-14=3, Resulting Numbers: [41, 39, 3]
Generated Node #0,0: 84:[41, 39, 3] Operation: 17-14=3
Exploring Operation: 39-17=22, Resulting Numbers: [14, 41, 22]
Generated Node #0,1: 84:[14, 41, 22] Operation: 39-17=22
Exploring Operation: 41-39=2, Resulting Numbers: [14, 17, 2]
Generated Node #0,2: 84:[14, 17, 2] Operation: 41-39=2
Moving to Node #0,1
Current State: 84:[14, 41, 22], Operations: ['39-17=22']
Exploring Operation: 22-14=8, Resulting Numbers: [41, 8]
Generated Node #0,1,0: 84:[41, 8] Operation: 22-14=8
Exploring Operation: 41-22=19, Resulting Numbers: [14, 19]
Generated Node #0,1,1: 84:[14, 19] Operation: 41-22=19
Exploring Operation: 41-14=27, Resulting Numbers: [22, 27]
Generated Node #0,1,2: 84:[22, 27] Operation: 41-14=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[41, 8], Operations: ['39-17=22', '22-14=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[14, 19], Operations: ['39-17=22', '41-22=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[22, 27], Operations: ['39-17=22', '41-14=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,84 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 84:[14, 17, 2], Operations: ['41-39=2']
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 84:[2, 3] Operation: 17-14=3
Exploring Operation: 17+2=19, Resulting Numbers: [14, 19]
Generated Node #0,2,1: 84:[14, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [14, 15]
Generated Node #0,2,2: 84:[14, 15] Operation: 17-2=15
Moving to Node #0,0
Current State: 84:[41, 39, 3], Operations: ['17-14=3']
Exploring Operation: 39/3=13, Resulting Numbers: [41, 13]
Generated Node #0,0,0: 84:[41, 13] Operation: 39/3=13
Exploring Operation: 39+3=42, Resulting Numbers: [41, 42]
Generated Node #0,0,1: 84:[41, 42] Operation: 39+3=42
Exploring Operation: 41-39=2, Resulting Numbers: [3, 2]
Generated Node #0,0,2: 84:[3, 2] Operation: 41-39=2
Moving to Node #0,2,0
Current State: 84:[2, 3], Operations: ['41-39=2', '17-14=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[3, 2], Operations: ['17-14=3', '41-39=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[41, 42], Operations: ['17-14=3', '39+3=42']
Exploring Operation: 41*42=1722, Resulting Numbers: [1722]
1722,84 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[14, 15], Operations: ['41-39=2', '17-2=15']
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,84 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[41, 13], Operations: ['17-14=3', '39/3=13']
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,84 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[14, 19], Operations: ['41-39=2', '17+2=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
2,
91,
28
] | 65 | [
"52+2=54",
"91+28=119",
"119-54=65"
] | Current State: 65:[52, 2, 91, 28], Operations: []
Exploring Operation: 52+2=54, Resulting Numbers: [91, 28, 54]
Generated Node #2: [91, 28, 54] from Operation: 52+2=54
Current State: 65:[91, 28, 54], Operations: ['52+2=54']
Exploring Operation: 91+28=119, Resulting Numbers: [54, 119]
Generated Node #3: [54, 119] from Operation: 91+28=119
Current State: 65:[54, 119], Operations: ['52+2=54', '91+28=119']
Exploring Operation: 119-54=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[52, 2, 91, 28], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [52, 2, 63]
Generated Node #0,0: 65:[52, 2, 63] Operation: 91-28=63
Exploring Operation: 52-28=24, Resulting Numbers: [2, 91, 24]
Generated Node #0,1: 65:[2, 91, 24] Operation: 52-28=24
Moving to Node #0,0
Current State: 65:[52, 2, 63], Operations: ['91-28=63']
Exploring Operation: 52+2=54, Resulting Numbers: [63, 54]
Generated Node #0,0,0: 65:[63, 54] Operation: 52+2=54
Exploring Operation: 63-52=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 65:[2, 11] Operation: 63-52=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[2, 11], Operations: ['91-28=63', '63-52=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[63, 54], Operations: ['91-28=63', '52+2=54']
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 63+54=117, Resulting Numbers: [117]
117,65 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: 65:[2, 91, 24], Operations: ['52-28=24']
Exploring Operation: 91-24=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 65:[2, 67] Operation: 91-24=67
Exploring Operation: 24/2=12, Resulting Numbers: [91, 12]
Generated Node #0,1,1: 65:[91, 12] Operation: 24/2=12
Moving to Node #0,1,0
Current State: 65:[2, 67], Operations: ['52-28=24', '91-24=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[52, 2, 91, 28], Operations: []
Exploring Operation: 52-28=24, Resulting Numbers: [2, 91, 24]
Generated Node #0,1: 65:[2, 91, 24] Operation: 52-28=24
Moving to Node #0,1
Current State: 65:[2, 91, 24], Operations: ['52-28=24']
Exploring Operation: 91-24=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 65:[2, 67] Operation: 91-24=67
Moving to Node #0,1,0
Current State: 65:[2, 67], Operations: ['52-28=24', '91-24=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
14,
70,
56,
64
] | 76 | [
"14+70=84",
"64-56=8",
"84-8=76"
] | Current State: 76:[14, 70, 56, 64], Operations: []
Exploring Operation: 14+70=84, Resulting Numbers: [56, 64, 84]
Generated Node #2: [56, 64, 84] from Operation: 14+70=84
Current State: 76:[56, 64, 84], Operations: ['14+70=84']
Exploring Operation: 64-56=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 64-56=8
Current State: 76:[84, 8], Operations: ['14+70=84', '64-56=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[14, 70, 56, 64], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [14, 64, 14]
Generated Node #0,0: 76:[14, 64, 14] Operation: 70-56=14
Exploring Operation: 56-14=42, Resulting Numbers: [70, 64, 42]
Generated Node #0,1: 76:[70, 64, 42] Operation: 56-14=42
Exploring Operation: 56/14=4, Resulting Numbers: [70, 64, 4]
Generated Node #0,2: 76:[70, 64, 4] Operation: 56/14=4
Exploring Operation: 64-56=8, Resulting Numbers: [14, 70, 8]
Generated Node #0,3: 76:[14, 70, 8] Operation: 64-56=8
Exploring Operation: 14+56=70, Resulting Numbers: [70, 64, 70]
Generated Node #0,4: 76:[70, 64, 70] Operation: 14+56=70
Moving to Node #0,3
Current State: 76:[14, 70, 8], Operations: ['64-56=8']
Exploring Operation: 14+70=84, Resulting Numbers: [8, 84]
Generated Node #0,3,0: 76:[8, 84] Operation: 14+70=84
Exploring Operation: 14-8=6, Resulting Numbers: [70, 6]
Generated Node #0,3,1: 76:[70, 6] Operation: 14-8=6
Exploring Operation: 70/14=5, Resulting Numbers: [8, 5]
Generated Node #0,3,2: 76:[8, 5] Operation: 70/14=5
Exploring Operation: 14+8=22, Resulting Numbers: [70, 22]
Generated Node #0,3,3: 76:[70, 22] Operation: 14+8=22
Exploring Operation: 70+8=78, Resulting Numbers: [14, 78]
Generated Node #0,3,4: 76:[14, 78] Operation: 70+8=78
Moving to Node #0,2
Current State: 76:[70, 64, 4], Operations: ['56/14=4']
Exploring Operation: 70-64=6, Resulting Numbers: [4, 6]
Generated Node #0,2,0: 76:[4, 6] Operation: 70-64=6
Exploring Operation: 64+4=68, Resulting Numbers: [70, 68]
Generated Node #0,2,1: 76:[70, 68] Operation: 64+4=68
Exploring Operation: 70+4=74, Resulting Numbers: [64, 74]
Generated Node #0,2,2: 76:[64, 74] Operation: 70+4=74
Exploring Operation: 70-4=66, Resulting Numbers: [64, 66]
Generated Node #0,2,3: 76:[64, 66] Operation: 70-4=66
Exploring Operation: 64/4=16, Resulting Numbers: [70, 16]
Generated Node #0,2,4: 76:[70, 16] Operation: 64/4=16
Moving to Node #0,0
Current State: 76:[14, 64, 14], Operations: ['70-56=14']
Exploring Operation: 14-14=0, Resulting Numbers: [64, 0]
Generated Node #0,0,0: 76:[64, 0] Operation: 14-14=0
Exploring Operation: 14/14=1, Resulting Numbers: [64, 1]
Generated Node #0,0,1: 76:[64, 1] Operation: 14/14=1
Exploring Operation: 64-14=50, Resulting Numbers: [14, 50]
Generated Node #0,0,2: 76:[14, 50] Operation: 64-14=50
Exploring Operation: 14+64=78, Resulting Numbers: [14, 78]
Generated Node #0,0,3: 76:[14, 78] Operation: 14+64=78
Exploring Operation: 64+14=78, Resulting Numbers: [14, 78]
Generated Node #0,0,4: 76:[14, 78] Operation: 64+14=78
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[14, 78], Operations: ['70-56=14', '14+64=78']
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[14, 78], Operations: ['70-56=14', '64+14=78']
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[64, 1], Operations: ['70-56=14', '14/14=1']
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[64, 0], Operations: ['70-56=14', '14-14=0']
Exploring Operation: 64+0=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 64*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 64-0=64, Resulting Numbers: [64]
64,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[14, 50], Operations: ['70-56=14', '64-14=50']
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,76 unequal: No Solution
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 76:[70, 64, 42], Operations: ['56-14=42']
Exploring Operation: 70+42=112, Resulting Numbers: [64, 112]
Generated Node #0,1,0: 76:[64, 112] Operation: 70+42=112
Exploring Operation: 64-42=22, Resulting Numbers: [70, 22]
Generated Node #0,1,1: 76:[70, 22] Operation: 64-42=22
Exploring Operation: 70-64=6, Resulting Numbers: [42, 6]
Generated Node #0,1,2: 76:[42, 6] Operation: 70-64=6
Exploring Operation: 70-42=28, Resulting Numbers: [64, 28]
Generated Node #0,1,3: 76:[64, 28] Operation: 70-42=28
Exploring Operation: 64+42=106, Resulting Numbers: [70, 106]
Generated Node #0,1,4: 76:[70, 106] Operation: 64+42=106
Moving to Node #0,4
Current State: 76:[70, 64, 70], Operations: ['14+56=70']
Exploring Operation: 70-70=0, Resulting Numbers: [64, 0]
Generated Node #0,4,0: 76:[64, 0] Operation: 70-70=0
Exploring Operation: 70+64=134, Resulting Numbers: [70, 134]
Generated Node #0,4,1: 76:[70, 134] Operation: 70+64=134
Exploring Operation: 70-64=6, Resulting Numbers: [70, 6]
Generated Node #0,4,2: 76:[70, 6] Operation: 70-64=6
Exploring Operation: 70-64=6, Resulting Numbers: [70, 6]
Generated Node #0,4,3: 76:[70, 6] Operation: 70-64=6
Exploring Operation: 70/70=1, Resulting Numbers: [64, 1]
Generated Node #0,4,4: 76:[64, 1] Operation: 70/70=1
Moving to Node #0,2,0
Current State: 76:[4, 6], Operations: ['56/14=4', '70-64=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[8, 5], Operations: ['64-56=8', '70/14=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[42, 6], Operations: ['56-14=42', '70-64=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,76 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,76 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[14, 78], Operations: ['64-56=8', '70+8=78']
Exploring Operation: 14+78=92, Resulting Numbers: [92]
92,76 unequal: No Solution
Exploring Operation: 78-14=64, Resulting Numbers: [64]
64,76 unequal: No Solution
Exploring Operation: 14*78=1092, Resulting Numbers: [1092]
1092,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[70, 6], Operations: ['64-56=8', '14-8=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,76 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[14, 70, 56, 64], Operations: []
Exploring Operation: 64-56=8, Resulting Numbers: [14, 70, 8]
Generated Node #0,3: 76:[14, 70, 8] Operation: 64-56=8
Moving to Node #0,3
Current State: 76:[14, 70, 8], Operations: ['64-56=8']
Exploring Operation: 14-8=6, Resulting Numbers: [70, 6]
Generated Node #0,3,1: 76:[70, 6] Operation: 14-8=6
Moving to Node #0,3,1
Current State: 76:[70, 6], Operations: ['64-56=8', '14-8=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.943576 | hs_5 | sum_heuristic |
[
30,
7,
72,
31
] | 80 | [
"30-7=23",
"72+31=103",
"103-23=80"
] | Current State: 80:[30, 7, 72, 31], Operations: []
Exploring Operation: 30-7=23, Resulting Numbers: [72, 31, 23]
Generated Node #2: [72, 31, 23] from Operation: 30-7=23
Current State: 80:[72, 31, 23], Operations: ['30-7=23']
Exploring Operation: 72+31=103, Resulting Numbers: [23, 103]
Generated Node #3: [23, 103] from Operation: 72+31=103
Current State: 80:[23, 103], Operations: ['30-7=23', '72+31=103']
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[30, 7, 72, 31], Operations: []
Exploring Operation: 72-30=42, Resulting Numbers: [7, 31, 42]
Generated Node #0,0: 80:[7, 31, 42] Operation: 72-30=42
Exploring Operation: 72-31=41, Resulting Numbers: [30, 7, 41]
Generated Node #0,1: 80:[30, 7, 41] Operation: 72-31=41
Exploring Operation: 31-30=1, Resulting Numbers: [7, 72, 1]
Generated Node #0,2: 80:[7, 72, 1] Operation: 31-30=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[7, 72, 1], Operations: ['31-30=1']
Exploring Operation: 7+72=79, Resulting Numbers: [1, 79]
Generated Node #0,2,0: 80:[1, 79] Operation: 7+72=79
Exploring Operation: 72+1=73, Resulting Numbers: [7, 73]
Generated Node #0,2,1: 80:[7, 73] Operation: 72+1=73
Exploring Operation: 7+1=8, Resulting Numbers: [72, 8]
Generated Node #0,2,2: 80:[72, 8] Operation: 7+1=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 80:[1, 79], Operations: ['31-30=1', '7+72=79']
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[30, 7, 72, 31], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [7, 72, 1]
Generated Node #0,2: 80:[7, 72, 1] Operation: 31-30=1
Moving to Node #0,2
Current State: 80:[7, 72, 1], Operations: ['31-30=1']
Exploring Operation: 7+72=79, Resulting Numbers: [1, 79]
Generated Node #0,2,0: 80:[1, 79] Operation: 7+72=79
Moving to Node #0,2,0
Current State: 80:[1, 79], Operations: ['31-30=1', '7+72=79']
Exploring Operation: 1+79=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
34,
20,
72,
10
] | 40 | [
"34*20=680",
"72*10=720",
"720-680=40"
] | Current State: 40:[34, 20, 72, 10], Operations: []
Exploring Operation: 34*20=680, Resulting Numbers: [72, 10, 680]
Generated Node #2: [72, 10, 680] from Operation: 34*20=680
Current State: 40:[72, 10, 680], Operations: ['34*20=680']
Exploring Operation: 72*10=720, Resulting Numbers: [680, 720]
Generated Node #3: [680, 720] from Operation: 72*10=720
Current State: 40:[680, 720], Operations: ['34*20=680', '72*10=720']
Exploring Operation: 720-680=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[34, 20, 72, 10], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [34, 20, 62]
Generated Node #0,0: 40:[34, 20, 62] Operation: 72-10=62
Exploring Operation: 72-20=52, Resulting Numbers: [34, 10, 52]
Generated Node #0,1: 40:[34, 10, 52] Operation: 72-20=52
Exploring Operation: 34+10=44, Resulting Numbers: [20, 72, 44]
Generated Node #0,2: 40:[20, 72, 44] Operation: 34+10=44
Exploring Operation: 34-20=14, Resulting Numbers: [72, 10, 14]
Generated Node #0,3: 40:[72, 10, 14] Operation: 34-20=14
Exploring Operation: 72-34=38, Resulting Numbers: [20, 10, 38]
Generated Node #0,4: 40:[20, 10, 38] Operation: 72-34=38
Moving to Node #0,4
Current State: 40:[20, 10, 38], Operations: ['72-34=38']
Exploring Operation: 20/10=2, Resulting Numbers: [38, 2]
Generated Node #0,4,0: 40:[38, 2] Operation: 20/10=2
Exploring Operation: 38-20=18, Resulting Numbers: [10, 18]
Generated Node #0,4,1: 40:[10, 18] Operation: 38-20=18
Exploring Operation: 38-10=28, Resulting Numbers: [20, 28]
Generated Node #0,4,2: 40:[20, 28] Operation: 38-10=28
Exploring Operation: 10+38=48, Resulting Numbers: [20, 48]
Generated Node #0,4,3: 40:[20, 48] Operation: 10+38=48
Exploring Operation: 20-10=10, Resulting Numbers: [38, 10]
Generated Node #0,4,4: 40:[38, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[38, 2], Operations: ['72-34=38', '20/10=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[34, 20, 72, 10], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [20, 10, 38]
Generated Node #0,4: 40:[20, 10, 38] Operation: 72-34=38
Moving to Node #0,4
Current State: 40:[20, 10, 38], Operations: ['72-34=38']
Exploring Operation: 20/10=2, Resulting Numbers: [38, 2]
Generated Node #0,4,0: 40:[38, 2] Operation: 20/10=2
Moving to Node #0,4,0
Current State: 40:[38, 2], Operations: ['72-34=38', '20/10=2']
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
39,
16,
39,
79
] | 63 | [
"39+16=55",
"39+79=118",
"118-55=63"
] | Current State: 63:[39, 16, 39, 79], Operations: []
Exploring Operation: 39+16=55, Resulting Numbers: [79, 55]
Generated Node #2: [79, 55] from Operation: 39+16=55
Current State: 63:[79, 55], Operations: ['39+16=55']
Exploring Operation: 39+79=118, Resulting Numbers: [55, 118]
Generated Node #3: [55, 118] from Operation: 39+79=118
Current State: 63:[55, 118], Operations: ['39+16=55', '39+79=118']
Exploring Operation: 118-55=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[39, 16, 39, 79], Operations: []
Exploring Operation: 39-16=23, Resulting Numbers: [39, 79, 23]
Generated Node #0,0: 63:[39, 79, 23] Operation: 39-16=23
Exploring Operation: 39/39=1, Resulting Numbers: [16, 79, 1]
Generated Node #0,1: 63:[16, 79, 1] Operation: 39/39=1
Exploring Operation: 39-39=0, Resulting Numbers: [16, 79, 0]
Generated Node #0,2: 63:[16, 79, 0] Operation: 39-39=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[16, 79, 1], Operations: ['39/39=1']
Exploring Operation: 79-1=78, Resulting Numbers: [16, 78]
Generated Node #0,1,0: 63:[16, 78] Operation: 79-1=78
Exploring Operation: 79-16=63, Resulting Numbers: [1, 63]
Generated Node #0,1,1: 63:[1, 63] Operation: 79-16=63
Exploring Operation: 16+1=17, Resulting Numbers: [79, 17]
Generated Node #0,1,2: 63:[79, 17] Operation: 16+1=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[1, 63], Operations: ['39/39=1', '79-16=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[39, 16, 39, 79], Operations: []
Exploring Operation: 39/39=1, Resulting Numbers: [16, 79, 1]
Generated Node #0,1: 63:[16, 79, 1] Operation: 39/39=1
Moving to Node #0,1
Current State: 63:[16, 79, 1], Operations: ['39/39=1']
Exploring Operation: 79-16=63, Resulting Numbers: [1, 63]
Generated Node #0,1,1: 63:[1, 63] Operation: 79-16=63
Moving to Node #0,1,1
Current State: 63:[1, 63], Operations: ['39/39=1', '79-16=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
44,
1,
64,
32
] | 48 | [
"1+32=33",
"64*33=2112",
"2112/44=48"
] | Current State: 48:[44, 1, 64, 32], Operations: []
Exploring Operation: 1+32=33, Resulting Numbers: [44, 64, 33]
Generated Node #2: [44, 64, 33] from Operation: 1+32=33
Current State: 48:[44, 64, 33], Operations: ['1+32=33']
Exploring Operation: 64*33=2112, Resulting Numbers: [44, 2112]
Generated Node #3: [44, 2112] from Operation: 64*33=2112
Current State: 48:[44, 2112], Operations: ['1+32=33', '64*33=2112']
Exploring Operation: 2112/44=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[44, 1, 64, 32], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [44, 1, 2]
Generated Node #0,0: 48:[44, 1, 2] Operation: 64/32=2
Exploring Operation: 64-44=20, Resulting Numbers: [1, 32, 20]
Generated Node #0,1: 48:[1, 32, 20] Operation: 64-44=20
Exploring Operation: 44-32=12, Resulting Numbers: [1, 64, 12]
Generated Node #0,2: 48:[1, 64, 12] Operation: 44-32=12
Exploring Operation: 64-32=32, Resulting Numbers: [44, 1, 32]
Generated Node #0,3: 48:[44, 1, 32] Operation: 64-32=32
Exploring Operation: 44+1=45, Resulting Numbers: [64, 32, 45]
Generated Node #0,4: 48:[64, 32, 45] Operation: 44+1=45
Moving to Node #0,0
Current State: 48:[44, 1, 2], Operations: ['64/32=2']
Exploring Operation: 44*1=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 48:[2, 44] Operation: 44*1=44
Exploring Operation: 44+1=45, Resulting Numbers: [2, 45]
Generated Node #0,0,1: 48:[2, 45] Operation: 44+1=45
Exploring Operation: 44/1=44, Resulting Numbers: [2, 44]
Generated Node #0,0,2: 48:[2, 44] Operation: 44/1=44
Exploring Operation: 44/2=22, Resulting Numbers: [1, 22]
Generated Node #0,0,3: 48:[1, 22] Operation: 44/2=22
Exploring Operation: 44+2=46, Resulting Numbers: [1, 46]
Generated Node #0,0,4: 48:[1, 46] Operation: 44+2=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[2, 45], Operations: ['64/32=2', '44+1=45']
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,48 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[1, 22], Operations: ['64/32=2', '44/2=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 1*22=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 1+22=23, Resulting Numbers: [23]
23,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 48:[1, 46], Operations: ['64/32=2', '44+2=46']
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 44], Operations: ['64/32=2', '44*1=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[2, 44], Operations: ['64/32=2', '44/1=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,48 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,48 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: 48:[44, 1, 32], Operations: ['64-32=32']
Exploring Operation: 44*1=44, Resulting Numbers: [32, 44]
Generated Node #0,3,0: 48:[32, 44] Operation: 44*1=44
Exploring Operation: 32-1=31, Resulting Numbers: [44, 31]
Generated Node #0,3,1: 48:[44, 31] Operation: 32-1=31
Exploring Operation: 44+1=45, Resulting Numbers: [32, 45]
Generated Node #0,3,2: 48:[32, 45] Operation: 44+1=45
Exploring Operation: 44/1=44, Resulting Numbers: [32, 44]
Generated Node #0,3,3: 48:[32, 44] Operation: 44/1=44
Exploring Operation: 44-32=12, Resulting Numbers: [1, 12]
Generated Node #0,3,4: 48:[1, 12] Operation: 44-32=12
Moving to Node #0,1
Current State: 48:[1, 32, 20], Operations: ['64-44=20']
Exploring Operation: 32-1=31, Resulting Numbers: [20, 31]
Generated Node #0,1,0: 48:[20, 31] Operation: 32-1=31
Exploring Operation: 32+20=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 48:[1, 52] Operation: 32+20=52
Exploring Operation: 1+20=21, Resulting Numbers: [32, 21]
Generated Node #0,1,2: 48:[32, 21] Operation: 1+20=21
Exploring Operation: 32-20=12, Resulting Numbers: [1, 12]
Generated Node #0,1,3: 48:[1, 12] Operation: 32-20=12
Exploring Operation: 20-1=19, Resulting Numbers: [32, 19]
Generated Node #0,1,4: 48:[32, 19] Operation: 20-1=19
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 48:[1, 12], Operations: ['64-44=20', '32-20=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[1, 52], Operations: ['64-44=20', '32+20=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[20, 31], Operations: ['64-44=20', '32-1=31']
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[32, 21], Operations: ['64-44=20', '1+20=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,48 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[32, 19], Operations: ['64-44=20', '20-1=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 48:[1, 64, 12], Operations: ['44-32=12']
Exploring Operation: 64/1=64, Resulting Numbers: [12, 64]
Generated Node #0,2,0: 48:[12, 64] Operation: 64/1=64
Exploring Operation: 1*12=12, Resulting Numbers: [64, 12]
Generated Node #0,2,1: 48:[64, 12] Operation: 1*12=12
Exploring Operation: 1*64=64, Resulting Numbers: [12, 64]
Generated Node #0,2,2: 48:[12, 64] Operation: 1*64=64
Exploring Operation: 64-12=52, Resulting Numbers: [1, 52]
Generated Node #0,2,3: 48:[1, 52] Operation: 64-12=52
Exploring Operation: 64-1=63, Resulting Numbers: [12, 63]
Generated Node #0,2,4: 48:[12, 63] Operation: 64-1=63
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[1, 52], Operations: ['44-32=12', '64-12=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,48 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 48:[12, 63], Operations: ['44-32=12', '64-1=63']
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,48 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[12, 64], Operations: ['44-32=12', '64/1=64']
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,48 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 48:[64, 12], Operations: ['44-32=12', '1*12=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 64*12=768, Resulting Numbers: [768]
768,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[12, 64], Operations: ['44-32=12', '1*64=64']
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,48 unequal: No Solution
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 48:[64, 32, 45], Operations: ['44+1=45']
Exploring Operation: 32+45=77, Resulting Numbers: [64, 77]
Generated Node #0,4,0: 48:[64, 77] Operation: 32+45=77
Exploring Operation: 64-45=19, Resulting Numbers: [32, 19]
Generated Node #0,4,1: 48:[32, 19] Operation: 64-45=19
Exploring Operation: 64/32=2, Resulting Numbers: [45, 2]
Generated Node #0,4,2: 48:[45, 2] Operation: 64/32=2
Exploring Operation: 45-32=13, Resulting Numbers: [64, 13]
Generated Node #0,4,3: 48:[64, 13] Operation: 45-32=13
Exploring Operation: 64-32=32, Resulting Numbers: [45, 32]
Generated Node #0,4,4: 48:[45, 32] Operation: 64-32=32
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 48:[45, 2], Operations: ['44+1=45', '64/32=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[32, 19], Operations: ['44+1=45', '64-45=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,48 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 48:[45, 32], Operations: ['44+1=45', '64-32=32']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[64, 13], Operations: ['44+1=45', '45-32=13']
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 48:[64, 77], Operations: ['44+1=45', '32+45=77']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,48 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 48:[1, 12], Operations: ['64-32=32', '44-32=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,48 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[32, 45], Operations: ['64-32=32', '44+1=45']
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 32*45=1440, Resulting Numbers: [1440]
1440,48 unequal: No Solution
Exploring Operation: 32+45=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[44, 31], Operations: ['64-32=32', '32-1=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,48 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[32, 44], Operations: ['64-32=32', '44*1=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,48 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[32, 44], Operations: ['64-32=32', '44/1=44']
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,48 unequal: No Solution
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,48 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
11,
8,
86,
28
] | 77 | [
"11+8=19",
"86-28=58",
"19+58=77"
] | Current State: 77:[11, 8, 86, 28], Operations: []
Exploring Operation: 11+8=19, Resulting Numbers: [86, 28, 19]
Generated Node #2: [86, 28, 19] from Operation: 11+8=19
Current State: 77:[86, 28, 19], Operations: ['11+8=19']
Exploring Operation: 86-28=58, Resulting Numbers: [19, 58]
Generated Node #3: [19, 58] from Operation: 86-28=58
Current State: 77:[19, 58], Operations: ['11+8=19', '86-28=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[11, 8, 86, 28], Operations: []
Exploring Operation: 28-11=17, Resulting Numbers: [8, 86, 17]
Generated Node #0,0: 77:[8, 86, 17] Operation: 28-11=17
Moving to Node #0,0
Current State: 77:[8, 86, 17], Operations: ['28-11=17']
Exploring Operation: 86-8=78, Resulting Numbers: [17, 78]
Generated Node #0,0,0: 77:[17, 78] Operation: 86-8=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[17, 78], Operations: ['28-11=17', '86-8=78']
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
90,
32,
52
] | 26 | [
"90/3=30",
"32-30=2",
"52/2=26"
] | Current State: 26:[3, 90, 32, 52], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [32, 52, 30]
Generated Node #2: [32, 52, 30] from Operation: 90/3=30
Current State: 26:[32, 52, 30], Operations: ['90/3=30']
Exploring Operation: 32-30=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 32-30=2
Current State: 26:[52, 2], Operations: ['90/3=30', '32-30=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 90, 32, 52], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [32, 52, 30]
Generated Node #0,0: 26:[32, 52, 30] Operation: 90/3=30
Exploring Operation: 90-32=58, Resulting Numbers: [3, 52, 58]
Generated Node #0,1: 26:[3, 52, 58] Operation: 90-32=58
Exploring Operation: 90-52=38, Resulting Numbers: [3, 32, 38]
Generated Node #0,2: 26:[3, 32, 38] Operation: 90-52=38
Moving to Node #0,2
Current State: 26:[3, 32, 38], Operations: ['90-52=38']
Exploring Operation: 38-32=6, Resulting Numbers: [3, 6]
Generated Node #0,2,0: 26:[3, 6] Operation: 38-32=6
Exploring Operation: 38-3=35, Resulting Numbers: [32, 35]
Generated Node #0,2,1: 26:[32, 35] Operation: 38-3=35
Exploring Operation: 32-3=29, Resulting Numbers: [38, 29]
Generated Node #0,2,2: 26:[38, 29] Operation: 32-3=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 26:[3, 6], Operations: ['90-52=38', '38-32=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 26:[32, 35], Operations: ['90-52=38', '38-3=35']
Exploring Operation: 32*35=1120, Resulting Numbers: [1120]
1120,26 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,26 unequal: No Solution
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[38, 29], Operations: ['90-52=38', '32-3=29']
Exploring Operation: 38*29=1102, Resulting Numbers: [1102]
1102,26 unequal: No Solution
Exploring Operation: 38+29=67, Resulting Numbers: [67]
67,26 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[32, 52, 30], Operations: ['90/3=30']
Exploring Operation: 52-32=20, Resulting Numbers: [30, 20]
Generated Node #0,0,0: 26:[30, 20] Operation: 52-32=20
Exploring Operation: 32-30=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 26:[52, 2] Operation: 32-30=2
Exploring Operation: 52-30=22, Resulting Numbers: [32, 22]
Generated Node #0,0,2: 26:[32, 22] Operation: 52-30=22
Moving to Node #0,1
Current State: 26:[3, 52, 58], Operations: ['90-32=58']
Exploring Operation: 52-3=49, Resulting Numbers: [58, 49]
Generated Node #0,1,0: 26:[58, 49] Operation: 52-3=49
Exploring Operation: 58-3=55, Resulting Numbers: [52, 55]
Generated Node #0,1,1: 26:[52, 55] Operation: 58-3=55
Exploring Operation: 58-52=6, Resulting Numbers: [3, 6]
Generated Node #0,1,2: 26:[3, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[3, 6], Operations: ['90-32=58', '58-52=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[58, 49], Operations: ['90-32=58', '52-3=49']
Exploring Operation: 58*49=2842, Resulting Numbers: [2842]
2842,26 unequal: No Solution
Exploring Operation: 58+49=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[52, 55], Operations: ['90-32=58', '58-3=55']
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,26 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,26 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,26 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: 26:[30, 20], Operations: ['90/3=30', '52-32=20']
Exploring Operation: 30+20=50, Resulting Numbers: [50]
50,26 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 30*20=600, Resulting Numbers: [600]
600,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[32, 22], Operations: ['90/3=30', '52-30=22']
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,26 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[52, 2], Operations: ['90/3=30', '32-30=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[3, 90, 32, 52], Operations: []
Exploring Operation: 90/3=30, Resulting Numbers: [32, 52, 30]
Generated Node #0,0: 26:[32, 52, 30] Operation: 90/3=30
Moving to Node #0,0
Current State: 26:[32, 52, 30], Operations: ['90/3=30']
Exploring Operation: 32-30=2, Resulting Numbers: [52, 2]
Generated Node #0,0,1: 26:[52, 2] Operation: 32-30=2
Moving to Node #0,0,1
Current State: 26:[52, 2], Operations: ['90/3=30', '32-30=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.963542 | hs_3 | mult_heuristic |
[
26,
24,
80,
30
] | 10 | [
"26-24=2",
"80/2=40",
"40-30=10"
] | Current State: 10:[26, 24, 80, 30], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [80, 30, 2]
Generated Node #2: [80, 30, 2] from Operation: 26-24=2
Current State: 10:[80, 30, 2], Operations: ['26-24=2']
Exploring Operation: 80/2=40, Resulting Numbers: [30, 40]
Generated Node #3: [30, 40] from Operation: 80/2=40
Current State: 10:[30, 40], Operations: ['26-24=2', '80/2=40']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[26, 24, 80, 30], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [26, 24, 50]
Generated Node #0,0: 10:[26, 24, 50] Operation: 80-30=50
Exploring Operation: 80-24=56, Resulting Numbers: [26, 30, 56]
Generated Node #0,1: 10:[26, 30, 56] Operation: 80-24=56
Exploring Operation: 80-26=54, Resulting Numbers: [24, 30, 54]
Generated Node #0,2: 10:[24, 30, 54] Operation: 80-26=54
Moving to Node #0,0
Current State: 10:[26, 24, 50], Operations: ['80-30=50']
Exploring Operation: 50-26=24, Resulting Numbers: [24, 24]
Generated Node #0,0,0: 10:[24, 24] Operation: 50-26=24
Exploring Operation: 26-24=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 10:[50, 2] Operation: 26-24=2
Exploring Operation: 50-24=26, Resulting Numbers: [26, 26]
Generated Node #0,0,2: 10:[26, 26] Operation: 50-24=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[24, 24], Operations: ['80-30=50', '50-26=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,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,2
Current State: 10:[26, 26], Operations: ['80-30=50', '50-24=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,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,1
Current State: 10:[50, 2], Operations: ['80-30=50', '26-24=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,10 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: 10:[24, 30, 54], Operations: ['80-26=54']
Exploring Operation: 54-30=24, Resulting Numbers: [24, 24]
Generated Node #0,2,0: 10:[24, 24] Operation: 54-30=24
Exploring Operation: 30-24=6, Resulting Numbers: [54, 6]
Generated Node #0,2,1: 10:[54, 6] Operation: 30-24=6
Exploring Operation: 54-24=30, Resulting Numbers: [30, 30]
Generated Node #0,2,2: 10:[30, 30] Operation: 54-24=30
Moving to Node #0,1
Current State: 10:[26, 30, 56], Operations: ['80-24=56']
Exploring Operation: 56-30=26, Resulting Numbers: [26, 26]
Generated Node #0,1,0: 10:[26, 26] Operation: 56-30=26
Exploring Operation: 56-26=30, Resulting Numbers: [30, 30]
Generated Node #0,1,1: 10:[30, 30] Operation: 56-26=30
Exploring Operation: 30-26=4, Resulting Numbers: [56, 4]
Generated Node #0,1,2: 10:[56, 4] Operation: 30-26=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[26, 26], Operations: ['80-24=56', '56-30=26']
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,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:[30, 30], Operations: ['80-24=56', '56-26=30']
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,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:[56, 4], Operations: ['80-24=56', '30-26=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 10:[24, 24], Operations: ['80-26=54', '54-30=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[30, 30], Operations: ['80-26=54', '54-24=30']
Exploring Operation: 30-30=0, Resulting Numbers: [0]
0,10 unequal: No Solution
Exploring Operation: 30+30=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 30/30=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[54, 6], Operations: ['80-26=54', '30-24=6']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,10 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
87,
77,
49,
7
] | 98 | [
"77*7=539",
"539/49=11",
"87+11=98"
] | Current State: 98:[87, 77, 49, 7], Operations: []
Exploring Operation: 77*7=539, Resulting Numbers: [87, 49, 539]
Generated Node #2: [87, 49, 539] from Operation: 77*7=539
Current State: 98:[87, 49, 539], Operations: ['77*7=539']
Exploring Operation: 539/49=11, Resulting Numbers: [87, 11]
Generated Node #3: [87, 11] from Operation: 539/49=11
Current State: 98:[87, 11], Operations: ['77*7=539', '539/49=11']
Exploring Operation: 87+11=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[87, 77, 49, 7], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [49, 7, 10]
Generated Node #0,0: 98:[49, 7, 10] Operation: 87-77=10
Exploring Operation: 77/7=11, Resulting Numbers: [87, 49, 11]
Generated Node #0,1: 98:[87, 49, 11] Operation: 77/7=11
Moving to Node #0,0
Current State: 98:[49, 7, 10], Operations: ['87-77=10']
Exploring Operation: 10-7=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 98:[49, 3] Operation: 10-7=3
Exploring Operation: 49/7=7, Resulting Numbers: [10, 7]
Generated Node #0,0,1: 98:[10, 7] Operation: 49/7=7
Moving to Node #0,1
Current State: 98:[87, 49, 11], Operations: ['77/7=11']
Exploring Operation: 87+11=98, Resulting Numbers: [49, 98]
Generated Node #0,1,0: 98:[49, 98] Operation: 87+11=98
Exploring Operation: 87-49=38, Resulting Numbers: [11, 38]
Generated Node #0,1,1: 98:[11, 38] Operation: 87-49=38
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[49, 98], Operations: ['77/7=11', '87+11=98']
Exploring Operation: 98/49=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 98-49=49, Resulting Numbers: [49]
49,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,1,1
Current State: 98:[11, 38], Operations: ['77/7=11', '87-49=38']
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,98 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: 98:[49, 3], Operations: ['87-77=10', '10-7=3']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[10, 7], Operations: ['87-77=10', '49/7=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,98 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
70,
5,
13
] | 66 | [
"57-5=52",
"52/13=4",
"70-4=66"
] | Current State: 66:[57, 70, 5, 13], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [70, 13, 52]
Generated Node #2: [70, 13, 52] from Operation: 57-5=52
Current State: 66:[70, 13, 52], Operations: ['57-5=52']
Exploring Operation: 52/13=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 52/13=4
Current State: 66:[70, 4], Operations: ['57-5=52', '52/13=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[57, 70, 5, 13], Operations: []
Exploring Operation: 70-57=13, Resulting Numbers: [5, 13, 13]
Generated Node #0,0: 66:[5, 13, 13] Operation: 70-57=13
Exploring Operation: 57+5=62, Resulting Numbers: [70, 13, 62]
Generated Node #0,1: 66:[70, 13, 62] Operation: 57+5=62
Exploring Operation: 70-5=65, Resulting Numbers: [57, 13, 65]
Generated Node #0,2: 66:[57, 13, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [57, 13, 14]
Generated Node #0,3: 66:[57, 13, 14] Operation: 70/5=14
Exploring Operation: 57+13=70, Resulting Numbers: [70, 5, 70]
Generated Node #0,4: 66:[70, 5, 70] Operation: 57+13=70
Moving to Node #0,0
Current State: 66:[5, 13, 13], Operations: ['70-57=13']
Exploring Operation: 13-13=0, Resulting Numbers: [5, 0]
Generated Node #0,0,0: 66:[5, 0] Operation: 13-13=0
Exploring Operation: 5*13=65, Resulting Numbers: [13, 65]
Generated Node #0,0,1: 66:[13, 65] Operation: 5*13=65
Exploring Operation: 13/13=1, Resulting Numbers: [5, 1]
Generated Node #0,0,2: 66:[5, 1] Operation: 13/13=1
Exploring Operation: 5*13=65, Resulting Numbers: [13, 65]
Generated Node #0,0,3: 66:[13, 65] Operation: 5*13=65
Exploring Operation: 13-5=8, Resulting Numbers: [13, 8]
Generated Node #0,0,4: 66:[13, 8] Operation: 13-5=8
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[5, 1], Operations: ['70-57=13', '13/13=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[5, 0], Operations: ['70-57=13', '13-13=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[13, 65], Operations: ['70-57=13', '5*13=65']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[13, 65], Operations: ['70-57=13', '5*13=65']
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[13, 8], Operations: ['70-57=13', '13-5=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,66 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: 66:[70, 5, 70], Operations: ['57+13=70']
Exploring Operation: 70-5=65, Resulting Numbers: [70, 65]
Generated Node #0,4,0: 66:[70, 65] Operation: 70-5=65
Exploring Operation: 70-70=0, Resulting Numbers: [5, 0]
Generated Node #0,4,1: 66:[5, 0] Operation: 70-70=0
Exploring Operation: 70/5=14, Resulting Numbers: [70, 14]
Generated Node #0,4,2: 66:[70, 14] Operation: 70/5=14
Exploring Operation: 70/70=1, Resulting Numbers: [5, 1]
Generated Node #0,4,3: 66:[5, 1] Operation: 70/70=1
Exploring Operation: 70-5=65, Resulting Numbers: [70, 65]
Generated Node #0,4,4: 66:[70, 65] Operation: 70-5=65
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[5, 1], Operations: ['57+13=70', '70/70=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[5, 0], Operations: ['57+13=70', '70-70=0']
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[70, 65], Operations: ['57+13=70', '70-5=65']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,66 unequal: No Solution
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[70, 65], Operations: ['57+13=70', '70-5=65']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,66 unequal: No Solution
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[70, 14], Operations: ['57+13=70', '70/5=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,66 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[70, 13, 62], Operations: ['57+5=62']
Exploring Operation: 70-62=8, Resulting Numbers: [13, 8]
Generated Node #0,1,0: 66:[13, 8] Operation: 70-62=8
Exploring Operation: 13+62=75, Resulting Numbers: [70, 75]
Generated Node #0,1,1: 66:[70, 75] Operation: 13+62=75
Exploring Operation: 70+13=83, Resulting Numbers: [62, 83]
Generated Node #0,1,2: 66:[62, 83] Operation: 70+13=83
Exploring Operation: 62-13=49, Resulting Numbers: [70, 49]
Generated Node #0,1,3: 66:[70, 49] Operation: 62-13=49
Exploring Operation: 70-13=57, Resulting Numbers: [62, 57]
Generated Node #0,1,4: 66:[62, 57] Operation: 70-13=57
Moving to Node #0,2
Current State: 66:[57, 13, 65], Operations: ['70-5=65']
Exploring Operation: 65/13=5, Resulting Numbers: [57, 5]
Generated Node #0,2,0: 66:[57, 5] Operation: 65/13=5
Exploring Operation: 57+13=70, Resulting Numbers: [65, 70]
Generated Node #0,2,1: 66:[65, 70] Operation: 57+13=70
Exploring Operation: 57-13=44, Resulting Numbers: [65, 44]
Generated Node #0,2,2: 66:[65, 44] Operation: 57-13=44
Exploring Operation: 65-57=8, Resulting Numbers: [13, 8]
Generated Node #0,2,3: 66:[13, 8] Operation: 65-57=8
Exploring Operation: 13+65=78, Resulting Numbers: [57, 78]
Generated Node #0,2,4: 66:[57, 78] Operation: 13+65=78
Moving to Node #0,3
Current State: 66:[57, 13, 14], Operations: ['70/5=14']
Exploring Operation: 57+13=70, Resulting Numbers: [14, 70]
Generated Node #0,3,0: 66:[14, 70] Operation: 57+13=70
Exploring Operation: 57-13=44, Resulting Numbers: [14, 44]
Generated Node #0,3,1: 66:[14, 44] Operation: 57-13=44
Exploring Operation: 57+14=71, Resulting Numbers: [13, 71]
Generated Node #0,3,2: 66:[13, 71] Operation: 57+14=71
Exploring Operation: 57-14=43, Resulting Numbers: [13, 43]
Generated Node #0,3,3: 66:[13, 43] Operation: 57-14=43
Exploring Operation: 14-13=1, Resulting Numbers: [57, 1]
Generated Node #0,3,4: 66:[57, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[14, 70], Operations: ['70/5=14', '57+13=70']
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[13, 71], Operations: ['70/5=14', '57+14=71']
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,66 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[57, 1], Operations: ['70/5=14', '14-13=1']
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,66 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[13, 43], Operations: ['70/5=14', '57-14=43']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 13*43=559, Resulting Numbers: [559]
559,66 unequal: No Solution
Exploring Operation: 13+43=56, Resulting Numbers: [56]
56,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[14, 44], Operations: ['70/5=14', '57-13=44']
Exploring Operation: 14+44=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 14*44=616, Resulting Numbers: [616]
616,66 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,66 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: 66:[13, 8], Operations: ['57+5=62', '70-62=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[13, 8], Operations: ['70-5=65', '65-57=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[65, 70], Operations: ['70-5=65', '57+13=70']
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,66 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,66 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[57, 5], Operations: ['70-5=65', '65/13=5']
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,66 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[65, 44], Operations: ['70-5=65', '57-13=44']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,66 unequal: No Solution
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,66 unequal: No Solution
Moving to Node #0,1,4
Current State: 66:[62, 57], Operations: ['57+5=62', '70-13=57']
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,66 unequal: No Solution
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[70, 75], Operations: ['57+5=62', '13+62=75']
Exploring Operation: 70+75=145, Resulting Numbers: [145]
145,66 unequal: No Solution
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 70*75=5250, Resulting Numbers: [5250]
5250,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[70, 49], Operations: ['57+5=62', '62-13=49']
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,66 unequal: No Solution
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,66 unequal: No Solution
Moving to Node #0,2,4
Current State: 66:[57, 78], Operations: ['70-5=65', '13+65=78']
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,66 unequal: No Solution
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,66 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[62, 83], Operations: ['57+5=62', '70+13=83']
Exploring Operation: 62*83=5146, Resulting Numbers: [5146]
5146,66 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 62+83=145, Resulting Numbers: [145]
145,66 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
30,
82,
88,
36
] | 72 | [
"82-30=52",
"88+36=124",
"124-52=72"
] | Current State: 72:[30, 82, 88, 36], Operations: []
Exploring Operation: 82-30=52, Resulting Numbers: [88, 36, 52]
Generated Node #2: [88, 36, 52] from Operation: 82-30=52
Current State: 72:[88, 36, 52], Operations: ['82-30=52']
Exploring Operation: 88+36=124, Resulting Numbers: [52, 124]
Generated Node #3: [52, 124] from Operation: 88+36=124
Current State: 72:[52, 124], Operations: ['82-30=52', '88+36=124']
Exploring Operation: 124-52=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[30, 82, 88, 36], Operations: []
Exploring Operation: 88-82=6, Resulting Numbers: [30, 36, 6]
Generated Node #0,0: 72:[30, 36, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[30, 36, 6], Operations: ['88-82=6']
Exploring Operation: 36-30=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 72:[6, 6] Operation: 36-30=6
Moving to Node #0,0,0
Current State: 72:[6, 6], Operations: ['88-82=6', '36-30=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,72 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 |
[
9,
28,
93,
9
] | 27 | [
"93-9=84",
"84/28=3",
"9*3=27"
] | Current State: 27:[9, 28, 93, 9], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [28, 84]
Generated Node #2: [28, 84] from Operation: 93-9=84
Current State: 27:[28, 84], Operations: ['93-9=84']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,27 equal: Goal Reached
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[9, 28, 93, 9], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [9, 9, 65]
Generated Node #0,0: 27:[9, 9, 65] Operation: 93-28=65
Exploring Operation: 93-9=84, Resulting Numbers: [28, 9, 84]
Generated Node #0,1: 27:[28, 9, 84] Operation: 93-9=84
Moving to Node #0,0
Current State: 27:[9, 9, 65], Operations: ['93-28=65']
Exploring Operation: 65-9=56, Resulting Numbers: [9, 56]
Generated Node #0,0,0: 27:[9, 56] Operation: 65-9=56
Exploring Operation: 65-9=56, Resulting Numbers: [9, 56]
Generated Node #0,0,1: 27:[9, 56] Operation: 65-9=56
Moving to Node #0,1
Current State: 27:[28, 9, 84], Operations: ['93-9=84']
Exploring Operation: 84-28=56, Resulting Numbers: [9, 56]
Generated Node #0,1,0: 27:[9, 56] Operation: 84-28=56
Exploring Operation: 84/28=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 27:[9, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[9, 3], Operations: ['93-9=84', '84/28=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[9, 28, 93, 9], Operations: []
Exploring Operation: 93-9=84, Resulting Numbers: [28, 9, 84]
Generated Node #0,1: 27:[28, 9, 84] Operation: 93-9=84
Moving to Node #0,1
Current State: 27:[28, 9, 84], Operations: ['93-9=84']
Exploring Operation: 84/28=3, Resulting Numbers: [9, 3]
Generated Node #0,1,1: 27:[9, 3] Operation: 84/28=3
Moving to Node #0,1,1
Current State: 27:[9, 3], Operations: ['93-9=84', '84/28=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
60,
31,
16,
13
] | 94 | [
"60+31=91",
"16-13=3",
"91+3=94"
] | Current State: 94:[60, 31, 16, 13], Operations: []
Exploring Operation: 60+31=91, Resulting Numbers: [16, 13, 91]
Generated Node #2: [16, 13, 91] from Operation: 60+31=91
Current State: 94:[16, 13, 91], Operations: ['60+31=91']
Exploring Operation: 16-13=3, Resulting Numbers: [91, 3]
Generated Node #3: [91, 3] from Operation: 16-13=3
Current State: 94:[91, 3], Operations: ['60+31=91', '16-13=3']
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[60, 31, 16, 13], Operations: []
Exploring Operation: 31+16=47, Resulting Numbers: [60, 13, 47]
Generated Node #0,0: 94:[60, 13, 47] Operation: 31+16=47
Moving to Node #0,0
Current State: 94:[60, 13, 47], Operations: ['31+16=47']
Exploring Operation: 60-13=47, Resulting Numbers: [47, 47]
Generated Node #0,0,0: 94:[47, 47] Operation: 60-13=47
Moving to Node #0,0,0
Current State: 94:[47, 47], Operations: ['31+16=47', '60-13=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[60, 31, 16, 13], Operations: []
Exploring Operation: 31+16=47, Resulting Numbers: [60, 13, 47]
Generated Node #0,0: 94:[60, 13, 47] Operation: 31+16=47
Moving to Node #0,0
Current State: 94:[60, 13, 47], Operations: ['31+16=47']
Exploring Operation: 60-13=47, Resulting Numbers: [47, 47]
Generated Node #0,0,0: 94:[47, 47] Operation: 60-13=47
Moving to Node #0,0,0
Current State: 94:[47, 47], Operations: ['31+16=47', '60-13=47']
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
60,
36,
2,
98
] | 34 | [
"98-60=38",
"36*2=72",
"72-38=34"
] | Current State: 34:[60, 36, 2, 98], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [36, 2, 38]
Generated Node #2: [36, 2, 38] from Operation: 98-60=38
Current State: 34:[36, 2, 38], Operations: ['98-60=38']
Exploring Operation: 36*2=72, Resulting Numbers: [38, 72]
Generated Node #3: [38, 72] from Operation: 36*2=72
Current State: 34:[38, 72], Operations: ['98-60=38', '36*2=72']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[60, 36, 2, 98], Operations: []
Exploring Operation: 98/2=49, Resulting Numbers: [60, 36, 49]
Generated Node #0,0: 34:[60, 36, 49] Operation: 98/2=49
Exploring Operation: 98-60=38, Resulting Numbers: [36, 2, 38]
Generated Node #0,1: 34:[36, 2, 38] Operation: 98-60=38
Exploring Operation: 98-36=62, Resulting Numbers: [60, 2, 62]
Generated Node #0,2: 34:[60, 2, 62] Operation: 98-36=62
Moving to Node #0,1
Current State: 34:[36, 2, 38], Operations: ['98-60=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36, 36]
Generated Node #0,1,0: 34:[36, 36] Operation: 38-2=36
Exploring Operation: 38-36=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 34:[2, 2] Operation: 38-36=2
Exploring Operation: 36-2=34, Resulting Numbers: [38, 34]
Generated Node #0,1,2: 34:[38, 34] Operation: 36-2=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[2, 2], Operations: ['98-60=38', '38-36=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,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:[36, 36], Operations: ['98-60=38', '38-2=36']
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,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:[38, 34], Operations: ['98-60=38', '36-2=34']
Exploring Operation: 38+34=72, Resulting Numbers: [72]
72,34 unequal: No Solution
Exploring Operation: 38-34=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 38*34=1292, Resulting Numbers: [1292]
1292,34 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: 34:[60, 36, 49], Operations: ['98/2=49']
Exploring Operation: 60-49=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 34:[36, 11] Operation: 60-49=11
Exploring Operation: 49-36=13, Resulting Numbers: [60, 13]
Generated Node #0,0,1: 34:[60, 13] Operation: 49-36=13
Exploring Operation: 60-36=24, Resulting Numbers: [49, 24]
Generated Node #0,0,2: 34:[49, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[36, 11], Operations: ['98/2=49', '60-49=11']
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,34 unequal: No Solution
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,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,2
Current State: 34:[49, 24], Operations: ['98/2=49', '60-36=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,34 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,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:[60, 13], Operations: ['98/2=49', '49-36=13']
Exploring Operation: 60*13=780, Resulting Numbers: [780]
780,34 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,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:[60, 2, 62], Operations: ['98-36=62']
Exploring Operation: 60/2=30, Resulting Numbers: [62, 30]
Generated Node #0,2,0: 34:[62, 30] Operation: 60/2=30
Exploring Operation: 62-60=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 34:[2, 2] Operation: 62-60=2
Exploring Operation: 62/2=31, Resulting Numbers: [60, 31]
Generated Node #0,2,2: 34:[60, 31] Operation: 62/2=31
Moving to Node #0,2,1
Current State: 34:[2, 2], Operations: ['98-36=62', '62-60=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[60, 31], Operations: ['98-36=62', '62/2=31']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[62, 30], Operations: ['98-36=62', '60/2=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,34 unequal: No Solution
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,34 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,34 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
9,
54,
78,
27
] | 48 | [
"54/27=2",
"78/2=39",
"9+39=48"
] | Current State: 48:[9, 54, 78, 27], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [9, 78, 2]
Generated Node #2: [9, 78, 2] from Operation: 54/27=2
Current State: 48:[9, 78, 2], Operations: ['54/27=2']
Exploring Operation: 78/2=39, Resulting Numbers: [9, 39]
Generated Node #3: [9, 39] from Operation: 78/2=39
Current State: 48:[9, 39], Operations: ['54/27=2', '78/2=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[9, 54, 78, 27], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [78, 27, 6]
Generated Node #0,0: 48:[78, 27, 6] Operation: 54/9=6
Exploring Operation: 78-54=24, Resulting Numbers: [9, 27, 24]
Generated Node #0,1: 48:[9, 27, 24] Operation: 78-54=24
Exploring Operation: 78-9=69, Resulting Numbers: [54, 27, 69]
Generated Node #0,2: 48:[54, 27, 69] Operation: 78-9=69
Exploring Operation: 78-27=51, Resulting Numbers: [9, 54, 51]
Generated Node #0,3: 48:[9, 54, 51] Operation: 78-27=51
Exploring Operation: 54/27=2, Resulting Numbers: [9, 78, 2]
Generated Node #0,4: 48:[9, 78, 2] Operation: 54/27=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[9, 27, 24], Operations: ['78-54=24']
Exploring Operation: 24-9=15, Resulting Numbers: [27, 15]
Generated Node #0,1,0: 48:[27, 15] Operation: 24-9=15
Exploring Operation: 27-9=18, Resulting Numbers: [24, 18]
Generated Node #0,1,1: 48:[24, 18] Operation: 27-9=18
Exploring Operation: 27+24=51, Resulting Numbers: [9, 51]
Generated Node #0,1,2: 48:[9, 51] Operation: 27+24=51
Exploring Operation: 27-24=3, Resulting Numbers: [9, 3]
Generated Node #0,1,3: 48:[9, 3] Operation: 27-24=3
Exploring Operation: 27/9=3, Resulting Numbers: [24, 3]
Generated Node #0,1,4: 48:[24, 3] Operation: 27/9=3
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 48:[24, 3], Operations: ['78-54=24', '27/9=3']
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,48 unequal: No Solution
No 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: 48:[9, 3], Operations: ['78-54=24', '27-24=3']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
No 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: 48:[24, 18], Operations: ['78-54=24', '27-9=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 24*18=432, Resulting Numbers: [432]
432,48 unequal: No Solution
No 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: 48:[27, 15], Operations: ['78-54=24', '24-9=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,48 unequal: No Solution
No 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: 48:[9, 51], Operations: ['78-54=24', '27+24=51']
Exploring Operation: 9*51=459, Resulting Numbers: [459]
459,48 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,48 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: 48:[9, 54, 51], Operations: ['78-27=51']
Exploring Operation: 9+54=63, Resulting Numbers: [51, 63]
Generated Node #0,3,0: 48:[51, 63] Operation: 9+54=63
Exploring Operation: 54-51=3, Resulting Numbers: [9, 3]
Generated Node #0,3,1: 48:[9, 3] Operation: 54-51=3
Exploring Operation: 51-9=42, Resulting Numbers: [54, 42]
Generated Node #0,3,2: 48:[54, 42] Operation: 51-9=42
Exploring Operation: 54/9=6, Resulting Numbers: [51, 6]
Generated Node #0,3,3: 48:[51, 6] Operation: 54/9=6
Exploring Operation: 54-9=45, Resulting Numbers: [51, 45]
Generated Node #0,3,4: 48:[51, 45] Operation: 54-9=45
Moving to Node #0,3,1
Current State: 48:[9, 3], Operations: ['78-27=51', '54-51=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[51, 6], Operations: ['78-27=51', '54/9=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,48 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,48 unequal: No Solution
Moving to Node #0,3,4
Current State: 48:[51, 45], Operations: ['78-27=51', '54-9=45']
Exploring Operation: 51+45=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 51-45=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 51*45=2295, Resulting Numbers: [2295]
2295,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[54, 42], Operations: ['78-27=51', '51-9=42']
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,48 unequal: No Solution
Moving to Node #0,3,0
Current State: 48:[51, 63], Operations: ['78-27=51', '9+54=63']
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 51*63=3213, Resulting Numbers: [3213]
3213,48 unequal: No Solution
Exploring Operation: 51+63=114, Resulting Numbers: [114]
114,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[54, 27, 69], Operations: ['78-9=69']
Exploring Operation: 69-54=15, Resulting Numbers: [27, 15]
Generated Node #0,2,0: 48:[27, 15] Operation: 69-54=15
Exploring Operation: 54+27=81, Resulting Numbers: [69, 81]
Generated Node #0,2,1: 48:[69, 81] Operation: 54+27=81
Exploring Operation: 54-27=27, Resulting Numbers: [69, 27]
Generated Node #0,2,2: 48:[69, 27] Operation: 54-27=27
Exploring Operation: 69-27=42, Resulting Numbers: [54, 42]
Generated Node #0,2,3: 48:[54, 42] Operation: 69-27=42
Exploring Operation: 54/27=2, Resulting Numbers: [69, 2]
Generated Node #0,2,4: 48:[69, 2] Operation: 54/27=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 48:[27, 15], Operations: ['78-9=69', '69-54=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,48 unequal: No Solution
No 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: 48:[54, 42], Operations: ['78-9=69', '69-27=42']
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,48 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No 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: 48:[69, 2], Operations: ['78-9=69', '54/27=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,48 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,48 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,48 unequal: No Solution
No 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: 48:[69, 27], Operations: ['78-9=69', '54-27=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,48 unequal: No Solution
Exploring Operation: 69+27=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 69*27=1863, Resulting Numbers: [1863]
1863,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 48:[69, 81], Operations: ['78-9=69', '54+27=81']
Exploring Operation: 69*81=5589, Resulting Numbers: [5589]
5589,48 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 69+81=150, Resulting Numbers: [150]
150,48 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: 48:[9, 78, 2], Operations: ['54/27=2']
Exploring Operation: 78-2=76, Resulting Numbers: [9, 76]
Generated Node #0,4,0: 48:[9, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [9, 39]
Generated Node #0,4,1: 48:[9, 39] Operation: 78/2=39
Exploring Operation: 9+2=11, Resulting Numbers: [78, 11]
Generated Node #0,4,2: 48:[78, 11] Operation: 9+2=11
Exploring Operation: 78-9=69, Resulting Numbers: [2, 69]
Generated Node #0,4,3: 48:[2, 69] Operation: 78-9=69
Exploring Operation: 9-2=7, Resulting Numbers: [78, 7]
Generated Node #0,4,4: 48:[78, 7] Operation: 9-2=7
Moving to Node #0,4,1
Current State: 48:[9, 39], Operations: ['54/27=2', '78/2=39']
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,48 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[9, 54, 78, 27], Operations: []
Exploring Operation: 54/27=2, Resulting Numbers: [9, 78, 2]
Generated Node #0,4: 48:[9, 78, 2] Operation: 54/27=2
Moving to Node #0,4
Current State: 48:[9, 78, 2], Operations: ['54/27=2']
Exploring Operation: 78/2=39, Resulting Numbers: [9, 39]
Generated Node #0,4,1: 48:[9, 39] Operation: 78/2=39
Moving to Node #0,4,1
Current State: 48:[9, 39], Operations: ['54/27=2', '78/2=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.930556 | hs_5 | mult_heuristic |
[
40,
76,
2,
61
] | 95 | [
"76-40=36",
"61-2=59",
"36+59=95"
] | Current State: 95:[40, 76, 2, 61], Operations: []
Exploring Operation: 76-40=36, Resulting Numbers: [2, 61, 36]
Generated Node #2: [2, 61, 36] from Operation: 76-40=36
Current State: 95:[2, 61, 36], Operations: ['76-40=36']
Exploring Operation: 61-2=59, Resulting Numbers: [36, 59]
Generated Node #3: [36, 59] from Operation: 61-2=59
Current State: 95:[36, 59], Operations: ['76-40=36', '61-2=59']
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[40, 76, 2, 61], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [76, 61, 20]
Generated Node #0,0: 95:[76, 61, 20] Operation: 40/2=20
Exploring Operation: 76-40=36, Resulting Numbers: [2, 61, 36]
Generated Node #0,1: 95:[2, 61, 36] Operation: 76-40=36
Exploring Operation: 61-40=21, Resulting Numbers: [76, 2, 21]
Generated Node #0,2: 95:[76, 2, 21] Operation: 61-40=21
Exploring Operation: 76-61=15, Resulting Numbers: [40, 2, 15]
Generated Node #0,3: 95:[40, 2, 15] Operation: 76-61=15
Exploring Operation: 40+61=101, Resulting Numbers: [76, 2, 101]
Generated Node #0,4: 95:[76, 2, 101] Operation: 40+61=101
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[76, 2, 21], Operations: ['61-40=21']
Exploring Operation: 76+2=78, Resulting Numbers: [21, 78]
Generated Node #0,2,0: 95:[21, 78] Operation: 76+2=78
Exploring Operation: 76+21=97, Resulting Numbers: [2, 97]
Generated Node #0,2,1: 95:[2, 97] Operation: 76+21=97
Exploring Operation: 76-2=74, Resulting Numbers: [21, 74]
Generated Node #0,2,2: 95:[21, 74] Operation: 76-2=74
Exploring Operation: 76/2=38, Resulting Numbers: [21, 38]
Generated Node #0,2,3: 95:[21, 38] Operation: 76/2=38
Exploring Operation: 21-2=19, Resulting Numbers: [76, 19]
Generated Node #0,2,4: 95:[76, 19] Operation: 21-2=19
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[2, 97], Operations: ['61-40=21', '76+21=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[40, 76, 2, 61], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [76, 2, 21]
Generated Node #0,2: 95:[76, 2, 21] Operation: 61-40=21
Moving to Node #0,2
Current State: 95:[76, 2, 21], Operations: ['61-40=21']
Exploring Operation: 76+21=97, Resulting Numbers: [2, 97]
Generated Node #0,2,1: 95:[2, 97] Operation: 76+21=97
Moving to Node #0,2,1
Current State: 95:[2, 97], Operations: ['61-40=21', '76+21=97']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
76,
28,
27,
60
] | 81 | [
"76-28=48",
"60-27=33",
"48+33=81"
] | Current State: 81:[76, 28, 27, 60], Operations: []
Exploring Operation: 76-28=48, Resulting Numbers: [27, 60, 48]
Generated Node #2: [27, 60, 48] from Operation: 76-28=48
Current State: 81:[27, 60, 48], Operations: ['76-28=48']
Exploring Operation: 60-27=33, Resulting Numbers: [48, 33]
Generated Node #3: [48, 33] from Operation: 60-27=33
Current State: 81:[48, 33], Operations: ['76-28=48', '60-27=33']
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[76, 28, 27, 60], Operations: []
Exploring Operation: 28+60=88, Resulting Numbers: [76, 27, 88]
Generated Node #0,0: 81:[76, 27, 88] Operation: 28+60=88
Exploring Operation: 27+60=87, Resulting Numbers: [76, 28, 87]
Generated Node #0,1: 81:[76, 28, 87] Operation: 27+60=87
Exploring Operation: 76-60=16, Resulting Numbers: [28, 27, 16]
Generated Node #0,2: 81:[28, 27, 16] Operation: 76-60=16
Exploring Operation: 60-28=32, Resulting Numbers: [76, 27, 32]
Generated Node #0,3: 81:[76, 27, 32] Operation: 60-28=32
Exploring Operation: 60-27=33, Resulting Numbers: [76, 28, 33]
Generated Node #0,4: 81:[76, 28, 33] Operation: 60-27=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[28, 27, 16], Operations: ['76-60=16']
Exploring Operation: 27+16=43, Resulting Numbers: [28, 43]
Generated Node #0,2,0: 81:[28, 43] Operation: 27+16=43
Exploring Operation: 28+16=44, Resulting Numbers: [27, 44]
Generated Node #0,2,1: 81:[27, 44] Operation: 28+16=44
Exploring Operation: 28-27=1, Resulting Numbers: [16, 1]
Generated Node #0,2,2: 81:[16, 1] Operation: 28-27=1
Exploring Operation: 27-16=11, Resulting Numbers: [28, 11]
Generated Node #0,2,3: 81:[28, 11] Operation: 27-16=11
Exploring Operation: 28-16=12, Resulting Numbers: [27, 12]
Generated Node #0,2,4: 81:[27, 12] Operation: 28-16=12
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 81:[28, 11], Operations: ['76-60=16', '27-16=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,81 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,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,2,4
Current State: 81:[27, 12], Operations: ['76-60=16', '28-16=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,81 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,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,2,2
Current State: 81:[16, 1], Operations: ['76-60=16', '28-27=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,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,2,0
Current State: 81:[28, 43], Operations: ['76-60=16', '27+16=43']
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,81 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,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,2,1
Current State: 81:[27, 44], Operations: ['76-60=16', '28+16=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,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,3
Current State: 81:[76, 27, 32], Operations: ['60-28=32']
Exploring Operation: 32-27=5, Resulting Numbers: [76, 5]
Generated Node #0,3,0: 81:[76, 5] Operation: 32-27=5
Exploring Operation: 76-32=44, Resulting Numbers: [27, 44]
Generated Node #0,3,1: 81:[27, 44] Operation: 76-32=44
Exploring Operation: 76+27=103, Resulting Numbers: [32, 103]
Generated Node #0,3,2: 81:[32, 103] Operation: 76+27=103
Exploring Operation: 76-27=49, Resulting Numbers: [32, 49]
Generated Node #0,3,3: 81:[32, 49] Operation: 76-27=49
Exploring Operation: 76+32=108, Resulting Numbers: [27, 108]
Generated Node #0,3,4: 81:[27, 108] Operation: 76+32=108
Moving to Node #0,3,0
Current State: 81:[76, 5], Operations: ['60-28=32', '32-27=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[76, 28, 27, 60], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [76, 27, 32]
Generated Node #0,3: 81:[76, 27, 32] Operation: 60-28=32
Moving to Node #0,3
Current State: 81:[76, 27, 32], Operations: ['60-28=32']
Exploring Operation: 32-27=5, Resulting Numbers: [76, 5]
Generated Node #0,3,0: 81:[76, 5] Operation: 32-27=5
Moving to Node #0,3,0
Current State: 81:[76, 5], Operations: ['60-28=32', '32-27=5']
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
19,
90,
51,
56
] | 76 | [
"90-19=71",
"56-51=5",
"71+5=76"
] | Current State: 76:[19, 90, 51, 56], Operations: []
Exploring Operation: 90-19=71, Resulting Numbers: [51, 56, 71]
Generated Node #2: [51, 56, 71] from Operation: 90-19=71
Current State: 76:[51, 56, 71], Operations: ['90-19=71']
Exploring Operation: 56-51=5, Resulting Numbers: [71, 5]
Generated Node #3: [71, 5] from Operation: 56-51=5
Current State: 76:[71, 5], Operations: ['90-19=71', '56-51=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[19, 90, 51, 56], Operations: []
Exploring Operation: 19+56=75, Resulting Numbers: [90, 51, 75]
Generated Node #0,0: 76:[90, 51, 75] Operation: 19+56=75
Exploring Operation: 56-51=5, Resulting Numbers: [19, 90, 5]
Generated Node #0,1: 76:[19, 90, 5] Operation: 56-51=5
Exploring Operation: 90-51=39, Resulting Numbers: [19, 56, 39]
Generated Node #0,2: 76:[19, 56, 39] Operation: 90-51=39
Exploring Operation: 90-56=34, Resulting Numbers: [19, 51, 34]
Generated Node #0,3: 76:[19, 51, 34] Operation: 90-56=34
Moving to Node #0,1
Current State: 76:[19, 90, 5], Operations: ['56-51=5']
Exploring Operation: 19+5=24, Resulting Numbers: [90, 24]
Generated Node #0,1,0: 76:[90, 24] Operation: 19+5=24
Exploring Operation: 90/5=18, Resulting Numbers: [19, 18]
Generated Node #0,1,1: 76:[19, 18] Operation: 90/5=18
Exploring Operation: 90-5=85, Resulting Numbers: [19, 85]
Generated Node #0,1,2: 76:[19, 85] Operation: 90-5=85
Exploring Operation: 90-19=71, Resulting Numbers: [5, 71]
Generated Node #0,1,3: 76:[5, 71] Operation: 90-19=71
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[19, 18], Operations: ['56-51=5', '90/5=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,76 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[5, 71], Operations: ['56-51=5', '90-19=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[19, 90, 51, 56], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [19, 90, 5]
Generated Node #0,1: 76:[19, 90, 5] Operation: 56-51=5
Moving to Node #0,1
Current State: 76:[19, 90, 5], Operations: ['56-51=5']
Exploring Operation: 90-19=71, Resulting Numbers: [5, 71]
Generated Node #0,1,3: 76:[5, 71] Operation: 90-19=71
Moving to Node #0,1,3
Current State: 76:[5, 71], Operations: ['56-51=5', '90-19=71']
Exploring Operation: 5+71=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
15,
91,
8,
53
] | 61 | [
"15+91=106",
"53-8=45",
"106-45=61"
] | Current State: 61:[15, 91, 8, 53], Operations: []
Exploring Operation: 15+91=106, Resulting Numbers: [8, 53, 106]
Generated Node #2: [8, 53, 106] from Operation: 15+91=106
Current State: 61:[8, 53, 106], Operations: ['15+91=106']
Exploring Operation: 53-8=45, Resulting Numbers: [106, 45]
Generated Node #3: [106, 45] from Operation: 53-8=45
Current State: 61:[106, 45], Operations: ['15+91=106', '53-8=45']
Exploring Operation: 106-45=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[15, 91, 8, 53], Operations: []
Exploring Operation: 91-8=83, Resulting Numbers: [15, 53, 83]
Generated Node #0,0: 61:[15, 53, 83] Operation: 91-8=83
Exploring Operation: 91-15=76, Resulting Numbers: [8, 53, 76]
Generated Node #0,1: 61:[8, 53, 76] Operation: 91-15=76
Exploring Operation: 8+53=61, Resulting Numbers: [15, 91, 61]
Generated Node #0,2: 61:[15, 91, 61] Operation: 8+53=61
Exploring Operation: 15+8=23, Resulting Numbers: [91, 53, 23]
Generated Node #0,3: 61:[91, 53, 23] Operation: 15+8=23
Moving to Node #0,0
Current State: 61:[15, 53, 83], Operations: ['91-8=83']
Exploring Operation: 53-15=38, Resulting Numbers: [83, 38]
Generated Node #0,0,0: 61:[83, 38] Operation: 53-15=38
Exploring Operation: 15+53=68, Resulting Numbers: [83, 68]
Generated Node #0,0,1: 61:[83, 68] Operation: 15+53=68
Exploring Operation: 15+83=98, Resulting Numbers: [53, 98]
Generated Node #0,0,2: 61:[53, 98] Operation: 15+83=98
Exploring Operation: 83-15=68, Resulting Numbers: [53, 68]
Generated Node #0,0,3: 61:[53, 68] Operation: 83-15=68
Moving to Node #0,2
Current State: 61:[15, 91, 61], Operations: ['8+53=61']
Exploring Operation: 15+61=76, Resulting Numbers: [91, 76]
Generated Node #0,2,0: 61:[91, 76] Operation: 15+61=76
Exploring Operation: 15+91=106, Resulting Numbers: [61, 106]
Generated Node #0,2,1: 61:[61, 106] Operation: 15+91=106
Exploring Operation: 91-15=76, Resulting Numbers: [61, 76]
Generated Node #0,2,2: 61:[61, 76] Operation: 91-15=76
Exploring Operation: 61-15=46, Resulting Numbers: [91, 46]
Generated Node #0,2,3: 61:[91, 46] Operation: 61-15=46
Moving to Node #0,1
Current State: 61:[8, 53, 76], Operations: ['91-15=76']
Exploring Operation: 8+76=84, Resulting Numbers: [53, 84]
Generated Node #0,1,0: 61:[53, 84] Operation: 8+76=84
Exploring Operation: 8+53=61, Resulting Numbers: [76, 61]
Generated Node #0,1,1: 61:[76, 61] Operation: 8+53=61
Exploring Operation: 76-8=68, Resulting Numbers: [53, 68]
Generated Node #0,1,2: 61:[53, 68] Operation: 76-8=68
Exploring Operation: 53-8=45, Resulting Numbers: [76, 45]
Generated Node #0,1,3: 61:[76, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[76, 61], Operations: ['91-15=76', '8+53=61']
Exploring Operation: 76*61=4636, Resulting Numbers: [4636]
4636,61 unequal: No Solution
Exploring Operation: 76+61=137, Resulting Numbers: [137]
137,61 unequal: No Solution
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[53, 68], Operations: ['91-15=76', '76-8=68']
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,61 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[53, 84], Operations: ['91-15=76', '8+76=84']
Exploring Operation: 53+84=137, Resulting Numbers: [137]
137,61 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 53*84=4452, Resulting Numbers: [4452]
4452,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[76, 45], Operations: ['91-15=76', '53-8=45']
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,61 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,61 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: 61:[91, 53, 23], Operations: ['15+8=23']
Exploring Operation: 91+23=114, Resulting Numbers: [53, 114]
Generated Node #0,3,0: 61:[53, 114] Operation: 91+23=114
Exploring Operation: 91-53=38, Resulting Numbers: [23, 38]
Generated Node #0,3,1: 61:[23, 38] Operation: 91-53=38
Exploring Operation: 91-23=68, Resulting Numbers: [53, 68]
Generated Node #0,3,2: 61:[53, 68] Operation: 91-23=68
Exploring Operation: 53+23=76, Resulting Numbers: [91, 76]
Generated Node #0,3,3: 61:[91, 76] Operation: 53+23=76
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 61:[53, 68], Operations: ['15+8=23', '91-23=68']
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,61 unequal: No Solution
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[91, 76], Operations: ['15+8=23', '53+23=76']
Exploring Operation: 91*76=6916, Resulting Numbers: [6916]
6916,61 unequal: No Solution
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[53, 114], Operations: ['15+8=23', '91+23=114']
Exploring Operation: 53*114=6042, Resulting Numbers: [6042]
6042,61 unequal: No Solution
Exploring Operation: 53+114=167, Resulting Numbers: [167]
167,61 unequal: No Solution
Exploring Operation: 114-53=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[15, 91, 8, 53], Operations: []
Exploring Operation: 15+8=23, Resulting Numbers: [91, 53, 23]
Generated Node #0,3: 61:[91, 53, 23] Operation: 15+8=23
Moving to Node #0,3
Current State: 61:[91, 53, 23], Operations: ['15+8=23']
Exploring Operation: 91+23=114, Resulting Numbers: [53, 114]
Generated Node #0,3,0: 61:[53, 114] Operation: 91+23=114
Moving to Node #0,3,0
Current State: 61:[53, 114], Operations: ['15+8=23', '91+23=114']
Exploring Operation: 114-53=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | mult_heuristic |
[
77,
90,
4,
17
] | 69 | [
"90-77=13",
"4*13=52",
"17+52=69"
] | Current State: 69:[77, 90, 4, 17], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [4, 17, 13]
Generated Node #2: [4, 17, 13] from Operation: 90-77=13
Current State: 69:[4, 17, 13], Operations: ['90-77=13']
Exploring Operation: 4*13=52, Resulting Numbers: [17, 52]
Generated Node #3: [17, 52] from Operation: 4*13=52
Current State: 69:[17, 52], Operations: ['90-77=13', '4*13=52']
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[77, 90, 4, 17], Operations: []
Exploring Operation: 90-17=73, Resulting Numbers: [77, 4, 73]
Generated Node #0,0: 69:[77, 4, 73] Operation: 90-17=73
Exploring Operation: 90-77=13, Resulting Numbers: [4, 17, 13]
Generated Node #0,1: 69:[4, 17, 13] Operation: 90-77=13
Exploring Operation: 4*17=68, Resulting Numbers: [77, 90, 68]
Generated Node #0,2: 69:[77, 90, 68] Operation: 4*17=68
Moving to Node #0,0
Current State: 69:[77, 4, 73], Operations: ['90-17=73']
Exploring Operation: 73-4=69, Resulting Numbers: [77, 69]
Generated Node #0,0,0: 69:[77, 69] Operation: 73-4=69
Exploring Operation: 77-73=4, Resulting Numbers: [4, 4]
Generated Node #0,0,1: 69:[4, 4] Operation: 77-73=4
Exploring Operation: 77-4=73, Resulting Numbers: [73, 73]
Generated Node #0,0,2: 69:[73, 73] Operation: 77-4=73
Moving to Node #0,1
Current State: 69:[4, 17, 13], Operations: ['90-77=13']
Exploring Operation: 17+13=30, Resulting Numbers: [4, 30]
Generated Node #0,1,0: 69:[4, 30] Operation: 17+13=30
Exploring Operation: 4*17=68, Resulting Numbers: [13, 68]
Generated Node #0,1,1: 69:[13, 68] Operation: 4*17=68
Exploring Operation: 17-13=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 69:[4, 4] Operation: 17-13=4
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[4, 4], Operations: ['90-77=13', '17-13=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[4, 30], Operations: ['90-77=13', '17+13=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,69 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,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,1,1
Current State: 69:[13, 68], Operations: ['90-77=13', '4*17=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,69 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,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:[77, 90, 68], Operations: ['4*17=68']
Exploring Operation: 90-77=13, Resulting Numbers: [68, 13]
Generated Node #0,2,0: 69:[68, 13] Operation: 90-77=13
Exploring Operation: 77-68=9, Resulting Numbers: [90, 9]
Generated Node #0,2,1: 69:[90, 9] Operation: 77-68=9
Exploring Operation: 90-68=22, Resulting Numbers: [77, 22]
Generated Node #0,2,2: 69:[77, 22] Operation: 90-68=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 69:[77, 22], Operations: ['4*17=68', '90-68=22']
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 77*22=1694, Resulting Numbers: [1694]
1694,69 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 69:[68, 13], Operations: ['4*17=68', '90-77=13']
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,69 unequal: No Solution
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[90, 9], Operations: ['4*17=68', '77-68=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,69 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,69 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: 69:[4, 4], Operations: ['90-17=73', '77-73=4']
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,69 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[77, 69], Operations: ['90-17=73', '73-4=69']
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,69 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,69 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[73, 73], Operations: ['90-17=73', '77-4=73']
Exploring Operation: 73+73=146, Resulting Numbers: [146]
146,69 unequal: No Solution
Exploring Operation: 73-73=0, Resulting Numbers: [0]
0,69 unequal: No Solution
Exploring Operation: 73/73=1, Resulting Numbers: [1]
1,69 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
17,
66,
51,
29
] | 98 | [
"51/17=3",
"66+29=95",
"3+95=98"
] | Current State: 98:[17, 66, 51, 29], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [66, 29, 3]
Generated Node #2: [66, 29, 3] from Operation: 51/17=3
Current State: 98:[66, 29, 3], Operations: ['51/17=3']
Exploring Operation: 66+29=95, Resulting Numbers: [3, 95]
Generated Node #3: [3, 95] from Operation: 66+29=95
Current State: 98:[3, 95], Operations: ['51/17=3', '66+29=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[17, 66, 51, 29], Operations: []
Exploring Operation: 66+29=95, Resulting Numbers: [17, 51, 95]
Generated Node #0,0: 98:[17, 51, 95] Operation: 66+29=95
Moving to Node #0,0
Current State: 98:[17, 51, 95], Operations: ['66+29=95']
Exploring Operation: 51/17=3, Resulting Numbers: [95, 3]
Generated Node #0,0,0: 98:[95, 3] Operation: 51/17=3
Moving to Node #0,0,0
Current State: 98:[95, 3], Operations: ['66+29=95', '51/17=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[17, 66, 51, 29], Operations: []
Exploring Operation: 66+29=95, Resulting Numbers: [17, 51, 95]
Generated Node #0,0: 98:[17, 51, 95] Operation: 66+29=95
Moving to Node #0,0
Current State: 98:[17, 51, 95], Operations: ['66+29=95']
Exploring Operation: 51/17=3, Resulting Numbers: [95, 3]
Generated Node #0,0,0: 98:[95, 3] Operation: 51/17=3
Moving to Node #0,0,0
Current State: 98:[95, 3], Operations: ['66+29=95', '51/17=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
77,
1,
82,
78
] | 19 | [
"77-1=76",
"82-78=4",
"76/4=19"
] | Current State: 19:[77, 1, 82, 78], Operations: []
Exploring Operation: 77-1=76, Resulting Numbers: [82, 78, 76]
Generated Node #2: [82, 78, 76] from Operation: 77-1=76
Current State: 19:[82, 78, 76], Operations: ['77-1=76']
Exploring Operation: 82-78=4, Resulting Numbers: [76, 4]
Generated Node #3: [76, 4] from Operation: 82-78=4
Current State: 19:[76, 4], Operations: ['77-1=76', '82-78=4']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[77, 1, 82, 78], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [1, 78, 5]
Generated Node #0,0: 19:[1, 78, 5] Operation: 82-77=5
Exploring Operation: 82-78=4, Resulting Numbers: [77, 1, 4]
Generated Node #0,1: 19:[77, 1, 4] Operation: 82-78=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[1, 78, 5], Operations: ['82-77=5']
Exploring Operation: 78-1=77, Resulting Numbers: [5, 77]
Generated Node #0,0,0: 19:[5, 77] Operation: 78-1=77
Exploring Operation: 1+5=6, Resulting Numbers: [78, 6]
Generated Node #0,0,1: 19:[78, 6] Operation: 1+5=6
Moving to Node #0,0,0
Current State: 19:[5, 77], Operations: ['82-77=5', '78-1=77']
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,19 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[78, 6], Operations: ['82-77=5', '1+5=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,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,1
Current State: 19:[77, 1, 4], Operations: ['82-78=4']
Exploring Operation: 77-1=76, Resulting Numbers: [4, 76]
Generated Node #0,1,0: 19:[4, 76] Operation: 77-1=76
Exploring Operation: 77-4=73, Resulting Numbers: [1, 73]
Generated Node #0,1,1: 19:[1, 73] Operation: 77-4=73
Moving to Node #0,1,0
Current State: 19:[4, 76], Operations: ['82-78=4', '77-1=76']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,19 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[77, 1, 82, 78], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [77, 1, 4]
Generated Node #0,1: 19:[77, 1, 4] Operation: 82-78=4
Moving to Node #0,1
Current State: 19:[77, 1, 4], Operations: ['82-78=4']
Exploring Operation: 77-1=76, Resulting Numbers: [4, 76]
Generated Node #0,1,0: 19:[4, 76] Operation: 77-1=76
Moving to Node #0,1,0
Current State: 19:[4, 76], Operations: ['82-78=4', '77-1=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
56,
30,
34,
68
] | 73 | [
"34-30=4",
"68/4=17",
"56+17=73"
] | Current State: 73:[56, 30, 34, 68], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [56, 68, 4]
Generated Node #2: [56, 68, 4] from Operation: 34-30=4
Current State: 73:[56, 68, 4], Operations: ['34-30=4']
Exploring Operation: 68/4=17, Resulting Numbers: [56, 17]
Generated Node #3: [56, 17] from Operation: 68/4=17
Current State: 73:[56, 17], Operations: ['34-30=4', '68/4=17']
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[56, 30, 34, 68], Operations: []
Exploring Operation: 30+34=64, Resulting Numbers: [56, 68, 64]
Generated Node #0,0: 73:[56, 68, 64] Operation: 30+34=64
Exploring Operation: 56+30=86, Resulting Numbers: [34, 68, 86]
Generated Node #0,1: 73:[34, 68, 86] Operation: 56+30=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[56, 68, 64], Operations: ['30+34=64']
Exploring Operation: 56+68=124, Resulting Numbers: [64, 124]
Generated Node #0,0,0: 73:[64, 124] Operation: 56+68=124
Exploring Operation: 56+64=120, Resulting Numbers: [68, 120]
Generated Node #0,0,1: 73:[68, 120] Operation: 56+64=120
Moving to Node #0,0,1
Current State: 73:[68, 120], Operations: ['30+34=64', '56+64=120']
Exploring Operation: 120-68=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 68+120=188, Resulting Numbers: [188]
188,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[64, 124], Operations: ['30+34=64', '56+68=124']
Exploring Operation: 124-64=60, Resulting Numbers: [60]
60,73 unequal: No Solution
Exploring Operation: 64+124=188, Resulting Numbers: [188]
188,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[34, 68, 86], Operations: ['56+30=86']
Exploring Operation: 86-34=52, Resulting Numbers: [68, 52]
Generated Node #0,1,0: 73:[68, 52] Operation: 86-34=52
Exploring Operation: 34+68=102, Resulting Numbers: [86, 102]
Generated Node #0,1,1: 73:[86, 102] Operation: 34+68=102
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[68, 52], Operations: ['56+30=86', '86-34=52']
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,73 unequal: No Solution
No 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: 73:[86, 102], Operations: ['56+30=86', '34+68=102']
Exploring Operation: 102-86=16, Resulting Numbers: [16]
16,73 unequal: No Solution
Exploring Operation: 86+102=188, Resulting Numbers: [188]
188,73 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 |
[
19,
28,
22,
44
] | 33 | [
"28*22=616",
"616/44=14",
"19+14=33"
] | Current State: 33:[19, 28, 22, 44], Operations: []
Exploring Operation: 28*22=616, Resulting Numbers: [19, 44, 616]
Generated Node #2: [19, 44, 616] from Operation: 28*22=616
Current State: 33:[19, 44, 616], Operations: ['28*22=616']
Exploring Operation: 616/44=14, Resulting Numbers: [19, 14]
Generated Node #3: [19, 14] from Operation: 616/44=14
Current State: 33:[19, 14], Operations: ['28*22=616', '616/44=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[19, 28, 22, 44], Operations: []
Exploring Operation: 28-22=6, Resulting Numbers: [19, 44, 6]
Generated Node #0,0: 33:[19, 44, 6] Operation: 28-22=6
Exploring Operation: 22-19=3, Resulting Numbers: [28, 44, 3]
Generated Node #0,1: 33:[28, 44, 3] Operation: 22-19=3
Exploring Operation: 28-19=9, Resulting Numbers: [22, 44, 9]
Generated Node #0,2: 33:[22, 44, 9] Operation: 28-19=9
Exploring Operation: 44/22=2, Resulting Numbers: [19, 28, 2]
Generated Node #0,3: 33:[19, 28, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[19, 28, 2], Operations: ['44/22=2']
Exploring Operation: 28-19=9, Resulting Numbers: [2, 9]
Generated Node #0,3,0: 33:[2, 9] Operation: 28-19=9
Exploring Operation: 19-2=17, Resulting Numbers: [28, 17]
Generated Node #0,3,1: 33:[28, 17] Operation: 19-2=17
Exploring Operation: 28+2=30, Resulting Numbers: [19, 30]
Generated Node #0,3,2: 33:[19, 30] Operation: 28+2=30
Exploring Operation: 19*2=38, Resulting Numbers: [28, 38]
Generated Node #0,3,3: 33:[28, 38] Operation: 19*2=38
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[2, 9], Operations: ['44/22=2', '28-19=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[28, 38], Operations: ['44/22=2', '19*2=38']
Exploring Operation: 28*38=1064, Resulting Numbers: [1064]
1064,33 unequal: No Solution
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[28, 17], Operations: ['44/22=2', '19-2=17']
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,33 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,33 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[19, 30], Operations: ['44/22=2', '28+2=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[28, 44, 3], Operations: ['22-19=3']
Exploring Operation: 28-3=25, Resulting Numbers: [44, 25]
Generated Node #0,1,0: 33:[44, 25] Operation: 28-3=25
Exploring Operation: 44-3=41, Resulting Numbers: [28, 41]
Generated Node #0,1,1: 33:[28, 41] Operation: 44-3=41
Exploring Operation: 28+3=31, Resulting Numbers: [44, 31]
Generated Node #0,1,2: 33:[44, 31] Operation: 28+3=31
Exploring Operation: 44-28=16, Resulting Numbers: [3, 16]
Generated Node #0,1,3: 33:[3, 16] Operation: 44-28=16
Moving to Node #0,1,3
Current State: 33:[3, 16], Operations: ['22-19=3', '44-28=16']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,33 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[44, 31], Operations: ['22-19=3', '28+3=31']
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[28, 41], Operations: ['22-19=3', '44-3=41']
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[44, 25], Operations: ['22-19=3', '28-3=25']
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,33 unequal: No Solution
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[19, 44, 6], Operations: ['28-22=6']
Exploring Operation: 44-19=25, Resulting Numbers: [6, 25]
Generated Node #0,0,0: 33:[6, 25] Operation: 44-19=25
Exploring Operation: 19-6=13, Resulting Numbers: [44, 13]
Generated Node #0,0,1: 33:[44, 13] Operation: 19-6=13
Exploring Operation: 44-6=38, Resulting Numbers: [19, 38]
Generated Node #0,0,2: 33:[19, 38] Operation: 44-6=38
Exploring Operation: 19+6=25, Resulting Numbers: [44, 25]
Generated Node #0,0,3: 33:[44, 25] Operation: 19+6=25
Moving to Node #0,0,0
Current State: 33:[6, 25], Operations: ['28-22=6', '44-19=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,33 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[19, 38], Operations: ['28-22=6', '44-6=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,33 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[44, 13], Operations: ['28-22=6', '19-6=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,33 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[44, 25], Operations: ['28-22=6', '19+6=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,33 unequal: No Solution
Exploring Operation: 44-25=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 44*25=1100, Resulting Numbers: [1100]
1100,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[22, 44, 9], Operations: ['28-19=9']
Exploring Operation: 22-9=13, Resulting Numbers: [44, 13]
Generated Node #0,2,0: 33:[44, 13] Operation: 22-9=13
Exploring Operation: 44/22=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 33:[9, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [9, 22]
Generated Node #0,2,2: 33:[9, 22] Operation: 44-22=22
Exploring Operation: 22+9=31, Resulting Numbers: [44, 31]
Generated Node #0,2,3: 33:[44, 31] Operation: 22+9=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[9, 2], Operations: ['28-19=9', '44/22=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[44, 13], Operations: ['28-19=9', '22-9=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 44+13=57, Resulting Numbers: [57]
57,33 unequal: No Solution
Exploring Operation: 44*13=572, Resulting Numbers: [572]
572,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[9, 22], Operations: ['28-19=9', '44-22=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,33 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 33:[44, 31], Operations: ['28-19=9', '22+9=31']
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,33 unequal: No Solution
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,33 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
11,
39,
27,
7
] | 24 | [
"11*27=297",
"39*7=273",
"297-273=24"
] | Current State: 24:[11, 39, 27, 7], Operations: []
Exploring Operation: 11*27=297, Resulting Numbers: [39, 7, 297]
Generated Node #2: [39, 7, 297] from Operation: 11*27=297
Current State: 24:[39, 7, 297], Operations: ['11*27=297']
Exploring Operation: 39*7=273, Resulting Numbers: [297, 273]
Generated Node #3: [297, 273] from Operation: 39*7=273
Current State: 24:[297, 273], Operations: ['11*27=297', '39*7=273']
Exploring Operation: 297-273=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[11, 39, 27, 7], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [11, 7, 12]
Generated Node #0,0: 24:[11, 7, 12] Operation: 39-27=12
Exploring Operation: 27-11=16, Resulting Numbers: [39, 7, 16]
Generated Node #0,1: 24:[39, 7, 16] Operation: 27-11=16
Exploring Operation: 39-11=28, Resulting Numbers: [27, 7, 28]
Generated Node #0,2: 24:[27, 7, 28] Operation: 39-11=28
Exploring Operation: 39-7=32, Resulting Numbers: [11, 27, 32]
Generated Node #0,3: 24:[11, 27, 32] Operation: 39-7=32
Exploring Operation: 11-7=4, Resulting Numbers: [39, 27, 4]
Generated Node #0,4: 24:[39, 27, 4] Operation: 11-7=4
Moving to Node #0,0
Current State: 24:[11, 7, 12], Operations: ['39-27=12']
Exploring Operation: 12-7=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 24:[11, 5] Operation: 12-7=5
Exploring Operation: 11+7=18, Resulting Numbers: [12, 18]
Generated Node #0,0,1: 24:[12, 18] Operation: 11+7=18
Exploring Operation: 11+12=23, Resulting Numbers: [7, 23]
Generated Node #0,0,2: 24:[7, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [7, 1]
Generated Node #0,0,3: 24:[7, 1] Operation: 12-11=1
Exploring Operation: 11-7=4, Resulting Numbers: [12, 4]
Generated Node #0,0,4: 24:[12, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 24:[12, 4], Operations: ['39-27=12', '11-7=4']
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[11, 5], Operations: ['39-27=12', '12-7=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[7, 23], Operations: ['39-27=12', '11+12=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,24 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 24:[7, 1], Operations: ['39-27=12', '12-11=1']
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[12, 18], Operations: ['39-27=12', '11+7=18']
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,24 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,24 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: 24:[27, 7, 28], Operations: ['39-11=28']
Exploring Operation: 27-7=20, Resulting Numbers: [28, 20]
Generated Node #0,2,0: 24:[28, 20] Operation: 27-7=20
Exploring Operation: 28-7=21, Resulting Numbers: [27, 21]
Generated Node #0,2,1: 24:[27, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [27, 4]
Generated Node #0,2,2: 24:[27, 4] Operation: 28/7=4
Exploring Operation: 28-27=1, Resulting Numbers: [7, 1]
Generated Node #0,2,3: 24:[7, 1] Operation: 28-27=1
Exploring Operation: 27+7=34, Resulting Numbers: [28, 34]
Generated Node #0,2,4: 24:[28, 34] Operation: 27+7=34
Moving to Node #0,3
Current State: 24:[11, 27, 32], Operations: ['39-7=32']
Exploring Operation: 27-11=16, Resulting Numbers: [32, 16]
Generated Node #0,3,0: 24:[32, 16] Operation: 27-11=16
Exploring Operation: 11+27=38, Resulting Numbers: [32, 38]
Generated Node #0,3,1: 24:[32, 38] Operation: 11+27=38
Exploring Operation: 32-27=5, Resulting Numbers: [11, 5]
Generated Node #0,3,2: 24:[11, 5] Operation: 32-27=5
Exploring Operation: 11+32=43, Resulting Numbers: [27, 43]
Generated Node #0,3,3: 24:[27, 43] Operation: 11+32=43
Exploring Operation: 32-11=21, Resulting Numbers: [27, 21]
Generated Node #0,3,4: 24:[27, 21] Operation: 32-11=21
Moving to Node #0,4
Current State: 24:[39, 27, 4], Operations: ['11-7=4']
Exploring Operation: 27+4=31, Resulting Numbers: [39, 31]
Generated Node #0,4,0: 24:[39, 31] Operation: 27+4=31
Exploring Operation: 39-4=35, Resulting Numbers: [27, 35]
Generated Node #0,4,1: 24:[27, 35] Operation: 39-4=35
Exploring Operation: 27-4=23, Resulting Numbers: [39, 23]
Generated Node #0,4,2: 24:[39, 23] Operation: 27-4=23
Exploring Operation: 39+4=43, Resulting Numbers: [27, 43]
Generated Node #0,4,3: 24:[27, 43] Operation: 39+4=43
Exploring Operation: 39-27=12, Resulting Numbers: [4, 12]
Generated Node #0,4,4: 24:[4, 12] Operation: 39-27=12
Moving to Node #0,1
Current State: 24:[39, 7, 16], Operations: ['27-11=16']
Exploring Operation: 16-7=9, Resulting Numbers: [39, 9]
Generated Node #0,1,0: 24:[39, 9] Operation: 16-7=9
Exploring Operation: 7+16=23, Resulting Numbers: [39, 23]
Generated Node #0,1,1: 24:[39, 23] Operation: 7+16=23
Exploring Operation: 39+7=46, Resulting Numbers: [16, 46]
Generated Node #0,1,2: 24:[16, 46] Operation: 39+7=46
Exploring Operation: 39-7=32, Resulting Numbers: [16, 32]
Generated Node #0,1,3: 24:[16, 32] Operation: 39-7=32
Exploring Operation: 39-16=23, Resulting Numbers: [7, 23]
Generated Node #0,1,4: 24:[7, 23] Operation: 39-16=23
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 24:[7, 23], Operations: ['27-11=16', '39-16=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[16, 32], Operations: ['27-11=16', '39-7=32']
Exploring Operation: 16+32=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 16*32=512, Resulting Numbers: [512]
512,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[39, 9], Operations: ['27-11=16', '16-7=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,24 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[39, 23], Operations: ['27-11=16', '7+16=23']
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,24 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[16, 46], Operations: ['27-11=16', '39+7=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,24 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 24:[4, 12], Operations: ['11-7=4', '39-27=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[11, 5], Operations: ['39-7=32', '32-27=5']
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[7, 1], Operations: ['39-11=28', '28-27=1']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[27, 4], Operations: ['39-11=28', '28/7=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 27*4=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Moving to Node #0,3,4
Current State: 24:[27, 21], Operations: ['39-7=32', '32-11=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[27, 21], Operations: ['39-11=28', '28-7=21']
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[28, 20], Operations: ['39-11=28', '27-7=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[32, 16], Operations: ['39-7=32', '27-11=16']
Exploring Operation: 32*16=512, Resulting Numbers: [512]
512,24 unequal: No Solution
Exploring Operation: 32+16=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 32/16=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Moving to Node #0,4,1
Current State: 24:[27, 35], Operations: ['11-7=4', '39-4=35']
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,24 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Moving to Node #0,2,4
Current State: 24:[28, 34], Operations: ['39-11=28', '27+7=34']
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,24 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Moving to Node #0,4,2
Current State: 24:[39, 23], Operations: ['11-7=4', '27-4=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,24 unequal: No Solution
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 39*23=897, Resulting Numbers: [897]
897,24 unequal: No Solution
Moving to Node #0,4,0
Current State: 24:[39, 31], Operations: ['11-7=4', '27+4=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,24 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,4,3
Current State: 24:[27, 43], Operations: ['11-7=4', '39+4=43']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[32, 38], Operations: ['39-7=32', '11+27=38']
Exploring Operation: 32*38=1216, Resulting Numbers: [1216]
1216,24 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[27, 43], Operations: ['39-7=32', '11+32=43']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 27*43=1161, Resulting Numbers: [1161]
1161,24 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
4,
11,
22
] | 61 | [
"32-4=28",
"11+22=33",
"28+33=61"
] | Current State: 61:[32, 4, 11, 22], Operations: []
Exploring Operation: 32-4=28, Resulting Numbers: [11, 22, 28]
Generated Node #2: [11, 22, 28] from Operation: 32-4=28
Current State: 61:[11, 22, 28], Operations: ['32-4=28']
Exploring Operation: 11+22=33, Resulting Numbers: [28, 33]
Generated Node #3: [28, 33] from Operation: 11+22=33
Current State: 61:[28, 33], Operations: ['32-4=28', '11+22=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[32, 4, 11, 22], Operations: []
Exploring Operation: 32+4=36, Resulting Numbers: [11, 22, 36]
Generated Node #0,0: 61:[11, 22, 36] Operation: 32+4=36
Exploring Operation: 4*11=44, Resulting Numbers: [32, 22, 44]
Generated Node #0,1: 61:[32, 22, 44] Operation: 4*11=44
Exploring Operation: 32+11=43, Resulting Numbers: [4, 22, 43]
Generated Node #0,2: 61:[4, 22, 43] Operation: 32+11=43
Exploring Operation: 4*22=88, Resulting Numbers: [32, 11, 88]
Generated Node #0,3: 61:[32, 11, 88] Operation: 4*22=88
Moving to Node #0,1
Current State: 61:[32, 22, 44], Operations: ['4*11=44']
Exploring Operation: 32-22=10, Resulting Numbers: [44, 10]
Generated Node #0,1,0: 61:[44, 10] Operation: 32-22=10
Exploring Operation: 32+44=76, Resulting Numbers: [22, 76]
Generated Node #0,1,1: 61:[22, 76] Operation: 32+44=76
Exploring Operation: 22+44=66, Resulting Numbers: [32, 66]
Generated Node #0,1,2: 61:[32, 66] Operation: 22+44=66
Exploring Operation: 32+22=54, Resulting Numbers: [44, 54]
Generated Node #0,1,3: 61:[44, 54] Operation: 32+22=54
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[44, 54], Operations: ['4*11=44', '32+22=54']
Exploring Operation: 44*54=2376, Resulting Numbers: [2376]
2376,61 unequal: No Solution
Exploring Operation: 44+54=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[32, 66], Operations: ['4*11=44', '22+44=66']
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,61 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[22, 76], Operations: ['4*11=44', '32+44=76']
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,61 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,61 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[44, 10], Operations: ['4*11=44', '32-22=10']
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,61 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,61 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: 61:[32, 11, 88], Operations: ['4*22=88']
Exploring Operation: 32+11=43, Resulting Numbers: [88, 43]
Generated Node #0,3,0: 61:[88, 43] Operation: 32+11=43
Exploring Operation: 32-11=21, Resulting Numbers: [88, 21]
Generated Node #0,3,1: 61:[88, 21] Operation: 32-11=21
Exploring Operation: 88-11=77, Resulting Numbers: [32, 77]
Generated Node #0,3,2: 61:[32, 77] Operation: 88-11=77
Exploring Operation: 88-32=56, Resulting Numbers: [11, 56]
Generated Node #0,3,3: 61:[11, 56] Operation: 88-32=56
Moving to Node #0,2
Current State: 61:[4, 22, 43], Operations: ['32+11=43']
Exploring Operation: 22-4=18, Resulting Numbers: [43, 18]
Generated Node #0,2,0: 61:[43, 18] Operation: 22-4=18
Exploring Operation: 4+43=47, Resulting Numbers: [22, 47]
Generated Node #0,2,1: 61:[22, 47] Operation: 4+43=47
Exploring Operation: 4+22=26, Resulting Numbers: [43, 26]
Generated Node #0,2,2: 61:[43, 26] Operation: 4+22=26
Exploring Operation: 4*22=88, Resulting Numbers: [43, 88]
Generated Node #0,2,3: 61:[43, 88] Operation: 4*22=88
Moving to Node #0,0
Current State: 61:[11, 22, 36], Operations: ['32+4=36']
Exploring Operation: 22-11=11, Resulting Numbers: [36, 11]
Generated Node #0,0,0: 61:[36, 11] Operation: 22-11=11
Exploring Operation: 22+36=58, Resulting Numbers: [11, 58]
Generated Node #0,0,1: 61:[11, 58] Operation: 22+36=58
Exploring Operation: 11+36=47, Resulting Numbers: [22, 47]
Generated Node #0,0,2: 61:[22, 47] Operation: 11+36=47
Exploring Operation: 11+22=33, Resulting Numbers: [36, 33]
Generated Node #0,0,3: 61:[36, 33] Operation: 11+22=33
Moving to Node #0,3,0
Current State: 61:[88, 43], Operations: ['4*22=88', '32+11=43']
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[32, 77], Operations: ['4*22=88', '88-11=77']
Exploring Operation: 32+77=109, Resulting Numbers: [109]
109,61 unequal: No Solution
Exploring Operation: 32*77=2464, Resulting Numbers: [2464]
2464,61 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[43, 88], Operations: ['32+11=43', '4*22=88']
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,61 unequal: No Solution
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,61 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[22, 47], Operations: ['32+11=43', '4+43=47']
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,61 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[43, 26], Operations: ['32+11=43', '4+22=26']
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 43*26=1118, Resulting Numbers: [1118]
1118,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[36, 33], Operations: ['32+4=36', '11+22=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[22, 47], Operations: ['32+4=36', '11+36=47']
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 22*47=1034, Resulting Numbers: [1034]
1034,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[11, 58], Operations: ['32+4=36', '22+36=58']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,61 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[11, 56], Operations: ['4*22=88', '88-32=56']
Exploring Operation: 11*56=616, Resulting Numbers: [616]
616,61 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,61 unequal: No Solution
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[43, 18], Operations: ['32+11=43', '22-4=18']
Exploring Operation: 43*18=774, Resulting Numbers: [774]
774,61 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[32, 4, 11, 22], Operations: []
Exploring Operation: 32+11=43, Resulting Numbers: [4, 22, 43]
Generated Node #0,2: 61:[4, 22, 43] Operation: 32+11=43
Moving to Node #0,2
Current State: 61:[4, 22, 43], Operations: ['32+11=43']
Exploring Operation: 22-4=18, Resulting Numbers: [43, 18]
Generated Node #0,2,0: 61:[43, 18] Operation: 22-4=18
Moving to Node #0,2,0
Current State: 61:[43, 18], Operations: ['32+11=43', '22-4=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 0.943576 | hs_4 | sum_heuristic |
[
92,
89,
32,
93
] | 31 | [
"92+32=124",
"93-89=4",
"124/4=31"
] | Current State: 31:[92, 89, 32, 93], Operations: []
Exploring Operation: 92+32=124, Resulting Numbers: [89, 93, 124]
Generated Node #2: [89, 93, 124] from Operation: 92+32=124
Current State: 31:[89, 93, 124], Operations: ['92+32=124']
Exploring Operation: 93-89=4, Resulting Numbers: [124, 4]
Generated Node #3: [124, 4] from Operation: 93-89=4
Current State: 31:[124, 4], Operations: ['92+32=124', '93-89=4']
Exploring Operation: 124/4=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[92, 89, 32, 93], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [92, 32, 4]
Generated Node #0,0: 31:[92, 32, 4] Operation: 93-89=4
Exploring Operation: 93-92=1, Resulting Numbers: [89, 32, 1]
Generated Node #0,1: 31:[89, 32, 1] Operation: 93-92=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[92, 32, 4], Operations: ['93-89=4']
Exploring Operation: 92/4=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 31:[32, 23] Operation: 92/4=23
Exploring Operation: 92-32=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 31:[4, 60] Operation: 92-32=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[32, 23], Operations: ['93-89=4', '92/4=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,31 unequal: No Solution
No 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: 31:[4, 60], Operations: ['93-89=4', '92-32=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,31 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: 31:[89, 32, 1], Operations: ['93-92=1']
Exploring Operation: 89-1=88, Resulting Numbers: [32, 88]
Generated Node #0,1,0: 31:[32, 88] Operation: 89-1=88
Exploring Operation: 89-32=57, Resulting Numbers: [1, 57]
Generated Node #0,1,1: 31:[1, 57] Operation: 89-32=57
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[1, 57], Operations: ['93-92=1', '89-32=57']
Exploring Operation: 1*57=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,31 unequal: No Solution
No 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: 31:[32, 88], Operations: ['93-92=1', '89-1=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,31 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 |
[
60,
46,
36,
12
] | 66 | [
"60*12=720",
"720/36=20",
"46+20=66"
] | Current State: 66:[60, 46, 36, 12], Operations: []
Exploring Operation: 60*12=720, Resulting Numbers: [46, 36, 720]
Generated Node #2: [46, 36, 720] from Operation: 60*12=720
Current State: 66:[46, 36, 720], Operations: ['60*12=720']
Exploring Operation: 720/36=20, Resulting Numbers: [46, 20]
Generated Node #3: [46, 20] from Operation: 720/36=20
Current State: 66:[46, 20], Operations: ['60*12=720', '720/36=20']
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[60, 46, 36, 12], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [46, 12, 24]
Generated Node #0,0: 66:[46, 12, 24] Operation: 60-36=24
Exploring Operation: 60-46=14, Resulting Numbers: [36, 12, 14]
Generated Node #0,1: 66:[36, 12, 14] Operation: 60-46=14
Exploring Operation: 46-36=10, Resulting Numbers: [60, 12, 10]
Generated Node #0,2: 66:[60, 12, 10] Operation: 46-36=10
Exploring Operation: 46-12=34, Resulting Numbers: [60, 36, 34]
Generated Node #0,3: 66:[60, 36, 34] Operation: 46-12=34
Exploring Operation: 60/12=5, Resulting Numbers: [46, 36, 5]
Generated Node #0,4: 66:[46, 36, 5] Operation: 60/12=5
Moving to Node #0,1
Current State: 66:[36, 12, 14], Operations: ['60-46=14']
Exploring Operation: 14-12=2, Resulting Numbers: [36, 2]
Generated Node #0,1,0: 66:[36, 2] Operation: 14-12=2
Exploring Operation: 12+14=26, Resulting Numbers: [36, 26]
Generated Node #0,1,1: 66:[36, 26] Operation: 12+14=26
Exploring Operation: 36-14=22, Resulting Numbers: [12, 22]
Generated Node #0,1,2: 66:[12, 22] Operation: 36-14=22
Exploring Operation: 36/12=3, Resulting Numbers: [14, 3]
Generated Node #0,1,3: 66:[14, 3] Operation: 36/12=3
Exploring Operation: 36-12=24, Resulting Numbers: [14, 24]
Generated Node #0,1,4: 66:[14, 24] Operation: 36-12=24
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[12, 22], Operations: ['60-46=14', '36-14=22']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[36, 2], Operations: ['60-46=14', '14-12=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[14, 3], Operations: ['60-46=14', '36/12=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[14, 24], Operations: ['60-46=14', '36-12=24']
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[36, 26], Operations: ['60-46=14', '12+14=26']
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,66 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 66:[60, 12, 10], Operations: ['46-36=10']
Exploring Operation: 12-10=2, Resulting Numbers: [60, 2]
Generated Node #0,2,0: 66:[60, 2] Operation: 12-10=2
Exploring Operation: 60/10=6, Resulting Numbers: [12, 6]
Generated Node #0,2,1: 66:[12, 6] Operation: 60/10=6
Exploring Operation: 60/12=5, Resulting Numbers: [10, 5]
Generated Node #0,2,2: 66:[10, 5] Operation: 60/12=5
Exploring Operation: 12+10=22, Resulting Numbers: [60, 22]
Generated Node #0,2,3: 66:[60, 22] Operation: 12+10=22
Exploring Operation: 60+10=70, Resulting Numbers: [12, 70]
Generated Node #0,2,4: 66:[12, 70] Operation: 60+10=70
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[12, 6], Operations: ['46-36=10', '60/10=6']
Exploring Operation: 12*6=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[10, 5], Operations: ['46-36=10', '60/12=5']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 66:[12, 70], Operations: ['46-36=10', '60+10=70']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[60, 2], Operations: ['46-36=10', '12-10=2']
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 66:[60, 22], Operations: ['46-36=10', '12+10=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 66:[60, 36, 34], Operations: ['46-12=34']
Exploring Operation: 60-34=26, Resulting Numbers: [36, 26]
Generated Node #0,3,0: 66:[36, 26] Operation: 60-34=26
Exploring Operation: 36+34=70, Resulting Numbers: [60, 70]
Generated Node #0,3,1: 66:[60, 70] Operation: 36+34=70
Exploring Operation: 60+36=96, Resulting Numbers: [34, 96]
Generated Node #0,3,2: 66:[34, 96] Operation: 60+36=96
Exploring Operation: 36-34=2, Resulting Numbers: [60, 2]
Generated Node #0,3,3: 66:[60, 2] Operation: 36-34=2
Exploring Operation: 60-36=24, Resulting Numbers: [34, 24]
Generated Node #0,3,4: 66:[34, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 66:[34, 24], Operations: ['46-12=34', '60-36=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,66 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[60, 2], Operations: ['46-12=34', '36-34=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[36, 26], Operations: ['46-12=34', '60-34=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,66 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[60, 70], Operations: ['46-12=34', '36+34=70']
Exploring Operation: 70-60=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 60*70=4200, Resulting Numbers: [4200]
4200,66 unequal: No Solution
Exploring Operation: 60+70=130, Resulting Numbers: [130]
130,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[34, 96], Operations: ['46-12=34', '60+36=96']
Exploring Operation: 34+96=130, Resulting Numbers: [130]
130,66 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 34*96=3264, Resulting Numbers: [3264]
3264,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 66:[46, 12, 24], Operations: ['60-36=24']
Exploring Operation: 46-24=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 66:[12, 22] Operation: 46-24=22
Exploring Operation: 46+24=70, Resulting Numbers: [12, 70]
Generated Node #0,0,1: 66:[12, 70] Operation: 46+24=70
Exploring Operation: 24/12=2, Resulting Numbers: [46, 2]
Generated Node #0,0,2: 66:[46, 2] Operation: 24/12=2
Exploring Operation: 46-12=34, Resulting Numbers: [24, 34]
Generated Node #0,0,3: 66:[24, 34] Operation: 46-12=34
Exploring Operation: 46+12=58, Resulting Numbers: [24, 58]
Generated Node #0,0,4: 66:[24, 58] Operation: 46+12=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[12, 22], Operations: ['60-36=24', '46-24=22']
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,66 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[24, 34], Operations: ['60-36=24', '46-12=34']
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,66 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[12, 70], Operations: ['60-36=24', '46+24=70']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,66 unequal: No Solution
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 66:[24, 58], Operations: ['60-36=24', '46+12=58']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,66 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[46, 2], Operations: ['60-36=24', '24/12=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,66 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,66 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,66 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: 66:[46, 36, 5], Operations: ['60/12=5']
Exploring Operation: 46-36=10, Resulting Numbers: [5, 10]
Generated Node #0,4,0: 66:[5, 10] Operation: 46-36=10
Exploring Operation: 46+36=82, Resulting Numbers: [5, 82]
Generated Node #0,4,1: 66:[5, 82] Operation: 46+36=82
Exploring Operation: 46+5=51, Resulting Numbers: [36, 51]
Generated Node #0,4,2: 66:[36, 51] Operation: 46+5=51
Exploring Operation: 36-5=31, Resulting Numbers: [46, 31]
Generated Node #0,4,3: 66:[46, 31] Operation: 36-5=31
Exploring Operation: 46-5=41, Resulting Numbers: [36, 41]
Generated Node #0,4,4: 66:[36, 41] Operation: 46-5=41
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 66:[5, 10], Operations: ['60/12=5', '46-36=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 66:[36, 41], Operations: ['60/12=5', '46-5=41']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,66 unequal: No Solution
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,66 unequal: No Solution
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 66:[46, 31], Operations: ['60/12=5', '36-5=31']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 46*31=1426, Resulting Numbers: [1426]
1426,66 unequal: No Solution
Exploring Operation: 46+31=77, Resulting Numbers: [77]
77,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 66:[5, 82], Operations: ['60/12=5', '46+36=82']
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,66 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,66 unequal: No Solution
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 66:[36, 51], Operations: ['60/12=5', '46+5=51']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,66 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,66 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 |
[
40,
2,
82,
2
] | 21 | [
"40/2=20",
"82/2=41",
"41-20=21"
] | Current State: 21:[40, 2, 82, 2], Operations: []
Exploring Operation: 40/2=20, Resulting Numbers: [82, 20]
Generated Node #2: [82, 20] from Operation: 40/2=20
Current State: 21:[82, 20], Operations: ['40/2=20']
Exploring Operation: 82/2=41, Resulting Numbers: [20, 41]
Generated Node #3: [20, 41] from Operation: 82/2=41
Current State: 21:[20, 41], Operations: ['40/2=20', '82/2=41']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[40, 2, 82, 2], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [40, 2, 41]
Generated Node #0,0: 21:[40, 2, 41] Operation: 82/2=41
Exploring Operation: 82/2=41, Resulting Numbers: [40, 2, 41]
Generated Node #0,1: 21:[40, 2, 41] Operation: 82/2=41
Exploring Operation: 82-40=42, Resulting Numbers: [2, 2, 42]
Generated Node #0,2: 21:[2, 2, 42] Operation: 82-40=42
Moving to Node #0,2
Current State: 21:[2, 2, 42], Operations: ['82-40=42']
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,2,0: 21:[2, 21] Operation: 42/2=21
Exploring Operation: 42-2=40, Resulting Numbers: [2, 40]
Generated Node #0,2,1: 21:[2, 40] Operation: 42-2=40
Exploring Operation: 42/2=21, Resulting Numbers: [2, 21]
Generated Node #0,2,2: 21:[2, 21] Operation: 42/2=21
Moving to Node #0,0
Current State: 21:[40, 2, 41], Operations: ['82/2=41']
Exploring Operation: 40-2=38, Resulting Numbers: [41, 38]
Generated Node #0,0,0: 21:[41, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [41, 20]
Generated Node #0,0,1: 21:[41, 20] Operation: 40/2=20
Exploring Operation: 41-40=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 21:[2, 1] Operation: 41-40=1
Moving to Node #0,1
Current State: 21:[40, 2, 41], Operations: ['82/2=41']
Exploring Operation: 40-2=38, Resulting Numbers: [41, 38]
Generated Node #0,1,0: 21:[41, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [41, 20]
Generated Node #0,1,1: 21:[41, 20] Operation: 40/2=20
Exploring Operation: 41-40=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 21:[2, 1] Operation: 41-40=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 21:[2, 1], Operations: ['82/2=41', '41-40=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 21:[41, 20], Operations: ['82/2=41', '40/2=20']
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,21 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[40, 2, 82, 2], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [40, 2, 41]
Generated Node #0,1: 21:[40, 2, 41] Operation: 82/2=41
Moving to Node #0,1
Current State: 21:[40, 2, 41], Operations: ['82/2=41']
Exploring Operation: 40/2=20, Resulting Numbers: [41, 20]
Generated Node #0,1,1: 21:[41, 20] Operation: 40/2=20
Moving to Node #0,1,1
Current State: 21:[41, 20], Operations: ['82/2=41', '40/2=20']
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | sum_heuristic |
[
75,
6,
22,
68
] | 90 | [
"75-22=53",
"68-53=15",
"6*15=90"
] | Current State: 90:[75, 6, 22, 68], Operations: []
Exploring Operation: 75-22=53, Resulting Numbers: [6, 68, 53]
Generated Node #2: [6, 68, 53] from Operation: 75-22=53
Current State: 90:[6, 68, 53], Operations: ['75-22=53']
Exploring Operation: 68-53=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 68-53=15
Current State: 90:[6, 15], Operations: ['75-22=53', '68-53=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[75, 6, 22, 68], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [6, 22, 7]
Generated Node #0,0: 90:[6, 22, 7] Operation: 75-68=7
Exploring Operation: 22+68=90, Resulting Numbers: [75, 6, 90]
Generated Node #0,1: 90:[75, 6, 90] Operation: 22+68=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[6, 22, 7], Operations: ['75-68=7']
Exploring Operation: 22+7=29, Resulting Numbers: [6, 29]
Generated Node #0,0,0: 90:[6, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [6, 15]
Generated Node #0,0,1: 90:[6, 15] Operation: 22-7=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[6, 15], Operations: ['75-68=7', '22-7=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[75, 6, 22, 68], Operations: []
Exploring Operation: 75-68=7, Resulting Numbers: [6, 22, 7]
Generated Node #0,0: 90:[6, 22, 7] Operation: 75-68=7
Moving to Node #0,0
Current State: 90:[6, 22, 7], Operations: ['75-68=7']
Exploring Operation: 22-7=15, Resulting Numbers: [6, 15]
Generated Node #0,0,1: 90:[6, 15] Operation: 22-7=15
Moving to Node #0,0,1
Current State: 90:[6, 15], Operations: ['75-68=7', '22-7=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
24,
5,
66,
46
] | 80 | [
"24+46=70",
"70/5=14",
"66+14=80"
] | Current State: 80:[24, 5, 66, 46], Operations: []
Exploring Operation: 24+46=70, Resulting Numbers: [5, 66, 70]
Generated Node #2: [5, 66, 70] from Operation: 24+46=70
Current State: 80:[5, 66, 70], Operations: ['24+46=70']
Exploring Operation: 70/5=14, Resulting Numbers: [66, 14]
Generated Node #3: [66, 14] from Operation: 70/5=14
Current State: 80:[66, 14], Operations: ['24+46=70', '70/5=14']
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[24, 5, 66, 46], Operations: []
Exploring Operation: 24+66=90, Resulting Numbers: [5, 46, 90]
Generated Node #0,0: 80:[5, 46, 90] Operation: 24+66=90
Exploring Operation: 66-46=20, Resulting Numbers: [24, 5, 20]
Generated Node #0,1: 80:[24, 5, 20] Operation: 66-46=20
Exploring Operation: 66-24=42, Resulting Numbers: [5, 46, 42]
Generated Node #0,2: 80:[5, 46, 42] Operation: 66-24=42
Exploring Operation: 46-24=22, Resulting Numbers: [5, 66, 22]
Generated Node #0,3: 80:[5, 66, 22] Operation: 46-24=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[24, 5, 20], Operations: ['66-46=20']
Exploring Operation: 20/5=4, Resulting Numbers: [24, 4]
Generated Node #0,1,0: 80:[24, 4] Operation: 20/5=4
Exploring Operation: 24-5=19, Resulting Numbers: [20, 19]
Generated Node #0,1,1: 80:[20, 19] Operation: 24-5=19
Exploring Operation: 24-20=4, Resulting Numbers: [5, 4]
Generated Node #0,1,2: 80:[5, 4] Operation: 24-20=4
Exploring Operation: 24+20=44, Resulting Numbers: [5, 44]
Generated Node #0,1,3: 80:[5, 44] Operation: 24+20=44
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[5, 4], Operations: ['66-46=20', '24-20=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[20, 19], Operations: ['66-46=20', '24-5=19']
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,80 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[24, 4], Operations: ['66-46=20', '20/5=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,80 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 80:[5, 44], Operations: ['66-46=20', '24+20=44']
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,80 unequal: No Solution
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[5, 46, 42], Operations: ['66-24=42']
Exploring Operation: 46-42=4, Resulting Numbers: [5, 4]
Generated Node #0,2,0: 80:[5, 4] Operation: 46-42=4
Exploring Operation: 46+42=88, Resulting Numbers: [5, 88]
Generated Node #0,2,1: 80:[5, 88] Operation: 46+42=88
Exploring Operation: 42-5=37, Resulting Numbers: [46, 37]
Generated Node #0,2,2: 80:[46, 37] Operation: 42-5=37
Exploring Operation: 46-5=41, Resulting Numbers: [42, 41]
Generated Node #0,2,3: 80:[42, 41] Operation: 46-5=41
Moving to Node #0,2,0
Current State: 80:[5, 4], Operations: ['66-24=42', '46-42=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,80 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,2,3
Current State: 80:[42, 41], Operations: ['66-24=42', '46-5=41']
Exploring Operation: 42+41=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 42*41=1722, Resulting Numbers: [1722]
1722,80 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[5, 88], Operations: ['66-24=42', '46+42=88']
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,80 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[46, 37], Operations: ['66-24=42', '42-5=37']
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 46+37=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 46*37=1702, Resulting Numbers: [1702]
1702,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[5, 46, 90], Operations: ['24+66=90']
Exploring Operation: 90-46=44, Resulting Numbers: [5, 44]
Generated Node #0,0,0: 80:[5, 44] Operation: 90-46=44
Exploring Operation: 90/5=18, Resulting Numbers: [46, 18]
Generated Node #0,0,1: 80:[46, 18] Operation: 90/5=18
Exploring Operation: 46-5=41, Resulting Numbers: [90, 41]
Generated Node #0,0,2: 80:[90, 41] Operation: 46-5=41
Exploring Operation: 90-5=85, Resulting Numbers: [46, 85]
Generated Node #0,0,3: 80:[46, 85] Operation: 90-5=85
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[5, 44], Operations: ['24+66=90', '90-46=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,80 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[46, 18], Operations: ['24+66=90', '90/5=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,80 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[90, 41], Operations: ['24+66=90', '46-5=41']
Exploring Operation: 90+41=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 90*41=3690, Resulting Numbers: [3690]
3690,80 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 80:[46, 85], Operations: ['24+66=90', '90-5=85']
Exploring Operation: 46*85=3910, Resulting Numbers: [3910]
3910,80 unequal: No Solution
Exploring Operation: 46+85=131, Resulting Numbers: [131]
131,80 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[5, 66, 22], Operations: ['46-24=22']
Exploring Operation: 66-22=44, Resulting Numbers: [5, 44]
Generated Node #0,3,0: 80:[5, 44] Operation: 66-22=44
Exploring Operation: 66/22=3, Resulting Numbers: [5, 3]
Generated Node #0,3,1: 80:[5, 3] Operation: 66/22=3
Exploring Operation: 5+66=71, Resulting Numbers: [22, 71]
Generated Node #0,3,2: 80:[22, 71] Operation: 5+66=71
Exploring Operation: 66+22=88, Resulting Numbers: [5, 88]
Generated Node #0,3,3: 80:[5, 88] Operation: 66+22=88
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 80:[5, 3], Operations: ['46-24=22', '66/22=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 80:[5, 44], Operations: ['46-24=22', '66-22=44']
Exploring Operation: 5*44=220, Resulting Numbers: [220]
220,80 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 80:[5, 88], Operations: ['46-24=22', '66+22=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,80 unequal: No Solution
Exploring Operation: 5*88=440, Resulting Numbers: [440]
440,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 80:[22, 71], Operations: ['46-24=22', '5+66=71']
Exploring Operation: 22+71=93, Resulting Numbers: [93]
93,80 unequal: No Solution
Exploring Operation: 71-22=49, Resulting Numbers: [49]
49,80 unequal: No Solution
Exploring Operation: 22*71=1562, Resulting Numbers: [1562]
1562,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
42,
5,
69,
59
] | 34 | [
"42+69=111",
"59+111=170",
"170/5=34"
] | Current State: 34:[42, 5, 69, 59], Operations: []
Exploring Operation: 42+69=111, Resulting Numbers: [5, 59, 111]
Generated Node #2: [5, 59, 111] from Operation: 42+69=111
Current State: 34:[5, 59, 111], Operations: ['42+69=111']
Exploring Operation: 59+111=170, Resulting Numbers: [5, 170]
Generated Node #3: [5, 170] from Operation: 59+111=170
Current State: 34:[5, 170], Operations: ['42+69=111', '59+111=170']
Exploring Operation: 170/5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[42, 5, 69, 59], Operations: []
Exploring Operation: 69-59=10, Resulting Numbers: [42, 5, 10]
Generated Node #0,0: 34:[42, 5, 10] Operation: 69-59=10
Exploring Operation: 69-42=27, Resulting Numbers: [5, 59, 27]
Generated Node #0,1: 34:[5, 59, 27] Operation: 69-42=27
Exploring Operation: 59-42=17, Resulting Numbers: [5, 69, 17]
Generated Node #0,2: 34:[5, 69, 17] Operation: 59-42=17
Moving to Node #0,0
Current State: 34:[42, 5, 10], Operations: ['69-59=10']
Exploring Operation: 10/5=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 34:[42, 2] Operation: 10/5=2
Exploring Operation: 42-10=32, Resulting Numbers: [5, 32]
Generated Node #0,0,1: 34:[5, 32] Operation: 42-10=32
Exploring Operation: 42-5=37, Resulting Numbers: [10, 37]
Generated Node #0,0,2: 34:[10, 37] Operation: 42-5=37
Moving to Node #0,1
Current State: 34:[5, 59, 27], Operations: ['69-42=27']
Exploring Operation: 59-5=54, Resulting Numbers: [27, 54]
Generated Node #0,1,0: 34:[27, 54] Operation: 59-5=54
Exploring Operation: 59-27=32, Resulting Numbers: [5, 32]
Generated Node #0,1,1: 34:[5, 32] Operation: 59-27=32
Exploring Operation: 5+27=32, Resulting Numbers: [59, 32]
Generated Node #0,1,2: 34:[59, 32] Operation: 5+27=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[5, 32], Operations: ['69-42=27', '59-27=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,34 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,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:[27, 54], Operations: ['69-42=27', '59-5=54']
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 27+54=81, Resulting Numbers: [81]
81,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:[59, 32], Operations: ['69-42=27', '5+27=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Exploring Operation: 59-32=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 59*32=1888, Resulting Numbers: [1888]
1888,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:[5, 69, 17], Operations: ['59-42=17']
Exploring Operation: 5+69=74, Resulting Numbers: [17, 74]
Generated Node #0,2,0: 34:[17, 74] Operation: 5+69=74
Exploring Operation: 69-5=64, Resulting Numbers: [17, 64]
Generated Node #0,2,1: 34:[17, 64] Operation: 69-5=64
Exploring Operation: 69-17=52, Resulting Numbers: [5, 52]
Generated Node #0,2,2: 34:[5, 52] Operation: 69-17=52
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[5, 52], Operations: ['59-42=17', '69-17=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,34 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[17, 64], Operations: ['59-42=17', '69-5=64']
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,34 unequal: No Solution
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,34 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[17, 74], Operations: ['59-42=17', '5+69=74']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,34 unequal: No Solution
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,34 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: 34:[5, 32], Operations: ['69-59=10', '42-10=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,34 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[42, 2], Operations: ['69-59=10', '10/5=2']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[10, 37], Operations: ['69-59=10', '42-5=37']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,34 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,34 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
83,
51,
17,
34
] | 30 | [
"83-51=32",
"34/17=2",
"32-2=30"
] | Current State: 30:[83, 51, 17, 34], Operations: []
Exploring Operation: 83-51=32, Resulting Numbers: [17, 34, 32]
Generated Node #2: [17, 34, 32] from Operation: 83-51=32
Current State: 30:[17, 34, 32], Operations: ['83-51=32']
Exploring Operation: 34/17=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 34/17=2
Current State: 30:[32, 2], Operations: ['83-51=32', '34/17=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[83, 51, 17, 34], Operations: []
Exploring Operation: 83-34=49, Resulting Numbers: [51, 17, 49]
Generated Node #0,0: 30:[51, 17, 49] Operation: 83-34=49
Exploring Operation: 83-51=32, Resulting Numbers: [17, 34, 32]
Generated Node #0,1: 30:[17, 34, 32] Operation: 83-51=32
Moving to Node #0,1
Current State: 30:[17, 34, 32], Operations: ['83-51=32']
Exploring Operation: 34/17=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 30:[32, 2] Operation: 34/17=2
Exploring Operation: 34-32=2, Resulting Numbers: [17, 2]
Generated Node #0,1,1: 30:[17, 2] Operation: 34-32=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[32, 2], Operations: ['83-51=32', '34/17=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[83, 51, 17, 34], Operations: []
Exploring Operation: 83-51=32, Resulting Numbers: [17, 34, 32]
Generated Node #0,1: 30:[17, 34, 32] Operation: 83-51=32
Moving to Node #0,1
Current State: 30:[17, 34, 32], Operations: ['83-51=32']
Exploring Operation: 34/17=2, Resulting Numbers: [32, 2]
Generated Node #0,1,0: 30:[32, 2] Operation: 34/17=2
Moving to Node #0,1,0
Current State: 30:[32, 2], Operations: ['83-51=32', '34/17=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
95,
65,
10,
75
] | 72 | [
"95-65=30",
"30/10=3",
"75-3=72"
] | Current State: 72:[95, 65, 10, 75], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [10, 75, 30]
Generated Node #2: [10, 75, 30] from Operation: 95-65=30
Current State: 72:[10, 75, 30], Operations: ['95-65=30']
Exploring Operation: 30/10=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 30/10=3
Current State: 72:[75, 3], Operations: ['95-65=30', '30/10=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[95, 65, 10, 75], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [10, 75, 30]
Generated Node #0,0: 72:[10, 75, 30] Operation: 95-65=30
Moving to Node #0,0
Current State: 72:[10, 75, 30], Operations: ['95-65=30']
Exploring Operation: 30/10=3, Resulting Numbers: [75, 3]
Generated Node #0,0,0: 72:[75, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 72:[75, 3], Operations: ['95-65=30', '30/10=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[95, 65, 10, 75], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [10, 75, 30]
Generated Node #0,0: 72:[10, 75, 30] Operation: 95-65=30
Moving to Node #0,0
Current State: 72:[10, 75, 30], Operations: ['95-65=30']
Exploring Operation: 30/10=3, Resulting Numbers: [75, 3]
Generated Node #0,0,0: 72:[75, 3] Operation: 30/10=3
Moving to Node #0,0,0
Current State: 72:[75, 3], Operations: ['95-65=30', '30/10=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
93,
24,
21,
84
] | 87 | [
"93-21=72",
"72/24=3",
"84+3=87"
] | Current State: 87:[93, 24, 21, 84], Operations: []
Exploring Operation: 93-21=72, Resulting Numbers: [24, 84, 72]
Generated Node #2: [24, 84, 72] from Operation: 93-21=72
Current State: 87:[24, 84, 72], Operations: ['93-21=72']
Exploring Operation: 72/24=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 72/24=3
Current State: 87:[84, 3], Operations: ['93-21=72', '72/24=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[93, 24, 21, 84], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [93, 24, 4]
Generated Node #0,0: 87:[93, 24, 4] Operation: 84/21=4
Exploring Operation: 24-21=3, Resulting Numbers: [93, 84, 3]
Generated Node #0,1: 87:[93, 84, 3] Operation: 24-21=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[93, 84, 3], Operations: ['24-21=3']
Exploring Operation: 93/3=31, Resulting Numbers: [84, 31]
Generated Node #0,1,0: 87:[84, 31] Operation: 93/3=31
Exploring Operation: 93-84=9, Resulting Numbers: [3, 9]
Generated Node #0,1,1: 87:[3, 9] Operation: 93-84=9
Moving to Node #0,1,0
Current State: 87:[84, 31], Operations: ['24-21=3', '93/3=31']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[3, 9], Operations: ['24-21=3', '93-84=9']
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,87 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,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
Current State: 87:[93, 24, 4], Operations: ['84/21=4']
Exploring Operation: 24+4=28, Resulting Numbers: [93, 28]
Generated Node #0,0,0: 87:[93, 28] Operation: 24+4=28
Exploring Operation: 93-4=89, Resulting Numbers: [24, 89]
Generated Node #0,0,1: 87:[24, 89] Operation: 93-4=89
Moving to Node #0,0,0
Current State: 87:[93, 28], Operations: ['84/21=4', '24+4=28']
Exploring Operation: 93+28=121, Resulting Numbers: [121]
121,87 unequal: No Solution
Exploring Operation: 93-28=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[24, 89], Operations: ['84/21=4', '93-4=89']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 24+89=113, Resulting Numbers: [113]
113,87 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 |
[
8,
45,
83,
79
] | 57 | [
"8+45=53",
"83-79=4",
"53+4=57"
] | Current State: 57:[8, 45, 83, 79], Operations: []
Exploring Operation: 8+45=53, Resulting Numbers: [83, 79, 53]
Generated Node #2: [83, 79, 53] from Operation: 8+45=53
Current State: 57:[83, 79, 53], Operations: ['8+45=53']
Exploring Operation: 83-79=4, Resulting Numbers: [53, 4]
Generated Node #3: [53, 4] from Operation: 83-79=4
Current State: 57:[53, 4], Operations: ['8+45=53', '83-79=4']
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[8, 45, 83, 79], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [8, 45, 4]
Generated Node #0,0: 57:[8, 45, 4] Operation: 83-79=4
Exploring Operation: 83-45=38, Resulting Numbers: [8, 79, 38]
Generated Node #0,1: 57:[8, 79, 38] Operation: 83-45=38
Exploring Operation: 79-45=34, Resulting Numbers: [8, 83, 34]
Generated Node #0,2: 57:[8, 83, 34] Operation: 79-45=34
Moving to Node #0,0
Current State: 57:[8, 45, 4], Operations: ['83-79=4']
Exploring Operation: 8+45=53, Resulting Numbers: [4, 53]
Generated Node #0,0,0: 57:[4, 53] Operation: 8+45=53
Exploring Operation: 8-4=4, Resulting Numbers: [45, 4]
Generated Node #0,0,1: 57:[45, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [45, 2]
Generated Node #0,0,2: 57:[45, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[4, 53], Operations: ['83-79=4', '8+45=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[8, 45, 83, 79], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [8, 45, 4]
Generated Node #0,0: 57:[8, 45, 4] Operation: 83-79=4
Moving to Node #0,0
Current State: 57:[8, 45, 4], Operations: ['83-79=4']
Exploring Operation: 8+45=53, Resulting Numbers: [4, 53]
Generated Node #0,0,0: 57:[4, 53] Operation: 8+45=53
Moving to Node #0,0,0
Current State: 57:[4, 53], Operations: ['83-79=4', '8+45=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
55,
79,
64,
2
] | 86 | [
"79-55=24",
"64-2=62",
"24+62=86"
] | Current State: 86:[55, 79, 64, 2], Operations: []
Exploring Operation: 79-55=24, Resulting Numbers: [64, 2, 24]
Generated Node #2: [64, 2, 24] from Operation: 79-55=24
Current State: 86:[64, 2, 24], Operations: ['79-55=24']
Exploring Operation: 64-2=62, Resulting Numbers: [24, 62]
Generated Node #3: [24, 62] from Operation: 64-2=62
Current State: 86:[24, 62], Operations: ['79-55=24', '64-2=62']
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[55, 79, 64, 2], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [55, 2, 15]
Generated Node #0,0: 86:[55, 2, 15] Operation: 79-64=15
Exploring Operation: 64-55=9, Resulting Numbers: [79, 2, 9]
Generated Node #0,1: 86:[79, 2, 9] Operation: 64-55=9
Exploring Operation: 64/2=32, Resulting Numbers: [55, 79, 32]
Generated Node #0,2: 86:[55, 79, 32] Operation: 64/2=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[79, 2, 9], Operations: ['64-55=9']
Exploring Operation: 79+2=81, Resulting Numbers: [9, 81]
Generated Node #0,1,0: 86:[9, 81] Operation: 79+2=81
Exploring Operation: 9-2=7, Resulting Numbers: [79, 7]
Generated Node #0,1,1: 86:[79, 7] Operation: 9-2=7
Exploring Operation: 79+9=88, Resulting Numbers: [2, 88]
Generated Node #0,1,2: 86:[2, 88] Operation: 79+9=88
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[2, 88], Operations: ['64-55=9', '79+9=88']
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[55, 79, 64, 2], Operations: []
Exploring Operation: 64-55=9, Resulting Numbers: [79, 2, 9]
Generated Node #0,1: 86:[79, 2, 9] Operation: 64-55=9
Moving to Node #0,1
Current State: 86:[79, 2, 9], Operations: ['64-55=9']
Exploring Operation: 79+9=88, Resulting Numbers: [2, 88]
Generated Node #0,1,2: 86:[2, 88] Operation: 79+9=88
Moving to Node #0,1,2
Current State: 86:[2, 88], Operations: ['64-55=9', '79+9=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
71,
59,
34,
42
] | 20 | [
"71-59=12",
"42-34=8",
"12+8=20"
] | Current State: 20:[71, 59, 34, 42], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [34, 42, 12]
Generated Node #2: [34, 42, 12] from Operation: 71-59=12
Current State: 20:[34, 42, 12], Operations: ['71-59=12']
Exploring Operation: 42-34=8, Resulting Numbers: [12, 8]
Generated Node #3: [12, 8] from Operation: 42-34=8
Current State: 20:[12, 8], Operations: ['71-59=12', '42-34=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[71, 59, 34, 42], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [34, 42, 12]
Generated Node #0,0: 20:[34, 42, 12] Operation: 71-59=12
Moving to Node #0,0
Current State: 20:[34, 42, 12], Operations: ['71-59=12']
Exploring Operation: 42-34=8, Resulting Numbers: [12, 8]
Generated Node #0,0,0: 20:[12, 8] Operation: 42-34=8
Moving to Node #0,0,0
Current State: 20:[12, 8], Operations: ['71-59=12', '42-34=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[71, 59, 34, 42], Operations: []
Exploring Operation: 71-59=12, Resulting Numbers: [34, 42, 12]
Generated Node #0,0: 20:[34, 42, 12] Operation: 71-59=12
Moving to Node #0,0
Current State: 20:[34, 42, 12], Operations: ['71-59=12']
Exploring Operation: 42-34=8, Resulting Numbers: [12, 8]
Generated Node #0,0,0: 20:[12, 8] Operation: 42-34=8
Moving to Node #0,0,0
Current State: 20:[12, 8], Operations: ['71-59=12', '42-34=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
84,
44,
56,
10
] | 14 | [
"84-44=40",
"56*10=560",
"560/40=14"
] | Current State: 14:[84, 44, 56, 10], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [56, 10, 40]
Generated Node #2: [56, 10, 40] from Operation: 84-44=40
Current State: 14:[56, 10, 40], Operations: ['84-44=40']
Exploring Operation: 56*10=560, Resulting Numbers: [40, 560]
Generated Node #3: [40, 560] from Operation: 56*10=560
Current State: 14:[40, 560], Operations: ['84-44=40', '56*10=560']
Exploring Operation: 560/40=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[84, 44, 56, 10], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [44, 56, 74]
Generated Node #0,0: 14:[44, 56, 74] Operation: 84-10=74
Exploring Operation: 84-56=28, Resulting Numbers: [44, 10, 28]
Generated Node #0,1: 14:[44, 10, 28] Operation: 84-56=28
Exploring Operation: 56-44=12, Resulting Numbers: [84, 10, 12]
Generated Node #0,2: 14:[84, 10, 12] Operation: 56-44=12
Exploring Operation: 84-44=40, Resulting Numbers: [56, 10, 40]
Generated Node #0,3: 14:[56, 10, 40] Operation: 84-44=40
Exploring Operation: 44-10=34, Resulting Numbers: [84, 56, 34]
Generated Node #0,4: 14:[84, 56, 34] Operation: 44-10=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[44, 10, 28], Operations: ['84-56=28']
Exploring Operation: 28-10=18, Resulting Numbers: [44, 18]
Generated Node #0,1,0: 14:[44, 18] Operation: 28-10=18
Exploring Operation: 44-28=16, Resulting Numbers: [10, 16]
Generated Node #0,1,1: 14:[10, 16] Operation: 44-28=16
Exploring Operation: 10+28=38, Resulting Numbers: [44, 38]
Generated Node #0,1,2: 14:[44, 38] Operation: 10+28=38
Exploring Operation: 44-10=34, Resulting Numbers: [28, 34]
Generated Node #0,1,3: 14:[28, 34] Operation: 44-10=34
Exploring Operation: 44+10=54, Resulting Numbers: [28, 54]
Generated Node #0,1,4: 14:[28, 54] Operation: 44+10=54
Moving to Node #0,1,1
Current State: 14:[10, 16], Operations: ['84-56=28', '44-28=16']
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[28, 34], Operations: ['84-56=28', '44-10=34']
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 28*34=952, Resulting Numbers: [952]
952,14 unequal: No Solution
Exploring Operation: 28+34=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[44, 18], Operations: ['84-56=28', '28-10=18']
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,14 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[44, 38], Operations: ['84-56=28', '10+28=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[28, 54], Operations: ['84-56=28', '44+10=54']
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[56, 10, 40], Operations: ['84-44=40']
Exploring Operation: 56-10=46, Resulting Numbers: [40, 46]
Generated Node #0,3,0: 14:[40, 46] Operation: 56-10=46
Exploring Operation: 40-10=30, Resulting Numbers: [56, 30]
Generated Node #0,3,1: 14:[56, 30] Operation: 40-10=30
Exploring Operation: 56+10=66, Resulting Numbers: [40, 66]
Generated Node #0,3,2: 14:[40, 66] Operation: 56+10=66
Exploring Operation: 40/10=4, Resulting Numbers: [56, 4]
Generated Node #0,3,3: 14:[56, 4] Operation: 40/10=4
Exploring Operation: 56-40=16, Resulting Numbers: [10, 16]
Generated Node #0,3,4: 14:[10, 16] Operation: 56-40=16
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 14:[10, 16], Operations: ['84-44=40', '56-40=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,14 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,14 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 14:[56, 4], Operations: ['84-44=40', '40/10=4']
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,14 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[84, 44, 56, 10], Operations: []
Exploring Operation: 84-44=40, Resulting Numbers: [56, 10, 40]
Generated Node #0,3: 14:[56, 10, 40] Operation: 84-44=40
Moving to Node #0,3
Current State: 14:[56, 10, 40], Operations: ['84-44=40']
Exploring Operation: 40/10=4, Resulting Numbers: [56, 4]
Generated Node #0,3,3: 14:[56, 4] Operation: 40/10=4
Moving to Node #0,3,3
Current State: 14:[56, 4], Operations: ['84-44=40', '40/10=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_5 | sum_heuristic |
[
24,
20,
7,
2
] | 50 | [
"20-7=13",
"2*13=26",
"24+26=50"
] | Current State: 50:[24, 20, 7, 2], Operations: []
Exploring Operation: 20-7=13, Resulting Numbers: [24, 2, 13]
Generated Node #2: [24, 2, 13] from Operation: 20-7=13
Current State: 50:[24, 2, 13], Operations: ['20-7=13']
Exploring Operation: 2*13=26, Resulting Numbers: [24, 26]
Generated Node #3: [24, 26] from Operation: 2*13=26
Current State: 50:[24, 26], Operations: ['20-7=13', '2*13=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[24, 20, 7, 2], Operations: []
Exploring Operation: 20-7=13, Resulting Numbers: [24, 2, 13]
Generated Node #0,0: 50:[24, 2, 13] Operation: 20-7=13
Exploring Operation: 20/2=10, Resulting Numbers: [24, 7, 10]
Generated Node #0,1: 50:[24, 7, 10] Operation: 20/2=10
Exploring Operation: 24-20=4, Resulting Numbers: [7, 2, 4]
Generated Node #0,2: 50:[7, 2, 4] Operation: 24-20=4
Exploring Operation: 20+7=27, Resulting Numbers: [24, 2, 27]
Generated Node #0,3: 50:[24, 2, 27] Operation: 20+7=27
Moving to Node #0,1
Current State: 50:[24, 7, 10], Operations: ['20/2=10']
Exploring Operation: 24-10=14, Resulting Numbers: [7, 14]
Generated Node #0,1,0: 50:[7, 14] Operation: 24-10=14
Exploring Operation: 24+7=31, Resulting Numbers: [10, 31]
Generated Node #0,1,1: 50:[10, 31] Operation: 24+7=31
Exploring Operation: 24-7=17, Resulting Numbers: [10, 17]
Generated Node #0,1,2: 50:[10, 17] Operation: 24-7=17
Exploring Operation: 10-7=3, Resulting Numbers: [24, 3]
Generated Node #0,1,3: 50:[24, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[24, 3], Operations: ['20/2=10', '10-7=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,50 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[7, 14], Operations: ['20/2=10', '24-10=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[10, 31], Operations: ['20/2=10', '24+7=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 10+31=41, Resulting Numbers: [41]
41,50 unequal: No Solution
Exploring Operation: 10*31=310, Resulting Numbers: [310]
310,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[10, 17], Operations: ['20/2=10', '24-7=17']
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,50 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,50 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: 50:[24, 2, 27], Operations: ['20+7=27']
Exploring Operation: 24+2=26, Resulting Numbers: [27, 26]
Generated Node #0,3,0: 50:[27, 26] Operation: 24+2=26
Exploring Operation: 27-24=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 50:[2, 3] Operation: 27-24=3
Exploring Operation: 24+27=51, Resulting Numbers: [2, 51]
Generated Node #0,3,2: 50:[2, 51] Operation: 24+27=51
Exploring Operation: 27-2=25, Resulting Numbers: [24, 25]
Generated Node #0,3,3: 50:[24, 25] Operation: 27-2=25
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[2, 3], Operations: ['20+7=27', '27-24=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[2, 51], Operations: ['20+7=27', '24+27=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[24, 25], Operations: ['20+7=27', '27-2=25']
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,50 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[27, 26], Operations: ['20+7=27', '24+2=26']
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,50 unequal: No Solution
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,50 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: 50:[7, 2, 4], Operations: ['24-20=4']
Exploring Operation: 7-4=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 50:[2, 3] Operation: 7-4=3
Exploring Operation: 7+4=11, Resulting Numbers: [2, 11]
Generated Node #0,2,1: 50:[2, 11] Operation: 7+4=11
Exploring Operation: 7+2=9, Resulting Numbers: [4, 9]
Generated Node #0,2,2: 50:[4, 9] Operation: 7+2=9
Exploring Operation: 7-2=5, Resulting Numbers: [4, 5]
Generated Node #0,2,3: 50:[4, 5] Operation: 7-2=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[2, 3], Operations: ['24-20=4', '7-4=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[2, 11], Operations: ['24-20=4', '7+4=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[4, 5], Operations: ['24-20=4', '7-2=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[4, 9], Operations: ['24-20=4', '7+2=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,50 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: 50:[24, 2, 13], Operations: ['20-7=13']
Exploring Operation: 2*13=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 50:[24, 26] Operation: 2*13=26
Exploring Operation: 24+2=26, Resulting Numbers: [13, 26]
Generated Node #0,0,1: 50:[13, 26] Operation: 24+2=26
Exploring Operation: 24-13=11, Resulting Numbers: [2, 11]
Generated Node #0,0,2: 50:[2, 11] Operation: 24-13=11
Exploring Operation: 13-2=11, Resulting Numbers: [24, 11]
Generated Node #0,0,3: 50:[24, 11] Operation: 13-2=11
Moving to Node #0,0,2
Current State: 50:[2, 11], Operations: ['20-7=13', '24-13=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,50 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[24, 11], Operations: ['20-7=13', '13-2=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,50 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,50 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[24, 26], Operations: ['20-7=13', '2*13=26']
Exploring Operation: 26-24=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[24, 20, 7, 2], Operations: []
Exploring Operation: 20-7=13, Resulting Numbers: [24, 2, 13]
Generated Node #0,0: 50:[24, 2, 13] Operation: 20-7=13
Moving to Node #0,0
Current State: 50:[24, 2, 13], Operations: ['20-7=13']
Exploring Operation: 2*13=26, Resulting Numbers: [24, 26]
Generated Node #0,0,0: 50:[24, 26] Operation: 2*13=26
Moving to Node #0,0,0
Current State: 50:[24, 26], Operations: ['20-7=13', '2*13=26']
Exploring Operation: 24+26=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.939236 | hs_4 | mult_heuristic |
[
66,
41,
19,
88
] | 62 | [
"41-19=22",
"88/22=4",
"66-4=62"
] | Current State: 62:[66, 41, 19, 88], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [66, 88, 22]
Generated Node #2: [66, 88, 22] from Operation: 41-19=22
Current State: 62:[66, 88, 22], Operations: ['41-19=22']
Exploring Operation: 88/22=4, Resulting Numbers: [66, 4]
Generated Node #3: [66, 4] from Operation: 88/22=4
Current State: 62:[66, 4], Operations: ['41-19=22', '88/22=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[66, 41, 19, 88], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [41, 19, 22]
Generated Node #0,0: 62:[41, 19, 22] Operation: 88-66=22
Exploring Operation: 41+19=60, Resulting Numbers: [66, 88, 60]
Generated Node #0,1: 62:[66, 88, 60] Operation: 41+19=60
Exploring Operation: 88-19=69, Resulting Numbers: [66, 41, 69]
Generated Node #0,2: 62:[66, 41, 69] Operation: 88-19=69
Exploring Operation: 88-41=47, Resulting Numbers: [66, 19, 47]
Generated Node #0,3: 62:[66, 19, 47] Operation: 88-41=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[66, 41, 69], Operations: ['88-19=69']
Exploring Operation: 66+41=107, Resulting Numbers: [69, 107]
Generated Node #0,2,0: 62:[69, 107] Operation: 66+41=107
Exploring Operation: 69-41=28, Resulting Numbers: [66, 28]
Generated Node #0,2,1: 62:[66, 28] Operation: 69-41=28
Exploring Operation: 66-41=25, Resulting Numbers: [69, 25]
Generated Node #0,2,2: 62:[69, 25] Operation: 66-41=25
Exploring Operation: 69-66=3, Resulting Numbers: [41, 3]
Generated Node #0,2,3: 62:[41, 3] Operation: 69-66=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[66, 28], Operations: ['88-19=69', '69-41=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,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,2,3
Current State: 62:[41, 3], Operations: ['88-19=69', '69-66=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,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,2,2
Current State: 62:[69, 25], Operations: ['88-19=69', '66-41=25']
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,62 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,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,2,0
Current State: 62:[69, 107], Operations: ['88-19=69', '66+41=107']
Exploring Operation: 107-69=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 69*107=7383, Resulting Numbers: [7383]
7383,62 unequal: No Solution
Exploring Operation: 69+107=176, Resulting Numbers: [176]
176,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:[41, 19, 22], Operations: ['88-66=22']
Exploring Operation: 22-19=3, Resulting Numbers: [41, 3]
Generated Node #0,0,0: 62:[41, 3] Operation: 22-19=3
Exploring Operation: 41+19=60, Resulting Numbers: [22, 60]
Generated Node #0,0,1: 62:[22, 60] Operation: 41+19=60
Exploring Operation: 41-19=22, Resulting Numbers: [22, 22]
Generated Node #0,0,2: 62:[22, 22] Operation: 41-19=22
Exploring Operation: 41+22=63, Resulting Numbers: [19, 63]
Generated Node #0,0,3: 62:[19, 63] Operation: 41+22=63
Moving to Node #0,0,0
Current State: 62:[41, 3], Operations: ['88-66=22', '22-19=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[22, 60], Operations: ['88-66=22', '41+19=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[19, 63], Operations: ['88-66=22', '41+22=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 19*63=1197, Resulting Numbers: [1197]
1197,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[22, 22], Operations: ['88-66=22', '41-19=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,62 unequal: No Solution
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,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,3
Current State: 62:[66, 19, 47], Operations: ['88-41=47']
Exploring Operation: 66-19=47, Resulting Numbers: [47, 47]
Generated Node #0,3,0: 62:[47, 47] Operation: 66-19=47
Exploring Operation: 66-47=19, Resulting Numbers: [19, 19]
Generated Node #0,3,1: 62:[19, 19] Operation: 66-47=19
Exploring Operation: 47-19=28, Resulting Numbers: [66, 28]
Generated Node #0,3,2: 62:[66, 28] Operation: 47-19=28
Exploring Operation: 19+47=66, Resulting Numbers: [66, 66]
Generated Node #0,3,3: 62:[66, 66] Operation: 19+47=66
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 62:[66, 28], Operations: ['88-41=47', '47-19=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,62 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,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,3,3
Current State: 62:[66, 66], Operations: ['88-41=47', '19+47=66']
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,62 unequal: No Solution
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 66*66=4356, Resulting Numbers: [4356]
4356,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,3,1
Current State: 62:[19, 19], Operations: ['88-41=47', '66-47=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,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,3,0
Current State: 62:[47, 47], Operations: ['88-41=47', '66-19=47']
Exploring Operation: 47/47=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 47*47=2209, Resulting Numbers: [2209]
2209,62 unequal: No Solution
Exploring Operation: 47+47=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 47-47=0, Resulting Numbers: [0]
0,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[66, 88, 60], Operations: ['41+19=60']
Exploring Operation: 66-60=6, Resulting Numbers: [88, 6]
Generated Node #0,1,0: 62:[88, 6] Operation: 66-60=6
Exploring Operation: 88-66=22, Resulting Numbers: [60, 22]
Generated Node #0,1,1: 62:[60, 22] Operation: 88-66=22
Exploring Operation: 88-60=28, Resulting Numbers: [66, 28]
Generated Node #0,1,2: 62:[66, 28] Operation: 88-60=28
Exploring Operation: 66+60=126, Resulting Numbers: [88, 126]
Generated Node #0,1,3: 62:[88, 126] Operation: 66+60=126
Moving to Node #0,1,2
Current State: 62:[66, 28], Operations: ['41+19=60', '88-60=28']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 66+28=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 66*28=1848, Resulting Numbers: [1848]
1848,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[60, 22], Operations: ['41+19=60', '88-66=22']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 60*22=1320, Resulting Numbers: [1320]
1320,62 unequal: No Solution
Exploring Operation: 60+22=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[88, 6], Operations: ['41+19=60', '66-60=6']
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,62 unequal: No Solution
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,62 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[88, 126], Operations: ['41+19=60', '66+60=126']
Exploring Operation: 126-88=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 88+126=214, Resulting Numbers: [214]
214,62 unequal: No Solution
Exploring Operation: 88*126=11088, Resulting Numbers: [11088]
11088,62 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 |
[
5,
37,
23,
48
] | 39 | [
"37-5=32",
"23+48=71",
"71-32=39"
] | Current State: 39:[5, 37, 23, 48], Operations: []
Exploring Operation: 37-5=32, Resulting Numbers: [23, 48, 32]
Generated Node #2: [23, 48, 32] from Operation: 37-5=32
Current State: 39:[23, 48, 32], Operations: ['37-5=32']
Exploring Operation: 23+48=71, Resulting Numbers: [32, 71]
Generated Node #3: [32, 71] from Operation: 23+48=71
Current State: 39:[32, 71], Operations: ['37-5=32', '23+48=71']
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[5, 37, 23, 48], Operations: []
Exploring Operation: 48-37=11, Resulting Numbers: [5, 23, 11]
Generated Node #0,0: 39:[5, 23, 11] Operation: 48-37=11
Exploring Operation: 37-23=14, Resulting Numbers: [5, 48, 14]
Generated Node #0,1: 39:[5, 48, 14] Operation: 37-23=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[5, 48, 14], Operations: ['37-23=14']
Exploring Operation: 48-5=43, Resulting Numbers: [14, 43]
Generated Node #0,1,0: 39:[14, 43] Operation: 48-5=43
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #0,1,1: 39:[5, 34] Operation: 48-14=34
Moving to Node #0,1,0
Current State: 39:[14, 43], Operations: ['37-23=14', '48-5=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[5, 34], Operations: ['37-23=14', '48-14=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[5, 37, 23, 48], Operations: []
Exploring Operation: 37-23=14, Resulting Numbers: [5, 48, 14]
Generated Node #0,1: 39:[5, 48, 14] Operation: 37-23=14
Moving to Node #0,1
Current State: 39:[5, 48, 14], Operations: ['37-23=14']
Exploring Operation: 48-14=34, Resulting Numbers: [5, 34]
Generated Node #0,1,1: 39:[5, 34] Operation: 48-14=34
Moving to Node #0,1,1
Current State: 39:[5, 34], Operations: ['37-23=14', '48-14=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
6,
50,
32,
34
] | 38 | [
"34-32=2",
"6*2=12",
"50-12=38"
] | Current State: 38:[6, 50, 32, 34], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [6, 50, 2]
Generated Node #2: [6, 50, 2] from Operation: 34-32=2
Current State: 38:[6, 50, 2], Operations: ['34-32=2']
Exploring Operation: 6*2=12, Resulting Numbers: [50, 12]
Generated Node #3: [50, 12] from Operation: 6*2=12
Current State: 38:[50, 12], Operations: ['34-32=2', '6*2=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[6, 50, 32, 34], Operations: []
Exploring Operation: 6+32=38, Resulting Numbers: [50, 34, 38]
Generated Node #0,0: 38:[50, 34, 38] Operation: 6+32=38
Exploring Operation: 50-34=16, Resulting Numbers: [6, 32, 16]
Generated Node #0,1: 38:[6, 32, 16] Operation: 50-34=16
Exploring Operation: 50-6=44, Resulting Numbers: [32, 34, 44]
Generated Node #0,2: 38:[32, 34, 44] Operation: 50-6=44
Exploring Operation: 50-32=18, Resulting Numbers: [6, 34, 18]
Generated Node #0,3: 38:[6, 34, 18] Operation: 50-32=18
Moving to Node #0,3
Current State: 38:[6, 34, 18], Operations: ['50-32=18']
Exploring Operation: 6+18=24, Resulting Numbers: [34, 24]
Generated Node #0,3,0: 38:[34, 24] Operation: 6+18=24
Exploring Operation: 6+34=40, Resulting Numbers: [18, 40]
Generated Node #0,3,1: 38:[18, 40] Operation: 6+34=40
Exploring Operation: 34-18=16, Resulting Numbers: [6, 16]
Generated Node #0,3,2: 38:[6, 16] Operation: 34-18=16
Exploring Operation: 18/6=3, Resulting Numbers: [34, 3]
Generated Node #0,3,3: 38:[34, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[18, 40], Operations: ['50-32=18', '6+34=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,38 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,38 unequal: No Solution
No 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: 38:[34, 3], Operations: ['50-32=18', '18/6=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,38 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,38 unequal: No Solution
No 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: 38:[6, 16], Operations: ['50-32=18', '34-18=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,38 unequal: No Solution
No 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: 38:[34, 24], Operations: ['50-32=18', '6+18=24']
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,38 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,38 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: 38:[6, 32, 16], Operations: ['50-34=16']
Exploring Operation: 32-16=16, Resulting Numbers: [6, 16]
Generated Node #0,1,0: 38:[6, 16] Operation: 32-16=16
Exploring Operation: 32/16=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 38:[6, 2] Operation: 32/16=2
Exploring Operation: 6+32=38, Resulting Numbers: [16, 38]
Generated Node #0,1,2: 38:[16, 38] Operation: 6+32=38
Exploring Operation: 6+16=22, Resulting Numbers: [32, 22]
Generated Node #0,1,3: 38:[32, 22] Operation: 6+16=22
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 38:[16, 38], Operations: ['50-34=16', '6+32=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 16+38=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 16*38=608, Resulting Numbers: [608]
608,38 unequal: No Solution
No 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: 38:[6, 2], Operations: ['50-34=16', '32/16=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,38 unequal: No Solution
No 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: 38:[6, 16], Operations: ['50-34=16', '32-16=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,38 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No 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: 38:[32, 22], Operations: ['50-34=16', '6+16=22']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,38 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,38 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: 38:[32, 34, 44], Operations: ['50-6=44']
Exploring Operation: 44-32=12, Resulting Numbers: [34, 12]
Generated Node #0,2,0: 38:[34, 12] Operation: 44-32=12
Exploring Operation: 32+34=66, Resulting Numbers: [44, 66]
Generated Node #0,2,1: 38:[44, 66] Operation: 32+34=66
Exploring Operation: 34-32=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 38:[44, 2] Operation: 34-32=2
Exploring Operation: 44-34=10, Resulting Numbers: [32, 10]
Generated Node #0,2,3: 38:[32, 10] Operation: 44-34=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[44, 2], Operations: ['50-6=44', '34-32=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,38 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No 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: 38:[34, 12], Operations: ['50-6=44', '44-32=12']
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,38 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No 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: 38:[32, 10], Operations: ['50-6=44', '44-34=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,38 unequal: No Solution
No 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: 38:[44, 66], Operations: ['50-6=44', '32+34=66']
Exploring Operation: 44+66=110, Resulting Numbers: [110]
110,38 unequal: No Solution
Exploring Operation: 44*66=2904, Resulting Numbers: [2904]
2904,38 unequal: No Solution
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,38 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: 38:[50, 34, 38], Operations: ['6+32=38']
Exploring Operation: 38-34=4, Resulting Numbers: [50, 4]
Generated Node #0,0,0: 38:[50, 4] Operation: 38-34=4
Exploring Operation: 50-38=12, Resulting Numbers: [34, 12]
Generated Node #0,0,1: 38:[34, 12] Operation: 50-38=12
Exploring Operation: 50+34=84, Resulting Numbers: [38, 84]
Generated Node #0,0,2: 38:[38, 84] Operation: 50+34=84
Exploring Operation: 50-34=16, Resulting Numbers: [38, 16]
Generated Node #0,0,3: 38:[38, 16] Operation: 50-34=16
Moving to Node #0,0,3
Current State: 38:[38, 16], Operations: ['6+32=38', '50-34=16']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[34, 12], Operations: ['6+32=38', '50-38=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,38 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[50, 4], Operations: ['6+32=38', '38-34=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,38 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[38, 84], Operations: ['6+32=38', '50+34=84']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,38 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,38 unequal: No Solution
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,38 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
96,
34,
48,
5
] | 19 | [
"96-34=62",
"48-5=43",
"62-43=19"
] | Current State: 19:[96, 34, 48, 5], Operations: []
Exploring Operation: 96-34=62, Resulting Numbers: [48, 5, 62]
Generated Node #2: [48, 5, 62] from Operation: 96-34=62
Current State: 19:[48, 5, 62], Operations: ['96-34=62']
Exploring Operation: 48-5=43, Resulting Numbers: [62, 43]
Generated Node #3: [62, 43] from Operation: 48-5=43
Current State: 19:[62, 43], Operations: ['96-34=62', '48-5=43']
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[96, 34, 48, 5], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [34, 5, 48]
Generated Node #0,0: 19:[34, 5, 48] Operation: 96-48=48
Exploring Operation: 96-34=62, Resulting Numbers: [48, 5, 62]
Generated Node #0,1: 19:[48, 5, 62] Operation: 96-34=62
Exploring Operation: 96-5=91, Resulting Numbers: [34, 48, 91]
Generated Node #0,2: 19:[34, 48, 91] Operation: 96-5=91
Exploring Operation: 48-34=14, Resulting Numbers: [96, 5, 14]
Generated Node #0,3: 19:[96, 5, 14] Operation: 48-34=14
Exploring Operation: 96/48=2, Resulting Numbers: [34, 5, 2]
Generated Node #0,4: 19:[34, 5, 2] Operation: 96/48=2
Moving to Node #0,4
Current State: 19:[34, 5, 2], Operations: ['96/48=2']
Exploring Operation: 5*2=10, Resulting Numbers: [34, 10]
Generated Node #0,4,0: 19:[34, 10] Operation: 5*2=10
Exploring Operation: 34-5=29, Resulting Numbers: [2, 29]
Generated Node #0,4,1: 19:[2, 29] Operation: 34-5=29
Exploring Operation: 5+2=7, Resulting Numbers: [34, 7]
Generated Node #0,4,2: 19:[34, 7] Operation: 5+2=7
Exploring Operation: 34/2=17, Resulting Numbers: [5, 17]
Generated Node #0,4,3: 19:[5, 17] Operation: 34/2=17
Exploring Operation: 34-2=32, Resulting Numbers: [5, 32]
Generated Node #0,4,4: 19:[5, 32] Operation: 34-2=32
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 19:[5, 17], Operations: ['96/48=2', '34/2=17']
Exploring Operation: 5*17=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 17-5=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,4,0
Current State: 19:[34, 10], Operations: ['96/48=2', '5*2=10']
Exploring Operation: 34*10=340, Resulting Numbers: [340]
340,19 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,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,4,1
Current State: 19:[2, 29], Operations: ['96/48=2', '34-5=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,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,4,2
Current State: 19:[34, 7], Operations: ['96/48=2', '5+2=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,19 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,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,4,4
Current State: 19:[5, 32], Operations: ['96/48=2', '34-2=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,19 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,19 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: 19:[34, 5, 48], Operations: ['96-48=48']
Exploring Operation: 48-34=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 19:[5, 14] Operation: 48-34=14
Exploring Operation: 34-5=29, Resulting Numbers: [48, 29]
Generated Node #0,0,1: 19:[48, 29] Operation: 34-5=29
Exploring Operation: 5+48=53, Resulting Numbers: [34, 53]
Generated Node #0,0,2: 19:[34, 53] Operation: 5+48=53
Exploring Operation: 34+5=39, Resulting Numbers: [48, 39]
Generated Node #0,0,3: 19:[48, 39] Operation: 34+5=39
Exploring Operation: 48-5=43, Resulting Numbers: [34, 43]
Generated Node #0,0,4: 19:[34, 43] Operation: 48-5=43
Moving to Node #0,1
Current State: 19:[48, 5, 62], Operations: ['96-34=62']
Exploring Operation: 48+5=53, Resulting Numbers: [62, 53]
Generated Node #0,1,0: 19:[62, 53] Operation: 48+5=53
Exploring Operation: 48-5=43, Resulting Numbers: [62, 43]
Generated Node #0,1,1: 19:[62, 43] Operation: 48-5=43
Exploring Operation: 62-5=57, Resulting Numbers: [48, 57]
Generated Node #0,1,2: 19:[48, 57] Operation: 62-5=57
Exploring Operation: 5+62=67, Resulting Numbers: [48, 67]
Generated Node #0,1,3: 19:[48, 67] Operation: 5+62=67
Exploring Operation: 62-48=14, Resulting Numbers: [5, 14]
Generated Node #0,1,4: 19:[5, 14] Operation: 62-48=14
Moving to Node #0,3
Current State: 19:[96, 5, 14], Operations: ['48-34=14']
Exploring Operation: 14-5=9, Resulting Numbers: [96, 9]
Generated Node #0,3,0: 19:[96, 9] Operation: 14-5=9
Exploring Operation: 96-14=82, Resulting Numbers: [5, 82]
Generated Node #0,3,1: 19:[5, 82] Operation: 96-14=82
Exploring Operation: 5+14=19, Resulting Numbers: [96, 19]
Generated Node #0,3,2: 19:[96, 19] Operation: 5+14=19
Exploring Operation: 96+5=101, Resulting Numbers: [14, 101]
Generated Node #0,3,3: 19:[14, 101] Operation: 96+5=101
Exploring Operation: 96-5=91, Resulting Numbers: [14, 91]
Generated Node #0,3,4: 19:[14, 91] Operation: 96-5=91
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[5, 82], Operations: ['48-34=14', '96-14=82']
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 5*82=410, Resulting Numbers: [410]
410,19 unequal: No Solution
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,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:[96, 19], Operations: ['48-34=14', '5+14=19']
Exploring Operation: 96*19=1824, Resulting Numbers: [1824]
1824,19 unequal: No Solution
Exploring Operation: 96-19=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 96+19=115, Resulting Numbers: [115]
115,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:[14, 91], Operations: ['48-34=14', '96-5=91']
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 14*91=1274, Resulting Numbers: [1274]
1274,19 unequal: No Solution
Exploring Operation: 14+91=105, Resulting Numbers: [105]
105,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:[96, 9], Operations: ['48-34=14', '14-5=9']
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,19 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,19 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,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:[14, 101], Operations: ['48-34=14', '96+5=101']
Exploring Operation: 101-14=87, Resulting Numbers: [87]
87,19 unequal: No Solution
Exploring Operation: 14*101=1414, Resulting Numbers: [1414]
1414,19 unequal: No Solution
Exploring Operation: 14+101=115, Resulting Numbers: [115]
115,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:[34, 48, 91], Operations: ['96-5=91']
Exploring Operation: 34+48=82, Resulting Numbers: [91, 82]
Generated Node #0,2,0: 19:[91, 82] Operation: 34+48=82
Exploring Operation: 34+91=125, Resulting Numbers: [48, 125]
Generated Node #0,2,1: 19:[48, 125] Operation: 34+91=125
Exploring Operation: 48-34=14, Resulting Numbers: [91, 14]
Generated Node #0,2,2: 19:[91, 14] Operation: 48-34=14
Exploring Operation: 91-48=43, Resulting Numbers: [34, 43]
Generated Node #0,2,3: 19:[34, 43] Operation: 91-48=43
Exploring Operation: 91-34=57, Resulting Numbers: [48, 57]
Generated Node #0,2,4: 19:[48, 57] Operation: 91-34=57
Moving to Node #0,0,0
Current State: 19:[5, 14], Operations: ['96-48=48', '48-34=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[96, 34, 48, 5], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [34, 5, 48]
Generated Node #0,0: 19:[34, 5, 48] Operation: 96-48=48
Moving to Node #0,0
Current State: 19:[34, 5, 48], Operations: ['96-48=48']
Exploring Operation: 48-34=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 19:[5, 14] Operation: 48-34=14
Moving to Node #0,0,0
Current State: 19:[5, 14], Operations: ['96-48=48', '48-34=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
17,
36,
18,
24
] | 60 | [
"18-17=1",
"36+24=60",
"1*60=60"
] | Current State: 60:[17, 36, 18, 24], Operations: []
Exploring Operation: 18-17=1, Resulting Numbers: [36, 24, 1]
Generated Node #2: [36, 24, 1] from Operation: 18-17=1
Current State: 60:[36, 24, 1], Operations: ['18-17=1']
Exploring Operation: 36+24=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 36+24=60
Current State: 60:[1, 60], Operations: ['18-17=1', '36+24=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[17, 36, 18, 24], Operations: []
Exploring Operation: 36-24=12, Resulting Numbers: [17, 18, 12]
Generated Node #0,0: 60:[17, 18, 12] Operation: 36-24=12
Exploring Operation: 36-18=18, Resulting Numbers: [17, 24, 18]
Generated Node #0,1: 60:[17, 24, 18] Operation: 36-18=18
Exploring Operation: 36+24=60, Resulting Numbers: [17, 18, 60]
Generated Node #0,2: 60:[17, 18, 60] Operation: 36+24=60
Exploring Operation: 36/18=2, Resulting Numbers: [17, 24, 2]
Generated Node #0,3: 60:[17, 24, 2] Operation: 36/18=2
Exploring Operation: 36-17=19, Resulting Numbers: [18, 24, 19]
Generated Node #0,4: 60:[18, 24, 19] Operation: 36-17=19
Moving to Node #0,0
Current State: 60:[17, 18, 12], Operations: ['36-24=12']
Exploring Operation: 18-12=6, Resulting Numbers: [17, 6]
Generated Node #0,0,0: 60:[17, 6] Operation: 18-12=6
Exploring Operation: 18-17=1, Resulting Numbers: [12, 1]
Generated Node #0,0,1: 60:[12, 1] Operation: 18-17=1
Exploring Operation: 18+12=30, Resulting Numbers: [17, 30]
Generated Node #0,0,2: 60:[17, 30] Operation: 18+12=30
Exploring Operation: 17-12=5, Resulting Numbers: [18, 5]
Generated Node #0,0,3: 60:[18, 5] Operation: 17-12=5
Exploring Operation: 17+12=29, Resulting Numbers: [18, 29]
Generated Node #0,0,4: 60:[18, 29] Operation: 17+12=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[12, 1], Operations: ['36-24=12', '18-17=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[17, 6], Operations: ['36-24=12', '18-12=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[17, 30], Operations: ['36-24=12', '18+12=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[18, 5], Operations: ['36-24=12', '17-12=5']
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,60 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,60 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 60:[18, 29], Operations: ['36-24=12', '17+12=29']
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,60 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,60 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: 60:[17, 18, 60], Operations: ['36+24=60']
Exploring Operation: 17+18=35, Resulting Numbers: [60, 35]
Generated Node #0,2,0: 60:[60, 35] Operation: 17+18=35
Exploring Operation: 17+60=77, Resulting Numbers: [18, 77]
Generated Node #0,2,1: 60:[18, 77] Operation: 17+60=77
Exploring Operation: 60-17=43, Resulting Numbers: [18, 43]
Generated Node #0,2,2: 60:[18, 43] Operation: 60-17=43
Exploring Operation: 60-18=42, Resulting Numbers: [17, 42]
Generated Node #0,2,3: 60:[17, 42] Operation: 60-18=42
Exploring Operation: 18-17=1, Resulting Numbers: [60, 1]
Generated Node #0,2,4: 60:[60, 1] Operation: 18-17=1
Moving to Node #0,3
Current State: 60:[17, 24, 2], Operations: ['36/18=2']
Exploring Operation: 17+2=19, Resulting Numbers: [24, 19]
Generated Node #0,3,0: 60:[24, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [24, 15]
Generated Node #0,3,1: 60:[24, 15] Operation: 17-2=15
Exploring Operation: 24-2=22, Resulting Numbers: [17, 22]
Generated Node #0,3,2: 60:[17, 22] Operation: 24-2=22
Exploring Operation: 24-17=7, Resulting Numbers: [2, 7]
Generated Node #0,3,3: 60:[2, 7] Operation: 24-17=7
Exploring Operation: 24/2=12, Resulting Numbers: [17, 12]
Generated Node #0,3,4: 60:[17, 12] Operation: 24/2=12
Moving to Node #0,4
Current State: 60:[18, 24, 19], Operations: ['36-17=19']
Exploring Operation: 19-18=1, Resulting Numbers: [24, 1]
Generated Node #0,4,0: 60:[24, 1] Operation: 19-18=1
Exploring Operation: 24-18=6, Resulting Numbers: [19, 6]
Generated Node #0,4,1: 60:[19, 6] Operation: 24-18=6
Exploring Operation: 18+24=42, Resulting Numbers: [19, 42]
Generated Node #0,4,2: 60:[19, 42] Operation: 18+24=42
Exploring Operation: 18+19=37, Resulting Numbers: [24, 37]
Generated Node #0,4,3: 60:[24, 37] Operation: 18+19=37
Exploring Operation: 24-19=5, Resulting Numbers: [18, 5]
Generated Node #0,4,4: 60:[18, 5] Operation: 24-19=5
Moving to Node #0,1
Current State: 60:[17, 24, 18], Operations: ['36-18=18']
Exploring Operation: 17+24=41, Resulting Numbers: [18, 41]
Generated Node #0,1,0: 60:[18, 41] Operation: 17+24=41
Exploring Operation: 17+18=35, Resulting Numbers: [24, 35]
Generated Node #0,1,1: 60:[24, 35] Operation: 17+18=35
Exploring Operation: 24-18=6, Resulting Numbers: [17, 6]
Generated Node #0,1,2: 60:[17, 6] Operation: 24-18=6
Exploring Operation: 24-17=7, Resulting Numbers: [18, 7]
Generated Node #0,1,3: 60:[18, 7] Operation: 24-17=7
Exploring Operation: 18-17=1, Resulting Numbers: [24, 1]
Generated Node #0,1,4: 60:[24, 1] Operation: 18-17=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[17, 6], Operations: ['36-18=18', '24-18=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 60:[18, 7], Operations: ['36-18=18', '24-17=7']
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,60 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 60:[24, 1], Operations: ['36-18=18', '18-17=1']
Exploring Operation: 24-1=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[24, 35], Operations: ['36-18=18', '17+18=35']
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 24+35=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 24*35=840, Resulting Numbers: [840]
840,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[18, 41], Operations: ['36-18=18', '17+24=41']
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,60 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 60:[60, 1], Operations: ['36+24=60', '18-17=1']
Exploring Operation: 60+1=61, Resulting Numbers: [61]
61,60 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[17, 36, 18, 24], Operations: []
Exploring Operation: 36+24=60, Resulting Numbers: [17, 18, 60]
Generated Node #0,2: 60:[17, 18, 60] Operation: 36+24=60
Moving to Node #0,2
Current State: 60:[17, 18, 60], Operations: ['36+24=60']
Exploring Operation: 18-17=1, Resulting Numbers: [60, 1]
Generated Node #0,2,4: 60:[60, 1] Operation: 18-17=1
Moving to Node #0,2,4
Current State: 60:[60, 1], Operations: ['36+24=60', '18-17=1']
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
27,
78,
36,
33
] | 71 | [
"78*36=2808",
"2808/27=104",
"104-33=71"
] | Current State: 71:[27, 78, 36, 33], Operations: []
Exploring Operation: 78*36=2808, Resulting Numbers: [27, 33, 2808]
Generated Node #2: [27, 33, 2808] from Operation: 78*36=2808
Current State: 71:[27, 33, 2808], Operations: ['78*36=2808']
Exploring Operation: 2808/27=104, Resulting Numbers: [33, 104]
Generated Node #3: [33, 104] from Operation: 2808/27=104
Current State: 71:[33, 104], Operations: ['78*36=2808', '2808/27=104']
Exploring Operation: 104-33=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[27, 78, 36, 33], Operations: []
Exploring Operation: 27+36=63, Resulting Numbers: [78, 33, 63]
Generated Node #0,0: 71:[78, 33, 63] Operation: 27+36=63
Exploring Operation: 27+33=60, Resulting Numbers: [78, 36, 60]
Generated Node #0,1: 71:[78, 36, 60] Operation: 27+33=60
Moving to Node #0,0
Current State: 71:[78, 33, 63], Operations: ['27+36=63']
Exploring Operation: 33+63=96, Resulting Numbers: [78, 96]
Generated Node #0,0,0: 71:[78, 96] Operation: 33+63=96
Exploring Operation: 78-33=45, Resulting Numbers: [63, 45]
Generated Node #0,0,1: 71:[63, 45] Operation: 78-33=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[78, 96], Operations: ['27+36=63', '33+63=96']
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 78+96=174, Resulting Numbers: [174]
174,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[63, 45], Operations: ['27+36=63', '78-33=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[78, 36, 60], Operations: ['27+33=60']
Exploring Operation: 36+60=96, Resulting Numbers: [78, 96]
Generated Node #0,1,0: 71:[78, 96] Operation: 36+60=96
Exploring Operation: 78-36=42, Resulting Numbers: [60, 42]
Generated Node #0,1,1: 71:[60, 42] Operation: 78-36=42
Moving to Node #0,1,0
Current State: 71:[78, 96], Operations: ['27+33=60', '36+60=96']
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 78+96=174, Resulting Numbers: [174]
174,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[60, 42], Operations: ['27+33=60', '78-36=42']
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,71 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.