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 |
|---|---|---|---|---|---|---|---|---|
[
92,
18,
75,
13
] | 12 | [
"92-18=74",
"75-13=62",
"74-62=12"
] | Current State: 12:[92, 18, 75, 13], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [75, 13, 74]
Generated Node #2: [75, 13, 74] from Operation: 92-18=74
Current State: 12:[75, 13, 74], Operations: ['92-18=74']
Exploring Operation: 75-13=62, Resulting Numbers: [74, 62]
Generated Node #3: [74, 62] from Operation: 75-13=62
Current State: 12:[74, 62], Operations: ['92-18=74', '75-13=62']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[92, 18, 75, 13], Operations: []
Exploring Operation: 92-13=79, Resulting Numbers: [18, 75, 79]
Generated Node #0,0: 12:[18, 75, 79] Operation: 92-13=79
Exploring Operation: 75-18=57, Resulting Numbers: [92, 13, 57]
Generated Node #0,1: 12:[92, 13, 57] Operation: 75-18=57
Exploring Operation: 75-13=62, Resulting Numbers: [92, 18, 62]
Generated Node #0,2: 12:[92, 18, 62] Operation: 75-13=62
Exploring Operation: 92-18=74, Resulting Numbers: [75, 13, 74]
Generated Node #0,3: 12:[75, 13, 74] Operation: 92-18=74
Exploring Operation: 92-75=17, Resulting Numbers: [18, 13, 17]
Generated Node #0,4: 12:[18, 13, 17] Operation: 92-75=17
Moving to Node #0,4
Current State: 12:[18, 13, 17], Operations: ['92-75=17']
Exploring Operation: 18+17=35, Resulting Numbers: [13, 35]
Generated Node #0,4,0: 12:[13, 35] Operation: 18+17=35
Exploring Operation: 18+13=31, Resulting Numbers: [17, 31]
Generated Node #0,4,1: 12:[17, 31] Operation: 18+13=31
Exploring Operation: 18-17=1, Resulting Numbers: [13, 1]
Generated Node #0,4,2: 12:[13, 1] Operation: 18-17=1
Exploring Operation: 17-13=4, Resulting Numbers: [18, 4]
Generated Node #0,4,3: 12:[18, 4] Operation: 17-13=4
Exploring Operation: 18-13=5, Resulting Numbers: [17, 5]
Generated Node #0,4,4: 12:[17, 5] Operation: 18-13=5
Moving to Node #0,3
Current State: 12:[75, 13, 74], Operations: ['92-18=74']
Exploring Operation: 75-13=62, Resulting Numbers: [74, 62]
Generated Node #0,3,0: 12:[74, 62] Operation: 75-13=62
Exploring Operation: 74-13=61, Resulting Numbers: [75, 61]
Generated Node #0,3,1: 12:[75, 61] Operation: 74-13=61
Exploring Operation: 75+74=149, Resulting Numbers: [13, 149]
Generated Node #0,3,2: 12:[13, 149] Operation: 75+74=149
Exploring Operation: 75+13=88, Resulting Numbers: [74, 88]
Generated Node #0,3,3: 12:[74, 88] Operation: 75+13=88
Exploring Operation: 75-74=1, Resulting Numbers: [13, 1]
Generated Node #0,3,4: 12:[13, 1] Operation: 75-74=1
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 12:[13, 1], Operations: ['92-18=74', '75-74=1']
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[92, 18, 75, 13], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [75, 13, 74]
Generated Node #0,3: 12:[75, 13, 74] Operation: 92-18=74
Moving to Node #0,3
Current State: 12:[75, 13, 74], Operations: ['92-18=74']
Exploring Operation: 75-74=1, Resulting Numbers: [13, 1]
Generated Node #0,3,4: 12:[13, 1] Operation: 75-74=1
Moving to Node #0,3,4
Current State: 12:[13, 1], Operations: ['92-18=74', '75-74=1']
Exploring Operation: 13-1=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
92,
16,
25,
9
] | 93 | [
"25-16=9",
"9/9=1",
"92+1=93"
] | Current State: 93:[92, 16, 25, 9], Operations: []
Exploring Operation: 25-16=9, Resulting Numbers: [92, 9, 9]
Generated Node #2: [92, 9, 9] from Operation: 25-16=9
Current State: 93:[92, 9, 9], Operations: ['25-16=9']
Exploring Operation: 9/9=1, Resulting Numbers: [92, 1]
Generated Node #3: [92, 1] from Operation: 9/9=1
Current State: 93:[92, 1], Operations: ['25-16=9', '9/9=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[92, 16, 25, 9], Operations: []
Exploring Operation: 16-9=7, Resulting Numbers: [92, 25, 7]
Generated Node #0,0: 93:[92, 25, 7] Operation: 16-9=7
Exploring Operation: 16+9=25, Resulting Numbers: [92, 25, 25]
Generated Node #0,1: 93:[92, 25, 25] Operation: 16+9=25
Exploring Operation: 25-16=9, Resulting Numbers: [92, 9, 9]
Generated Node #0,2: 93:[92, 9, 9] Operation: 25-16=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[92, 25, 7], Operations: ['16-9=7']
Exploring Operation: 92-7=85, Resulting Numbers: [25, 85]
Generated Node #0,0,0: 93:[25, 85] Operation: 92-7=85
Exploring Operation: 25+7=32, Resulting Numbers: [92, 32]
Generated Node #0,0,1: 93:[92, 32] Operation: 25+7=32
Exploring Operation: 92+7=99, Resulting Numbers: [25, 99]
Generated Node #0,0,2: 93:[25, 99] Operation: 92+7=99
Moving to Node #0,0,1
Current State: 93:[92, 32], Operations: ['16-9=7', '25+7=32']
Exploring Operation: 92*32=2944, Resulting Numbers: [2944]
2944,93 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 92+32=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[25, 99], Operations: ['16-9=7', '92+7=99']
Exploring Operation: 25*99=2475, Resulting Numbers: [2475]
2475,93 unequal: No Solution
Exploring Operation: 25+99=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 99-25=74, Resulting Numbers: [74]
74,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[25, 85], Operations: ['16-9=7', '92-7=85']
Exploring Operation: 25*85=2125, Resulting Numbers: [2125]
2125,93 unequal: No Solution
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 25+85=110, Resulting Numbers: [110]
110,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[92, 25, 25], Operations: ['16+9=25']
Exploring Operation: 25/25=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 93:[92, 1] Operation: 25/25=1
Exploring Operation: 25+25=50, Resulting Numbers: [92, 50]
Generated Node #0,1,1: 93:[92, 50] Operation: 25+25=50
Exploring Operation: 25-25=0, Resulting Numbers: [92, 0]
Generated Node #0,1,2: 93:[92, 0] Operation: 25-25=0
Moving to Node #0,1,0
Current State: 93:[92, 1], Operations: ['16+9=25', '25/25=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[92, 16, 25, 9], Operations: []
Exploring Operation: 16+9=25, Resulting Numbers: [92, 25, 25]
Generated Node #0,1: 93:[92, 25, 25] Operation: 16+9=25
Moving to Node #0,1
Current State: 93:[92, 25, 25], Operations: ['16+9=25']
Exploring Operation: 25/25=1, Resulting Numbers: [92, 1]
Generated Node #0,1,0: 93:[92, 1] Operation: 25/25=1
Moving to Node #0,1,0
Current State: 93:[92, 1], Operations: ['16+9=25', '25/25=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
13,
12,
83,
22
] | 60 | [
"13-12=1",
"83-22=61",
"61-1=60"
] | Current State: 60:[13, 12, 83, 22], Operations: []
Exploring Operation: 13-12=1, Resulting Numbers: [83, 22, 1]
Generated Node #2: [83, 22, 1] from Operation: 13-12=1
Current State: 60:[83, 22, 1], Operations: ['13-12=1']
Exploring Operation: 83-22=61, Resulting Numbers: [1, 61]
Generated Node #3: [1, 61] from Operation: 83-22=61
Current State: 60:[1, 61], Operations: ['13-12=1', '83-22=61']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[13, 12, 83, 22], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [13, 12, 61]
Generated Node #0,0: 60:[13, 12, 61] Operation: 83-22=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[13, 12, 61], Operations: ['83-22=61']
Exploring Operation: 13-12=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 60:[61, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 60:[61, 1], Operations: ['83-22=61', '13-12=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[13, 12, 83, 22], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [13, 12, 61]
Generated Node #0,0: 60:[13, 12, 61] Operation: 83-22=61
Moving to Node #0,0
Current State: 60:[13, 12, 61], Operations: ['83-22=61']
Exploring Operation: 13-12=1, Resulting Numbers: [61, 1]
Generated Node #0,0,0: 60:[61, 1] Operation: 13-12=1
Moving to Node #0,0,0
Current State: 60:[61, 1], Operations: ['83-22=61', '13-12=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
81,
62,
74,
61
] | 11 | [
"81+62=143",
"74-61=13",
"143/13=11"
] | Current State: 11:[81, 62, 74, 61], Operations: []
Exploring Operation: 81+62=143, Resulting Numbers: [74, 61, 143]
Generated Node #2: [74, 61, 143] from Operation: 81+62=143
Current State: 11:[74, 61, 143], Operations: ['81+62=143']
Exploring Operation: 74-61=13, Resulting Numbers: [143, 13]
Generated Node #3: [143, 13] from Operation: 74-61=13
Current State: 11:[143, 13], Operations: ['81+62=143', '74-61=13']
Exploring Operation: 143/13=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[81, 62, 74, 61], Operations: []
Exploring Operation: 81-74=7, Resulting Numbers: [62, 61, 7]
Generated Node #0,0: 11:[62, 61, 7] Operation: 81-74=7
Exploring Operation: 81-62=19, Resulting Numbers: [74, 61, 19]
Generated Node #0,1: 11:[74, 61, 19] Operation: 81-62=19
Exploring Operation: 74-62=12, Resulting Numbers: [81, 61, 12]
Generated Node #0,2: 11:[81, 61, 12] Operation: 74-62=12
Moving to Node #0,0
Current State: 11:[62, 61, 7], Operations: ['81-74=7']
Exploring Operation: 62-7=55, Resulting Numbers: [61, 55]
Generated Node #0,0,0: 11:[61, 55] Operation: 62-7=55
Exploring Operation: 61-7=54, Resulting Numbers: [62, 54]
Generated Node #0,0,1: 11:[62, 54] Operation: 61-7=54
Exploring Operation: 62-61=1, Resulting Numbers: [7, 1]
Generated Node #0,0,2: 11:[7, 1] Operation: 62-61=1
Moving to Node #0,1
Current State: 11:[74, 61, 19], Operations: ['81-62=19']
Exploring Operation: 74-61=13, Resulting Numbers: [19, 13]
Generated Node #0,1,0: 11:[19, 13] Operation: 74-61=13
Exploring Operation: 61-19=42, Resulting Numbers: [74, 42]
Generated Node #0,1,1: 11:[74, 42] Operation: 61-19=42
Exploring Operation: 74-19=55, Resulting Numbers: [61, 55]
Generated Node #0,1,2: 11:[61, 55] Operation: 74-19=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[19, 13], Operations: ['81-62=19', '74-61=13']
Exploring Operation: 19*13=247, Resulting Numbers: [247]
247,11 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 19+13=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[74, 42], Operations: ['81-62=19', '61-19=42']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,11 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[61, 55], Operations: ['81-62=19', '74-19=55']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,11 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: 11:[81, 61, 12], Operations: ['74-62=12']
Exploring Operation: 61-12=49, Resulting Numbers: [81, 49]
Generated Node #0,2,0: 11:[81, 49] Operation: 61-12=49
Exploring Operation: 81-12=69, Resulting Numbers: [61, 69]
Generated Node #0,2,1: 11:[61, 69] Operation: 81-12=69
Exploring Operation: 81-61=20, Resulting Numbers: [12, 20]
Generated Node #0,2,2: 11:[12, 20] Operation: 81-61=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[12, 20], Operations: ['74-62=12', '81-61=20']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,11 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[81, 49], Operations: ['74-62=12', '61-12=49']
Exploring Operation: 81+49=130, Resulting Numbers: [130]
130,11 unequal: No Solution
Exploring Operation: 81-49=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 81*49=3969, Resulting Numbers: [3969]
3969,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[61, 69], Operations: ['74-62=12', '81-12=69']
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,11 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 11:[7, 1], Operations: ['81-74=7', '62-61=1']
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[61, 55], Operations: ['81-74=7', '62-7=55']
Exploring Operation: 61-55=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 61+55=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 61*55=3355, Resulting Numbers: [3355]
3355,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[62, 54], Operations: ['81-74=7', '61-7=54']
Exploring Operation: 62+54=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 62*54=3348, Resulting Numbers: [3348]
3348,11 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,11 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
43,
2,
66,
32
] | 79 | [
"43+2=45",
"66-32=34",
"45+34=79"
] | Current State: 79:[43, 2, 66, 32], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [66, 32, 45]
Generated Node #2: [66, 32, 45] from Operation: 43+2=45
Current State: 79:[66, 32, 45], Operations: ['43+2=45']
Exploring Operation: 66-32=34, Resulting Numbers: [45, 34]
Generated Node #3: [45, 34] from Operation: 66-32=34
Current State: 79:[45, 34], Operations: ['43+2=45', '66-32=34']
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[43, 2, 66, 32], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [66, 32, 45]
Generated Node #0,0: 79:[66, 32, 45] Operation: 43+2=45
Exploring Operation: 2*32=64, Resulting Numbers: [43, 66, 64]
Generated Node #0,1: 79:[43, 66, 64] Operation: 2*32=64
Exploring Operation: 43*2=86, Resulting Numbers: [66, 32, 86]
Generated Node #0,2: 79:[66, 32, 86] Operation: 43*2=86
Exploring Operation: 43+32=75, Resulting Numbers: [2, 66, 75]
Generated Node #0,3: 79:[2, 66, 75] Operation: 43+32=75
Moving to Node #0,1
Current State: 79:[43, 66, 64], Operations: ['2*32=64']
Exploring Operation: 43+66=109, Resulting Numbers: [64, 109]
Generated Node #0,1,0: 79:[64, 109] Operation: 43+66=109
Exploring Operation: 66-43=23, Resulting Numbers: [64, 23]
Generated Node #0,1,1: 79:[64, 23] Operation: 66-43=23
Exploring Operation: 64-43=21, Resulting Numbers: [66, 21]
Generated Node #0,1,2: 79:[66, 21] Operation: 64-43=21
Exploring Operation: 43+64=107, Resulting Numbers: [66, 107]
Generated Node #0,1,3: 79:[66, 107] Operation: 43+64=107
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 79:[66, 107], Operations: ['2*32=64', '43+64=107']
Exploring Operation: 107-66=41, Resulting Numbers: [41]
41,79 unequal: No Solution
Exploring Operation: 66*107=7062, Resulting Numbers: [7062]
7062,79 unequal: No Solution
Exploring Operation: 66+107=173, Resulting Numbers: [173]
173,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[64, 109], Operations: ['2*32=64', '43+66=109']
Exploring Operation: 64+109=173, Resulting Numbers: [173]
173,79 unequal: No Solution
Exploring Operation: 64*109=6976, Resulting Numbers: [6976]
6976,79 unequal: No Solution
Exploring Operation: 109-64=45, Resulting Numbers: [45]
45,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[64, 23], Operations: ['2*32=64', '66-43=23']
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,79 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 79:[66, 21], Operations: ['2*32=64', '64-43=21']
Exploring Operation: 66+21=87, Resulting Numbers: [87]
87,79 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,79 unequal: No Solution
Exploring Operation: 66*21=1386, Resulting Numbers: [1386]
1386,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 79:[66, 32, 86], Operations: ['43*2=86']
Exploring Operation: 86-32=54, Resulting Numbers: [66, 54]
Generated Node #0,2,0: 79:[66, 54] Operation: 86-32=54
Exploring Operation: 66-32=34, Resulting Numbers: [86, 34]
Generated Node #0,2,1: 79:[86, 34] Operation: 66-32=34
Exploring Operation: 32+86=118, Resulting Numbers: [66, 118]
Generated Node #0,2,2: 79:[66, 118] Operation: 32+86=118
Exploring Operation: 66+32=98, Resulting Numbers: [86, 98]
Generated Node #0,2,3: 79:[86, 98] Operation: 66+32=98
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[86, 98], Operations: ['43*2=86', '66+32=98']
Exploring Operation: 86*98=8428, Resulting Numbers: [8428]
8428,79 unequal: No Solution
Exploring Operation: 98-86=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Exploring Operation: 86+98=184, Resulting Numbers: [184]
184,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[66, 54], Operations: ['43*2=86', '86-32=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,79 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,79 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[86, 34], Operations: ['43*2=86', '66-32=34']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 86*34=2924, Resulting Numbers: [2924]
2924,79 unequal: No Solution
Exploring Operation: 86+34=120, Resulting Numbers: [120]
120,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[66, 118], Operations: ['43*2=86', '32+86=118']
Exploring Operation: 118-66=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 66*118=7788, Resulting Numbers: [7788]
7788,79 unequal: No Solution
Exploring Operation: 66+118=184, Resulting Numbers: [184]
184,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 79:[2, 66, 75], Operations: ['43+32=75']
Exploring Operation: 66-2=64, Resulting Numbers: [75, 64]
Generated Node #0,3,0: 79:[75, 64] Operation: 66-2=64
Exploring Operation: 2+66=68, Resulting Numbers: [75, 68]
Generated Node #0,3,1: 79:[75, 68] Operation: 2+66=68
Exploring Operation: 75-2=73, Resulting Numbers: [66, 73]
Generated Node #0,3,2: 79:[66, 73] Operation: 75-2=73
Exploring Operation: 2+75=77, Resulting Numbers: [66, 77]
Generated Node #0,3,3: 79:[66, 77] Operation: 2+75=77
Moving to Node #0,0
Current State: 79:[66, 32, 45], Operations: ['43+2=45']
Exploring Operation: 66+45=111, Resulting Numbers: [32, 111]
Generated Node #0,0,0: 79:[32, 111] Operation: 66+45=111
Exploring Operation: 66-32=34, Resulting Numbers: [45, 34]
Generated Node #0,0,1: 79:[45, 34] Operation: 66-32=34
Exploring Operation: 32+45=77, Resulting Numbers: [66, 77]
Generated Node #0,0,2: 79:[66, 77] Operation: 32+45=77
Exploring Operation: 66+32=98, Resulting Numbers: [45, 98]
Generated Node #0,0,3: 79:[45, 98] Operation: 66+32=98
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[66, 77], Operations: ['43+2=45', '32+45=77']
Exploring Operation: 66*77=5082, Resulting Numbers: [5082]
5082,79 unequal: No Solution
Exploring Operation: 77-66=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 66+77=143, Resulting Numbers: [143]
143,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 79:[45, 98], Operations: ['43+2=45', '66+32=98']
Exploring Operation: 45*98=4410, Resulting Numbers: [4410]
4410,79 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 45+98=143, Resulting Numbers: [143]
143,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[32, 111], Operations: ['43+2=45', '66+45=111']
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[43, 2, 66, 32], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [66, 32, 45]
Generated Node #0,0: 79:[66, 32, 45] Operation: 43+2=45
Moving to Node #0,0
Current State: 79:[66, 32, 45], Operations: ['43+2=45']
Exploring Operation: 66+45=111, Resulting Numbers: [32, 111]
Generated Node #0,0,0: 79:[32, 111] Operation: 66+45=111
Moving to Node #0,0,0
Current State: 79:[32, 111], Operations: ['43+2=45', '66+45=111']
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_4 | sum_heuristic |
[
20,
82,
36,
92
] | 34 | [
"92-82=10",
"20/10=2",
"36-2=34"
] | Current State: 34:[20, 82, 36, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [20, 36, 10]
Generated Node #2: [20, 36, 10] from Operation: 92-82=10
Current State: 34:[20, 36, 10], Operations: ['92-82=10']
Exploring Operation: 20/10=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 20/10=2
Current State: 34:[36, 2], Operations: ['92-82=10', '20/10=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[20, 82, 36, 92], Operations: []
Exploring Operation: 92-36=56, Resulting Numbers: [20, 82, 56]
Generated Node #0,0: 34:[20, 82, 56] Operation: 92-36=56
Exploring Operation: 92-82=10, Resulting Numbers: [20, 36, 10]
Generated Node #0,1: 34:[20, 36, 10] Operation: 92-82=10
Exploring Operation: 82-20=62, Resulting Numbers: [36, 92, 62]
Generated Node #0,2: 34:[36, 92, 62] Operation: 82-20=62
Exploring Operation: 92-20=72, Resulting Numbers: [82, 36, 72]
Generated Node #0,3: 34:[82, 36, 72] Operation: 92-20=72
Exploring Operation: 82-36=46, Resulting Numbers: [20, 92, 46]
Generated Node #0,4: 34:[20, 92, 46] Operation: 82-36=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[20, 36, 10], Operations: ['92-82=10']
Exploring Operation: 20/10=2, Resulting Numbers: [36, 2]
Generated Node #0,1,0: 34:[36, 2] Operation: 20/10=2
Exploring Operation: 36-20=16, Resulting Numbers: [10, 16]
Generated Node #0,1,1: 34:[10, 16] Operation: 36-20=16
Exploring Operation: 36-10=26, Resulting Numbers: [20, 26]
Generated Node #0,1,2: 34:[20, 26] Operation: 36-10=26
Exploring Operation: 20-10=10, Resulting Numbers: [36, 10]
Generated Node #0,1,3: 34:[36, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [36, 30]
Generated Node #0,1,4: 34:[36, 30] Operation: 20+10=30
Moving to Node #0,1,0
Current State: 34:[36, 2], Operations: ['92-82=10', '20/10=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[20, 82, 36, 92], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [20, 36, 10]
Generated Node #0,1: 34:[20, 36, 10] Operation: 92-82=10
Moving to Node #0,1
Current State: 34:[20, 36, 10], Operations: ['92-82=10']
Exploring Operation: 20/10=2, Resulting Numbers: [36, 2]
Generated Node #0,1,0: 34:[36, 2] Operation: 20/10=2
Moving to Node #0,1,0
Current State: 34:[36, 2], Operations: ['92-82=10', '20/10=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
5,
22,
36,
1
] | 13 | [
"5-1=4",
"36/4=9",
"22-9=13"
] | Current State: 13:[5, 22, 36, 1], Operations: []
Exploring Operation: 5-1=4, Resulting Numbers: [22, 36, 4]
Generated Node #2: [22, 36, 4] from Operation: 5-1=4
Current State: 13:[22, 36, 4], Operations: ['5-1=4']
Exploring Operation: 36/4=9, Resulting Numbers: [22, 9]
Generated Node #3: [22, 9] from Operation: 36/4=9
Current State: 13:[22, 9], Operations: ['5-1=4', '36/4=9']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 22, 36, 1], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [22, 1, 31]
Generated Node #0,0: 13:[22, 1, 31] Operation: 36-5=31
Exploring Operation: 5+1=6, Resulting Numbers: [22, 36, 6]
Generated Node #0,1: 13:[22, 36, 6] Operation: 5+1=6
Exploring Operation: 36-22=14, Resulting Numbers: [5, 1, 14]
Generated Node #0,2: 13:[5, 1, 14] Operation: 36-22=14
Exploring Operation: 22-5=17, Resulting Numbers: [36, 1, 17]
Generated Node #0,3: 13:[36, 1, 17] Operation: 22-5=17
Exploring Operation: 22-1=21, Resulting Numbers: [5, 36, 21]
Generated Node #0,4: 13:[5, 36, 21] Operation: 22-1=21
Moving to Node #0,2
Current State: 13:[5, 1, 14], Operations: ['36-22=14']
Exploring Operation: 5/1=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 13:[14, 5] Operation: 5/1=5
Exploring Operation: 5*1=5, Resulting Numbers: [14, 5]
Generated Node #0,2,1: 13:[14, 5] Operation: 5*1=5
Exploring Operation: 14-1=13, Resulting Numbers: [5, 13]
Generated Node #0,2,2: 13:[5, 13] Operation: 14-1=13
Exploring Operation: 1*14=14, Resulting Numbers: [5, 14]
Generated Node #0,2,3: 13:[5, 14] Operation: 1*14=14
Exploring Operation: 5+1=6, Resulting Numbers: [14, 6]
Generated Node #0,2,4: 13:[14, 6] Operation: 5+1=6
Moving to Node #0,1
Current State: 13:[22, 36, 6], Operations: ['5+1=6']
Exploring Operation: 22+6=28, Resulting Numbers: [36, 28]
Generated Node #0,1,0: 13:[36, 28] Operation: 22+6=28
Exploring Operation: 36/6=6, Resulting Numbers: [22, 6]
Generated Node #0,1,1: 13:[22, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [22, 30]
Generated Node #0,1,2: 13:[22, 30] Operation: 36-6=30
Exploring Operation: 36-22=14, Resulting Numbers: [6, 14]
Generated Node #0,1,3: 13:[6, 14] Operation: 36-22=14
Exploring Operation: 22-6=16, Resulting Numbers: [36, 16]
Generated Node #0,1,4: 13:[36, 16] Operation: 22-6=16
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[6, 14], Operations: ['5+1=6', '36-22=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,13 unequal: No Solution
No solution 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: 13:[22, 6], Operations: ['5+1=6', '36/6=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,13 unequal: No Solution
No solution 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: 13:[22, 30], Operations: ['5+1=6', '36-6=30']
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,13 unequal: No Solution
No solution 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: 13:[36, 16], Operations: ['5+1=6', '22-6=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,13 unequal: No Solution
No solution 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: 13:[36, 28], Operations: ['5+1=6', '22+6=28']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,13 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: 13:[5, 36, 21], Operations: ['22-1=21']
Exploring Operation: 5+36=41, Resulting Numbers: [21, 41]
Generated Node #0,4,0: 13:[21, 41] Operation: 5+36=41
Exploring Operation: 36-5=31, Resulting Numbers: [21, 31]
Generated Node #0,4,1: 13:[21, 31] Operation: 36-5=31
Exploring Operation: 21-5=16, Resulting Numbers: [36, 16]
Generated Node #0,4,2: 13:[36, 16] Operation: 21-5=16
Exploring Operation: 5+21=26, Resulting Numbers: [36, 26]
Generated Node #0,4,3: 13:[36, 26] Operation: 5+21=26
Exploring Operation: 36-21=15, Resulting Numbers: [5, 15]
Generated Node #0,4,4: 13:[5, 15] Operation: 36-21=15
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 13:[5, 15], Operations: ['22-1=21', '36-21=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,13 unequal: No Solution
No 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: 13:[21, 31], Operations: ['22-1=21', '36-5=31']
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,13 unequal: No Solution
No 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: 13:[36, 16], Operations: ['22-1=21', '21-5=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,13 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,13 unequal: No Solution
No 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: 13:[21, 41], Operations: ['22-1=21', '5+36=41']
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,13 unequal: No Solution
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,13 unequal: No Solution
No 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: 13:[36, 26], Operations: ['22-1=21', '5+21=26']
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,13 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,13 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: 13:[22, 1, 31], Operations: ['36-5=31']
Exploring Operation: 22-1=21, Resulting Numbers: [31, 21]
Generated Node #0,0,0: 13:[31, 21] Operation: 22-1=21
Exploring Operation: 22*1=22, Resulting Numbers: [31, 22]
Generated Node #0,0,1: 13:[31, 22] Operation: 22*1=22
Exploring Operation: 22/1=22, Resulting Numbers: [31, 22]
Generated Node #0,0,2: 13:[31, 22] Operation: 22/1=22
Exploring Operation: 31-22=9, Resulting Numbers: [1, 9]
Generated Node #0,0,3: 13:[1, 9] Operation: 31-22=9
Exploring Operation: 31-1=30, Resulting Numbers: [22, 30]
Generated Node #0,0,4: 13:[22, 30] Operation: 31-1=30
Moving to Node #0,3
Current State: 13:[36, 1, 17], Operations: ['22-5=17']
Exploring Operation: 36/1=36, Resulting Numbers: [17, 36]
Generated Node #0,3,0: 13:[17, 36] Operation: 36/1=36
Exploring Operation: 36-17=19, Resulting Numbers: [1, 19]
Generated Node #0,3,1: 13:[1, 19] Operation: 36-17=19
Exploring Operation: 36*1=36, Resulting Numbers: [17, 36]
Generated Node #0,3,2: 13:[17, 36] Operation: 36*1=36
Exploring Operation: 36-1=35, Resulting Numbers: [17, 35]
Generated Node #0,3,3: 13:[17, 35] Operation: 36-1=35
Exploring Operation: 17-1=16, Resulting Numbers: [36, 16]
Generated Node #0,3,4: 13:[36, 16] Operation: 17-1=16
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[1, 19], Operations: ['22-5=17', '36-17=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 1+19=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No 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: 13:[17, 35], Operations: ['22-5=17', '36-1=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 17+35=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 17*35=595, Resulting Numbers: [595]
595,13 unequal: No Solution
No 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: 13:[36, 16], Operations: ['22-5=17', '17-1=16']
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,13 unequal: No Solution
No 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: 13:[17, 36], Operations: ['22-5=17', '36/1=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,13 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,13 unequal: No Solution
No 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: 13:[17, 36], Operations: ['22-5=17', '36*1=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 17*36=612, Resulting Numbers: [612]
612,13 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: 13:[5, 13], Operations: ['36-22=14', '14-1=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[14, 6], Operations: ['36-22=14', '5+1=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[14, 5], Operations: ['36-22=14', '5/1=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[5, 14], Operations: ['36-22=14', '1*14=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[14, 5], Operations: ['36-22=14', '5*1=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[1, 9], Operations: ['36-5=31', '31-22=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[22, 30], Operations: ['36-5=31', '31-1=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,13 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[31, 21], Operations: ['36-5=31', '22-1=21']
Exploring Operation: 31*21=651, Resulting Numbers: [651]
651,13 unequal: No Solution
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 31+21=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[31, 22], Operations: ['36-5=31', '22/1=22']
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,13 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,13 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[31, 22], Operations: ['36-5=31', '22*1=22']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,13 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,13 unequal: No Solution
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,13 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
36,
2,
17,
79
] | 96 | [
"36-2=34",
"79-17=62",
"34+62=96"
] | Current State: 96:[36, 2, 17, 79], Operations: []
Exploring Operation: 36-2=34, Resulting Numbers: [17, 79, 34]
Generated Node #2: [17, 79, 34] from Operation: 36-2=34
Current State: 96:[17, 79, 34], Operations: ['36-2=34']
Exploring Operation: 79-17=62, Resulting Numbers: [34, 62]
Generated Node #3: [34, 62] from Operation: 79-17=62
Current State: 96:[34, 62], Operations: ['36-2=34', '79-17=62']
Exploring Operation: 34+62=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[36, 2, 17, 79], Operations: []
Exploring Operation: 17+79=96, Resulting Numbers: [36, 2, 96]
Generated Node #0,0: 96:[36, 2, 96] Operation: 17+79=96
Exploring Operation: 79-17=62, Resulting Numbers: [36, 2, 62]
Generated Node #0,1: 96:[36, 2, 62] Operation: 79-17=62
Exploring Operation: 79-36=43, Resulting Numbers: [2, 17, 43]
Generated Node #0,2: 96:[2, 17, 43] Operation: 79-36=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[36, 2, 96], Operations: ['17+79=96']
Exploring Operation: 36-2=34, Resulting Numbers: [96, 34]
Generated Node #0,0,0: 96:[96, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [96, 18]
Generated Node #0,0,1: 96:[96, 18] Operation: 36/2=18
Exploring Operation: 96/2=48, Resulting Numbers: [36, 48]
Generated Node #0,0,2: 96:[36, 48] Operation: 96/2=48
Moving to Node #0,0,0
Current State: 96:[96, 34], Operations: ['17+79=96', '36-2=34']
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,96 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[96, 18], Operations: ['17+79=96', '36/2=18']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,96 unequal: No Solution
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,96 unequal: No Solution
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Moving to Node #0,0,2
Current State: 96:[36, 48], Operations: ['17+79=96', '96/2=48']
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,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,2
Current State: 96:[2, 17, 43], Operations: ['79-36=43']
Exploring Operation: 43-17=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 96:[2, 26] Operation: 43-17=26
Exploring Operation: 2+43=45, Resulting Numbers: [17, 45]
Generated Node #0,2,1: 96:[17, 45] Operation: 2+43=45
Exploring Operation: 17-2=15, Resulting Numbers: [43, 15]
Generated Node #0,2,2: 96:[43, 15] Operation: 17-2=15
Moving to Node #0,2,0
Current State: 96:[2, 26], Operations: ['79-36=43', '43-17=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[17, 45], Operations: ['79-36=43', '2+43=45']
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 17*45=765, Resulting Numbers: [765]
765,96 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[43, 15], Operations: ['79-36=43', '17-2=15']
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,96 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,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,1
Current State: 96:[36, 2, 62], Operations: ['79-17=62']
Exploring Operation: 62/2=31, Resulting Numbers: [36, 31]
Generated Node #0,1,0: 96:[36, 31] Operation: 62/2=31
Exploring Operation: 62-36=26, Resulting Numbers: [2, 26]
Generated Node #0,1,1: 96:[2, 26] Operation: 62-36=26
Exploring Operation: 36+62=98, Resulting Numbers: [2, 98]
Generated Node #0,1,2: 96:[2, 98] Operation: 36+62=98
Moving to Node #0,1,1
Current State: 96:[2, 26], Operations: ['79-17=62', '62-36=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[2, 98], Operations: ['79-17=62', '36+62=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[36, 2, 17, 79], Operations: []
Exploring Operation: 79-17=62, Resulting Numbers: [36, 2, 62]
Generated Node #0,1: 96:[36, 2, 62] Operation: 79-17=62
Moving to Node #0,1
Current State: 96:[36, 2, 62], Operations: ['79-17=62']
Exploring Operation: 36+62=98, Resulting Numbers: [2, 98]
Generated Node #0,1,2: 96:[2, 98] Operation: 36+62=98
Moving to Node #0,1,2
Current State: 96:[2, 98], Operations: ['79-17=62', '36+62=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_3 | mult_heuristic |
[
62,
22,
88,
29
] | 33 | [
"62+22=84",
"88+29=117",
"117-84=33"
] | Current State: 33:[62, 22, 88, 29], Operations: []
Exploring Operation: 62+22=84, Resulting Numbers: [88, 29, 84]
Generated Node #2: [88, 29, 84] from Operation: 62+22=84
Current State: 33:[88, 29, 84], Operations: ['62+22=84']
Exploring Operation: 88+29=117, Resulting Numbers: [84, 117]
Generated Node #3: [84, 117] from Operation: 88+29=117
Current State: 33:[84, 117], Operations: ['62+22=84', '88+29=117']
Exploring Operation: 117-84=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 22, 88, 29], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [62, 29, 4]
Generated Node #0,0: 33:[62, 29, 4] Operation: 88/22=4
Exploring Operation: 62-22=40, Resulting Numbers: [88, 29, 40]
Generated Node #0,1: 33:[88, 29, 40] Operation: 62-22=40
Exploring Operation: 88-62=26, Resulting Numbers: [22, 29, 26]
Generated Node #0,2: 33:[22, 29, 26] Operation: 88-62=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[22, 29, 26], Operations: ['88-62=26']
Exploring Operation: 26-22=4, Resulting Numbers: [29, 4]
Generated Node #0,2,0: 33:[29, 4] Operation: 26-22=4
Exploring Operation: 29-26=3, Resulting Numbers: [22, 3]
Generated Node #0,2,1: 33:[22, 3] Operation: 29-26=3
Exploring Operation: 29-22=7, Resulting Numbers: [26, 7]
Generated Node #0,2,2: 33:[26, 7] Operation: 29-22=7
Moving to Node #0,2,0
Current State: 33:[29, 4], Operations: ['88-62=26', '26-22=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[62, 22, 88, 29], Operations: []
Exploring Operation: 88-62=26, Resulting Numbers: [22, 29, 26]
Generated Node #0,2: 33:[22, 29, 26] Operation: 88-62=26
Moving to Node #0,2
Current State: 33:[22, 29, 26], Operations: ['88-62=26']
Exploring Operation: 26-22=4, Resulting Numbers: [29, 4]
Generated Node #0,2,0: 33:[29, 4] Operation: 26-22=4
Moving to Node #0,2,0
Current State: 33:[29, 4], Operations: ['88-62=26', '26-22=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
23,
33,
21,
57
] | 48 | [
"23-21=2",
"57-33=24",
"2*24=48"
] | Current State: 48:[23, 33, 21, 57], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [33, 57, 2]
Generated Node #2: [33, 57, 2] from Operation: 23-21=2
Current State: 48:[33, 57, 2], Operations: ['23-21=2']
Exploring Operation: 57-33=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 57-33=24
Current State: 48:[2, 24], Operations: ['23-21=2', '57-33=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[23, 33, 21, 57], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [23, 21, 24]
Generated Node #0,0: 48:[23, 21, 24] Operation: 57-33=24
Exploring Operation: 33-21=12, Resulting Numbers: [23, 57, 12]
Generated Node #0,1: 48:[23, 57, 12] Operation: 33-21=12
Moving to Node #0,0
Current State: 48:[23, 21, 24], Operations: ['57-33=24']
Exploring Operation: 24-21=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 48:[23, 3] Operation: 24-21=3
Exploring Operation: 23-21=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 48:[24, 2] Operation: 23-21=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[24, 2], Operations: ['57-33=24', '23-21=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[23, 33, 21, 57], Operations: []
Exploring Operation: 57-33=24, Resulting Numbers: [23, 21, 24]
Generated Node #0,0: 48:[23, 21, 24] Operation: 57-33=24
Moving to Node #0,0
Current State: 48:[23, 21, 24], Operations: ['57-33=24']
Exploring Operation: 23-21=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 48:[24, 2] Operation: 23-21=2
Moving to Node #0,0,1
Current State: 48:[24, 2], Operations: ['57-33=24', '23-21=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
17,
19,
38,
48
] | 41 | [
"38/19=2",
"48/2=24",
"17+24=41"
] | Current State: 41:[17, 19, 38, 48], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [17, 48, 2]
Generated Node #2: [17, 48, 2] from Operation: 38/19=2
Current State: 41:[17, 48, 2], Operations: ['38/19=2']
Exploring Operation: 48/2=24, Resulting Numbers: [17, 24]
Generated Node #3: [17, 24] from Operation: 48/2=24
Current State: 41:[17, 24], Operations: ['38/19=2', '48/2=24']
Exploring Operation: 17+24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[17, 19, 38, 48], Operations: []
Exploring Operation: 17+19=36, Resulting Numbers: [38, 48, 36]
Generated Node #0,0: 41:[38, 48, 36] Operation: 17+19=36
Exploring Operation: 17+38=55, Resulting Numbers: [19, 48, 55]
Generated Node #0,1: 41:[19, 48, 55] Operation: 17+38=55
Exploring Operation: 48-17=31, Resulting Numbers: [19, 38, 31]
Generated Node #0,2: 41:[19, 38, 31] Operation: 48-17=31
Exploring Operation: 19+38=57, Resulting Numbers: [17, 48, 57]
Generated Node #0,3: 41:[17, 48, 57] Operation: 19+38=57
Exploring Operation: 48-19=29, Resulting Numbers: [17, 38, 29]
Generated Node #0,4: 41:[17, 38, 29] Operation: 48-19=29
Moving to Node #0,0
Current State: 41:[38, 48, 36], Operations: ['17+19=36']
Exploring Operation: 38-36=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 41:[48, 2] Operation: 38-36=2
Exploring Operation: 48-36=12, Resulting Numbers: [38, 12]
Generated Node #0,0,1: 41:[38, 12] Operation: 48-36=12
Exploring Operation: 48+36=84, Resulting Numbers: [38, 84]
Generated Node #0,0,2: 41:[38, 84] Operation: 48+36=84
Exploring Operation: 48-38=10, Resulting Numbers: [36, 10]
Generated Node #0,0,3: 41:[36, 10] Operation: 48-38=10
Exploring Operation: 38+36=74, Resulting Numbers: [48, 74]
Generated Node #0,0,4: 41:[48, 74] Operation: 38+36=74
Moving to Node #0,2
Current State: 41:[19, 38, 31], Operations: ['48-17=31']
Exploring Operation: 19+38=57, Resulting Numbers: [31, 57]
Generated Node #0,2,0: 41:[31, 57] Operation: 19+38=57
Exploring Operation: 38-19=19, Resulting Numbers: [31, 19]
Generated Node #0,2,1: 41:[31, 19] Operation: 38-19=19
Exploring Operation: 19+31=50, Resulting Numbers: [38, 50]
Generated Node #0,2,2: 41:[38, 50] Operation: 19+31=50
Exploring Operation: 38/19=2, Resulting Numbers: [31, 2]
Generated Node #0,2,3: 41:[31, 2] Operation: 38/19=2
Exploring Operation: 31-19=12, Resulting Numbers: [38, 12]
Generated Node #0,2,4: 41:[38, 12] Operation: 31-19=12
Moving to Node #0,4
Current State: 41:[17, 38, 29], Operations: ['48-19=29']
Exploring Operation: 17+38=55, Resulting Numbers: [29, 55]
Generated Node #0,4,0: 41:[29, 55] Operation: 17+38=55
Exploring Operation: 38+29=67, Resulting Numbers: [17, 67]
Generated Node #0,4,1: 41:[17, 67] Operation: 38+29=67
Exploring Operation: 29-17=12, Resulting Numbers: [38, 12]
Generated Node #0,4,2: 41:[38, 12] Operation: 29-17=12
Exploring Operation: 17+29=46, Resulting Numbers: [38, 46]
Generated Node #0,4,3: 41:[38, 46] Operation: 17+29=46
Exploring Operation: 38-17=21, Resulting Numbers: [29, 21]
Generated Node #0,4,4: 41:[29, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[38, 46], Operations: ['48-19=29', '17+29=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[29, 55], Operations: ['48-19=29', '17+38=55']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[38, 12], Operations: ['48-19=29', '29-17=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[29, 21], Operations: ['48-19=29', '38-17=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 29*21=609, Resulting Numbers: [609]
609,41 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[17, 67], Operations: ['48-19=29', '38+29=67']
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,41 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,41 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: 41:[19, 48, 55], Operations: ['17+38=55']
Exploring Operation: 19+55=74, Resulting Numbers: [48, 74]
Generated Node #0,1,0: 41:[48, 74] Operation: 19+55=74
Exploring Operation: 55-19=36, Resulting Numbers: [48, 36]
Generated Node #0,1,1: 41:[48, 36] Operation: 55-19=36
Exploring Operation: 19+48=67, Resulting Numbers: [55, 67]
Generated Node #0,1,2: 41:[55, 67] Operation: 19+48=67
Exploring Operation: 55-48=7, Resulting Numbers: [19, 7]
Generated Node #0,1,3: 41:[19, 7] Operation: 55-48=7
Exploring Operation: 48-19=29, Resulting Numbers: [55, 29]
Generated Node #0,1,4: 41:[55, 29] Operation: 48-19=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[48, 36], Operations: ['17+38=55', '55-19=36']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 48+36=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 48*36=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[55, 29], Operations: ['17+38=55', '48-19=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[48, 74], Operations: ['17+38=55', '19+55=74']
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,41 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[55, 67], Operations: ['17+38=55', '19+48=67']
Exploring Operation: 55+67=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 55*67=3685, Resulting Numbers: [3685]
3685,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[19, 7], Operations: ['17+38=55', '55-48=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,41 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 41:[17, 48, 57], Operations: ['19+38=57']
Exploring Operation: 17+57=74, Resulting Numbers: [48, 74]
Generated Node #0,3,0: 41:[48, 74] Operation: 17+57=74
Exploring Operation: 57-17=40, Resulting Numbers: [48, 40]
Generated Node #0,3,1: 41:[48, 40] Operation: 57-17=40
Exploring Operation: 57-48=9, Resulting Numbers: [17, 9]
Generated Node #0,3,2: 41:[17, 9] Operation: 57-48=9
Exploring Operation: 17+48=65, Resulting Numbers: [57, 65]
Generated Node #0,3,3: 41:[57, 65] Operation: 17+48=65
Exploring Operation: 48-17=31, Resulting Numbers: [57, 31]
Generated Node #0,3,4: 41:[57, 31] Operation: 48-17=31
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[48, 40], Operations: ['19+38=57', '57-17=40']
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 48*40=1920, Resulting Numbers: [1920]
1920,41 unequal: No Solution
Exploring Operation: 48+40=88, Resulting Numbers: [88]
88,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[57, 31], Operations: ['19+38=57', '48-17=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[48, 74], Operations: ['19+38=57', '17+57=74']
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[57, 65], Operations: ['19+38=57', '17+48=65']
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 57*65=3705, Resulting Numbers: [3705]
3705,41 unequal: No Solution
Exploring Operation: 57+65=122, Resulting Numbers: [122]
122,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[17, 9], Operations: ['19+38=57', '57-48=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,41 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,41 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: 41:[38, 50], Operations: ['48-17=31', '19+31=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,41 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[31, 57], Operations: ['48-17=31', '19+38=57']
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,41 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[38, 12], Operations: ['17+19=36', '48-36=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,41 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[31, 19], Operations: ['48-17=31', '38-19=19']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,41 unequal: No Solution
Exploring Operation: 31+19=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 31*19=589, Resulting Numbers: [589]
589,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[38, 12], Operations: ['48-17=31', '31-19=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,41 unequal: No Solution
Moving to Node #0,0,3
Current State: 41:[36, 10], Operations: ['17+19=36', '48-38=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,41 unequal: No Solution
Moving to Node #0,0,4
Current State: 41:[48, 74], Operations: ['17+19=36', '38+36=74']
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,41 unequal: No Solution
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,41 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[38, 84], Operations: ['17+19=36', '48+36=84']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,41 unequal: No Solution
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[48, 2], Operations: ['17+19=36', '38-36=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,41 unequal: No Solution
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[31, 2], Operations: ['48-17=31', '38/19=2']
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,41 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,41 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,41 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
91,
28,
54,
35
] | 82 | [
"91-28=63",
"54-35=19",
"63+19=82"
] | Current State: 82:[91, 28, 54, 35], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [54, 35, 63]
Generated Node #2: [54, 35, 63] from Operation: 91-28=63
Current State: 82:[54, 35, 63], Operations: ['91-28=63']
Exploring Operation: 54-35=19, Resulting Numbers: [63, 19]
Generated Node #3: [63, 19] from Operation: 54-35=19
Current State: 82:[63, 19], Operations: ['91-28=63', '54-35=19']
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[91, 28, 54, 35], Operations: []
Exploring Operation: 91-54=37, Resulting Numbers: [28, 35, 37]
Generated Node #0,0: 82:[28, 35, 37] Operation: 91-54=37
Exploring Operation: 28+54=82, Resulting Numbers: [91, 35, 82]
Generated Node #0,1: 82:[91, 35, 82] Operation: 28+54=82
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[91, 35, 82], Operations: ['28+54=82']
Exploring Operation: 91-35=56, Resulting Numbers: [82, 56]
Generated Node #0,1,0: 82:[82, 56] Operation: 91-35=56
Exploring Operation: 91-82=9, Resulting Numbers: [35, 9]
Generated Node #0,1,1: 82:[35, 9] Operation: 91-82=9
Moving to Node #0,1,1
Current State: 82:[35, 9], Operations: ['28+54=82', '91-82=9']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Moving to Node #0,1,0
Current State: 82:[82, 56], Operations: ['28+54=82', '91-35=56']
Exploring Operation: 82+56=138, Resulting Numbers: [138]
138,82 unequal: No Solution
Exploring Operation: 82-56=26, Resulting Numbers: [26]
26,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[28, 35, 37], Operations: ['91-54=37']
Exploring Operation: 37-28=9, Resulting Numbers: [35, 9]
Generated Node #0,0,0: 82:[35, 9] Operation: 37-28=9
Exploring Operation: 35-28=7, Resulting Numbers: [37, 7]
Generated Node #0,0,1: 82:[37, 7] Operation: 35-28=7
Moving to Node #0,0,1
Current State: 82:[37, 7], Operations: ['91-54=37', '35-28=7']
Exploring Operation: 37+7=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[35, 9], Operations: ['91-54=37', '37-28=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,82 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
75,
63,
51,
38
] | 19 | [
"75+51=126",
"63*38=2394",
"2394/126=19"
] | Current State: 19:[75, 63, 51, 38], Operations: []
Exploring Operation: 75+51=126, Resulting Numbers: [63, 38, 126]
Generated Node #2: [63, 38, 126] from Operation: 75+51=126
Current State: 19:[63, 38, 126], Operations: ['75+51=126']
Exploring Operation: 63*38=2394, Resulting Numbers: [126, 2394]
Generated Node #3: [126, 2394] from Operation: 63*38=2394
Current State: 19:[126, 2394], Operations: ['75+51=126', '63*38=2394']
Exploring Operation: 2394/126=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[75, 63, 51, 38], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [63, 38, 24]
Generated Node #0,0: 19:[63, 38, 24] Operation: 75-51=24
Exploring Operation: 63-51=12, Resulting Numbers: [75, 38, 12]
Generated Node #0,1: 19:[75, 38, 12] Operation: 63-51=12
Exploring Operation: 63-38=25, Resulting Numbers: [75, 51, 25]
Generated Node #0,2: 19:[75, 51, 25] Operation: 63-38=25
Exploring Operation: 75-63=12, Resulting Numbers: [51, 38, 12]
Generated Node #0,3: 19:[51, 38, 12] Operation: 75-63=12
Exploring Operation: 75-38=37, Resulting Numbers: [63, 51, 37]
Generated Node #0,4: 19:[63, 51, 37] Operation: 75-38=37
Moving to Node #0,3
Current State: 19:[51, 38, 12], Operations: ['75-63=12']
Exploring Operation: 51-38=13, Resulting Numbers: [12, 13]
Generated Node #0,3,0: 19:[12, 13] Operation: 51-38=13
Exploring Operation: 51-12=39, Resulting Numbers: [38, 39]
Generated Node #0,3,1: 19:[38, 39] Operation: 51-12=39
Exploring Operation: 38+12=50, Resulting Numbers: [51, 50]
Generated Node #0,3,2: 19:[51, 50] Operation: 38+12=50
Exploring Operation: 38-12=26, Resulting Numbers: [51, 26]
Generated Node #0,3,3: 19:[51, 26] Operation: 38-12=26
Exploring Operation: 51+12=63, Resulting Numbers: [38, 63]
Generated Node #0,3,4: 19:[38, 63] Operation: 51+12=63
Moving to Node #0,0
Current State: 19:[63, 38, 24], Operations: ['75-51=24']
Exploring Operation: 63+24=87, Resulting Numbers: [38, 87]
Generated Node #0,0,0: 19:[38, 87] Operation: 63+24=87
Exploring Operation: 38-24=14, Resulting Numbers: [63, 14]
Generated Node #0,0,1: 19:[63, 14] Operation: 38-24=14
Exploring Operation: 63+38=101, Resulting Numbers: [24, 101]
Generated Node #0,0,2: 19:[24, 101] Operation: 63+38=101
Exploring Operation: 63-24=39, Resulting Numbers: [38, 39]
Generated Node #0,0,3: 19:[38, 39] Operation: 63-24=39
Exploring Operation: 63-38=25, Resulting Numbers: [24, 25]
Generated Node #0,0,4: 19:[24, 25] Operation: 63-38=25
Moving to Node #0,1
Current State: 19:[75, 38, 12], Operations: ['63-51=12']
Exploring Operation: 75-12=63, Resulting Numbers: [38, 63]
Generated Node #0,1,0: 19:[38, 63] Operation: 75-12=63
Exploring Operation: 38-12=26, Resulting Numbers: [75, 26]
Generated Node #0,1,1: 19:[75, 26] Operation: 38-12=26
Exploring Operation: 75+12=87, Resulting Numbers: [38, 87]
Generated Node #0,1,2: 19:[38, 87] Operation: 75+12=87
Exploring Operation: 75-38=37, Resulting Numbers: [12, 37]
Generated Node #0,1,3: 19:[12, 37] Operation: 75-38=37
Exploring Operation: 38+12=50, Resulting Numbers: [75, 50]
Generated Node #0,1,4: 19:[75, 50] Operation: 38+12=50
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[12, 37], Operations: ['63-51=12', '75-38=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,19 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,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,0
Current State: 19:[38, 63], Operations: ['63-51=12', '75-12=63']
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,19 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,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,1
Current State: 19:[75, 26], Operations: ['63-51=12', '38-12=26']
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,19 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,19 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,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,2
Current State: 19:[38, 87], Operations: ['63-51=12', '75+12=87']
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,19 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,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,4
Current State: 19:[75, 50], Operations: ['63-51=12', '38+12=50']
Exploring Operation: 75*50=3750, Resulting Numbers: [3750]
3750,19 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 75+50=125, Resulting Numbers: [125]
125,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:[75, 51, 25], Operations: ['63-38=25']
Exploring Operation: 51-25=26, Resulting Numbers: [75, 26]
Generated Node #0,2,0: 19:[75, 26] Operation: 51-25=26
Exploring Operation: 75-51=24, Resulting Numbers: [25, 24]
Generated Node #0,2,1: 19:[25, 24] Operation: 75-51=24
Exploring Operation: 75-25=50, Resulting Numbers: [51, 50]
Generated Node #0,2,2: 19:[51, 50] Operation: 75-25=50
Exploring Operation: 75+51=126, Resulting Numbers: [25, 126]
Generated Node #0,2,3: 19:[25, 126] Operation: 75+51=126
Exploring Operation: 75/25=3, Resulting Numbers: [51, 3]
Generated Node #0,2,4: 19:[51, 3] Operation: 75/25=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[25, 24], Operations: ['63-38=25', '75-51=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,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,4
Current State: 19:[51, 3], Operations: ['63-38=25', '75/25=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,19 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,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:[75, 26], Operations: ['63-38=25', '51-25=26']
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,19 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,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:[51, 50], Operations: ['63-38=25', '75-25=50']
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,19 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,19 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,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,3
Current State: 19:[25, 126], Operations: ['63-38=25', '75+51=126']
Exploring Operation: 25+126=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Exploring Operation: 25*126=3150, Resulting Numbers: [3150]
3150,19 unequal: No Solution
Exploring Operation: 126-25=101, Resulting Numbers: [101]
101,19 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: 19:[63, 51, 37], Operations: ['75-38=37']
Exploring Operation: 51-37=14, Resulting Numbers: [63, 14]
Generated Node #0,4,0: 19:[63, 14] Operation: 51-37=14
Exploring Operation: 63-37=26, Resulting Numbers: [51, 26]
Generated Node #0,4,1: 19:[51, 26] Operation: 63-37=26
Exploring Operation: 63+51=114, Resulting Numbers: [37, 114]
Generated Node #0,4,2: 19:[37, 114] Operation: 63+51=114
Exploring Operation: 63+37=100, Resulting Numbers: [51, 100]
Generated Node #0,4,3: 19:[51, 100] Operation: 63+37=100
Exploring Operation: 63-51=12, Resulting Numbers: [37, 12]
Generated Node #0,4,4: 19:[37, 12] Operation: 63-51=12
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 19:[37, 12], Operations: ['75-38=37', '63-51=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,19 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,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:[51, 26], Operations: ['75-38=37', '63-37=26']
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,19 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,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:[63, 14], Operations: ['75-38=37', '51-37=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,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:[37, 114], Operations: ['75-38=37', '63+51=114']
Exploring Operation: 37*114=4218, Resulting Numbers: [4218]
4218,19 unequal: No Solution
Exploring Operation: 37+114=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Exploring Operation: 114-37=77, Resulting Numbers: [77]
77,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,3
Current State: 19:[51, 100], Operations: ['75-38=37', '63+37=100']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 51+100=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Exploring Operation: 51*100=5100, Resulting Numbers: [5100]
5100,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,4
Current State: 19:[24, 25], Operations: ['75-51=24', '63-38=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,19 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[12, 13], Operations: ['75-63=12', '51-38=13']
Exploring Operation: 12+13=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 12*13=156, Resulting Numbers: [156]
156,19 unequal: No Solution
Moving to Node #0,0,3
Current State: 19:[38, 39], Operations: ['75-51=24', '63-24=39']
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,19 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[51, 26], Operations: ['75-63=12', '38-12=26']
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[38, 39], Operations: ['75-63=12', '51-12=39']
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,19 unequal: No Solution
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[63, 14], Operations: ['75-51=24', '38-24=14']
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[51, 50], Operations: ['75-63=12', '38+12=50']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,19 unequal: No Solution
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,19 unequal: No Solution
Moving to Node #0,3,4
Current State: 19:[38, 63], Operations: ['75-63=12', '51+12=63']
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,19 unequal: No Solution
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,19 unequal: No Solution
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[24, 101], Operations: ['75-51=24', '63+38=101']
Exploring Operation: 24*101=2424, Resulting Numbers: [2424]
2424,19 unequal: No Solution
Exploring Operation: 24+101=125, Resulting Numbers: [125]
125,19 unequal: No Solution
Exploring Operation: 101-24=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Moving to Node #0,0,0
Current State: 19:[38, 87], Operations: ['75-51=24', '63+24=87']
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,19 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,19 unequal: No Solution
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,19 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
89,
46,
31,
73
] | 93 | [
"89+46=135",
"73-31=42",
"135-42=93"
] | Current State: 93:[89, 46, 31, 73], Operations: []
Exploring Operation: 89+46=135, Resulting Numbers: [31, 73, 135]
Generated Node #2: [31, 73, 135] from Operation: 89+46=135
Current State: 93:[31, 73, 135], Operations: ['89+46=135']
Exploring Operation: 73-31=42, Resulting Numbers: [135, 42]
Generated Node #3: [135, 42] from Operation: 73-31=42
Current State: 93:[135, 42], Operations: ['89+46=135', '73-31=42']
Exploring Operation: 135-42=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[89, 46, 31, 73], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [46, 31, 16]
Generated Node #0,0: 93:[46, 31, 16] Operation: 89-73=16
Exploring Operation: 73-46=27, Resulting Numbers: [89, 31, 27]
Generated Node #0,1: 93:[89, 31, 27] Operation: 73-46=27
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[89, 31, 27], Operations: ['73-46=27']
Exploring Operation: 31-27=4, Resulting Numbers: [89, 4]
Generated Node #0,1,0: 93:[89, 4] Operation: 31-27=4
Exploring Operation: 89+27=116, Resulting Numbers: [31, 116]
Generated Node #0,1,1: 93:[31, 116] Operation: 89+27=116
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 93:[89, 4], Operations: ['73-46=27', '31-27=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[89, 46, 31, 73], Operations: []
Exploring Operation: 73-46=27, Resulting Numbers: [89, 31, 27]
Generated Node #0,1: 93:[89, 31, 27] Operation: 73-46=27
Moving to Node #0,1
Current State: 93:[89, 31, 27], Operations: ['73-46=27']
Exploring Operation: 31-27=4, Resulting Numbers: [89, 4]
Generated Node #0,1,0: 93:[89, 4] Operation: 31-27=4
Moving to Node #0,1,0
Current State: 93:[89, 4], Operations: ['73-46=27', '31-27=4']
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
90,
54,
36,
10
] | 16 | [
"90*10=900",
"900-36=864",
"864/54=16"
] | Current State: 16:[90, 54, 36, 10], Operations: []
Exploring Operation: 90*10=900, Resulting Numbers: [54, 36, 900]
Generated Node #2: [54, 36, 900] from Operation: 90*10=900
Current State: 16:[54, 36, 900], Operations: ['90*10=900']
Exploring Operation: 900-36=864, Resulting Numbers: [54, 864]
Generated Node #3: [54, 864] from Operation: 900-36=864
Current State: 16:[54, 864], Operations: ['90*10=900', '900-36=864']
Exploring Operation: 864/54=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[90, 54, 36, 10], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [36, 10, 36]
Generated Node #0,0: 16:[36, 10, 36] Operation: 90-54=36
Exploring Operation: 90/10=9, Resulting Numbers: [54, 36, 9]
Generated Node #0,1: 16:[54, 36, 9] Operation: 90/10=9
Exploring Operation: 90-36=54, Resulting Numbers: [54, 10, 54]
Generated Node #0,2: 16:[54, 10, 54] Operation: 90-36=54
Moving to Node #0,0
Current State: 16:[36, 10, 36], Operations: ['90-54=36']
Exploring Operation: 36-10=26, Resulting Numbers: [36, 26]
Generated Node #0,0,0: 16:[36, 26] Operation: 36-10=26
Exploring Operation: 36-36=0, Resulting Numbers: [10, 0]
Generated Node #0,0,1: 16:[10, 0] Operation: 36-36=0
Exploring Operation: 36/36=1, Resulting Numbers: [10, 1]
Generated Node #0,0,2: 16:[10, 1] Operation: 36/36=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[10, 1], Operations: ['90-54=36', '36/36=1']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[10, 0], Operations: ['90-54=36', '36-36=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[36, 26], Operations: ['90-54=36', '36-10=26']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 36*26=936, Resulting Numbers: [936]
936,16 unequal: No Solution
Exploring Operation: 36+26=62, Resulting Numbers: [62]
62,16 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: 16:[54, 36, 9], Operations: ['90/10=9']
Exploring Operation: 54-36=18, Resulting Numbers: [9, 18]
Generated Node #0,1,0: 16:[9, 18] Operation: 54-36=18
Exploring Operation: 36/9=4, Resulting Numbers: [54, 4]
Generated Node #0,1,1: 16:[54, 4] Operation: 36/9=4
Exploring Operation: 54/9=6, Resulting Numbers: [36, 6]
Generated Node #0,1,2: 16:[36, 6] Operation: 54/9=6
Moving to Node #0,2
Current State: 16:[54, 10, 54], Operations: ['90-36=54']
Exploring Operation: 54-54=0, Resulting Numbers: [10, 0]
Generated Node #0,2,0: 16:[10, 0] Operation: 54-54=0
Exploring Operation: 54-10=44, Resulting Numbers: [54, 44]
Generated Node #0,2,1: 16:[54, 44] Operation: 54-10=44
Exploring Operation: 54/54=1, Resulting Numbers: [10, 1]
Generated Node #0,2,2: 16:[10, 1] Operation: 54/54=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[10, 1], Operations: ['90-36=54', '54/54=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[10, 0], Operations: ['90-36=54', '54-54=0']
Exploring Operation: 10+0=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10*0=0, Resulting Numbers: [0]
0,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[54, 44], Operations: ['90-36=54', '54-10=44']
Exploring Operation: 54*44=2376, Resulting Numbers: [2376]
2376,16 unequal: No Solution
Exploring Operation: 54+44=98, Resulting Numbers: [98]
98,16 unequal: No Solution
Exploring Operation: 54-44=10, Resulting Numbers: [10]
10,16 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: 16:[9, 18], Operations: ['90/10=9', '54-36=18']
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[36, 6], Operations: ['90/10=9', '54/9=6']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[54, 4], Operations: ['90/10=9', '36/9=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,16 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,16 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,16 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
62,
11,
73,
97
] | 24 | [
"73-62=11",
"11*11=121",
"121-97=24"
] | Current State: 24:[62, 11, 73, 97], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [11, 97, 11]
Generated Node #2: [11, 97, 11] from Operation: 73-62=11
Current State: 24:[11, 97, 11], Operations: ['73-62=11']
Exploring Operation: 11*11=121, Resulting Numbers: [97, 121]
Generated Node #3: [97, 121] from Operation: 11*11=121
Current State: 24:[97, 121], Operations: ['73-62=11', '11*11=121']
Exploring Operation: 121-97=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[62, 11, 73, 97], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [11, 97, 11]
Generated Node #0,0: 24:[11, 97, 11] Operation: 73-62=11
Exploring Operation: 97-73=24, Resulting Numbers: [62, 11, 24]
Generated Node #0,1: 24:[62, 11, 24] Operation: 97-73=24
Exploring Operation: 97-62=35, Resulting Numbers: [11, 73, 35]
Generated Node #0,2: 24:[11, 73, 35] Operation: 97-62=35
Exploring Operation: 62-11=51, Resulting Numbers: [73, 97, 51]
Generated Node #0,3: 24:[73, 97, 51] Operation: 62-11=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[62, 11, 24], Operations: ['97-73=24']
Exploring Operation: 62+11=73, Resulting Numbers: [24, 73]
Generated Node #0,1,0: 24:[24, 73] Operation: 62+11=73
Exploring Operation: 24-11=13, Resulting Numbers: [62, 13]
Generated Node #0,1,1: 24:[62, 13] Operation: 24-11=13
Exploring Operation: 62-11=51, Resulting Numbers: [24, 51]
Generated Node #0,1,2: 24:[24, 51] Operation: 62-11=51
Exploring Operation: 62-24=38, Resulting Numbers: [11, 38]
Generated Node #0,1,3: 24:[11, 38] Operation: 62-24=38
Moving to Node #0,1,3
Current State: 24:[11, 38], Operations: ['97-73=24', '62-24=38']
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,24 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[24, 51], Operations: ['97-73=24', '62-11=51']
Exploring Operation: 24+51=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 24*51=1224, Resulting Numbers: [1224]
1224,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[62, 13], Operations: ['97-73=24', '24-11=13']
Exploring Operation: 62+13=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 62*13=806, Resulting Numbers: [806]
806,24 unequal: No Solution
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[24, 73], Operations: ['97-73=24', '62+11=73']
Exploring Operation: 24*73=1752, Resulting Numbers: [1752]
1752,24 unequal: No Solution
Exploring Operation: 24+73=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[11, 73, 35], Operations: ['97-62=35']
Exploring Operation: 73-35=38, Resulting Numbers: [11, 38]
Generated Node #0,2,0: 24:[11, 38] Operation: 73-35=38
Exploring Operation: 11+73=84, Resulting Numbers: [35, 84]
Generated Node #0,2,1: 24:[35, 84] Operation: 11+73=84
Exploring Operation: 73-11=62, Resulting Numbers: [35, 62]
Generated Node #0,2,2: 24:[35, 62] Operation: 73-11=62
Exploring Operation: 35-11=24, Resulting Numbers: [73, 24]
Generated Node #0,2,3: 24:[73, 24] Operation: 35-11=24
Moving to Node #0,2,0
Current State: 24:[11, 38], Operations: ['97-62=35', '73-35=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[73, 24], Operations: ['97-62=35', '35-11=24']
Exploring Operation: 73+24=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 73*24=1752, Resulting Numbers: [1752]
1752,24 unequal: No Solution
Exploring Operation: 73-24=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[35, 62], Operations: ['97-62=35', '73-11=62']
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 35*62=2170, Resulting Numbers: [2170]
2170,24 unequal: No Solution
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[35, 84], Operations: ['97-62=35', '11+73=84']
Exploring Operation: 35+84=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 35*84=2940, Resulting Numbers: [2940]
2940,24 unequal: No Solution
Exploring Operation: 84-35=49, Resulting Numbers: [49]
49,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
Current State: 24:[11, 97, 11], Operations: ['73-62=11']
Exploring Operation: 97-11=86, Resulting Numbers: [11, 86]
Generated Node #0,0,0: 24:[11, 86] Operation: 97-11=86
Exploring Operation: 11/11=1, Resulting Numbers: [97, 1]
Generated Node #0,0,1: 24:[97, 1] Operation: 11/11=1
Exploring Operation: 11+11=22, Resulting Numbers: [97, 22]
Generated Node #0,0,2: 24:[97, 22] Operation: 11+11=22
Exploring Operation: 97-11=86, Resulting Numbers: [11, 86]
Generated Node #0,0,3: 24:[11, 86] Operation: 97-11=86
Moving to Node #0,0,0
Current State: 24:[11, 86], Operations: ['73-62=11', '97-11=86']
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,24 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[11, 86], Operations: ['73-62=11', '97-11=86']
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,24 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[97, 1], Operations: ['73-62=11', '11/11=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,24 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[97, 22], Operations: ['73-62=11', '11+11=22']
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[73, 97, 51], Operations: ['62-11=51']
Exploring Operation: 73-51=22, Resulting Numbers: [97, 22]
Generated Node #0,3,0: 24:[97, 22] Operation: 73-51=22
Exploring Operation: 73+97=170, Resulting Numbers: [51, 170]
Generated Node #0,3,1: 24:[51, 170] Operation: 73+97=170
Exploring Operation: 97-73=24, Resulting Numbers: [51, 24]
Generated Node #0,3,2: 24:[51, 24] Operation: 97-73=24
Exploring Operation: 97-51=46, Resulting Numbers: [73, 46]
Generated Node #0,3,3: 24:[73, 46] Operation: 97-51=46
Moving to Node #0,3,2
Current State: 24:[51, 24], Operations: ['62-11=51', '97-73=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,24 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[73, 46], Operations: ['62-11=51', '97-51=46']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 73+46=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 73*46=3358, Resulting Numbers: [3358]
3358,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[97, 22], Operations: ['62-11=51', '73-51=22']
Exploring Operation: 97-22=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 97+22=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 97*22=2134, Resulting Numbers: [2134]
2134,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[51, 170], Operations: ['62-11=51', '73+97=170']
Exploring Operation: 51*170=8670, Resulting Numbers: [8670]
8670,24 unequal: No Solution
Exploring Operation: 170-51=119, Resulting Numbers: [119]
119,24 unequal: No Solution
Exploring Operation: 51+170=221, Resulting Numbers: [221]
221,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
2,
38,
37
] | 43 | [
"37-4=33",
"2*38=76",
"76-33=43"
] | Current State: 43:[4, 2, 38, 37], Operations: []
Exploring Operation: 37-4=33, Resulting Numbers: [2, 38, 33]
Generated Node #2: [2, 38, 33] from Operation: 37-4=33
Current State: 43:[2, 38, 33], Operations: ['37-4=33']
Exploring Operation: 2*38=76, Resulting Numbers: [33, 76]
Generated Node #3: [33, 76] from Operation: 2*38=76
Current State: 43:[33, 76], Operations: ['37-4=33', '2*38=76']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[4, 2, 38, 37], Operations: []
Exploring Operation: 4+38=42, Resulting Numbers: [2, 37, 42]
Generated Node #0,0: 43:[2, 37, 42] Operation: 4+38=42
Exploring Operation: 4+2=6, Resulting Numbers: [38, 37, 6]
Generated Node #0,1: 43:[38, 37, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [38, 37, 8]
Generated Node #0,2: 43:[38, 37, 8] Operation: 4*2=8
Moving to Node #0,2
Current State: 43:[38, 37, 8], Operations: ['4*2=8']
Exploring Operation: 38-8=30, Resulting Numbers: [37, 30]
Generated Node #0,2,0: 43:[37, 30] Operation: 38-8=30
Exploring Operation: 37+8=45, Resulting Numbers: [38, 45]
Generated Node #0,2,1: 43:[38, 45] Operation: 37+8=45
Exploring Operation: 38+8=46, Resulting Numbers: [37, 46]
Generated Node #0,2,2: 43:[37, 46] Operation: 38+8=46
Moving to Node #0,0
Current State: 43:[2, 37, 42], Operations: ['4+38=42']
Exploring Operation: 37-2=35, Resulting Numbers: [42, 35]
Generated Node #0,0,0: 43:[42, 35] Operation: 37-2=35
Exploring Operation: 2+42=44, Resulting Numbers: [37, 44]
Generated Node #0,0,1: 43:[37, 44] Operation: 2+42=44
Exploring Operation: 2+37=39, Resulting Numbers: [42, 39]
Generated Node #0,0,2: 43:[42, 39] Operation: 2+37=39
Moving to Node #0,1
Current State: 43:[38, 37, 6], Operations: ['4+2=6']
Exploring Operation: 38+6=44, Resulting Numbers: [37, 44]
Generated Node #0,1,0: 43:[37, 44] Operation: 38+6=44
Exploring Operation: 37+6=43, Resulting Numbers: [38, 43]
Generated Node #0,1,1: 43:[38, 43] Operation: 37+6=43
Exploring Operation: 38-6=32, Resulting Numbers: [37, 32]
Generated Node #0,1,2: 43:[37, 32] Operation: 38-6=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[38, 43], Operations: ['4+2=6', '37+6=43']
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 38*43=1634, Resulting Numbers: [1634]
1634,43 unequal: No Solution
Exploring Operation: 38+43=81, Resulting Numbers: [81]
81,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[37, 44], Operations: ['4+2=6', '38+6=44']
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,43 unequal: No Solution
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 43:[37, 32], Operations: ['4+2=6', '38-6=32']
Exploring Operation: 37*32=1184, Resulting Numbers: [1184]
1184,43 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 43:[42, 39], Operations: ['4+38=42', '2+37=39']
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 42*39=1638, Resulting Numbers: [1638]
1638,43 unequal: No Solution
Exploring Operation: 42+39=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[38, 45], Operations: ['4*2=8', '37+8=45']
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,43 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[37, 44], Operations: ['4+38=42', '2+42=44']
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,43 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[42, 35], Operations: ['4+38=42', '37-2=35']
Exploring Operation: 42+35=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 42*35=1470, Resulting Numbers: [1470]
1470,43 unequal: No Solution
Exploring Operation: 42-35=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[37, 46], Operations: ['4*2=8', '38+8=46']
Exploring Operation: 37*46=1702, Resulting Numbers: [1702]
1702,43 unequal: No Solution
Exploring Operation: 37+46=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 46-37=9, Resulting Numbers: [9]
9,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[37, 30], Operations: ['4*2=8', '38-8=30']
Exploring Operation: 37*30=1110, Resulting Numbers: [1110]
1110,43 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 37+30=67, Resulting Numbers: [67]
67,43 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
87,
82,
36
] | 43 | [
"87/29=3",
"82-36=46",
"46-3=43"
] | Current State: 43:[29, 87, 82, 36], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [82, 36, 3]
Generated Node #2: [82, 36, 3] from Operation: 87/29=3
Current State: 43:[82, 36, 3], Operations: ['87/29=3']
Exploring Operation: 82-36=46, Resulting Numbers: [3, 46]
Generated Node #3: [3, 46] from Operation: 82-36=46
Current State: 43:[3, 46], Operations: ['87/29=3', '82-36=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[29, 87, 82, 36], Operations: []
Exploring Operation: 87-29=58, Resulting Numbers: [82, 36, 58]
Generated Node #0,0: 43:[82, 36, 58] Operation: 87-29=58
Exploring Operation: 87-82=5, Resulting Numbers: [29, 36, 5]
Generated Node #0,1: 43:[29, 36, 5] Operation: 87-82=5
Moving to Node #0,1
Current State: 43:[29, 36, 5], Operations: ['87-82=5']
Exploring Operation: 36+5=41, Resulting Numbers: [29, 41]
Generated Node #0,1,0: 43:[29, 41] Operation: 36+5=41
Exploring Operation: 29+5=34, Resulting Numbers: [36, 34]
Generated Node #0,1,1: 43:[36, 34] Operation: 29+5=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[29, 41], Operations: ['87-82=5', '36+5=41']
Exploring Operation: 29+41=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 43:[36, 34], Operations: ['87-82=5', '29+5=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,43 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: 43:[82, 36, 58], Operations: ['87-29=58']
Exploring Operation: 82-58=24, Resulting Numbers: [36, 24]
Generated Node #0,0,0: 43:[36, 24] Operation: 82-58=24
Exploring Operation: 82-36=46, Resulting Numbers: [58, 46]
Generated Node #0,0,1: 43:[58, 46] Operation: 82-36=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[58, 46], Operations: ['87-29=58', '82-36=46']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[36, 24], Operations: ['87-29=58', '82-58=24']
Exploring Operation: 36+24=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 36-24=12, Resulting Numbers: [12]
12,43 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 |
[
42,
21,
72,
76
] | 34 | [
"42/21=2",
"76/2=38",
"72-38=34"
] | Current State: 34:[42, 21, 72, 76], Operations: []
Exploring Operation: 42/21=2, Resulting Numbers: [72, 76, 2]
Generated Node #2: [72, 76, 2] from Operation: 42/21=2
Current State: 34:[72, 76, 2], Operations: ['42/21=2']
Exploring Operation: 76/2=38, Resulting Numbers: [72, 38]
Generated Node #3: [72, 38] from Operation: 76/2=38
Current State: 34:[72, 38], Operations: ['42/21=2', '76/2=38']
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[42, 21, 72, 76], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [42, 21, 4]
Generated Node #0,0: 34:[42, 21, 4] Operation: 76-72=4
Exploring Operation: 72-42=30, Resulting Numbers: [21, 76, 30]
Generated Node #0,1: 34:[21, 76, 30] Operation: 72-42=30
Exploring Operation: 76-42=34, Resulting Numbers: [21, 72, 34]
Generated Node #0,2: 34:[21, 72, 34] Operation: 76-42=34
Moving to Node #0,0
Current State: 34:[42, 21, 4], Operations: ['76-72=4']
Exploring Operation: 42-21=21, Resulting Numbers: [4, 21]
Generated Node #0,0,0: 34:[4, 21] Operation: 42-21=21
Exploring Operation: 42-4=38, Resulting Numbers: [21, 38]
Generated Node #0,0,1: 34:[21, 38] Operation: 42-4=38
Exploring Operation: 42/21=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 34:[4, 2] Operation: 42/21=2
Moving to Node #0,2
Current State: 34:[21, 72, 34], Operations: ['76-42=34']
Exploring Operation: 72-21=51, Resulting Numbers: [34, 51]
Generated Node #0,2,0: 34:[34, 51] Operation: 72-21=51
Exploring Operation: 72-34=38, Resulting Numbers: [21, 38]
Generated Node #0,2,1: 34:[21, 38] Operation: 72-34=38
Exploring Operation: 34-21=13, Resulting Numbers: [72, 13]
Generated Node #0,2,2: 34:[72, 13] Operation: 34-21=13
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[21, 38], Operations: ['76-42=34', '72-34=38']
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,34 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,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:[34, 51], Operations: ['76-42=34', '72-21=51']
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,34 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,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,2
Current State: 34:[72, 13], Operations: ['76-42=34', '34-21=13']
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,34 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 34:[21, 76, 30], Operations: ['72-42=30']
Exploring Operation: 76-30=46, Resulting Numbers: [21, 46]
Generated Node #0,1,0: 34:[21, 46] Operation: 76-30=46
Exploring Operation: 76-21=55, Resulting Numbers: [30, 55]
Generated Node #0,1,1: 34:[30, 55] Operation: 76-21=55
Exploring Operation: 30-21=9, Resulting Numbers: [76, 9]
Generated Node #0,1,2: 34:[76, 9] Operation: 30-21=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[21, 46], Operations: ['72-42=30', '76-30=46']
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Exploring Operation: 46-21=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,1,1
Current State: 34:[30, 55], Operations: ['72-42=30', '76-21=55']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Exploring Operation: 30*55=1650, Resulting Numbers: [1650]
1650,34 unequal: No Solution
Exploring Operation: 30+55=85, Resulting Numbers: [85]
85,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:[76, 9], Operations: ['72-42=30', '30-21=9']
Exploring Operation: 76-9=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 76+9=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 76*9=684, Resulting Numbers: [684]
684,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 34:[4, 2], Operations: ['76-72=4', '42/21=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[4, 21], Operations: ['76-72=4', '42-21=21']
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[21, 38], Operations: ['76-72=4', '42-4=38']
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,34 unequal: No Solution
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,34 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
51,
62,
97,
31
] | 77 | [
"62-51=11",
"97-31=66",
"11+66=77"
] | Current State: 77:[51, 62, 97, 31], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [97, 31, 11]
Generated Node #2: [97, 31, 11] from Operation: 62-51=11
Current State: 77:[97, 31, 11], Operations: ['62-51=11']
Exploring Operation: 97-31=66, Resulting Numbers: [11, 66]
Generated Node #3: [11, 66] from Operation: 97-31=66
Current State: 77:[11, 66], Operations: ['62-51=11', '97-31=66']
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[51, 62, 97, 31], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [97, 31, 11]
Generated Node #0,0: 77:[97, 31, 11] Operation: 62-51=11
Exploring Operation: 51+31=82, Resulting Numbers: [62, 97, 82]
Generated Node #0,1: 77:[62, 97, 82] Operation: 51+31=82
Exploring Operation: 51-31=20, Resulting Numbers: [62, 97, 20]
Generated Node #0,2: 77:[62, 97, 20] Operation: 51-31=20
Moving to Node #0,0
Current State: 77:[97, 31, 11], Operations: ['62-51=11']
Exploring Operation: 31-11=20, Resulting Numbers: [97, 20]
Generated Node #0,0,0: 77:[97, 20] Operation: 31-11=20
Exploring Operation: 97-11=86, Resulting Numbers: [31, 86]
Generated Node #0,0,1: 77:[31, 86] Operation: 97-11=86
Exploring Operation: 97-31=66, Resulting Numbers: [11, 66]
Generated Node #0,0,2: 77:[11, 66] Operation: 97-31=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[11, 66], Operations: ['62-51=11', '97-31=66']
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[51, 62, 97, 31], Operations: []
Exploring Operation: 62-51=11, Resulting Numbers: [97, 31, 11]
Generated Node #0,0: 77:[97, 31, 11] Operation: 62-51=11
Moving to Node #0,0
Current State: 77:[97, 31, 11], Operations: ['62-51=11']
Exploring Operation: 97-31=66, Resulting Numbers: [11, 66]
Generated Node #0,0,2: 77:[11, 66] Operation: 97-31=66
Moving to Node #0,0,2
Current State: 77:[11, 66], Operations: ['62-51=11', '97-31=66']
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
39,
66,
82,
32
] | 41 | [
"82-66=16",
"32/16=2",
"39+2=41"
] | Current State: 41:[39, 66, 82, 32], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [39, 32, 16]
Generated Node #2: [39, 32, 16] from Operation: 82-66=16
Current State: 41:[39, 32, 16], Operations: ['82-66=16']
Exploring Operation: 32/16=2, Resulting Numbers: [39, 2]
Generated Node #3: [39, 2] from Operation: 32/16=2
Current State: 41:[39, 2], Operations: ['82-66=16', '32/16=2']
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[39, 66, 82, 32], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [66, 32, 43]
Generated Node #0,0: 41:[66, 32, 43] Operation: 82-39=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[66, 32, 43], Operations: ['82-39=43']
Exploring Operation: 66-32=34, Resulting Numbers: [43, 34]
Generated Node #0,0,0: 41:[43, 34] Operation: 66-32=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[43, 34], Operations: ['82-39=43', '66-32=34']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
25,
68,
49,
86
] | 56 | [
"25+68=93",
"86-49=37",
"93-37=56"
] | Current State: 56:[25, 68, 49, 86], Operations: []
Exploring Operation: 25+68=93, Resulting Numbers: [49, 86, 93]
Generated Node #2: [49, 86, 93] from Operation: 25+68=93
Current State: 56:[49, 86, 93], Operations: ['25+68=93']
Exploring Operation: 86-49=37, Resulting Numbers: [93, 37]
Generated Node #3: [93, 37] from Operation: 86-49=37
Current State: 56:[93, 37], Operations: ['25+68=93', '86-49=37']
Exploring Operation: 93-37=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[25, 68, 49, 86], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [25, 49, 18]
Generated Node #0,0: 56:[25, 49, 18] Operation: 86-68=18
Exploring Operation: 86-49=37, Resulting Numbers: [25, 68, 37]
Generated Node #0,1: 56:[25, 68, 37] Operation: 86-49=37
Exploring Operation: 68-49=19, Resulting Numbers: [25, 86, 19]
Generated Node #0,2: 56:[25, 86, 19] Operation: 68-49=19
Exploring Operation: 86-25=61, Resulting Numbers: [68, 49, 61]
Generated Node #0,3: 56:[68, 49, 61] Operation: 86-25=61
Moving to Node #0,0
Current State: 56:[25, 49, 18], Operations: ['86-68=18']
Exploring Operation: 49-25=24, Resulting Numbers: [18, 24]
Generated Node #0,0,0: 56:[18, 24] Operation: 49-25=24
Exploring Operation: 25-18=7, Resulting Numbers: [49, 7]
Generated Node #0,0,1: 56:[49, 7] Operation: 25-18=7
Exploring Operation: 49+18=67, Resulting Numbers: [25, 67]
Generated Node #0,0,2: 56:[25, 67] Operation: 49+18=67
Exploring Operation: 49-18=31, Resulting Numbers: [25, 31]
Generated Node #0,0,3: 56:[25, 31] Operation: 49-18=31
Moving to Node #0,3
Current State: 56:[68, 49, 61], Operations: ['86-25=61']
Exploring Operation: 68+49=117, Resulting Numbers: [61, 117]
Generated Node #0,3,0: 56:[61, 117] Operation: 68+49=117
Exploring Operation: 68-61=7, Resulting Numbers: [49, 7]
Generated Node #0,3,1: 56:[49, 7] Operation: 68-61=7
Exploring Operation: 61-49=12, Resulting Numbers: [68, 12]
Generated Node #0,3,2: 56:[68, 12] Operation: 61-49=12
Exploring Operation: 68-49=19, Resulting Numbers: [61, 19]
Generated Node #0,3,3: 56:[61, 19] Operation: 68-49=19
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[49, 7], Operations: ['86-25=61', '68-61=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,56 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[25, 68, 49, 86], Operations: []
Exploring Operation: 86-25=61, Resulting Numbers: [68, 49, 61]
Generated Node #0,3: 56:[68, 49, 61] Operation: 86-25=61
Moving to Node #0,3
Current State: 56:[68, 49, 61], Operations: ['86-25=61']
Exploring Operation: 68-61=7, Resulting Numbers: [49, 7]
Generated Node #0,3,1: 56:[49, 7] Operation: 68-61=7
Moving to Node #0,3,1
Current State: 56:[49, 7], Operations: ['86-25=61', '68-61=7']
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
60,
56,
28,
18
] | 51 | [
"56/28=2",
"18/2=9",
"60-9=51"
] | Current State: 51:[60, 56, 28, 18], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [60, 18, 2]
Generated Node #2: [60, 18, 2] from Operation: 56/28=2
Current State: 51:[60, 18, 2], Operations: ['56/28=2']
Exploring Operation: 18/2=9, Resulting Numbers: [60, 9]
Generated Node #3: [60, 9] from Operation: 18/2=9
Current State: 51:[60, 9], Operations: ['56/28=2', '18/2=9']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[60, 56, 28, 18], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [60, 18, 2]
Generated Node #0,0: 51:[60, 18, 2] Operation: 56/28=2
Moving to Node #0,0
Current State: 51:[60, 18, 2], Operations: ['56/28=2']
Exploring Operation: 60-2=58, Resulting Numbers: [18, 58]
Generated Node #0,0,0: 51:[18, 58] Operation: 60-2=58
Moving to Node #0,0,0
Current State: 51:[18, 58], Operations: ['56/28=2', '60-2=58']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
65,
38,
43,
29
] | 99 | [
"65-38=27",
"43+29=72",
"27+72=99"
] | Current State: 99:[65, 38, 43, 29], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [43, 29, 27]
Generated Node #2: [43, 29, 27] from Operation: 65-38=27
Current State: 99:[43, 29, 27], Operations: ['65-38=27']
Exploring Operation: 43+29=72, Resulting Numbers: [27, 72]
Generated Node #3: [27, 72] from Operation: 43+29=72
Current State: 99:[27, 72], Operations: ['65-38=27', '43+29=72']
Exploring Operation: 27+72=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[65, 38, 43, 29], Operations: []
Exploring Operation: 65+38=103, Resulting Numbers: [43, 29, 103]
Generated Node #0,0: 99:[43, 29, 103] Operation: 65+38=103
Moving to Node #0,0
Current State: 99:[43, 29, 103], Operations: ['65+38=103']
Exploring Operation: 43-29=14, Resulting Numbers: [103, 14]
Generated Node #0,0,0: 99:[103, 14] Operation: 43-29=14
Moving to Node #0,0,0
Current State: 99:[103, 14], Operations: ['65+38=103', '43-29=14']
Exploring Operation: 103-14=89, Resulting Numbers: [89]
89,99 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
23,
28,
31
] | 30 | [
"31-28=3",
"21/3=7",
"23+7=30"
] | Current State: 30:[21, 23, 28, 31], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [21, 23, 3]
Generated Node #2: [21, 23, 3] from Operation: 31-28=3
Current State: 30:[21, 23, 3], Operations: ['31-28=3']
Exploring Operation: 21/3=7, Resulting Numbers: [23, 7]
Generated Node #3: [23, 7] from Operation: 21/3=7
Current State: 30:[23, 7], Operations: ['31-28=3', '21/3=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[21, 23, 28, 31], Operations: []
Exploring Operation: 28-23=5, Resulting Numbers: [21, 31, 5]
Generated Node #0,0: 30:[21, 31, 5] Operation: 28-23=5
Exploring Operation: 23-21=2, Resulting Numbers: [28, 31, 2]
Generated Node #0,1: 30:[28, 31, 2] Operation: 23-21=2
Exploring Operation: 28-21=7, Resulting Numbers: [23, 31, 7]
Generated Node #0,2: 30:[23, 31, 7] Operation: 28-21=7
Exploring Operation: 31-21=10, Resulting Numbers: [23, 28, 10]
Generated Node #0,3: 30:[23, 28, 10] Operation: 31-21=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[28, 31, 2], Operations: ['23-21=2']
Exploring Operation: 28/2=14, Resulting Numbers: [31, 14]
Generated Node #0,1,0: 30:[31, 14] Operation: 28/2=14
Exploring Operation: 28+2=30, Resulting Numbers: [31, 30]
Generated Node #0,1,1: 30:[31, 30] Operation: 28+2=30
Exploring Operation: 31-2=29, Resulting Numbers: [28, 29]
Generated Node #0,1,2: 30:[28, 29] Operation: 31-2=29
Exploring Operation: 31-28=3, Resulting Numbers: [2, 3]
Generated Node #0,1,3: 30:[2, 3] Operation: 31-28=3
Moving to Node #0,1,3
Current State: 30:[2, 3], Operations: ['23-21=2', '31-28=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[31, 30], Operations: ['23-21=2', '28+2=30']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[31, 14], Operations: ['23-21=2', '28/2=14']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,30 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[28, 29], Operations: ['23-21=2', '31-2=29']
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,30 unequal: No Solution
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[21, 31, 5], Operations: ['28-23=5']
Exploring Operation: 21-5=16, Resulting Numbers: [31, 16]
Generated Node #0,0,0: 30:[31, 16] Operation: 21-5=16
Exploring Operation: 31-5=26, Resulting Numbers: [21, 26]
Generated Node #0,0,1: 30:[21, 26] Operation: 31-5=26
Exploring Operation: 31-21=10, Resulting Numbers: [5, 10]
Generated Node #0,0,2: 30:[5, 10] Operation: 31-21=10
Exploring Operation: 21+5=26, Resulting Numbers: [31, 26]
Generated Node #0,0,3: 30:[31, 26] Operation: 21+5=26
Moving to Node #0,0,2
Current State: 30:[5, 10], Operations: ['28-23=5', '31-21=10']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[31, 16], Operations: ['28-23=5', '21-5=16']
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,30 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[31, 26], Operations: ['28-23=5', '21+5=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[21, 26], Operations: ['28-23=5', '31-5=26']
Exploring Operation: 21*26=546, Resulting Numbers: [546]
546,30 unequal: No Solution
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 21+26=47, Resulting Numbers: [47]
47,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[23, 31, 7], Operations: ['28-21=7']
Exploring Operation: 23-7=16, Resulting Numbers: [31, 16]
Generated Node #0,2,0: 30:[31, 16] Operation: 23-7=16
Exploring Operation: 23+7=30, Resulting Numbers: [31, 30]
Generated Node #0,2,1: 30:[31, 30] Operation: 23+7=30
Exploring Operation: 31-7=24, Resulting Numbers: [23, 24]
Generated Node #0,2,2: 30:[23, 24] Operation: 31-7=24
Exploring Operation: 31-23=8, Resulting Numbers: [7, 8]
Generated Node #0,2,3: 30:[7, 8] Operation: 31-23=8
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 30:[31, 30], Operations: ['28-21=7', '23+7=30']
Exploring Operation: 31*30=930, Resulting Numbers: [930]
930,30 unequal: No Solution
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No 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: 30:[31, 16], Operations: ['28-21=7', '23-7=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,30 unequal: No Solution
No 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: 30:[7, 8], Operations: ['28-21=7', '31-23=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,30 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No 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: 30:[23, 24], Operations: ['28-21=7', '31-7=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,30 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: 30:[23, 28, 10], Operations: ['31-21=10']
Exploring Operation: 28-23=5, Resulting Numbers: [10, 5]
Generated Node #0,3,0: 30:[10, 5] Operation: 28-23=5
Exploring Operation: 23-10=13, Resulting Numbers: [28, 13]
Generated Node #0,3,1: 30:[28, 13] Operation: 23-10=13
Exploring Operation: 28-10=18, Resulting Numbers: [23, 18]
Generated Node #0,3,2: 30:[23, 18] Operation: 28-10=18
Exploring Operation: 23+10=33, Resulting Numbers: [28, 33]
Generated Node #0,3,3: 30:[28, 33] Operation: 23+10=33
Moving to Node #0,3,0
Current State: 30:[10, 5], Operations: ['31-21=10', '28-23=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,30 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[28, 13], Operations: ['31-21=10', '23-10=13']
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[28, 33], Operations: ['31-21=10', '23+10=33']
Exploring Operation: 28+33=61, Resulting Numbers: [61]
61,30 unequal: No Solution
Exploring Operation: 28*33=924, Resulting Numbers: [924]
924,30 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[23, 18], Operations: ['31-21=10', '28-10=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,30 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,30 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
33,
25,
59
] | 78 | [
"11+33=44",
"59-25=34",
"44+34=78"
] | Current State: 78:[11, 33, 25, 59], Operations: []
Exploring Operation: 11+33=44, Resulting Numbers: [25, 59, 44]
Generated Node #2: [25, 59, 44] from Operation: 11+33=44
Current State: 78:[25, 59, 44], Operations: ['11+33=44']
Exploring Operation: 59-25=34, Resulting Numbers: [44, 34]
Generated Node #3: [44, 34] from Operation: 59-25=34
Current State: 78:[44, 34], Operations: ['11+33=44', '59-25=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[11, 33, 25, 59], Operations: []
Exploring Operation: 25+59=84, Resulting Numbers: [11, 33, 84]
Generated Node #0,0: 78:[11, 33, 84] Operation: 25+59=84
Exploring Operation: 59-25=34, Resulting Numbers: [11, 33, 34]
Generated Node #0,1: 78:[11, 33, 34] Operation: 59-25=34
Exploring Operation: 59-33=26, Resulting Numbers: [11, 25, 26]
Generated Node #0,2: 78:[11, 25, 26] Operation: 59-33=26
Exploring Operation: 11+59=70, Resulting Numbers: [33, 25, 70]
Generated Node #0,3: 78:[33, 25, 70] Operation: 11+59=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[11, 25, 26], Operations: ['59-33=26']
Exploring Operation: 25-11=14, Resulting Numbers: [26, 14]
Generated Node #0,2,0: 78:[26, 14] Operation: 25-11=14
Exploring Operation: 11+25=36, Resulting Numbers: [26, 36]
Generated Node #0,2,1: 78:[26, 36] Operation: 11+25=36
Exploring Operation: 11+26=37, Resulting Numbers: [25, 37]
Generated Node #0,2,2: 78:[25, 37] Operation: 11+26=37
Exploring Operation: 26-11=15, Resulting Numbers: [25, 15]
Generated Node #0,2,3: 78:[25, 15] Operation: 26-11=15
Moving to Node #0,2,0
Current State: 78:[26, 14], Operations: ['59-33=26', '25-11=14']
Exploring Operation: 26+14=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 26*14=364, Resulting Numbers: [364]
364,78 unequal: No Solution
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[25, 37], Operations: ['59-33=26', '11+26=37']
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,78 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[26, 36], Operations: ['59-33=26', '11+25=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,78 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[25, 15], Operations: ['59-33=26', '26-11=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,78 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[11, 33, 34], Operations: ['59-25=34']
Exploring Operation: 34-11=23, Resulting Numbers: [33, 23]
Generated Node #0,1,0: 78:[33, 23] Operation: 34-11=23
Exploring Operation: 34-33=1, Resulting Numbers: [11, 1]
Generated Node #0,1,1: 78:[11, 1] Operation: 34-33=1
Exploring Operation: 33-11=22, Resulting Numbers: [34, 22]
Generated Node #0,1,2: 78:[34, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [34, 3]
Generated Node #0,1,3: 78:[34, 3] Operation: 33/11=3
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[11, 1], Operations: ['59-25=34', '34-33=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 11+1=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,78 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,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,1,3
Current State: 78:[34, 3], Operations: ['59-25=34', '33/11=3']
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,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,1,0
Current State: 78:[33, 23], Operations: ['59-25=34', '34-11=23']
Exploring Operation: 33*23=759, Resulting Numbers: [759]
759,78 unequal: No Solution
Exploring Operation: 33-23=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,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,1,2
Current State: 78:[34, 22], Operations: ['59-25=34', '33-11=22']
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,78 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[11, 33, 84], Operations: ['25+59=84']
Exploring Operation: 33/11=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 78:[84, 3] Operation: 33/11=3
Exploring Operation: 11+33=44, Resulting Numbers: [84, 44]
Generated Node #0,0,1: 78:[84, 44] Operation: 11+33=44
Exploring Operation: 33-11=22, Resulting Numbers: [84, 22]
Generated Node #0,0,2: 78:[84, 22] Operation: 33-11=22
Exploring Operation: 84-11=73, Resulting Numbers: [33, 73]
Generated Node #0,0,3: 78:[33, 73] Operation: 84-11=73
Moving to Node #0,0,0
Current State: 78:[84, 3], Operations: ['25+59=84', '33/11=3']
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,78 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,78 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[84, 22], Operations: ['25+59=84', '33-11=22']
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,78 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[33, 73], Operations: ['25+59=84', '84-11=73']
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,78 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[84, 44], Operations: ['25+59=84', '11+33=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,78 unequal: No Solution
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,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:[33, 25, 70], Operations: ['11+59=70']
Exploring Operation: 70-33=37, Resulting Numbers: [25, 37]
Generated Node #0,3,0: 78:[25, 37] Operation: 70-33=37
Exploring Operation: 70-25=45, Resulting Numbers: [33, 45]
Generated Node #0,3,1: 78:[33, 45] Operation: 70-25=45
Exploring Operation: 33-25=8, Resulting Numbers: [70, 8]
Generated Node #0,3,2: 78:[70, 8] Operation: 33-25=8
Exploring Operation: 25+70=95, Resulting Numbers: [33, 95]
Generated Node #0,3,3: 78:[33, 95] Operation: 25+70=95
Moving to Node #0,3,0
Current State: 78:[25, 37], Operations: ['11+59=70', '70-33=37']
Exploring Operation: 25*37=925, Resulting Numbers: [925]
925,78 unequal: No Solution
Exploring Operation: 25+37=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[70, 8], Operations: ['11+59=70', '33-25=8']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,78 unequal: No Solution
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[11, 33, 25, 59], Operations: []
Exploring Operation: 11+59=70, Resulting Numbers: [33, 25, 70]
Generated Node #0,3: 78:[33, 25, 70] Operation: 11+59=70
Moving to Node #0,3
Current State: 78:[33, 25, 70], Operations: ['11+59=70']
Exploring Operation: 33-25=8, Resulting Numbers: [70, 8]
Generated Node #0,3,2: 78:[70, 8] Operation: 33-25=8
Moving to Node #0,3,2
Current State: 78:[70, 8], Operations: ['11+59=70', '33-25=8']
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_4 | sum_heuristic |
[
73,
74,
72,
76
] | 75 | [
"72+76=148",
"148/74=2",
"73+2=75"
] | Current State: 75:[73, 74, 72, 76], Operations: []
Exploring Operation: 72+76=148, Resulting Numbers: [73, 74, 148]
Generated Node #2: [73, 74, 148] from Operation: 72+76=148
Current State: 75:[73, 74, 148], Operations: ['72+76=148']
Exploring Operation: 148/74=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 148/74=2
Current State: 75:[73, 2], Operations: ['72+76=148', '148/74=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[73, 74, 72, 76], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [73, 76, 2]
Generated Node #0,0: 75:[73, 76, 2] Operation: 74-72=2
Exploring Operation: 73-72=1, Resulting Numbers: [74, 76, 1]
Generated Node #0,1: 75:[74, 76, 1] Operation: 73-72=1
Exploring Operation: 76-73=3, Resulting Numbers: [74, 72, 3]
Generated Node #0,2: 75:[74, 72, 3] Operation: 76-73=3
Moving to Node #0,0
Current State: 75:[73, 76, 2], Operations: ['74-72=2']
Exploring Operation: 76-73=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 75:[2, 3] Operation: 76-73=3
Exploring Operation: 76-2=74, Resulting Numbers: [73, 74]
Generated Node #0,0,1: 75:[73, 74] Operation: 76-2=74
Exploring Operation: 73+2=75, Resulting Numbers: [76, 75]
Generated Node #0,0,2: 75:[76, 75] Operation: 73+2=75
Moving to Node #0,1
Current State: 75:[74, 76, 1], Operations: ['73-72=1']
Exploring Operation: 74+1=75, Resulting Numbers: [76, 75]
Generated Node #0,1,0: 75:[76, 75] Operation: 74+1=75
Exploring Operation: 76-1=75, Resulting Numbers: [74, 75]
Generated Node #0,1,1: 75:[74, 75] Operation: 76-1=75
Exploring Operation: 74*1=74, Resulting Numbers: [76, 74]
Generated Node #0,1,2: 75:[76, 74] Operation: 74*1=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[76, 75], Operations: ['73-72=1', '74+1=75']
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,75 unequal: No Solution
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[74, 75], Operations: ['73-72=1', '76-1=75']
Exploring Operation: 74*75=5550, Resulting Numbers: [5550]
5550,75 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,75 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[76, 74], Operations: ['73-72=1', '74*1=74']
Exploring Operation: 76+74=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 76*74=5624, Resulting Numbers: [5624]
5624,75 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: 75:[74, 72, 3], Operations: ['76-73=3']
Exploring Operation: 72/3=24, Resulting Numbers: [74, 24]
Generated Node #0,2,0: 75:[74, 24] Operation: 72/3=24
Exploring Operation: 74-72=2, Resulting Numbers: [3, 2]
Generated Node #0,2,1: 75:[3, 2] Operation: 74-72=2
Exploring Operation: 72+3=75, Resulting Numbers: [74, 75]
Generated Node #0,2,2: 75:[74, 75] Operation: 72+3=75
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[3, 2], Operations: ['76-73=3', '74-72=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[74, 75], Operations: ['76-73=3', '72+3=75']
Exploring Operation: 74*75=5550, Resulting Numbers: [5550]
5550,75 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 74+75=149, Resulting Numbers: [149]
149,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[74, 24], Operations: ['76-73=3', '72/3=24']
Exploring Operation: 74+24=98, Resulting Numbers: [98]
98,75 unequal: No Solution
Exploring Operation: 74-24=50, Resulting Numbers: [50]
50,75 unequal: No Solution
Exploring Operation: 74*24=1776, Resulting Numbers: [1776]
1776,75 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: 75:[2, 3], Operations: ['74-72=2', '76-73=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[76, 75], Operations: ['74-72=2', '73+2=75']
Exploring Operation: 76*75=5700, Resulting Numbers: [5700]
5700,75 unequal: No Solution
Exploring Operation: 76+75=151, Resulting Numbers: [151]
151,75 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[73, 74], Operations: ['74-72=2', '76-2=74']
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,75 unequal: No Solution
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,75 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
69,
72,
80
] | 67 | [
"80-44=36",
"72/36=2",
"69-2=67"
] | Current State: 67:[44, 69, 72, 80], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [69, 72, 36]
Generated Node #2: [69, 72, 36] from Operation: 80-44=36
Current State: 67:[69, 72, 36], Operations: ['80-44=36']
Exploring Operation: 72/36=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 72/36=2
Current State: 67:[69, 2], Operations: ['80-44=36', '72/36=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[44, 69, 72, 80], Operations: []
Exploring Operation: 44+69=113, Resulting Numbers: [72, 80, 113]
Generated Node #0,0: 67:[72, 80, 113] Operation: 44+69=113
Exploring Operation: 80-44=36, Resulting Numbers: [69, 72, 36]
Generated Node #0,1: 67:[69, 72, 36] Operation: 80-44=36
Exploring Operation: 44+72=116, Resulting Numbers: [69, 80, 116]
Generated Node #0,2: 67:[69, 80, 116] Operation: 44+72=116
Exploring Operation: 72-44=28, Resulting Numbers: [69, 80, 28]
Generated Node #0,3: 67:[69, 80, 28] Operation: 72-44=28
Exploring Operation: 69-44=25, Resulting Numbers: [72, 80, 25]
Generated Node #0,4: 67:[72, 80, 25] Operation: 69-44=25
Moving to Node #0,1
Current State: 67:[69, 72, 36], Operations: ['80-44=36']
Exploring Operation: 72/36=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 67:[69, 2] Operation: 72/36=2
Exploring Operation: 72-36=36, Resulting Numbers: [69, 36]
Generated Node #0,1,1: 67:[69, 36] Operation: 72-36=36
Exploring Operation: 72+36=108, Resulting Numbers: [69, 108]
Generated Node #0,1,2: 67:[69, 108] Operation: 72+36=108
Exploring Operation: 69+36=105, Resulting Numbers: [72, 105]
Generated Node #0,1,3: 67:[72, 105] Operation: 69+36=105
Exploring Operation: 69-36=33, Resulting Numbers: [72, 33]
Generated Node #0,1,4: 67:[72, 33] Operation: 69-36=33
Moving to Node #0,3
Current State: 67:[69, 80, 28], Operations: ['72-44=28']
Exploring Operation: 69+28=97, Resulting Numbers: [80, 97]
Generated Node #0,3,0: 67:[80, 97] Operation: 69+28=97
Exploring Operation: 69-28=41, Resulting Numbers: [80, 41]
Generated Node #0,3,1: 67:[80, 41] Operation: 69-28=41
Exploring Operation: 80+28=108, Resulting Numbers: [69, 108]
Generated Node #0,3,2: 67:[69, 108] Operation: 80+28=108
Exploring Operation: 80-69=11, Resulting Numbers: [28, 11]
Generated Node #0,3,3: 67:[28, 11] Operation: 80-69=11
Exploring Operation: 80-28=52, Resulting Numbers: [69, 52]
Generated Node #0,3,4: 67:[69, 52] Operation: 80-28=52
Moving to Node #0,4
Current State: 67:[72, 80, 25], Operations: ['69-44=25']
Exploring Operation: 72+25=97, Resulting Numbers: [80, 97]
Generated Node #0,4,0: 67:[80, 97] Operation: 72+25=97
Exploring Operation: 80+25=105, Resulting Numbers: [72, 105]
Generated Node #0,4,1: 67:[72, 105] Operation: 80+25=105
Exploring Operation: 72-25=47, Resulting Numbers: [80, 47]
Generated Node #0,4,2: 67:[80, 47] Operation: 72-25=47
Exploring Operation: 80-72=8, Resulting Numbers: [25, 8]
Generated Node #0,4,3: 67:[25, 8] Operation: 80-72=8
Exploring Operation: 80-25=55, Resulting Numbers: [72, 55]
Generated Node #0,4,4: 67:[72, 55] Operation: 80-25=55
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 67:[72, 55], Operations: ['69-44=25', '80-25=55']
Exploring Operation: 72+55=127, Resulting Numbers: [127]
127,67 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 72*55=3960, Resulting Numbers: [3960]
3960,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 67:[80, 47], Operations: ['69-44=25', '72-25=47']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,67 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 67:[80, 97], Operations: ['69-44=25', '72+25=97']
Exploring Operation: 80*97=7760, Resulting Numbers: [7760]
7760,67 unequal: No Solution
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 67:[72, 105], Operations: ['69-44=25', '80+25=105']
Exploring Operation: 72+105=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 105-72=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 72*105=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 67:[25, 8], Operations: ['69-44=25', '80-72=8']
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,67 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 67:[72, 80, 113], Operations: ['44+69=113']
Exploring Operation: 113-80=33, Resulting Numbers: [72, 33]
Generated Node #0,0,0: 67:[72, 33] Operation: 113-80=33
Exploring Operation: 113-72=41, Resulting Numbers: [80, 41]
Generated Node #0,0,1: 67:[80, 41] Operation: 113-72=41
Exploring Operation: 80-72=8, Resulting Numbers: [113, 8]
Generated Node #0,0,2: 67:[113, 8] Operation: 80-72=8
Exploring Operation: 72+80=152, Resulting Numbers: [113, 152]
Generated Node #0,0,3: 67:[113, 152] Operation: 72+80=152
Exploring Operation: 72+113=185, Resulting Numbers: [80, 185]
Generated Node #0,0,4: 67:[80, 185] Operation: 72+113=185
Moving to Node #0,2
Current State: 67:[69, 80, 116], Operations: ['44+72=116']
Exploring Operation: 116-80=36, Resulting Numbers: [69, 36]
Generated Node #0,2,0: 67:[69, 36] Operation: 116-80=36
Exploring Operation: 116-69=47, Resulting Numbers: [80, 47]
Generated Node #0,2,1: 67:[80, 47] Operation: 116-69=47
Exploring Operation: 69+80=149, Resulting Numbers: [116, 149]
Generated Node #0,2,2: 67:[116, 149] Operation: 69+80=149
Exploring Operation: 69+116=185, Resulting Numbers: [80, 185]
Generated Node #0,2,3: 67:[80, 185] Operation: 69+116=185
Exploring Operation: 80-69=11, Resulting Numbers: [116, 11]
Generated Node #0,2,4: 67:[116, 11] Operation: 80-69=11
Moving to Node #0,3,4
Current State: 67:[69, 52], Operations: ['72-44=28', '80-28=52']
Exploring Operation: 69+52=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 69*52=3588, Resulting Numbers: [3588]
3588,67 unequal: No Solution
Exploring Operation: 69-52=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[69, 36], Operations: ['80-44=36', '72-36=36']
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,67 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[69, 36], Operations: ['44+72=116', '116-80=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 69*36=2484, Resulting Numbers: [2484]
2484,67 unequal: No Solution
Exploring Operation: 69+36=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[80, 47], Operations: ['44+72=116', '116-69=47']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 80+47=127, Resulting Numbers: [127]
127,67 unequal: No Solution
Exploring Operation: 80*47=3760, Resulting Numbers: [3760]
3760,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[80, 41], Operations: ['72-44=28', '69-28=41']
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,67 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[80, 41], Operations: ['44+69=113', '113-72=41']
Exploring Operation: 80+41=121, Resulting Numbers: [121]
121,67 unequal: No Solution
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 80*41=3280, Resulting Numbers: [3280]
3280,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[72, 33], Operations: ['44+69=113', '113-80=33']
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,67 unequal: No Solution
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Moving to Node #0,1,4
Current State: 67:[72, 33], Operations: ['80-44=36', '69-36=33']
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,67 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[69, 108], Operations: ['80-44=36', '72+36=108']
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Exploring Operation: 69*108=7452, Resulting Numbers: [7452]
7452,67 unequal: No Solution
Exploring Operation: 69+108=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[80, 97], Operations: ['72-44=28', '69+28=97']
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 80*97=7760, Resulting Numbers: [7760]
7760,67 unequal: No Solution
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Moving to Node #0,3,2
Current State: 67:[69, 108], Operations: ['72-44=28', '80+28=108']
Exploring Operation: 69*108=7452, Resulting Numbers: [7452]
7452,67 unequal: No Solution
Exploring Operation: 69+108=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[72, 105], Operations: ['80-44=36', '69+36=105']
Exploring Operation: 72*105=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
Exploring Operation: 105-72=33, Resulting Numbers: [33]
33,67 unequal: No Solution
Exploring Operation: 72+105=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[69, 2], Operations: ['80-44=36', '72/36=2']
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,67 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,67 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[44, 69, 72, 80], Operations: []
Exploring Operation: 80-44=36, Resulting Numbers: [69, 72, 36]
Generated Node #0,1: 67:[69, 72, 36] Operation: 80-44=36
Moving to Node #0,1
Current State: 67:[69, 72, 36], Operations: ['80-44=36']
Exploring Operation: 72/36=2, Resulting Numbers: [69, 2]
Generated Node #0,1,0: 67:[69, 2] Operation: 72/36=2
Moving to Node #0,1,0
Current State: 67:[69, 2], Operations: ['80-44=36', '72/36=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.923611 | hs_5 | sum_heuristic |
[
83,
73,
69,
69
] | 83 | [
"69-69=0",
"73*0=0",
"83+0=83"
] | Current State: 83:[83, 73, 69, 69], Operations: []
Exploring Operation: 69-69=0, Resulting Numbers: [83, 73, 0]
Generated Node #2: [83, 73, 0] from Operation: 69-69=0
Current State: 83:[83, 73, 0], Operations: ['69-69=0']
Exploring Operation: 73*0=0, Resulting Numbers: [83, 0]
Generated Node #3: [83, 0] from Operation: 73*0=0
Current State: 83:[83, 0], Operations: ['69-69=0', '73*0=0']
Exploring Operation: 83+0=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[83, 73, 69, 69], Operations: []
Exploring Operation: 73+69=142, Resulting Numbers: [83, 69, 142]
Generated Node #0,0: 83:[83, 69, 142] Operation: 73+69=142
Exploring Operation: 69+69=138, Resulting Numbers: [83, 73, 138]
Generated Node #0,1: 83:[83, 73, 138] Operation: 69+69=138
Moving to Node #0,1
Current State: 83:[83, 73, 138], Operations: ['69+69=138']
Exploring Operation: 138-73=65, Resulting Numbers: [83, 65]
Generated Node #0,1,0: 83:[83, 65] Operation: 138-73=65
Exploring Operation: 138-83=55, Resulting Numbers: [73, 55]
Generated Node #0,1,1: 83:[73, 55] Operation: 138-83=55
Moving to Node #0,0
Current State: 83:[83, 69, 142], Operations: ['73+69=142']
Exploring Operation: 142-69=73, Resulting Numbers: [83, 73]
Generated Node #0,0,0: 83:[83, 73] Operation: 142-69=73
Exploring Operation: 142-83=59, Resulting Numbers: [69, 59]
Generated Node #0,0,1: 83:[69, 59] Operation: 142-83=59
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[83, 73], Operations: ['73+69=142', '142-69=73']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[69, 59], Operations: ['73+69=142', '142-83=59']
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 69+59=128, Resulting Numbers: [128]
128,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 83:[83, 65], Operations: ['69+69=138', '138-73=65']
Exploring Operation: 83+65=148, Resulting Numbers: [148]
148,83 unequal: No Solution
Exploring Operation: 83-65=18, Resulting Numbers: [18]
18,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[73, 55], Operations: ['69+69=138', '138-83=55']
Exploring Operation: 73+55=128, Resulting Numbers: [128]
128,83 unequal: No Solution
Exploring Operation: 73-55=18, Resulting Numbers: [18]
18,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
84,
16,
83
] | 92 | [
"45+83=128",
"128/16=8",
"84+8=92"
] | Current State: 92:[45, 84, 16, 83], Operations: []
Exploring Operation: 45+83=128, Resulting Numbers: [84, 16, 128]
Generated Node #2: [84, 16, 128] from Operation: 45+83=128
Current State: 92:[84, 16, 128], Operations: ['45+83=128']
Exploring Operation: 128/16=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 128/16=8
Current State: 92:[84, 8], Operations: ['45+83=128', '128/16=8']
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[45, 84, 16, 83], Operations: []
Exploring Operation: 84-45=39, Resulting Numbers: [16, 83, 39]
Generated Node #0,0: 92:[16, 83, 39] Operation: 84-45=39
Exploring Operation: 16+83=99, Resulting Numbers: [45, 84, 99]
Generated Node #0,1: 92:[45, 84, 99] Operation: 16+83=99
Exploring Operation: 84+16=100, Resulting Numbers: [45, 83, 100]
Generated Node #0,2: 92:[45, 83, 100] Operation: 84+16=100
Exploring Operation: 84-83=1, Resulting Numbers: [45, 16, 1]
Generated Node #0,3: 92:[45, 16, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[45, 16, 1], Operations: ['84-83=1']
Exploring Operation: 45-16=29, Resulting Numbers: [1, 29]
Generated Node #0,3,0: 92:[1, 29] Operation: 45-16=29
Exploring Operation: 45*1=45, Resulting Numbers: [16, 45]
Generated Node #0,3,1: 92:[16, 45] Operation: 45*1=45
Exploring Operation: 45+1=46, Resulting Numbers: [16, 46]
Generated Node #0,3,2: 92:[16, 46] Operation: 45+1=46
Exploring Operation: 16+1=17, Resulting Numbers: [45, 17]
Generated Node #0,3,3: 92:[45, 17] Operation: 16+1=17
Moving to Node #0,3,0
Current State: 92:[1, 29], Operations: ['84-83=1', '45-16=29']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,92 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[45, 17], Operations: ['84-83=1', '16+1=17']
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,92 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[16, 46], Operations: ['84-83=1', '45+1=46']
Exploring Operation: 16+46=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 16*46=736, Resulting Numbers: [736]
736,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[16, 45], Operations: ['84-83=1', '45*1=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,92 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,92 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[45, 84, 99], Operations: ['16+83=99']
Exploring Operation: 84-45=39, Resulting Numbers: [99, 39]
Generated Node #0,1,0: 92:[99, 39] Operation: 84-45=39
Exploring Operation: 99-45=54, Resulting Numbers: [84, 54]
Generated Node #0,1,1: 92:[84, 54] Operation: 99-45=54
Exploring Operation: 99-84=15, Resulting Numbers: [45, 15]
Generated Node #0,1,2: 92:[45, 15] Operation: 99-84=15
Exploring Operation: 45+84=129, Resulting Numbers: [99, 129]
Generated Node #0,1,3: 92:[99, 129] Operation: 45+84=129
Moving to Node #0,1,2
Current State: 92:[45, 15], Operations: ['16+83=99', '99-84=15']
Exploring Operation: 45+15=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 45*15=675, Resulting Numbers: [675]
675,92 unequal: No Solution
Exploring Operation: 45/15=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 45-15=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[99, 39], Operations: ['16+83=99', '84-45=39']
Exploring Operation: 99*39=3861, Resulting Numbers: [3861]
3861,92 unequal: No Solution
Exploring Operation: 99+39=138, Resulting Numbers: [138]
138,92 unequal: No Solution
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[84, 54], Operations: ['16+83=99', '99-45=54']
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,92 unequal: No Solution
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[99, 129], Operations: ['16+83=99', '45+84=129']
Exploring Operation: 129-99=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 99*129=12771, Resulting Numbers: [12771]
12771,92 unequal: No Solution
Exploring Operation: 99+129=228, Resulting Numbers: [228]
228,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[45, 83, 100], Operations: ['84+16=100']
Exploring Operation: 45+83=128, Resulting Numbers: [100, 128]
Generated Node #0,2,0: 92:[100, 128] Operation: 45+83=128
Exploring Operation: 83-45=38, Resulting Numbers: [100, 38]
Generated Node #0,2,1: 92:[100, 38] Operation: 83-45=38
Exploring Operation: 100-83=17, Resulting Numbers: [45, 17]
Generated Node #0,2,2: 92:[45, 17] Operation: 100-83=17
Exploring Operation: 100-45=55, Resulting Numbers: [83, 55]
Generated Node #0,2,3: 92:[83, 55] Operation: 100-45=55
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[45, 17], Operations: ['84+16=100', '100-83=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62]
62,92 unequal: No Solution
Exploring Operation: 45*17=765, Resulting Numbers: [765]
765,92 unequal: No Solution
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[100, 38], Operations: ['84+16=100', '83-45=38']
Exploring Operation: 100*38=3800, Resulting Numbers: [3800]
3800,92 unequal: No Solution
Exploring Operation: 100+38=138, Resulting Numbers: [138]
138,92 unequal: No Solution
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[83, 55], Operations: ['84+16=100', '100-45=55']
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,92 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,92 unequal: No Solution
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[100, 128], Operations: ['84+16=100', '45+83=128']
Exploring Operation: 128-100=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 100+128=228, Resulting Numbers: [228]
228,92 unequal: No Solution
Exploring Operation: 100*128=12800, Resulting Numbers: [12800]
12800,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[16, 83, 39], Operations: ['84-45=39']
Exploring Operation: 39-16=23, Resulting Numbers: [83, 23]
Generated Node #0,0,0: 92:[83, 23] Operation: 39-16=23
Exploring Operation: 16+83=99, Resulting Numbers: [39, 99]
Generated Node #0,0,1: 92:[39, 99] Operation: 16+83=99
Exploring Operation: 16+39=55, Resulting Numbers: [83, 55]
Generated Node #0,0,2: 92:[83, 55] Operation: 16+39=55
Exploring Operation: 83-39=44, Resulting Numbers: [16, 44]
Generated Node #0,0,3: 92:[16, 44] Operation: 83-39=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[83, 23], Operations: ['84-45=39', '39-16=23']
Exploring Operation: 83+23=106, Resulting Numbers: [106]
106,92 unequal: No Solution
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 83*23=1909, Resulting Numbers: [1909]
1909,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 92:[16, 44], Operations: ['84-45=39', '83-39=44']
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,92 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 92:[39, 99], Operations: ['84-45=39', '16+83=99']
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 39*99=3861, Resulting Numbers: [3861]
3861,92 unequal: No Solution
Exploring Operation: 39+99=138, Resulting Numbers: [138]
138,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 92:[83, 55], Operations: ['84-45=39', '16+39=55']
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,92 unequal: No Solution
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
60,
44,
51,
80
] | 84 | [
"60*44=2640",
"2640/80=33",
"51+33=84"
] | Current State: 84:[60, 44, 51, 80], Operations: []
Exploring Operation: 60*44=2640, Resulting Numbers: [51, 80, 2640]
Generated Node #2: [51, 80, 2640] from Operation: 60*44=2640
Current State: 84:[51, 80, 2640], Operations: ['60*44=2640']
Exploring Operation: 2640/80=33, Resulting Numbers: [51, 33]
Generated Node #3: [51, 33] from Operation: 2640/80=33
Current State: 84:[51, 33], Operations: ['60*44=2640', '2640/80=33']
Exploring Operation: 51+33=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[60, 44, 51, 80], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [60, 80, 7]
Generated Node #0,0: 84:[60, 80, 7] Operation: 51-44=7
Exploring Operation: 60-51=9, Resulting Numbers: [44, 80, 9]
Generated Node #0,1: 84:[44, 80, 9] Operation: 60-51=9
Exploring Operation: 80-60=20, Resulting Numbers: [44, 51, 20]
Generated Node #0,2: 84:[44, 51, 20] Operation: 80-60=20
Exploring Operation: 60-44=16, Resulting Numbers: [51, 80, 16]
Generated Node #0,3: 84:[51, 80, 16] Operation: 60-44=16
Exploring Operation: 80-51=29, Resulting Numbers: [60, 44, 29]
Generated Node #0,4: 84:[60, 44, 29] Operation: 80-51=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[44, 80, 9], Operations: ['60-51=9']
Exploring Operation: 80-9=71, Resulting Numbers: [44, 71]
Generated Node #0,1,0: 84:[44, 71] Operation: 80-9=71
Exploring Operation: 44+9=53, Resulting Numbers: [80, 53]
Generated Node #0,1,1: 84:[80, 53] Operation: 44+9=53
Exploring Operation: 44-9=35, Resulting Numbers: [80, 35]
Generated Node #0,1,2: 84:[80, 35] Operation: 44-9=35
Exploring Operation: 80-44=36, Resulting Numbers: [9, 36]
Generated Node #0,1,3: 84:[9, 36] Operation: 80-44=36
Exploring Operation: 80+9=89, Resulting Numbers: [44, 89]
Generated Node #0,1,4: 84:[44, 89] Operation: 80+9=89
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 84:[44, 89], Operations: ['60-51=9', '80+9=89']
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 44+89=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 44*89=3916, Resulting Numbers: [3916]
3916,84 unequal: No Solution
No 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: 84:[9, 36], Operations: ['60-51=9', '80-44=36']
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,84 unequal: No Solution
No 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: 84:[80, 35], Operations: ['60-51=9', '44-9=35']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,84 unequal: No Solution
No 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: 84:[44, 71], Operations: ['60-51=9', '80-9=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,84 unequal: No Solution
No 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: 84:[80, 53], Operations: ['60-51=9', '44+9=53']
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,84 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,84 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: 84:[44, 51, 20], Operations: ['80-60=20']
Exploring Operation: 51-44=7, Resulting Numbers: [20, 7]
Generated Node #0,2,0: 84:[20, 7] Operation: 51-44=7
Exploring Operation: 51-20=31, Resulting Numbers: [44, 31]
Generated Node #0,2,1: 84:[44, 31] Operation: 51-20=31
Exploring Operation: 51+20=71, Resulting Numbers: [44, 71]
Generated Node #0,2,2: 84:[44, 71] Operation: 51+20=71
Exploring Operation: 44-20=24, Resulting Numbers: [51, 24]
Generated Node #0,2,3: 84:[51, 24] Operation: 44-20=24
Exploring Operation: 44+51=95, Resulting Numbers: [20, 95]
Generated Node #0,2,4: 84:[20, 95] Operation: 44+51=95
Moving to Node #0,2,0
Current State: 84:[20, 7], Operations: ['80-60=20', '51-44=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,84 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[44, 31], Operations: ['80-60=20', '51-20=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,84 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[51, 24], Operations: ['80-60=20', '44-20=24']
Exploring Operation: 51*24=1224, Resulting Numbers: [1224]
1224,84 unequal: No Solution
Exploring Operation: 51-24=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 51+24=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[20, 95], Operations: ['80-60=20', '44+51=95']
Exploring Operation: 20*95=1900, Resulting Numbers: [1900]
1900,84 unequal: No Solution
Exploring Operation: 95-20=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 20+95=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[44, 71], Operations: ['80-60=20', '51+20=71']
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,84 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,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,3
Current State: 84:[51, 80, 16], Operations: ['60-44=16']
Exploring Operation: 51+16=67, Resulting Numbers: [80, 67]
Generated Node #0,3,0: 84:[80, 67] Operation: 51+16=67
Exploring Operation: 80+16=96, Resulting Numbers: [51, 96]
Generated Node #0,3,1: 84:[51, 96] Operation: 80+16=96
Exploring Operation: 51-16=35, Resulting Numbers: [80, 35]
Generated Node #0,3,2: 84:[80, 35] Operation: 51-16=35
Exploring Operation: 80/16=5, Resulting Numbers: [51, 5]
Generated Node #0,3,3: 84:[51, 5] Operation: 80/16=5
Exploring Operation: 80-51=29, Resulting Numbers: [16, 29]
Generated Node #0,3,4: 84:[16, 29] Operation: 80-51=29
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 84:[16, 29], Operations: ['60-44=16', '80-51=29']
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,84 unequal: No Solution
No 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: 84:[51, 5], Operations: ['60-44=16', '80/16=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,84 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,84 unequal: No Solution
No 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: 84:[80, 35], Operations: ['60-44=16', '51-16=35']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 80+35=115, Resulting Numbers: [115]
115,84 unequal: No Solution
Exploring Operation: 80*35=2800, Resulting Numbers: [2800]
2800,84 unequal: No Solution
No 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: 84:[80, 67], Operations: ['60-44=16', '51+16=67']
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,84 unequal: No Solution
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,84 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No 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: 84:[51, 96], Operations: ['60-44=16', '80+16=96']
Exploring Operation: 51+96=147, Resulting Numbers: [147]
147,84 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 51*96=4896, Resulting Numbers: [4896]
4896,84 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: 84:[60, 44, 29], Operations: ['80-51=29']
Exploring Operation: 44-29=15, Resulting Numbers: [60, 15]
Generated Node #0,4,0: 84:[60, 15] Operation: 44-29=15
Exploring Operation: 60+29=89, Resulting Numbers: [44, 89]
Generated Node #0,4,1: 84:[44, 89] Operation: 60+29=89
Exploring Operation: 60-44=16, Resulting Numbers: [29, 16]
Generated Node #0,4,2: 84:[29, 16] Operation: 60-44=16
Exploring Operation: 60+44=104, Resulting Numbers: [29, 104]
Generated Node #0,4,3: 84:[29, 104] Operation: 60+44=104
Exploring Operation: 60-29=31, Resulting Numbers: [44, 31]
Generated Node #0,4,4: 84:[44, 31] Operation: 60-29=31
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 84:[29, 16], Operations: ['80-51=29', '60-44=16']
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,84 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,84 unequal: No Solution
No 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: 84:[44, 31], Operations: ['80-51=29', '60-29=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,84 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No 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: 84:[44, 89], Operations: ['80-51=29', '60+29=89']
Exploring Operation: 44*89=3916, Resulting Numbers: [3916]
3916,84 unequal: No Solution
Exploring Operation: 44+89=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,84 unequal: No Solution
No 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: 84:[60, 15], Operations: ['80-51=29', '44-29=15']
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 60*15=900, Resulting Numbers: [900]
900,84 unequal: No Solution
Exploring Operation: 60+15=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,84 unequal: No Solution
No 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: 84:[29, 104], Operations: ['80-51=29', '60+44=104']
Exploring Operation: 29+104=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 29*104=3016, Resulting Numbers: [3016]
3016,84 unequal: No Solution
Exploring Operation: 104-29=75, Resulting Numbers: [75]
75,84 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: 84:[60, 80, 7], Operations: ['51-44=7']
Exploring Operation: 80-7=73, Resulting Numbers: [60, 73]
Generated Node #0,0,0: 84:[60, 73] Operation: 80-7=73
Exploring Operation: 80-60=20, Resulting Numbers: [7, 20]
Generated Node #0,0,1: 84:[7, 20] Operation: 80-60=20
Exploring Operation: 80+7=87, Resulting Numbers: [60, 87]
Generated Node #0,0,2: 84:[60, 87] Operation: 80+7=87
Exploring Operation: 60-7=53, Resulting Numbers: [80, 53]
Generated Node #0,0,3: 84:[80, 53] Operation: 60-7=53
Exploring Operation: 60+7=67, Resulting Numbers: [80, 67]
Generated Node #0,0,4: 84:[80, 67] Operation: 60+7=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[7, 20], Operations: ['51-44=7', '80-60=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,84 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No 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: 84:[80, 53], Operations: ['51-44=7', '60-7=53']
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,84 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,84 unequal: No Solution
No 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: 84:[60, 87], Operations: ['51-44=7', '80+7=87']
Exploring Operation: 60+87=147, Resulting Numbers: [147]
147,84 unequal: No Solution
Exploring Operation: 60*87=5220, Resulting Numbers: [5220]
5220,84 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No 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: 84:[80, 67], Operations: ['51-44=7', '60+7=67']
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,84 unequal: No Solution
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,84 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,84 unequal: No Solution
No 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: 84:[60, 73], Operations: ['51-44=7', '80-7=73']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
2,
98,
1
] | 50 | [
"98-48=50",
"2-1=1",
"50*1=50"
] | Current State: 50:[48, 2, 98, 1], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [2, 1, 50]
Generated Node #2: [2, 1, 50] from Operation: 98-48=50
Current State: 50:[2, 1, 50], Operations: ['98-48=50']
Exploring Operation: 2-1=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 2-1=1
Current State: 50:[50, 1], Operations: ['98-48=50', '2-1=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[48, 2, 98, 1], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [2, 1, 50]
Generated Node #0,0: 50:[2, 1, 50] Operation: 98-48=50
Exploring Operation: 98/2=49, Resulting Numbers: [48, 1, 49]
Generated Node #0,1: 50:[48, 1, 49] Operation: 98/2=49
Exploring Operation: 48+2=50, Resulting Numbers: [98, 1, 50]
Generated Node #0,2: 50:[98, 1, 50] Operation: 48+2=50
Moving to Node #0,0
Current State: 50:[2, 1, 50], Operations: ['98-48=50']
Exploring Operation: 2*1=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 50:[50, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [50, 2]
Generated Node #0,0,1: 50:[50, 2] Operation: 2/1=2
Exploring Operation: 1*50=50, Resulting Numbers: [2, 50]
Generated Node #0,0,2: 50:[2, 50] Operation: 1*50=50
Moving to Node #0,1
Current State: 50:[48, 1, 49], Operations: ['98/2=49']
Exploring Operation: 49-48=1, Resulting Numbers: [1, 1]
Generated Node #0,1,0: 50:[1, 1] Operation: 49-48=1
Exploring Operation: 48+1=49, Resulting Numbers: [49, 49]
Generated Node #0,1,1: 50:[49, 49] Operation: 48+1=49
Exploring Operation: 1+49=50, Resulting Numbers: [48, 50]
Generated Node #0,1,2: 50:[48, 50] Operation: 1+49=50
Moving to Node #0,2
Current State: 50:[98, 1, 50], Operations: ['48+2=50']
Exploring Operation: 98*1=98, Resulting Numbers: [50, 98]
Generated Node #0,2,0: 50:[50, 98] Operation: 98*1=98
Exploring Operation: 98-50=48, Resulting Numbers: [1, 48]
Generated Node #0,2,1: 50:[1, 48] Operation: 98-50=48
Exploring Operation: 98-1=97, Resulting Numbers: [50, 97]
Generated Node #0,2,2: 50:[50, 97] Operation: 98-1=97
Moving to Node #0,0,0
Current State: 50:[50, 2], Operations: ['98-48=50', '2*1=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[2, 50], Operations: ['98-48=50', '1*50=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[50, 2], Operations: ['98-48=50', '2/1=2']
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[48, 50], Operations: ['98/2=49', '1+49=50']
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 48*50=2400, Resulting Numbers: [2400]
2400,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[49, 49], Operations: ['98/2=49', '48+1=49']
Exploring Operation: 49+49=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 49-49=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 49/49=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[1, 1], Operations: ['98/2=49', '49-48=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[1, 48], Operations: ['48+2=50', '98-50=48']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[50, 97], Operations: ['48+2=50', '98-1=97']
Exploring Operation: 50*97=4850, Resulting Numbers: [4850]
4850,50 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 50+97=147, Resulting Numbers: [147]
147,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[50, 98], Operations: ['48+2=50', '98*1=98']
Exploring Operation: 50*98=4900, Resulting Numbers: [4900]
4900,50 unequal: No Solution
Exploring Operation: 50+98=148, Resulting Numbers: [148]
148,50 unequal: No Solution
Exploring Operation: 98-50=48, Resulting Numbers: [48]
48,50 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
21,
58,
46
] | 63 | [
"46-21=25",
"25/5=5",
"58+5=63"
] | Current State: 63:[5, 21, 58, 46], Operations: []
Exploring Operation: 46-21=25, Resulting Numbers: [5, 58, 25]
Generated Node #2: [5, 58, 25] from Operation: 46-21=25
Current State: 63:[5, 58, 25], Operations: ['46-21=25']
Exploring Operation: 25/5=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 25/5=5
Current State: 63:[58, 5], Operations: ['46-21=25', '25/5=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[5, 21, 58, 46], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [5, 21, 12]
Generated Node #0,0: 63:[5, 21, 12] Operation: 58-46=12
Exploring Operation: 5+46=51, Resulting Numbers: [21, 58, 51]
Generated Node #0,1: 63:[21, 58, 51] Operation: 5+46=51
Exploring Operation: 5+58=63, Resulting Numbers: [21, 46, 63]
Generated Node #0,2: 63:[21, 46, 63] Operation: 5+58=63
Exploring Operation: 46-21=25, Resulting Numbers: [5, 58, 25]
Generated Node #0,3: 63:[5, 58, 25] Operation: 46-21=25
Exploring Operation: 21+46=67, Resulting Numbers: [5, 58, 67]
Generated Node #0,4: 63:[5, 58, 67] Operation: 21+46=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[5, 21, 12], Operations: ['58-46=12']
Exploring Operation: 5+21=26, Resulting Numbers: [12, 26]
Generated Node #0,0,0: 63:[12, 26] Operation: 5+21=26
Exploring Operation: 5+12=17, Resulting Numbers: [21, 17]
Generated Node #0,0,1: 63:[21, 17] Operation: 5+12=17
Exploring Operation: 21-12=9, Resulting Numbers: [5, 9]
Generated Node #0,0,2: 63:[5, 9] Operation: 21-12=9
Exploring Operation: 5*12=60, Resulting Numbers: [21, 60]
Generated Node #0,0,3: 63:[21, 60] Operation: 5*12=60
Exploring Operation: 12-5=7, Resulting Numbers: [21, 7]
Generated Node #0,0,4: 63:[21, 7] Operation: 12-5=7
Moving to Node #0,0,4
Current State: 63:[21, 7], Operations: ['58-46=12', '12-5=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[5, 9], Operations: ['58-46=12', '21-12=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,63 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[21, 60], Operations: ['58-46=12', '5*12=60']
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,63 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,63 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[21, 17], Operations: ['58-46=12', '5+12=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 21*17=357, Resulting Numbers: [357]
357,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[12, 26], Operations: ['58-46=12', '5+21=26']
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,63 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[5, 58, 25], Operations: ['46-21=25']
Exploring Operation: 25-5=20, Resulting Numbers: [58, 20]
Generated Node #0,3,0: 63:[58, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [58, 5]
Generated Node #0,3,1: 63:[58, 5] Operation: 25/5=5
Exploring Operation: 58-5=53, Resulting Numbers: [25, 53]
Generated Node #0,3,2: 63:[25, 53] Operation: 58-5=53
Exploring Operation: 5+25=30, Resulting Numbers: [58, 30]
Generated Node #0,3,3: 63:[58, 30] Operation: 5+25=30
Exploring Operation: 5+58=63, Resulting Numbers: [25, 63]
Generated Node #0,3,4: 63:[25, 63] Operation: 5+58=63
Moving to Node #0,3,4
Current State: 63:[25, 63], Operations: ['46-21=25', '5+58=63']
Exploring Operation: 25+63=88, Resulting Numbers: [88]
88,63 unequal: No Solution
Exploring Operation: 25*63=1575, Resulting Numbers: [1575]
1575,63 unequal: No Solution
Exploring Operation: 63-25=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[58, 20], Operations: ['46-21=25', '25-5=20']
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,63 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[58, 5], Operations: ['46-21=25', '25/5=5']
Exploring Operation: 58*5=290, Resulting Numbers: [290]
290,63 unequal: No Solution
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[5, 21, 58, 46], Operations: []
Exploring Operation: 46-21=25, Resulting Numbers: [5, 58, 25]
Generated Node #0,3: 63:[5, 58, 25] Operation: 46-21=25
Moving to Node #0,3
Current State: 63:[5, 58, 25], Operations: ['46-21=25']
Exploring Operation: 25/5=5, Resulting Numbers: [58, 5]
Generated Node #0,3,1: 63:[58, 5] Operation: 25/5=5
Moving to Node #0,3,1
Current State: 63:[58, 5], Operations: ['46-21=25', '25/5=5']
Exploring Operation: 58+5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
84,
66,
19,
45
] | 86 | [
"84+66=150",
"19+45=64",
"150-64=86"
] | Current State: 86:[84, 66, 19, 45], Operations: []
Exploring Operation: 84+66=150, Resulting Numbers: [19, 45, 150]
Generated Node #2: [19, 45, 150] from Operation: 84+66=150
Current State: 86:[19, 45, 150], Operations: ['84+66=150']
Exploring Operation: 19+45=64, Resulting Numbers: [150, 64]
Generated Node #3: [150, 64] from Operation: 19+45=64
Current State: 86:[150, 64], Operations: ['84+66=150', '19+45=64']
Exploring Operation: 150-64=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[84, 66, 19, 45], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [84, 19, 21]
Generated Node #0,0: 86:[84, 19, 21] Operation: 66-45=21
Exploring Operation: 66-19=47, Resulting Numbers: [84, 45, 47]
Generated Node #0,1: 86:[84, 45, 47] Operation: 66-19=47
Exploring Operation: 84-66=18, Resulting Numbers: [19, 45, 18]
Generated Node #0,2: 86:[19, 45, 18] Operation: 84-66=18
Exploring Operation: 66+19=85, Resulting Numbers: [84, 45, 85]
Generated Node #0,3: 86:[84, 45, 85] Operation: 66+19=85
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[84, 45, 85], Operations: ['66+19=85']
Exploring Operation: 85-84=1, Resulting Numbers: [45, 1]
Generated Node #0,3,0: 86:[45, 1] Operation: 85-84=1
Exploring Operation: 84+45=129, Resulting Numbers: [85, 129]
Generated Node #0,3,1: 86:[85, 129] Operation: 84+45=129
Exploring Operation: 84-45=39, Resulting Numbers: [85, 39]
Generated Node #0,3,2: 86:[85, 39] Operation: 84-45=39
Exploring Operation: 85-45=40, Resulting Numbers: [84, 40]
Generated Node #0,3,3: 86:[84, 40] Operation: 85-45=40
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[45, 1], Operations: ['66+19=85', '85-84=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,86 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[85, 39], Operations: ['66+19=85', '84-45=39']
Exploring Operation: 85*39=3315, Resulting Numbers: [3315]
3315,86 unequal: No Solution
Exploring Operation: 85+39=124, Resulting Numbers: [124]
124,86 unequal: No Solution
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[84, 40], Operations: ['66+19=85', '85-45=40']
Exploring Operation: 84*40=3360, Resulting Numbers: [3360]
3360,86 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 84+40=124, Resulting Numbers: [124]
124,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[85, 129], Operations: ['66+19=85', '84+45=129']
Exploring Operation: 129-85=44, Resulting Numbers: [44]
44,86 unequal: No Solution
Exploring Operation: 85*129=10965, Resulting Numbers: [10965]
10965,86 unequal: No Solution
Exploring Operation: 85+129=214, Resulting Numbers: [214]
214,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[84, 45, 47], Operations: ['66-19=47']
Exploring Operation: 45+47=92, Resulting Numbers: [84, 92]
Generated Node #0,1,0: 86:[84, 92] Operation: 45+47=92
Exploring Operation: 84-45=39, Resulting Numbers: [47, 39]
Generated Node #0,1,1: 86:[47, 39] Operation: 84-45=39
Exploring Operation: 84-47=37, Resulting Numbers: [45, 37]
Generated Node #0,1,2: 86:[45, 37] Operation: 84-47=37
Exploring Operation: 47-45=2, Resulting Numbers: [84, 2]
Generated Node #0,1,3: 86:[84, 2] Operation: 47-45=2
Moving to Node #0,1,3
Current State: 86:[84, 2], Operations: ['66-19=47', '47-45=2']
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[84, 66, 19, 45], Operations: []
Exploring Operation: 66-19=47, Resulting Numbers: [84, 45, 47]
Generated Node #0,1: 86:[84, 45, 47] Operation: 66-19=47
Moving to Node #0,1
Current State: 86:[84, 45, 47], Operations: ['66-19=47']
Exploring Operation: 47-45=2, Resulting Numbers: [84, 2]
Generated Node #0,1,3: 86:[84, 2] Operation: 47-45=2
Moving to Node #0,1,3
Current State: 86:[84, 2], Operations: ['66-19=47', '47-45=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
34,
2,
25,
42
] | 34 | [
"34/2=17",
"42-25=17",
"17+17=34"
] | Current State: 34:[34, 2, 25, 42], Operations: []
Exploring Operation: 34/2=17, Resulting Numbers: [25, 42, 17]
Generated Node #2: [25, 42, 17] from Operation: 34/2=17
Current State: 34:[25, 42, 17], Operations: ['34/2=17']
Exploring Operation: 42-25=17, Resulting Numbers: [17, 17]
Generated Node #3: [17, 17] from Operation: 42-25=17
Current State: 34:[17, 17], Operations: ['34/2=17', '42-25=17']
Exploring Operation: 17+17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[34, 2, 25, 42], Operations: []
Exploring Operation: 42-25=17, Resulting Numbers: [34, 2, 17]
Generated Node #0,0: 34:[34, 2, 17] Operation: 42-25=17
Exploring Operation: 25-2=23, Resulting Numbers: [34, 42, 23]
Generated Node #0,1: 34:[34, 42, 23] Operation: 25-2=23
Exploring Operation: 42/2=21, Resulting Numbers: [34, 25, 21]
Generated Node #0,2: 34:[34, 25, 21] Operation: 42/2=21
Exploring Operation: 42-34=8, Resulting Numbers: [2, 25, 8]
Generated Node #0,3: 34:[2, 25, 8] Operation: 42-34=8
Moving to Node #0,0
Current State: 34:[34, 2, 17], Operations: ['42-25=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34, 34]
Generated Node #0,0,0: 34:[34, 34] Operation: 2*17=34
Exploring Operation: 34-17=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 34:[2, 17] Operation: 34-17=17
Exploring Operation: 34/17=2, Resulting Numbers: [2, 2]
Generated Node #0,0,2: 34:[2, 2] Operation: 34/17=2
Exploring Operation: 34/2=17, Resulting Numbers: [17, 17]
Generated Node #0,0,3: 34:[17, 17] Operation: 34/2=17
Moving to Node #0,2
Current State: 34:[34, 25, 21], Operations: ['42/2=21']
Exploring Operation: 25-21=4, Resulting Numbers: [34, 4]
Generated Node #0,2,0: 34:[34, 4] Operation: 25-21=4
Exploring Operation: 34-25=9, Resulting Numbers: [21, 9]
Generated Node #0,2,1: 34:[21, 9] Operation: 34-25=9
Exploring Operation: 34-21=13, Resulting Numbers: [25, 13]
Generated Node #0,2,2: 34:[25, 13] Operation: 34-21=13
Exploring Operation: 25+21=46, Resulting Numbers: [34, 46]
Generated Node #0,2,3: 34:[34, 46] Operation: 25+21=46
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[34, 4], Operations: ['42/2=21', '25-21=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,34 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[21, 9], Operations: ['42/2=21', '34-25=9']
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,34 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[25, 13], Operations: ['42/2=21', '34-21=13']
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,34 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[34, 46], Operations: ['42/2=21', '25+21=46']
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 34+46=80, Resulting Numbers: [80]
80,34 unequal: No Solution
Exploring Operation: 34*46=1564, Resulting Numbers: [1564]
1564,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 34:[2, 25, 8], Operations: ['42-34=8']
Exploring Operation: 25+8=33, Resulting Numbers: [2, 33]
Generated Node #0,3,0: 34:[2, 33] Operation: 25+8=33
Exploring Operation: 2*8=16, Resulting Numbers: [25, 16]
Generated Node #0,3,1: 34:[25, 16] Operation: 2*8=16
Exploring Operation: 8/2=4, Resulting Numbers: [25, 4]
Generated Node #0,3,2: 34:[25, 4] Operation: 8/2=4
Exploring Operation: 25-8=17, Resulting Numbers: [2, 17]
Generated Node #0,3,3: 34:[2, 17] Operation: 25-8=17
Moving to Node #0,1
Current State: 34:[34, 42, 23], Operations: ['25-2=23']
Exploring Operation: 42-23=19, Resulting Numbers: [34, 19]
Generated Node #0,1,0: 34:[34, 19] Operation: 42-23=19
Exploring Operation: 34+23=57, Resulting Numbers: [42, 57]
Generated Node #0,1,1: 34:[42, 57] Operation: 34+23=57
Exploring Operation: 34-23=11, Resulting Numbers: [42, 11]
Generated Node #0,1,2: 34:[42, 11] Operation: 34-23=11
Exploring Operation: 42-34=8, Resulting Numbers: [23, 8]
Generated Node #0,1,3: 34:[23, 8] Operation: 42-34=8
Moving to Node #0,0,0
Current State: 34:[34, 34], Operations: ['42-25=17', '2*17=34']
Exploring Operation: 34-34=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 34*34=1156, Resulting Numbers: [1156]
1156,34 unequal: No Solution
Exploring Operation: 34/34=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Exploring Operation: 34+34=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[2, 2], Operations: ['42-25=17', '34/17=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,34 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[2, 17], Operations: ['42-25=17', '34-17=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[34, 2, 25, 42], Operations: []
Exploring Operation: 42-25=17, Resulting Numbers: [34, 2, 17]
Generated Node #0,0: 34:[34, 2, 17] Operation: 42-25=17
Moving to Node #0,0
Current State: 34:[34, 2, 17], Operations: ['42-25=17']
Exploring Operation: 34-17=17, Resulting Numbers: [2, 17]
Generated Node #0,0,1: 34:[2, 17] Operation: 34-17=17
Moving to Node #0,0,1
Current State: 34:[2, 17], Operations: ['42-25=17', '34-17=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.960938 | hs_4 | sum_heuristic |
[
54,
75,
93,
72
] | 58 | [
"93-75=18",
"72/18=4",
"54+4=58"
] | Current State: 58:[54, 75, 93, 72], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [54, 72, 18]
Generated Node #2: [54, 72, 18] from Operation: 93-75=18
Current State: 58:[54, 72, 18], Operations: ['93-75=18']
Exploring Operation: 72/18=4, Resulting Numbers: [54, 4]
Generated Node #3: [54, 4] from Operation: 72/18=4
Current State: 58:[54, 4], Operations: ['93-75=18', '72/18=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[54, 75, 93, 72], Operations: []
Exploring Operation: 93-72=21, Resulting Numbers: [54, 75, 21]
Generated Node #0,0: 58:[54, 75, 21] Operation: 93-72=21
Exploring Operation: 93-75=18, Resulting Numbers: [54, 72, 18]
Generated Node #0,1: 58:[54, 72, 18] Operation: 93-75=18
Exploring Operation: 75-72=3, Resulting Numbers: [54, 93, 3]
Generated Node #0,2: 58:[54, 93, 3] Operation: 75-72=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[54, 75, 21], Operations: ['93-72=21']
Exploring Operation: 75-54=21, Resulting Numbers: [21, 21]
Generated Node #0,0,0: 58:[21, 21] Operation: 75-54=21
Exploring Operation: 54-21=33, Resulting Numbers: [75, 33]
Generated Node #0,0,1: 58:[75, 33] Operation: 54-21=33
Exploring Operation: 75-21=54, Resulting Numbers: [54, 54]
Generated Node #0,0,2: 58:[54, 54] Operation: 75-21=54
Moving to Node #0,0,2
Current State: 58:[54, 54], Operations: ['93-72=21', '75-21=54']
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[21, 21], Operations: ['93-72=21', '75-54=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[75, 33], Operations: ['93-72=21', '54-21=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 75*33=2475, Resulting Numbers: [2475]
2475,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[54, 72, 18], Operations: ['93-75=18']
Exploring Operation: 72-18=54, Resulting Numbers: [54, 54]
Generated Node #0,1,0: 58:[54, 54] Operation: 72-18=54
Exploring Operation: 54/18=3, Resulting Numbers: [72, 3]
Generated Node #0,1,1: 58:[72, 3] Operation: 54/18=3
Exploring Operation: 72/18=4, Resulting Numbers: [54, 4]
Generated Node #0,1,2: 58:[54, 4] Operation: 72/18=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 58:[54, 4], Operations: ['93-75=18', '72/18=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[54, 75, 93, 72], Operations: []
Exploring Operation: 93-75=18, Resulting Numbers: [54, 72, 18]
Generated Node #0,1: 58:[54, 72, 18] Operation: 93-75=18
Moving to Node #0,1
Current State: 58:[54, 72, 18], Operations: ['93-75=18']
Exploring Operation: 72/18=4, Resulting Numbers: [54, 4]
Generated Node #0,1,2: 58:[54, 4] Operation: 72/18=4
Moving to Node #0,1,2
Current State: 58:[54, 4], Operations: ['93-75=18', '72/18=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
13,
69,
15,
41
] | 56 | [
"13+69=82",
"41-15=26",
"82-26=56"
] | Current State: 56:[13, 69, 15, 41], Operations: []
Exploring Operation: 13+69=82, Resulting Numbers: [15, 41, 82]
Generated Node #2: [15, 41, 82] from Operation: 13+69=82
Current State: 56:[15, 41, 82], Operations: ['13+69=82']
Exploring Operation: 41-15=26, Resulting Numbers: [82, 26]
Generated Node #3: [82, 26] from Operation: 41-15=26
Current State: 56:[82, 26], Operations: ['13+69=82', '41-15=26']
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[13, 69, 15, 41], Operations: []
Exploring Operation: 41-13=28, Resulting Numbers: [69, 15, 28]
Generated Node #0,0: 56:[69, 15, 28] Operation: 41-13=28
Exploring Operation: 69-13=56, Resulting Numbers: [15, 41, 56]
Generated Node #0,1: 56:[15, 41, 56] Operation: 69-13=56
Exploring Operation: 69-41=28, Resulting Numbers: [13, 15, 28]
Generated Node #0,2: 56:[13, 15, 28] Operation: 69-41=28
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[13, 15, 28], Operations: ['69-41=28']
Exploring Operation: 15-13=2, Resulting Numbers: [28, 2]
Generated Node #0,2,0: 56:[28, 2] Operation: 15-13=2
Exploring Operation: 28-13=15, Resulting Numbers: [15, 15]
Generated Node #0,2,1: 56:[15, 15] Operation: 28-13=15
Exploring Operation: 13+15=28, Resulting Numbers: [28, 28]
Generated Node #0,2,2: 56:[28, 28] Operation: 13+15=28
Moving to Node #0,2,0
Current State: 56:[28, 2], Operations: ['69-41=28', '15-13=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[13, 69, 15, 41], Operations: []
Exploring Operation: 69-41=28, Resulting Numbers: [13, 15, 28]
Generated Node #0,2: 56:[13, 15, 28] Operation: 69-41=28
Moving to Node #0,2
Current State: 56:[13, 15, 28], Operations: ['69-41=28']
Exploring Operation: 15-13=2, Resulting Numbers: [28, 2]
Generated Node #0,2,0: 56:[28, 2] Operation: 15-13=2
Moving to Node #0,2,0
Current State: 56:[28, 2], Operations: ['69-41=28', '15-13=2']
Exploring Operation: 28*2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
17,
75,
2,
8
] | 14 | [
"17*8=136",
"75*2=150",
"150-136=14"
] | Current State: 14:[17, 75, 2, 8], Operations: []
Exploring Operation: 17*8=136, Resulting Numbers: [75, 2, 136]
Generated Node #2: [75, 2, 136] from Operation: 17*8=136
Current State: 14:[75, 2, 136], Operations: ['17*8=136']
Exploring Operation: 75*2=150, Resulting Numbers: [136, 150]
Generated Node #3: [136, 150] from Operation: 75*2=150
Current State: 14:[136, 150], Operations: ['17*8=136', '75*2=150']
Exploring Operation: 150-136=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[17, 75, 2, 8], Operations: []
Exploring Operation: 75-2=73, Resulting Numbers: [17, 8, 73]
Generated Node #0,0: 14:[17, 8, 73] Operation: 75-2=73
Exploring Operation: 17-2=15, Resulting Numbers: [75, 8, 15]
Generated Node #0,1: 14:[75, 8, 15] Operation: 17-2=15
Exploring Operation: 75-17=58, Resulting Numbers: [2, 8, 58]
Generated Node #0,2: 14:[2, 8, 58] Operation: 75-17=58
Exploring Operation: 17-8=9, Resulting Numbers: [75, 2, 9]
Generated Node #0,3: 14:[75, 2, 9] Operation: 17-8=9
Exploring Operation: 75-8=67, Resulting Numbers: [17, 2, 67]
Generated Node #0,4: 14:[17, 2, 67] Operation: 75-8=67
Moving to Node #0,2
Current State: 14:[2, 8, 58], Operations: ['75-17=58']
Exploring Operation: 8-2=6, Resulting Numbers: [58, 6]
Generated Node #0,2,0: 14:[58, 6] Operation: 8-2=6
Exploring Operation: 2*8=16, Resulting Numbers: [58, 16]
Generated Node #0,2,1: 14:[58, 16] Operation: 2*8=16
Exploring Operation: 58-8=50, Resulting Numbers: [2, 50]
Generated Node #0,2,2: 14:[2, 50] Operation: 58-8=50
Exploring Operation: 58-2=56, Resulting Numbers: [8, 56]
Generated Node #0,2,3: 14:[8, 56] Operation: 58-2=56
Exploring Operation: 58/2=29, Resulting Numbers: [8, 29]
Generated Node #0,2,4: 14:[8, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 14:[8, 29], Operations: ['75-17=58', '58/2=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,14 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[2, 50], Operations: ['75-17=58', '58-8=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,14 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 14:[8, 56], Operations: ['75-17=58', '58-2=56']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,14 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 14:[58, 6], Operations: ['75-17=58', '8-2=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,14 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[58, 16], Operations: ['75-17=58', '2*8=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,14 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,14 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,14 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: 14:[17, 2, 67], Operations: ['75-8=67']
Exploring Operation: 67-17=50, Resulting Numbers: [2, 50]
Generated Node #0,4,0: 14:[2, 50] Operation: 67-17=50
Exploring Operation: 67-2=65, Resulting Numbers: [17, 65]
Generated Node #0,4,1: 14:[17, 65] Operation: 67-2=65
Exploring Operation: 17+2=19, Resulting Numbers: [67, 19]
Generated Node #0,4,2: 14:[67, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [67, 15]
Generated Node #0,4,3: 14:[67, 15] Operation: 17-2=15
Exploring Operation: 2+67=69, Resulting Numbers: [17, 69]
Generated Node #0,4,4: 14:[17, 69] Operation: 2+67=69
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 14:[2, 50], Operations: ['75-8=67', '67-17=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,14 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,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,4,1
Current State: 14:[17, 65], Operations: ['75-8=67', '67-2=65']
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,14 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,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,4,3
Current State: 14:[67, 15], Operations: ['75-8=67', '17-2=15']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,14 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,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,4,2
Current State: 14:[67, 19], Operations: ['75-8=67', '17+2=19']
Exploring Operation: 67+19=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 67-19=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 67*19=1273, Resulting Numbers: [1273]
1273,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,4,4
Current State: 14:[17, 69], Operations: ['75-8=67', '2+67=69']
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,14 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,14 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: 14:[17, 8, 73], Operations: ['75-2=73']
Exploring Operation: 17-8=9, Resulting Numbers: [73, 9]
Generated Node #0,0,0: 14:[73, 9] Operation: 17-8=9
Exploring Operation: 73-8=65, Resulting Numbers: [17, 65]
Generated Node #0,0,1: 14:[17, 65] Operation: 73-8=65
Exploring Operation: 17+8=25, Resulting Numbers: [73, 25]
Generated Node #0,0,2: 14:[73, 25] Operation: 17+8=25
Exploring Operation: 73-17=56, Resulting Numbers: [8, 56]
Generated Node #0,0,3: 14:[8, 56] Operation: 73-17=56
Exploring Operation: 8+73=81, Resulting Numbers: [17, 81]
Generated Node #0,0,4: 14:[17, 81] Operation: 8+73=81
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[8, 56], Operations: ['75-2=73', '73-17=56']
Exploring Operation: 8*56=448, Resulting Numbers: [448]
448,14 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,14 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[17, 65], Operations: ['75-2=73', '73-8=65']
Exploring Operation: 17+65=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 17*65=1105, Resulting Numbers: [1105]
1105,14 unequal: No Solution
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[73, 9], Operations: ['75-2=73', '17-8=9']
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Exploring Operation: 73+9=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 73*9=657, Resulting Numbers: [657]
657,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[73, 25], Operations: ['75-2=73', '17+8=25']
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,14 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 14:[17, 81], Operations: ['75-2=73', '8+73=81']
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,14 unequal: No Solution
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 14:[75, 8, 15], Operations: ['17-2=15']
Exploring Operation: 75+8=83, Resulting Numbers: [15, 83]
Generated Node #0,1,0: 14:[15, 83] Operation: 75+8=83
Exploring Operation: 75-8=67, Resulting Numbers: [15, 67]
Generated Node #0,1,1: 14:[15, 67] Operation: 75-8=67
Exploring Operation: 75-15=60, Resulting Numbers: [8, 60]
Generated Node #0,1,2: 14:[8, 60] Operation: 75-15=60
Exploring Operation: 75/15=5, Resulting Numbers: [8, 5]
Generated Node #0,1,3: 14:[8, 5] Operation: 75/15=5
Exploring Operation: 15-8=7, Resulting Numbers: [75, 7]
Generated Node #0,1,4: 14:[75, 7] Operation: 15-8=7
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 14:[8, 5], Operations: ['17-2=15', '75/15=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,14 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,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,1,2
Current State: 14:[8, 60], Operations: ['17-2=15', '75-15=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,14 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,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,1,1
Current State: 14:[15, 67], Operations: ['17-2=15', '75-8=67']
Exploring Operation: 15+67=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 15*67=1005, Resulting Numbers: [1005]
1005,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,1,4
Current State: 14:[75, 7], Operations: ['17-2=15', '15-8=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,14 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,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,1,0
Current State: 14:[15, 83], Operations: ['17-2=15', '75+8=83']
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Exploring Operation: 15+83=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 15*83=1245, Resulting Numbers: [1245]
1245,14 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: 14:[75, 2, 9], Operations: ['17-8=9']
Exploring Operation: 9-2=7, Resulting Numbers: [75, 7]
Generated Node #0,3,0: 14:[75, 7] Operation: 9-2=7
Exploring Operation: 75-9=66, Resulting Numbers: [2, 66]
Generated Node #0,3,1: 14:[2, 66] Operation: 75-9=66
Exploring Operation: 75-2=73, Resulting Numbers: [9, 73]
Generated Node #0,3,2: 14:[9, 73] Operation: 75-2=73
Exploring Operation: 75+2=77, Resulting Numbers: [9, 77]
Generated Node #0,3,3: 14:[9, 77] Operation: 75+2=77
Exploring Operation: 2+9=11, Resulting Numbers: [75, 11]
Generated Node #0,3,4: 14:[75, 11] Operation: 2+9=11
Moving to Node #0,3,1
Current State: 14:[2, 66], Operations: ['17-8=9', '75-9=66']
Exploring Operation: 2*66=132, Resulting Numbers: [132]
132,14 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Exploring Operation: 2+66=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[9, 73], Operations: ['17-8=9', '75-2=73']
Exploring Operation: 9+73=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 73-9=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Exploring Operation: 9*73=657, Resulting Numbers: [657]
657,14 unequal: No Solution
Moving to Node #0,3,0
Current State: 14:[75, 7], Operations: ['17-8=9', '9-2=7']
Exploring Operation: 75*7=525, Resulting Numbers: [525]
525,14 unequal: No Solution
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,14 unequal: No Solution
Exploring Operation: 75+7=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[75, 11], Operations: ['17-8=9', '2+9=11']
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,14 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[9, 77], Operations: ['17-8=9', '75+2=77']
Exploring Operation: 9+77=86, Resulting Numbers: [86]
86,14 unequal: No Solution
Exploring Operation: 9*77=693, Resulting Numbers: [693]
693,14 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,14 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
63,
9,
14,
44
] | 88 | [
"63/9=7",
"14*44=616",
"616/7=88"
] | Current State: 88:[63, 9, 14, 44], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [14, 44, 7]
Generated Node #2: [14, 44, 7] from Operation: 63/9=7
Current State: 88:[14, 44, 7], Operations: ['63/9=7']
Exploring Operation: 14*44=616, Resulting Numbers: [7, 616]
Generated Node #3: [7, 616] from Operation: 14*44=616
Current State: 88:[7, 616], Operations: ['63/9=7', '14*44=616']
Exploring Operation: 616/7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[63, 9, 14, 44], Operations: []
Exploring Operation: 63-14=49, Resulting Numbers: [9, 44, 49]
Generated Node #0,0: 88:[9, 44, 49] Operation: 63-14=49
Exploring Operation: 63/9=7, Resulting Numbers: [14, 44, 7]
Generated Node #0,1: 88:[14, 44, 7] Operation: 63/9=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[14, 44, 7], Operations: ['63/9=7']
Exploring Operation: 14+7=21, Resulting Numbers: [44, 21]
Generated Node #0,1,0: 88:[44, 21] Operation: 14+7=21
Exploring Operation: 14/7=2, Resulting Numbers: [44, 2]
Generated Node #0,1,1: 88:[44, 2] Operation: 14/7=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[44, 2], Operations: ['63/9=7', '14/7=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[63, 9, 14, 44], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [14, 44, 7]
Generated Node #0,1: 88:[14, 44, 7] Operation: 63/9=7
Moving to Node #0,1
Current State: 88:[14, 44, 7], Operations: ['63/9=7']
Exploring Operation: 14/7=2, Resulting Numbers: [44, 2]
Generated Node #0,1,1: 88:[44, 2] Operation: 14/7=2
Moving to Node #0,1,1
Current State: 88:[44, 2], Operations: ['63/9=7', '14/7=2']
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
17,
5,
29,
58
] | 60 | [
"17+29=46",
"58-46=12",
"5*12=60"
] | Current State: 60:[17, 5, 29, 58], Operations: []
Exploring Operation: 17+29=46, Resulting Numbers: [5, 58, 46]
Generated Node #2: [5, 58, 46] from Operation: 17+29=46
Current State: 60:[5, 58, 46], Operations: ['17+29=46']
Exploring Operation: 58-46=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 58-46=12
Current State: 60:[5, 12], Operations: ['17+29=46', '58-46=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[17, 5, 29, 58], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [17, 5, 2]
Generated Node #0,0: 60:[17, 5, 2] Operation: 58/29=2
Exploring Operation: 29-17=12, Resulting Numbers: [5, 58, 12]
Generated Node #0,1: 60:[5, 58, 12] Operation: 29-17=12
Exploring Operation: 17-5=12, Resulting Numbers: [29, 58, 12]
Generated Node #0,2: 60:[29, 58, 12] Operation: 17-5=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[17, 5, 2], Operations: ['58/29=2']
Exploring Operation: 17+2=19, Resulting Numbers: [5, 19]
Generated Node #0,0,0: 60:[5, 19] Operation: 17+2=19
Exploring Operation: 17-2=15, Resulting Numbers: [5, 15]
Generated Node #0,0,1: 60:[5, 15] Operation: 17-2=15
Exploring Operation: 17-5=12, Resulting Numbers: [2, 12]
Generated Node #0,0,2: 60:[2, 12] Operation: 17-5=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[5, 15], Operations: ['58/29=2', '17-2=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[2, 12], Operations: ['58/29=2', '17-5=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[5, 19], Operations: ['58/29=2', '17+2=19']
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[5, 58, 12], Operations: ['29-17=12']
Exploring Operation: 12-5=7, Resulting Numbers: [58, 7]
Generated Node #0,1,0: 60:[58, 7] Operation: 12-5=7
Exploring Operation: 5+58=63, Resulting Numbers: [12, 63]
Generated Node #0,1,1: 60:[12, 63] Operation: 5+58=63
Exploring Operation: 5*12=60, Resulting Numbers: [58, 60]
Generated Node #0,1,2: 60:[58, 60] Operation: 5*12=60
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[58, 60], Operations: ['29-17=12', '5*12=60']
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,60 unequal: No Solution
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,60 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[58, 7], Operations: ['29-17=12', '12-5=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,60 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,60 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[12, 63], Operations: ['29-17=12', '5+58=63']
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,60 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[29, 58, 12], Operations: ['17-5=12']
Exploring Operation: 58/29=2, Resulting Numbers: [12, 2]
Generated Node #0,2,0: 60:[12, 2] Operation: 58/29=2
Exploring Operation: 29-12=17, Resulting Numbers: [58, 17]
Generated Node #0,2,1: 60:[58, 17] Operation: 29-12=17
Exploring Operation: 58-29=29, Resulting Numbers: [12, 29]
Generated Node #0,2,2: 60:[12, 29] Operation: 58-29=29
Moving to Node #0,2,0
Current State: 60:[12, 2], Operations: ['17-5=12', '58/29=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[12, 29], Operations: ['17-5=12', '58-29=29']
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,60 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[58, 17], Operations: ['17-5=12', '29-12=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,60 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,60 unequal: No Solution
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
91,
58,
98,
75
] | 56 | [
"91-58=33",
"98-75=23",
"33+23=56"
] | Current State: 56:[91, 58, 98, 75], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [98, 75, 33]
Generated Node #2: [98, 75, 33] from Operation: 91-58=33
Current State: 56:[98, 75, 33], Operations: ['91-58=33']
Exploring Operation: 98-75=23, Resulting Numbers: [33, 23]
Generated Node #3: [33, 23] from Operation: 98-75=23
Current State: 56:[33, 23], Operations: ['91-58=33', '98-75=23']
Exploring Operation: 33+23=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[91, 58, 98, 75], Operations: []
Exploring Operation: 98-91=7, Resulting Numbers: [58, 75, 7]
Generated Node #0,0: 56:[58, 75, 7] Operation: 98-91=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[58, 75, 7], Operations: ['98-91=7']
Exploring Operation: 75-58=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 56:[7, 17] Operation: 75-58=17
Moving to Node #0,0,0
Current State: 56:[7, 17], Operations: ['98-91=7', '75-58=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,56 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 |
[
17,
57,
68,
32
] | 21 | [
"68/17=4",
"57-32=25",
"25-4=21"
] | Current State: 21:[17, 57, 68, 32], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [57, 32, 4]
Generated Node #2: [57, 32, 4] from Operation: 68/17=4
Current State: 21:[57, 32, 4], Operations: ['68/17=4']
Exploring Operation: 57-32=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 57-32=25
Current State: 21:[4, 25], Operations: ['68/17=4', '57-32=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[17, 57, 68, 32], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [17, 32, 11]
Generated Node #0,0: 21:[17, 32, 11] Operation: 68-57=11
Exploring Operation: 68/17=4, Resulting Numbers: [57, 32, 4]
Generated Node #0,1: 21:[57, 32, 4] Operation: 68/17=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[17, 32, 11], Operations: ['68-57=11']
Exploring Operation: 32-17=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 21:[11, 15] Operation: 32-17=15
Exploring Operation: 32-11=21, Resulting Numbers: [17, 21]
Generated Node #0,0,1: 21:[17, 21] Operation: 32-11=21
Moving to Node #0,0,1
Current State: 21:[17, 21], Operations: ['68-57=11', '32-11=21']
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,21 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[11, 15], Operations: ['68-57=11', '32-17=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,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
Current State: 21:[57, 32, 4], Operations: ['68/17=4']
Exploring Operation: 57-32=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 21:[4, 25] Operation: 57-32=25
Exploring Operation: 32/4=8, Resulting Numbers: [57, 8]
Generated Node #0,1,1: 21:[57, 8] Operation: 32/4=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[4, 25], Operations: ['68/17=4', '57-32=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[17, 57, 68, 32], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [57, 32, 4]
Generated Node #0,1: 21:[57, 32, 4] Operation: 68/17=4
Moving to Node #0,1
Current State: 21:[57, 32, 4], Operations: ['68/17=4']
Exploring Operation: 57-32=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 21:[4, 25] Operation: 57-32=25
Moving to Node #0,1,0
Current State: 21:[4, 25], Operations: ['68/17=4', '57-32=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
40,
18,
67,
65
] | 31 | [
"67-65=2",
"18/2=9",
"40-9=31"
] | Current State: 31:[40, 18, 67, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [40, 18, 2]
Generated Node #2: [40, 18, 2] from Operation: 67-65=2
Current State: 31:[40, 18, 2], Operations: ['67-65=2']
Exploring Operation: 18/2=9, Resulting Numbers: [40, 9]
Generated Node #3: [40, 9] from Operation: 18/2=9
Current State: 31:[40, 9], Operations: ['67-65=2', '18/2=9']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[40, 18, 67, 65], Operations: []
Exploring Operation: 65-40=25, Resulting Numbers: [18, 67, 25]
Generated Node #0,0: 31:[18, 67, 25] Operation: 65-40=25
Exploring Operation: 65-18=47, Resulting Numbers: [40, 67, 47]
Generated Node #0,1: 31:[40, 67, 47] Operation: 65-18=47
Exploring Operation: 67-18=49, Resulting Numbers: [40, 65, 49]
Generated Node #0,2: 31:[40, 65, 49] Operation: 67-18=49
Exploring Operation: 67-40=27, Resulting Numbers: [18, 65, 27]
Generated Node #0,3: 31:[18, 65, 27] Operation: 67-40=27
Exploring Operation: 67-65=2, Resulting Numbers: [40, 18, 2]
Generated Node #0,4: 31:[40, 18, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 31:[18, 65, 27], Operations: ['67-40=27']
Exploring Operation: 27-18=9, Resulting Numbers: [65, 9]
Generated Node #0,3,0: 31:[65, 9] Operation: 27-18=9
Exploring Operation: 65-27=38, Resulting Numbers: [18, 38]
Generated Node #0,3,1: 31:[18, 38] Operation: 65-27=38
Exploring Operation: 18+27=45, Resulting Numbers: [65, 45]
Generated Node #0,3,2: 31:[65, 45] Operation: 18+27=45
Exploring Operation: 65-18=47, Resulting Numbers: [27, 47]
Generated Node #0,3,3: 31:[27, 47] Operation: 65-18=47
Exploring Operation: 18+65=83, Resulting Numbers: [27, 83]
Generated Node #0,3,4: 31:[27, 83] Operation: 18+65=83
Moving to Node #0,3,1
Current State: 31:[18, 38], Operations: ['67-40=27', '65-27=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[27, 47], Operations: ['67-40=27', '65-18=47']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 27*47=1269, Resulting Numbers: [1269]
1269,31 unequal: No Solution
Exploring Operation: 27+47=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[65, 45], Operations: ['67-40=27', '18+27=45']
Exploring Operation: 65+45=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 65*45=2925, Resulting Numbers: [2925]
2925,31 unequal: No Solution
Exploring Operation: 65-45=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[65, 9], Operations: ['67-40=27', '27-18=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,31 unequal: No Solution
Moving to Node #0,3,4
Current State: 31:[27, 83], Operations: ['67-40=27', '18+65=83']
Exploring Operation: 27+83=110, Resulting Numbers: [110]
110,31 unequal: No Solution
Exploring Operation: 27*83=2241, Resulting Numbers: [2241]
2241,31 unequal: No Solution
Exploring Operation: 83-27=56, Resulting Numbers: [56]
56,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,4
Current State: 31:[40, 18, 2], Operations: ['67-65=2']
Exploring Operation: 18*2=36, Resulting Numbers: [40, 36]
Generated Node #0,4,0: 31:[40, 36] Operation: 18*2=36
Exploring Operation: 18+2=20, Resulting Numbers: [40, 20]
Generated Node #0,4,1: 31:[40, 20] Operation: 18+2=20
Exploring Operation: 40/2=20, Resulting Numbers: [18, 20]
Generated Node #0,4,2: 31:[18, 20] Operation: 40/2=20
Exploring Operation: 40-2=38, Resulting Numbers: [18, 38]
Generated Node #0,4,3: 31:[18, 38] Operation: 40-2=38
Exploring Operation: 40+2=42, Resulting Numbers: [18, 42]
Generated Node #0,4,4: 31:[18, 42] Operation: 40+2=42
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 31:[40, 36], Operations: ['67-65=2', '18*2=36']
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 40*36=1440, Resulting Numbers: [1440]
1440,31 unequal: No Solution
Exploring Operation: 40+36=76, Resulting Numbers: [76]
76,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,4,1
Current State: 31:[40, 20], Operations: ['67-65=2', '18+2=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,31 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,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,4,3
Current State: 31:[18, 38], Operations: ['67-65=2', '40-2=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,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,4,2
Current State: 31:[18, 20], Operations: ['67-65=2', '40/2=20']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 18*20=360, Resulting Numbers: [360]
360,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,4,4
Current State: 31:[18, 42], Operations: ['67-65=2', '40+2=42']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,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,0
Current State: 31:[18, 67, 25], Operations: ['65-40=25']
Exploring Operation: 18+25=43, Resulting Numbers: [67, 43]
Generated Node #0,0,0: 31:[67, 43] Operation: 18+25=43
Exploring Operation: 18+67=85, Resulting Numbers: [25, 85]
Generated Node #0,0,1: 31:[25, 85] Operation: 18+67=85
Exploring Operation: 67-18=49, Resulting Numbers: [25, 49]
Generated Node #0,0,2: 31:[25, 49] Operation: 67-18=49
Exploring Operation: 67-25=42, Resulting Numbers: [18, 42]
Generated Node #0,0,3: 31:[18, 42] Operation: 67-25=42
Exploring Operation: 25-18=7, Resulting Numbers: [67, 7]
Generated Node #0,0,4: 31:[67, 7] Operation: 25-18=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[25, 49], Operations: ['65-40=25', '67-18=49']
Exploring Operation: 25+49=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 25*49=1225, Resulting Numbers: [1225]
1225,31 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,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,3
Current State: 31:[18, 42], Operations: ['65-40=25', '67-25=42']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 18+42=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 18*42=756, Resulting Numbers: [756]
756,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,0
Current State: 31:[67, 43], Operations: ['65-40=25', '18+25=43']
Exploring Operation: 67*43=2881, Resulting Numbers: [2881]
2881,31 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 67+43=110, Resulting Numbers: [110]
110,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:[25, 85], Operations: ['65-40=25', '18+67=85']
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 25*85=2125, Resulting Numbers: [2125]
2125,31 unequal: No Solution
Exploring Operation: 25+85=110, Resulting Numbers: [110]
110,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,4
Current State: 31:[67, 7], Operations: ['65-40=25', '25-18=7']
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,31 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,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:[40, 67, 47], Operations: ['65-18=47']
Exploring Operation: 40+47=87, Resulting Numbers: [67, 87]
Generated Node #0,1,0: 31:[67, 87] Operation: 40+47=87
Exploring Operation: 67-47=20, Resulting Numbers: [40, 20]
Generated Node #0,1,1: 31:[40, 20] Operation: 67-47=20
Exploring Operation: 40+67=107, Resulting Numbers: [47, 107]
Generated Node #0,1,2: 31:[47, 107] Operation: 40+67=107
Exploring Operation: 67-40=27, Resulting Numbers: [47, 27]
Generated Node #0,1,3: 31:[47, 27] Operation: 67-40=27
Exploring Operation: 47-40=7, Resulting Numbers: [67, 7]
Generated Node #0,1,4: 31:[67, 7] Operation: 47-40=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[40, 20], Operations: ['65-18=47', '67-47=20']
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 40*20=800, Resulting Numbers: [800]
800,31 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,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,3
Current State: 31:[47, 27], Operations: ['65-18=47', '67-40=27']
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,31 unequal: No Solution
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,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,4
Current State: 31:[67, 7], Operations: ['65-18=47', '47-40=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,31 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,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:[67, 87], Operations: ['65-18=47', '40+47=87']
Exploring Operation: 67+87=154, Resulting Numbers: [154]
154,31 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,31 unequal: No Solution
Exploring Operation: 67*87=5829, Resulting Numbers: [5829]
5829,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,2
Current State: 31:[47, 107], Operations: ['65-18=47', '40+67=107']
Exploring Operation: 107-47=60, Resulting Numbers: [60]
60,31 unequal: No Solution
Exploring Operation: 47*107=5029, Resulting Numbers: [5029]
5029,31 unequal: No Solution
Exploring Operation: 47+107=154, Resulting Numbers: [154]
154,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,2
Current State: 31:[40, 65, 49], Operations: ['67-18=49']
Exploring Operation: 65-40=25, Resulting Numbers: [49, 25]
Generated Node #0,2,0: 31:[49, 25] Operation: 65-40=25
Exploring Operation: 65-49=16, Resulting Numbers: [40, 16]
Generated Node #0,2,1: 31:[40, 16] Operation: 65-49=16
Exploring Operation: 49-40=9, Resulting Numbers: [65, 9]
Generated Node #0,2,2: 31:[65, 9] Operation: 49-40=9
Exploring Operation: 40+49=89, Resulting Numbers: [65, 89]
Generated Node #0,2,3: 31:[65, 89] Operation: 40+49=89
Exploring Operation: 40+65=105, Resulting Numbers: [49, 105]
Generated Node #0,2,4: 31:[49, 105] Operation: 40+65=105
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 31:[49, 25], Operations: ['67-18=49', '65-40=25']
Exploring Operation: 49*25=1225, Resulting Numbers: [1225]
1225,31 unequal: No Solution
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 49+25=74, Resulting Numbers: [74]
74,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,2,1
Current State: 31:[40, 16], Operations: ['67-18=49', '65-49=16']
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,31 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,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,2,2
Current State: 31:[65, 9], Operations: ['67-18=49', '49-40=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,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,2,3
Current State: 31:[65, 89], Operations: ['67-18=49', '40+49=89']
Exploring Operation: 65*89=5785, Resulting Numbers: [5785]
5785,31 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 65+89=154, Resulting Numbers: [154]
154,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,2,4
Current State: 31:[49, 105], Operations: ['67-18=49', '40+65=105']
Exploring Operation: 105-49=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 49+105=154, Resulting Numbers: [154]
154,31 unequal: No Solution
Exploring Operation: 49*105=5145, Resulting Numbers: [5145]
5145,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_5 | mult_heuristic |
[
39,
69,
84,
95
] | 71 | [
"39+69=108",
"84+95=179",
"179-108=71"
] | Current State: 71:[39, 69, 84, 95], Operations: []
Exploring Operation: 39+69=108, Resulting Numbers: [84, 95, 108]
Generated Node #2: [84, 95, 108] from Operation: 39+69=108
Current State: 71:[84, 95, 108], Operations: ['39+69=108']
Exploring Operation: 84+95=179, Resulting Numbers: [108, 179]
Generated Node #3: [108, 179] from Operation: 84+95=179
Current State: 71:[108, 179], Operations: ['39+69=108', '84+95=179']
Exploring Operation: 179-108=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[39, 69, 84, 95], Operations: []
Exploring Operation: 39+69=108, Resulting Numbers: [84, 95, 108]
Generated Node #0,0: 71:[84, 95, 108] Operation: 39+69=108
Exploring Operation: 84-39=45, Resulting Numbers: [69, 95, 45]
Generated Node #0,1: 71:[69, 95, 45] Operation: 84-39=45
Exploring Operation: 95-39=56, Resulting Numbers: [69, 84, 56]
Generated Node #0,2: 71:[69, 84, 56] Operation: 95-39=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[69, 84, 56], Operations: ['95-39=56']
Exploring Operation: 84-56=28, Resulting Numbers: [69, 28]
Generated Node #0,2,0: 71:[69, 28] Operation: 84-56=28
Exploring Operation: 84-69=15, Resulting Numbers: [56, 15]
Generated Node #0,2,1: 71:[56, 15] Operation: 84-69=15
Exploring Operation: 69+56=125, Resulting Numbers: [84, 125]
Generated Node #0,2,2: 71:[84, 125] Operation: 69+56=125
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[69, 28], Operations: ['95-39=56', '84-56=28']
Exploring Operation: 69*28=1932, Resulting Numbers: [1932]
1932,71 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 69+28=97, Resulting Numbers: [97]
97,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[84, 125], Operations: ['95-39=56', '69+56=125']
Exploring Operation: 84+125=209, Resulting Numbers: [209]
209,71 unequal: No Solution
Exploring Operation: 84*125=10500, Resulting Numbers: [10500]
10500,71 unequal: No Solution
Exploring Operation: 125-84=41, Resulting Numbers: [41]
41,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[56, 15], Operations: ['95-39=56', '84-69=15']
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,71 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,71 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[39, 69, 84, 95], Operations: []
Exploring Operation: 95-39=56, Resulting Numbers: [69, 84, 56]
Generated Node #0,2: 71:[69, 84, 56] Operation: 95-39=56
Moving to Node #0,2
Current State: 71:[69, 84, 56], Operations: ['95-39=56']
Exploring Operation: 84-69=15, Resulting Numbers: [56, 15]
Generated Node #0,2,1: 71:[56, 15] Operation: 84-69=15
Moving to Node #0,2,1
Current State: 71:[56, 15], Operations: ['95-39=56', '84-69=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
18,
57,
69,
69
] | 74 | [
"18+57=75",
"69/69=1",
"75-1=74"
] | Current State: 74:[18, 57, 69, 69], Operations: []
Exploring Operation: 18+57=75, Resulting Numbers: [69, 69, 75]
Generated Node #2: [69, 69, 75] from Operation: 18+57=75
Current State: 74:[69, 69, 75], Operations: ['18+57=75']
Exploring Operation: 69/69=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 69/69=1
Current State: 74:[75, 1], Operations: ['18+57=75', '69/69=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[18, 57, 69, 69], Operations: []
Exploring Operation: 18+57=75, Resulting Numbers: [69, 69, 75]
Generated Node #0,0: 74:[69, 69, 75] Operation: 18+57=75
Exploring Operation: 69-57=12, Resulting Numbers: [18, 69, 12]
Generated Node #0,1: 74:[18, 69, 12] Operation: 69-57=12
Exploring Operation: 57-18=39, Resulting Numbers: [69, 69, 39]
Generated Node #0,2: 74:[69, 69, 39] Operation: 57-18=39
Exploring Operation: 69-57=12, Resulting Numbers: [18, 69, 12]
Generated Node #0,3: 74:[18, 69, 12] Operation: 69-57=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[69, 69, 75], Operations: ['18+57=75']
Exploring Operation: 75-69=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 74:[69, 6] Operation: 75-69=6
Exploring Operation: 69-69=0, Resulting Numbers: [75, 0]
Generated Node #0,0,1: 74:[75, 0] Operation: 69-69=0
Exploring Operation: 75-69=6, Resulting Numbers: [69, 6]
Generated Node #0,0,2: 74:[69, 6] Operation: 75-69=6
Exploring Operation: 69/69=1, Resulting Numbers: [75, 1]
Generated Node #0,0,3: 74:[75, 1] Operation: 69/69=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[75, 1], Operations: ['18+57=75', '69/69=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,74 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[18, 57, 69, 69], Operations: []
Exploring Operation: 18+57=75, Resulting Numbers: [69, 69, 75]
Generated Node #0,0: 74:[69, 69, 75] Operation: 18+57=75
Moving to Node #0,0
Current State: 74:[69, 69, 75], Operations: ['18+57=75']
Exploring Operation: 69/69=1, Resulting Numbers: [75, 1]
Generated Node #0,0,3: 74:[75, 1] Operation: 69/69=1
Moving to Node #0,0,3
Current State: 74:[75, 1], Operations: ['18+57=75', '69/69=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
6,
25,
3,
61
] | 71 | [
"25-3=22",
"6*22=132",
"132-61=71"
] | Current State: 71:[6, 25, 3, 61], Operations: []
Exploring Operation: 25-3=22, Resulting Numbers: [6, 61, 22]
Generated Node #2: [6, 61, 22] from Operation: 25-3=22
Current State: 71:[6, 61, 22], Operations: ['25-3=22']
Exploring Operation: 6*22=132, Resulting Numbers: [61, 132]
Generated Node #3: [61, 132] from Operation: 6*22=132
Current State: 71:[61, 132], Operations: ['25-3=22', '6*22=132']
Exploring Operation: 132-61=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[6, 25, 3, 61], Operations: []
Exploring Operation: 25*3=75, Resulting Numbers: [6, 61, 75]
Generated Node #0,0: 71:[6, 61, 75] Operation: 25*3=75
Exploring Operation: 6+25=31, Resulting Numbers: [3, 61, 31]
Generated Node #0,1: 71:[3, 61, 31] Operation: 6+25=31
Exploring Operation: 6*3=18, Resulting Numbers: [25, 61, 18]
Generated Node #0,2: 71:[25, 61, 18] Operation: 6*3=18
Exploring Operation: 6+3=9, Resulting Numbers: [25, 61, 9]
Generated Node #0,3: 71:[25, 61, 9] Operation: 6+3=9
Moving to Node #0,0
Current State: 71:[6, 61, 75], Operations: ['25*3=75']
Exploring Operation: 6+61=67, Resulting Numbers: [75, 67]
Generated Node #0,0,0: 71:[75, 67] Operation: 6+61=67
Exploring Operation: 6+75=81, Resulting Numbers: [61, 81]
Generated Node #0,0,1: 71:[61, 81] Operation: 6+75=81
Exploring Operation: 61-6=55, Resulting Numbers: [75, 55]
Generated Node #0,0,2: 71:[75, 55] Operation: 61-6=55
Exploring Operation: 75-6=69, Resulting Numbers: [61, 69]
Generated Node #0,0,3: 71:[61, 69] Operation: 75-6=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[75, 67], Operations: ['25*3=75', '6+61=67']
Exploring Operation: 75*67=5025, Resulting Numbers: [5025]
5025,71 unequal: No Solution
Exploring Operation: 75-67=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 75+67=142, Resulting Numbers: [142]
142,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,3
Current State: 71:[61, 69], Operations: ['25*3=75', '75-6=69']
Exploring Operation: 61*69=4209, Resulting Numbers: [4209]
4209,71 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 61+69=130, Resulting Numbers: [130]
130,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:[61, 81], Operations: ['25*3=75', '6+75=81']
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 61+81=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 61*81=4941, Resulting Numbers: [4941]
4941,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[75, 55], Operations: ['25*3=75', '61-6=55']
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 75*55=4125, Resulting Numbers: [4125]
4125,71 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 71:[25, 61, 18], Operations: ['6*3=18']
Exploring Operation: 25+18=43, Resulting Numbers: [61, 43]
Generated Node #0,2,0: 71:[61, 43] Operation: 25+18=43
Exploring Operation: 25-18=7, Resulting Numbers: [61, 7]
Generated Node #0,2,1: 71:[61, 7] Operation: 25-18=7
Exploring Operation: 61+18=79, Resulting Numbers: [25, 79]
Generated Node #0,2,2: 71:[25, 79] Operation: 61+18=79
Exploring Operation: 25+61=86, Resulting Numbers: [18, 86]
Generated Node #0,2,3: 71:[18, 86] Operation: 25+61=86
Moving to Node #0,3
Current State: 71:[25, 61, 9], Operations: ['6+3=9']
Exploring Operation: 25+9=34, Resulting Numbers: [61, 34]
Generated Node #0,3,0: 71:[61, 34] Operation: 25+9=34
Exploring Operation: 61+9=70, Resulting Numbers: [25, 70]
Generated Node #0,3,1: 71:[25, 70] Operation: 61+9=70
Exploring Operation: 61-9=52, Resulting Numbers: [25, 52]
Generated Node #0,3,2: 71:[25, 52] Operation: 61-9=52
Exploring Operation: 25-9=16, Resulting Numbers: [61, 16]
Generated Node #0,3,3: 71:[61, 16] Operation: 25-9=16
Moving to Node #0,1
Current State: 71:[3, 61, 31], Operations: ['6+25=31']
Exploring Operation: 61-3=58, Resulting Numbers: [31, 58]
Generated Node #0,1,0: 71:[31, 58] Operation: 61-3=58
Exploring Operation: 3*31=93, Resulting Numbers: [61, 93]
Generated Node #0,1,1: 71:[61, 93] Operation: 3*31=93
Exploring Operation: 3+31=34, Resulting Numbers: [61, 34]
Generated Node #0,1,2: 71:[61, 34] Operation: 3+31=34
Exploring Operation: 3+61=64, Resulting Numbers: [31, 64]
Generated Node #0,1,3: 71:[31, 64] Operation: 3+61=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[61, 93], Operations: ['6+25=31', '3*31=93']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,71 unequal: No Solution
Exploring Operation: 61*93=5673, Resulting Numbers: [5673]
5673,71 unequal: No Solution
Exploring Operation: 61+93=154, Resulting Numbers: [154]
154,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[61, 34], Operations: ['6+25=31', '3+31=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,71 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,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,3
Current State: 71:[31, 64], Operations: ['6+25=31', '3+61=64']
Exploring Operation: 31*64=1984, Resulting Numbers: [1984]
1984,71 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 31+64=95, Resulting Numbers: [95]
95,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[31, 58], Operations: ['6+25=31', '61-3=58']
Exploring Operation: 31*58=1798, Resulting Numbers: [1798]
1798,71 unequal: No Solution
Exploring Operation: 31+58=89, Resulting Numbers: [89]
89,71 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,71 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: 71:[61, 43], Operations: ['6*3=18', '25+18=43']
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[25, 70], Operations: ['6+3=9', '61+9=70']
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Exploring Operation: 25*70=1750, Resulting Numbers: [1750]
1750,71 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[61, 34], Operations: ['6+3=9', '25+9=34']
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Exploring Operation: 61*34=2074, Resulting Numbers: [2074]
2074,71 unequal: No Solution
Exploring Operation: 61+34=95, Resulting Numbers: [95]
95,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[25, 79], Operations: ['6*3=18', '61+18=79']
Exploring Operation: 25+79=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Exploring Operation: 79-25=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 25*79=1975, Resulting Numbers: [1975]
1975,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[25, 52], Operations: ['6+3=9', '61-9=52']
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 25*52=1300, Resulting Numbers: [1300]
1300,71 unequal: No Solution
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[61, 16], Operations: ['6+3=9', '25-9=16']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,71 unequal: No Solution
Exploring Operation: 61*16=976, Resulting Numbers: [976]
976,71 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[18, 86], Operations: ['6*3=18', '25+61=86']
Exploring Operation: 18*86=1548, Resulting Numbers: [1548]
1548,71 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 18+86=104, Resulting Numbers: [104]
104,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[61, 7], Operations: ['6*3=18', '25-18=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,71 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,71 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
64,
87,
24
] | 81 | [
"64/16=4",
"24/4=6",
"87-6=81"
] | Current State: 81:[16, 64, 87, 24], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [87, 24, 4]
Generated Node #2: [87, 24, 4] from Operation: 64/16=4
Current State: 81:[87, 24, 4], Operations: ['64/16=4']
Exploring Operation: 24/4=6, Resulting Numbers: [87, 6]
Generated Node #3: [87, 6] from Operation: 24/4=6
Current State: 81:[87, 6], Operations: ['64/16=4', '24/4=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[16, 64, 87, 24], Operations: []
Exploring Operation: 87-64=23, Resulting Numbers: [16, 24, 23]
Generated Node #0,0: 81:[16, 24, 23] Operation: 87-64=23
Exploring Operation: 16+64=80, Resulting Numbers: [87, 24, 80]
Generated Node #0,1: 81:[87, 24, 80] Operation: 16+64=80
Exploring Operation: 64/16=4, Resulting Numbers: [87, 24, 4]
Generated Node #0,2: 81:[87, 24, 4] Operation: 64/16=4
Moving to Node #0,1
Current State: 81:[87, 24, 80], Operations: ['16+64=80']
Exploring Operation: 24+80=104, Resulting Numbers: [87, 104]
Generated Node #0,1,0: 81:[87, 104] Operation: 24+80=104
Exploring Operation: 87-80=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 81:[24, 7] Operation: 87-80=7
Exploring Operation: 87-24=63, Resulting Numbers: [80, 63]
Generated Node #0,1,2: 81:[80, 63] Operation: 87-24=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[24, 7], Operations: ['16+64=80', '87-80=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[80, 63], Operations: ['16+64=80', '87-24=63']
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,81 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[87, 104], Operations: ['16+64=80', '24+80=104']
Exploring Operation: 104-87=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 87*104=9048, Resulting Numbers: [9048]
9048,81 unequal: No Solution
Exploring Operation: 87+104=191, Resulting Numbers: [191]
191,81 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: 81:[87, 24, 4], Operations: ['64/16=4']
Exploring Operation: 24+4=28, Resulting Numbers: [87, 28]
Generated Node #0,2,0: 81:[87, 28] Operation: 24+4=28
Exploring Operation: 87-4=83, Resulting Numbers: [24, 83]
Generated Node #0,2,1: 81:[24, 83] Operation: 87-4=83
Exploring Operation: 24/4=6, Resulting Numbers: [87, 6]
Generated Node #0,2,2: 81:[87, 6] Operation: 24/4=6
Moving to Node #0,0
Current State: 81:[16, 24, 23], Operations: ['87-64=23']
Exploring Operation: 24-16=8, Resulting Numbers: [23, 8]
Generated Node #0,0,0: 81:[23, 8] Operation: 24-16=8
Exploring Operation: 24-23=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 81:[16, 1] Operation: 24-23=1
Exploring Operation: 23-16=7, Resulting Numbers: [24, 7]
Generated Node #0,0,2: 81:[24, 7] Operation: 23-16=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[23, 8], Operations: ['87-64=23', '24-16=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,81 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[24, 7], Operations: ['87-64=23', '23-16=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,81 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,81 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[16, 1], Operations: ['87-64=23', '24-23=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,81 unequal: No Solution
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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 81:[24, 83], Operations: ['64/16=4', '87-4=83']
Exploring Operation: 24*83=1992, Resulting Numbers: [1992]
1992,81 unequal: No Solution
Exploring Operation: 24+83=107, Resulting Numbers: [107]
107,81 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Moving to Node #0,2,0
Current State: 81:[87, 28], Operations: ['64/16=4', '24+4=28']
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[87, 6], Operations: ['64/16=4', '24/4=6']
Exploring Operation: 87*6=522, Resulting Numbers: [522]
522,81 unequal: No Solution
Exploring Operation: 87+6=93, Resulting Numbers: [93]
93,81 unequal: No Solution
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[16, 64, 87, 24], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [87, 24, 4]
Generated Node #0,2: 81:[87, 24, 4] Operation: 64/16=4
Moving to Node #0,2
Current State: 81:[87, 24, 4], Operations: ['64/16=4']
Exploring Operation: 24/4=6, Resulting Numbers: [87, 6]
Generated Node #0,2,2: 81:[87, 6] Operation: 24/4=6
Moving to Node #0,2,2
Current State: 81:[87, 6], Operations: ['64/16=4', '24/4=6']
Exploring Operation: 87-6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
32,
49,
13,
41
] | 56 | [
"32*49=1568",
"41-13=28",
"1568/28=56"
] | Current State: 56:[32, 49, 13, 41], Operations: []
Exploring Operation: 32*49=1568, Resulting Numbers: [13, 41, 1568]
Generated Node #2: [13, 41, 1568] from Operation: 32*49=1568
Current State: 56:[13, 41, 1568], Operations: ['32*49=1568']
Exploring Operation: 41-13=28, Resulting Numbers: [1568, 28]
Generated Node #3: [1568, 28] from Operation: 41-13=28
Current State: 56:[1568, 28], Operations: ['32*49=1568', '41-13=28']
Exploring Operation: 1568/28=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[32, 49, 13, 41], Operations: []
Exploring Operation: 49-32=17, Resulting Numbers: [13, 41, 17]
Generated Node #0,0: 56:[13, 41, 17] Operation: 49-32=17
Exploring Operation: 49-41=8, Resulting Numbers: [32, 13, 8]
Generated Node #0,1: 56:[32, 13, 8] Operation: 49-41=8
Exploring Operation: 41-32=9, Resulting Numbers: [49, 13, 9]
Generated Node #0,2: 56:[49, 13, 9] Operation: 41-32=9
Exploring Operation: 13+41=54, Resulting Numbers: [32, 49, 54]
Generated Node #0,3: 56:[32, 49, 54] Operation: 13+41=54
Exploring Operation: 41-13=28, Resulting Numbers: [32, 49, 28]
Generated Node #0,4: 56:[32, 49, 28] Operation: 41-13=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[32, 13, 8], Operations: ['49-41=8']
Exploring Operation: 32-13=19, Resulting Numbers: [8, 19]
Generated Node #0,1,0: 56:[8, 19] Operation: 32-13=19
Exploring Operation: 13-8=5, Resulting Numbers: [32, 5]
Generated Node #0,1,1: 56:[32, 5] Operation: 13-8=5
Exploring Operation: 32+13=45, Resulting Numbers: [8, 45]
Generated Node #0,1,2: 56:[8, 45] Operation: 32+13=45
Exploring Operation: 32/8=4, Resulting Numbers: [13, 4]
Generated Node #0,1,3: 56:[13, 4] Operation: 32/8=4
Exploring Operation: 32-8=24, Resulting Numbers: [13, 24]
Generated Node #0,1,4: 56:[13, 24] Operation: 32-8=24
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[13, 4], Operations: ['49-41=8', '32/8=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,56 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,56 unequal: No Solution
No 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: 56:[8, 19], Operations: ['49-41=8', '32-13=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,56 unequal: No Solution
No 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: 56:[32, 5], Operations: ['49-41=8', '13-8=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 56:[13, 24], Operations: ['49-41=8', '32-8=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,56 unequal: No Solution
No 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: 56:[8, 45], Operations: ['49-41=8', '32+13=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,56 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: 56:[49, 13, 9], Operations: ['41-32=9']
Exploring Operation: 13-9=4, Resulting Numbers: [49, 4]
Generated Node #0,2,0: 56:[49, 4] Operation: 13-9=4
Exploring Operation: 49+9=58, Resulting Numbers: [13, 58]
Generated Node #0,2,1: 56:[13, 58] Operation: 49+9=58
Exploring Operation: 49+13=62, Resulting Numbers: [9, 62]
Generated Node #0,2,2: 56:[9, 62] Operation: 49+13=62
Exploring Operation: 49-13=36, Resulting Numbers: [9, 36]
Generated Node #0,2,3: 56:[9, 36] Operation: 49-13=36
Exploring Operation: 49-9=40, Resulting Numbers: [13, 40]
Generated Node #0,2,4: 56:[13, 40] Operation: 49-9=40
Moving to Node #0,2,1
Current State: 56:[13, 58], Operations: ['41-32=9', '49+9=58']
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,56 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[9, 62], Operations: ['41-32=9', '49+13=62']
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[49, 4], Operations: ['41-32=9', '13-9=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,56 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[9, 36], Operations: ['41-32=9', '49-13=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,56 unequal: No Solution
Exploring Operation: 9*36=324, Resulting Numbers: [324]
324,56 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[13, 40], Operations: ['41-32=9', '49-9=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 56:[32, 49, 28], Operations: ['41-13=28']
Exploring Operation: 32+49=81, Resulting Numbers: [28, 81]
Generated Node #0,4,0: 56:[28, 81] Operation: 32+49=81
Exploring Operation: 49-28=21, Resulting Numbers: [32, 21]
Generated Node #0,4,1: 56:[32, 21] Operation: 49-28=21
Exploring Operation: 49-32=17, Resulting Numbers: [28, 17]
Generated Node #0,4,2: 56:[28, 17] Operation: 49-32=17
Exploring Operation: 32-28=4, Resulting Numbers: [49, 4]
Generated Node #0,4,3: 56:[49, 4] Operation: 32-28=4
Exploring Operation: 32+28=60, Resulting Numbers: [49, 60]
Generated Node #0,4,4: 56:[49, 60] Operation: 32+28=60
Moving to Node #0,4,2
Current State: 56:[28, 17], Operations: ['41-13=28', '49-32=17']
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,56 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,4,3
Current State: 56:[49, 4], Operations: ['41-13=28', '32-28=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,56 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Moving to Node #0,4,1
Current State: 56:[32, 21], Operations: ['41-13=28', '49-28=21']
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,56 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,4,4
Current State: 56:[49, 60], Operations: ['41-13=28', '32+28=60']
Exploring Operation: 49+60=109, Resulting Numbers: [109]
109,56 unequal: No Solution
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 49*60=2940, Resulting Numbers: [2940]
2940,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[28, 81], Operations: ['41-13=28', '32+49=81']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 28+81=109, Resulting Numbers: [109]
109,56 unequal: No Solution
Exploring Operation: 28*81=2268, Resulting Numbers: [2268]
2268,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[32, 49, 54], Operations: ['13+41=54']
Exploring Operation: 32+49=81, Resulting Numbers: [54, 81]
Generated Node #0,3,0: 56:[54, 81] Operation: 32+49=81
Exploring Operation: 32+54=86, Resulting Numbers: [49, 86]
Generated Node #0,3,1: 56:[49, 86] Operation: 32+54=86
Exploring Operation: 54-32=22, Resulting Numbers: [49, 22]
Generated Node #0,3,2: 56:[49, 22] Operation: 54-32=22
Exploring Operation: 49-32=17, Resulting Numbers: [54, 17]
Generated Node #0,3,3: 56:[54, 17] Operation: 49-32=17
Exploring Operation: 54-49=5, Resulting Numbers: [32, 5]
Generated Node #0,3,4: 56:[32, 5] Operation: 54-49=5
Moving to Node #0,3,3
Current State: 56:[54, 17], Operations: ['13+41=54', '49-32=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,56 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[32, 5], Operations: ['13+41=54', '54-49=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,56 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[49, 22], Operations: ['13+41=54', '54-32=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,56 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[54, 81], Operations: ['13+41=54', '32+49=81']
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,56 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[49, 86], Operations: ['13+41=54', '32+54=86']
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,56 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,56 unequal: No Solution
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[13, 41, 17], Operations: ['49-32=17']
Exploring Operation: 13+41=54, Resulting Numbers: [17, 54]
Generated Node #0,0,0: 56:[17, 54] Operation: 13+41=54
Exploring Operation: 17-13=4, Resulting Numbers: [41, 4]
Generated Node #0,0,1: 56:[41, 4] Operation: 17-13=4
Exploring Operation: 41+17=58, Resulting Numbers: [13, 58]
Generated Node #0,0,2: 56:[13, 58] Operation: 41+17=58
Exploring Operation: 41-17=24, Resulting Numbers: [13, 24]
Generated Node #0,0,3: 56:[13, 24] Operation: 41-17=24
Exploring Operation: 41-13=28, Resulting Numbers: [17, 28]
Generated Node #0,0,4: 56:[17, 28] Operation: 41-13=28
Moving to Node #0,0,2
Current State: 56:[13, 58], Operations: ['49-32=17', '41+17=58']
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[17, 28], Operations: ['49-32=17', '41-13=28']
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,56 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[17, 54], Operations: ['49-32=17', '13+41=54']
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,56 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[13, 24], Operations: ['49-32=17', '41-17=24']
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,56 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[41, 4], Operations: ['49-32=17', '17-13=4']
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
99,
2,
90,
30
] | 94 | [
"99-2=97",
"90/30=3",
"97-3=94"
] | Current State: 94:[99, 2, 90, 30], Operations: []
Exploring Operation: 99-2=97, Resulting Numbers: [90, 30, 97]
Generated Node #2: [90, 30, 97] from Operation: 99-2=97
Current State: 94:[90, 30, 97], Operations: ['99-2=97']
Exploring Operation: 90/30=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 90/30=3
Current State: 94:[97, 3], Operations: ['99-2=97', '90/30=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[99, 2, 90, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [99, 2, 3]
Generated Node #0,0: 94:[99, 2, 3] Operation: 90/30=3
Exploring Operation: 2*30=60, Resulting Numbers: [99, 90, 60]
Generated Node #0,1: 94:[99, 90, 60] Operation: 2*30=60
Exploring Operation: 90-30=60, Resulting Numbers: [99, 2, 60]
Generated Node #0,2: 94:[99, 2, 60] Operation: 90-30=60
Moving to Node #0,0
Current State: 94:[99, 2, 3], Operations: ['90/30=3']
Exploring Operation: 99-3=96, Resulting Numbers: [2, 96]
Generated Node #0,0,0: 94:[2, 96] Operation: 99-3=96
Exploring Operation: 99-2=97, Resulting Numbers: [3, 97]
Generated Node #0,0,1: 94:[3, 97] Operation: 99-2=97
Exploring Operation: 3-2=1, Resulting Numbers: [99, 1]
Generated Node #0,0,2: 94:[99, 1] Operation: 3-2=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[2, 96], Operations: ['90/30=3', '99-3=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[99, 2, 90, 30], Operations: []
Exploring Operation: 90/30=3, Resulting Numbers: [99, 2, 3]
Generated Node #0,0: 94:[99, 2, 3] Operation: 90/30=3
Moving to Node #0,0
Current State: 94:[99, 2, 3], Operations: ['90/30=3']
Exploring Operation: 99-3=96, Resulting Numbers: [2, 96]
Generated Node #0,0,0: 94:[2, 96] Operation: 99-3=96
Moving to Node #0,0,0
Current State: 94:[2, 96], Operations: ['90/30=3', '99-3=96']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
87,
62,
27,
59
] | 78 | [
"62-59=3",
"27/3=9",
"87-9=78"
] | Current State: 78:[87, 62, 27, 59], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [87, 27, 3]
Generated Node #2: [87, 27, 3] from Operation: 62-59=3
Current State: 78:[87, 27, 3], Operations: ['62-59=3']
Exploring Operation: 27/3=9, Resulting Numbers: [87, 9]
Generated Node #3: [87, 9] from Operation: 27/3=9
Current State: 78:[87, 9], Operations: ['62-59=3', '27/3=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[87, 62, 27, 59], Operations: []
Exploring Operation: 87-59=28, Resulting Numbers: [62, 27, 28]
Generated Node #0,0: 78:[62, 27, 28] Operation: 87-59=28
Exploring Operation: 62-27=35, Resulting Numbers: [87, 59, 35]
Generated Node #0,1: 78:[87, 59, 35] Operation: 62-27=35
Exploring Operation: 59-27=32, Resulting Numbers: [87, 62, 32]
Generated Node #0,2: 78:[87, 62, 32] Operation: 59-27=32
Exploring Operation: 87-62=25, Resulting Numbers: [27, 59, 25]
Generated Node #0,3: 78:[27, 59, 25] Operation: 87-62=25
Exploring Operation: 62-59=3, Resulting Numbers: [87, 27, 3]
Generated Node #0,4: 78:[87, 27, 3] Operation: 62-59=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[87, 27, 3], Operations: ['62-59=3']
Exploring Operation: 27/3=9, Resulting Numbers: [87, 9]
Generated Node #0,4,0: 78:[87, 9] Operation: 27/3=9
Exploring Operation: 87-3=84, Resulting Numbers: [27, 84]
Generated Node #0,4,1: 78:[27, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [27, 29]
Generated Node #0,4,2: 78:[27, 29] Operation: 87/3=29
Exploring Operation: 27-3=24, Resulting Numbers: [87, 24]
Generated Node #0,4,3: 78:[87, 24] Operation: 27-3=24
Exploring Operation: 27*3=81, Resulting Numbers: [87, 81]
Generated Node #0,4,4: 78:[87, 81] Operation: 27*3=81
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 78:[27, 29], Operations: ['62-59=3', '87/3=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,78 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,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,4,1
Current State: 78:[27, 84], Operations: ['62-59=3', '87-3=84']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 27*84=2268, Resulting Numbers: [2268]
2268,78 unequal: No Solution
Exploring Operation: 27+84=111, Resulting Numbers: [111]
111,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,4,3
Current State: 78:[87, 24], Operations: ['62-59=3', '27-3=24']
Exploring Operation: 87*24=2088, Resulting Numbers: [2088]
2088,78 unequal: No Solution
Exploring Operation: 87+24=111, Resulting Numbers: [111]
111,78 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,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,4,0
Current State: 78:[87, 9], Operations: ['62-59=3', '27/3=9']
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,78 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[87, 62, 27, 59], Operations: []
Exploring Operation: 62-59=3, Resulting Numbers: [87, 27, 3]
Generated Node #0,4: 78:[87, 27, 3] Operation: 62-59=3
Moving to Node #0,4
Current State: 78:[87, 27, 3], Operations: ['62-59=3']
Exploring Operation: 27/3=9, Resulting Numbers: [87, 9]
Generated Node #0,4,0: 78:[87, 9] Operation: 27/3=9
Moving to Node #0,4,0
Current State: 78:[87, 9], Operations: ['62-59=3', '27/3=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
90,
84,
83,
77
] | 89 | [
"90-83=7",
"84/7=12",
"77+12=89"
] | Current State: 89:[90, 84, 83, 77], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [84, 77, 7]
Generated Node #2: [84, 77, 7] from Operation: 90-83=7
Current State: 89:[84, 77, 7], Operations: ['90-83=7']
Exploring Operation: 84/7=12, Resulting Numbers: [77, 12]
Generated Node #3: [77, 12] from Operation: 84/7=12
Current State: 89:[77, 12], Operations: ['90-83=7', '84/7=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[90, 84, 83, 77], Operations: []
Exploring Operation: 83+77=160, Resulting Numbers: [90, 84, 160]
Generated Node #0,0: 89:[90, 84, 160] Operation: 83+77=160
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[90, 84, 160], Operations: ['83+77=160']
Exploring Operation: 160-84=76, Resulting Numbers: [90, 76]
Generated Node #0,0,0: 89:[90, 76] Operation: 160-84=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[90, 76], Operations: ['83+77=160', '160-84=76']
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
28,
30,
19
] | 51 | [
"56/28=2",
"30+19=49",
"2+49=51"
] | Current State: 51:[56, 28, 30, 19], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [30, 19, 2]
Generated Node #2: [30, 19, 2] from Operation: 56/28=2
Current State: 51:[30, 19, 2], Operations: ['56/28=2']
Exploring Operation: 30+19=49, Resulting Numbers: [2, 49]
Generated Node #3: [2, 49] from Operation: 30+19=49
Current State: 51:[2, 49], Operations: ['56/28=2', '30+19=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[56, 28, 30, 19], Operations: []
Exploring Operation: 30-28=2, Resulting Numbers: [56, 19, 2]
Generated Node #0,0: 51:[56, 19, 2] Operation: 30-28=2
Exploring Operation: 28+30=58, Resulting Numbers: [56, 19, 58]
Generated Node #0,1: 51:[56, 19, 58] Operation: 28+30=58
Exploring Operation: 56/28=2, Resulting Numbers: [30, 19, 2]
Generated Node #0,2: 51:[30, 19, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[56, 19, 2], Operations: ['30-28=2']
Exploring Operation: 56-2=54, Resulting Numbers: [19, 54]
Generated Node #0,0,0: 51:[19, 54] Operation: 56-2=54
Exploring Operation: 19-2=17, Resulting Numbers: [56, 17]
Generated Node #0,0,1: 51:[56, 17] Operation: 19-2=17
Exploring Operation: 56+2=58, Resulting Numbers: [19, 58]
Generated Node #0,0,2: 51:[19, 58] Operation: 56+2=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[19, 54], Operations: ['30-28=2', '56-2=54']
Exploring Operation: 19*54=1026, Resulting Numbers: [1026]
1026,51 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,51 unequal: No Solution
Exploring Operation: 19+54=73, Resulting Numbers: [73]
73,51 unequal: No Solution
No 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: 51:[56, 17], Operations: ['30-28=2', '19-2=17']
Exploring Operation: 56*17=952, Resulting Numbers: [952]
952,51 unequal: No Solution
Exploring Operation: 56+17=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Exploring Operation: 56-17=39, Resulting Numbers: [39]
39,51 unequal: No Solution
No 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: 51:[19, 58], Operations: ['30-28=2', '56+2=58']
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,51 unequal: No Solution
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,51 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: 51:[56, 19, 58], Operations: ['28+30=58']
Exploring Operation: 58-19=39, Resulting Numbers: [56, 39]
Generated Node #0,1,0: 51:[56, 39] Operation: 58-19=39
Exploring Operation: 58-56=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 51:[19, 2] Operation: 58-56=2
Exploring Operation: 56-19=37, Resulting Numbers: [58, 37]
Generated Node #0,1,2: 51:[58, 37] Operation: 56-19=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[19, 2], Operations: ['28+30=58', '58-56=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,51 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,51 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,51 unequal: No Solution
No 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: 51:[56, 39], Operations: ['28+30=58', '58-19=39']
Exploring Operation: 56+39=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 56*39=2184, Resulting Numbers: [2184]
2184,51 unequal: No Solution
Exploring Operation: 56-39=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No 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: 51:[58, 37], Operations: ['28+30=58', '56-19=37']
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,51 unequal: No Solution
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,51 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,51 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: 51:[30, 19, 2], Operations: ['56/28=2']
Exploring Operation: 30/2=15, Resulting Numbers: [19, 15]
Generated Node #0,2,0: 51:[19, 15] Operation: 30/2=15
Exploring Operation: 30+19=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 51:[2, 49] Operation: 30+19=49
Exploring Operation: 30-19=11, Resulting Numbers: [2, 11]
Generated Node #0,2,2: 51:[2, 11] Operation: 30-19=11
Moving to Node #0,2,1
Current State: 51:[2, 49], Operations: ['56/28=2', '30+19=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[56, 28, 30, 19], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [30, 19, 2]
Generated Node #0,2: 51:[30, 19, 2] Operation: 56/28=2
Moving to Node #0,2
Current State: 51:[30, 19, 2], Operations: ['56/28=2']
Exploring Operation: 30+19=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 51:[2, 49] Operation: 30+19=49
Moving to Node #0,2,1
Current State: 51:[2, 49], Operations: ['56/28=2', '30+19=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
80,
17,
62,
49
] | 14 | [
"80+17=97",
"62+49=111",
"111-97=14"
] | Current State: 14:[80, 17, 62, 49], Operations: []
Exploring Operation: 80+17=97, Resulting Numbers: [62, 49, 97]
Generated Node #2: [62, 49, 97] from Operation: 80+17=97
Current State: 14:[62, 49, 97], Operations: ['80+17=97']
Exploring Operation: 62+49=111, Resulting Numbers: [97, 111]
Generated Node #3: [97, 111] from Operation: 62+49=111
Current State: 14:[97, 111], Operations: ['80+17=97', '62+49=111']
Exploring Operation: 111-97=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[80, 17, 62, 49], Operations: []
Exploring Operation: 80-62=18, Resulting Numbers: [17, 49, 18]
Generated Node #0,0: 14:[17, 49, 18] Operation: 80-62=18
Moving to Node #0,0
Current State: 14:[17, 49, 18], Operations: ['80-62=18']
Exploring Operation: 49-18=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 14:[17, 31] Operation: 49-18=31
Moving to Node #0,0,0
Current State: 14:[17, 31], Operations: ['80-62=18', '49-18=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[80, 17, 62, 49], Operations: []
Exploring Operation: 80-62=18, Resulting Numbers: [17, 49, 18]
Generated Node #0,0: 14:[17, 49, 18] Operation: 80-62=18
Moving to Node #0,0
Current State: 14:[17, 49, 18], Operations: ['80-62=18']
Exploring Operation: 49-18=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 14:[17, 31] Operation: 49-18=31
Moving to Node #0,0,0
Current State: 14:[17, 31], Operations: ['80-62=18', '49-18=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
56,
54,
53,
27
] | 63 | [
"56-53=3",
"27/3=9",
"54+9=63"
] | Current State: 63:[56, 54, 53, 27], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [54, 27, 3]
Generated Node #2: [54, 27, 3] from Operation: 56-53=3
Current State: 63:[54, 27, 3], Operations: ['56-53=3']
Exploring Operation: 27/3=9, Resulting Numbers: [54, 9]
Generated Node #3: [54, 9] from Operation: 27/3=9
Current State: 63:[54, 9], Operations: ['56-53=3', '27/3=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[56, 54, 53, 27], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [54, 27, 3]
Generated Node #0,0: 63:[54, 27, 3] Operation: 56-53=3
Exploring Operation: 54-53=1, Resulting Numbers: [56, 27, 1]
Generated Node #0,1: 63:[56, 27, 1] Operation: 54-53=1
Moving to Node #0,0
Current State: 63:[54, 27, 3], Operations: ['56-53=3']
Exploring Operation: 54-27=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 63:[3, 27] Operation: 54-27=27
Exploring Operation: 54/27=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 63:[3, 2] Operation: 54/27=2
Moving to Node #0,1
Current State: 63:[56, 27, 1], Operations: ['54-53=1']
Exploring Operation: 56+1=57, Resulting Numbers: [27, 57]
Generated Node #0,1,0: 63:[27, 57] Operation: 56+1=57
Exploring Operation: 56-27=29, Resulting Numbers: [1, 29]
Generated Node #0,1,1: 63:[1, 29] Operation: 56-27=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 63:[1, 29], Operations: ['54-53=1', '56-27=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,63 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 63:[27, 57], Operations: ['54-53=1', '56+1=57']
Exploring Operation: 27+57=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,63 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: 63:[3, 2], Operations: ['56-53=3', '54/27=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[3, 27], Operations: ['56-53=3', '54-27=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
87,
93,
19,
4
] | 26 | [
"87+93=180",
"180/4=45",
"45-19=26"
] | Current State: 26:[87, 93, 19, 4], Operations: []
Exploring Operation: 87+93=180, Resulting Numbers: [19, 4, 180]
Generated Node #2: [19, 4, 180] from Operation: 87+93=180
Current State: 26:[19, 4, 180], Operations: ['87+93=180']
Exploring Operation: 180/4=45, Resulting Numbers: [19, 45]
Generated Node #3: [19, 45] from Operation: 180/4=45
Current State: 26:[19, 45], Operations: ['87+93=180', '180/4=45']
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[87, 93, 19, 4], Operations: []
Exploring Operation: 87-4=83, Resulting Numbers: [93, 19, 83]
Generated Node #0,0: 26:[93, 19, 83] Operation: 87-4=83
Exploring Operation: 93-19=74, Resulting Numbers: [87, 4, 74]
Generated Node #0,1: 26:[87, 4, 74] Operation: 93-19=74
Exploring Operation: 93-87=6, Resulting Numbers: [19, 4, 6]
Generated Node #0,2: 26:[19, 4, 6] Operation: 93-87=6
Exploring Operation: 87-19=68, Resulting Numbers: [93, 4, 68]
Generated Node #0,3: 26:[93, 4, 68] Operation: 87-19=68
Moving to Node #0,2
Current State: 26:[19, 4, 6], Operations: ['93-87=6']
Exploring Operation: 6-4=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 26:[19, 2] Operation: 6-4=2
Exploring Operation: 19-4=15, Resulting Numbers: [6, 15]
Generated Node #0,2,1: 26:[6, 15] Operation: 19-4=15
Exploring Operation: 19+6=25, Resulting Numbers: [4, 25]
Generated Node #0,2,2: 26:[4, 25] Operation: 19+6=25
Exploring Operation: 19-6=13, Resulting Numbers: [4, 13]
Generated Node #0,2,3: 26:[4, 13] Operation: 19-6=13
Moving to Node #0,3
Current State: 26:[93, 4, 68], Operations: ['87-19=68']
Exploring Operation: 68-4=64, Resulting Numbers: [93, 64]
Generated Node #0,3,0: 26:[93, 64] Operation: 68-4=64
Exploring Operation: 93-4=89, Resulting Numbers: [68, 89]
Generated Node #0,3,1: 26:[68, 89] Operation: 93-4=89
Exploring Operation: 68/4=17, Resulting Numbers: [93, 17]
Generated Node #0,3,2: 26:[93, 17] Operation: 68/4=17
Exploring Operation: 93-68=25, Resulting Numbers: [4, 25]
Generated Node #0,3,3: 26:[4, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[4, 25], Operations: ['87-19=68', '93-68=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[93, 17], Operations: ['87-19=68', '68/4=17']
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,26 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,26 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[93, 64], Operations: ['87-19=68', '68-4=64']
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[68, 89], Operations: ['87-19=68', '93-4=89']
Exploring Operation: 89-68=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 68*89=6052, Resulting Numbers: [6052]
6052,26 unequal: No Solution
Exploring Operation: 68+89=157, Resulting Numbers: [157]
157,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 26:[87, 4, 74], Operations: ['93-19=74']
Exploring Operation: 87+4=91, Resulting Numbers: [74, 91]
Generated Node #0,1,0: 26:[74, 91] Operation: 87+4=91
Exploring Operation: 87-74=13, Resulting Numbers: [4, 13]
Generated Node #0,1,1: 26:[4, 13] Operation: 87-74=13
Exploring Operation: 87-4=83, Resulting Numbers: [74, 83]
Generated Node #0,1,2: 26:[74, 83] Operation: 87-4=83
Exploring Operation: 74-4=70, Resulting Numbers: [87, 70]
Generated Node #0,1,3: 26:[87, 70] Operation: 74-4=70
Moving to Node #0,0
Current State: 26:[93, 19, 83], Operations: ['87-4=83']
Exploring Operation: 93+19=112, Resulting Numbers: [83, 112]
Generated Node #0,0,0: 26:[83, 112] Operation: 93+19=112
Exploring Operation: 93-19=74, Resulting Numbers: [83, 74]
Generated Node #0,0,1: 26:[83, 74] Operation: 93-19=74
Exploring Operation: 83-19=64, Resulting Numbers: [93, 64]
Generated Node #0,0,2: 26:[93, 64] Operation: 83-19=64
Exploring Operation: 93-83=10, Resulting Numbers: [19, 10]
Generated Node #0,0,3: 26:[19, 10] Operation: 93-83=10
Moving to Node #0,2,3
Current State: 26:[4, 13], Operations: ['93-87=6', '19-6=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[4, 13], Operations: ['93-19=74', '87-74=13']
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[4, 25], Operations: ['93-87=6', '19+6=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,26 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[19, 2], Operations: ['93-87=6', '6-4=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,26 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[6, 15], Operations: ['93-87=6', '19-4=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,26 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[19, 10], Operations: ['87-4=83', '93-83=10']
Exploring Operation: 19+10=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 19*10=190, Resulting Numbers: [190]
190,26 unequal: No Solution
Moving to Node #0,1,3
Current State: 26:[87, 70], Operations: ['93-19=74', '74-4=70']
Exploring Operation: 87*70=6090, Resulting Numbers: [6090]
6090,26 unequal: No Solution
Exploring Operation: 87+70=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[74, 83], Operations: ['93-19=74', '87-4=83']
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 74+83=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Exploring Operation: 74*83=6142, Resulting Numbers: [6142]
6142,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[83, 74], Operations: ['87-4=83', '93-19=74']
Exploring Operation: 83*74=6142, Resulting Numbers: [6142]
6142,26 unequal: No Solution
Exploring Operation: 83-74=9, Resulting Numbers: [9]
9,26 unequal: No Solution
Exploring Operation: 83+74=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[93, 64], Operations: ['87-4=83', '83-19=64']
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,26 unequal: No Solution
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Moving to Node #0,1,0
Current State: 26:[74, 91], Operations: ['93-19=74', '87+4=91']
Exploring Operation: 74+91=165, Resulting Numbers: [165]
165,26 unequal: No Solution
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 74*91=6734, Resulting Numbers: [6734]
6734,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[83, 112], Operations: ['87-4=83', '93+19=112']
Exploring Operation: 83+112=195, Resulting Numbers: [195]
195,26 unequal: No Solution
Exploring Operation: 83*112=9296, Resulting Numbers: [9296]
9296,26 unequal: No Solution
Exploring Operation: 112-83=29, Resulting Numbers: [29]
29,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
74,
76,
22,
12
] | 68 | [
"76-74=2",
"22+12=34",
"2*34=68"
] | Current State: 68:[74, 76, 22, 12], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [22, 12, 2]
Generated Node #2: [22, 12, 2] from Operation: 76-74=2
Current State: 68:[22, 12, 2], Operations: ['76-74=2']
Exploring Operation: 22+12=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 22+12=34
Current State: 68:[2, 34], Operations: ['76-74=2', '22+12=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[74, 76, 22, 12], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [74, 22, 64]
Generated Node #0,0: 68:[74, 22, 64] Operation: 76-12=64
Exploring Operation: 22-12=10, Resulting Numbers: [74, 76, 10]
Generated Node #0,1: 68:[74, 76, 10] Operation: 22-12=10
Exploring Operation: 22+12=34, Resulting Numbers: [74, 76, 34]
Generated Node #0,2: 68:[74, 76, 34] Operation: 22+12=34
Exploring Operation: 76-74=2, Resulting Numbers: [22, 12, 2]
Generated Node #0,3: 68:[22, 12, 2] Operation: 76-74=2
Exploring Operation: 74-12=62, Resulting Numbers: [76, 22, 62]
Generated Node #0,4: 68:[76, 22, 62] Operation: 74-12=62
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[22, 12, 2], Operations: ['76-74=2']
Exploring Operation: 12+2=14, Resulting Numbers: [22, 14]
Generated Node #0,3,0: 68:[22, 14] Operation: 12+2=14
Exploring Operation: 22-2=20, Resulting Numbers: [12, 20]
Generated Node #0,3,1: 68:[12, 20] Operation: 22-2=20
Exploring Operation: 12/2=6, Resulting Numbers: [22, 6]
Generated Node #0,3,2: 68:[22, 6] Operation: 12/2=6
Exploring Operation: 22-12=10, Resulting Numbers: [2, 10]
Generated Node #0,3,3: 68:[2, 10] Operation: 22-12=10
Exploring Operation: 22+12=34, Resulting Numbers: [2, 34]
Generated Node #0,3,4: 68:[2, 34] Operation: 22+12=34
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 68:[2, 34], Operations: ['76-74=2', '22+12=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[74, 76, 22, 12], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [22, 12, 2]
Generated Node #0,3: 68:[22, 12, 2] Operation: 76-74=2
Moving to Node #0,3
Current State: 68:[22, 12, 2], Operations: ['76-74=2']
Exploring Operation: 22+12=34, Resulting Numbers: [2, 34]
Generated Node #0,3,4: 68:[2, 34] Operation: 22+12=34
Moving to Node #0,3,4
Current State: 68:[2, 34], Operations: ['76-74=2', '22+12=34']
Exploring Operation: 2*34=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
51,
66,
13,
89
] | 64 | [
"13+89=102",
"102/51=2",
"66-2=64"
] | Current State: 64:[51, 66, 13, 89], Operations: []
Exploring Operation: 13+89=102, Resulting Numbers: [51, 66, 102]
Generated Node #2: [51, 66, 102] from Operation: 13+89=102
Current State: 64:[51, 66, 102], Operations: ['13+89=102']
Exploring Operation: 102/51=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 102/51=2
Current State: 64:[66, 2], Operations: ['13+89=102', '102/51=2']
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[51, 66, 13, 89], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [13, 89, 15]
Generated Node #0,0: 64:[13, 89, 15] Operation: 66-51=15
Exploring Operation: 89-66=23, Resulting Numbers: [51, 13, 23]
Generated Node #0,1: 64:[51, 13, 23] Operation: 89-66=23
Exploring Operation: 89-51=38, Resulting Numbers: [66, 13, 38]
Generated Node #0,2: 64:[66, 13, 38] Operation: 89-51=38
Exploring Operation: 89-13=76, Resulting Numbers: [51, 66, 76]
Generated Node #0,3: 64:[51, 66, 76] Operation: 89-13=76
Exploring Operation: 51+13=64, Resulting Numbers: [66, 89, 64]
Generated Node #0,4: 64:[66, 89, 64] Operation: 51+13=64
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[66, 13, 38], Operations: ['89-51=38']
Exploring Operation: 13+38=51, Resulting Numbers: [66, 51]
Generated Node #0,2,0: 64:[66, 51] Operation: 13+38=51
Exploring Operation: 66+13=79, Resulting Numbers: [38, 79]
Generated Node #0,2,1: 64:[38, 79] Operation: 66+13=79
Exploring Operation: 38-13=25, Resulting Numbers: [66, 25]
Generated Node #0,2,2: 64:[66, 25] Operation: 38-13=25
Exploring Operation: 66-38=28, Resulting Numbers: [13, 28]
Generated Node #0,2,3: 64:[13, 28] Operation: 66-38=28
Exploring Operation: 66-13=53, Resulting Numbers: [38, 53]
Generated Node #0,2,4: 64:[38, 53] Operation: 66-13=53
Moving to Node #0,2,3
Current State: 64:[13, 28], Operations: ['89-51=38', '66-38=28']
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,64 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[66, 25], Operations: ['89-51=38', '38-13=25']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,64 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[66, 51], Operations: ['89-51=38', '13+38=51']
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,64 unequal: No Solution
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[38, 53], Operations: ['89-51=38', '66-13=53']
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 38*53=2014, Resulting Numbers: [2014]
2014,64 unequal: No Solution
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[38, 79], Operations: ['89-51=38', '66+13=79']
Exploring Operation: 38+79=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 79-38=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 38*79=3002, Resulting Numbers: [3002]
3002,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[51, 13, 23], Operations: ['89-66=23']
Exploring Operation: 51+23=74, Resulting Numbers: [13, 74]
Generated Node #0,1,0: 64:[13, 74] Operation: 51+23=74
Exploring Operation: 23-13=10, Resulting Numbers: [51, 10]
Generated Node #0,1,1: 64:[51, 10] Operation: 23-13=10
Exploring Operation: 51+13=64, Resulting Numbers: [23, 64]
Generated Node #0,1,2: 64:[23, 64] Operation: 51+13=64
Exploring Operation: 51-23=28, Resulting Numbers: [13, 28]
Generated Node #0,1,3: 64:[13, 28] Operation: 51-23=28
Exploring Operation: 51-13=38, Resulting Numbers: [23, 38]
Generated Node #0,1,4: 64:[23, 38] Operation: 51-13=38
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 64:[23, 64], Operations: ['89-66=23', '51+13=64']
Exploring Operation: 23+64=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 23*64=1472, Resulting Numbers: [1472]
1472,64 unequal: No Solution
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 64:[13, 28], Operations: ['89-66=23', '51-23=28']
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,64 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[13, 74], Operations: ['89-66=23', '51+23=74']
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,64 unequal: No Solution
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 64:[23, 38], Operations: ['89-66=23', '51-13=38']
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,64 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 64:[51, 10], Operations: ['89-66=23', '23-13=10']
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[51, 66, 76], Operations: ['89-13=76']
Exploring Operation: 76-51=25, Resulting Numbers: [66, 25]
Generated Node #0,3,0: 64:[66, 25] Operation: 76-51=25
Exploring Operation: 66-51=15, Resulting Numbers: [76, 15]
Generated Node #0,3,1: 64:[76, 15] Operation: 66-51=15
Exploring Operation: 51+76=127, Resulting Numbers: [66, 127]
Generated Node #0,3,2: 64:[66, 127] Operation: 51+76=127
Exploring Operation: 51+66=117, Resulting Numbers: [76, 117]
Generated Node #0,3,3: 64:[76, 117] Operation: 51+66=117
Exploring Operation: 76-66=10, Resulting Numbers: [51, 10]
Generated Node #0,3,4: 64:[51, 10] Operation: 76-66=10
Moving to Node #0,3,0
Current State: 64:[66, 25], Operations: ['89-13=76', '76-51=25']
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[76, 15], Operations: ['89-13=76', '66-51=15']
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,64 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[51, 10], Operations: ['89-13=76', '76-66=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 51*10=510, Resulting Numbers: [510]
510,64 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[66, 127], Operations: ['89-13=76', '51+76=127']
Exploring Operation: 66+127=193, Resulting Numbers: [193]
193,64 unequal: No Solution
Exploring Operation: 66*127=8382, Resulting Numbers: [8382]
8382,64 unequal: No Solution
Exploring Operation: 127-66=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[76, 117], Operations: ['89-13=76', '51+66=117']
Exploring Operation: 76+117=193, Resulting Numbers: [193]
193,64 unequal: No Solution
Exploring Operation: 117-76=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 76*117=8892, Resulting Numbers: [8892]
8892,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[66, 89, 64], Operations: ['51+13=64']
Exploring Operation: 89-66=23, Resulting Numbers: [64, 23]
Generated Node #0,4,0: 64:[64, 23] Operation: 89-66=23
Exploring Operation: 66+89=155, Resulting Numbers: [64, 155]
Generated Node #0,4,1: 64:[64, 155] Operation: 66+89=155
Exploring Operation: 66+64=130, Resulting Numbers: [89, 130]
Generated Node #0,4,2: 64:[89, 130] Operation: 66+64=130
Exploring Operation: 89-64=25, Resulting Numbers: [66, 25]
Generated Node #0,4,3: 64:[66, 25] Operation: 89-64=25
Exploring Operation: 66-64=2, Resulting Numbers: [89, 2]
Generated Node #0,4,4: 64:[89, 2] Operation: 66-64=2
Moving to Node #0,4,0
Current State: 64:[64, 23], Operations: ['51+13=64', '89-66=23']
Exploring Operation: 64-23=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 64*23=1472, Resulting Numbers: [1472]
1472,64 unequal: No Solution
Exploring Operation: 64+23=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[66, 25], Operations: ['51+13=64', '89-64=25']
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,64 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[89, 2], Operations: ['51+13=64', '66-64=2']
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,64 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[64, 155], Operations: ['51+13=64', '66+89=155']
Exploring Operation: 64*155=9920, Resulting Numbers: [9920]
9920,64 unequal: No Solution
Exploring Operation: 64+155=219, Resulting Numbers: [219]
219,64 unequal: No Solution
Exploring Operation: 155-64=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[89, 130], Operations: ['51+13=64', '66+64=130']
Exploring Operation: 130-89=41, Resulting Numbers: [41]
41,64 unequal: No Solution
Exploring Operation: 89*130=11570, Resulting Numbers: [11570]
11570,64 unequal: No Solution
Exploring Operation: 89+130=219, Resulting Numbers: [219]
219,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,0
Current State: 64:[13, 89, 15], Operations: ['66-51=15']
Exploring Operation: 13+15=28, Resulting Numbers: [89, 28]
Generated Node #0,0,0: 64:[89, 28] Operation: 13+15=28
Exploring Operation: 89-15=74, Resulting Numbers: [13, 74]
Generated Node #0,0,1: 64:[13, 74] Operation: 89-15=74
Exploring Operation: 15-13=2, Resulting Numbers: [89, 2]
Generated Node #0,0,2: 64:[89, 2] Operation: 15-13=2
Exploring Operation: 13+89=102, Resulting Numbers: [15, 102]
Generated Node #0,0,3: 64:[15, 102] Operation: 13+89=102
Exploring Operation: 89-13=76, Resulting Numbers: [15, 76]
Generated Node #0,0,4: 64:[15, 76] Operation: 89-13=76
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[13, 74], Operations: ['66-51=15', '89-15=74']
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,64 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[15, 76], Operations: ['66-51=15', '89-13=76']
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,64 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[89, 2], Operations: ['66-51=15', '15-13=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,64 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[89, 28], Operations: ['66-51=15', '13+15=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 89*28=2492, Resulting Numbers: [2492]
2492,64 unequal: No Solution
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[15, 102], Operations: ['66-51=15', '13+89=102']
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,64 unequal: No Solution
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
30,
83,
28
] | 87 | [
"82+30=112",
"112/28=4",
"83+4=87"
] | Current State: 87:[82, 30, 83, 28], Operations: []
Exploring Operation: 82+30=112, Resulting Numbers: [83, 28, 112]
Generated Node #2: [83, 28, 112] from Operation: 82+30=112
Current State: 87:[83, 28, 112], Operations: ['82+30=112']
Exploring Operation: 112/28=4, Resulting Numbers: [83, 4]
Generated Node #3: [83, 4] from Operation: 112/28=4
Current State: 87:[83, 4], Operations: ['82+30=112', '112/28=4']
Exploring Operation: 83+4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[82, 30, 83, 28], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [30, 28, 1]
Generated Node #0,0: 87:[30, 28, 1] Operation: 83-82=1
Exploring Operation: 82-30=52, Resulting Numbers: [83, 28, 52]
Generated Node #0,1: 87:[83, 28, 52] Operation: 82-30=52
Exploring Operation: 82+28=110, Resulting Numbers: [30, 83, 110]
Generated Node #0,2: 87:[30, 83, 110] Operation: 82+28=110
Exploring Operation: 30-28=2, Resulting Numbers: [82, 83, 2]
Generated Node #0,3: 87:[82, 83, 2] Operation: 30-28=2
Moving to Node #0,0
Current State: 87:[30, 28, 1], Operations: ['83-82=1']
Exploring Operation: 30*1=30, Resulting Numbers: [28, 30]
Generated Node #0,0,0: 87:[28, 30] Operation: 30*1=30
Exploring Operation: 30-1=29, Resulting Numbers: [28, 29]
Generated Node #0,0,1: 87:[28, 29] Operation: 30-1=29
Exploring Operation: 28+1=29, Resulting Numbers: [30, 29]
Generated Node #0,0,2: 87:[30, 29] Operation: 28+1=29
Exploring Operation: 30/1=30, Resulting Numbers: [28, 30]
Generated Node #0,0,3: 87:[28, 30] Operation: 30/1=30
Moving to Node #0,3
Current State: 87:[82, 83, 2], Operations: ['30-28=2']
Exploring Operation: 82+2=84, Resulting Numbers: [83, 84]
Generated Node #0,3,0: 87:[83, 84] Operation: 82+2=84
Exploring Operation: 83-82=1, Resulting Numbers: [2, 1]
Generated Node #0,3,1: 87:[2, 1] Operation: 83-82=1
Exploring Operation: 83+2=85, Resulting Numbers: [82, 85]
Generated Node #0,3,2: 87:[82, 85] Operation: 83+2=85
Exploring Operation: 82-2=80, Resulting Numbers: [83, 80]
Generated Node #0,3,3: 87:[83, 80] Operation: 82-2=80
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[2, 1], Operations: ['30-28=2', '83-82=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,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,3,0
Current State: 87:[83, 84], Operations: ['30-28=2', '82+2=84']
Exploring Operation: 83*84=6972, Resulting Numbers: [6972]
6972,87 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,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,3,2
Current State: 87:[82, 85], Operations: ['30-28=2', '83+2=85']
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,87 unequal: No Solution
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,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,3,3
Current State: 87:[83, 80], Operations: ['30-28=2', '82-2=80']
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 83+80=163, Resulting Numbers: [163]
163,87 unequal: No Solution
Exploring Operation: 83*80=6640, Resulting Numbers: [6640]
6640,87 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: 87:[30, 83, 110], Operations: ['82+28=110']
Exploring Operation: 110-83=27, Resulting Numbers: [30, 27]
Generated Node #0,2,0: 87:[30, 27] Operation: 110-83=27
Exploring Operation: 110-30=80, Resulting Numbers: [83, 80]
Generated Node #0,2,1: 87:[83, 80] Operation: 110-30=80
Exploring Operation: 30+83=113, Resulting Numbers: [110, 113]
Generated Node #0,2,2: 87:[110, 113] Operation: 30+83=113
Exploring Operation: 83-30=53, Resulting Numbers: [110, 53]
Generated Node #0,2,3: 87:[110, 53] Operation: 83-30=53
Moving to Node #0,1
Current State: 87:[83, 28, 52], Operations: ['82-30=52']
Exploring Operation: 83+28=111, Resulting Numbers: [52, 111]
Generated Node #0,1,0: 87:[52, 111] Operation: 83+28=111
Exploring Operation: 52-28=24, Resulting Numbers: [83, 24]
Generated Node #0,1,1: 87:[83, 24] Operation: 52-28=24
Exploring Operation: 28+52=80, Resulting Numbers: [83, 80]
Generated Node #0,1,2: 87:[83, 80] Operation: 28+52=80
Exploring Operation: 83-52=31, Resulting Numbers: [28, 31]
Generated Node #0,1,3: 87:[28, 31] Operation: 83-52=31
Moving to Node #0,0,1
Current State: 87:[28, 29], Operations: ['83-82=1', '30-1=29']
Exploring Operation: 28+29=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 28*29=812, Resulting Numbers: [812]
812,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[30, 29], Operations: ['83-82=1', '28+1=29']
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[28, 30], Operations: ['83-82=1', '30*1=30']
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,87 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[28, 30], Operations: ['83-82=1', '30/1=30']
Exploring Operation: 28*30=840, Resulting Numbers: [840]
840,87 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 28+30=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[30, 27], Operations: ['82+28=110', '110-83=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,87 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[28, 31], Operations: ['82-30=52', '83-52=31']
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,87 unequal: No Solution
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[83, 24], Operations: ['82-30=52', '52-28=24']
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,87 unequal: No Solution
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[83, 80], Operations: ['82+28=110', '110-30=80']
Exploring Operation: 83*80=6640, Resulting Numbers: [6640]
6640,87 unequal: No Solution
Exploring Operation: 83+80=163, Resulting Numbers: [163]
163,87 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[83, 80], Operations: ['82-30=52', '28+52=80']
Exploring Operation: 83+80=163, Resulting Numbers: [163]
163,87 unequal: No Solution
Exploring Operation: 83*80=6640, Resulting Numbers: [6640]
6640,87 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[52, 111], Operations: ['82-30=52', '83+28=111']
Exploring Operation: 52+111=163, Resulting Numbers: [163]
163,87 unequal: No Solution
Exploring Operation: 111-52=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 52*111=5772, Resulting Numbers: [5772]
5772,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[110, 53], Operations: ['82+28=110', '83-30=53']
Exploring Operation: 110*53=5830, Resulting Numbers: [5830]
5830,87 unequal: No Solution
Exploring Operation: 110+53=163, Resulting Numbers: [163]
163,87 unequal: No Solution
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[110, 113], Operations: ['82+28=110', '30+83=113']
Exploring Operation: 113-110=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 110+113=223, Resulting Numbers: [223]
223,87 unequal: No Solution
Exploring Operation: 110*113=12430, Resulting Numbers: [12430]
12430,87 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
80,
31,
81
] | 35 | [
"49*80=3920",
"31+81=112",
"3920/112=35"
] | Current State: 35:[49, 80, 31, 81], Operations: []
Exploring Operation: 49*80=3920, Resulting Numbers: [31, 81, 3920]
Generated Node #2: [31, 81, 3920] from Operation: 49*80=3920
Current State: 35:[31, 81, 3920], Operations: ['49*80=3920']
Exploring Operation: 31+81=112, Resulting Numbers: [3920, 112]
Generated Node #3: [3920, 112] from Operation: 31+81=112
Current State: 35:[3920, 112], Operations: ['49*80=3920', '31+81=112']
Exploring Operation: 3920/112=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[49, 80, 31, 81], Operations: []
Exploring Operation: 81-49=32, Resulting Numbers: [80, 31, 32]
Generated Node #0,0: 35:[80, 31, 32] Operation: 81-49=32
Exploring Operation: 81-80=1, Resulting Numbers: [49, 31, 1]
Generated Node #0,1: 35:[49, 31, 1] Operation: 81-80=1
Exploring Operation: 80-49=31, Resulting Numbers: [31, 81, 31]
Generated Node #0,2: 35:[31, 81, 31] Operation: 80-49=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[49, 31, 1], Operations: ['81-80=1']
Exploring Operation: 49-31=18, Resulting Numbers: [1, 18]
Generated Node #0,1,0: 35:[1, 18] Operation: 49-31=18
Exploring Operation: 49-1=48, Resulting Numbers: [31, 48]
Generated Node #0,1,1: 35:[31, 48] Operation: 49-1=48
Exploring Operation: 31+1=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 35:[49, 32] Operation: 31+1=32
Moving to Node #0,1,0
Current State: 35:[1, 18], Operations: ['81-80=1', '49-31=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[31, 48], Operations: ['81-80=1', '49-1=48']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,35 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[49, 32], Operations: ['81-80=1', '31+1=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[80, 31, 32], Operations: ['81-49=32']
Exploring Operation: 80-31=49, Resulting Numbers: [32, 49]
Generated Node #0,0,0: 35:[32, 49] Operation: 80-31=49
Exploring Operation: 32-31=1, Resulting Numbers: [80, 1]
Generated Node #0,0,1: 35:[80, 1] Operation: 32-31=1
Exploring Operation: 80-32=48, Resulting Numbers: [31, 48]
Generated Node #0,0,2: 35:[31, 48] Operation: 80-32=48
Moving to Node #0,0,0
Current State: 35:[32, 49], Operations: ['81-49=32', '80-31=49']
Exploring Operation: 32*49=1568, Resulting Numbers: [1568]
1568,35 unequal: No Solution
Exploring Operation: 32+49=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[31, 48], Operations: ['81-49=32', '80-32=48']
Exploring Operation: 31*48=1488, Resulting Numbers: [1488]
1488,35 unequal: No Solution
Exploring Operation: 31+48=79, Resulting Numbers: [79]
79,35 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[80, 1], Operations: ['81-49=32', '32-31=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,35 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[31, 81, 31], Operations: ['80-49=31']
Exploring Operation: 31/31=1, Resulting Numbers: [81, 1]
Generated Node #0,2,0: 35:[81, 1] Operation: 31/31=1
Exploring Operation: 81-31=50, Resulting Numbers: [31, 50]
Generated Node #0,2,1: 35:[31, 50] Operation: 81-31=50
Exploring Operation: 81-31=50, Resulting Numbers: [31, 50]
Generated Node #0,2,2: 35:[31, 50] Operation: 81-31=50
Moving to Node #0,2,1
Current State: 35:[31, 50], Operations: ['80-49=31', '81-31=50']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,35 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[31, 50], Operations: ['80-49=31', '81-31=50']
Exploring Operation: 31*50=1550, Resulting Numbers: [1550]
1550,35 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[81, 1], Operations: ['80-49=31', '31/31=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,35 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 |
[
10,
37,
62,
6
] | 95 | [
"37-10=27",
"62+6=68",
"27+68=95"
] | Current State: 95:[10, 37, 62, 6], Operations: []
Exploring Operation: 37-10=27, Resulting Numbers: [62, 6, 27]
Generated Node #2: [62, 6, 27] from Operation: 37-10=27
Current State: 95:[62, 6, 27], Operations: ['37-10=27']
Exploring Operation: 62+6=68, Resulting Numbers: [27, 68]
Generated Node #3: [27, 68] from Operation: 62+6=68
Current State: 95:[27, 68], Operations: ['37-10=27', '62+6=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[10, 37, 62, 6], Operations: []
Exploring Operation: 10+62=72, Resulting Numbers: [37, 6, 72]
Generated Node #0,0: 95:[37, 6, 72] Operation: 10+62=72
Exploring Operation: 37-6=31, Resulting Numbers: [10, 62, 31]
Generated Node #0,1: 95:[10, 62, 31] Operation: 37-6=31
Exploring Operation: 37-10=27, Resulting Numbers: [62, 6, 27]
Generated Node #0,2: 95:[62, 6, 27] Operation: 37-10=27
Exploring Operation: 37+62=99, Resulting Numbers: [10, 6, 99]
Generated Node #0,3: 95:[10, 6, 99] Operation: 37+62=99
Exploring Operation: 62-37=25, Resulting Numbers: [10, 6, 25]
Generated Node #0,4: 95:[10, 6, 25] Operation: 62-37=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[10, 6, 99], Operations: ['37+62=99']
Exploring Operation: 10+6=16, Resulting Numbers: [99, 16]
Generated Node #0,3,0: 95:[99, 16] Operation: 10+6=16
Exploring Operation: 10+99=109, Resulting Numbers: [6, 109]
Generated Node #0,3,1: 95:[6, 109] Operation: 10+99=109
Exploring Operation: 99-10=89, Resulting Numbers: [6, 89]
Generated Node #0,3,2: 95:[6, 89] Operation: 99-10=89
Exploring Operation: 99-6=93, Resulting Numbers: [10, 93]
Generated Node #0,3,3: 95:[10, 93] Operation: 99-6=93
Exploring Operation: 10-6=4, Resulting Numbers: [99, 4]
Generated Node #0,3,4: 95:[99, 4] Operation: 10-6=4
Moving to Node #0,3,4
Current State: 95:[99, 4], Operations: ['37+62=99', '10-6=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[10, 37, 62, 6], Operations: []
Exploring Operation: 37+62=99, Resulting Numbers: [10, 6, 99]
Generated Node #0,3: 95:[10, 6, 99] Operation: 37+62=99
Moving to Node #0,3
Current State: 95:[10, 6, 99], Operations: ['37+62=99']
Exploring Operation: 10-6=4, Resulting Numbers: [99, 4]
Generated Node #0,3,4: 95:[99, 4] Operation: 10-6=4
Moving to Node #0,3,4
Current State: 95:[99, 4], Operations: ['37+62=99', '10-6=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
2,
15,
76,
94
] | 97 | [
"2*94=188",
"15+76=91",
"188-91=97"
] | Current State: 97:[2, 15, 76, 94], Operations: []
Exploring Operation: 2*94=188, Resulting Numbers: [15, 76, 188]
Generated Node #2: [15, 76, 188] from Operation: 2*94=188
Current State: 97:[15, 76, 188], Operations: ['2*94=188']
Exploring Operation: 15+76=91, Resulting Numbers: [188, 91]
Generated Node #3: [188, 91] from Operation: 15+76=91
Current State: 97:[188, 91], Operations: ['2*94=188', '15+76=91']
Exploring Operation: 188-91=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[2, 15, 76, 94], Operations: []
Exploring Operation: 2+76=78, Resulting Numbers: [15, 94, 78]
Generated Node #0,0: 97:[15, 94, 78] Operation: 2+76=78
Exploring Operation: 2*15=30, Resulting Numbers: [76, 94, 30]
Generated Node #0,1: 97:[76, 94, 30] Operation: 2*15=30
Exploring Operation: 2+15=17, Resulting Numbers: [76, 94, 17]
Generated Node #0,2: 97:[76, 94, 17] Operation: 2+15=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[76, 94, 30], Operations: ['2*15=30']
Exploring Operation: 76-30=46, Resulting Numbers: [94, 46]
Generated Node #0,1,0: 97:[94, 46] Operation: 76-30=46
Exploring Operation: 76+30=106, Resulting Numbers: [94, 106]
Generated Node #0,1,1: 97:[94, 106] Operation: 76+30=106
Exploring Operation: 94+30=124, Resulting Numbers: [76, 124]
Generated Node #0,1,2: 97:[76, 124] Operation: 94+30=124
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 97:[94, 106], Operations: ['2*15=30', '76+30=106']
Exploring Operation: 94+106=200, Resulting Numbers: [200]
200,97 unequal: No Solution
Exploring Operation: 106-94=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 94*106=9964, Resulting Numbers: [9964]
9964,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 97:[76, 124], Operations: ['2*15=30', '94+30=124']
Exploring Operation: 124-76=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 76*124=9424, Resulting Numbers: [9424]
9424,97 unequal: No Solution
Exploring Operation: 76+124=200, Resulting Numbers: [200]
200,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 97:[94, 46], Operations: ['2*15=30', '76-30=46']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,97 unequal: No Solution
Exploring Operation: 94*46=4324, Resulting Numbers: [4324]
4324,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[15, 94, 78], Operations: ['2+76=78']
Exploring Operation: 15+94=109, Resulting Numbers: [78, 109]
Generated Node #0,0,0: 97:[78, 109] Operation: 15+94=109
Exploring Operation: 15+78=93, Resulting Numbers: [94, 93]
Generated Node #0,0,1: 97:[94, 93] Operation: 15+78=93
Exploring Operation: 94-15=79, Resulting Numbers: [78, 79]
Generated Node #0,0,2: 97:[78, 79] Operation: 94-15=79
Moving to Node #0,0,1
Current State: 97:[94, 93], Operations: ['2+76=78', '15+78=93']
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,97 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[78, 109], Operations: ['2+76=78', '15+94=109']
Exploring Operation: 78*109=8502, Resulting Numbers: [8502]
8502,97 unequal: No Solution
Exploring Operation: 109-78=31, Resulting Numbers: [31]
31,97 unequal: No Solution
Exploring Operation: 78+109=187, Resulting Numbers: [187]
187,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[78, 79], Operations: ['2+76=78', '94-15=79']
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 78*79=6162, Resulting Numbers: [6162]
6162,97 unequal: No Solution
Exploring Operation: 78+79=157, Resulting Numbers: [157]
157,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[76, 94, 17], Operations: ['2+15=17']
Exploring Operation: 76-17=59, Resulting Numbers: [94, 59]
Generated Node #0,2,0: 97:[94, 59] Operation: 76-17=59
Exploring Operation: 94+17=111, Resulting Numbers: [76, 111]
Generated Node #0,2,1: 97:[76, 111] Operation: 94+17=111
Exploring Operation: 76+17=93, Resulting Numbers: [94, 93]
Generated Node #0,2,2: 97:[94, 93] Operation: 76+17=93
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[94, 93], Operations: ['2+15=17', '76+17=93']
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,97 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,97 unequal: No Solution
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[76, 111], Operations: ['2+15=17', '94+17=111']
Exploring Operation: 76*111=8436, Resulting Numbers: [8436]
8436,97 unequal: No Solution
Exploring Operation: 111-76=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 76+111=187, Resulting Numbers: [187]
187,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[94, 59], Operations: ['2+15=17', '76-17=59']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Exploring Operation: 94+59=153, Resulting Numbers: [153]
153,97 unequal: No Solution
Exploring Operation: 94*59=5546, Resulting Numbers: [5546]
5546,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
68,
48,
56,
83
] | 23 | [
"68+48=116",
"56+83=139",
"139-116=23"
] | Current State: 23:[68, 48, 56, 83], Operations: []
Exploring Operation: 68+48=116, Resulting Numbers: [56, 83, 116]
Generated Node #2: [56, 83, 116] from Operation: 68+48=116
Current State: 23:[56, 83, 116], Operations: ['68+48=116']
Exploring Operation: 56+83=139, Resulting Numbers: [116, 139]
Generated Node #3: [116, 139] from Operation: 56+83=139
Current State: 23:[116, 139], Operations: ['68+48=116', '56+83=139']
Exploring Operation: 139-116=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[68, 48, 56, 83], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [48, 56, 15]
Generated Node #0,0: 23:[48, 56, 15] Operation: 83-68=15
Exploring Operation: 83-56=27, Resulting Numbers: [68, 48, 27]
Generated Node #0,1: 23:[68, 48, 27] Operation: 83-56=27
Exploring Operation: 83-48=35, Resulting Numbers: [68, 56, 35]
Generated Node #0,2: 23:[68, 56, 35] Operation: 83-48=35
Moving to Node #0,0
Current State: 23:[48, 56, 15], Operations: ['83-68=15']
Exploring Operation: 48-15=33, Resulting Numbers: [56, 33]
Generated Node #0,0,0: 23:[56, 33] Operation: 48-15=33
Exploring Operation: 56-48=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 23:[15, 8] Operation: 56-48=8
Exploring Operation: 56-15=41, Resulting Numbers: [48, 41]
Generated Node #0,0,2: 23:[48, 41] Operation: 56-15=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[15, 8], Operations: ['83-68=15', '56-48=8']
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,23 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[68, 48, 56, 83], Operations: []
Exploring Operation: 83-68=15, Resulting Numbers: [48, 56, 15]
Generated Node #0,0: 23:[48, 56, 15] Operation: 83-68=15
Moving to Node #0,0
Current State: 23:[48, 56, 15], Operations: ['83-68=15']
Exploring Operation: 56-48=8, Resulting Numbers: [15, 8]
Generated Node #0,0,1: 23:[15, 8] Operation: 56-48=8
Moving to Node #0,0,1
Current State: 23:[15, 8], Operations: ['83-68=15', '56-48=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
4,
51,
92,
9
] | 77 | [
"4*9=36",
"92-51=41",
"36+41=77"
] | Current State: 77:[4, 51, 92, 9], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [51, 92, 36]
Generated Node #2: [51, 92, 36] from Operation: 4*9=36
Current State: 77:[51, 92, 36], Operations: ['4*9=36']
Exploring Operation: 92-51=41, Resulting Numbers: [36, 41]
Generated Node #3: [36, 41] from Operation: 92-51=41
Current State: 77:[36, 41], Operations: ['4*9=36', '92-51=41']
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[4, 51, 92, 9], Operations: []
Exploring Operation: 51+9=60, Resulting Numbers: [4, 92, 60]
Generated Node #0,0: 77:[4, 92, 60] Operation: 51+9=60
Exploring Operation: 92-51=41, Resulting Numbers: [4, 9, 41]
Generated Node #0,1: 77:[4, 9, 41] Operation: 92-51=41
Exploring Operation: 4+51=55, Resulting Numbers: [92, 9, 55]
Generated Node #0,2: 77:[92, 9, 55] Operation: 4+51=55
Exploring Operation: 92-9=83, Resulting Numbers: [4, 51, 83]
Generated Node #0,3: 77:[4, 51, 83] Operation: 92-9=83
Moving to Node #0,0
Current State: 77:[4, 92, 60], Operations: ['51+9=60']
Exploring Operation: 92-60=32, Resulting Numbers: [4, 32]
Generated Node #0,0,0: 77:[4, 32] Operation: 92-60=32
Exploring Operation: 60/4=15, Resulting Numbers: [92, 15]
Generated Node #0,0,1: 77:[92, 15] Operation: 60/4=15
Exploring Operation: 92-4=88, Resulting Numbers: [60, 88]
Generated Node #0,0,2: 77:[60, 88] Operation: 92-4=88
Exploring Operation: 4+60=64, Resulting Numbers: [92, 64]
Generated Node #0,0,3: 77:[92, 64] Operation: 4+60=64
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[92, 15], Operations: ['51+9=60', '60/4=15']
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,77 unequal: No Solution
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,77 unequal: No Solution
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[4, 51, 92, 9], Operations: []
Exploring Operation: 51+9=60, Resulting Numbers: [4, 92, 60]
Generated Node #0,0: 77:[4, 92, 60] Operation: 51+9=60
Moving to Node #0,0
Current State: 77:[4, 92, 60], Operations: ['51+9=60']
Exploring Operation: 60/4=15, Resulting Numbers: [92, 15]
Generated Node #0,0,1: 77:[92, 15] Operation: 60/4=15
Moving to Node #0,0,1
Current State: 77:[92, 15], Operations: ['51+9=60', '60/4=15']
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
78,
25,
62,
28
] | 30 | [
"78+62=140",
"140/28=5",
"25+5=30"
] | Current State: 30:[78, 25, 62, 28], Operations: []
Exploring Operation: 78+62=140, Resulting Numbers: [25, 28, 140]
Generated Node #2: [25, 28, 140] from Operation: 78+62=140
Current State: 30:[25, 28, 140], Operations: ['78+62=140']
Exploring Operation: 140/28=5, Resulting Numbers: [25, 5]
Generated Node #3: [25, 5] from Operation: 140/28=5
Current State: 30:[25, 5], Operations: ['78+62=140', '140/28=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[78, 25, 62, 28], Operations: []
Exploring Operation: 78-62=16, Resulting Numbers: [25, 28, 16]
Generated Node #0,0: 30:[25, 28, 16] Operation: 78-62=16
Moving to Node #0,0
Current State: 30:[25, 28, 16], Operations: ['78-62=16']
Exploring Operation: 28-25=3, Resulting Numbers: [16, 3]
Generated Node #0,0,0: 30:[16, 3] Operation: 28-25=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[16, 3], Operations: ['78-62=16', '28-25=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,30 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 |
[
36,
92,
71,
77
] | 86 | [
"77-71=6",
"36/6=6",
"92-6=86"
] | Current State: 86:[36, 92, 71, 77], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [36, 92, 6]
Generated Node #2: [36, 92, 6] from Operation: 77-71=6
Current State: 86:[36, 92, 6], Operations: ['77-71=6']
Exploring Operation: 36/6=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 36/6=6
Current State: 86:[92, 6], Operations: ['77-71=6', '36/6=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[36, 92, 71, 77], Operations: []
Exploring Operation: 92-71=21, Resulting Numbers: [36, 77, 21]
Generated Node #0,0: 86:[36, 77, 21] Operation: 92-71=21
Exploring Operation: 77-36=41, Resulting Numbers: [92, 71, 41]
Generated Node #0,1: 86:[92, 71, 41] Operation: 77-36=41
Exploring Operation: 71-36=35, Resulting Numbers: [92, 77, 35]
Generated Node #0,2: 86:[92, 77, 35] Operation: 71-36=35
Exploring Operation: 77-71=6, Resulting Numbers: [36, 92, 6]
Generated Node #0,3: 86:[36, 92, 6] Operation: 77-71=6
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[36, 92, 6], Operations: ['77-71=6']
Exploring Operation: 36/6=6, Resulting Numbers: [92, 6]
Generated Node #0,3,0: 86:[92, 6] Operation: 36/6=6
Exploring Operation: 92-6=86, Resulting Numbers: [36, 86]
Generated Node #0,3,1: 86:[36, 86] Operation: 92-6=86
Exploring Operation: 36+6=42, Resulting Numbers: [92, 42]
Generated Node #0,3,2: 86:[92, 42] Operation: 36+6=42
Exploring Operation: 92-36=56, Resulting Numbers: [6, 56]
Generated Node #0,3,3: 86:[6, 56] Operation: 92-36=56
Moving to Node #0,3,1
Current State: 86:[36, 86], Operations: ['77-71=6', '92-6=86']
Exploring Operation: 36*86=3096, Resulting Numbers: [3096]
3096,86 unequal: No Solution
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 36+86=122, Resulting Numbers: [122]
122,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[92, 42], Operations: ['77-71=6', '36+6=42']
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 92*42=3864, Resulting Numbers: [3864]
3864,86 unequal: No Solution
Exploring Operation: 92+42=134, Resulting Numbers: [134]
134,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[92, 6], Operations: ['77-71=6', '36/6=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[36, 92, 71, 77], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [36, 92, 6]
Generated Node #0,3: 86:[36, 92, 6] Operation: 77-71=6
Moving to Node #0,3
Current State: 86:[36, 92, 6], Operations: ['77-71=6']
Exploring Operation: 36/6=6, Resulting Numbers: [92, 6]
Generated Node #0,3,0: 86:[92, 6] Operation: 36/6=6
Moving to Node #0,3,0
Current State: 86:[92, 6], Operations: ['77-71=6', '36/6=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
95,
68,
61,
59
] | 54 | [
"95-68=27",
"61-59=2",
"27*2=54"
] | Current State: 54:[95, 68, 61, 59], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [61, 59, 27]
Generated Node #2: [61, 59, 27] from Operation: 95-68=27
Current State: 54:[61, 59, 27], Operations: ['95-68=27']
Exploring Operation: 61-59=2, Resulting Numbers: [27, 2]
Generated Node #3: [27, 2] from Operation: 61-59=2
Current State: 54:[27, 2], Operations: ['95-68=27', '61-59=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[95, 68, 61, 59], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [68, 59, 34]
Generated Node #0,0: 54:[68, 59, 34] Operation: 95-61=34
Exploring Operation: 95-59=36, Resulting Numbers: [68, 61, 36]
Generated Node #0,1: 54:[68, 61, 36] Operation: 95-59=36
Exploring Operation: 95-68=27, Resulting Numbers: [61, 59, 27]
Generated Node #0,2: 54:[61, 59, 27] Operation: 95-68=27
Exploring Operation: 68-61=7, Resulting Numbers: [95, 59, 7]
Generated Node #0,3: 54:[95, 59, 7] Operation: 68-61=7
Moving to Node #0,2
Current State: 54:[61, 59, 27], Operations: ['95-68=27']
Exploring Operation: 61-27=34, Resulting Numbers: [59, 34]
Generated Node #0,2,0: 54:[59, 34] Operation: 61-27=34
Exploring Operation: 61-59=2, Resulting Numbers: [27, 2]
Generated Node #0,2,1: 54:[27, 2] Operation: 61-59=2
Exploring Operation: 59-27=32, Resulting Numbers: [61, 32]
Generated Node #0,2,2: 54:[61, 32] Operation: 59-27=32
Exploring Operation: 61+27=88, Resulting Numbers: [59, 88]
Generated Node #0,2,3: 54:[59, 88] Operation: 61+27=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 54:[27, 2], Operations: ['95-68=27', '61-59=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[95, 68, 61, 59], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [61, 59, 27]
Generated Node #0,2: 54:[61, 59, 27] Operation: 95-68=27
Moving to Node #0,2
Current State: 54:[61, 59, 27], Operations: ['95-68=27']
Exploring Operation: 61-59=2, Resulting Numbers: [27, 2]
Generated Node #0,2,1: 54:[27, 2] Operation: 61-59=2
Moving to Node #0,2,1
Current State: 54:[27, 2], Operations: ['95-68=27', '61-59=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
53,
93,
55,
22
] | 82 | [
"55-53=2",
"22/2=11",
"93-11=82"
] | Current State: 82:[53, 93, 55, 22], Operations: []
Exploring Operation: 55-53=2, Resulting Numbers: [93, 22, 2]
Generated Node #2: [93, 22, 2] from Operation: 55-53=2
Current State: 82:[93, 22, 2], Operations: ['55-53=2']
Exploring Operation: 22/2=11, Resulting Numbers: [93, 11]
Generated Node #3: [93, 11] from Operation: 22/2=11
Current State: 82:[93, 11], Operations: ['55-53=2', '22/2=11']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[53, 93, 55, 22], Operations: []
Exploring Operation: 55+22=77, Resulting Numbers: [53, 93, 77]
Generated Node #0,0: 82:[53, 93, 77] Operation: 55+22=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[53, 93, 77], Operations: ['55+22=77']
Exploring Operation: 93-53=40, Resulting Numbers: [77, 40]
Generated Node #0,0,0: 82:[77, 40] Operation: 93-53=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[77, 40], Operations: ['55+22=77', '93-53=40']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
71,
55,
20
] | 62 | [
"55/5=11",
"71-20=51",
"11+51=62"
] | Current State: 62:[5, 71, 55, 20], Operations: []
Exploring Operation: 55/5=11, Resulting Numbers: [71, 20, 11]
Generated Node #2: [71, 20, 11] from Operation: 55/5=11
Current State: 62:[71, 20, 11], Operations: ['55/5=11']
Exploring Operation: 71-20=51, Resulting Numbers: [11, 51]
Generated Node #3: [11, 51] from Operation: 71-20=51
Current State: 62:[11, 51], Operations: ['55/5=11', '71-20=51']
Exploring Operation: 11+51=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[5, 71, 55, 20], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [5, 71, 35]
Generated Node #0,0: 62:[5, 71, 35] Operation: 55-20=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[5, 71, 35], Operations: ['55-20=35']
Exploring Operation: 71-5=66, Resulting Numbers: [35, 66]
Generated Node #0,0,0: 62:[35, 66] Operation: 71-5=66
Moving to Node #0,0,0
Current State: 62:[35, 66], Operations: ['55-20=35', '71-5=66']
Exploring Operation: 66-35=31, Resulting Numbers: [31]
31,62 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 |
[
81,
22,
54,
74
] | 78 | [
"74-22=52",
"81*52=4212",
"4212/54=78"
] | Current State: 78:[81, 22, 54, 74], Operations: []
Exploring Operation: 74-22=52, Resulting Numbers: [81, 54, 52]
Generated Node #2: [81, 54, 52] from Operation: 74-22=52
Current State: 78:[81, 54, 52], Operations: ['74-22=52']
Exploring Operation: 81*52=4212, Resulting Numbers: [54, 4212]
Generated Node #3: [54, 4212] from Operation: 81*52=4212
Current State: 78:[54, 4212], Operations: ['74-22=52', '81*52=4212']
Exploring Operation: 4212/54=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[81, 22, 54, 74], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [22, 74, 27]
Generated Node #0,0: 78:[22, 74, 27] Operation: 81-54=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[22, 74, 27], Operations: ['81-54=27']
Exploring Operation: 27-22=5, Resulting Numbers: [74, 5]
Generated Node #0,0,0: 78:[74, 5] Operation: 27-22=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[74, 5], Operations: ['81-54=27', '27-22=5']
Exploring Operation: 74+5=79, Resulting Numbers: [79]
79,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
43,
40,
32,
61
] | 32 | [
"43-40=3",
"61-32=29",
"3+29=32"
] | Current State: 32:[43, 40, 32, 61], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [32, 61, 3]
Generated Node #2: [32, 61, 3] from Operation: 43-40=3
Current State: 32:[32, 61, 3], Operations: ['43-40=3']
Exploring Operation: 61-32=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 61-32=29
Current State: 32:[3, 29], Operations: ['43-40=3', '61-32=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[43, 40, 32, 61], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [40, 32, 18]
Generated Node #0,0: 32:[40, 32, 18] Operation: 61-43=18
Exploring Operation: 61-40=21, Resulting Numbers: [43, 32, 21]
Generated Node #0,1: 32:[43, 32, 21] Operation: 61-40=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[40, 32, 18], Operations: ['61-43=18']
Exploring Operation: 40-18=22, Resulting Numbers: [32, 22]
Generated Node #0,0,0: 32:[32, 22] Operation: 40-18=22
Exploring Operation: 40-32=8, Resulting Numbers: [18, 8]
Generated Node #0,0,1: 32:[18, 8] Operation: 40-32=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 32:[18, 8], Operations: ['61-43=18', '40-32=8']
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,32 unequal: No Solution
No 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: 32:[32, 22], Operations: ['61-43=18', '40-18=22']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,32 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: 32:[43, 32, 21], Operations: ['61-40=21']
Exploring Operation: 43-21=22, Resulting Numbers: [32, 22]
Generated Node #0,1,0: 32:[32, 22] Operation: 43-21=22
Exploring Operation: 43-32=11, Resulting Numbers: [21, 11]
Generated Node #0,1,1: 32:[21, 11] Operation: 43-32=11
Moving to Node #0,1,0
Current State: 32:[32, 22], Operations: ['61-40=21', '43-21=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[21, 11], Operations: ['61-40=21', '43-32=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[43, 40, 32, 61], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [43, 32, 21]
Generated Node #0,1: 32:[43, 32, 21] Operation: 61-40=21
Moving to Node #0,1
Current State: 32:[43, 32, 21], Operations: ['61-40=21']
Exploring Operation: 43-32=11, Resulting Numbers: [21, 11]
Generated Node #0,1,1: 32:[21, 11] Operation: 43-32=11
Moving to Node #0,1,1
Current State: 32:[21, 11], Operations: ['61-40=21', '43-32=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
90,
95,
47,
83
] | 55 | [
"90+95=185",
"47+83=130",
"185-130=55"
] | Current State: 55:[90, 95, 47, 83], Operations: []
Exploring Operation: 90+95=185, Resulting Numbers: [47, 83, 185]
Generated Node #2: [47, 83, 185] from Operation: 90+95=185
Current State: 55:[47, 83, 185], Operations: ['90+95=185']
Exploring Operation: 47+83=130, Resulting Numbers: [185, 130]
Generated Node #3: [185, 130] from Operation: 47+83=130
Current State: 55:[185, 130], Operations: ['90+95=185', '47+83=130']
Exploring Operation: 185-130=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[90, 95, 47, 83], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [47, 83, 5]
Generated Node #0,0: 55:[47, 83, 5] Operation: 95-90=5
Exploring Operation: 90-83=7, Resulting Numbers: [95, 47, 7]
Generated Node #0,1: 55:[95, 47, 7] Operation: 90-83=7
Exploring Operation: 95-47=48, Resulting Numbers: [90, 83, 48]
Generated Node #0,2: 55:[90, 83, 48] Operation: 95-47=48
Exploring Operation: 95-83=12, Resulting Numbers: [90, 47, 12]
Generated Node #0,3: 55:[90, 47, 12] Operation: 95-83=12
Exploring Operation: 90-47=43, Resulting Numbers: [95, 83, 43]
Generated Node #0,4: 55:[95, 83, 43] Operation: 90-47=43
Moving to Node #0,0
Current State: 55:[47, 83, 5], Operations: ['95-90=5']
Exploring Operation: 47-5=42, Resulting Numbers: [83, 42]
Generated Node #0,0,0: 55:[83, 42] Operation: 47-5=42
Exploring Operation: 47+5=52, Resulting Numbers: [83, 52]
Generated Node #0,0,1: 55:[83, 52] Operation: 47+5=52
Exploring Operation: 83-5=78, Resulting Numbers: [47, 78]
Generated Node #0,0,2: 55:[47, 78] Operation: 83-5=78
Exploring Operation: 83-47=36, Resulting Numbers: [5, 36]
Generated Node #0,0,3: 55:[5, 36] Operation: 83-47=36
Exploring Operation: 83+5=88, Resulting Numbers: [47, 88]
Generated Node #0,0,4: 55:[47, 88] Operation: 83+5=88
Moving to Node #0,3
Current State: 55:[90, 47, 12], Operations: ['95-83=12']
Exploring Operation: 47+12=59, Resulting Numbers: [90, 59]
Generated Node #0,3,0: 55:[90, 59] Operation: 47+12=59
Exploring Operation: 47-12=35, Resulting Numbers: [90, 35]
Generated Node #0,3,1: 55:[90, 35] Operation: 47-12=35
Exploring Operation: 90-12=78, Resulting Numbers: [47, 78]
Generated Node #0,3,2: 55:[47, 78] Operation: 90-12=78
Exploring Operation: 90-47=43, Resulting Numbers: [12, 43]
Generated Node #0,3,3: 55:[12, 43] Operation: 90-47=43
Exploring Operation: 90+12=102, Resulting Numbers: [47, 102]
Generated Node #0,3,4: 55:[47, 102] Operation: 90+12=102
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[12, 43], Operations: ['95-83=12', '90-47=43']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,55 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[90, 95, 47, 83], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [90, 47, 12]
Generated Node #0,3: 55:[90, 47, 12] Operation: 95-83=12
Moving to Node #0,3
Current State: 55:[90, 47, 12], Operations: ['95-83=12']
Exploring Operation: 90-47=43, Resulting Numbers: [12, 43]
Generated Node #0,3,3: 55:[12, 43] Operation: 90-47=43
Moving to Node #0,3,3
Current State: 55:[12, 43], Operations: ['95-83=12', '90-47=43']
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
41,
73,
72,
53
] | 94 | [
"41+53=94",
"73-72=1",
"94*1=94"
] | Current State: 94:[41, 73, 72, 53], Operations: []
Exploring Operation: 41+53=94, Resulting Numbers: [73, 72, 94]
Generated Node #2: [73, 72, 94] from Operation: 41+53=94
Current State: 94:[73, 72, 94], Operations: ['41+53=94']
Exploring Operation: 73-72=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 73-72=1
Current State: 94:[94, 1], Operations: ['41+53=94', '73-72=1']
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[41, 73, 72, 53], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [41, 53, 1]
Generated Node #0,0: 94:[41, 53, 1] Operation: 73-72=1
Exploring Operation: 41+53=94, Resulting Numbers: [73, 72, 94]
Generated Node #0,1: 94:[73, 72, 94] Operation: 41+53=94
Exploring Operation: 73-41=32, Resulting Numbers: [72, 53, 32]
Generated Node #0,2: 94:[72, 53, 32] Operation: 73-41=32
Exploring Operation: 72-41=31, Resulting Numbers: [73, 53, 31]
Generated Node #0,3: 94:[73, 53, 31] Operation: 72-41=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[41, 53, 1], Operations: ['73-72=1']
Exploring Operation: 53-41=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 94:[1, 12] Operation: 53-41=12
Exploring Operation: 53-1=52, Resulting Numbers: [41, 52]
Generated Node #0,0,1: 94:[41, 52] Operation: 53-1=52
Exploring Operation: 41+53=94, Resulting Numbers: [1, 94]
Generated Node #0,0,2: 94:[1, 94] Operation: 41+53=94
Exploring Operation: 41+1=42, Resulting Numbers: [53, 42]
Generated Node #0,0,3: 94:[53, 42] Operation: 41+1=42
Moving to Node #0,0,2
Current State: 94:[1, 94], Operations: ['73-72=1', '41+53=94']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[41, 73, 72, 53], Operations: []
Exploring Operation: 73-72=1, Resulting Numbers: [41, 53, 1]
Generated Node #0,0: 94:[41, 53, 1] Operation: 73-72=1
Moving to Node #0,0
Current State: 94:[41, 53, 1], Operations: ['73-72=1']
Exploring Operation: 41+53=94, Resulting Numbers: [1, 94]
Generated Node #0,0,2: 94:[1, 94] Operation: 41+53=94
Moving to Node #0,0,2
Current State: 94:[1, 94], Operations: ['73-72=1', '41+53=94']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
89,
3,
48,
33
] | 11 | [
"89+3=92",
"48+33=81",
"92-81=11"
] | Current State: 11:[89, 3, 48, 33], Operations: []
Exploring Operation: 89+3=92, Resulting Numbers: [48, 33, 92]
Generated Node #2: [48, 33, 92] from Operation: 89+3=92
Current State: 11:[48, 33, 92], Operations: ['89+3=92']
Exploring Operation: 48+33=81, Resulting Numbers: [92, 81]
Generated Node #3: [92, 81] from Operation: 48+33=81
Current State: 11:[92, 81], Operations: ['89+3=92', '48+33=81']
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[89, 3, 48, 33], Operations: []
Exploring Operation: 89-33=56, Resulting Numbers: [3, 48, 56]
Generated Node #0,0: 11:[3, 48, 56] Operation: 89-33=56
Exploring Operation: 89-48=41, Resulting Numbers: [3, 33, 41]
Generated Node #0,1: 11:[3, 33, 41] Operation: 89-48=41
Moving to Node #0,1
Current State: 11:[3, 33, 41], Operations: ['89-48=41']
Exploring Operation: 33/3=11, Resulting Numbers: [41, 11]
Generated Node #0,1,0: 11:[41, 11] Operation: 33/3=11
Exploring Operation: 41-33=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 11:[3, 8] Operation: 41-33=8
Moving to Node #0,0
Current State: 11:[3, 48, 56], Operations: ['89-33=56']
Exploring Operation: 48/3=16, Resulting Numbers: [56, 16]
Generated Node #0,0,0: 11:[56, 16] Operation: 48/3=16
Exploring Operation: 56-48=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 11:[3, 8] Operation: 56-48=8
Moving to Node #0,1,1
Current State: 11:[3, 8], Operations: ['89-48=41', '41-33=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[89, 3, 48, 33], Operations: []
Exploring Operation: 89-48=41, Resulting Numbers: [3, 33, 41]
Generated Node #0,1: 11:[3, 33, 41] Operation: 89-48=41
Moving to Node #0,1
Current State: 11:[3, 33, 41], Operations: ['89-48=41']
Exploring Operation: 41-33=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 11:[3, 8] Operation: 41-33=8
Moving to Node #0,1,1
Current State: 11:[3, 8], Operations: ['89-48=41', '41-33=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
9,
81,
79,
87
] | 39 | [
"87-9=78",
"81-79=2",
"78/2=39"
] | Current State: 39:[9, 81, 79, 87], Operations: []
Exploring Operation: 87-9=78, Resulting Numbers: [81, 79, 78]
Generated Node #2: [81, 79, 78] from Operation: 87-9=78
Current State: 39:[81, 79, 78], Operations: ['87-9=78']
Exploring Operation: 81-79=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 81-79=2
Current State: 39:[78, 2], Operations: ['87-9=78', '81-79=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 81, 79, 87], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [9, 79, 6]
Generated Node #0,0: 39:[9, 79, 6] Operation: 87-81=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[9, 79, 6], Operations: ['87-81=6']
Exploring Operation: 79-9=70, Resulting Numbers: [6, 70]
Generated Node #0,0,0: 39:[6, 70] Operation: 79-9=70
Moving to Node #0,0,0
Current State: 39:[6, 70], Operations: ['87-81=6', '79-9=70']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
32,
44,
48,
34
] | 62 | [
"32+44=76",
"48-34=14",
"76-14=62"
] | Current State: 62:[32, 44, 48, 34], Operations: []
Exploring Operation: 32+44=76, Resulting Numbers: [48, 34, 76]
Generated Node #2: [48, 34, 76] from Operation: 32+44=76
Current State: 62:[48, 34, 76], Operations: ['32+44=76']
Exploring Operation: 48-34=14, Resulting Numbers: [76, 14]
Generated Node #3: [76, 14] from Operation: 48-34=14
Current State: 62:[76, 14], Operations: ['32+44=76', '48-34=14']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[32, 44, 48, 34], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [32, 48, 10]
Generated Node #0,0: 62:[32, 48, 10] Operation: 44-34=10
Exploring Operation: 34-32=2, Resulting Numbers: [44, 48, 2]
Generated Node #0,1: 62:[44, 48, 2] Operation: 34-32=2
Exploring Operation: 48-44=4, Resulting Numbers: [32, 34, 4]
Generated Node #0,2: 62:[32, 34, 4] Operation: 48-44=4
Exploring Operation: 44-32=12, Resulting Numbers: [48, 34, 12]
Generated Node #0,3: 62:[48, 34, 12] Operation: 44-32=12
Exploring Operation: 48-34=14, Resulting Numbers: [32, 44, 14]
Generated Node #0,4: 62:[32, 44, 14] Operation: 48-34=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[32, 34, 4], Operations: ['48-44=4']
Exploring Operation: 32+34=66, Resulting Numbers: [4, 66]
Generated Node #0,2,0: 62:[4, 66] Operation: 32+34=66
Exploring Operation: 32+4=36, Resulting Numbers: [34, 36]
Generated Node #0,2,1: 62:[34, 36] Operation: 32+4=36
Exploring Operation: 34-4=30, Resulting Numbers: [32, 30]
Generated Node #0,2,2: 62:[32, 30] Operation: 34-4=30
Exploring Operation: 32-4=28, Resulting Numbers: [34, 28]
Generated Node #0,2,3: 62:[34, 28] Operation: 32-4=28
Exploring Operation: 34-32=2, Resulting Numbers: [4, 2]
Generated Node #0,2,4: 62:[4, 2] Operation: 34-32=2
Moving to Node #0,2,2
Current State: 62:[32, 30], Operations: ['48-44=4', '34-4=30']
Exploring Operation: 32*30=960, Resulting Numbers: [960]
960,62 unequal: No Solution
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[32, 44, 48, 34], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [32, 34, 4]
Generated Node #0,2: 62:[32, 34, 4] Operation: 48-44=4
Moving to Node #0,2
Current State: 62:[32, 34, 4], Operations: ['48-44=4']
Exploring Operation: 34-4=30, Resulting Numbers: [32, 30]
Generated Node #0,2,2: 62:[32, 30] Operation: 34-4=30
Moving to Node #0,2,2
Current State: 62:[32, 30], Operations: ['48-44=4', '34-4=30']
Exploring Operation: 32+30=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
71,
17,
70,
96
] | 80 | [
"71-17=54",
"96-70=26",
"54+26=80"
] | Current State: 80:[71, 17, 70, 96], Operations: []
Exploring Operation: 71-17=54, Resulting Numbers: [70, 96, 54]
Generated Node #2: [70, 96, 54] from Operation: 71-17=54
Current State: 80:[70, 96, 54], Operations: ['71-17=54']
Exploring Operation: 96-70=26, Resulting Numbers: [54, 26]
Generated Node #3: [54, 26] from Operation: 96-70=26
Current State: 80:[54, 26], Operations: ['71-17=54', '96-70=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[71, 17, 70, 96], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [17, 70, 25]
Generated Node #0,0: 80:[17, 70, 25] Operation: 96-71=25
Exploring Operation: 96-70=26, Resulting Numbers: [71, 17, 26]
Generated Node #0,1: 80:[71, 17, 26] Operation: 96-70=26
Moving to Node #0,0
Current State: 80:[17, 70, 25], Operations: ['96-71=25']
Exploring Operation: 25-17=8, Resulting Numbers: [70, 8]
Generated Node #0,0,0: 80:[70, 8] Operation: 25-17=8
Exploring Operation: 70-25=45, Resulting Numbers: [17, 45]
Generated Node #0,0,1: 80:[17, 45] Operation: 70-25=45
Moving to Node #0,1
Current State: 80:[71, 17, 26], Operations: ['96-70=26']
Exploring Operation: 26-17=9, Resulting Numbers: [71, 9]
Generated Node #0,1,0: 80:[71, 9] Operation: 26-17=9
Exploring Operation: 71-26=45, Resulting Numbers: [17, 45]
Generated Node #0,1,1: 80:[17, 45] Operation: 71-26=45
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[17, 45], Operations: ['96-70=26', '71-26=45']
Exploring Operation: 45-17=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 17+45=62, Resulting Numbers: [62]
62,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,0
Current State: 80:[71, 9], Operations: ['96-70=26', '26-17=9']
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,80 unequal: No Solution
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[71, 17, 70, 96], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [71, 17, 26]
Generated Node #0,1: 80:[71, 17, 26] Operation: 96-70=26
Moving to Node #0,1
Current State: 80:[71, 17, 26], Operations: ['96-70=26']
Exploring Operation: 26-17=9, Resulting Numbers: [71, 9]
Generated Node #0,1,0: 80:[71, 9] Operation: 26-17=9
Moving to Node #0,1,0
Current State: 80:[71, 9], Operations: ['96-70=26', '26-17=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | mult_heuristic |
[
45,
7,
8,
40
] | 86 | [
"45-7=38",
"8+40=48",
"38+48=86"
] | Current State: 86:[45, 7, 8, 40], Operations: []
Exploring Operation: 45-7=38, Resulting Numbers: [8, 40, 38]
Generated Node #2: [8, 40, 38] from Operation: 45-7=38
Current State: 86:[8, 40, 38], Operations: ['45-7=38']
Exploring Operation: 8+40=48, Resulting Numbers: [38, 48]
Generated Node #3: [38, 48] from Operation: 8+40=48
Current State: 86:[38, 48], Operations: ['45-7=38', '8+40=48']
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[45, 7, 8, 40], Operations: []
Exploring Operation: 8-7=1, Resulting Numbers: [45, 40, 1]
Generated Node #0,0: 86:[45, 40, 1] Operation: 8-7=1
Exploring Operation: 8+40=48, Resulting Numbers: [45, 7, 48]
Generated Node #0,1: 86:[45, 7, 48] Operation: 8+40=48
Exploring Operation: 7+40=47, Resulting Numbers: [45, 8, 47]
Generated Node #0,2: 86:[45, 8, 47] Operation: 7+40=47
Exploring Operation: 40/8=5, Resulting Numbers: [45, 7, 5]
Generated Node #0,3: 86:[45, 7, 5] Operation: 40/8=5
Exploring Operation: 45+40=85, Resulting Numbers: [7, 8, 85]
Generated Node #0,4: 86:[7, 8, 85] Operation: 45+40=85
Moving to Node #0,0
Current State: 86:[45, 40, 1], Operations: ['8-7=1']
Exploring Operation: 40+1=41, Resulting Numbers: [45, 41]
Generated Node #0,0,0: 86:[45, 41] Operation: 40+1=41
Exploring Operation: 45*1=45, Resulting Numbers: [40, 45]
Generated Node #0,0,1: 86:[40, 45] Operation: 45*1=45
Exploring Operation: 45-40=5, Resulting Numbers: [1, 5]
Generated Node #0,0,2: 86:[1, 5] Operation: 45-40=5
Exploring Operation: 45-1=44, Resulting Numbers: [40, 44]
Generated Node #0,0,3: 86:[40, 44] Operation: 45-1=44
Exploring Operation: 45+40=85, Resulting Numbers: [1, 85]
Generated Node #0,0,4: 86:[1, 85] Operation: 45+40=85
Moving to Node #0,3
Current State: 86:[45, 7, 5], Operations: ['40/8=5']
Exploring Operation: 45-5=40, Resulting Numbers: [7, 40]
Generated Node #0,3,0: 86:[7, 40] Operation: 45-5=40
Exploring Operation: 45-7=38, Resulting Numbers: [5, 38]
Generated Node #0,3,1: 86:[5, 38] Operation: 45-7=38
Exploring Operation: 7*5=35, Resulting Numbers: [45, 35]
Generated Node #0,3,2: 86:[45, 35] Operation: 7*5=35
Exploring Operation: 45+7=52, Resulting Numbers: [5, 52]
Generated Node #0,3,3: 86:[5, 52] Operation: 45+7=52
Exploring Operation: 7-5=2, Resulting Numbers: [45, 2]
Generated Node #0,3,4: 86:[45, 2] Operation: 7-5=2
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 86:[45, 2], Operations: ['40/8=5', '7-5=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[7, 40], Operations: ['40/8=5', '45-5=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,86 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[5, 38], Operations: ['40/8=5', '45-7=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[45, 35], Operations: ['40/8=5', '7*5=35']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,86 unequal: No Solution
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[5, 52], Operations: ['40/8=5', '45+7=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[45, 7, 48], Operations: ['8+40=48']
Exploring Operation: 48-45=3, Resulting Numbers: [7, 3]
Generated Node #0,1,0: 86:[7, 3] Operation: 48-45=3
Exploring Operation: 45+48=93, Resulting Numbers: [7, 93]
Generated Node #0,1,1: 86:[7, 93] Operation: 45+48=93
Exploring Operation: 45+7=52, Resulting Numbers: [48, 52]
Generated Node #0,1,2: 86:[48, 52] Operation: 45+7=52
Exploring Operation: 48-7=41, Resulting Numbers: [45, 41]
Generated Node #0,1,3: 86:[45, 41] Operation: 48-7=41
Exploring Operation: 45-7=38, Resulting Numbers: [48, 38]
Generated Node #0,1,4: 86:[48, 38] Operation: 45-7=38
Moving to Node #0,2
Current State: 86:[45, 8, 47], Operations: ['7+40=47']
Exploring Operation: 47-45=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 86:[8, 2] Operation: 47-45=2
Exploring Operation: 45+8=53, Resulting Numbers: [47, 53]
Generated Node #0,2,1: 86:[47, 53] Operation: 45+8=53
Exploring Operation: 45+47=92, Resulting Numbers: [8, 92]
Generated Node #0,2,2: 86:[8, 92] Operation: 45+47=92
Exploring Operation: 45-8=37, Resulting Numbers: [47, 37]
Generated Node #0,2,3: 86:[47, 37] Operation: 45-8=37
Exploring Operation: 47-8=39, Resulting Numbers: [45, 39]
Generated Node #0,2,4: 86:[45, 39] Operation: 47-8=39
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[8, 2], Operations: ['7+40=47', '47-45=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 86:[45, 39], Operations: ['7+40=47', '47-8=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,86 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[47, 37], Operations: ['7+40=47', '45-8=37']
Exploring Operation: 47*37=1739, Resulting Numbers: [1739]
1739,86 unequal: No Solution
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[8, 92], Operations: ['7+40=47', '45+47=92']
Exploring Operation: 8+92=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 8*92=736, Resulting Numbers: [736]
736,86 unequal: No Solution
Exploring Operation: 92-8=84, Resulting Numbers: [84]
84,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[47, 53], Operations: ['7+40=47', '45+8=53']
Exploring Operation: 53-47=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 47+53=100, Resulting Numbers: [100]
100,86 unequal: No Solution
Exploring Operation: 47*53=2491, Resulting Numbers: [2491]
2491,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 86:[7, 8, 85], Operations: ['45+40=85']
Exploring Operation: 7+8=15, Resulting Numbers: [85, 15]
Generated Node #0,4,0: 86:[85, 15] Operation: 7+8=15
Exploring Operation: 7+85=92, Resulting Numbers: [8, 92]
Generated Node #0,4,1: 86:[8, 92] Operation: 7+85=92
Exploring Operation: 8-7=1, Resulting Numbers: [85, 1]
Generated Node #0,4,2: 86:[85, 1] Operation: 8-7=1
Exploring Operation: 7*8=56, Resulting Numbers: [85, 56]
Generated Node #0,4,3: 86:[85, 56] Operation: 7*8=56
Exploring Operation: 8+85=93, Resulting Numbers: [7, 93]
Generated Node #0,4,4: 86:[7, 93] Operation: 8+85=93
Moving to Node #0,0,4
Current State: 86:[1, 85], Operations: ['8-7=1', '45+40=85']
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[45, 7, 8, 40], Operations: []
Exploring Operation: 8-7=1, Resulting Numbers: [45, 40, 1]
Generated Node #0,0: 86:[45, 40, 1] Operation: 8-7=1
Moving to Node #0,0
Current State: 86:[45, 40, 1], Operations: ['8-7=1']
Exploring Operation: 45+40=85, Resulting Numbers: [1, 85]
Generated Node #0,0,4: 86:[1, 85] Operation: 45+40=85
Moving to Node #0,0,4
Current State: 86:[1, 85], Operations: ['8-7=1', '45+40=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.94184 | hs_5 | mult_heuristic |
[
66,
49,
11,
89
] | 46 | [
"66/11=6",
"89-49=40",
"6+40=46"
] | Current State: 46:[66, 49, 11, 89], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [49, 89, 6]
Generated Node #2: [49, 89, 6] from Operation: 66/11=6
Current State: 46:[49, 89, 6], Operations: ['66/11=6']
Exploring Operation: 89-49=40, Resulting Numbers: [6, 40]
Generated Node #3: [6, 40] from Operation: 89-49=40
Current State: 46:[6, 40], Operations: ['66/11=6', '89-49=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[66, 49, 11, 89], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [49, 11, 23]
Generated Node #0,0: 46:[49, 11, 23] Operation: 89-66=23
Exploring Operation: 66-11=55, Resulting Numbers: [49, 89, 55]
Generated Node #0,1: 46:[49, 89, 55] Operation: 66-11=55
Exploring Operation: 89-49=40, Resulting Numbers: [66, 11, 40]
Generated Node #0,2: 46:[66, 11, 40] Operation: 89-49=40
Exploring Operation: 66/11=6, Resulting Numbers: [49, 89, 6]
Generated Node #0,3: 46:[49, 89, 6] Operation: 66/11=6
Moving to Node #0,0
Current State: 46:[49, 11, 23], Operations: ['89-66=23']
Exploring Operation: 23-11=12, Resulting Numbers: [49, 12]
Generated Node #0,0,0: 46:[49, 12] Operation: 23-11=12
Exploring Operation: 49+11=60, Resulting Numbers: [23, 60]
Generated Node #0,0,1: 46:[23, 60] Operation: 49+11=60
Exploring Operation: 49-11=38, Resulting Numbers: [23, 38]
Generated Node #0,0,2: 46:[23, 38] Operation: 49-11=38
Exploring Operation: 49-23=26, Resulting Numbers: [11, 26]
Generated Node #0,0,3: 46:[11, 26] Operation: 49-23=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[23, 38], Operations: ['89-66=23', '49-11=38']
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,46 unequal: No Solution
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,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,3
Current State: 46:[11, 26], Operations: ['89-66=23', '49-23=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,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:[49, 12], Operations: ['89-66=23', '23-11=12']
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,46 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,46 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,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:[23, 60], Operations: ['89-66=23', '49+11=60']
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,46 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: 46:[66, 11, 40], Operations: ['89-49=40']
Exploring Operation: 66-40=26, Resulting Numbers: [11, 26]
Generated Node #0,2,0: 46:[11, 26] Operation: 66-40=26
Exploring Operation: 11+40=51, Resulting Numbers: [66, 51]
Generated Node #0,2,1: 46:[66, 51] Operation: 11+40=51
Exploring Operation: 66/11=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 46:[40, 6] Operation: 66/11=6
Exploring Operation: 66-11=55, Resulting Numbers: [40, 55]
Generated Node #0,2,3: 46:[40, 55] Operation: 66-11=55
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[40, 6], Operations: ['89-49=40', '66/11=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[66, 49, 11, 89], Operations: []
Exploring Operation: 89-49=40, Resulting Numbers: [66, 11, 40]
Generated Node #0,2: 46:[66, 11, 40] Operation: 89-49=40
Moving to Node #0,2
Current State: 46:[66, 11, 40], Operations: ['89-49=40']
Exploring Operation: 66/11=6, Resulting Numbers: [40, 6]
Generated Node #0,2,2: 46:[40, 6] Operation: 66/11=6
Moving to Node #0,2,2
Current State: 46:[40, 6], Operations: ['89-49=40', '66/11=6']
Exploring Operation: 40+6=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
74,
87,
17,
58
] | 88 | [
"87-74=13",
"17+58=75",
"13+75=88"
] | Current State: 88:[74, 87, 17, 58], Operations: []
Exploring Operation: 87-74=13, Resulting Numbers: [17, 58, 13]
Generated Node #2: [17, 58, 13] from Operation: 87-74=13
Current State: 88:[17, 58, 13], Operations: ['87-74=13']
Exploring Operation: 17+58=75, Resulting Numbers: [13, 75]
Generated Node #3: [13, 75] from Operation: 17+58=75
Current State: 88:[13, 75], Operations: ['87-74=13', '17+58=75']
Exploring Operation: 13+75=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[74, 87, 17, 58], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [87, 17, 16]
Generated Node #0,0: 88:[87, 17, 16] Operation: 74-58=16
Exploring Operation: 58-17=41, Resulting Numbers: [74, 87, 41]
Generated Node #0,1: 88:[74, 87, 41] Operation: 58-17=41
Exploring Operation: 74+17=91, Resulting Numbers: [87, 58, 91]
Generated Node #0,2: 88:[87, 58, 91] Operation: 74+17=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[87, 17, 16], Operations: ['74-58=16']
Exploring Operation: 17+16=33, Resulting Numbers: [87, 33]
Generated Node #0,0,0: 88:[87, 33] Operation: 17+16=33
Exploring Operation: 17-16=1, Resulting Numbers: [87, 1]
Generated Node #0,0,1: 88:[87, 1] Operation: 17-16=1
Exploring Operation: 87+16=103, Resulting Numbers: [17, 103]
Generated Node #0,0,2: 88:[17, 103] Operation: 87+16=103
Moving to Node #0,0,1
Current State: 88:[87, 1], Operations: ['74-58=16', '17-16=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[74, 87, 17, 58], Operations: []
Exploring Operation: 74-58=16, Resulting Numbers: [87, 17, 16]
Generated Node #0,0: 88:[87, 17, 16] Operation: 74-58=16
Moving to Node #0,0
Current State: 88:[87, 17, 16], Operations: ['74-58=16']
Exploring Operation: 17-16=1, Resulting Numbers: [87, 1]
Generated Node #0,0,1: 88:[87, 1] Operation: 17-16=1
Moving to Node #0,0,1
Current State: 88:[87, 1], Operations: ['74-58=16', '17-16=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
75,
7,
46,
68
] | 79 | [
"68-46=22",
"7*22=154",
"154-75=79"
] | Current State: 79:[75, 7, 46, 68], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [75, 7, 22]
Generated Node #2: [75, 7, 22] from Operation: 68-46=22
Current State: 79:[75, 7, 22], Operations: ['68-46=22']
Exploring Operation: 7*22=154, Resulting Numbers: [75, 154]
Generated Node #3: [75, 154] from Operation: 7*22=154
Current State: 79:[75, 154], Operations: ['68-46=22', '7*22=154']
Exploring Operation: 154-75=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[75, 7, 46, 68], Operations: []
Exploring Operation: 7+46=53, Resulting Numbers: [75, 68, 53]
Generated Node #0,0: 79:[75, 68, 53] Operation: 7+46=53
Exploring Operation: 7+68=75, Resulting Numbers: [75, 46, 75]
Generated Node #0,1: 79:[75, 46, 75] Operation: 7+68=75
Exploring Operation: 75-7=68, Resulting Numbers: [46, 68, 68]
Generated Node #0,2: 79:[46, 68, 68] Operation: 75-7=68
Exploring Operation: 46-7=39, Resulting Numbers: [75, 68, 39]
Generated Node #0,3: 79:[75, 68, 39] Operation: 46-7=39
Exploring Operation: 75+7=82, Resulting Numbers: [46, 68, 82]
Generated Node #0,4: 79:[46, 68, 82] Operation: 75+7=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[75, 68, 53], Operations: ['7+46=53']
Exploring Operation: 75+68=143, Resulting Numbers: [53, 143]
Generated Node #0,0,0: 79:[53, 143] Operation: 75+68=143
Exploring Operation: 68+53=121, Resulting Numbers: [75, 121]
Generated Node #0,0,1: 79:[75, 121] Operation: 68+53=121
Exploring Operation: 75+53=128, Resulting Numbers: [68, 128]
Generated Node #0,0,2: 79:[68, 128] Operation: 75+53=128
Exploring Operation: 75-53=22, Resulting Numbers: [68, 22]
Generated Node #0,0,3: 79:[68, 22] Operation: 75-53=22
Exploring Operation: 68-53=15, Resulting Numbers: [75, 15]
Generated Node #0,0,4: 79:[75, 15] Operation: 68-53=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[75, 121], Operations: ['7+46=53', '68+53=121']
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,79 unequal: No Solution
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[68, 128], Operations: ['7+46=53', '75+53=128']
Exploring Operation: 128-68=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 68*128=8704, Resulting Numbers: [8704]
8704,79 unequal: No Solution
Exploring Operation: 68+128=196, Resulting Numbers: [196]
196,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[68, 22], Operations: ['7+46=53', '75-53=22']
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,79 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 79:[75, 15], Operations: ['7+46=53', '68-53=15']
Exploring Operation: 75*15=1125, Resulting Numbers: [1125]
1125,79 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,79 unequal: No Solution
Exploring Operation: 75+15=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[53, 143], Operations: ['7+46=53', '75+68=143']
Exploring Operation: 143-53=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 53*143=7579, Resulting Numbers: [7579]
7579,79 unequal: No Solution
Exploring Operation: 53+143=196, Resulting Numbers: [196]
196,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[75, 46, 75], Operations: ['7+68=75']
Exploring Operation: 75+46=121, Resulting Numbers: [75, 121]
Generated Node #0,1,0: 79:[75, 121] Operation: 75+46=121
Exploring Operation: 46+75=121, Resulting Numbers: [75, 121]
Generated Node #0,1,1: 79:[75, 121] Operation: 46+75=121
Exploring Operation: 75-46=29, Resulting Numbers: [75, 29]
Generated Node #0,1,2: 79:[75, 29] Operation: 75-46=29
Exploring Operation: 75+75=150, Resulting Numbers: [46, 150]
Generated Node #0,1,3: 79:[46, 150] Operation: 75+75=150
Exploring Operation: 75-46=29, Resulting Numbers: [75, 29]
Generated Node #0,1,4: 79:[75, 29] Operation: 75-46=29
Moving to Node #0,1,0
Current State: 79:[75, 121], Operations: ['7+68=75', '75+46=121']
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,79 unequal: No Solution
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[75, 121], Operations: ['7+68=75', '46+75=121']
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,79 unequal: No Solution
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[75, 29], Operations: ['7+68=75', '75-46=29']
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,79 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[75, 29], Operations: ['7+68=75', '75-46=29']
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[46, 150], Operations: ['7+68=75', '75+75=150']
Exploring Operation: 46+150=196, Resulting Numbers: [196]
196,79 unequal: No Solution
Exploring Operation: 46*150=6900, Resulting Numbers: [6900]
6900,79 unequal: No Solution
Exploring Operation: 150-46=104, Resulting Numbers: [104]
104,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 79:[46, 68, 82], Operations: ['75+7=82']
Exploring Operation: 46+68=114, Resulting Numbers: [82, 114]
Generated Node #0,4,0: 79:[82, 114] Operation: 46+68=114
Exploring Operation: 82-68=14, Resulting Numbers: [46, 14]
Generated Node #0,4,1: 79:[46, 14] Operation: 82-68=14
Exploring Operation: 46+82=128, Resulting Numbers: [68, 128]
Generated Node #0,4,2: 79:[68, 128] Operation: 46+82=128
Exploring Operation: 68-46=22, Resulting Numbers: [82, 22]
Generated Node #0,4,3: 79:[82, 22] Operation: 68-46=22
Exploring Operation: 82-46=36, Resulting Numbers: [68, 36]
Generated Node #0,4,4: 79:[68, 36] Operation: 82-46=36
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 79:[82, 114], Operations: ['75+7=82', '46+68=114']
Exploring Operation: 114-82=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 82*114=9348, Resulting Numbers: [9348]
9348,79 unequal: No Solution
Exploring Operation: 82+114=196, Resulting Numbers: [196]
196,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 79:[68, 36], Operations: ['75+7=82', '82-46=36']
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,79 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 79:[68, 128], Operations: ['75+7=82', '46+82=128']
Exploring Operation: 68*128=8704, Resulting Numbers: [8704]
8704,79 unequal: No Solution
Exploring Operation: 128-68=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 68+128=196, Resulting Numbers: [196]
196,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 79:[82, 22], Operations: ['75+7=82', '68-46=22']
Exploring Operation: 82+22=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 82-22=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 82*22=1804, Resulting Numbers: [1804]
1804,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 79:[46, 14], Operations: ['75+7=82', '82-68=14']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,79 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[46, 68, 68], Operations: ['75-7=68']
Exploring Operation: 68-46=22, Resulting Numbers: [68, 22]
Generated Node #0,2,0: 79:[68, 22] Operation: 68-46=22
Exploring Operation: 46+68=114, Resulting Numbers: [68, 114]
Generated Node #0,2,1: 79:[68, 114] Operation: 46+68=114
Exploring Operation: 68-46=22, Resulting Numbers: [68, 22]
Generated Node #0,2,2: 79:[68, 22] Operation: 68-46=22
Exploring Operation: 46+68=114, Resulting Numbers: [68, 114]
Generated Node #0,2,3: 79:[68, 114] Operation: 46+68=114
Exploring Operation: 68+68=136, Resulting Numbers: [46, 136]
Generated Node #0,2,4: 79:[46, 136] Operation: 68+68=136
Moving to Node #0,2,1
Current State: 79:[68, 114], Operations: ['75-7=68', '46+68=114']
Exploring Operation: 68*114=7752, Resulting Numbers: [7752]
7752,79 unequal: No Solution
Exploring Operation: 114-68=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 68+114=182, Resulting Numbers: [182]
182,79 unequal: No Solution
Moving to Node #0,2,3
Current State: 79:[68, 114], Operations: ['75-7=68', '46+68=114']
Exploring Operation: 68+114=182, Resulting Numbers: [182]
182,79 unequal: No Solution
Exploring Operation: 68*114=7752, Resulting Numbers: [7752]
7752,79 unequal: No Solution
Exploring Operation: 114-68=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[68, 22], Operations: ['75-7=68', '68-46=22']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[68, 22], Operations: ['75-7=68', '68-46=22']
Exploring Operation: 68*22=1496, Resulting Numbers: [1496]
1496,79 unequal: No Solution
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 68+22=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Moving to Node #0,2,4
Current State: 79:[46, 136], Operations: ['75-7=68', '68+68=136']
Exploring Operation: 136-46=90, Resulting Numbers: [90]
90,79 unequal: No Solution
Exploring Operation: 46*136=6256, Resulting Numbers: [6256]
6256,79 unequal: No Solution
Exploring Operation: 46+136=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[75, 68, 39], Operations: ['46-7=39']
Exploring Operation: 68-39=29, Resulting Numbers: [75, 29]
Generated Node #0,3,0: 79:[75, 29] Operation: 68-39=29
Exploring Operation: 75-39=36, Resulting Numbers: [68, 36]
Generated Node #0,3,1: 79:[68, 36] Operation: 75-39=36
Exploring Operation: 75+39=114, Resulting Numbers: [68, 114]
Generated Node #0,3,2: 79:[68, 114] Operation: 75+39=114
Exploring Operation: 75+68=143, Resulting Numbers: [39, 143]
Generated Node #0,3,3: 79:[39, 143] Operation: 75+68=143
Exploring Operation: 68+39=107, Resulting Numbers: [75, 107]
Generated Node #0,3,4: 79:[75, 107] Operation: 68+39=107
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 79:[75, 107], Operations: ['46-7=39', '68+39=107']
Exploring Operation: 107-75=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 75*107=8025, Resulting Numbers: [8025]
8025,79 unequal: No Solution
Exploring Operation: 75+107=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 79:[68, 114], Operations: ['46-7=39', '75+39=114']
Exploring Operation: 68*114=7752, Resulting Numbers: [7752]
7752,79 unequal: No Solution
Exploring Operation: 68+114=182, Resulting Numbers: [182]
182,79 unequal: No Solution
Exploring Operation: 114-68=46, Resulting Numbers: [46]
46,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 79:[75, 29], Operations: ['46-7=39', '68-39=29']
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,79 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 79:[68, 36], Operations: ['46-7=39', '75-39=36']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,79 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 79:[39, 143], Operations: ['46-7=39', '75+68=143']
Exploring Operation: 143-39=104, Resulting Numbers: [104]
104,79 unequal: No Solution
Exploring Operation: 39*143=5577, Resulting Numbers: [5577]
5577,79 unequal: No Solution
Exploring Operation: 39+143=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
66,
10,
26,
17
] | 13 | [
"66-10=56",
"26+17=43",
"56-43=13"
] | Current State: 13:[66, 10, 26, 17], Operations: []
Exploring Operation: 66-10=56, Resulting Numbers: [26, 17, 56]
Generated Node #2: [26, 17, 56] from Operation: 66-10=56
Current State: 13:[26, 17, 56], Operations: ['66-10=56']
Exploring Operation: 26+17=43, Resulting Numbers: [56, 43]
Generated Node #3: [56, 43] from Operation: 26+17=43
Current State: 13:[56, 43], Operations: ['66-10=56', '26+17=43']
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[66, 10, 26, 17], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [10, 17, 40]
Generated Node #0,0: 13:[10, 17, 40] Operation: 66-26=40
Exploring Operation: 66-17=49, Resulting Numbers: [10, 26, 49]
Generated Node #0,1: 13:[10, 26, 49] Operation: 66-17=49
Moving to Node #0,0
Current State: 13:[10, 17, 40], Operations: ['66-26=40']
Exploring Operation: 40-17=23, Resulting Numbers: [10, 23]
Generated Node #0,0,0: 13:[10, 23] Operation: 40-17=23
Exploring Operation: 40/10=4, Resulting Numbers: [17, 4]
Generated Node #0,0,1: 13:[17, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[10, 23], Operations: ['66-26=40', '40-17=23']
Exploring Operation: 10+23=33, Resulting Numbers: [33]
33,13 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[66, 10, 26, 17], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [10, 17, 40]
Generated Node #0,0: 13:[10, 17, 40] Operation: 66-26=40
Moving to Node #0,0
Current State: 13:[10, 17, 40], Operations: ['66-26=40']
Exploring Operation: 40-17=23, Resulting Numbers: [10, 23]
Generated Node #0,0,0: 13:[10, 23] Operation: 40-17=23
Moving to Node #0,0,0
Current State: 13:[10, 23], Operations: ['66-26=40', '40-17=23']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
78,
52,
76,
34
] | 36 | [
"78-76=2",
"52-34=18",
"2*18=36"
] | Current State: 36:[78, 52, 76, 34], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [52, 34, 2]
Generated Node #2: [52, 34, 2] from Operation: 78-76=2
Current State: 36:[52, 34, 2], Operations: ['78-76=2']
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 52-34=18
Current State: 36:[2, 18], Operations: ['78-76=2', '52-34=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[78, 52, 76, 34], Operations: []
Exploring Operation: 78-52=26, Resulting Numbers: [76, 34, 26]
Generated Node #0,0: 36:[76, 34, 26] Operation: 78-52=26
Exploring Operation: 76-52=24, Resulting Numbers: [78, 34, 24]
Generated Node #0,1: 36:[78, 34, 24] Operation: 76-52=24
Exploring Operation: 78-34=44, Resulting Numbers: [52, 76, 44]
Generated Node #0,2: 36:[52, 76, 44] Operation: 78-34=44
Exploring Operation: 78-76=2, Resulting Numbers: [52, 34, 2]
Generated Node #0,3: 36:[52, 34, 2] Operation: 78-76=2
Moving to Node #0,3
Current State: 36:[52, 34, 2], Operations: ['78-76=2']
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #0,3,0: 36:[2, 18] Operation: 52-34=18
Exploring Operation: 52/2=26, Resulting Numbers: [34, 26]
Generated Node #0,3,1: 36:[34, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [34, 50]
Generated Node #0,3,2: 36:[34, 50] Operation: 52-2=50
Exploring Operation: 34+2=36, Resulting Numbers: [52, 36]
Generated Node #0,3,3: 36:[52, 36] Operation: 34+2=36
Moving to Node #0,1
Current State: 36:[78, 34, 24], Operations: ['76-52=24']
Exploring Operation: 34+24=58, Resulting Numbers: [78, 58]
Generated Node #0,1,0: 36:[78, 58] Operation: 34+24=58
Exploring Operation: 78-24=54, Resulting Numbers: [34, 54]
Generated Node #0,1,1: 36:[34, 54] Operation: 78-24=54
Exploring Operation: 78-34=44, Resulting Numbers: [24, 44]
Generated Node #0,1,2: 36:[24, 44] Operation: 78-34=44
Exploring Operation: 34-24=10, Resulting Numbers: [78, 10]
Generated Node #0,1,3: 36:[78, 10] Operation: 34-24=10
Moving to Node #0,0
Current State: 36:[76, 34, 26], Operations: ['78-52=26']
Exploring Operation: 34+26=60, Resulting Numbers: [76, 60]
Generated Node #0,0,0: 36:[76, 60] Operation: 34+26=60
Exploring Operation: 76-34=42, Resulting Numbers: [26, 42]
Generated Node #0,0,1: 36:[26, 42] Operation: 76-34=42
Exploring Operation: 34-26=8, Resulting Numbers: [76, 8]
Generated Node #0,0,2: 36:[76, 8] Operation: 34-26=8
Exploring Operation: 76-26=50, Resulting Numbers: [34, 50]
Generated Node #0,0,3: 36:[34, 50] Operation: 76-26=50
Moving to Node #0,2
Current State: 36:[52, 76, 44], Operations: ['78-34=44']
Exploring Operation: 76-44=32, Resulting Numbers: [52, 32]
Generated Node #0,2,0: 36:[52, 32] Operation: 76-44=32
Exploring Operation: 52+76=128, Resulting Numbers: [44, 128]
Generated Node #0,2,1: 36:[44, 128] Operation: 52+76=128
Exploring Operation: 52-44=8, Resulting Numbers: [76, 8]
Generated Node #0,2,2: 36:[76, 8] Operation: 52-44=8
Exploring Operation: 76-52=24, Resulting Numbers: [44, 24]
Generated Node #0,2,3: 36:[44, 24] Operation: 76-52=24
Moving to Node #0,3,0
Current State: 36:[2, 18], Operations: ['78-76=2', '52-34=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[78, 52, 76, 34], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [52, 34, 2]
Generated Node #0,3: 36:[52, 34, 2] Operation: 78-76=2
Moving to Node #0,3
Current State: 36:[52, 34, 2], Operations: ['78-76=2']
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #0,3,0: 36:[2, 18] Operation: 52-34=18
Moving to Node #0,3,0
Current State: 36:[2, 18], Operations: ['78-76=2', '52-34=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.978299 | hs_4 | sum_heuristic |
[
38,
39,
20,
2
] | 18 | [
"39-38=1",
"20-2=18",
"1*18=18"
] | Current State: 18:[38, 39, 20, 2], Operations: []
Exploring Operation: 39-38=1, Resulting Numbers: [20, 2, 1]
Generated Node #2: [20, 2, 1] from Operation: 39-38=1
Current State: 18:[20, 2, 1], Operations: ['39-38=1']
Exploring Operation: 20-2=18, Resulting Numbers: [1, 18]
Generated Node #3: [1, 18] from Operation: 20-2=18
Current State: 18:[1, 18], Operations: ['39-38=1', '20-2=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[38, 39, 20, 2], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [39, 2, 18]
Generated Node #0,0: 18:[39, 2, 18] Operation: 38-20=18
Exploring Operation: 38/2=19, Resulting Numbers: [39, 20, 19]
Generated Node #0,1: 18:[39, 20, 19] Operation: 38/2=19
Exploring Operation: 39-20=19, Resulting Numbers: [38, 2, 19]
Generated Node #0,2: 18:[38, 2, 19] Operation: 39-20=19
Exploring Operation: 38-2=36, Resulting Numbers: [39, 20, 36]
Generated Node #0,3: 18:[39, 20, 36] Operation: 38-2=36
Exploring Operation: 39-38=1, Resulting Numbers: [20, 2, 1]
Generated Node #0,4: 18:[20, 2, 1] Operation: 39-38=1
Moving to Node #0,4
Current State: 18:[20, 2, 1], Operations: ['39-38=1']
Exploring Operation: 20-1=19, Resulting Numbers: [2, 19]
Generated Node #0,4,0: 18:[2, 19] Operation: 20-1=19
Exploring Operation: 20/1=20, Resulting Numbers: [2, 20]
Generated Node #0,4,1: 18:[2, 20] Operation: 20/1=20
Exploring Operation: 20/2=10, Resulting Numbers: [1, 10]
Generated Node #0,4,2: 18:[1, 10] Operation: 20/2=10
Exploring Operation: 20-2=18, Resulting Numbers: [1, 18]
Generated Node #0,4,3: 18:[1, 18] Operation: 20-2=18
Exploring Operation: 20*1=20, Resulting Numbers: [2, 20]
Generated Node #0,4,4: 18:[2, 20] Operation: 20*1=20
Moving to Node #0,2
Current State: 18:[38, 2, 19], Operations: ['39-20=19']
Exploring Operation: 38/2=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 18:[19, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [19, 36]
Generated Node #0,2,1: 18:[19, 36] Operation: 38-2=36
Exploring Operation: 19-2=17, Resulting Numbers: [38, 17]
Generated Node #0,2,2: 18:[38, 17] Operation: 19-2=17
Exploring Operation: 38-19=19, Resulting Numbers: [2, 19]
Generated Node #0,2,3: 18:[2, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [2, 2]
Generated Node #0,2,4: 18:[2, 2] Operation: 38/19=2
Moving to Node #0,0
Current State: 18:[39, 2, 18], Operations: ['38-20=18']
Exploring Operation: 39-2=37, Resulting Numbers: [18, 37]
Generated Node #0,0,0: 18:[18, 37] Operation: 39-2=37
Exploring Operation: 39-18=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 18:[2, 21] Operation: 39-18=21
Exploring Operation: 18/2=9, Resulting Numbers: [39, 9]
Generated Node #0,0,2: 18:[39, 9] Operation: 18/2=9
Exploring Operation: 2+18=20, Resulting Numbers: [39, 20]
Generated Node #0,0,3: 18:[39, 20] Operation: 2+18=20
Exploring Operation: 39+2=41, Resulting Numbers: [18, 41]
Generated Node #0,0,4: 18:[18, 41] Operation: 39+2=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[2, 21], Operations: ['38-20=18', '39-18=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[18, 37], Operations: ['38-20=18', '39-2=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 18*37=666, Resulting Numbers: [666]
666,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[39, 9], Operations: ['38-20=18', '18/2=9']
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,18 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,18 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[39, 20], Operations: ['38-20=18', '2+18=20']
Exploring Operation: 39*20=780, Resulting Numbers: [780]
780,18 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 39+20=59, Resulting Numbers: [59]
59,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[18, 41], Operations: ['38-20=18', '39+2=41']
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,18 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,18 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,18 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: 18:[39, 20, 19], Operations: ['38/2=19']
Exploring Operation: 39+19=58, Resulting Numbers: [20, 58]
Generated Node #0,1,0: 18:[20, 58] Operation: 39+19=58
Exploring Operation: 39-19=20, Resulting Numbers: [20, 20]
Generated Node #0,1,1: 18:[20, 20] Operation: 39-19=20
Exploring Operation: 39-20=19, Resulting Numbers: [19, 19]
Generated Node #0,1,2: 18:[19, 19] Operation: 39-20=19
Exploring Operation: 20-19=1, Resulting Numbers: [39, 1]
Generated Node #0,1,3: 18:[39, 1] Operation: 20-19=1
Exploring Operation: 39+20=59, Resulting Numbers: [19, 59]
Generated Node #0,1,4: 18:[19, 59] Operation: 39+20=59
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[19, 19], Operations: ['38/2=19', '39-20=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,18 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[20, 20], Operations: ['38/2=19', '39-19=20']
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,18 unequal: No Solution
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[39, 1], Operations: ['38/2=19', '20-19=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[20, 58], Operations: ['38/2=19', '39+19=58']
Exploring Operation: 20*58=1160, Resulting Numbers: [1160]
1160,18 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 20+58=78, Resulting Numbers: [78]
78,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[19, 59], Operations: ['38/2=19', '39+20=59']
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,18 unequal: No Solution
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 18:[39, 20, 36], Operations: ['38-2=36']
Exploring Operation: 39-36=3, Resulting Numbers: [20, 3]
Generated Node #0,3,0: 18:[20, 3] Operation: 39-36=3
Exploring Operation: 39+36=75, Resulting Numbers: [20, 75]
Generated Node #0,3,1: 18:[20, 75] Operation: 39+36=75
Exploring Operation: 39+20=59, Resulting Numbers: [36, 59]
Generated Node #0,3,2: 18:[36, 59] Operation: 39+20=59
Exploring Operation: 39-20=19, Resulting Numbers: [36, 19]
Generated Node #0,3,3: 18:[36, 19] Operation: 39-20=19
Exploring Operation: 36-20=16, Resulting Numbers: [39, 16]
Generated Node #0,3,4: 18:[39, 16] Operation: 36-20=16
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[20, 3], Operations: ['38-2=36', '39-36=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[36, 19], Operations: ['38-2=36', '39-20=19']
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[39, 16], Operations: ['38-2=36', '36-20=16']
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 39*16=624, Resulting Numbers: [624]
624,18 unequal: No Solution
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[20, 75], Operations: ['38-2=36', '39+36=75']
Exploring Operation: 20+75=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,18 unequal: No Solution
Exploring Operation: 20*75=1500, Resulting Numbers: [1500]
1500,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[36, 59], Operations: ['38-2=36', '39+20=59']
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,18 unequal: No Solution
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,18 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,18 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: 18:[2, 2], Operations: ['39-20=19', '38/19=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[2, 19], Operations: ['39-38=1', '20-1=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[2, 19], Operations: ['39-20=19', '38-19=19']
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[1, 18], Operations: ['39-38=1', '20-2=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[38, 39, 20, 2], Operations: []
Exploring Operation: 39-38=1, Resulting Numbers: [20, 2, 1]
Generated Node #0,4: 18:[20, 2, 1] Operation: 39-38=1
Moving to Node #0,4
Current State: 18:[20, 2, 1], Operations: ['39-38=1']
Exploring Operation: 20-2=18, Resulting Numbers: [1, 18]
Generated Node #0,4,3: 18:[1, 18] Operation: 20-2=18
Moving to Node #0,4,3
Current State: 18:[1, 18], Operations: ['39-38=1', '20-2=18']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.919271 | hs_5 | mult_heuristic |
[
77,
2,
29,
46
] | 14 | [
"77+29=106",
"2*46=92",
"106-92=14"
] | Current State: 14:[77, 2, 29, 46], Operations: []
Exploring Operation: 77+29=106, Resulting Numbers: [2, 46, 106]
Generated Node #2: [2, 46, 106] from Operation: 77+29=106
Current State: 14:[2, 46, 106], Operations: ['77+29=106']
Exploring Operation: 2*46=92, Resulting Numbers: [106, 92]
Generated Node #3: [106, 92] from Operation: 2*46=92
Current State: 14:[106, 92], Operations: ['77+29=106', '2*46=92']
Exploring Operation: 106-92=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[77, 2, 29, 46], Operations: []
Exploring Operation: 77-46=31, Resulting Numbers: [2, 29, 31]
Generated Node #0,0: 14:[2, 29, 31] Operation: 77-46=31
Exploring Operation: 77-2=75, Resulting Numbers: [29, 46, 75]
Generated Node #0,1: 14:[29, 46, 75] Operation: 77-2=75
Exploring Operation: 46-29=17, Resulting Numbers: [77, 2, 17]
Generated Node #0,2: 14:[77, 2, 17] Operation: 46-29=17
Exploring Operation: 46/2=23, Resulting Numbers: [77, 29, 23]
Generated Node #0,3: 14:[77, 29, 23] Operation: 46/2=23
Exploring Operation: 77-29=48, Resulting Numbers: [2, 46, 48]
Generated Node #0,4: 14:[2, 46, 48] Operation: 77-29=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[2, 29, 31], Operations: ['77-46=31']
Exploring Operation: 2+29=31, Resulting Numbers: [31, 31]
Generated Node #0,0,0: 14:[31, 31] Operation: 2+29=31
Exploring Operation: 31-2=29, Resulting Numbers: [29, 29]
Generated Node #0,0,1: 14:[29, 29] Operation: 31-2=29
Exploring Operation: 29-2=27, Resulting Numbers: [31, 27]
Generated Node #0,0,2: 14:[31, 27] Operation: 29-2=27
Exploring Operation: 31-29=2, Resulting Numbers: [2, 2]
Generated Node #0,0,3: 14:[2, 2] Operation: 31-29=2
Exploring Operation: 2+31=33, Resulting Numbers: [29, 33]
Generated Node #0,0,4: 14:[29, 33] Operation: 2+31=33
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 14:[2, 2], Operations: ['77-46=31', '31-29=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[29, 29], Operations: ['77-46=31', '31-2=29']
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,14 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 14:[31, 27], Operations: ['77-46=31', '29-2=27']
Exploring Operation: 31*27=837, Resulting Numbers: [837]
837,14 unequal: No Solution
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[31, 31], Operations: ['77-46=31', '2+29=31']
Exploring Operation: 31+31=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 31*31=961, Resulting Numbers: [961]
961,14 unequal: No Solution
Exploring Operation: 31-31=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 31/31=1, Resulting Numbers: [1]
1,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 14:[29, 33], Operations: ['77-46=31', '2+31=33']
Exploring Operation: 33-29=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 29+33=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 29*33=957, Resulting Numbers: [957]
957,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 14:[77, 2, 17], Operations: ['46-29=17']
Exploring Operation: 77+2=79, Resulting Numbers: [17, 79]
Generated Node #0,2,0: 14:[17, 79] Operation: 77+2=79
Exploring Operation: 77-2=75, Resulting Numbers: [17, 75]
Generated Node #0,2,1: 14:[17, 75] Operation: 77-2=75
Exploring Operation: 77-17=60, Resulting Numbers: [2, 60]
Generated Node #0,2,2: 14:[2, 60] Operation: 77-17=60
Exploring Operation: 17-2=15, Resulting Numbers: [77, 15]
Generated Node #0,2,3: 14:[77, 15] Operation: 17-2=15
Exploring Operation: 2+17=19, Resulting Numbers: [77, 19]
Generated Node #0,2,4: 14:[77, 19] Operation: 2+17=19
Moving to Node #0,2,2
Current State: 14:[2, 60], Operations: ['46-29=17', '77-17=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,14 unequal: No Solution
Moving to Node #0,2,3
Current State: 14:[77, 15], Operations: ['46-29=17', '17-2=15']
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,14 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[17, 75], Operations: ['46-29=17', '77-2=75']
Exploring Operation: 17+75=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 17*75=1275, Resulting Numbers: [1275]
1275,14 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[17, 79], Operations: ['46-29=17', '77+2=79']
Exploring Operation: 17*79=1343, Resulting Numbers: [1343]
1343,14 unequal: No Solution
Exploring Operation: 17+79=96, Resulting Numbers: [96]
96,14 unequal: No Solution
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,14 unequal: No Solution
Moving to Node #0,2,4
Current State: 14:[77, 19], Operations: ['46-29=17', '2+17=19']
Exploring Operation: 77*19=1463, Resulting Numbers: [1463]
1463,14 unequal: No Solution
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,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,4
Current State: 14:[2, 46, 48], Operations: ['77-29=48']
Exploring Operation: 46-2=44, Resulting Numbers: [48, 44]
Generated Node #0,4,0: 14:[48, 44] Operation: 46-2=44
Exploring Operation: 48/2=24, Resulting Numbers: [46, 24]
Generated Node #0,4,1: 14:[46, 24] Operation: 48/2=24
Exploring Operation: 46/2=23, Resulting Numbers: [48, 23]
Generated Node #0,4,2: 14:[48, 23] Operation: 46/2=23
Exploring Operation: 48-2=46, Resulting Numbers: [46, 46]
Generated Node #0,4,3: 14:[46, 46] Operation: 48-2=46
Exploring Operation: 48-46=2, Resulting Numbers: [2, 2]
Generated Node #0,4,4: 14:[2, 2] Operation: 48-46=2
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 14:[2, 2], Operations: ['77-29=48', '48-46=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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,4,1
Current State: 14:[46, 24], Operations: ['77-29=48', '48/2=24']
Exploring Operation: 46+24=70, Resulting Numbers: [70]
70,14 unequal: No Solution
Exploring Operation: 46*24=1104, Resulting Numbers: [1104]
1104,14 unequal: No Solution
Exploring Operation: 46-24=22, Resulting Numbers: [22]
22,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,4,2
Current State: 14:[48, 23], Operations: ['77-29=48', '46/2=23']
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,14 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,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,4,0
Current State: 14:[48, 44], Operations: ['77-29=48', '46-2=44']
Exploring Operation: 48*44=2112, Resulting Numbers: [2112]
2112,14 unequal: No Solution
Exploring Operation: 48+44=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,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,4,3
Current State: 14:[46, 46], Operations: ['77-29=48', '48-2=46']
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,14 unequal: No Solution
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,14 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 14:[77, 29, 23], Operations: ['46/2=23']
Exploring Operation: 77-29=48, Resulting Numbers: [23, 48]
Generated Node #0,3,0: 14:[23, 48] Operation: 77-29=48
Exploring Operation: 29-23=6, Resulting Numbers: [77, 6]
Generated Node #0,3,1: 14:[77, 6] Operation: 29-23=6
Exploring Operation: 77-23=54, Resulting Numbers: [29, 54]
Generated Node #0,3,2: 14:[29, 54] Operation: 77-23=54
Exploring Operation: 77+29=106, Resulting Numbers: [23, 106]
Generated Node #0,3,3: 14:[23, 106] Operation: 77+29=106
Exploring Operation: 77+23=100, Resulting Numbers: [29, 100]
Generated Node #0,3,4: 14:[29, 100] Operation: 77+23=100
Moving to Node #0,3,0
Current State: 14:[23, 48], Operations: ['46/2=23', '77-29=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,14 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[29, 54], Operations: ['46/2=23', '77-23=54']
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,14 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,14 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[77, 6], Operations: ['46/2=23', '29-23=6']
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Exploring Operation: 77*6=462, Resulting Numbers: [462]
462,14 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Moving to Node #0,3,3
Current State: 14:[23, 106], Operations: ['46/2=23', '77+29=106']
Exploring Operation: 23+106=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 23*106=2438, Resulting Numbers: [2438]
2438,14 unequal: No Solution
Exploring Operation: 106-23=83, Resulting Numbers: [83]
83,14 unequal: No Solution
Moving to Node #0,3,4
Current State: 14:[29, 100], Operations: ['46/2=23', '77+23=100']
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,14 unequal: No Solution
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,14 unequal: No Solution
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,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,1
Current State: 14:[29, 46, 75], Operations: ['77-2=75']
Exploring Operation: 29+75=104, Resulting Numbers: [46, 104]
Generated Node #0,1,0: 14:[46, 104] Operation: 29+75=104
Exploring Operation: 75-46=29, Resulting Numbers: [29, 29]
Generated Node #0,1,1: 14:[29, 29] Operation: 75-46=29
Exploring Operation: 46-29=17, Resulting Numbers: [75, 17]
Generated Node #0,1,2: 14:[75, 17] Operation: 46-29=17
Exploring Operation: 29+46=75, Resulting Numbers: [75, 75]
Generated Node #0,1,3: 14:[75, 75] Operation: 29+46=75
Exploring Operation: 75-29=46, Resulting Numbers: [46, 46]
Generated Node #0,1,4: 14:[46, 46] Operation: 75-29=46
Moving to Node #0,1,1
Current State: 14:[29, 29], Operations: ['77-2=75', '75-46=29']
Exploring Operation: 29*29=841, Resulting Numbers: [841]
841,14 unequal: No Solution
Exploring Operation: 29-29=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 29+29=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 29/29=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,1,4
Current State: 14:[46, 46], Operations: ['77-2=75', '75-29=46']
Exploring Operation: 46/46=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 46-46=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 46*46=2116, Resulting Numbers: [2116]
2116,14 unequal: No Solution
Exploring Operation: 46+46=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[75, 17], Operations: ['77-2=75', '46-29=17']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,14 unequal: No Solution
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[46, 104], Operations: ['77-2=75', '29+75=104']
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,14 unequal: No Solution
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[75, 75], Operations: ['77-2=75', '29+46=75']
Exploring Operation: 75-75=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 75+75=150, Resulting Numbers: [150]
150,14 unequal: No Solution
Exploring Operation: 75/75=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 75*75=5625, Resulting Numbers: [5625]
5625,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
70,
7,
73,
77
] | 56 | [
"73-70=3",
"7*3=21",
"77-21=56"
] | Current State: 56:[70, 7, 73, 77], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [7, 77, 3]
Generated Node #2: [7, 77, 3] from Operation: 73-70=3
Current State: 56:[7, 77, 3], Operations: ['73-70=3']
Exploring Operation: 7*3=21, Resulting Numbers: [77, 21]
Generated Node #3: [77, 21] from Operation: 7*3=21
Current State: 56:[77, 21], Operations: ['73-70=3', '7*3=21']
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[70, 7, 73, 77], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [70, 7, 4]
Generated Node #0,0: 56:[70, 7, 4] Operation: 77-73=4
Exploring Operation: 73-70=3, Resulting Numbers: [7, 77, 3]
Generated Node #0,1: 56:[7, 77, 3] Operation: 73-70=3
Exploring Operation: 77-70=7, Resulting Numbers: [7, 73, 7]
Generated Node #0,2: 56:[7, 73, 7] Operation: 77-70=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[70, 7, 4], Operations: ['77-73=4']
Exploring Operation: 70-7=63, Resulting Numbers: [4, 63]
Generated Node #0,0,0: 56:[4, 63] Operation: 70-7=63
Exploring Operation: 70/7=10, Resulting Numbers: [4, 10]
Generated Node #0,0,1: 56:[4, 10] Operation: 70/7=10
Exploring Operation: 70-4=66, Resulting Numbers: [7, 66]
Generated Node #0,0,2: 56:[7, 66] Operation: 70-4=66
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[4, 10], Operations: ['77-73=4', '70/7=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,56 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No 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: 56:[4, 63], Operations: ['77-73=4', '70-7=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,56 unequal: No Solution
No 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: 56:[7, 66], Operations: ['77-73=4', '70-4=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,56 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,56 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: 56:[7, 73, 7], Operations: ['77-70=7']
Exploring Operation: 7+7=14, Resulting Numbers: [73, 14]
Generated Node #0,2,0: 56:[73, 14] Operation: 7+7=14
Exploring Operation: 73-7=66, Resulting Numbers: [7, 66]
Generated Node #0,2,1: 56:[7, 66] Operation: 73-7=66
Exploring Operation: 73-7=66, Resulting Numbers: [7, 66]
Generated Node #0,2,2: 56:[7, 66] Operation: 73-7=66
Moving to Node #0,2,1
Current State: 56:[7, 66], Operations: ['77-70=7', '73-7=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[7, 66], Operations: ['77-70=7', '73-7=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,56 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[73, 14], Operations: ['77-70=7', '7+7=14']
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 73+14=87, Resulting Numbers: [87]
87,56 unequal: No Solution
Exploring Operation: 73*14=1022, Resulting Numbers: [1022]
1022,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[7, 77, 3], Operations: ['73-70=3']
Exploring Operation: 77-3=74, Resulting Numbers: [7, 74]
Generated Node #0,1,0: 56:[7, 74] Operation: 77-3=74
Exploring Operation: 77-7=70, Resulting Numbers: [3, 70]
Generated Node #0,1,1: 56:[3, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [3, 11]
Generated Node #0,1,2: 56:[3, 11] Operation: 77/7=11
Moving to Node #0,1,2
Current State: 56:[3, 11], Operations: ['73-70=3', '77/7=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,56 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,56 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[3, 70], Operations: ['73-70=3', '77-7=70']
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[7, 74], Operations: ['73-70=3', '77-3=74']
Exploring Operation: 7*74=518, Resulting Numbers: [518]
518,56 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,56 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 |
[
94,
79,
2,
2
] | 62 | [
"94+2=96",
"79*2=158",
"158-96=62"
] | Current State: 62:[94, 79, 2, 2], Operations: []
Exploring Operation: 94+2=96, Resulting Numbers: [79, 96]
Generated Node #2: [79, 96] from Operation: 94+2=96
Current State: 62:[79, 96], Operations: ['94+2=96']
Exploring Operation: 79*2=158, Resulting Numbers: [96, 158]
Generated Node #3: [96, 158] from Operation: 79*2=158
Current State: 62:[96, 158], Operations: ['94+2=96', '79*2=158']
Exploring Operation: 158-96=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[94, 79, 2, 2], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [79, 2, 47]
Generated Node #0,0: 62:[79, 2, 47] Operation: 94/2=47
Exploring Operation: 94-79=15, Resulting Numbers: [2, 2, 15]
Generated Node #0,1: 62:[2, 2, 15] Operation: 94-79=15
Exploring Operation: 94/2=47, Resulting Numbers: [79, 2, 47]
Generated Node #0,2: 62:[79, 2, 47] Operation: 94/2=47
Moving to Node #0,1
Current State: 62:[2, 2, 15], Operations: ['94-79=15']
Exploring Operation: 2*15=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 62:[2, 30] Operation: 2*15=30
Exploring Operation: 2*15=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 62:[2, 30] Operation: 2*15=30
Exploring Operation: 15-2=13, Resulting Numbers: [2, 13]
Generated Node #0,1,2: 62:[2, 13] Operation: 15-2=13
Moving to Node #0,0
Current State: 62:[79, 2, 47], Operations: ['94/2=47']
Exploring Operation: 2+47=49, Resulting Numbers: [79, 49]
Generated Node #0,0,0: 62:[79, 49] Operation: 2+47=49
Exploring Operation: 79-2=77, Resulting Numbers: [47, 77]
Generated Node #0,0,1: 62:[47, 77] Operation: 79-2=77
Exploring Operation: 79-47=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 62:[2, 32] Operation: 79-47=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[2, 32], Operations: ['94/2=47', '79-47=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[79, 49], Operations: ['94/2=47', '2+47=49']
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 79*49=3871, Resulting Numbers: [3871]
3871,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[47, 77], Operations: ['94/2=47', '79-2=77']
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,62 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 62:[79, 2, 47], Operations: ['94/2=47']
Exploring Operation: 79-2=77, Resulting Numbers: [47, 77]
Generated Node #0,2,0: 62:[47, 77] Operation: 79-2=77
Exploring Operation: 79-47=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 62:[2, 32] Operation: 79-47=32
Exploring Operation: 2+47=49, Resulting Numbers: [79, 49]
Generated Node #0,2,2: 62:[79, 49] Operation: 2+47=49
Moving to Node #0,1,0
Current State: 62:[2, 30], Operations: ['94-79=15', '2*15=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[2, 30], Operations: ['94-79=15', '2*15=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[2, 32], Operations: ['94/2=47', '79-47=32']
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[2, 13], Operations: ['94-79=15', '15-2=13']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[79, 49], Operations: ['94/2=47', '2+47=49']
Exploring Operation: 79-49=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 79*49=3871, Resulting Numbers: [3871]
3871,62 unequal: No Solution
Exploring Operation: 79+49=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[47, 77], Operations: ['94/2=47', '79-2=77']
Exploring Operation: 47+77=124, Resulting Numbers: [124]
124,62 unequal: No Solution
Exploring Operation: 47*77=3619, Resulting Numbers: [3619]
3619,62 unequal: No Solution
Exploring Operation: 77-47=30, Resulting Numbers: [30]
30,62 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
79,
43,
40,
78
] | 82 | [
"79-43=36",
"40+78=118",
"118-36=82"
] | Current State: 82:[79, 43, 40, 78], Operations: []
Exploring Operation: 79-43=36, Resulting Numbers: [40, 78, 36]
Generated Node #2: [40, 78, 36] from Operation: 79-43=36
Current State: 82:[40, 78, 36], Operations: ['79-43=36']
Exploring Operation: 40+78=118, Resulting Numbers: [36, 118]
Generated Node #3: [36, 118] from Operation: 40+78=118
Current State: 82:[36, 118], Operations: ['79-43=36', '40+78=118']
Exploring Operation: 118-36=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[79, 43, 40, 78], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [79, 78, 3]
Generated Node #0,0: 82:[79, 78, 3] Operation: 43-40=3
Exploring Operation: 79-40=39, Resulting Numbers: [43, 78, 39]
Generated Node #0,1: 82:[43, 78, 39] Operation: 79-40=39
Exploring Operation: 78-40=38, Resulting Numbers: [79, 43, 38]
Generated Node #0,2: 82:[79, 43, 38] Operation: 78-40=38
Exploring Operation: 43+40=83, Resulting Numbers: [79, 78, 83]
Generated Node #0,3: 82:[79, 78, 83] Operation: 43+40=83
Exploring Operation: 79-78=1, Resulting Numbers: [43, 40, 1]
Generated Node #0,4: 82:[43, 40, 1] Operation: 79-78=1
Moving to Node #0,4
Current State: 82:[43, 40, 1], Operations: ['79-78=1']
Exploring Operation: 43+40=83, Resulting Numbers: [1, 83]
Generated Node #0,4,0: 82:[1, 83] Operation: 43+40=83
Exploring Operation: 43-1=42, Resulting Numbers: [40, 42]
Generated Node #0,4,1: 82:[40, 42] Operation: 43-1=42
Exploring Operation: 43-40=3, Resulting Numbers: [1, 3]
Generated Node #0,4,2: 82:[1, 3] Operation: 43-40=3
Exploring Operation: 40+1=41, Resulting Numbers: [43, 41]
Generated Node #0,4,3: 82:[43, 41] Operation: 40+1=41
Exploring Operation: 43*1=43, Resulting Numbers: [40, 43]
Generated Node #0,4,4: 82:[40, 43] Operation: 43*1=43
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 82:[1, 83], Operations: ['79-78=1', '43+40=83']
Exploring Operation: 1+83=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 1*83=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[79, 43, 40, 78], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [43, 40, 1]
Generated Node #0,4: 82:[43, 40, 1] Operation: 79-78=1
Moving to Node #0,4
Current State: 82:[43, 40, 1], Operations: ['79-78=1']
Exploring Operation: 43+40=83, Resulting Numbers: [1, 83]
Generated Node #0,4,0: 82:[1, 83] Operation: 43+40=83
Moving to Node #0,4,0
Current State: 82:[1, 83], Operations: ['79-78=1', '43+40=83']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
54,
75,
39,
20
] | 100 | [
"54-39=15",
"75*20=1500",
"1500/15=100"
] | Current State: 100:[54, 75, 39, 20], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [75, 20, 15]
Generated Node #2: [75, 20, 15] from Operation: 54-39=15
Current State: 100:[75, 20, 15], Operations: ['54-39=15']
Exploring Operation: 75*20=1500, Resulting Numbers: [15, 1500]
Generated Node #3: [15, 1500] from Operation: 75*20=1500
Current State: 100:[15, 1500], Operations: ['54-39=15', '75*20=1500']
Exploring Operation: 1500/15=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[54, 75, 39, 20], Operations: []
Exploring Operation: 75-54=21, Resulting Numbers: [39, 20, 21]
Generated Node #0,0: 100:[39, 20, 21] Operation: 75-54=21
Exploring Operation: 75-39=36, Resulting Numbers: [54, 20, 36]
Generated Node #0,1: 100:[54, 20, 36] Operation: 75-39=36
Exploring Operation: 75+39=114, Resulting Numbers: [54, 20, 114]
Generated Node #0,2: 100:[54, 20, 114] Operation: 75+39=114
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[39, 20, 21], Operations: ['75-54=21']
Exploring Operation: 39+20=59, Resulting Numbers: [21, 59]
Generated Node #0,0,0: 100:[21, 59] Operation: 39+20=59
Exploring Operation: 39-20=19, Resulting Numbers: [21, 19]
Generated Node #0,0,1: 100:[21, 19] Operation: 39-20=19
Exploring Operation: 39-21=18, Resulting Numbers: [20, 18]
Generated Node #0,0,2: 100:[20, 18] Operation: 39-21=18
Moving to Node #0,0,1
Current State: 100:[21, 19], Operations: ['75-54=21', '39-20=19']
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,100 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[20, 18], Operations: ['75-54=21', '39-21=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,100 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[21, 59], Operations: ['75-54=21', '39+20=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,100 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,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
Current State: 100:[54, 20, 36], Operations: ['75-39=36']
Exploring Operation: 54+36=90, Resulting Numbers: [20, 90]
Generated Node #0,1,0: 100:[20, 90] Operation: 54+36=90
Exploring Operation: 36-20=16, Resulting Numbers: [54, 16]
Generated Node #0,1,1: 100:[54, 16] Operation: 36-20=16
Exploring Operation: 54-36=18, Resulting Numbers: [20, 18]
Generated Node #0,1,2: 100:[20, 18] Operation: 54-36=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[20, 18], Operations: ['75-39=36', '54-36=18']
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,100 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No 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: 100:[54, 16], Operations: ['75-39=36', '36-20=16']
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,100 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No 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: 100:[20, 90], Operations: ['75-39=36', '54+36=90']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 20*90=1800, Resulting Numbers: [1800]
1800,100 unequal: No Solution
Exploring Operation: 20+90=110, Resulting Numbers: [110]
110,100 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: 100:[54, 20, 114], Operations: ['75+39=114']
Exploring Operation: 114-54=60, Resulting Numbers: [20, 60]
Generated Node #0,2,0: 100:[20, 60] Operation: 114-54=60
Exploring Operation: 114-20=94, Resulting Numbers: [54, 94]
Generated Node #0,2,1: 100:[54, 94] Operation: 114-20=94
Exploring Operation: 54-20=34, Resulting Numbers: [114, 34]
Generated Node #0,2,2: 100:[114, 34] Operation: 54-20=34
Moving to Node #0,2,0
Current State: 100:[20, 60], Operations: ['75+39=114', '114-54=60']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 20+60=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[54, 94], Operations: ['75+39=114', '114-20=94']
Exploring Operation: 94-54=40, Resulting Numbers: [40]
40,100 unequal: No Solution
Exploring Operation: 54+94=148, Resulting Numbers: [148]
148,100 unequal: No Solution
Exploring Operation: 54*94=5076, Resulting Numbers: [5076]
5076,100 unequal: No Solution
Moving to Node #0,2,2
Current State: 100:[114, 34], Operations: ['75+39=114', '54-20=34']
Exploring Operation: 114-34=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 114*34=3876, Resulting Numbers: [3876]
3876,100 unequal: No Solution
Exploring Operation: 114+34=148, Resulting Numbers: [148]
148,100 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 |
[
40,
85,
68,
81
] | 57 | [
"85-81=4",
"68/4=17",
"40+17=57"
] | Current State: 57:[40, 85, 68, 81], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [40, 68, 4]
Generated Node #2: [40, 68, 4] from Operation: 85-81=4
Current State: 57:[40, 68, 4], Operations: ['85-81=4']
Exploring Operation: 68/4=17, Resulting Numbers: [40, 17]
Generated Node #3: [40, 17] from Operation: 68/4=17
Current State: 57:[40, 17], Operations: ['85-81=4', '68/4=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[40, 85, 68, 81], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [40, 68, 4]
Generated Node #0,0: 57:[40, 68, 4] Operation: 85-81=4
Exploring Operation: 85-68=17, Resulting Numbers: [40, 81, 17]
Generated Node #0,1: 57:[40, 81, 17] Operation: 85-68=17
Exploring Operation: 81-68=13, Resulting Numbers: [40, 85, 13]
Generated Node #0,2: 57:[40, 85, 13] Operation: 81-68=13
Exploring Operation: 85-40=45, Resulting Numbers: [68, 81, 45]
Generated Node #0,3: 57:[68, 81, 45] Operation: 85-40=45
Moving to Node #0,0
Current State: 57:[40, 68, 4], Operations: ['85-81=4']
Exploring Operation: 40/4=10, Resulting Numbers: [68, 10]
Generated Node #0,0,0: 57:[68, 10] Operation: 40/4=10
Exploring Operation: 68/4=17, Resulting Numbers: [40, 17]
Generated Node #0,0,1: 57:[40, 17] Operation: 68/4=17
Exploring Operation: 68-40=28, Resulting Numbers: [4, 28]
Generated Node #0,0,2: 57:[4, 28] Operation: 68-40=28
Exploring Operation: 40+4=44, Resulting Numbers: [68, 44]
Generated Node #0,0,3: 57:[68, 44] Operation: 40+4=44
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[4, 28], Operations: ['85-81=4', '68-40=28']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,57 unequal: No Solution
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[68, 10], Operations: ['85-81=4', '40/4=10']
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[40, 17], Operations: ['85-81=4', '68/4=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[40, 85, 68, 81], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [40, 68, 4]
Generated Node #0,0: 57:[40, 68, 4] Operation: 85-81=4
Moving to Node #0,0
Current State: 57:[40, 68, 4], Operations: ['85-81=4']
Exploring Operation: 68/4=17, Resulting Numbers: [40, 17]
Generated Node #0,0,1: 57:[40, 17] Operation: 68/4=17
Moving to Node #0,0,1
Current State: 57:[40, 17], Operations: ['85-81=4', '68/4=17']
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
57,
27,
41,
2
] | 38 | [
"57-41=16",
"27*2=54",
"54-16=38"
] | Current State: 38:[57, 27, 41, 2], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [27, 2, 16]
Generated Node #2: [27, 2, 16] from Operation: 57-41=16
Current State: 38:[27, 2, 16], Operations: ['57-41=16']
Exploring Operation: 27*2=54, Resulting Numbers: [16, 54]
Generated Node #3: [16, 54] from Operation: 27*2=54
Current State: 38:[16, 54], Operations: ['57-41=16', '27*2=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[57, 27, 41, 2], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [57, 2, 14]
Generated Node #0,0: 38:[57, 2, 14] Operation: 41-27=14
Exploring Operation: 57-41=16, Resulting Numbers: [27, 2, 16]
Generated Node #0,1: 38:[27, 2, 16] Operation: 57-41=16
Exploring Operation: 57-27=30, Resulting Numbers: [41, 2, 30]
Generated Node #0,2: 38:[41, 2, 30] Operation: 57-27=30
Exploring Operation: 27-2=25, Resulting Numbers: [57, 41, 25]
Generated Node #0,3: 38:[57, 41, 25] Operation: 27-2=25
Exploring Operation: 57-2=55, Resulting Numbers: [27, 41, 55]
Generated Node #0,4: 38:[27, 41, 55] Operation: 57-2=55
Moving to Node #0,1
Current State: 38:[27, 2, 16], Operations: ['57-41=16']
Exploring Operation: 27-2=25, Resulting Numbers: [16, 25]
Generated Node #0,1,0: 38:[16, 25] Operation: 27-2=25
Exploring Operation: 27+2=29, Resulting Numbers: [16, 29]
Generated Node #0,1,1: 38:[16, 29] Operation: 27+2=29
Exploring Operation: 27+16=43, Resulting Numbers: [2, 43]
Generated Node #0,1,2: 38:[2, 43] Operation: 27+16=43
Exploring Operation: 2+16=18, Resulting Numbers: [27, 18]
Generated Node #0,1,3: 38:[27, 18] Operation: 2+16=18
Exploring Operation: 27-16=11, Resulting Numbers: [2, 11]
Generated Node #0,1,4: 38:[2, 11] Operation: 27-16=11
Moving to Node #0,2
Current State: 38:[41, 2, 30], Operations: ['57-27=30']
Exploring Operation: 2+30=32, Resulting Numbers: [41, 32]
Generated Node #0,2,0: 38:[41, 32] Operation: 2+30=32
Exploring Operation: 30/2=15, Resulting Numbers: [41, 15]
Generated Node #0,2,1: 38:[41, 15] Operation: 30/2=15
Exploring Operation: 30-2=28, Resulting Numbers: [41, 28]
Generated Node #0,2,2: 38:[41, 28] Operation: 30-2=28
Exploring Operation: 41-2=39, Resulting Numbers: [30, 39]
Generated Node #0,2,3: 38:[30, 39] Operation: 41-2=39
Exploring Operation: 41-30=11, Resulting Numbers: [2, 11]
Generated Node #0,2,4: 38:[2, 11] Operation: 41-30=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[41, 15], Operations: ['57-27=30', '30/2=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,38 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,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,4
Current State: 38:[2, 11], Operations: ['57-27=30', '41-30=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,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:[41, 32], Operations: ['57-27=30', '2+30=32']
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,38 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,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:[30, 39], Operations: ['57-27=30', '41-2=39']
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,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,2
Current State: 38:[41, 28], Operations: ['57-27=30', '30-2=28']
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,38 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,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:[57, 2, 14], Operations: ['41-27=14']
Exploring Operation: 57+2=59, Resulting Numbers: [14, 59]
Generated Node #0,0,0: 38:[14, 59] Operation: 57+2=59
Exploring Operation: 14/2=7, Resulting Numbers: [57, 7]
Generated Node #0,0,1: 38:[57, 7] Operation: 14/2=7
Exploring Operation: 57-14=43, Resulting Numbers: [2, 43]
Generated Node #0,0,2: 38:[2, 43] Operation: 57-14=43
Exploring Operation: 57-2=55, Resulting Numbers: [14, 55]
Generated Node #0,0,3: 38:[14, 55] Operation: 57-2=55
Exploring Operation: 2+14=16, Resulting Numbers: [57, 16]
Generated Node #0,0,4: 38:[57, 16] Operation: 2+14=16
Moving to Node #0,3
Current State: 38:[57, 41, 25], Operations: ['27-2=25']
Exploring Operation: 57-41=16, Resulting Numbers: [25, 16]
Generated Node #0,3,0: 38:[25, 16] Operation: 57-41=16
Exploring Operation: 41-25=16, Resulting Numbers: [57, 16]
Generated Node #0,3,1: 38:[57, 16] Operation: 41-25=16
Exploring Operation: 41+25=66, Resulting Numbers: [57, 66]
Generated Node #0,3,2: 38:[57, 66] Operation: 41+25=66
Exploring Operation: 57-25=32, Resulting Numbers: [41, 32]
Generated Node #0,3,3: 38:[41, 32] Operation: 57-25=32
Exploring Operation: 57+25=82, Resulting Numbers: [41, 82]
Generated Node #0,3,4: 38:[41, 82] Operation: 57+25=82
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[25, 16], Operations: ['27-2=25', '57-41=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,38 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,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:[41, 32], Operations: ['27-2=25', '57-25=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,38 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,38 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,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,1
Current State: 38:[57, 16], Operations: ['27-2=25', '41-25=16']
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,38 unequal: No Solution
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,38 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,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:[57, 66], Operations: ['27-2=25', '41+25=66']
Exploring Operation: 57*66=3762, Resulting Numbers: [3762]
3762,38 unequal: No Solution
Exploring Operation: 66-57=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 57+66=123, Resulting Numbers: [123]
123,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,4
Current State: 38:[41, 82], Operations: ['27-2=25', '57+25=82']
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 41+82=123, Resulting Numbers: [123]
123,38 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 41*82=3362, Resulting Numbers: [3362]
3362,38 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: 38:[27, 41, 55], Operations: ['57-2=55']
Exploring Operation: 55-41=14, Resulting Numbers: [27, 14]
Generated Node #0,4,0: 38:[27, 14] Operation: 55-41=14
Exploring Operation: 27+55=82, Resulting Numbers: [41, 82]
Generated Node #0,4,1: 38:[41, 82] Operation: 27+55=82
Exploring Operation: 27+41=68, Resulting Numbers: [55, 68]
Generated Node #0,4,2: 38:[55, 68] Operation: 27+41=68
Exploring Operation: 41-27=14, Resulting Numbers: [55, 14]
Generated Node #0,4,3: 38:[55, 14] Operation: 41-27=14
Exploring Operation: 55-27=28, Resulting Numbers: [41, 28]
Generated Node #0,4,4: 38:[41, 28] Operation: 55-27=28
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 38:[41, 28], Operations: ['57-2=55', '55-27=28']
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 41+28=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Exploring Operation: 41*28=1148, Resulting Numbers: [1148]
1148,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,4,0
Current State: 38:[27, 14], Operations: ['57-2=55', '55-41=14']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 27*14=378, Resulting Numbers: [378]
378,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,4,3
Current State: 38:[55, 14], Operations: ['57-2=55', '41-27=14']
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 55*14=770, Resulting Numbers: [770]
770,38 unequal: No Solution
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,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,4,1
Current State: 38:[41, 82], Operations: ['57-2=55', '27+55=82']
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 41*82=3362, Resulting Numbers: [3362]
3362,38 unequal: No Solution
Exploring Operation: 41+82=123, Resulting Numbers: [123]
123,38 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,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,4,2
Current State: 38:[55, 68], Operations: ['57-2=55', '27+41=68']
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,38 unequal: No Solution
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,38 unequal: No Solution
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,38 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: 38:[2, 43], Operations: ['57-41=16', '27+16=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[2, 43], Operations: ['41-27=14', '57-14=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Moving to Node #0,1,4
Current State: 38:[2, 11], Operations: ['57-41=16', '27-16=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[16, 25], Operations: ['57-41=16', '27-2=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[27, 18], Operations: ['57-41=16', '2+16=18']
Exploring Operation: 27*18=486, Resulting Numbers: [486]
486,38 unequal: No Solution
Exploring Operation: 27+18=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[16, 29], Operations: ['57-41=16', '27+2=29']
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,38 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[14, 55], Operations: ['41-27=14', '57-2=55']
Exploring Operation: 14*55=770, Resulting Numbers: [770]
770,38 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 14+55=69, Resulting Numbers: [69]
69,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[57, 16], Operations: ['41-27=14', '2+14=16']
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,38 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,38 unequal: No Solution
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[57, 7], Operations: ['41-27=14', '14/2=7']
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,38 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[14, 59], Operations: ['41-27=14', '57+2=59']
Exploring Operation: 14*59=826, Resulting Numbers: [826]
826,38 unequal: No Solution
Exploring Operation: 14+59=73, Resulting Numbers: [73]
73,38 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,38 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
66,
89,
6,
11
] | 18 | [
"89-66=23",
"11-6=5",
"23-5=18"
] | Current State: 18:[66, 89, 6, 11], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [6, 11, 23]
Generated Node #2: [6, 11, 23] from Operation: 89-66=23
Current State: 18:[6, 11, 23], Operations: ['89-66=23']
Exploring Operation: 11-6=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 11-6=5
Current State: 18:[23, 5], Operations: ['89-66=23', '11-6=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[66, 89, 6, 11], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [89, 6, 6]
Generated Node #0,0: 18:[89, 6, 6] Operation: 66/11=6
Exploring Operation: 66/6=11, Resulting Numbers: [89, 11, 11]
Generated Node #0,1: 18:[89, 11, 11] Operation: 66/6=11
Exploring Operation: 66-11=55, Resulting Numbers: [89, 6, 55]
Generated Node #0,2: 18:[89, 6, 55] Operation: 66-11=55
Exploring Operation: 89-11=78, Resulting Numbers: [66, 6, 78]
Generated Node #0,3: 18:[66, 6, 78] Operation: 89-11=78
Exploring Operation: 89-66=23, Resulting Numbers: [6, 11, 23]
Generated Node #0,4: 18:[6, 11, 23] Operation: 89-66=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[6, 11, 23], Operations: ['89-66=23']
Exploring Operation: 6+23=29, Resulting Numbers: [11, 29]
Generated Node #0,4,0: 18:[11, 29] Operation: 6+23=29
Exploring Operation: 6+11=17, Resulting Numbers: [23, 17]
Generated Node #0,4,1: 18:[23, 17] Operation: 6+11=17
Exploring Operation: 11-6=5, Resulting Numbers: [23, 5]
Generated Node #0,4,2: 18:[23, 5] Operation: 11-6=5
Exploring Operation: 23-6=17, Resulting Numbers: [11, 17]
Generated Node #0,4,3: 18:[11, 17] Operation: 23-6=17
Exploring Operation: 23-11=12, Resulting Numbers: [6, 12]
Generated Node #0,4,4: 18:[6, 12] Operation: 23-11=12
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 18:[11, 17], Operations: ['89-66=23', '23-6=17']
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,18 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,18 unequal: No Solution
No 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: 18:[6, 12], Operations: ['89-66=23', '23-11=12']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[66, 89, 6, 11], Operations: []
Exploring Operation: 89-66=23, Resulting Numbers: [6, 11, 23]
Generated Node #0,4: 18:[6, 11, 23] Operation: 89-66=23
Moving to Node #0,4
Current State: 18:[6, 11, 23], Operations: ['89-66=23']
Exploring Operation: 23-11=12, Resulting Numbers: [6, 12]
Generated Node #0,4,4: 18:[6, 12] Operation: 23-11=12
Moving to Node #0,4,4
Current State: 18:[6, 12], Operations: ['89-66=23', '23-11=12']
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
13,
1,
48,
21
] | 40 | [
"13*1=13",
"48-21=27",
"13+27=40"
] | Current State: 40:[13, 1, 48, 21], Operations: []
Exploring Operation: 13*1=13, Resulting Numbers: [48, 21, 13]
Generated Node #2: [48, 21, 13] from Operation: 13*1=13
Current State: 40:[48, 21, 13], Operations: ['13*1=13']
Exploring Operation: 48-21=27, Resulting Numbers: [13, 27]
Generated Node #3: [13, 27] from Operation: 48-21=27
Current State: 40:[13, 27], Operations: ['13*1=13', '48-21=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[13, 1, 48, 21], Operations: []
Exploring Operation: 13-1=12, Resulting Numbers: [48, 21, 12]
Generated Node #0,0: 40:[48, 21, 12] Operation: 13-1=12
Exploring Operation: 21-13=8, Resulting Numbers: [1, 48, 8]
Generated Node #0,1: 40:[1, 48, 8] Operation: 21-13=8
Exploring Operation: 48-13=35, Resulting Numbers: [1, 21, 35]
Generated Node #0,2: 40:[1, 21, 35] Operation: 48-13=35
Exploring Operation: 48-1=47, Resulting Numbers: [13, 21, 47]
Generated Node #0,3: 40:[13, 21, 47] Operation: 48-1=47
Exploring Operation: 21-1=20, Resulting Numbers: [13, 48, 20]
Generated Node #0,4: 40:[13, 48, 20] Operation: 21-1=20
Moving to Node #0,2
Current State: 40:[1, 21, 35], Operations: ['48-13=35']
Exploring Operation: 21-1=20, Resulting Numbers: [35, 20]
Generated Node #0,2,0: 40:[35, 20] Operation: 21-1=20
Exploring Operation: 35-21=14, Resulting Numbers: [1, 14]
Generated Node #0,2,1: 40:[1, 14] Operation: 35-21=14
Exploring Operation: 1+35=36, Resulting Numbers: [21, 36]
Generated Node #0,2,2: 40:[21, 36] Operation: 1+35=36
Exploring Operation: 1*21=21, Resulting Numbers: [35, 21]
Generated Node #0,2,3: 40:[35, 21] Operation: 1*21=21
Exploring Operation: 21/1=21, Resulting Numbers: [35, 21]
Generated Node #0,2,4: 40:[35, 21] Operation: 21/1=21
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[35, 20], Operations: ['48-13=35', '21-1=20']
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,40 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[1, 14], Operations: ['48-13=35', '35-21=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[21, 36], Operations: ['48-13=35', '1+35=36']
Exploring Operation: 21+36=57, Resulting Numbers: [57]
57,40 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,40 unequal: No Solution
Exploring Operation: 21*36=756, Resulting Numbers: [756]
756,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[35, 21], Operations: ['48-13=35', '1*21=21']
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,40 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 40:[35, 21], Operations: ['48-13=35', '21/1=21']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 35+21=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 35*21=735, Resulting Numbers: [735]
735,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 40:[1, 48, 8], Operations: ['21-13=8']
Exploring Operation: 48-8=40, Resulting Numbers: [1, 40]
Generated Node #0,1,0: 40:[1, 40] Operation: 48-8=40
Exploring Operation: 48-1=47, Resulting Numbers: [8, 47]
Generated Node #0,1,1: 40:[8, 47] Operation: 48-1=47
Exploring Operation: 48/1=48, Resulting Numbers: [8, 48]
Generated Node #0,1,2: 40:[8, 48] Operation: 48/1=48
Exploring Operation: 48/8=6, Resulting Numbers: [1, 6]
Generated Node #0,1,3: 40:[1, 6] Operation: 48/8=6
Exploring Operation: 1*48=48, Resulting Numbers: [8, 48]
Generated Node #0,1,4: 40:[8, 48] Operation: 1*48=48
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[1, 40], Operations: ['21-13=8', '48-8=40']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[13, 1, 48, 21], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [1, 48, 8]
Generated Node #0,1: 40:[1, 48, 8] Operation: 21-13=8
Moving to Node #0,1
Current State: 40:[1, 48, 8], Operations: ['21-13=8']
Exploring Operation: 48-8=40, Resulting Numbers: [1, 40]
Generated Node #0,1,0: 40:[1, 40] Operation: 48-8=40
Moving to Node #0,1,0
Current State: 40:[1, 40], Operations: ['21-13=8', '48-8=40']
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
11,
38,
10,
81
] | 31 | [
"81-11=70",
"70/10=7",
"38-7=31"
] | Current State: 31:[11, 38, 10, 81], Operations: []
Exploring Operation: 81-11=70, Resulting Numbers: [38, 10, 70]
Generated Node #2: [38, 10, 70] from Operation: 81-11=70
Current State: 31:[38, 10, 70], Operations: ['81-11=70']
Exploring Operation: 70/10=7, Resulting Numbers: [38, 7]
Generated Node #3: [38, 7] from Operation: 70/10=7
Current State: 31:[38, 7], Operations: ['81-11=70', '70/10=7']
Exploring Operation: 38-7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[11, 38, 10, 81], Operations: []
Exploring Operation: 81-38=43, Resulting Numbers: [11, 10, 43]
Generated Node #0,0: 31:[11, 10, 43] Operation: 81-38=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[11, 10, 43], Operations: ['81-38=43']
Exploring Operation: 11+10=21, Resulting Numbers: [43, 21]
Generated Node #0,0,0: 31:[43, 21] Operation: 11+10=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[43, 21], Operations: ['81-38=43', '11+10=21']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,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_1 | mult_heuristic |
[
20,
57,
13,
38
] | 17 | [
"20*57=1140",
"1140/38=30",
"30-13=17"
] | Current State: 17:[20, 57, 13, 38], Operations: []
Exploring Operation: 20*57=1140, Resulting Numbers: [13, 38, 1140]
Generated Node #2: [13, 38, 1140] from Operation: 20*57=1140
Current State: 17:[13, 38, 1140], Operations: ['20*57=1140']
Exploring Operation: 1140/38=30, Resulting Numbers: [13, 30]
Generated Node #3: [13, 30] from Operation: 1140/38=30
Current State: 17:[13, 30], Operations: ['20*57=1140', '1140/38=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[20, 57, 13, 38], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [57, 13, 18]
Generated Node #0,0: 17:[57, 13, 18] Operation: 38-20=18
Exploring Operation: 57-20=37, Resulting Numbers: [13, 38, 37]
Generated Node #0,1: 17:[13, 38, 37] Operation: 57-20=37
Exploring Operation: 57-38=19, Resulting Numbers: [20, 13, 19]
Generated Node #0,2: 17:[20, 13, 19] Operation: 57-38=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[20, 13, 19], Operations: ['57-38=19']
Exploring Operation: 20+13=33, Resulting Numbers: [19, 33]
Generated Node #0,2,0: 17:[19, 33] Operation: 20+13=33
Exploring Operation: 19-13=6, Resulting Numbers: [20, 6]
Generated Node #0,2,1: 17:[20, 6] Operation: 19-13=6
Exploring Operation: 20-13=7, Resulting Numbers: [19, 7]
Generated Node #0,2,2: 17:[19, 7] Operation: 20-13=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 17:[19, 7], Operations: ['57-38=19', '20-13=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,17 unequal: No Solution
No 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: 17:[20, 6], Operations: ['57-38=19', '19-13=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,17 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No 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: 17:[19, 33], Operations: ['57-38=19', '20+13=33']
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,17 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,17 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: 17:[57, 13, 18], Operations: ['38-20=18']
Exploring Operation: 18-13=5, Resulting Numbers: [57, 5]
Generated Node #0,0,0: 17:[57, 5] Operation: 18-13=5
Exploring Operation: 57-18=39, Resulting Numbers: [13, 39]
Generated Node #0,0,1: 17:[13, 39] Operation: 57-18=39
Exploring Operation: 57-13=44, Resulting Numbers: [18, 44]
Generated Node #0,0,2: 17:[18, 44] Operation: 57-13=44
Moving to Node #0,0,1
Current State: 17:[13, 39], Operations: ['38-20=18', '57-18=39']
Exploring Operation: 39/13=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 39-13=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 13+39=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[18, 44], Operations: ['38-20=18', '57-13=44']
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,17 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[57, 5], Operations: ['38-20=18', '18-13=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,17 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,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,1
Current State: 17:[13, 38, 37], Operations: ['57-20=37']
Exploring Operation: 38-37=1, Resulting Numbers: [13, 1]
Generated Node #0,1,0: 17:[13, 1] Operation: 38-37=1
Exploring Operation: 38-13=25, Resulting Numbers: [37, 25]
Generated Node #0,1,1: 17:[37, 25] Operation: 38-13=25
Exploring Operation: 37-13=24, Resulting Numbers: [38, 24]
Generated Node #0,1,2: 17:[38, 24] Operation: 37-13=24
Moving to Node #0,1,0
Current State: 17:[13, 1], Operations: ['57-20=37', '38-37=1']
Exploring Operation: 13+1=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 13/1=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[37, 25], Operations: ['57-20=37', '38-13=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,17 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[38, 24], Operations: ['57-20=37', '37-13=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,17 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
10,
94,
8,
38
] | 100 | [
"10+38=48",
"48/8=6",
"94+6=100"
] | Current State: 100:[10, 94, 8, 38], Operations: []
Exploring Operation: 10+38=48, Resulting Numbers: [94, 8, 48]
Generated Node #2: [94, 8, 48] from Operation: 10+38=48
Current State: 100:[94, 8, 48], Operations: ['10+38=48']
Exploring Operation: 48/8=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 48/8=6
Current State: 100:[94, 6], Operations: ['10+38=48', '48/8=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[10, 94, 8, 38], Operations: []
Exploring Operation: 94-38=56, Resulting Numbers: [10, 8, 56]
Generated Node #0,0: 100:[10, 8, 56] Operation: 94-38=56
Exploring Operation: 8+38=46, Resulting Numbers: [10, 94, 46]
Generated Node #0,1: 100:[10, 94, 46] Operation: 8+38=46
Exploring Operation: 38-10=28, Resulting Numbers: [94, 8, 28]
Generated Node #0,2: 100:[94, 8, 28] Operation: 38-10=28
Exploring Operation: 38-8=30, Resulting Numbers: [10, 94, 30]
Generated Node #0,3: 100:[10, 94, 30] Operation: 38-8=30
Exploring Operation: 10+38=48, Resulting Numbers: [94, 8, 48]
Generated Node #0,4: 100:[94, 8, 48] Operation: 10+38=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[10, 8, 56], Operations: ['94-38=56']
Exploring Operation: 10+8=18, Resulting Numbers: [56, 18]
Generated Node #0,0,0: 100:[56, 18] Operation: 10+8=18
Exploring Operation: 10-8=2, Resulting Numbers: [56, 2]
Generated Node #0,0,1: 100:[56, 2] Operation: 10-8=2
Exploring Operation: 56-8=48, Resulting Numbers: [10, 48]
Generated Node #0,0,2: 100:[10, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [10, 7]
Generated Node #0,0,3: 100:[10, 7] Operation: 56/8=7
Exploring Operation: 56-10=46, Resulting Numbers: [8, 46]
Generated Node #0,0,4: 100:[8, 46] Operation: 56-10=46
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[10, 48], Operations: ['94-38=56', '56-8=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,100 unequal: No Solution
No 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: 100:[10, 7], Operations: ['94-38=56', '56/8=7']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,100 unequal: No Solution
No 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: 100:[56, 2], Operations: ['94-38=56', '10-8=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 56*2=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,100 unequal: No Solution
No 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: 100:[8, 46], Operations: ['94-38=56', '56-10=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,100 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,100 unequal: No Solution
No 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: 100:[56, 18], Operations: ['94-38=56', '10+8=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,100 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,100 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,100 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: 100:[10, 94, 46], Operations: ['8+38=46']
Exploring Operation: 10+46=56, Resulting Numbers: [94, 56]
Generated Node #0,1,0: 100:[94, 56] Operation: 10+46=56
Exploring Operation: 94-46=48, Resulting Numbers: [10, 48]
Generated Node #0,1,1: 100:[10, 48] Operation: 94-46=48
Exploring Operation: 94-10=84, Resulting Numbers: [46, 84]
Generated Node #0,1,2: 100:[46, 84] Operation: 94-10=84
Exploring Operation: 46-10=36, Resulting Numbers: [94, 36]
Generated Node #0,1,3: 100:[94, 36] Operation: 46-10=36
Exploring Operation: 10+94=104, Resulting Numbers: [46, 104]
Generated Node #0,1,4: 100:[46, 104] Operation: 10+94=104
Moving to Node #0,1,1
Current State: 100:[10, 48], Operations: ['8+38=46', '94-46=48']
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 10*48=480, Resulting Numbers: [480]
480,100 unequal: No Solution
Moving to Node #0,1,4
Current State: 100:[46, 104], Operations: ['8+38=46', '10+94=104']
Exploring Operation: 46*104=4784, Resulting Numbers: [4784]
4784,100 unequal: No Solution
Exploring Operation: 46+104=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 104-46=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[94, 56], Operations: ['8+38=46', '10+46=56']
Exploring Operation: 94+56=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 94*56=5264, Resulting Numbers: [5264]
5264,100 unequal: No Solution
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[94, 36], Operations: ['8+38=46', '46-10=36']
Exploring Operation: 94*36=3384, Resulting Numbers: [3384]
3384,100 unequal: No Solution
Exploring Operation: 94+36=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[46, 84], Operations: ['8+38=46', '94-10=84']
Exploring Operation: 46+84=130, Resulting Numbers: [130]
130,100 unequal: No Solution
Exploring Operation: 46*84=3864, Resulting Numbers: [3864]
3864,100 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,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,4
Current State: 100:[94, 8, 48], Operations: ['10+38=48']
Exploring Operation: 8+48=56, Resulting Numbers: [94, 56]
Generated Node #0,4,0: 100:[94, 56] Operation: 8+48=56
Exploring Operation: 94+8=102, Resulting Numbers: [48, 102]
Generated Node #0,4,1: 100:[48, 102] Operation: 94+8=102
Exploring Operation: 48/8=6, Resulting Numbers: [94, 6]
Generated Node #0,4,2: 100:[94, 6] Operation: 48/8=6
Exploring Operation: 94-48=46, Resulting Numbers: [8, 46]
Generated Node #0,4,3: 100:[8, 46] Operation: 94-48=46
Exploring Operation: 94-8=86, Resulting Numbers: [48, 86]
Generated Node #0,4,4: 100:[48, 86] Operation: 94-8=86
Moving to Node #0,4,1
Current State: 100:[48, 102], Operations: ['10+38=48', '94+8=102']
Exploring Operation: 48+102=150, Resulting Numbers: [150]
150,100 unequal: No Solution
Exploring Operation: 48*102=4896, Resulting Numbers: [4896]
4896,100 unequal: No Solution
Exploring Operation: 102-48=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Moving to Node #0,4,3
Current State: 100:[8, 46], Operations: ['10+38=48', '94-48=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,100 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,100 unequal: No Solution
Moving to Node #0,4,2
Current State: 100:[94, 6], Operations: ['10+38=48', '48/8=6']
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,100 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[10, 94, 8, 38], Operations: []
Exploring Operation: 10+38=48, Resulting Numbers: [94, 8, 48]
Generated Node #0,4: 100:[94, 8, 48] Operation: 10+38=48
Moving to Node #0,4
Current State: 100:[94, 8, 48], Operations: ['10+38=48']
Exploring Operation: 48/8=6, Resulting Numbers: [94, 6]
Generated Node #0,4,2: 100:[94, 6] Operation: 48/8=6
Moving to Node #0,4,2
Current State: 100:[94, 6], Operations: ['10+38=48', '48/8=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.944444 | hs_5 | mult_heuristic |
[
77,
1,
24,
27
] | 74 | [
"77*1=77",
"27-24=3",
"77-3=74"
] | Current State: 74:[77, 1, 24, 27], Operations: []
Exploring Operation: 77*1=77, Resulting Numbers: [24, 27, 77]
Generated Node #2: [24, 27, 77] from Operation: 77*1=77
Current State: 74:[24, 27, 77], Operations: ['77*1=77']
Exploring Operation: 27-24=3, Resulting Numbers: [77, 3]
Generated Node #3: [77, 3] from Operation: 27-24=3
Current State: 74:[77, 3], Operations: ['77*1=77', '27-24=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[77, 1, 24, 27], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [77, 1, 3]
Generated Node #0,0: 74:[77, 1, 3] Operation: 27-24=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[77, 1, 3], Operations: ['27-24=3']
Exploring Operation: 77-3=74, Resulting Numbers: [1, 74]
Generated Node #0,0,0: 74:[1, 74] Operation: 77-3=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[1, 74], Operations: ['27-24=3', '77-3=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[77, 1, 24, 27], Operations: []
Exploring Operation: 27-24=3, Resulting Numbers: [77, 1, 3]
Generated Node #0,0: 74:[77, 1, 3] Operation: 27-24=3
Moving to Node #0,0
Current State: 74:[77, 1, 3], Operations: ['27-24=3']
Exploring Operation: 77-3=74, Resulting Numbers: [1, 74]
Generated Node #0,0,0: 74:[1, 74] Operation: 77-3=74
Moving to Node #0,0,0
Current State: 74:[1, 74], Operations: ['27-24=3', '77-3=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
15,
43,
18,
36
] | 31 | [
"18-15=3",
"36/3=12",
"43-12=31"
] | Current State: 31:[15, 43, 18, 36], Operations: []
Exploring Operation: 18-15=3, Resulting Numbers: [43, 36, 3]
Generated Node #2: [43, 36, 3] from Operation: 18-15=3
Current State: 31:[43, 36, 3], Operations: ['18-15=3']
Exploring Operation: 36/3=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 36/3=12
Current State: 31:[43, 12], Operations: ['18-15=3', '36/3=12']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[15, 43, 18, 36], Operations: []
Exploring Operation: 43-18=25, Resulting Numbers: [15, 36, 25]
Generated Node #0,0: 31:[15, 36, 25] Operation: 43-18=25
Exploring Operation: 15+18=33, Resulting Numbers: [43, 36, 33]
Generated Node #0,1: 31:[43, 36, 33] Operation: 15+18=33
Exploring Operation: 43-15=28, Resulting Numbers: [18, 36, 28]
Generated Node #0,2: 31:[18, 36, 28] Operation: 43-15=28
Exploring Operation: 36-15=21, Resulting Numbers: [43, 18, 21]
Generated Node #0,3: 31:[43, 18, 21] Operation: 36-15=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[43, 36, 33], Operations: ['15+18=33']
Exploring Operation: 43-36=7, Resulting Numbers: [33, 7]
Generated Node #0,1,0: 31:[33, 7] Operation: 43-36=7
Exploring Operation: 36-33=3, Resulting Numbers: [43, 3]
Generated Node #0,1,1: 31:[43, 3] Operation: 36-33=3
Exploring Operation: 43+36=79, Resulting Numbers: [33, 79]
Generated Node #0,1,2: 31:[33, 79] Operation: 43+36=79
Exploring Operation: 43-33=10, Resulting Numbers: [36, 10]
Generated Node #0,1,3: 31:[36, 10] Operation: 43-33=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[33, 7], Operations: ['15+18=33', '43-36=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,31 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,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,3
Current State: 31:[36, 10], Operations: ['15+18=33', '43-33=10']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,31 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,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,1
Current State: 31:[43, 3], Operations: ['15+18=33', '36-33=3']
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,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,2
Current State: 31:[33, 79], Operations: ['15+18=33', '43+36=79']
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,31 unequal: No Solution
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,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,2
Current State: 31:[18, 36, 28], Operations: ['43-15=28']
Exploring Operation: 18+36=54, Resulting Numbers: [28, 54]
Generated Node #0,2,0: 31:[28, 54] Operation: 18+36=54
Exploring Operation: 36-18=18, Resulting Numbers: [28, 18]
Generated Node #0,2,1: 31:[28, 18] Operation: 36-18=18
Exploring Operation: 18+28=46, Resulting Numbers: [36, 46]
Generated Node #0,2,2: 31:[36, 46] Operation: 18+28=46
Exploring Operation: 28-18=10, Resulting Numbers: [36, 10]
Generated Node #0,2,3: 31:[36, 10] Operation: 28-18=10
Moving to Node #0,2,1
Current State: 31:[28, 18], Operations: ['43-15=28', '36-18=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,31 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[36, 46], Operations: ['43-15=28', '18+28=46']
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,31 unequal: No Solution
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[36, 10], Operations: ['43-15=28', '28-18=10']
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,31 unequal: No Solution
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[28, 54], Operations: ['43-15=28', '18+36=54']
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,31 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,31 unequal: No Solution
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,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:[15, 36, 25], Operations: ['43-18=25']
Exploring Operation: 25-15=10, Resulting Numbers: [36, 10]
Generated Node #0,0,0: 31:[36, 10] Operation: 25-15=10
Exploring Operation: 36-15=21, Resulting Numbers: [25, 21]
Generated Node #0,0,1: 31:[25, 21] Operation: 36-15=21
Exploring Operation: 15+25=40, Resulting Numbers: [36, 40]
Generated Node #0,0,2: 31:[36, 40] Operation: 15+25=40
Exploring Operation: 15+36=51, Resulting Numbers: [25, 51]
Generated Node #0,0,3: 31:[25, 51] Operation: 15+36=51
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 31:[36, 40], Operations: ['43-18=25', '15+25=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
No 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:[25, 21], Operations: ['43-18=25', '36-15=21']
Exploring Operation: 25*21=525, Resulting Numbers: [525]
525,31 unequal: No Solution
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,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,0
Current State: 31:[36, 10], Operations: ['43-18=25', '25-15=10']
Exploring Operation: 36+10=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 36*10=360, Resulting Numbers: [360]
360,31 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,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,3
Current State: 31:[25, 51], Operations: ['43-18=25', '15+36=51']
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,31 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,31 unequal: No Solution
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,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,3
Current State: 31:[43, 18, 21], Operations: ['36-15=21']
Exploring Operation: 18+21=39, Resulting Numbers: [43, 39]
Generated Node #0,3,0: 31:[43, 39] Operation: 18+21=39
Exploring Operation: 43-21=22, Resulting Numbers: [18, 22]
Generated Node #0,3,1: 31:[18, 22] Operation: 43-21=22
Exploring Operation: 43-18=25, Resulting Numbers: [21, 25]
Generated Node #0,3,2: 31:[21, 25] Operation: 43-18=25
Exploring Operation: 43+18=61, Resulting Numbers: [21, 61]
Generated Node #0,3,3: 31:[21, 61] Operation: 43+18=61
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 31:[21, 25], Operations: ['36-15=21', '43-18=25']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,31 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,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,3,0
Current State: 31:[43, 39], Operations: ['36-15=21', '18+21=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,31 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,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,3,1
Current State: 31:[18, 22], Operations: ['36-15=21', '43-21=22']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,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,3,3
Current State: 31:[21, 61], Operations: ['36-15=21', '43+18=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,31 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,31 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,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_4 | sum_heuristic |
[
64,
29,
3,
28
] | 77 | [
"64-29=35",
"3*35=105",
"105-28=77"
] | Current State: 77:[64, 29, 3, 28], Operations: []
Exploring Operation: 64-29=35, Resulting Numbers: [3, 28, 35]
Generated Node #2: [3, 28, 35] from Operation: 64-29=35
Current State: 77:[3, 28, 35], Operations: ['64-29=35']
Exploring Operation: 3*35=105, Resulting Numbers: [28, 105]
Generated Node #3: [28, 105] from Operation: 3*35=105
Current State: 77:[28, 105], Operations: ['64-29=35', '3*35=105']
Exploring Operation: 105-28=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[64, 29, 3, 28], Operations: []
Exploring Operation: 64+29=93, Resulting Numbers: [3, 28, 93]
Generated Node #0,0: 77:[3, 28, 93] Operation: 64+29=93
Exploring Operation: 29-28=1, Resulting Numbers: [64, 3, 1]
Generated Node #0,1: 77:[64, 3, 1] Operation: 29-28=1
Moving to Node #0,1
Current State: 77:[64, 3, 1], Operations: ['29-28=1']
Exploring Operation: 64+3=67, Resulting Numbers: [1, 67]
Generated Node #0,1,0: 77:[1, 67] Operation: 64+3=67
Exploring Operation: 64+1=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 77:[3, 65] Operation: 64+1=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[1, 67], Operations: ['29-28=1', '64+3=67']
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[3, 65], Operations: ['29-28=1', '64+1=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 77:[3, 28, 93], Operations: ['64+29=93']
Exploring Operation: 93-28=65, Resulting Numbers: [3, 65]
Generated Node #0,0,0: 77:[3, 65] Operation: 93-28=65
Exploring Operation: 3*28=84, Resulting Numbers: [93, 84]
Generated Node #0,0,1: 77:[93, 84] Operation: 3*28=84
Moving to Node #0,0,0
Current State: 77:[3, 65], Operations: ['64+29=93', '93-28=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,77 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[93, 84], Operations: ['64+29=93', '3*28=84']
Exploring Operation: 93+84=177, Resulting Numbers: [177]
177,77 unequal: No Solution
Exploring Operation: 93-84=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
80,
40,
90,
52
] | 76 | [
"80/40=2",
"90-52=38",
"2*38=76"
] | Current State: 76:[80, 40, 90, 52], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [90, 52, 2]
Generated Node #2: [90, 52, 2] from Operation: 80/40=2
Current State: 76:[90, 52, 2], Operations: ['80/40=2']
Exploring Operation: 90-52=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 90-52=38
Current State: 76:[2, 38], Operations: ['80/40=2', '90-52=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[80, 40, 90, 52], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [80, 90, 12]
Generated Node #0,0: 76:[80, 90, 12] Operation: 52-40=12
Exploring Operation: 80-52=28, Resulting Numbers: [40, 90, 28]
Generated Node #0,1: 76:[40, 90, 28] Operation: 80-52=28
Exploring Operation: 80/40=2, Resulting Numbers: [90, 52, 2]
Generated Node #0,2: 76:[90, 52, 2] Operation: 80/40=2
Exploring Operation: 90-52=38, Resulting Numbers: [80, 40, 38]
Generated Node #0,3: 76:[80, 40, 38] Operation: 90-52=38
Exploring Operation: 90-80=10, Resulting Numbers: [40, 52, 10]
Generated Node #0,4: 76:[40, 52, 10] Operation: 90-80=10
Moving to Node #0,3
Current State: 76:[80, 40, 38], Operations: ['90-52=38']
Exploring Operation: 80/40=2, Resulting Numbers: [38, 2]
Generated Node #0,3,0: 76:[38, 2] Operation: 80/40=2
Exploring Operation: 40+38=78, Resulting Numbers: [80, 78]
Generated Node #0,3,1: 76:[80, 78] Operation: 40+38=78
Exploring Operation: 80-40=40, Resulting Numbers: [38, 40]
Generated Node #0,3,2: 76:[38, 40] Operation: 80-40=40
Exploring Operation: 40-38=2, Resulting Numbers: [80, 2]
Generated Node #0,3,3: 76:[80, 2] Operation: 40-38=2
Exploring Operation: 80-38=42, Resulting Numbers: [40, 42]
Generated Node #0,3,4: 76:[40, 42] Operation: 80-38=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[38, 2], Operations: ['90-52=38', '80/40=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[80, 40, 90, 52], Operations: []
Exploring Operation: 90-52=38, Resulting Numbers: [80, 40, 38]
Generated Node #0,3: 76:[80, 40, 38] Operation: 90-52=38
Moving to Node #0,3
Current State: 76:[80, 40, 38], Operations: ['90-52=38']
Exploring Operation: 80/40=2, Resulting Numbers: [38, 2]
Generated Node #0,3,0: 76:[38, 2] Operation: 80/40=2
Moving to Node #0,3,0
Current State: 76:[38, 2], Operations: ['90-52=38', '80/40=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
19,
85,
81,
8
] | 68 | [
"19+85=104",
"104/8=13",
"81-13=68"
] | Current State: 68:[19, 85, 81, 8], Operations: []
Exploring Operation: 19+85=104, Resulting Numbers: [81, 8, 104]
Generated Node #2: [81, 8, 104] from Operation: 19+85=104
Current State: 68:[81, 8, 104], Operations: ['19+85=104']
Exploring Operation: 104/8=13, Resulting Numbers: [81, 13]
Generated Node #3: [81, 13] from Operation: 104/8=13
Current State: 68:[81, 13], Operations: ['19+85=104', '104/8=13']
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[19, 85, 81, 8], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [19, 8, 4]
Generated Node #0,0: 68:[19, 8, 4] Operation: 85-81=4
Exploring Operation: 85-19=66, Resulting Numbers: [81, 8, 66]
Generated Node #0,1: 68:[81, 8, 66] Operation: 85-19=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[19, 8, 4], Operations: ['85-81=4']
Exploring Operation: 8-4=4, Resulting Numbers: [19, 4]
Generated Node #0,0,0: 68:[19, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 68:[19, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[19, 4], Operations: ['85-81=4', '8-4=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[19, 2], Operations: ['85-81=4', '8/4=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[81, 8, 66], Operations: ['85-19=66']
Exploring Operation: 81-66=15, Resulting Numbers: [8, 15]
Generated Node #0,1,0: 68:[8, 15] Operation: 81-66=15
Exploring Operation: 81-8=73, Resulting Numbers: [66, 73]
Generated Node #0,1,1: 68:[66, 73] Operation: 81-8=73
Moving to Node #0,1,0
Current State: 68:[8, 15], Operations: ['85-19=66', '81-66=15']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[66, 73], Operations: ['85-19=66', '81-8=73']
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,68 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.