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 |
|---|---|---|---|---|---|---|---|---|
[
74,
80,
4,
58
] | 16 | [
"80-74=6",
"58+6=64",
"64/4=16"
] | Current State: 16:[74, 80, 4, 58], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [4, 58, 6]
Generated Node #2: [4, 58, 6] from Operation: 80-74=6
Current State: 16:[4, 58, 6], Operations: ['80-74=6']
Exploring Operation: 58+6=64, Resulting Numbers: [4, 64]
Generated Node #3: [4, 64] from Operation: 58+6=64
Current State: 16:[4, 64], Operations: ['80-74=6', '58+6=64']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[74, 80, 4, 58], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [4, 58, 6]
Generated Node #0,0: 16:[4, 58, 6] Operation: 80-74=6
Exploring Operation: 74-58=16, Resulting Numbers: [80, 4, 16]
Generated Node #0,1: 16:[80, 4, 16] Operation: 74-58=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[4, 58, 6], Operations: ['80-74=6']
Exploring Operation: 58-6=52, Resulting Numbers: [4, 52]
Generated Node #0,0,0: 16:[4, 52] Operation: 58-6=52
Exploring Operation: 58-4=54, Resulting Numbers: [6, 54]
Generated Node #0,0,1: 16:[6, 54] Operation: 58-4=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[4, 52], Operations: ['80-74=6', '58-6=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,16 unequal: No Solution
No 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: 16:[6, 54], Operations: ['80-74=6', '58-4=54']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,16 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: 16:[80, 4, 16], Operations: ['74-58=16']
Exploring Operation: 80/16=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 16:[4, 5] Operation: 80/16=5
Exploring Operation: 80/4=20, Resulting Numbers: [16, 20]
Generated Node #0,1,1: 16:[16, 20] Operation: 80/4=20
Moving to Node #0,1,0
Current State: 16:[4, 5], Operations: ['74-58=16', '80/16=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[16, 20], Operations: ['74-58=16', '80/4=20']
Exploring Operation: 16+20=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
94,
99,
8,
11
] | 48 | [
"99-94=5",
"11-5=6",
"8*6=48"
] | Current State: 48:[94, 99, 8, 11], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [8, 11, 5]
Generated Node #2: [8, 11, 5] from Operation: 99-94=5
Current State: 48:[8, 11, 5], Operations: ['99-94=5']
Exploring Operation: 11-5=6, Resulting Numbers: [8, 6]
Generated Node #3: [8, 6] from Operation: 11-5=6
Current State: 48:[8, 6], Operations: ['99-94=5', '11-5=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[94, 99, 8, 11], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [8, 11, 5]
Generated Node #0,0: 48:[8, 11, 5] Operation: 99-94=5
Exploring Operation: 94-11=83, Resulting Numbers: [99, 8, 83]
Generated Node #0,1: 48:[99, 8, 83] Operation: 94-11=83
Exploring Operation: 99/11=9, Resulting Numbers: [94, 8, 9]
Generated Node #0,2: 48:[94, 8, 9] Operation: 99/11=9
Exploring Operation: 94-8=86, Resulting Numbers: [99, 11, 86]
Generated Node #0,3: 48:[99, 11, 86] Operation: 94-8=86
Exploring Operation: 99-11=88, Resulting Numbers: [94, 8, 88]
Generated Node #0,4: 48:[94, 8, 88] Operation: 99-11=88
Moving to Node #0,0
Current State: 48:[8, 11, 5], Operations: ['99-94=5']
Exploring Operation: 11+5=16, Resulting Numbers: [8, 16]
Generated Node #0,0,0: 48:[8, 16] Operation: 11+5=16
Exploring Operation: 8-5=3, Resulting Numbers: [11, 3]
Generated Node #0,0,1: 48:[11, 3] Operation: 8-5=3
Exploring Operation: 11-8=3, Resulting Numbers: [5, 3]
Generated Node #0,0,2: 48:[5, 3] Operation: 11-8=3
Exploring Operation: 11-5=6, Resulting Numbers: [8, 6]
Generated Node #0,0,3: 48:[8, 6] Operation: 11-5=6
Exploring Operation: 8+5=13, Resulting Numbers: [11, 13]
Generated Node #0,0,4: 48:[11, 13] Operation: 8+5=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[8, 16], Operations: ['99-94=5', '11+5=16']
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[8, 6], Operations: ['99-94=5', '11-5=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[94, 99, 8, 11], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [8, 11, 5]
Generated Node #0,0: 48:[8, 11, 5] Operation: 99-94=5
Moving to Node #0,0
Current State: 48:[8, 11, 5], Operations: ['99-94=5']
Exploring Operation: 11-5=6, Resulting Numbers: [8, 6]
Generated Node #0,0,3: 48:[8, 6] Operation: 11-5=6
Moving to Node #0,0,3
Current State: 48:[8, 6], Operations: ['99-94=5', '11-5=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
16,
94,
38,
46
] | 92 | [
"46-38=8",
"16/8=2",
"94-2=92"
] | Current State: 92:[16, 94, 38, 46], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [16, 94, 8]
Generated Node #2: [16, 94, 8] from Operation: 46-38=8
Current State: 92:[16, 94, 8], Operations: ['46-38=8']
Exploring Operation: 16/8=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 16/8=2
Current State: 92:[94, 2], Operations: ['46-38=8', '16/8=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[16, 94, 38, 46], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [94, 46, 22]
Generated Node #0,0: 92:[94, 46, 22] Operation: 38-16=22
Exploring Operation: 46-38=8, Resulting Numbers: [16, 94, 8]
Generated Node #0,1: 92:[16, 94, 8] Operation: 46-38=8
Exploring Operation: 16+38=54, Resulting Numbers: [94, 46, 54]
Generated Node #0,2: 92:[94, 46, 54] Operation: 16+38=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[94, 46, 22], Operations: ['38-16=22']
Exploring Operation: 94-46=48, Resulting Numbers: [22, 48]
Generated Node #0,0,0: 92:[22, 48] Operation: 94-46=48
Exploring Operation: 46-22=24, Resulting Numbers: [94, 24]
Generated Node #0,0,1: 92:[94, 24] Operation: 46-22=24
Exploring Operation: 94-22=72, Resulting Numbers: [46, 72]
Generated Node #0,0,2: 92:[46, 72] Operation: 94-22=72
Moving to Node #0,0,0
Current State: 92:[22, 48], Operations: ['38-16=22', '94-46=48']
Exploring Operation: 22*48=1056, Resulting Numbers: [1056]
1056,92 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 22+48=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[94, 24], Operations: ['38-16=22', '46-22=24']
Exploring Operation: 94*24=2256, Resulting Numbers: [2256]
2256,92 unequal: No Solution
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,92 unequal: No Solution
Exploring Operation: 94+24=118, Resulting Numbers: [118]
118,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[46, 72], Operations: ['38-16=22', '94-22=72']
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,92 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,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:[94, 46, 54], Operations: ['16+38=54']
Exploring Operation: 94-54=40, Resulting Numbers: [46, 40]
Generated Node #0,2,0: 92:[46, 40] Operation: 94-54=40
Exploring Operation: 54-46=8, Resulting Numbers: [94, 8]
Generated Node #0,2,1: 92:[94, 8] Operation: 54-46=8
Exploring Operation: 94-46=48, Resulting Numbers: [54, 48]
Generated Node #0,2,2: 92:[54, 48] Operation: 94-46=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[46, 40], Operations: ['16+38=54', '94-54=40']
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,92 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,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:[94, 8], Operations: ['16+38=54', '54-46=8']
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,92 unequal: No Solution
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,92 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[54, 48], Operations: ['16+38=54', '94-46=48']
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,92 unequal: No Solution
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,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,1
Current State: 92:[16, 94, 8], Operations: ['46-38=8']
Exploring Operation: 16-8=8, Resulting Numbers: [94, 8]
Generated Node #0,1,0: 92:[94, 8] Operation: 16-8=8
Exploring Operation: 16+8=24, Resulting Numbers: [94, 24]
Generated Node #0,1,1: 92:[94, 24] Operation: 16+8=24
Exploring Operation: 16/8=2, Resulting Numbers: [94, 2]
Generated Node #0,1,2: 92:[94, 2] Operation: 16/8=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 92:[94, 2], Operations: ['46-38=8', '16/8=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[16, 94, 38, 46], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [16, 94, 8]
Generated Node #0,1: 92:[16, 94, 8] Operation: 46-38=8
Moving to Node #0,1
Current State: 92:[16, 94, 8], Operations: ['46-38=8']
Exploring Operation: 16/8=2, Resulting Numbers: [94, 2]
Generated Node #0,1,2: 92:[94, 2] Operation: 16/8=2
Moving to Node #0,1,2
Current State: 92:[94, 2], Operations: ['46-38=8', '16/8=2']
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
50,
5,
20,
19
] | 44 | [
"50-5=45",
"20-19=1",
"45-1=44"
] | Current State: 44:[50, 5, 20, 19], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [20, 19, 45]
Generated Node #2: [20, 19, 45] from Operation: 50-5=45
Current State: 44:[20, 19, 45], Operations: ['50-5=45']
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 20-19=1
Current State: 44:[45, 1], Operations: ['50-5=45', '20-19=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[50, 5, 20, 19], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [20, 19, 10]
Generated Node #0,0: 44:[20, 19, 10] Operation: 50/5=10
Exploring Operation: 50-5=45, Resulting Numbers: [20, 19, 45]
Generated Node #0,1: 44:[20, 19, 45] Operation: 50-5=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[20, 19, 10], Operations: ['50/5=10']
Exploring Operation: 20-19=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 44:[10, 1] Operation: 20-19=1
Exploring Operation: 20/10=2, Resulting Numbers: [19, 2]
Generated Node #0,0,1: 44:[19, 2] Operation: 20/10=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[10, 1], Operations: ['50/5=10', '20-19=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[19, 2], Operations: ['50/5=10', '20/10=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,44 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[20, 19, 45], Operations: ['50-5=45']
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #0,1,0: 44:[45, 1] Operation: 20-19=1
Exploring Operation: 20+19=39, Resulting Numbers: [45, 39]
Generated Node #0,1,1: 44:[45, 39] Operation: 20+19=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[45, 1], Operations: ['50-5=45', '20-19=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[50, 5, 20, 19], Operations: []
Exploring Operation: 50-5=45, Resulting Numbers: [20, 19, 45]
Generated Node #0,1: 44:[20, 19, 45] Operation: 50-5=45
Moving to Node #0,1
Current State: 44:[20, 19, 45], Operations: ['50-5=45']
Exploring Operation: 20-19=1, Resulting Numbers: [45, 1]
Generated Node #0,1,0: 44:[45, 1] Operation: 20-19=1
Moving to Node #0,1,0
Current State: 44:[45, 1], Operations: ['50-5=45', '20-19=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
1,
19,
99,
18
] | 61 | [
"1+19=20",
"99-18=81",
"81-20=61"
] | Current State: 61:[1, 19, 99, 18], Operations: []
Exploring Operation: 1+19=20, Resulting Numbers: [99, 18, 20]
Generated Node #2: [99, 18, 20] from Operation: 1+19=20
Current State: 61:[99, 18, 20], Operations: ['1+19=20']
Exploring Operation: 99-18=81, Resulting Numbers: [20, 81]
Generated Node #3: [20, 81] from Operation: 99-18=81
Current State: 61:[20, 81], Operations: ['1+19=20', '99-18=81']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[1, 19, 99, 18], Operations: []
Exploring Operation: 1+19=20, Resulting Numbers: [99, 18, 20]
Generated Node #0,0: 61:[99, 18, 20] Operation: 1+19=20
Moving to Node #0,0
Current State: 61:[99, 18, 20], Operations: ['1+19=20']
Exploring Operation: 99-18=81, Resulting Numbers: [20, 81]
Generated Node #0,0,0: 61:[20, 81] Operation: 99-18=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[20, 81], Operations: ['1+19=20', '99-18=81']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[1, 19, 99, 18], Operations: []
Exploring Operation: 1+19=20, Resulting Numbers: [99, 18, 20]
Generated Node #0,0: 61:[99, 18, 20] Operation: 1+19=20
Moving to Node #0,0
Current State: 61:[99, 18, 20], Operations: ['1+19=20']
Exploring Operation: 99-18=81, Resulting Numbers: [20, 81]
Generated Node #0,0,0: 61:[20, 81] Operation: 99-18=81
Moving to Node #0,0,0
Current State: 61:[20, 81], Operations: ['1+19=20', '99-18=81']
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
96,
27,
28,
1
] | 42 | [
"96-27=69",
"28-1=27",
"69-27=42"
] | Current State: 42:[96, 27, 28, 1], Operations: []
Exploring Operation: 96-27=69, Resulting Numbers: [28, 1, 69]
Generated Node #2: [28, 1, 69] from Operation: 96-27=69
Current State: 42:[28, 1, 69], Operations: ['96-27=69']
Exploring Operation: 28-1=27, Resulting Numbers: [69, 27]
Generated Node #3: [69, 27] from Operation: 28-1=27
Current State: 42:[69, 27], Operations: ['96-27=69', '28-1=27']
Exploring Operation: 69-27=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[96, 27, 28, 1], Operations: []
Exploring Operation: 28-27=1, Resulting Numbers: [96, 1, 1]
Generated Node #0,0: 42:[96, 1, 1] Operation: 28-27=1
Exploring Operation: 96-28=68, Resulting Numbers: [27, 1, 68]
Generated Node #0,1: 42:[27, 1, 68] Operation: 96-28=68
Exploring Operation: 96-1=95, Resulting Numbers: [27, 28, 95]
Generated Node #0,2: 42:[27, 28, 95] Operation: 96-1=95
Exploring Operation: 96-27=69, Resulting Numbers: [28, 1, 69]
Generated Node #0,3: 42:[28, 1, 69] Operation: 96-27=69
Moving to Node #0,1
Current State: 42:[27, 1, 68], Operations: ['96-28=68']
Exploring Operation: 68-1=67, Resulting Numbers: [27, 67]
Generated Node #0,1,0: 42:[27, 67] Operation: 68-1=67
Exploring Operation: 27-1=26, Resulting Numbers: [68, 26]
Generated Node #0,1,1: 42:[68, 26] Operation: 27-1=26
Exploring Operation: 68-27=41, Resulting Numbers: [1, 41]
Generated Node #0,1,2: 42:[1, 41] Operation: 68-27=41
Exploring Operation: 27*1=27, Resulting Numbers: [68, 27]
Generated Node #0,1,3: 42:[68, 27] Operation: 27*1=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[1, 41], Operations: ['96-28=68', '68-27=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[96, 27, 28, 1], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [27, 1, 68]
Generated Node #0,1: 42:[27, 1, 68] Operation: 96-28=68
Moving to Node #0,1
Current State: 42:[27, 1, 68], Operations: ['96-28=68']
Exploring Operation: 68-27=41, Resulting Numbers: [1, 41]
Generated Node #0,1,2: 42:[1, 41] Operation: 68-27=41
Moving to Node #0,1,2
Current State: 42:[1, 41], Operations: ['96-28=68', '68-27=41']
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
14,
45,
29,
64
] | 67 | [
"29-14=15",
"45/15=3",
"64+3=67"
] | Current State: 67:[14, 45, 29, 64], Operations: []
Exploring Operation: 29-14=15, Resulting Numbers: [45, 64, 15]
Generated Node #2: [45, 64, 15] from Operation: 29-14=15
Current State: 67:[45, 64, 15], Operations: ['29-14=15']
Exploring Operation: 45/15=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 45/15=3
Current State: 67:[64, 3], Operations: ['29-14=15', '45/15=3']
Exploring Operation: 64+3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[14, 45, 29, 64], Operations: []
Exploring Operation: 45+29=74, Resulting Numbers: [14, 64, 74]
Generated Node #0,0: 67:[14, 64, 74] Operation: 45+29=74
Exploring Operation: 14+45=59, Resulting Numbers: [29, 64, 59]
Generated Node #0,1: 67:[29, 64, 59] Operation: 14+45=59
Exploring Operation: 14+29=43, Resulting Numbers: [45, 64, 43]
Generated Node #0,2: 67:[45, 64, 43] Operation: 14+29=43
Exploring Operation: 14+64=78, Resulting Numbers: [45, 29, 78]
Generated Node #0,3: 67:[45, 29, 78] Operation: 14+64=78
Moving to Node #0,1
Current State: 67:[29, 64, 59], Operations: ['14+45=59']
Exploring Operation: 29+64=93, Resulting Numbers: [59, 93]
Generated Node #0,1,0: 67:[59, 93] Operation: 29+64=93
Exploring Operation: 64-29=35, Resulting Numbers: [59, 35]
Generated Node #0,1,1: 67:[59, 35] Operation: 64-29=35
Exploring Operation: 59-29=30, Resulting Numbers: [64, 30]
Generated Node #0,1,2: 67:[64, 30] Operation: 59-29=30
Exploring Operation: 29+59=88, Resulting Numbers: [64, 88]
Generated Node #0,1,3: 67:[64, 88] Operation: 29+59=88
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[64, 88], Operations: ['14+45=59', '29+59=88']
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,67 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[59, 93], Operations: ['14+45=59', '29+64=93']
Exploring Operation: 59*93=5487, Resulting Numbers: [5487]
5487,67 unequal: No Solution
Exploring Operation: 59+93=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[59, 35], Operations: ['14+45=59', '64-29=35']
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 59+35=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 59*35=2065, Resulting Numbers: [2065]
2065,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[64, 30], Operations: ['14+45=59', '59-29=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,67 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,67 unequal: No Solution
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,67 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: 67:[45, 64, 43], Operations: ['14+29=43']
Exploring Operation: 45+64=109, Resulting Numbers: [43, 109]
Generated Node #0,2,0: 67:[43, 109] Operation: 45+64=109
Exploring Operation: 64+43=107, Resulting Numbers: [45, 107]
Generated Node #0,2,1: 67:[45, 107] Operation: 64+43=107
Exploring Operation: 45-43=2, Resulting Numbers: [64, 2]
Generated Node #0,2,2: 67:[64, 2] Operation: 45-43=2
Exploring Operation: 45+43=88, Resulting Numbers: [64, 88]
Generated Node #0,2,3: 67:[64, 88] Operation: 45+43=88
Moving to Node #0,0
Current State: 67:[14, 64, 74], Operations: ['45+29=74']
Exploring Operation: 14+64=78, Resulting Numbers: [74, 78]
Generated Node #0,0,0: 67:[74, 78] Operation: 14+64=78
Exploring Operation: 14+74=88, Resulting Numbers: [64, 88]
Generated Node #0,0,1: 67:[64, 88] Operation: 14+74=88
Exploring Operation: 74-14=60, Resulting Numbers: [64, 60]
Generated Node #0,0,2: 67:[64, 60] Operation: 74-14=60
Exploring Operation: 64-14=50, Resulting Numbers: [74, 50]
Generated Node #0,0,3: 67:[74, 50] Operation: 64-14=50
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[64, 60], Operations: ['45+29=74', '74-14=60']
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,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,0,0
Current State: 67:[74, 78], Operations: ['45+29=74', '14+64=78']
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 74*78=5772, Resulting Numbers: [5772]
5772,67 unequal: No Solution
Exploring Operation: 74+78=152, Resulting Numbers: [152]
152,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,0,1
Current State: 67:[64, 88], Operations: ['45+29=74', '14+74=88']
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,67 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,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,0,3
Current State: 67:[74, 50], Operations: ['45+29=74', '64-14=50']
Exploring Operation: 74-50=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 74+50=124, Resulting Numbers: [124]
124,67 unequal: No Solution
Exploring Operation: 74*50=3700, Resulting Numbers: [3700]
3700,67 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: 67:[45, 29, 78], Operations: ['14+64=78']
Exploring Operation: 29+78=107, Resulting Numbers: [45, 107]
Generated Node #0,3,0: 67:[45, 107] Operation: 29+78=107
Exploring Operation: 45+29=74, Resulting Numbers: [78, 74]
Generated Node #0,3,1: 67:[78, 74] Operation: 45+29=74
Exploring Operation: 78-29=49, Resulting Numbers: [45, 49]
Generated Node #0,3,2: 67:[45, 49] Operation: 78-29=49
Exploring Operation: 45-29=16, Resulting Numbers: [78, 16]
Generated Node #0,3,3: 67:[78, 16] Operation: 45-29=16
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 67:[78, 74], Operations: ['14+64=78', '45+29=74']
Exploring Operation: 78*74=5772, Resulting Numbers: [5772]
5772,67 unequal: No Solution
Exploring Operation: 78+74=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 78-74=4, Resulting Numbers: [4]
4,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 67:[45, 49], Operations: ['14+64=78', '78-29=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 67:[45, 107], Operations: ['14+64=78', '29+78=107']
Exploring Operation: 45+107=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 107-45=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 45*107=4815, Resulting Numbers: [4815]
4815,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 67:[78, 16], Operations: ['14+64=78', '45-29=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 67:[64, 88], Operations: ['14+29=43', '45+43=88']
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,67 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[45, 107], Operations: ['14+29=43', '64+43=107']
Exploring Operation: 45*107=4815, Resulting Numbers: [4815]
4815,67 unequal: No Solution
Exploring Operation: 107-45=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 45+107=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[43, 109], Operations: ['14+29=43', '45+64=109']
Exploring Operation: 43+109=152, Resulting Numbers: [152]
152,67 unequal: No Solution
Exploring Operation: 43*109=4687, Resulting Numbers: [4687]
4687,67 unequal: No Solution
Exploring Operation: 109-43=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[64, 2], Operations: ['14+29=43', '45-43=2']
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,67 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,67 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
58,
52,
72,
83
] | 66 | [
"58-52=6",
"83-72=11",
"6*11=66"
] | Current State: 66:[58, 52, 72, 83], Operations: []
Exploring Operation: 58-52=6, Resulting Numbers: [72, 83, 6]
Generated Node #2: [72, 83, 6] from Operation: 58-52=6
Current State: 66:[72, 83, 6], Operations: ['58-52=6']
Exploring Operation: 83-72=11, Resulting Numbers: [6, 11]
Generated Node #3: [6, 11] from Operation: 83-72=11
Current State: 66:[6, 11], Operations: ['58-52=6', '83-72=11']
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[58, 52, 72, 83], Operations: []
Exploring Operation: 83-52=31, Resulting Numbers: [58, 72, 31]
Generated Node #0,0: 66:[58, 72, 31] Operation: 83-52=31
Exploring Operation: 83-72=11, Resulting Numbers: [58, 52, 11]
Generated Node #0,1: 66:[58, 52, 11] Operation: 83-72=11
Exploring Operation: 83-58=25, Resulting Numbers: [52, 72, 25]
Generated Node #0,2: 66:[52, 72, 25] Operation: 83-58=25
Exploring Operation: 58-52=6, Resulting Numbers: [72, 83, 6]
Generated Node #0,3: 66:[72, 83, 6] Operation: 58-52=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[58, 72, 31], Operations: ['83-52=31']
Exploring Operation: 58-31=27, Resulting Numbers: [72, 27]
Generated Node #0,0,0: 66:[72, 27] Operation: 58-31=27
Exploring Operation: 72-58=14, Resulting Numbers: [31, 14]
Generated Node #0,0,1: 66:[31, 14] Operation: 72-58=14
Exploring Operation: 72-31=41, Resulting Numbers: [58, 41]
Generated Node #0,0,2: 66:[58, 41] Operation: 72-31=41
Exploring Operation: 58+31=89, Resulting Numbers: [72, 89]
Generated Node #0,0,3: 66:[72, 89] Operation: 58+31=89
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[31, 14], Operations: ['83-52=31', '72-58=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,66 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,66 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[72, 27], Operations: ['83-52=31', '58-31=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,66 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 66:[58, 41], Operations: ['83-52=31', '72-31=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,66 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 66:[72, 89], Operations: ['83-52=31', '58+31=89']
Exploring Operation: 72+89=161, Resulting Numbers: [161]
161,66 unequal: No Solution
Exploring Operation: 72*89=6408, Resulting Numbers: [6408]
6408,66 unequal: No Solution
Exploring Operation: 89-72=17, Resulting Numbers: [17]
17,66 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: 66:[58, 52, 11], Operations: ['83-72=11']
Exploring Operation: 58-52=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 66:[11, 6] Operation: 58-52=6
Exploring Operation: 58+11=69, Resulting Numbers: [52, 69]
Generated Node #0,1,1: 66:[52, 69] Operation: 58+11=69
Exploring Operation: 52-11=41, Resulting Numbers: [58, 41]
Generated Node #0,1,2: 66:[58, 41] Operation: 52-11=41
Exploring Operation: 52+11=63, Resulting Numbers: [58, 63]
Generated Node #0,1,3: 66:[58, 63] Operation: 52+11=63
Moving to Node #0,1,0
Current State: 66:[11, 6], Operations: ['83-72=11', '58-52=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[58, 52, 72, 83], Operations: []
Exploring Operation: 83-72=11, Resulting Numbers: [58, 52, 11]
Generated Node #0,1: 66:[58, 52, 11] Operation: 83-72=11
Moving to Node #0,1
Current State: 66:[58, 52, 11], Operations: ['83-72=11']
Exploring Operation: 58-52=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 66:[11, 6] Operation: 58-52=6
Moving to Node #0,1,0
Current State: 66:[11, 6], Operations: ['83-72=11', '58-52=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
6,
58,
81,
57
] | 86 | [
"58-6=52",
"81+57=138",
"138-52=86"
] | Current State: 86:[6, 58, 81, 57], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [81, 57, 52]
Generated Node #2: [81, 57, 52] from Operation: 58-6=52
Current State: 86:[81, 57, 52], Operations: ['58-6=52']
Exploring Operation: 81+57=138, Resulting Numbers: [52, 138]
Generated Node #3: [52, 138] from Operation: 81+57=138
Current State: 86:[52, 138], Operations: ['58-6=52', '81+57=138']
Exploring Operation: 138-52=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[6, 58, 81, 57], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [81, 57, 52]
Generated Node #0,0: 86:[81, 57, 52] Operation: 58-6=52
Exploring Operation: 58-57=1, Resulting Numbers: [6, 81, 1]
Generated Node #0,1: 86:[6, 81, 1] Operation: 58-57=1
Moving to Node #0,1
Current State: 86:[6, 81, 1], Operations: ['58-57=1']
Exploring Operation: 6+81=87, Resulting Numbers: [1, 87]
Generated Node #0,1,0: 86:[1, 87] Operation: 6+81=87
Exploring Operation: 6-1=5, Resulting Numbers: [81, 5]
Generated Node #0,1,1: 86:[81, 5] Operation: 6-1=5
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[1, 87], Operations: ['58-57=1', '6+81=87']
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[6, 58, 81, 57], Operations: []
Exploring Operation: 58-57=1, Resulting Numbers: [6, 81, 1]
Generated Node #0,1: 86:[6, 81, 1] Operation: 58-57=1
Moving to Node #0,1
Current State: 86:[6, 81, 1], Operations: ['58-57=1']
Exploring Operation: 6+81=87, Resulting Numbers: [1, 87]
Generated Node #0,1,0: 86:[1, 87] Operation: 6+81=87
Moving to Node #0,1,0
Current State: 86:[1, 87], Operations: ['58-57=1', '6+81=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
81,
87,
83,
30
] | 59 | [
"87-81=6",
"83-30=53",
"6+53=59"
] | Current State: 59:[81, 87, 83, 30], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [83, 30, 6]
Generated Node #2: [83, 30, 6] from Operation: 87-81=6
Current State: 59:[83, 30, 6], Operations: ['87-81=6']
Exploring Operation: 83-30=53, Resulting Numbers: [6, 53]
Generated Node #3: [6, 53] from Operation: 83-30=53
Current State: 59:[6, 53], Operations: ['87-81=6', '83-30=53']
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[81, 87, 83, 30], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [81, 83, 57]
Generated Node #0,0: 59:[81, 83, 57] Operation: 87-30=57
Exploring Operation: 83-30=53, Resulting Numbers: [81, 87, 53]
Generated Node #0,1: 59:[81, 87, 53] Operation: 83-30=53
Moving to Node #0,0
Current State: 59:[81, 83, 57], Operations: ['87-30=57']
Exploring Operation: 83-57=26, Resulting Numbers: [81, 26]
Generated Node #0,0,0: 59:[81, 26] Operation: 83-57=26
Exploring Operation: 83-81=2, Resulting Numbers: [57, 2]
Generated Node #0,0,1: 59:[57, 2] Operation: 83-81=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[81, 26], Operations: ['87-30=57', '83-57=26']
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[57, 2], Operations: ['87-30=57', '83-81=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[81, 87, 83, 30], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [81, 83, 57]
Generated Node #0,0: 59:[81, 83, 57] Operation: 87-30=57
Moving to Node #0,0
Current State: 59:[81, 83, 57], Operations: ['87-30=57']
Exploring Operation: 83-81=2, Resulting Numbers: [57, 2]
Generated Node #0,0,1: 59:[57, 2] Operation: 83-81=2
Moving to Node #0,0,1
Current State: 59:[57, 2], Operations: ['87-30=57', '83-81=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
5,
5,
70,
86
] | 75 | [
"86-70=16",
"5*16=80",
"80-5=75"
] | Current State: 75:[5, 5, 70, 86], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [5, 5, 16]
Generated Node #2: [5, 5, 16] from Operation: 86-70=16
Current State: 75:[5, 5, 16], Operations: ['86-70=16']
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,75 equal: Goal Reached
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[5, 5, 70, 86], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [5, 5, 16]
Generated Node #0,0: 75:[5, 5, 16] Operation: 86-70=16
Exploring Operation: 5+70=75, Resulting Numbers: [5, 86, 75]
Generated Node #0,1: 75:[5, 86, 75] Operation: 5+70=75
Exploring Operation: 86-5=81, Resulting Numbers: [5, 70, 81]
Generated Node #0,2: 75:[5, 70, 81] Operation: 86-5=81
Exploring Operation: 5+70=75, Resulting Numbers: [5, 86, 75]
Generated Node #0,3: 75:[5, 86, 75] Operation: 5+70=75
Exploring Operation: 86-5=81, Resulting Numbers: [5, 70, 81]
Generated Node #0,4: 75:[5, 70, 81] Operation: 86-5=81
Moving to Node #0,0
Current State: 75:[5, 5, 16], Operations: ['86-70=16']
Exploring Operation: 5+16=21, Resulting Numbers: [5, 21]
Generated Node #0,0,0: 75:[5, 21] Operation: 5+16=21
Exploring Operation: 16-5=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 75:[5, 11] Operation: 16-5=11
Exploring Operation: 5-5=0, Resulting Numbers: [16, 0]
Generated Node #0,0,2: 75:[16, 0] Operation: 5-5=0
Exploring Operation: 5*5=25, Resulting Numbers: [16, 25]
Generated Node #0,0,3: 75:[16, 25] Operation: 5*5=25
Exploring Operation: 5/5=1, Resulting Numbers: [16, 1]
Generated Node #0,0,4: 75:[16, 1] Operation: 5/5=1
Moving to Node #0,2
Current State: 75:[5, 70, 81], Operations: ['86-5=81']
Exploring Operation: 70/5=14, Resulting Numbers: [81, 14]
Generated Node #0,2,0: 75:[81, 14] Operation: 70/5=14
Exploring Operation: 81-70=11, Resulting Numbers: [5, 11]
Generated Node #0,2,1: 75:[5, 11] Operation: 81-70=11
Exploring Operation: 70-5=65, Resulting Numbers: [81, 65]
Generated Node #0,2,2: 75:[81, 65] Operation: 70-5=65
Exploring Operation: 81-5=76, Resulting Numbers: [70, 76]
Generated Node #0,2,3: 75:[70, 76] Operation: 81-5=76
Exploring Operation: 5+70=75, Resulting Numbers: [81, 75]
Generated Node #0,2,4: 75:[81, 75] Operation: 5+70=75
Moving to Node #0,4
Current State: 75:[5, 70, 81], Operations: ['86-5=81']
Exploring Operation: 81-5=76, Resulting Numbers: [70, 76]
Generated Node #0,4,0: 75:[70, 76] Operation: 81-5=76
Exploring Operation: 5+70=75, Resulting Numbers: [81, 75]
Generated Node #0,4,1: 75:[81, 75] Operation: 5+70=75
Exploring Operation: 70/5=14, Resulting Numbers: [81, 14]
Generated Node #0,4,2: 75:[81, 14] Operation: 70/5=14
Exploring Operation: 70-5=65, Resulting Numbers: [81, 65]
Generated Node #0,4,3: 75:[81, 65] Operation: 70-5=65
Exploring Operation: 81-70=11, Resulting Numbers: [5, 11]
Generated Node #0,4,4: 75:[5, 11] Operation: 81-70=11
Moving to Node #0,1
Current State: 75:[5, 86, 75], Operations: ['5+70=75']
Exploring Operation: 5+86=91, Resulting Numbers: [75, 91]
Generated Node #0,1,0: 75:[75, 91] Operation: 5+86=91
Exploring Operation: 75/5=15, Resulting Numbers: [86, 15]
Generated Node #0,1,1: 75:[86, 15] Operation: 75/5=15
Exploring Operation: 86-5=81, Resulting Numbers: [75, 81]
Generated Node #0,1,2: 75:[75, 81] Operation: 86-5=81
Exploring Operation: 86-75=11, Resulting Numbers: [5, 11]
Generated Node #0,1,3: 75:[5, 11] Operation: 86-75=11
Exploring Operation: 5+75=80, Resulting Numbers: [86, 80]
Generated Node #0,1,4: 75:[86, 80] Operation: 5+75=80
Moving to Node #0,3
Current State: 75:[5, 86, 75], Operations: ['5+70=75']
Exploring Operation: 86-5=81, Resulting Numbers: [75, 81]
Generated Node #0,3,0: 75:[75, 81] Operation: 86-5=81
Exploring Operation: 5+75=80, Resulting Numbers: [86, 80]
Generated Node #0,3,1: 75:[86, 80] Operation: 5+75=80
Exploring Operation: 5+86=91, Resulting Numbers: [75, 91]
Generated Node #0,3,2: 75:[75, 91] Operation: 5+86=91
Exploring Operation: 75/5=15, Resulting Numbers: [86, 15]
Generated Node #0,3,3: 75:[86, 15] Operation: 75/5=15
Exploring Operation: 86-75=11, Resulting Numbers: [5, 11]
Generated Node #0,3,4: 75:[5, 11] Operation: 86-75=11
Moving to Node #0,0,3
Current State: 75:[16, 25], Operations: ['86-70=16', '5*5=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[16, 1], Operations: ['86-70=16', '5/5=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,75 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[5, 21], Operations: ['86-70=16', '5+16=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[5, 11], Operations: ['86-5=81', '81-70=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[16, 0], Operations: ['86-70=16', '5-5=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,75 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,4,4
Current State: 75:[5, 11], Operations: ['86-5=81', '81-70=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,3,4
Current State: 75:[5, 11], Operations: ['5+70=75', '86-75=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[5, 11], Operations: ['86-70=16', '16-5=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[5, 11], Operations: ['5+70=75', '86-75=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,75 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[70, 76], Operations: ['86-5=81', '81-5=76']
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,75 unequal: No Solution
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,4,1
Current State: 75:[81, 75], Operations: ['86-5=81', '5+70=75']
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,75 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Moving to Node #0,4,0
Current State: 75:[70, 76], Operations: ['86-5=81', '81-5=76']
Exploring Operation: 70+76=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 76-70=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 70*76=5320, Resulting Numbers: [5320]
5320,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[75, 81], Operations: ['5+70=75', '86-5=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,75 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[75, 81], Operations: ['5+70=75', '86-5=81']
Exploring Operation: 75+81=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 75*81=6075, Resulting Numbers: [6075]
6075,75 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,2,4
Current State: 75:[81, 75], Operations: ['86-5=81', '5+70=75']
Exploring Operation: 81+75=156, Resulting Numbers: [156]
156,75 unequal: No Solution
Exploring Operation: 81*75=6075, Resulting Numbers: [6075]
6075,75 unequal: No Solution
Exploring Operation: 81-75=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,4,2
Current State: 75:[81, 14], Operations: ['86-5=81', '70/5=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,75 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[81, 14], Operations: ['86-5=81', '70/5=14']
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,75 unequal: No Solution
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[86, 15], Operations: ['5+70=75', '75/5=15']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[86, 15], Operations: ['5+70=75', '75/5=15']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 86+15=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 86*15=1290, Resulting Numbers: [1290]
1290,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[75, 91], Operations: ['5+70=75', '5+86=91']
Exploring Operation: 75*91=6825, Resulting Numbers: [6825]
6825,75 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 75+91=166, Resulting Numbers: [166]
166,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[86, 80], Operations: ['5+70=75', '5+75=80']
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,75 unequal: No Solution
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,75 unequal: No Solution
Moving to Node #0,1,4
Current State: 75:[86, 80], Operations: ['5+70=75', '5+75=80']
Exploring Operation: 86-80=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 86*80=6880, Resulting Numbers: [6880]
6880,75 unequal: No Solution
Exploring Operation: 86+80=166, Resulting Numbers: [166]
166,75 unequal: No Solution
Moving to Node #0,4,3
Current State: 75:[81, 65], Operations: ['86-5=81', '70-5=65']
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[81, 65], Operations: ['86-5=81', '70-5=65']
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,75 unequal: No Solution
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[75, 91], Operations: ['5+70=75', '5+86=91']
Exploring Operation: 75+91=166, Resulting Numbers: [166]
166,75 unequal: No Solution
Exploring Operation: 75*91=6825, Resulting Numbers: [6825]
6825,75 unequal: No Solution
Exploring Operation: 91-75=16, Resulting Numbers: [16]
16,75 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
6,
32,
31,
70
] | 76 | [
"6+70=76",
"32-31=1",
"76*1=76"
] | Current State: 76:[6, 32, 31, 70], Operations: []
Exploring Operation: 6+70=76, Resulting Numbers: [32, 31, 76]
Generated Node #2: [32, 31, 76] from Operation: 6+70=76
Current State: 76:[32, 31, 76], Operations: ['6+70=76']
Exploring Operation: 32-31=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 32-31=1
Current State: 76:[76, 1], Operations: ['6+70=76', '32-31=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[6, 32, 31, 70], Operations: []
Exploring Operation: 70-32=38, Resulting Numbers: [6, 31, 38]
Generated Node #0,0: 76:[6, 31, 38] Operation: 70-32=38
Exploring Operation: 6+31=37, Resulting Numbers: [32, 70, 37]
Generated Node #0,1: 76:[32, 70, 37] Operation: 6+31=37
Exploring Operation: 70-31=39, Resulting Numbers: [6, 32, 39]
Generated Node #0,2: 76:[6, 32, 39] Operation: 70-31=39
Exploring Operation: 32-31=1, Resulting Numbers: [6, 70, 1]
Generated Node #0,3: 76:[6, 70, 1] Operation: 32-31=1
Exploring Operation: 6+32=38, Resulting Numbers: [31, 70, 38]
Generated Node #0,4: 76:[31, 70, 38] Operation: 6+32=38
Moving to Node #0,0
Current State: 76:[6, 31, 38], Operations: ['70-32=38']
Exploring Operation: 31+38=69, Resulting Numbers: [6, 69]
Generated Node #0,0,0: 76:[6, 69] Operation: 31+38=69
Exploring Operation: 31-6=25, Resulting Numbers: [38, 25]
Generated Node #0,0,1: 76:[38, 25] Operation: 31-6=25
Exploring Operation: 6+38=44, Resulting Numbers: [31, 44]
Generated Node #0,0,2: 76:[31, 44] Operation: 6+38=44
Exploring Operation: 38-31=7, Resulting Numbers: [6, 7]
Generated Node #0,0,3: 76:[6, 7] Operation: 38-31=7
Exploring Operation: 6+31=37, Resulting Numbers: [38, 37]
Generated Node #0,0,4: 76:[38, 37] Operation: 6+31=37
Moving to Node #0,3
Current State: 76:[6, 70, 1], Operations: ['32-31=1']
Exploring Operation: 6-1=5, Resulting Numbers: [70, 5]
Generated Node #0,3,0: 76:[70, 5] Operation: 6-1=5
Exploring Operation: 70+1=71, Resulting Numbers: [6, 71]
Generated Node #0,3,1: 76:[6, 71] Operation: 70+1=71
Exploring Operation: 6/1=6, Resulting Numbers: [70, 6]
Generated Node #0,3,2: 76:[70, 6] Operation: 6/1=6
Exploring Operation: 6+70=76, Resulting Numbers: [1, 76]
Generated Node #0,3,3: 76:[1, 76] Operation: 6+70=76
Exploring Operation: 6*1=6, Resulting Numbers: [70, 6]
Generated Node #0,3,4: 76:[70, 6] Operation: 6*1=6
Moving to Node #0,2
Current State: 76:[6, 32, 39], Operations: ['70-31=39']
Exploring Operation: 32-6=26, Resulting Numbers: [39, 26]
Generated Node #0,2,0: 76:[39, 26] Operation: 32-6=26
Exploring Operation: 6+32=38, Resulting Numbers: [39, 38]
Generated Node #0,2,1: 76:[39, 38] Operation: 6+32=38
Exploring Operation: 39-32=7, Resulting Numbers: [6, 7]
Generated Node #0,2,2: 76:[6, 7] Operation: 39-32=7
Exploring Operation: 32+39=71, Resulting Numbers: [6, 71]
Generated Node #0,2,3: 76:[6, 71] Operation: 32+39=71
Exploring Operation: 39-6=33, Resulting Numbers: [32, 33]
Generated Node #0,2,4: 76:[32, 33] Operation: 39-6=33
Moving to Node #0,1
Current State: 76:[32, 70, 37], Operations: ['6+31=37']
Exploring Operation: 37-32=5, Resulting Numbers: [70, 5]
Generated Node #0,1,0: 76:[70, 5] Operation: 37-32=5
Exploring Operation: 32+37=69, Resulting Numbers: [70, 69]
Generated Node #0,1,1: 76:[70, 69] Operation: 32+37=69
Exploring Operation: 32+70=102, Resulting Numbers: [37, 102]
Generated Node #0,1,2: 76:[37, 102] Operation: 32+70=102
Exploring Operation: 70-32=38, Resulting Numbers: [37, 38]
Generated Node #0,1,3: 76:[37, 38] Operation: 70-32=38
Exploring Operation: 70-37=33, Resulting Numbers: [32, 33]
Generated Node #0,1,4: 76:[32, 33] Operation: 70-37=33
Moving to Node #0,4
Current State: 76:[31, 70, 38], Operations: ['6+32=38']
Exploring Operation: 31+38=69, Resulting Numbers: [70, 69]
Generated Node #0,4,0: 76:[70, 69] Operation: 31+38=69
Exploring Operation: 70-31=39, Resulting Numbers: [38, 39]
Generated Node #0,4,1: 76:[38, 39] Operation: 70-31=39
Exploring Operation: 70-38=32, Resulting Numbers: [31, 32]
Generated Node #0,4,2: 76:[31, 32] Operation: 70-38=32
Exploring Operation: 38-31=7, Resulting Numbers: [70, 7]
Generated Node #0,4,3: 76:[70, 7] Operation: 38-31=7
Exploring Operation: 31+70=101, Resulting Numbers: [38, 101]
Generated Node #0,4,4: 76:[38, 101] Operation: 31+70=101
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 76:[38, 39], Operations: ['6+32=38', '70-31=39']
Exploring Operation: 38+39=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 38*39=1482, Resulting Numbers: [1482]
1482,76 unequal: No Solution
Exploring Operation: 39-38=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 76:[70, 7], Operations: ['6+32=38', '38-31=7']
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,76 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 76:[70, 69], Operations: ['6+32=38', '31+38=69']
Exploring Operation: 70*69=4830, Resulting Numbers: [4830]
4830,76 unequal: No Solution
Exploring Operation: 70+69=139, Resulting Numbers: [139]
139,76 unequal: No Solution
Exploring Operation: 70-69=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 76:[31, 32], Operations: ['6+32=38', '70-38=32']
Exploring Operation: 31*32=992, Resulting Numbers: [992]
992,76 unequal: No Solution
Exploring Operation: 32-31=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 31+32=63, Resulting Numbers: [63]
63,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[38, 101], Operations: ['6+32=38', '31+70=101']
Exploring Operation: 38+101=139, Resulting Numbers: [139]
139,76 unequal: No Solution
Exploring Operation: 38*101=3838, Resulting Numbers: [3838]
3838,76 unequal: No Solution
Exploring Operation: 101-38=63, Resulting Numbers: [63]
63,76 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: 76:[38, 37], Operations: ['70-32=38', '6+31=37']
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[1, 76], Operations: ['32-31=1', '6+70=76']
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[6, 32, 31, 70], Operations: []
Exploring Operation: 32-31=1, Resulting Numbers: [6, 70, 1]
Generated Node #0,3: 76:[6, 70, 1] Operation: 32-31=1
Moving to Node #0,3
Current State: 76:[6, 70, 1], Operations: ['32-31=1']
Exploring Operation: 6+70=76, Resulting Numbers: [1, 76]
Generated Node #0,3,3: 76:[1, 76] Operation: 6+70=76
Moving to Node #0,3,3
Current State: 76:[1, 76], Operations: ['32-31=1', '6+70=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.952257 | hs_5 | mult_heuristic |
[
83,
70,
86,
1
] | 23 | [
"86-83=3",
"70-1=69",
"69/3=23"
] | Current State: 23:[83, 70, 86, 1], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [70, 1, 3]
Generated Node #2: [70, 1, 3] from Operation: 86-83=3
Current State: 23:[70, 1, 3], Operations: ['86-83=3']
Exploring Operation: 70-1=69, Resulting Numbers: [3, 69]
Generated Node #3: [3, 69] from Operation: 70-1=69
Current State: 23:[3, 69], Operations: ['86-83=3', '70-1=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[83, 70, 86, 1], Operations: []
Exploring Operation: 86-70=16, Resulting Numbers: [83, 1, 16]
Generated Node #0,0: 23:[83, 1, 16] Operation: 86-70=16
Exploring Operation: 83-70=13, Resulting Numbers: [86, 1, 13]
Generated Node #0,1: 23:[86, 1, 13] Operation: 83-70=13
Exploring Operation: 86-83=3, Resulting Numbers: [70, 1, 3]
Generated Node #0,2: 23:[70, 1, 3] Operation: 86-83=3
Moving to Node #0,0
Current State: 23:[83, 1, 16], Operations: ['86-70=16']
Exploring Operation: 83-16=67, Resulting Numbers: [1, 67]
Generated Node #0,0,0: 23:[1, 67] Operation: 83-16=67
Exploring Operation: 1+16=17, Resulting Numbers: [83, 17]
Generated Node #0,0,1: 23:[83, 17] Operation: 1+16=17
Exploring Operation: 83-1=82, Resulting Numbers: [16, 82]
Generated Node #0,0,2: 23:[16, 82] Operation: 83-1=82
Moving to Node #0,2
Current State: 23:[70, 1, 3], Operations: ['86-83=3']
Exploring Operation: 1+3=4, Resulting Numbers: [70, 4]
Generated Node #0,2,0: 23:[70, 4] Operation: 1+3=4
Exploring Operation: 70-1=69, Resulting Numbers: [3, 69]
Generated Node #0,2,1: 23:[3, 69] Operation: 70-1=69
Exploring Operation: 70-3=67, Resulting Numbers: [1, 67]
Generated Node #0,2,2: 23:[1, 67] Operation: 70-3=67
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[70, 4], Operations: ['86-83=3', '1+3=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,23 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[3, 69], Operations: ['86-83=3', '70-1=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[83, 70, 86, 1], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [70, 1, 3]
Generated Node #0,2: 23:[70, 1, 3] Operation: 86-83=3
Moving to Node #0,2
Current State: 23:[70, 1, 3], Operations: ['86-83=3']
Exploring Operation: 70-1=69, Resulting Numbers: [3, 69]
Generated Node #0,2,1: 23:[3, 69] Operation: 70-1=69
Moving to Node #0,2,1
Current State: 23:[3, 69], Operations: ['86-83=3', '70-1=69']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
62,
42,
81,
43
] | 84 | [
"81+43=124",
"124/62=2",
"42*2=84"
] | Current State: 84:[62, 42, 81, 43], Operations: []
Exploring Operation: 81+43=124, Resulting Numbers: [62, 42, 124]
Generated Node #2: [62, 42, 124] from Operation: 81+43=124
Current State: 84:[62, 42, 124], Operations: ['81+43=124']
Exploring Operation: 124/62=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 124/62=2
Current State: 84:[42, 2], Operations: ['81+43=124', '124/62=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[62, 42, 81, 43], Operations: []
Exploring Operation: 62+42=104, Resulting Numbers: [81, 43, 104]
Generated Node #0,0: 84:[81, 43, 104] Operation: 62+42=104
Exploring Operation: 62-42=20, Resulting Numbers: [81, 43, 20]
Generated Node #0,1: 84:[81, 43, 20] Operation: 62-42=20
Exploring Operation: 81-62=19, Resulting Numbers: [42, 43, 19]
Generated Node #0,2: 84:[42, 43, 19] Operation: 81-62=19
Exploring Operation: 62-43=19, Resulting Numbers: [42, 81, 19]
Generated Node #0,3: 84:[42, 81, 19] Operation: 62-43=19
Moving to Node #0,2
Current State: 84:[42, 43, 19], Operations: ['81-62=19']
Exploring Operation: 43-42=1, Resulting Numbers: [19, 1]
Generated Node #0,2,0: 84:[19, 1] Operation: 43-42=1
Exploring Operation: 42-19=23, Resulting Numbers: [43, 23]
Generated Node #0,2,1: 84:[43, 23] Operation: 42-19=23
Exploring Operation: 42+43=85, Resulting Numbers: [19, 85]
Generated Node #0,2,2: 84:[19, 85] Operation: 42+43=85
Exploring Operation: 43-19=24, Resulting Numbers: [42, 24]
Generated Node #0,2,3: 84:[42, 24] Operation: 43-19=24
Moving to Node #0,3
Current State: 84:[42, 81, 19], Operations: ['62-43=19']
Exploring Operation: 42-19=23, Resulting Numbers: [81, 23]
Generated Node #0,3,0: 84:[81, 23] Operation: 42-19=23
Exploring Operation: 81-19=62, Resulting Numbers: [42, 62]
Generated Node #0,3,1: 84:[42, 62] Operation: 81-19=62
Exploring Operation: 81-42=39, Resulting Numbers: [19, 39]
Generated Node #0,3,2: 84:[19, 39] Operation: 81-42=39
Exploring Operation: 81+19=100, Resulting Numbers: [42, 100]
Generated Node #0,3,3: 84:[42, 100] Operation: 81+19=100
Moving to Node #0,1
Current State: 84:[81, 43, 20], Operations: ['62-42=20']
Exploring Operation: 81+20=101, Resulting Numbers: [43, 101]
Generated Node #0,1,0: 84:[43, 101] Operation: 81+20=101
Exploring Operation: 81-20=61, Resulting Numbers: [43, 61]
Generated Node #0,1,1: 84:[43, 61] Operation: 81-20=61
Exploring Operation: 81-43=38, Resulting Numbers: [20, 38]
Generated Node #0,1,2: 84:[20, 38] Operation: 81-43=38
Exploring Operation: 43-20=23, Resulting Numbers: [81, 23]
Generated Node #0,1,3: 84:[81, 23] Operation: 43-20=23
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[20, 38], Operations: ['62-42=20', '81-43=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,84 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[81, 23], Operations: ['62-42=20', '43-20=23']
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,84 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[43, 101], Operations: ['62-42=20', '81+20=101']
Exploring Operation: 43+101=144, Resulting Numbers: [144]
144,84 unequal: No Solution
Exploring Operation: 43*101=4343, Resulting Numbers: [4343]
4343,84 unequal: No Solution
Exploring Operation: 101-43=58, Resulting Numbers: [58]
58,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[43, 61], Operations: ['62-42=20', '81-20=61']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,84 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: 84:[81, 43, 104], Operations: ['62+42=104']
Exploring Operation: 104-43=61, Resulting Numbers: [81, 61]
Generated Node #0,0,0: 84:[81, 61] Operation: 104-43=61
Exploring Operation: 104-81=23, Resulting Numbers: [43, 23]
Generated Node #0,0,1: 84:[43, 23] Operation: 104-81=23
Exploring Operation: 81-43=38, Resulting Numbers: [104, 38]
Generated Node #0,0,2: 84:[104, 38] Operation: 81-43=38
Exploring Operation: 81+43=124, Resulting Numbers: [104, 124]
Generated Node #0,0,3: 84:[104, 124] Operation: 81+43=124
Moving to Node #0,2,0
Current State: 84:[19, 1], Operations: ['81-62=19', '43-42=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,84 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[19, 85], Operations: ['81-62=19', '42+43=85']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 19+85=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 19*85=1615, Resulting Numbers: [1615]
1615,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[43, 23], Operations: ['81-62=19', '42-19=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,84 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[42, 24], Operations: ['81-62=19', '43-19=24']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 42*24=1008, Resulting Numbers: [1008]
1008,84 unequal: No Solution
Exploring Operation: 42+24=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[43, 23], Operations: ['62+42=104', '104-81=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[19, 39], Operations: ['62-43=19', '81-42=39']
Exploring Operation: 19+39=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 39-19=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 19*39=741, Resulting Numbers: [741]
741,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[81, 23], Operations: ['62-43=19', '42-19=23']
Exploring Operation: 81+23=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Exploring Operation: 81*23=1863, Resulting Numbers: [1863]
1863,84 unequal: No Solution
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[42, 100], Operations: ['62-43=19', '81+19=100']
Exploring Operation: 42+100=142, Resulting Numbers: [142]
142,84 unequal: No Solution
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,84 unequal: No Solution
Exploring Operation: 42*100=4200, Resulting Numbers: [4200]
4200,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[42, 62], Operations: ['62-43=19', '81-19=62']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,84 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[81, 61], Operations: ['62+42=104', '104-43=61']
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,84 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[104, 38], Operations: ['62+42=104', '81-43=38']
Exploring Operation: 104+38=142, Resulting Numbers: [142]
142,84 unequal: No Solution
Exploring Operation: 104*38=3952, Resulting Numbers: [3952]
3952,84 unequal: No Solution
Exploring Operation: 104-38=66, Resulting Numbers: [66]
66,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[104, 124], Operations: ['62+42=104', '81+43=124']
Exploring Operation: 124-104=20, Resulting Numbers: [20]
20,84 unequal: No Solution
Exploring Operation: 104*124=12896, Resulting Numbers: [12896]
12896,84 unequal: No Solution
Exploring Operation: 104+124=228, Resulting Numbers: [228]
228,84 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
77,
36,
58,
4
] | 40 | [
"77-58=19",
"4*19=76",
"76-36=40"
] | Current State: 40:[77, 36, 58, 4], Operations: []
Exploring Operation: 77-58=19, Resulting Numbers: [36, 4, 19]
Generated Node #2: [36, 4, 19] from Operation: 77-58=19
Current State: 40:[36, 4, 19], Operations: ['77-58=19']
Exploring Operation: 4*19=76, Resulting Numbers: [36, 76]
Generated Node #3: [36, 76] from Operation: 4*19=76
Current State: 40:[36, 76], Operations: ['77-58=19', '4*19=76']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[77, 36, 58, 4], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [77, 4, 22]
Generated Node #0,0: 40:[77, 4, 22] Operation: 58-36=22
Exploring Operation: 77-58=19, Resulting Numbers: [36, 4, 19]
Generated Node #0,1: 40:[36, 4, 19] Operation: 77-58=19
Exploring Operation: 77-4=73, Resulting Numbers: [36, 58, 73]
Generated Node #0,2: 40:[36, 58, 73] Operation: 77-4=73
Exploring Operation: 77-36=41, Resulting Numbers: [58, 4, 41]
Generated Node #0,3: 40:[58, 4, 41] Operation: 77-36=41
Moving to Node #0,1
Current State: 40:[36, 4, 19], Operations: ['77-58=19']
Exploring Operation: 36/4=9, Resulting Numbers: [19, 9]
Generated Node #0,1,0: 40:[19, 9] Operation: 36/4=9
Exploring Operation: 36-19=17, Resulting Numbers: [4, 17]
Generated Node #0,1,1: 40:[4, 17] Operation: 36-19=17
Exploring Operation: 4+19=23, Resulting Numbers: [36, 23]
Generated Node #0,1,2: 40:[36, 23] Operation: 4+19=23
Exploring Operation: 36+4=40, Resulting Numbers: [19, 40]
Generated Node #0,1,3: 40:[19, 40] Operation: 36+4=40
Moving to Node #0,3
Current State: 40:[58, 4, 41], Operations: ['77-36=41']
Exploring Operation: 58-41=17, Resulting Numbers: [4, 17]
Generated Node #0,3,0: 40:[4, 17] Operation: 58-41=17
Exploring Operation: 58+4=62, Resulting Numbers: [41, 62]
Generated Node #0,3,1: 40:[41, 62] Operation: 58+4=62
Exploring Operation: 58-4=54, Resulting Numbers: [41, 54]
Generated Node #0,3,2: 40:[41, 54] Operation: 58-4=54
Exploring Operation: 41-4=37, Resulting Numbers: [58, 37]
Generated Node #0,3,3: 40:[58, 37] Operation: 41-4=37
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[4, 17], Operations: ['77-36=41', '58-41=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,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,3,2
Current State: 40:[41, 54], Operations: ['77-36=41', '58-4=54']
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 41*54=2214, Resulting Numbers: [2214]
2214,40 unequal: No Solution
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,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,3,3
Current State: 40:[58, 37], Operations: ['77-36=41', '41-4=37']
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,40 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,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,3,1
Current State: 40:[41, 62], Operations: ['77-36=41', '58+4=62']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,40 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: 40:[77, 4, 22], Operations: ['58-36=22']
Exploring Operation: 77-4=73, Resulting Numbers: [22, 73]
Generated Node #0,0,0: 40:[22, 73] Operation: 77-4=73
Exploring Operation: 22-4=18, Resulting Numbers: [77, 18]
Generated Node #0,0,1: 40:[77, 18] Operation: 22-4=18
Exploring Operation: 77-22=55, Resulting Numbers: [4, 55]
Generated Node #0,0,2: 40:[4, 55] Operation: 77-22=55
Exploring Operation: 77+4=81, Resulting Numbers: [22, 81]
Generated Node #0,0,3: 40:[22, 81] Operation: 77+4=81
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 40:[4, 55], Operations: ['58-36=22', '77-22=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,40 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[22, 73], Operations: ['58-36=22', '77-4=73']
Exploring Operation: 22*73=1606, Resulting Numbers: [1606]
1606,40 unequal: No Solution
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 22+73=95, Resulting Numbers: [95]
95,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 40:[77, 18], Operations: ['58-36=22', '22-4=18']
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 40:[22, 81], Operations: ['58-36=22', '77+4=81']
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,40 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,40 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: 40:[36, 58, 73], Operations: ['77-4=73']
Exploring Operation: 73-36=37, Resulting Numbers: [58, 37]
Generated Node #0,2,0: 40:[58, 37] Operation: 73-36=37
Exploring Operation: 36+58=94, Resulting Numbers: [73, 94]
Generated Node #0,2,1: 40:[73, 94] Operation: 36+58=94
Exploring Operation: 73-58=15, Resulting Numbers: [36, 15]
Generated Node #0,2,2: 40:[36, 15] Operation: 73-58=15
Exploring Operation: 58-36=22, Resulting Numbers: [73, 22]
Generated Node #0,2,3: 40:[73, 22] Operation: 58-36=22
Moving to Node #0,1,3
Current State: 40:[19, 40], Operations: ['77-58=19', '36+4=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,40 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[19, 9], Operations: ['77-58=19', '36/4=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,40 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[4, 17], Operations: ['77-58=19', '36-19=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[36, 23], Operations: ['77-58=19', '4+19=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[36, 15], Operations: ['77-4=73', '73-58=15']
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[58, 37], Operations: ['77-4=73', '73-36=37']
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,40 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[73, 22], Operations: ['77-4=73', '58-36=22']
Exploring Operation: 73-22=51, Resulting Numbers: [51]
51,40 unequal: No Solution
Exploring Operation: 73*22=1606, Resulting Numbers: [1606]
1606,40 unequal: No Solution
Exploring Operation: 73+22=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[73, 94], Operations: ['77-4=73', '36+58=94']
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,40 unequal: No Solution
Exploring Operation: 73*94=6862, Resulting Numbers: [6862]
6862,40 unequal: No Solution
Exploring Operation: 73+94=167, Resulting Numbers: [167]
167,40 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
51,
16,
89
] | 45 | [
"79-51=28",
"89-16=73",
"73-28=45"
] | Current State: 45:[79, 51, 16, 89], Operations: []
Exploring Operation: 79-51=28, Resulting Numbers: [16, 89, 28]
Generated Node #2: [16, 89, 28] from Operation: 79-51=28
Current State: 45:[16, 89, 28], Operations: ['79-51=28']
Exploring Operation: 89-16=73, Resulting Numbers: [28, 73]
Generated Node #3: [28, 73] from Operation: 89-16=73
Current State: 45:[28, 73], Operations: ['79-51=28', '89-16=73']
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[79, 51, 16, 89], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [51, 16, 10]
Generated Node #0,0: 45:[51, 16, 10] Operation: 89-79=10
Exploring Operation: 89-51=38, Resulting Numbers: [79, 16, 38]
Generated Node #0,1: 45:[79, 16, 38] Operation: 89-51=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[51, 16, 10], Operations: ['89-79=10']
Exploring Operation: 51-10=41, Resulting Numbers: [16, 41]
Generated Node #0,0,0: 45:[16, 41] Operation: 51-10=41
Exploring Operation: 16-10=6, Resulting Numbers: [51, 6]
Generated Node #0,0,1: 45:[51, 6] Operation: 16-10=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[16, 41], Operations: ['89-79=10', '51-10=41']
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,45 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[51, 6], Operations: ['89-79=10', '16-10=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,45 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[79, 51, 16, 89], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [51, 16, 10]
Generated Node #0,0: 45:[51, 16, 10] Operation: 89-79=10
Moving to Node #0,0
Current State: 45:[51, 16, 10], Operations: ['89-79=10']
Exploring Operation: 16-10=6, Resulting Numbers: [51, 6]
Generated Node #0,0,1: 45:[51, 6] Operation: 16-10=6
Moving to Node #0,0,1
Current State: 45:[51, 6], Operations: ['89-79=10', '16-10=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
21,
39,
81,
8
] | 78 | [
"21-8=13",
"39/13=3",
"81-3=78"
] | Current State: 78:[21, 39, 81, 8], Operations: []
Exploring Operation: 21-8=13, Resulting Numbers: [39, 81, 13]
Generated Node #2: [39, 81, 13] from Operation: 21-8=13
Current State: 78:[39, 81, 13], Operations: ['21-8=13']
Exploring Operation: 39/13=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 39/13=3
Current State: 78:[81, 3], Operations: ['21-8=13', '39/13=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[21, 39, 81, 8], Operations: []
Exploring Operation: 39-21=18, Resulting Numbers: [81, 8, 18]
Generated Node #0,0: 78:[81, 8, 18] Operation: 39-21=18
Exploring Operation: 21+8=29, Resulting Numbers: [39, 81, 29]
Generated Node #0,1: 78:[39, 81, 29] Operation: 21+8=29
Exploring Operation: 21-8=13, Resulting Numbers: [39, 81, 13]
Generated Node #0,2: 78:[39, 81, 13] Operation: 21-8=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[39, 81, 13], Operations: ['21-8=13']
Exploring Operation: 81-39=42, Resulting Numbers: [13, 42]
Generated Node #0,2,0: 78:[13, 42] Operation: 81-39=42
Exploring Operation: 39/13=3, Resulting Numbers: [81, 3]
Generated Node #0,2,1: 78:[81, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [81, 26]
Generated Node #0,2,2: 78:[81, 26] Operation: 39-13=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[13, 42], Operations: ['21-8=13', '81-39=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,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,2,1
Current State: 78:[81, 3], Operations: ['21-8=13', '39/13=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[21, 39, 81, 8], Operations: []
Exploring Operation: 21-8=13, Resulting Numbers: [39, 81, 13]
Generated Node #0,2: 78:[39, 81, 13] Operation: 21-8=13
Moving to Node #0,2
Current State: 78:[39, 81, 13], Operations: ['21-8=13']
Exploring Operation: 39/13=3, Resulting Numbers: [81, 3]
Generated Node #0,2,1: 78:[81, 3] Operation: 39/13=3
Moving to Node #0,2,1
Current State: 78:[81, 3], Operations: ['21-8=13', '39/13=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
29,
27,
44,
45
] | 61 | [
"29*44=1276",
"27*45=1215",
"1276-1215=61"
] | Current State: 61:[29, 27, 44, 45], Operations: []
Exploring Operation: 29*44=1276, Resulting Numbers: [27, 45, 1276]
Generated Node #2: [27, 45, 1276] from Operation: 29*44=1276
Current State: 61:[27, 45, 1276], Operations: ['29*44=1276']
Exploring Operation: 27*45=1215, Resulting Numbers: [1276, 1215]
Generated Node #3: [1276, 1215] from Operation: 27*45=1215
Current State: 61:[1276, 1215], Operations: ['29*44=1276', '27*45=1215']
Exploring Operation: 1276-1215=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[29, 27, 44, 45], Operations: []
Exploring Operation: 27+44=71, Resulting Numbers: [29, 45, 71]
Generated Node #0,0: 61:[29, 45, 71] Operation: 27+44=71
Exploring Operation: 29+27=56, Resulting Numbers: [44, 45, 56]
Generated Node #0,1: 61:[44, 45, 56] Operation: 29+27=56
Moving to Node #0,1
Current State: 61:[44, 45, 56], Operations: ['29+27=56']
Exploring Operation: 44+56=100, Resulting Numbers: [45, 100]
Generated Node #0,1,0: 61:[45, 100] Operation: 44+56=100
Exploring Operation: 44+45=89, Resulting Numbers: [56, 89]
Generated Node #0,1,1: 61:[56, 89] Operation: 44+45=89
Moving to Node #0,0
Current State: 61:[29, 45, 71], Operations: ['27+44=71']
Exploring Operation: 29+45=74, Resulting Numbers: [71, 74]
Generated Node #0,0,0: 61:[71, 74] Operation: 29+45=74
Exploring Operation: 71-29=42, Resulting Numbers: [45, 42]
Generated Node #0,0,1: 61:[45, 42] Operation: 71-29=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[71, 74], Operations: ['27+44=71', '29+45=74']
Exploring Operation: 71+74=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Exploring Operation: 74-71=3, Resulting Numbers: [3]
3,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[45, 42], Operations: ['27+44=71', '71-29=42']
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 61:[56, 89], Operations: ['29+27=56', '44+45=89']
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 56+89=145, Resulting Numbers: [145]
145,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[45, 100], Operations: ['29+27=56', '44+56=100']
Exploring Operation: 100-45=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 45+100=145, Resulting Numbers: [145]
145,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
42,
57,
97
] | 76 | [
"57-55=2",
"42/2=21",
"97-21=76"
] | Current State: 76:[55, 42, 57, 97], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [42, 97, 2]
Generated Node #2: [42, 97, 2] from Operation: 57-55=2
Current State: 76:[42, 97, 2], Operations: ['57-55=2']
Exploring Operation: 42/2=21, Resulting Numbers: [97, 21]
Generated Node #3: [97, 21] from Operation: 42/2=21
Current State: 76:[97, 21], Operations: ['57-55=2', '42/2=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[55, 42, 57, 97], Operations: []
Exploring Operation: 57-42=15, Resulting Numbers: [55, 97, 15]
Generated Node #0,0: 76:[55, 97, 15] Operation: 57-42=15
Exploring Operation: 57-55=2, Resulting Numbers: [42, 97, 2]
Generated Node #0,1: 76:[42, 97, 2] Operation: 57-55=2
Exploring Operation: 97-55=42, Resulting Numbers: [42, 57, 42]
Generated Node #0,2: 76:[42, 57, 42] Operation: 97-55=42
Exploring Operation: 97-57=40, Resulting Numbers: [55, 42, 40]
Generated Node #0,3: 76:[55, 42, 40] Operation: 97-57=40
Start Sub Search at level 1: Moving to Node #0,3
Current State: 76:[55, 42, 40], Operations: ['97-57=40']
Exploring Operation: 55+42=97, Resulting Numbers: [40, 97]
Generated Node #0,3,0: 76:[40, 97] Operation: 55+42=97
Exploring Operation: 55-42=13, Resulting Numbers: [40, 13]
Generated Node #0,3,1: 76:[40, 13] Operation: 55-42=13
Exploring Operation: 55-40=15, Resulting Numbers: [42, 15]
Generated Node #0,3,2: 76:[42, 15] Operation: 55-40=15
Exploring Operation: 42-40=2, Resulting Numbers: [55, 2]
Generated Node #0,3,3: 76:[55, 2] Operation: 42-40=2
Moving to Node #0,3,1
Current State: 76:[40, 13], Operations: ['97-57=40', '55-42=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,76 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[42, 15], Operations: ['97-57=40', '55-40=15']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,76 unequal: No Solution
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[55, 2], Operations: ['97-57=40', '42-40=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[40, 97], Operations: ['97-57=40', '55+42=97']
Exploring Operation: 40+97=137, Resulting Numbers: [137]
137,76 unequal: No Solution
Exploring Operation: 40*97=3880, Resulting Numbers: [3880]
3880,76 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[42, 97, 2], Operations: ['57-55=2']
Exploring Operation: 97-2=95, Resulting Numbers: [42, 95]
Generated Node #0,1,0: 76:[42, 95] Operation: 97-2=95
Exploring Operation: 42-2=40, Resulting Numbers: [97, 40]
Generated Node #0,1,1: 76:[97, 40] Operation: 42-2=40
Exploring Operation: 42/2=21, Resulting Numbers: [97, 21]
Generated Node #0,1,2: 76:[97, 21] Operation: 42/2=21
Exploring Operation: 97-42=55, Resulting Numbers: [2, 55]
Generated Node #0,1,3: 76:[2, 55] Operation: 97-42=55
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 76:[2, 55], Operations: ['57-55=2', '97-42=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,76 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,76 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[42, 95], Operations: ['57-55=2', '97-2=95']
Exploring Operation: 42+95=137, Resulting Numbers: [137]
137,76 unequal: No Solution
Exploring Operation: 42*95=3990, Resulting Numbers: [3990]
3990,76 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[97, 40], Operations: ['57-55=2', '42-2=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,76 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[97, 21], Operations: ['57-55=2', '42/2=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[55, 42, 57, 97], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [42, 97, 2]
Generated Node #0,1: 76:[42, 97, 2] Operation: 57-55=2
Moving to Node #0,1
Current State: 76:[42, 97, 2], Operations: ['57-55=2']
Exploring Operation: 42/2=21, Resulting Numbers: [97, 21]
Generated Node #0,1,2: 76:[97, 21] Operation: 42/2=21
Moving to Node #0,1,2
Current State: 76:[97, 21], Operations: ['57-55=2', '42/2=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
11,
8,
75,
81
] | 56 | [
"11-8=3",
"75/3=25",
"81-25=56"
] | Current State: 56:[11, 8, 75, 81], Operations: []
Exploring Operation: 11-8=3, Resulting Numbers: [75, 81, 3]
Generated Node #2: [75, 81, 3] from Operation: 11-8=3
Current State: 56:[75, 81, 3], Operations: ['11-8=3']
Exploring Operation: 75/3=25, Resulting Numbers: [81, 25]
Generated Node #3: [81, 25] from Operation: 75/3=25
Current State: 56:[81, 25], Operations: ['11-8=3', '75/3=25']
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[11, 8, 75, 81], Operations: []
Exploring Operation: 75-11=64, Resulting Numbers: [8, 81, 64]
Generated Node #0,0: 56:[8, 81, 64] Operation: 75-11=64
Exploring Operation: 81-75=6, Resulting Numbers: [11, 8, 6]
Generated Node #0,1: 56:[11, 8, 6] Operation: 81-75=6
Moving to Node #0,1
Current State: 56:[11, 8, 6], Operations: ['81-75=6']
Exploring Operation: 11-8=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 56:[6, 3] Operation: 11-8=3
Exploring Operation: 11-6=5, Resulting Numbers: [8, 5]
Generated Node #0,1,1: 56:[8, 5] Operation: 11-6=5
Moving to Node #0,0
Current State: 56:[8, 81, 64], Operations: ['75-11=64']
Exploring Operation: 81-8=73, Resulting Numbers: [64, 73]
Generated Node #0,0,0: 56:[64, 73] Operation: 81-8=73
Exploring Operation: 81-64=17, Resulting Numbers: [8, 17]
Generated Node #0,0,1: 56:[8, 17] Operation: 81-64=17
Moving to Node #0,1,1
Current State: 56:[8, 5], Operations: ['81-75=6', '11-6=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[6, 3], Operations: ['81-75=6', '11-8=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[8, 17], Operations: ['75-11=64', '81-64=17']
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[64, 73], Operations: ['75-11=64', '81-8=73']
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,56 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,56 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
14,
38,
46
] | 72 | [
"78-14=64",
"46-38=8",
"64+8=72"
] | Current State: 72:[78, 14, 38, 46], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [38, 46, 64]
Generated Node #2: [38, 46, 64] from Operation: 78-14=64
Current State: 72:[38, 46, 64], Operations: ['78-14=64']
Exploring Operation: 46-38=8, Resulting Numbers: [64, 8]
Generated Node #3: [64, 8] from Operation: 46-38=8
Current State: 72:[64, 8], Operations: ['78-14=64', '46-38=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[78, 14, 38, 46], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [78, 14, 8]
Generated Node #0,0: 72:[78, 14, 8] Operation: 46-38=8
Exploring Operation: 78-46=32, Resulting Numbers: [14, 38, 32]
Generated Node #0,1: 72:[14, 38, 32] Operation: 78-46=32
Exploring Operation: 46-14=32, Resulting Numbers: [78, 38, 32]
Generated Node #0,2: 72:[78, 38, 32] Operation: 46-14=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[78, 14, 8], Operations: ['46-38=8']
Exploring Operation: 14-8=6, Resulting Numbers: [78, 6]
Generated Node #0,0,0: 72:[78, 6] Operation: 14-8=6
Exploring Operation: 78-14=64, Resulting Numbers: [8, 64]
Generated Node #0,0,1: 72:[8, 64] Operation: 78-14=64
Exploring Operation: 78-8=70, Resulting Numbers: [14, 70]
Generated Node #0,0,2: 72:[14, 70] Operation: 78-8=70
Moving to Node #0,0,2
Current State: 72:[14, 70], Operations: ['46-38=8', '78-8=70']
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[78, 6], Operations: ['46-38=8', '14-8=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[78, 14, 38, 46], Operations: []
Exploring Operation: 46-38=8, Resulting Numbers: [78, 14, 8]
Generated Node #0,0: 72:[78, 14, 8] Operation: 46-38=8
Moving to Node #0,0
Current State: 72:[78, 14, 8], Operations: ['46-38=8']
Exploring Operation: 14-8=6, Resulting Numbers: [78, 6]
Generated Node #0,0,0: 72:[78, 6] Operation: 14-8=6
Moving to Node #0,0,0
Current State: 72:[78, 6], Operations: ['46-38=8', '14-8=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
13,
46,
64,
41
] | 46 | [
"13+46=59",
"64+41=105",
"105-59=46"
] | Current State: 46:[13, 46, 64, 41], Operations: []
Exploring Operation: 13+46=59, Resulting Numbers: [64, 41, 59]
Generated Node #2: [64, 41, 59] from Operation: 13+46=59
Current State: 46:[64, 41, 59], Operations: ['13+46=59']
Exploring Operation: 64+41=105, Resulting Numbers: [59, 105]
Generated Node #3: [59, 105] from Operation: 64+41=105
Current State: 46:[59, 105], Operations: ['13+46=59', '64+41=105']
Exploring Operation: 105-59=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[13, 46, 64, 41], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [46, 41, 51]
Generated Node #0,0: 46:[46, 41, 51] Operation: 64-13=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[46, 41, 51], Operations: ['64-13=51']
Exploring Operation: 46-41=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 46:[51, 5] Operation: 46-41=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[51, 5], Operations: ['64-13=51', '46-41=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[13, 46, 64, 41], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [46, 41, 51]
Generated Node #0,0: 46:[46, 41, 51] Operation: 64-13=51
Moving to Node #0,0
Current State: 46:[46, 41, 51], Operations: ['64-13=51']
Exploring Operation: 46-41=5, Resulting Numbers: [51, 5]
Generated Node #0,0,0: 46:[51, 5] Operation: 46-41=5
Moving to Node #0,0,0
Current State: 46:[51, 5], Operations: ['64-13=51', '46-41=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
51,
40,
52,
40
] | 52 | [
"40-40=0",
"51*0=0",
"52+0=52"
] | Current State: 52:[51, 40, 52, 40], Operations: []
Exploring Operation: 40-40=0, Resulting Numbers: [51, 52, 0]
Generated Node #2: [51, 52, 0] from Operation: 40-40=0
Current State: 52:[51, 52, 0], Operations: ['40-40=0']
Exploring Operation: 51*0=0, Resulting Numbers: [52, 0]
Generated Node #3: [52, 0] from Operation: 51*0=0
Current State: 52:[52, 0], Operations: ['40-40=0', '51*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[51, 40, 52, 40], Operations: []
Exploring Operation: 40/40=1, Resulting Numbers: [51, 52, 1]
Generated Node #0,0: 52:[51, 52, 1] Operation: 40/40=1
Exploring Operation: 40-40=0, Resulting Numbers: [51, 52, 0]
Generated Node #0,1: 52:[51, 52, 0] Operation: 40-40=0
Moving to Node #0,0
Current State: 52:[51, 52, 1], Operations: ['40/40=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52, 52]
Generated Node #0,0,0: 52:[52, 52] Operation: 51+1=52
Exploring Operation: 51*1=51, Resulting Numbers: [52, 51]
Generated Node #0,0,1: 52:[52, 51] Operation: 51*1=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[52, 52], Operations: ['40/40=1', '51+1=52']
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[52, 51], Operations: ['40/40=1', '51*1=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 52:[51, 52, 0], Operations: ['40-40=0']
Exploring Operation: 51+0=51, Resulting Numbers: [52, 51]
Generated Node #0,1,0: 52:[52, 51] Operation: 51+0=51
Exploring Operation: 51-0=51, Resulting Numbers: [52, 51]
Generated Node #0,1,1: 52:[52, 51] Operation: 51-0=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[52, 51], Operations: ['40-40=0', '51+0=51']
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[52, 51], Operations: ['40-40=0', '51-0=51']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,52 unequal: No Solution
Exploring Operation: 52+51=103, Resulting Numbers: [103]
103,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
99,
80,
25,
14
] | 71 | [
"25-14=11",
"99/11=9",
"80-9=71"
] | Current State: 71:[99, 80, 25, 14], Operations: []
Exploring Operation: 25-14=11, Resulting Numbers: [99, 80, 11]
Generated Node #2: [99, 80, 11] from Operation: 25-14=11
Current State: 71:[99, 80, 11], Operations: ['25-14=11']
Exploring Operation: 99/11=9, Resulting Numbers: [80, 9]
Generated Node #3: [80, 9] from Operation: 99/11=9
Current State: 71:[80, 9], Operations: ['25-14=11', '99/11=9']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[99, 80, 25, 14], Operations: []
Exploring Operation: 25+14=39, Resulting Numbers: [99, 80, 39]
Generated Node #0,0: 71:[99, 80, 39] Operation: 25+14=39
Exploring Operation: 99-25=74, Resulting Numbers: [80, 14, 74]
Generated Node #0,1: 71:[80, 14, 74] Operation: 99-25=74
Exploring Operation: 99-14=85, Resulting Numbers: [80, 25, 85]
Generated Node #0,2: 71:[80, 25, 85] Operation: 99-14=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[99, 80, 39], Operations: ['25+14=39']
Exploring Operation: 80-39=41, Resulting Numbers: [99, 41]
Generated Node #0,0,0: 71:[99, 41] Operation: 80-39=41
Exploring Operation: 99-39=60, Resulting Numbers: [80, 60]
Generated Node #0,0,1: 71:[80, 60] Operation: 99-39=60
Exploring Operation: 99+39=138, Resulting Numbers: [80, 138]
Generated Node #0,0,2: 71:[80, 138] Operation: 99+39=138
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[80, 60], Operations: ['25+14=39', '99-39=60']
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,71 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[99, 41], Operations: ['25+14=39', '80-39=41']
Exploring Operation: 99+41=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 99-41=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 99*41=4059, Resulting Numbers: [4059]
4059,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[80, 138], Operations: ['25+14=39', '99+39=138']
Exploring Operation: 138-80=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 80*138=11040, Resulting Numbers: [11040]
11040,71 unequal: No Solution
Exploring Operation: 80+138=218, Resulting Numbers: [218]
218,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[80, 14, 74], Operations: ['99-25=74']
Exploring Operation: 80+14=94, Resulting Numbers: [74, 94]
Generated Node #0,1,0: 71:[74, 94] Operation: 80+14=94
Exploring Operation: 80-14=66, Resulting Numbers: [74, 66]
Generated Node #0,1,1: 71:[74, 66] Operation: 80-14=66
Exploring Operation: 74-14=60, Resulting Numbers: [80, 60]
Generated Node #0,1,2: 71:[80, 60] Operation: 74-14=60
Moving to Node #0,1,1
Current State: 71:[74, 66], Operations: ['99-25=74', '80-14=66']
Exploring Operation: 74*66=4884, Resulting Numbers: [4884]
4884,71 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 74+66=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[80, 60], Operations: ['99-25=74', '74-14=60']
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,71 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[74, 94], Operations: ['99-25=74', '80+14=94']
Exploring Operation: 74*94=6956, Resulting Numbers: [6956]
6956,71 unequal: No Solution
Exploring Operation: 74+94=168, Resulting Numbers: [168]
168,71 unequal: No Solution
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[80, 25, 85], Operations: ['99-14=85']
Exploring Operation: 80+25=105, Resulting Numbers: [85, 105]
Generated Node #0,2,0: 71:[85, 105] Operation: 80+25=105
Exploring Operation: 85-25=60, Resulting Numbers: [80, 60]
Generated Node #0,2,1: 71:[80, 60] Operation: 85-25=60
Exploring Operation: 80-25=55, Resulting Numbers: [85, 55]
Generated Node #0,2,2: 71:[85, 55] Operation: 80-25=55
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[80, 60], Operations: ['99-14=85', '85-25=60']
Exploring Operation: 80+60=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 80*60=4800, Resulting Numbers: [4800]
4800,71 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,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:[85, 55], Operations: ['99-14=85', '80-25=55']
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 85*55=4675, Resulting Numbers: [4675]
4675,71 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,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,0
Current State: 71:[85, 105], Operations: ['99-14=85', '80+25=105']
Exploring Operation: 85+105=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 105-85=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 85*105=8925, Resulting Numbers: [8925]
8925,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
36,
36,
42
] | 86 | [
"56+36=92",
"42-36=6",
"92-6=86"
] | Current State: 86:[56, 36, 36, 42], Operations: []
Exploring Operation: 56+36=92, Resulting Numbers: [42, 92]
Generated Node #2: [42, 92] from Operation: 56+36=92
Current State: 86:[42, 92], Operations: ['56+36=92']
Exploring Operation: 42-36=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 42-36=6
Current State: 86:[92, 6], Operations: ['56+36=92', '42-36=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[56, 36, 36, 42], Operations: []
Exploring Operation: 56+36=92, Resulting Numbers: [36, 42, 92]
Generated Node #0,0: 86:[36, 42, 92] Operation: 56+36=92
Exploring Operation: 36/36=1, Resulting Numbers: [56, 42, 1]
Generated Node #0,1: 86:[56, 42, 1] Operation: 36/36=1
Exploring Operation: 56+36=92, Resulting Numbers: [36, 42, 92]
Generated Node #0,2: 86:[36, 42, 92] Operation: 56+36=92
Moving to Node #0,0
Current State: 86:[36, 42, 92], Operations: ['56+36=92']
Exploring Operation: 36+42=78, Resulting Numbers: [92, 78]
Generated Node #0,0,0: 86:[92, 78] Operation: 36+42=78
Exploring Operation: 92-36=56, Resulting Numbers: [42, 56]
Generated Node #0,0,1: 86:[42, 56] Operation: 92-36=56
Exploring Operation: 42-36=6, Resulting Numbers: [92, 6]
Generated Node #0,0,2: 86:[92, 6] Operation: 42-36=6
Moving to Node #0,2
Current State: 86:[36, 42, 92], Operations: ['56+36=92']
Exploring Operation: 36+42=78, Resulting Numbers: [92, 78]
Generated Node #0,2,0: 86:[92, 78] Operation: 36+42=78
Exploring Operation: 92-36=56, Resulting Numbers: [42, 56]
Generated Node #0,2,1: 86:[42, 56] Operation: 92-36=56
Exploring Operation: 42-36=6, Resulting Numbers: [92, 6]
Generated Node #0,2,2: 86:[92, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[92, 6], Operations: ['56+36=92', '42-36=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[56, 36, 36, 42], Operations: []
Exploring Operation: 56+36=92, Resulting Numbers: [36, 42, 92]
Generated Node #0,2: 86:[36, 42, 92] Operation: 56+36=92
Moving to Node #0,2
Current State: 86:[36, 42, 92], Operations: ['56+36=92']
Exploring Operation: 42-36=6, Resulting Numbers: [92, 6]
Generated Node #0,2,2: 86:[92, 6] Operation: 42-36=6
Moving to Node #0,2,2
Current State: 86:[92, 6], Operations: ['56+36=92', '42-36=6']
Exploring Operation: 92-6=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
45,
51,
17,
99
] | 18 | [
"99-45=54",
"51/17=3",
"54/3=18"
] | Current State: 18:[45, 51, 17, 99], Operations: []
Exploring Operation: 99-45=54, Resulting Numbers: [51, 17, 54]
Generated Node #2: [51, 17, 54] from Operation: 99-45=54
Current State: 18:[51, 17, 54], Operations: ['99-45=54']
Exploring Operation: 51/17=3, Resulting Numbers: [54, 3]
Generated Node #3: [54, 3] from Operation: 51/17=3
Current State: 18:[54, 3], Operations: ['99-45=54', '51/17=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[45, 51, 17, 99], Operations: []
Exploring Operation: 99-51=48, Resulting Numbers: [45, 17, 48]
Generated Node #0,0: 18:[45, 17, 48] Operation: 99-51=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[45, 17, 48], Operations: ['99-51=48']
Exploring Operation: 48-45=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 18:[17, 3] Operation: 48-45=3
Moving to Node #0,0,0
Current State: 18:[17, 3], Operations: ['99-51=48', '48-45=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
44,
98,
8
] | 33 | [
"79+44=123",
"98-8=90",
"123-90=33"
] | Current State: 33:[79, 44, 98, 8], Operations: []
Exploring Operation: 79+44=123, Resulting Numbers: [98, 8, 123]
Generated Node #2: [98, 8, 123] from Operation: 79+44=123
Current State: 33:[98, 8, 123], Operations: ['79+44=123']
Exploring Operation: 98-8=90, Resulting Numbers: [123, 90]
Generated Node #3: [123, 90] from Operation: 98-8=90
Current State: 33:[123, 90], Operations: ['79+44=123', '98-8=90']
Exploring Operation: 123-90=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[79, 44, 98, 8], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [98, 8, 35]
Generated Node #0,0: 33:[98, 8, 35] Operation: 79-44=35
Exploring Operation: 79-8=71, Resulting Numbers: [44, 98, 71]
Generated Node #0,1: 33:[44, 98, 71] Operation: 79-8=71
Exploring Operation: 98-79=19, Resulting Numbers: [44, 8, 19]
Generated Node #0,2: 33:[44, 8, 19] Operation: 98-79=19
Exploring Operation: 98-44=54, Resulting Numbers: [79, 8, 54]
Generated Node #0,3: 33:[79, 8, 54] Operation: 98-44=54
Moving to Node #0,2
Current State: 33:[44, 8, 19], Operations: ['98-79=19']
Exploring Operation: 19-8=11, Resulting Numbers: [44, 11]
Generated Node #0,2,0: 33:[44, 11] Operation: 19-8=11
Exploring Operation: 44-19=25, Resulting Numbers: [8, 25]
Generated Node #0,2,1: 33:[8, 25] Operation: 44-19=25
Exploring Operation: 44-8=36, Resulting Numbers: [19, 36]
Generated Node #0,2,2: 33:[19, 36] Operation: 44-8=36
Exploring Operation: 8+19=27, Resulting Numbers: [44, 27]
Generated Node #0,2,3: 33:[44, 27] Operation: 8+19=27
Moving to Node #0,3
Current State: 33:[79, 8, 54], Operations: ['98-44=54']
Exploring Operation: 79-8=71, Resulting Numbers: [54, 71]
Generated Node #0,3,0: 33:[54, 71] Operation: 79-8=71
Exploring Operation: 54-8=46, Resulting Numbers: [79, 46]
Generated Node #0,3,1: 33:[79, 46] Operation: 54-8=46
Exploring Operation: 79+8=87, Resulting Numbers: [54, 87]
Generated Node #0,3,2: 33:[54, 87] Operation: 79+8=87
Exploring Operation: 79-54=25, Resulting Numbers: [8, 25]
Generated Node #0,3,3: 33:[8, 25] Operation: 79-54=25
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[8, 25], Operations: ['98-44=54', '79-54=25']
Exploring Operation: 8*25=200, Resulting Numbers: [200]
200,33 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[79, 44, 98, 8], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [79, 8, 54]
Generated Node #0,3: 33:[79, 8, 54] Operation: 98-44=54
Moving to Node #0,3
Current State: 33:[79, 8, 54], Operations: ['98-44=54']
Exploring Operation: 79-54=25, Resulting Numbers: [8, 25]
Generated Node #0,3,3: 33:[8, 25] Operation: 79-54=25
Moving to Node #0,3,3
Current State: 33:[8, 25], Operations: ['98-44=54', '79-54=25']
Exploring Operation: 8+25=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
42,
36,
27,
20
] | 30 | [
"36+27=63",
"20*63=1260",
"1260/42=30"
] | Current State: 30:[42, 36, 27, 20], Operations: []
Exploring Operation: 36+27=63, Resulting Numbers: [42, 20, 63]
Generated Node #2: [42, 20, 63] from Operation: 36+27=63
Current State: 30:[42, 20, 63], Operations: ['36+27=63']
Exploring Operation: 20*63=1260, Resulting Numbers: [42, 1260]
Generated Node #3: [42, 1260] from Operation: 20*63=1260
Current State: 30:[42, 1260], Operations: ['36+27=63', '20*63=1260']
Exploring Operation: 1260/42=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[42, 36, 27, 20], Operations: []
Exploring Operation: 42-36=6, Resulting Numbers: [27, 20, 6]
Generated Node #0,0: 30:[27, 20, 6] Operation: 42-36=6
Moving to Node #0,0
Current State: 30:[27, 20, 6], Operations: ['42-36=6']
Exploring Operation: 27-20=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 30:[6, 7] Operation: 27-20=7
Moving to Node #0,0,0
Current State: 30:[6, 7], Operations: ['42-36=6', '27-20=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,30 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
57,
14,
97
] | 48 | [
"6+57=63",
"14+97=111",
"111-63=48"
] | Current State: 48:[6, 57, 14, 97], Operations: []
Exploring Operation: 6+57=63, Resulting Numbers: [14, 97, 63]
Generated Node #2: [14, 97, 63] from Operation: 6+57=63
Current State: 48:[14, 97, 63], Operations: ['6+57=63']
Exploring Operation: 14+97=111, Resulting Numbers: [63, 111]
Generated Node #3: [63, 111] from Operation: 14+97=111
Current State: 48:[63, 111], Operations: ['6+57=63', '14+97=111']
Exploring Operation: 111-63=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[6, 57, 14, 97], Operations: []
Exploring Operation: 97-57=40, Resulting Numbers: [6, 14, 40]
Generated Node #0,0: 48:[6, 14, 40] Operation: 97-57=40
Moving to Node #0,0
Current State: 48:[6, 14, 40], Operations: ['97-57=40']
Exploring Operation: 40-14=26, Resulting Numbers: [6, 26]
Generated Node #0,0,0: 48:[6, 26] Operation: 40-14=26
Moving to Node #0,0,0
Current State: 48:[6, 26], Operations: ['97-57=40', '40-14=26']
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,48 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
17,
60,
31,
61
] | 19 | [
"61-31=30",
"60/30=2",
"17+2=19"
] | Current State: 19:[17, 60, 31, 61], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [17, 60, 30]
Generated Node #2: [17, 60, 30] from Operation: 61-31=30
Current State: 19:[17, 60, 30], Operations: ['61-31=30']
Exploring Operation: 60/30=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 60/30=2
Current State: 19:[17, 2], Operations: ['61-31=30', '60/30=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[17, 60, 31, 61], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [17, 31, 1]
Generated Node #0,0: 19:[17, 31, 1] Operation: 61-60=1
Exploring Operation: 60-31=29, Resulting Numbers: [17, 61, 29]
Generated Node #0,1: 19:[17, 61, 29] Operation: 60-31=29
Moving to Node #0,0
Current State: 19:[17, 31, 1], Operations: ['61-60=1']
Exploring Operation: 31-1=30, Resulting Numbers: [17, 30]
Generated Node #0,0,0: 19:[17, 30] Operation: 31-1=30
Exploring Operation: 17+1=18, Resulting Numbers: [31, 18]
Generated Node #0,0,1: 19:[31, 18] Operation: 17+1=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[17, 30], Operations: ['61-60=1', '31-1=30']
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,19 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[31, 18], Operations: ['61-60=1', '17+1=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[17, 61, 29], Operations: ['60-31=29']
Exploring Operation: 61-29=32, Resulting Numbers: [17, 32]
Generated Node #0,1,0: 19:[17, 32] Operation: 61-29=32
Exploring Operation: 61-17=44, Resulting Numbers: [29, 44]
Generated Node #0,1,1: 19:[29, 44] Operation: 61-17=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[17, 32], Operations: ['60-31=29', '61-29=32']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 17+32=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,1
Current State: 19:[29, 44], Operations: ['60-31=29', '61-17=44']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,19 unequal: No Solution
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,19 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 |
[
71,
5,
61,
33
] | 48 | [
"71+5=76",
"61-33=28",
"76-28=48"
] | Current State: 48:[71, 5, 61, 33], Operations: []
Exploring Operation: 71+5=76, Resulting Numbers: [61, 33, 76]
Generated Node #2: [61, 33, 76] from Operation: 71+5=76
Current State: 48:[61, 33, 76], Operations: ['71+5=76']
Exploring Operation: 61-33=28, Resulting Numbers: [76, 28]
Generated Node #3: [76, 28] from Operation: 61-33=28
Current State: 48:[76, 28], Operations: ['71+5=76', '61-33=28']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[71, 5, 61, 33], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [5, 33, 10]
Generated Node #0,0: 48:[5, 33, 10] Operation: 71-61=10
Moving to Node #0,0
Current State: 48:[5, 33, 10], Operations: ['71-61=10']
Exploring Operation: 33-10=23, Resulting Numbers: [5, 23]
Generated Node #0,0,0: 48:[5, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[5, 23], Operations: ['71-61=10', '33-10=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
82,
36,
21
] | 84 | [
"21-3=18",
"36/18=2",
"82+2=84"
] | Current State: 84:[3, 82, 36, 21], Operations: []
Exploring Operation: 21-3=18, Resulting Numbers: [82, 36, 18]
Generated Node #2: [82, 36, 18] from Operation: 21-3=18
Current State: 84:[82, 36, 18], Operations: ['21-3=18']
Exploring Operation: 36/18=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 36/18=2
Current State: 84:[82, 2], Operations: ['21-3=18', '36/18=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[3, 82, 36, 21], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [82, 21, 12]
Generated Node #0,0: 84:[82, 21, 12] Operation: 36/3=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[82, 21, 12], Operations: ['36/3=12']
Exploring Operation: 21-12=9, Resulting Numbers: [82, 9]
Generated Node #0,0,0: 84:[82, 9] Operation: 21-12=9
Moving to Node #0,0,0
Current State: 84:[82, 9], Operations: ['36/3=12', '21-12=9']
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
25,
23,
6
] | 20 | [
"3*6=18",
"25-23=2",
"18+2=20"
] | Current State: 20:[3, 25, 23, 6], Operations: []
Exploring Operation: 3*6=18, Resulting Numbers: [25, 23, 18]
Generated Node #2: [25, 23, 18] from Operation: 3*6=18
Current State: 20:[25, 23, 18], Operations: ['3*6=18']
Exploring Operation: 25-23=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 25-23=2
Current State: 20:[18, 2], Operations: ['3*6=18', '25-23=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[3, 25, 23, 6], Operations: []
Exploring Operation: 25-3=22, Resulting Numbers: [23, 6, 22]
Generated Node #0,0: 20:[23, 6, 22] Operation: 25-3=22
Exploring Operation: 23-3=20, Resulting Numbers: [25, 6, 20]
Generated Node #0,1: 20:[25, 6, 20] Operation: 23-3=20
Exploring Operation: 25-6=19, Resulting Numbers: [3, 23, 19]
Generated Node #0,2: 20:[3, 23, 19] Operation: 25-6=19
Exploring Operation: 25-23=2, Resulting Numbers: [3, 6, 2]
Generated Node #0,3: 20:[3, 6, 2] Operation: 25-23=2
Moving to Node #0,3
Current State: 20:[3, 6, 2], Operations: ['25-23=2']
Exploring Operation: 3+2=5, Resulting Numbers: [6, 5]
Generated Node #0,3,0: 20:[6, 5] Operation: 3+2=5
Exploring Operation: 6-3=3, Resulting Numbers: [2, 3]
Generated Node #0,3,1: 20:[2, 3] Operation: 6-3=3
Exploring Operation: 3+6=9, Resulting Numbers: [2, 9]
Generated Node #0,3,2: 20:[2, 9] Operation: 3+6=9
Exploring Operation: 6/3=2, Resulting Numbers: [2, 2]
Generated Node #0,3,3: 20:[2, 2] Operation: 6/3=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 20:[2, 2], Operations: ['25-23=2', '6/3=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,20 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[6, 5], Operations: ['25-23=2', '3+2=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 20:[2, 3], Operations: ['25-23=2', '6-3=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 20:[2, 9], Operations: ['25-23=2', '3+6=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,20 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: 20:[3, 23, 19], Operations: ['25-6=19']
Exploring Operation: 23-19=4, Resulting Numbers: [3, 4]
Generated Node #0,2,0: 20:[3, 4] Operation: 23-19=4
Exploring Operation: 3+19=22, Resulting Numbers: [23, 22]
Generated Node #0,2,1: 20:[23, 22] Operation: 3+19=22
Exploring Operation: 23-3=20, Resulting Numbers: [19, 20]
Generated Node #0,2,2: 20:[19, 20] Operation: 23-3=20
Exploring Operation: 3+23=26, Resulting Numbers: [19, 26]
Generated Node #0,2,3: 20:[19, 26] Operation: 3+23=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 20:[3, 4], Operations: ['25-6=19', '23-19=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 20:[19, 20], Operations: ['25-6=19', '23-3=20']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 20:[23, 22], Operations: ['25-6=19', '3+19=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[19, 26], Operations: ['25-6=19', '3+23=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,20 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: 20:[25, 6, 20], Operations: ['23-3=20']
Exploring Operation: 25+6=31, Resulting Numbers: [20, 31]
Generated Node #0,1,0: 20:[20, 31] Operation: 25+6=31
Exploring Operation: 20-6=14, Resulting Numbers: [25, 14]
Generated Node #0,1,1: 20:[25, 14] Operation: 20-6=14
Exploring Operation: 25-20=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 20:[6, 5] Operation: 25-20=5
Exploring Operation: 25-6=19, Resulting Numbers: [20, 19]
Generated Node #0,1,3: 20:[20, 19] Operation: 25-6=19
Moving to Node #0,0
Current State: 20:[23, 6, 22], Operations: ['25-3=22']
Exploring Operation: 23-6=17, Resulting Numbers: [22, 17]
Generated Node #0,0,0: 20:[22, 17] Operation: 23-6=17
Exploring Operation: 22-6=16, Resulting Numbers: [23, 16]
Generated Node #0,0,1: 20:[23, 16] Operation: 22-6=16
Exploring Operation: 23-22=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 20:[6, 1] Operation: 23-22=1
Exploring Operation: 23+6=29, Resulting Numbers: [22, 29]
Generated Node #0,0,3: 20:[22, 29] Operation: 23+6=29
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[6, 1], Operations: ['25-3=22', '23-22=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[22, 17], Operations: ['25-3=22', '23-6=17']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,20 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[23, 16], Operations: ['25-3=22', '22-6=16']
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,20 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[22, 29], Operations: ['25-3=22', '23+6=29']
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,20 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,20 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,20 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: 20:[6, 5], Operations: ['23-3=20', '25-20=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[20, 19], Operations: ['23-3=20', '25-6=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,20 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[25, 14], Operations: ['23-3=20', '20-6=14']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,20 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[20, 31], Operations: ['23-3=20', '25+6=31']
Exploring Operation: 31-20=11, Resulting Numbers: [11]
11,20 unequal: No Solution
Exploring Operation: 20*31=620, Resulting Numbers: [620]
620,20 unequal: No Solution
Exploring Operation: 20+31=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
26,
15,
58,
81
] | 45 | [
"26+58=84",
"84-81=3",
"15*3=45"
] | Current State: 45:[26, 15, 58, 81], Operations: []
Exploring Operation: 26+58=84, Resulting Numbers: [15, 81, 84]
Generated Node #2: [15, 81, 84] from Operation: 26+58=84
Current State: 45:[15, 81, 84], Operations: ['26+58=84']
Exploring Operation: 84-81=3, Resulting Numbers: [15, 3]
Generated Node #3: [15, 3] from Operation: 84-81=3
Current State: 45:[15, 3], Operations: ['26+58=84', '84-81=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[26, 15, 58, 81], Operations: []
Exploring Operation: 58-26=32, Resulting Numbers: [15, 81, 32]
Generated Node #0,0: 45:[15, 81, 32] Operation: 58-26=32
Exploring Operation: 81-26=55, Resulting Numbers: [15, 58, 55]
Generated Node #0,1: 45:[15, 58, 55] Operation: 81-26=55
Exploring Operation: 81-58=23, Resulting Numbers: [26, 15, 23]
Generated Node #0,2: 45:[26, 15, 23] Operation: 81-58=23
Exploring Operation: 81-15=66, Resulting Numbers: [26, 58, 66]
Generated Node #0,3: 45:[26, 58, 66] Operation: 81-15=66
Moving to Node #0,2
Current State: 45:[26, 15, 23], Operations: ['81-58=23']
Exploring Operation: 26+23=49, Resulting Numbers: [15, 49]
Generated Node #0,2,0: 45:[15, 49] Operation: 26+23=49
Exploring Operation: 26-15=11, Resulting Numbers: [23, 11]
Generated Node #0,2,1: 45:[23, 11] Operation: 26-15=11
Exploring Operation: 26+15=41, Resulting Numbers: [23, 41]
Generated Node #0,2,2: 45:[23, 41] Operation: 26+15=41
Exploring Operation: 26-23=3, Resulting Numbers: [15, 3]
Generated Node #0,2,3: 45:[15, 3] Operation: 26-23=3
Moving to Node #0,1
Current State: 45:[15, 58, 55], Operations: ['81-26=55']
Exploring Operation: 58-15=43, Resulting Numbers: [55, 43]
Generated Node #0,1,0: 45:[55, 43] Operation: 58-15=43
Exploring Operation: 58-55=3, Resulting Numbers: [15, 3]
Generated Node #0,1,1: 45:[15, 3] Operation: 58-55=3
Exploring Operation: 55-15=40, Resulting Numbers: [58, 40]
Generated Node #0,1,2: 45:[58, 40] Operation: 55-15=40
Exploring Operation: 15+58=73, Resulting Numbers: [55, 73]
Generated Node #0,1,3: 45:[55, 73] Operation: 15+58=73
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 45:[15, 3], Operations: ['81-26=55', '58-55=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[26, 15, 58, 81], Operations: []
Exploring Operation: 81-26=55, Resulting Numbers: [15, 58, 55]
Generated Node #0,1: 45:[15, 58, 55] Operation: 81-26=55
Moving to Node #0,1
Current State: 45:[15, 58, 55], Operations: ['81-26=55']
Exploring Operation: 58-55=3, Resulting Numbers: [15, 3]
Generated Node #0,1,1: 45:[15, 3] Operation: 58-55=3
Moving to Node #0,1,1
Current State: 45:[15, 3], Operations: ['81-26=55', '58-55=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
64,
31,
71,
38
] | 76 | [
"64-31=33",
"71+38=109",
"109-33=76"
] | Current State: 76:[64, 31, 71, 38], Operations: []
Exploring Operation: 64-31=33, Resulting Numbers: [71, 38, 33]
Generated Node #2: [71, 38, 33] from Operation: 64-31=33
Current State: 76:[71, 38, 33], Operations: ['64-31=33']
Exploring Operation: 71+38=109, Resulting Numbers: [33, 109]
Generated Node #3: [33, 109] from Operation: 71+38=109
Current State: 76:[33, 109], Operations: ['64-31=33', '71+38=109']
Exploring Operation: 109-33=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[64, 31, 71, 38], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [31, 38, 7]
Generated Node #0,0: 76:[31, 38, 7] Operation: 71-64=7
Exploring Operation: 64-31=33, Resulting Numbers: [71, 38, 33]
Generated Node #0,1: 76:[71, 38, 33] Operation: 64-31=33
Moving to Node #0,0
Current State: 76:[31, 38, 7], Operations: ['71-64=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38, 38]
Generated Node #0,0,0: 76:[38, 38] Operation: 31+7=38
Exploring Operation: 31-7=24, Resulting Numbers: [38, 24]
Generated Node #0,0,1: 76:[38, 24] Operation: 31-7=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[38, 38], Operations: ['71-64=7', '31+7=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[64, 31, 71, 38], Operations: []
Exploring Operation: 71-64=7, Resulting Numbers: [31, 38, 7]
Generated Node #0,0: 76:[31, 38, 7] Operation: 71-64=7
Moving to Node #0,0
Current State: 76:[31, 38, 7], Operations: ['71-64=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38, 38]
Generated Node #0,0,0: 76:[38, 38] Operation: 31+7=38
Moving to Node #0,0,0
Current State: 76:[38, 38], Operations: ['71-64=7', '31+7=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
54,
10,
11,
13
] | 32 | [
"54+10=64",
"13-11=2",
"64/2=32"
] | Current State: 32:[54, 10, 11, 13], Operations: []
Exploring Operation: 54+10=64, Resulting Numbers: [11, 13, 64]
Generated Node #2: [11, 13, 64] from Operation: 54+10=64
Current State: 32:[11, 13, 64], Operations: ['54+10=64']
Exploring Operation: 13-11=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 13-11=2
Current State: 32:[64, 2], Operations: ['54+10=64', '13-11=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[54, 10, 11, 13], Operations: []
Exploring Operation: 54-11=43, Resulting Numbers: [10, 13, 43]
Generated Node #0,0: 32:[10, 13, 43] Operation: 54-11=43
Exploring Operation: 54-10=44, Resulting Numbers: [11, 13, 44]
Generated Node #0,1: 32:[11, 13, 44] Operation: 54-10=44
Exploring Operation: 54-13=41, Resulting Numbers: [10, 11, 41]
Generated Node #0,2: 32:[10, 11, 41] Operation: 54-13=41
Moving to Node #0,2
Current State: 32:[10, 11, 41], Operations: ['54-13=41']
Exploring Operation: 11-10=1, Resulting Numbers: [41, 1]
Generated Node #0,2,0: 32:[41, 1] Operation: 11-10=1
Exploring Operation: 41-11=30, Resulting Numbers: [10, 30]
Generated Node #0,2,1: 32:[10, 30] Operation: 41-11=30
Exploring Operation: 41-10=31, Resulting Numbers: [11, 31]
Generated Node #0,2,2: 32:[11, 31] Operation: 41-10=31
Moving to Node #0,0
Current State: 32:[10, 13, 43], Operations: ['54-11=43']
Exploring Operation: 43-13=30, Resulting Numbers: [10, 30]
Generated Node #0,0,0: 32:[10, 30] Operation: 43-13=30
Exploring Operation: 43-10=33, Resulting Numbers: [13, 33]
Generated Node #0,0,1: 32:[13, 33] Operation: 43-10=33
Exploring Operation: 13-10=3, Resulting Numbers: [43, 3]
Generated Node #0,0,2: 32:[43, 3] Operation: 13-10=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[10, 30], Operations: ['54-11=43', '43-13=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[13, 33], Operations: ['54-11=43', '43-10=33']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 13*33=429, Resulting Numbers: [429]
429,32 unequal: No Solution
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[43, 3], Operations: ['54-11=43', '13-10=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[11, 13, 44], Operations: ['54-10=44']
Exploring Operation: 44-13=31, Resulting Numbers: [11, 31]
Generated Node #0,1,0: 32:[11, 31] Operation: 44-13=31
Exploring Operation: 44-11=33, Resulting Numbers: [13, 33]
Generated Node #0,1,1: 32:[13, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 32:[13, 4] Operation: 44/11=4
Moving to Node #0,1,2
Current State: 32:[13, 4], Operations: ['54-10=44', '44/11=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[13, 33], Operations: ['54-10=44', '44-11=33']
Exploring Operation: 13+33=46, Resulting Numbers: [46]
46,32 unequal: No Solution
Exploring Operation: 13*33=429, Resulting Numbers: [429]
429,32 unequal: No Solution
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[10, 30], Operations: ['54-13=41', '41-11=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,32 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,32 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[11, 31], Operations: ['54-13=41', '41-10=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[11, 31], Operations: ['54-10=44', '44-13=31']
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,32 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[41, 1], Operations: ['54-13=41', '11-10=1']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,32 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,32 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
53,
74,
3
] | 94 | [
"70-53=17",
"74+3=77",
"17+77=94"
] | Current State: 94:[70, 53, 74, 3], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [74, 3, 17]
Generated Node #2: [74, 3, 17] from Operation: 70-53=17
Current State: 94:[74, 3, 17], Operations: ['70-53=17']
Exploring Operation: 74+3=77, Resulting Numbers: [17, 77]
Generated Node #3: [17, 77] from Operation: 74+3=77
Current State: 94:[17, 77], Operations: ['70-53=17', '74+3=77']
Exploring Operation: 17+77=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[70, 53, 74, 3], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [53, 3, 4]
Generated Node #0,0: 94:[53, 3, 4] Operation: 74-70=4
Exploring Operation: 70-53=17, Resulting Numbers: [74, 3, 17]
Generated Node #0,1: 94:[74, 3, 17] Operation: 70-53=17
Exploring Operation: 70-3=67, Resulting Numbers: [53, 74, 67]
Generated Node #0,2: 94:[53, 74, 67] Operation: 70-3=67
Exploring Operation: 74-53=21, Resulting Numbers: [70, 3, 21]
Generated Node #0,3: 94:[70, 3, 21] Operation: 74-53=21
Moving to Node #0,0
Current State: 94:[53, 3, 4], Operations: ['74-70=4']
Exploring Operation: 4-3=1, Resulting Numbers: [53, 1]
Generated Node #0,0,0: 94:[53, 1] Operation: 4-3=1
Exploring Operation: 53-3=50, Resulting Numbers: [4, 50]
Generated Node #0,0,1: 94:[4, 50] Operation: 53-3=50
Exploring Operation: 53+3=56, Resulting Numbers: [4, 56]
Generated Node #0,0,2: 94:[4, 56] Operation: 53+3=56
Exploring Operation: 53-4=49, Resulting Numbers: [3, 49]
Generated Node #0,0,3: 94:[3, 49] Operation: 53-4=49
Moving to Node #0,1
Current State: 94:[74, 3, 17], Operations: ['70-53=17']
Exploring Operation: 3*17=51, Resulting Numbers: [74, 51]
Generated Node #0,1,0: 94:[74, 51] Operation: 3*17=51
Exploring Operation: 74-17=57, Resulting Numbers: [3, 57]
Generated Node #0,1,1: 94:[3, 57] Operation: 74-17=57
Exploring Operation: 74+17=91, Resulting Numbers: [3, 91]
Generated Node #0,1,2: 94:[3, 91] Operation: 74+17=91
Exploring Operation: 74+3=77, Resulting Numbers: [17, 77]
Generated Node #0,1,3: 94:[17, 77] Operation: 74+3=77
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[3, 91], Operations: ['70-53=17', '74+17=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[70, 53, 74, 3], Operations: []
Exploring Operation: 70-53=17, Resulting Numbers: [74, 3, 17]
Generated Node #0,1: 94:[74, 3, 17] Operation: 70-53=17
Moving to Node #0,1
Current State: 94:[74, 3, 17], Operations: ['70-53=17']
Exploring Operation: 74+17=91, Resulting Numbers: [3, 91]
Generated Node #0,1,2: 94:[3, 91] Operation: 74+17=91
Moving to Node #0,1,2
Current State: 94:[3, 91], Operations: ['70-53=17', '74+17=91']
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
59,
63,
55,
29
] | 31 | [
"63+55=118",
"118/59=2",
"29+2=31"
] | Current State: 31:[59, 63, 55, 29], Operations: []
Exploring Operation: 63+55=118, Resulting Numbers: [59, 29, 118]
Generated Node #2: [59, 29, 118] from Operation: 63+55=118
Current State: 31:[59, 29, 118], Operations: ['63+55=118']
Exploring Operation: 118/59=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 118/59=2
Current State: 31:[29, 2], Operations: ['63+55=118', '118/59=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[59, 63, 55, 29], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [59, 29, 8]
Generated Node #0,0: 31:[59, 29, 8] Operation: 63-55=8
Exploring Operation: 63-59=4, Resulting Numbers: [55, 29, 4]
Generated Node #0,1: 31:[55, 29, 4] Operation: 63-59=4
Exploring Operation: 63-29=34, Resulting Numbers: [59, 55, 34]
Generated Node #0,2: 31:[59, 55, 34] Operation: 63-29=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[59, 29, 8], Operations: ['63-55=8']
Exploring Operation: 59-29=30, Resulting Numbers: [8, 30]
Generated Node #0,0,0: 31:[8, 30] Operation: 59-29=30
Exploring Operation: 59-8=51, Resulting Numbers: [29, 51]
Generated Node #0,0,1: 31:[29, 51] Operation: 59-8=51
Exploring Operation: 29+8=37, Resulting Numbers: [59, 37]
Generated Node #0,0,2: 31:[59, 37] Operation: 29+8=37
Moving to Node #0,0,1
Current State: 31:[29, 51], Operations: ['63-55=8', '59-8=51']
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,31 unequal: No Solution
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[8, 30], Operations: ['63-55=8', '59-29=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[59, 37], Operations: ['63-55=8', '29+8=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,31 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,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,1
Current State: 31:[55, 29, 4], Operations: ['63-59=4']
Exploring Operation: 55-4=51, Resulting Numbers: [29, 51]
Generated Node #0,1,0: 31:[29, 51] Operation: 55-4=51
Exploring Operation: 29+4=33, Resulting Numbers: [55, 33]
Generated Node #0,1,1: 31:[55, 33] Operation: 29+4=33
Exploring Operation: 55+4=59, Resulting Numbers: [29, 59]
Generated Node #0,1,2: 31:[29, 59] Operation: 55+4=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[29, 51], Operations: ['63-59=4', '55-4=51']
Exploring Operation: 29+51=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 29*51=1479, Resulting Numbers: [1479]
1479,31 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,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:[55, 33], Operations: ['63-59=4', '29+4=33']
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,31 unequal: No Solution
Exploring Operation: 55+33=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 55*33=1815, Resulting Numbers: [1815]
1815,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:[29, 59], Operations: ['63-59=4', '55+4=59']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 29+59=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 29*59=1711, Resulting Numbers: [1711]
1711,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:[59, 55, 34], Operations: ['63-29=34']
Exploring Operation: 59-34=25, Resulting Numbers: [55, 25]
Generated Node #0,2,0: 31:[55, 25] Operation: 59-34=25
Exploring Operation: 59-55=4, Resulting Numbers: [34, 4]
Generated Node #0,2,1: 31:[34, 4] Operation: 59-55=4
Exploring Operation: 55-34=21, Resulting Numbers: [59, 21]
Generated Node #0,2,2: 31:[59, 21] Operation: 55-34=21
Moving to Node #0,2,0
Current State: 31:[55, 25], Operations: ['63-29=34', '59-34=25']
Exploring Operation: 55*25=1375, Resulting Numbers: [1375]
1375,31 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 55+25=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[34, 4], Operations: ['63-29=34', '59-55=4']
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,31 unequal: No Solution
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,31 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[59, 21], Operations: ['63-29=34', '55-34=21']
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,31 unequal: No Solution
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,31 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
65,
99,
87,
2
] | 79 | [
"65+99=164",
"87-2=85",
"164-85=79"
] | Current State: 79:[65, 99, 87, 2], Operations: []
Exploring Operation: 65+99=164, Resulting Numbers: [87, 2, 164]
Generated Node #2: [87, 2, 164] from Operation: 65+99=164
Current State: 79:[87, 2, 164], Operations: ['65+99=164']
Exploring Operation: 87-2=85, Resulting Numbers: [164, 85]
Generated Node #3: [164, 85] from Operation: 87-2=85
Current State: 79:[164, 85], Operations: ['65+99=164', '87-2=85']
Exploring Operation: 164-85=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[65, 99, 87, 2], Operations: []
Exploring Operation: 65-2=63, Resulting Numbers: [99, 87, 63]
Generated Node #0,0: 79:[99, 87, 63] Operation: 65-2=63
Exploring Operation: 99+2=101, Resulting Numbers: [65, 87, 101]
Generated Node #0,1: 79:[65, 87, 101] Operation: 99+2=101
Exploring Operation: 87-2=85, Resulting Numbers: [65, 99, 85]
Generated Node #0,2: 79:[65, 99, 85] Operation: 87-2=85
Exploring Operation: 99-2=97, Resulting Numbers: [65, 87, 97]
Generated Node #0,3: 79:[65, 87, 97] Operation: 99-2=97
Exploring Operation: 65+2=67, Resulting Numbers: [99, 87, 67]
Generated Node #0,4: 79:[99, 87, 67] Operation: 65+2=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[65, 99, 85], Operations: ['87-2=85']
Exploring Operation: 99-85=14, Resulting Numbers: [65, 14]
Generated Node #0,2,0: 79:[65, 14] Operation: 99-85=14
Exploring Operation: 65+99=164, Resulting Numbers: [85, 164]
Generated Node #0,2,1: 79:[85, 164] Operation: 65+99=164
Exploring Operation: 85-65=20, Resulting Numbers: [99, 20]
Generated Node #0,2,2: 79:[99, 20] Operation: 85-65=20
Exploring Operation: 65+85=150, Resulting Numbers: [99, 150]
Generated Node #0,2,3: 79:[99, 150] Operation: 65+85=150
Exploring Operation: 99-65=34, Resulting Numbers: [85, 34]
Generated Node #0,2,4: 79:[85, 34] Operation: 99-65=34
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 79:[85, 34], Operations: ['87-2=85', '99-65=34']
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,79 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,79 unequal: No Solution
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[65, 14], Operations: ['87-2=85', '99-85=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[65, 99, 87, 2], Operations: []
Exploring Operation: 87-2=85, Resulting Numbers: [65, 99, 85]
Generated Node #0,2: 79:[65, 99, 85] Operation: 87-2=85
Moving to Node #0,2
Current State: 79:[65, 99, 85], Operations: ['87-2=85']
Exploring Operation: 99-85=14, Resulting Numbers: [65, 14]
Generated Node #0,2,0: 79:[65, 14] Operation: 99-85=14
Moving to Node #0,2,0
Current State: 79:[65, 14], Operations: ['87-2=85', '99-85=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
97,
44,
29,
34
] | 78 | [
"97+44=141",
"29+34=63",
"141-63=78"
] | Current State: 78:[97, 44, 29, 34], Operations: []
Exploring Operation: 97+44=141, Resulting Numbers: [29, 34, 141]
Generated Node #2: [29, 34, 141] from Operation: 97+44=141
Current State: 78:[29, 34, 141], Operations: ['97+44=141']
Exploring Operation: 29+34=63, Resulting Numbers: [141, 63]
Generated Node #3: [141, 63] from Operation: 29+34=63
Current State: 78:[141, 63], Operations: ['97+44=141', '29+34=63']
Exploring Operation: 141-63=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[97, 44, 29, 34], Operations: []
Exploring Operation: 44+34=78, Resulting Numbers: [97, 29, 78]
Generated Node #0,0: 78:[97, 29, 78] Operation: 44+34=78
Exploring Operation: 97-29=68, Resulting Numbers: [44, 34, 68]
Generated Node #0,1: 78:[44, 34, 68] Operation: 97-29=68
Exploring Operation: 97-44=53, Resulting Numbers: [29, 34, 53]
Generated Node #0,2: 78:[29, 34, 53] Operation: 97-44=53
Moving to Node #0,1
Current State: 78:[44, 34, 68], Operations: ['97-29=68']
Exploring Operation: 68/34=2, Resulting Numbers: [44, 2]
Generated Node #0,1,0: 78:[44, 2] Operation: 68/34=2
Exploring Operation: 44+34=78, Resulting Numbers: [68, 78]
Generated Node #0,1,1: 78:[68, 78] Operation: 44+34=78
Exploring Operation: 68-44=24, Resulting Numbers: [34, 24]
Generated Node #0,1,2: 78:[34, 24] Operation: 68-44=24
Moving to Node #0,0
Current State: 78:[97, 29, 78], Operations: ['44+34=78']
Exploring Operation: 97-78=19, Resulting Numbers: [29, 19]
Generated Node #0,0,0: 78:[29, 19] Operation: 97-78=19
Exploring Operation: 78-29=49, Resulting Numbers: [97, 49]
Generated Node #0,0,1: 78:[97, 49] Operation: 78-29=49
Exploring Operation: 97-29=68, Resulting Numbers: [78, 68]
Generated Node #0,0,2: 78:[78, 68] Operation: 97-29=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[29, 19], Operations: ['44+34=78', '97-78=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[78, 68], Operations: ['44+34=78', '97-29=68']
Exploring Operation: 78+68=146, Resulting Numbers: [146]
146,78 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 78*68=5304, Resulting Numbers: [5304]
5304,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[97, 49], Operations: ['44+34=78', '78-29=49']
Exploring Operation: 97*49=4753, Resulting Numbers: [4753]
4753,78 unequal: No Solution
Exploring Operation: 97-49=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 97+49=146, Resulting Numbers: [146]
146,78 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: 78:[29, 34, 53], Operations: ['97-44=53']
Exploring Operation: 53-29=24, Resulting Numbers: [34, 24]
Generated Node #0,2,0: 78:[34, 24] Operation: 53-29=24
Exploring Operation: 29+53=82, Resulting Numbers: [34, 82]
Generated Node #0,2,1: 78:[34, 82] Operation: 29+53=82
Exploring Operation: 53-34=19, Resulting Numbers: [29, 19]
Generated Node #0,2,2: 78:[29, 19] Operation: 53-34=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[34, 24], Operations: ['97-44=53', '53-29=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,78 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 34-24=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,2,1
Current State: 78:[34, 82], Operations: ['97-44=53', '29+53=82']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,78 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[29, 19], Operations: ['97-44=53', '53-34=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,78 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,78 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: 78:[44, 2], Operations: ['97-29=68', '68/34=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,78 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[34, 24], Operations: ['97-29=68', '68-44=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,78 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,78 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[68, 78], Operations: ['97-29=68', '44+34=78']
Exploring Operation: 68*78=5304, Resulting Numbers: [5304]
5304,78 unequal: No Solution
Exploring Operation: 78-68=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 68+78=146, Resulting Numbers: [146]
146,78 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
76,
39,
38
] | 77 | [
"3*38=114",
"76-39=37",
"114-37=77"
] | Current State: 77:[3, 76, 39, 38], Operations: []
Exploring Operation: 3*38=114, Resulting Numbers: [76, 39, 114]
Generated Node #2: [76, 39, 114] from Operation: 3*38=114
Current State: 77:[76, 39, 114], Operations: ['3*38=114']
Exploring Operation: 76-39=37, Resulting Numbers: [114, 37]
Generated Node #3: [114, 37] from Operation: 76-39=37
Current State: 77:[114, 37], Operations: ['3*38=114', '76-39=37']
Exploring Operation: 114-37=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 76, 39, 38], Operations: []
Exploring Operation: 76/38=2, Resulting Numbers: [3, 39, 2]
Generated Node #0,0: 77:[3, 39, 2] Operation: 76/38=2
Exploring Operation: 39-38=1, Resulting Numbers: [3, 76, 1]
Generated Node #0,1: 77:[3, 76, 1] Operation: 39-38=1
Exploring Operation: 39+38=77, Resulting Numbers: [3, 76, 77]
Generated Node #0,2: 77:[3, 76, 77] Operation: 39+38=77
Exploring Operation: 39/3=13, Resulting Numbers: [76, 38, 13]
Generated Node #0,3: 77:[76, 38, 13] Operation: 39/3=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[3, 76, 77], Operations: ['39+38=77']
Exploring Operation: 77-3=74, Resulting Numbers: [76, 74]
Generated Node #0,2,0: 77:[76, 74] Operation: 77-3=74
Exploring Operation: 76-3=73, Resulting Numbers: [77, 73]
Generated Node #0,2,1: 77:[77, 73] Operation: 76-3=73
Exploring Operation: 3+77=80, Resulting Numbers: [76, 80]
Generated Node #0,2,2: 77:[76, 80] Operation: 3+77=80
Exploring Operation: 3+76=79, Resulting Numbers: [77, 79]
Generated Node #0,2,3: 77:[77, 79] Operation: 3+76=79
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 77:[77, 79], Operations: ['39+38=77', '3+76=79']
Exploring Operation: 77+79=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Exploring Operation: 77*79=6083, Resulting Numbers: [6083]
6083,77 unequal: No Solution
No 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: 77:[76, 74], Operations: ['39+38=77', '77-3=74']
Exploring Operation: 76*74=5624, Resulting Numbers: [5624]
5624,77 unequal: No Solution
Exploring Operation: 76+74=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,77 unequal: No Solution
No 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: 77:[77, 73], Operations: ['39+38=77', '76-3=73']
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,77 unequal: No Solution
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,77 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No 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: 77:[76, 80], Operations: ['39+38=77', '3+77=80']
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,77 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,77 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: 77:[3, 76, 1], Operations: ['39-38=1']
Exploring Operation: 76+1=77, Resulting Numbers: [3, 77]
Generated Node #0,1,0: 77:[3, 77] Operation: 76+1=77
Exploring Operation: 3+1=4, Resulting Numbers: [76, 4]
Generated Node #0,1,1: 77:[76, 4] Operation: 3+1=4
Exploring Operation: 3/1=3, Resulting Numbers: [76, 3]
Generated Node #0,1,2: 77:[76, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [76, 3]
Generated Node #0,1,3: 77:[76, 3] Operation: 3*1=3
Moving to Node #0,1,0
Current State: 77:[3, 77], Operations: ['39-38=1', '76+1=77']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,77 unequal: No Solution
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[76, 4], Operations: ['39-38=1', '3+1=4']
Exploring Operation: 76+4=80, Resulting Numbers: [80]
80,77 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,77 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 76*4=304, Resulting Numbers: [304]
304,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[76, 3], Operations: ['39-38=1', '3*1=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[76, 3], Operations: ['39-38=1', '3/1=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,77 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 77:[76, 38, 13], Operations: ['39/3=13']
Exploring Operation: 38-13=25, Resulting Numbers: [76, 25]
Generated Node #0,3,0: 77:[76, 25] Operation: 38-13=25
Exploring Operation: 76-38=38, Resulting Numbers: [13, 38]
Generated Node #0,3,1: 77:[13, 38] Operation: 76-38=38
Exploring Operation: 76/38=2, Resulting Numbers: [13, 2]
Generated Node #0,3,2: 77:[13, 2] Operation: 76/38=2
Exploring Operation: 38+13=51, Resulting Numbers: [76, 51]
Generated Node #0,3,3: 77:[76, 51] Operation: 38+13=51
Moving to Node #0,3,2
Current State: 77:[13, 2], Operations: ['39/3=13', '76/38=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[76, 25], Operations: ['39/3=13', '38-13=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,77 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,77 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[76, 51], Operations: ['39/3=13', '38+13=51']
Exploring Operation: 76*51=3876, Resulting Numbers: [3876]
3876,77 unequal: No Solution
Exploring Operation: 76-51=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 76+51=127, Resulting Numbers: [127]
127,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[13, 38], Operations: ['39/3=13', '76-38=38']
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,77 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,77 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,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,0
Current State: 77:[3, 39, 2], Operations: ['76/38=2']
Exploring Operation: 39-3=36, Resulting Numbers: [2, 36]
Generated Node #0,0,0: 77:[2, 36] Operation: 39-3=36
Exploring Operation: 39/3=13, Resulting Numbers: [2, 13]
Generated Node #0,0,1: 77:[2, 13] Operation: 39/3=13
Exploring Operation: 3*2=6, Resulting Numbers: [39, 6]
Generated Node #0,0,2: 77:[39, 6] Operation: 3*2=6
Exploring Operation: 39*2=78, Resulting Numbers: [3, 78]
Generated Node #0,0,3: 77:[3, 78] Operation: 39*2=78
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 77:[3, 78], Operations: ['76/38=2', '39*2=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No 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: 77:[2, 13], Operations: ['76/38=2', '39/3=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,77 unequal: No Solution
No 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: 77:[39, 6], Operations: ['76/38=2', '3*2=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,77 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,77 unequal: No Solution
No 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: 77:[2, 36], Operations: ['76/38=2', '39-3=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,77 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,77 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 |
[
26,
13,
72,
39
] | 71 | [
"26+13=39",
"39/39=1",
"72-1=71"
] | Current State: 71:[26, 13, 72, 39], Operations: []
Exploring Operation: 26+13=39, Resulting Numbers: [72, 39, 39]
Generated Node #2: [72, 39, 39] from Operation: 26+13=39
Current State: 71:[72, 39, 39], Operations: ['26+13=39']
Exploring Operation: 39/39=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 39/39=1
Current State: 71:[72, 1], Operations: ['26+13=39', '39/39=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[26, 13, 72, 39], Operations: []
Exploring Operation: 26+39=65, Resulting Numbers: [13, 72, 65]
Generated Node #0,0: 71:[13, 72, 65] Operation: 26+39=65
Exploring Operation: 26-13=13, Resulting Numbers: [72, 39, 13]
Generated Node #0,1: 71:[72, 39, 13] Operation: 26-13=13
Exploring Operation: 26+13=39, Resulting Numbers: [72, 39, 39]
Generated Node #0,2: 71:[72, 39, 39] Operation: 26+13=39
Exploring Operation: 13+39=52, Resulting Numbers: [26, 72, 52]
Generated Node #0,3: 71:[26, 72, 52] Operation: 13+39=52
Exploring Operation: 72-13=59, Resulting Numbers: [26, 39, 59]
Generated Node #0,4: 71:[26, 39, 59] Operation: 72-13=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[13, 72, 65], Operations: ['26+39=65']
Exploring Operation: 13+65=78, Resulting Numbers: [72, 78]
Generated Node #0,0,0: 71:[72, 78] Operation: 13+65=78
Exploring Operation: 13+72=85, Resulting Numbers: [65, 85]
Generated Node #0,0,1: 71:[65, 85] Operation: 13+72=85
Exploring Operation: 65-13=52, Resulting Numbers: [72, 52]
Generated Node #0,0,2: 71:[72, 52] Operation: 65-13=52
Exploring Operation: 65/13=5, Resulting Numbers: [72, 5]
Generated Node #0,0,3: 71:[72, 5] Operation: 65/13=5
Exploring Operation: 72-13=59, Resulting Numbers: [65, 59]
Generated Node #0,0,4: 71:[65, 59] Operation: 72-13=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[72, 78], Operations: ['26+39=65', '13+65=78']
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,71 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 71:[65, 59], Operations: ['26+39=65', '72-13=59']
Exploring Operation: 65-59=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 65*59=3835, Resulting Numbers: [3835]
3835,71 unequal: No Solution
Exploring Operation: 65+59=124, Resulting Numbers: [124]
124,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[65, 85], Operations: ['26+39=65', '13+72=85']
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,71 unequal: No Solution
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 71:[72, 52], Operations: ['26+39=65', '65-13=52']
Exploring Operation: 72+52=124, Resulting Numbers: [124]
124,71 unequal: No Solution
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,71 unequal: No Solution
Exploring Operation: 72*52=3744, Resulting Numbers: [3744]
3744,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[72, 5], Operations: ['26+39=65', '65/13=5']
Exploring Operation: 72*5=360, Resulting Numbers: [360]
360,71 unequal: No Solution
Exploring Operation: 72+5=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 72-5=67, Resulting Numbers: [67]
67,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[72, 39, 39], Operations: ['26+13=39']
Exploring Operation: 39+39=78, Resulting Numbers: [72, 78]
Generated Node #0,2,0: 71:[72, 78] Operation: 39+39=78
Exploring Operation: 72-39=33, Resulting Numbers: [39, 33]
Generated Node #0,2,1: 71:[39, 33] Operation: 72-39=33
Exploring Operation: 72+39=111, Resulting Numbers: [39, 111]
Generated Node #0,2,2: 71:[39, 111] Operation: 72+39=111
Exploring Operation: 39/39=1, Resulting Numbers: [72, 1]
Generated Node #0,2,3: 71:[72, 1] Operation: 39/39=1
Exploring Operation: 72-39=33, Resulting Numbers: [39, 33]
Generated Node #0,2,4: 71:[39, 33] Operation: 72-39=33
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[72, 78], Operations: ['26+13=39', '39+39=78']
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,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:[39, 33], Operations: ['26+13=39', '72-39=33']
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,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,4
Current State: 71:[39, 33], Operations: ['26+13=39', '72-39=33']
Exploring Operation: 39+33=72, Resulting Numbers: [72]
72,71 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,71 unequal: No Solution
Exploring Operation: 39*33=1287, Resulting Numbers: [1287]
1287,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,3
Current State: 71:[72, 1], Operations: ['26+13=39', '39/39=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[26, 13, 72, 39], Operations: []
Exploring Operation: 26+13=39, Resulting Numbers: [72, 39, 39]
Generated Node #0,2: 71:[72, 39, 39] Operation: 26+13=39
Moving to Node #0,2
Current State: 71:[72, 39, 39], Operations: ['26+13=39']
Exploring Operation: 39/39=1, Resulting Numbers: [72, 1]
Generated Node #0,2,3: 71:[72, 1] Operation: 39/39=1
Moving to Node #0,2,3
Current State: 71:[72, 1], Operations: ['26+13=39', '39/39=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.961806 | hs_5 | sum_heuristic |
[
64,
50,
87,
12
] | 81 | [
"64-50=14",
"12*14=168",
"168-87=81"
] | Current State: 81:[64, 50, 87, 12], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [87, 12, 14]
Generated Node #2: [87, 12, 14] from Operation: 64-50=14
Current State: 81:[87, 12, 14], Operations: ['64-50=14']
Exploring Operation: 12*14=168, Resulting Numbers: [87, 168]
Generated Node #3: [87, 168] from Operation: 12*14=168
Current State: 81:[87, 168], Operations: ['64-50=14', '12*14=168']
Exploring Operation: 168-87=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[64, 50, 87, 12], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [87, 12, 14]
Generated Node #0,0: 81:[87, 12, 14] Operation: 64-50=14
Exploring Operation: 87-64=23, Resulting Numbers: [50, 12, 23]
Generated Node #0,1: 81:[50, 12, 23] Operation: 87-64=23
Exploring Operation: 87-50=37, Resulting Numbers: [64, 12, 37]
Generated Node #0,2: 81:[64, 12, 37] Operation: 87-50=37
Moving to Node #0,0
Current State: 81:[87, 12, 14], Operations: ['64-50=14']
Exploring Operation: 12+14=26, Resulting Numbers: [87, 26]
Generated Node #0,0,0: 81:[87, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [87, 2]
Generated Node #0,0,1: 81:[87, 2] Operation: 14-12=2
Exploring Operation: 87-12=75, Resulting Numbers: [14, 75]
Generated Node #0,0,2: 81:[14, 75] Operation: 87-12=75
Moving to Node #0,1
Current State: 81:[50, 12, 23], Operations: ['87-64=23']
Exploring Operation: 50+23=73, Resulting Numbers: [12, 73]
Generated Node #0,1,0: 81:[12, 73] Operation: 50+23=73
Exploring Operation: 50-12=38, Resulting Numbers: [23, 38]
Generated Node #0,1,1: 81:[23, 38] Operation: 50-12=38
Exploring Operation: 50-23=27, Resulting Numbers: [12, 27]
Generated Node #0,1,2: 81:[12, 27] Operation: 50-23=27
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[12, 27], Operations: ['87-64=23', '50-23=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,81 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,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:[12, 73], Operations: ['87-64=23', '50+23=73']
Exploring Operation: 12+73=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 12*73=876, Resulting Numbers: [876]
876,81 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,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,1
Current State: 81:[23, 38], Operations: ['87-64=23', '50-12=38']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 23+38=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 23*38=874, Resulting Numbers: [874]
874,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:[64, 12, 37], Operations: ['87-50=37']
Exploring Operation: 64+12=76, Resulting Numbers: [37, 76]
Generated Node #0,2,0: 81:[37, 76] Operation: 64+12=76
Exploring Operation: 64-37=27, Resulting Numbers: [12, 27]
Generated Node #0,2,1: 81:[12, 27] Operation: 64-37=27
Exploring Operation: 37-12=25, Resulting Numbers: [64, 25]
Generated Node #0,2,2: 81:[64, 25] Operation: 37-12=25
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[12, 27], Operations: ['87-50=37', '64-37=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,81 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,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,2,0
Current State: 81:[37, 76], Operations: ['87-50=37', '64+12=76']
Exploring Operation: 76-37=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 37+76=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 37*76=2812, Resulting Numbers: [2812]
2812,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,2,2
Current State: 81:[64, 25], Operations: ['87-50=37', '37-12=25']
Exploring Operation: 64+25=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 64-25=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 64*25=1600, Resulting Numbers: [1600]
1600,81 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: 81:[87, 26], Operations: ['64-50=14', '12+14=26']
Exploring Operation: 87+26=113, Resulting Numbers: [113]
113,81 unequal: No Solution
Exploring Operation: 87*26=2262, Resulting Numbers: [2262]
2262,81 unequal: No Solution
Exploring Operation: 87-26=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[87, 2], Operations: ['64-50=14', '14-12=2']
Exploring Operation: 87-2=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 87*2=174, Resulting Numbers: [174]
174,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[14, 75], Operations: ['64-50=14', '87-12=75']
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,81 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,81 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
99,
63,
56,
69
] | 89 | [
"99-63=36",
"56+69=125",
"125-36=89"
] | Current State: 89:[99, 63, 56, 69], Operations: []
Exploring Operation: 99-63=36, Resulting Numbers: [56, 69, 36]
Generated Node #2: [56, 69, 36] from Operation: 99-63=36
Current State: 89:[56, 69, 36], Operations: ['99-63=36']
Exploring Operation: 56+69=125, Resulting Numbers: [36, 125]
Generated Node #3: [36, 125] from Operation: 56+69=125
Current State: 89:[36, 125], Operations: ['99-63=36', '56+69=125']
Exploring Operation: 125-36=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[99, 63, 56, 69], Operations: []
Exploring Operation: 63+56=119, Resulting Numbers: [99, 69, 119]
Generated Node #0,0: 89:[99, 69, 119] Operation: 63+56=119
Exploring Operation: 56+69=125, Resulting Numbers: [99, 63, 125]
Generated Node #0,1: 89:[99, 63, 125] Operation: 56+69=125
Exploring Operation: 63+69=132, Resulting Numbers: [99, 56, 132]
Generated Node #0,2: 89:[99, 56, 132] Operation: 63+69=132
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[99, 69, 119], Operations: ['63+56=119']
Exploring Operation: 119-99=20, Resulting Numbers: [69, 20]
Generated Node #0,0,0: 89:[69, 20] Operation: 119-99=20
Exploring Operation: 99-69=30, Resulting Numbers: [119, 30]
Generated Node #0,0,1: 89:[119, 30] Operation: 99-69=30
Exploring Operation: 119-69=50, Resulting Numbers: [99, 50]
Generated Node #0,0,2: 89:[99, 50] Operation: 119-69=50
Moving to Node #0,0,2
Current State: 89:[99, 50], Operations: ['63+56=119', '119-69=50']
Exploring Operation: 99+50=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 99*50=4950, Resulting Numbers: [4950]
4950,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[69, 20], Operations: ['63+56=119', '119-99=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[99, 63, 56, 69], Operations: []
Exploring Operation: 63+56=119, Resulting Numbers: [99, 69, 119]
Generated Node #0,0: 89:[99, 69, 119] Operation: 63+56=119
Moving to Node #0,0
Current State: 89:[99, 69, 119], Operations: ['63+56=119']
Exploring Operation: 119-99=20, Resulting Numbers: [69, 20]
Generated Node #0,0,0: 89:[69, 20] Operation: 119-99=20
Moving to Node #0,0,0
Current State: 89:[69, 20], Operations: ['63+56=119', '119-99=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
1,
21,
38,
42
] | 19 | [
"1*21=21",
"38*21=798",
"798/42=19"
] | Current State: 19:[1, 21, 38, 42], Operations: []
Exploring Operation: 1*21=21, Resulting Numbers: [38, 42, 21]
Generated Node #2: [38, 42, 21] from Operation: 1*21=21
Current State: 19:[38, 42, 21], Operations: ['1*21=21']
Exploring Operation: 38*21=798, Resulting Numbers: [42, 798]
Generated Node #3: [42, 798] from Operation: 38*21=798
Current State: 19:[42, 798], Operations: ['1*21=21', '38*21=798']
Exploring Operation: 798/42=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 21, 38, 42], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [38, 42, 20]
Generated Node #0,0: 19:[38, 42, 20] Operation: 21-1=20
Exploring Operation: 42-38=4, Resulting Numbers: [1, 21, 4]
Generated Node #0,1: 19:[1, 21, 4] Operation: 42-38=4
Exploring Operation: 42-21=21, Resulting Numbers: [1, 38, 21]
Generated Node #0,2: 19:[1, 38, 21] Operation: 42-21=21
Moving to Node #0,1
Current State: 19:[1, 21, 4], Operations: ['42-38=4']
Exploring Operation: 1*21=21, Resulting Numbers: [4, 21]
Generated Node #0,1,0: 19:[4, 21] Operation: 1*21=21
Exploring Operation: 1+4=5, Resulting Numbers: [21, 5]
Generated Node #0,1,1: 19:[21, 5] Operation: 1+4=5
Exploring Operation: 21-1=20, Resulting Numbers: [4, 20]
Generated Node #0,1,2: 19:[4, 20] Operation: 21-1=20
Moving to Node #0,2
Current State: 19:[1, 38, 21], Operations: ['42-21=21']
Exploring Operation: 21-1=20, Resulting Numbers: [38, 20]
Generated Node #0,2,0: 19:[38, 20] Operation: 21-1=20
Exploring Operation: 38-21=17, Resulting Numbers: [1, 17]
Generated Node #0,2,1: 19:[1, 17] Operation: 38-21=17
Exploring Operation: 38-1=37, Resulting Numbers: [21, 37]
Generated Node #0,2,2: 19:[21, 37] Operation: 38-1=37
Moving to Node #0,0
Current State: 19:[38, 42, 20], Operations: ['21-1=20']
Exploring Operation: 38-20=18, Resulting Numbers: [42, 18]
Generated Node #0,0,0: 19:[42, 18] Operation: 38-20=18
Exploring Operation: 42-38=4, Resulting Numbers: [20, 4]
Generated Node #0,0,1: 19:[20, 4] Operation: 42-38=4
Exploring Operation: 42-20=22, Resulting Numbers: [38, 22]
Generated Node #0,0,2: 19:[38, 22] Operation: 42-20=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[20, 4], Operations: ['21-1=20', '42-38=4']
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[38, 22], Operations: ['21-1=20', '42-20=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[42, 18], Operations: ['21-1=20', '38-20=18']
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,19 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 19:[21, 5], Operations: ['42-38=4', '1+4=5']
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[4, 20], Operations: ['42-38=4', '21-1=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[4, 21], Operations: ['42-38=4', '1*21=21']
Exploring Operation: 4+21=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 4*21=84, Resulting Numbers: [84]
84,19 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[21, 37], Operations: ['42-21=21', '38-1=37']
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,19 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,19 unequal: No Solution
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[1, 17], Operations: ['42-21=21', '38-21=17']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[38, 20], Operations: ['42-21=21', '21-1=20']
Exploring Operation: 38*20=760, Resulting Numbers: [760]
760,19 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 38+20=58, Resulting Numbers: [58]
58,19 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
68,
29,
57
] | 22 | [
"68+29=97",
"57+97=154",
"154/7=22"
] | Current State: 22:[7, 68, 29, 57], Operations: []
Exploring Operation: 68+29=97, Resulting Numbers: [7, 57, 97]
Generated Node #2: [7, 57, 97] from Operation: 68+29=97
Current State: 22:[7, 57, 97], Operations: ['68+29=97']
Exploring Operation: 57+97=154, Resulting Numbers: [7, 154]
Generated Node #3: [7, 154] from Operation: 57+97=154
Current State: 22:[7, 154], Operations: ['68+29=97', '57+97=154']
Exploring Operation: 154/7=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[7, 68, 29, 57], Operations: []
Exploring Operation: 68-57=11, Resulting Numbers: [7, 29, 11]
Generated Node #0,0: 22:[7, 29, 11] Operation: 68-57=11
Exploring Operation: 68-29=39, Resulting Numbers: [7, 57, 39]
Generated Node #0,1: 22:[7, 57, 39] Operation: 68-29=39
Exploring Operation: 57-29=28, Resulting Numbers: [7, 68, 28]
Generated Node #0,2: 22:[7, 68, 28] Operation: 57-29=28
Exploring Operation: 29-7=22, Resulting Numbers: [68, 57, 22]
Generated Node #0,3: 22:[68, 57, 22] Operation: 29-7=22
Exploring Operation: 68-7=61, Resulting Numbers: [29, 57, 61]
Generated Node #0,4: 22:[29, 57, 61] Operation: 68-7=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[7, 29, 11], Operations: ['68-57=11']
Exploring Operation: 29-11=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 22:[7, 18] Operation: 29-11=18
Exploring Operation: 29-7=22, Resulting Numbers: [11, 22]
Generated Node #0,0,1: 22:[11, 22] Operation: 29-7=22
Exploring Operation: 7+29=36, Resulting Numbers: [11, 36]
Generated Node #0,0,2: 22:[11, 36] Operation: 7+29=36
Exploring Operation: 7+11=18, Resulting Numbers: [29, 18]
Generated Node #0,0,3: 22:[29, 18] Operation: 7+11=18
Exploring Operation: 11-7=4, Resulting Numbers: [29, 4]
Generated Node #0,0,4: 22:[29, 4] Operation: 11-7=4
Moving to Node #0,0,1
Current State: 22:[11, 22], Operations: ['68-57=11', '29-7=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[7, 18], Operations: ['68-57=11', '29-11=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,0,4
Current State: 22:[29, 4], Operations: ['68-57=11', '11-7=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[29, 18], Operations: ['68-57=11', '7+11=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,22 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[11, 36], Operations: ['68-57=11', '7+29=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,22 unequal: No Solution
No solution 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: 22:[7, 57, 39], Operations: ['68-29=39']
Exploring Operation: 7+57=64, Resulting Numbers: [39, 64]
Generated Node #0,1,0: 22:[39, 64] Operation: 7+57=64
Exploring Operation: 57-39=18, Resulting Numbers: [7, 18]
Generated Node #0,1,1: 22:[7, 18] Operation: 57-39=18
Exploring Operation: 57-7=50, Resulting Numbers: [39, 50]
Generated Node #0,1,2: 22:[39, 50] Operation: 57-7=50
Exploring Operation: 39-7=32, Resulting Numbers: [57, 32]
Generated Node #0,1,3: 22:[57, 32] Operation: 39-7=32
Exploring Operation: 7+39=46, Resulting Numbers: [57, 46]
Generated Node #0,1,4: 22:[57, 46] Operation: 7+39=46
Moving to Node #0,1,1
Current State: 22:[7, 18], Operations: ['68-29=39', '57-39=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Moving to Node #0,1,3
Current State: 22:[57, 32], Operations: ['68-29=39', '39-7=32']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 57*32=1824, Resulting Numbers: [1824]
1824,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[39, 50], Operations: ['68-29=39', '57-7=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,22 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[39, 64], Operations: ['68-29=39', '7+57=64']
Exploring Operation: 39*64=2496, Resulting Numbers: [2496]
2496,22 unequal: No Solution
Exploring Operation: 39+64=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Moving to Node #0,1,4
Current State: 22:[57, 46], Operations: ['68-29=39', '7+39=46']
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,22 unequal: No Solution
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No 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: 22:[7, 68, 28], Operations: ['57-29=28']
Exploring Operation: 28/7=4, Resulting Numbers: [68, 4]
Generated Node #0,2,0: 22:[68, 4] Operation: 28/7=4
Exploring Operation: 68-28=40, Resulting Numbers: [7, 40]
Generated Node #0,2,1: 22:[7, 40] Operation: 68-28=40
Exploring Operation: 7+68=75, Resulting Numbers: [28, 75]
Generated Node #0,2,2: 22:[28, 75] Operation: 7+68=75
Exploring Operation: 28-7=21, Resulting Numbers: [68, 21]
Generated Node #0,2,3: 22:[68, 21] Operation: 28-7=21
Exploring Operation: 68-7=61, Resulting Numbers: [28, 61]
Generated Node #0,2,4: 22:[28, 61] Operation: 68-7=61
Moving to Node #0,2,1
Current State: 22:[7, 40], Operations: ['57-29=28', '68-28=40']
Exploring Operation: 7*40=280, Resulting Numbers: [280]
280,22 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Moving to Node #0,2,4
Current State: 22:[28, 61], Operations: ['57-29=28', '68-7=61']
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,22 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Moving to Node #0,2,3
Current State: 22:[68, 21], Operations: ['57-29=28', '28-7=21']
Exploring Operation: 68-21=47, Resulting Numbers: [47]
47,22 unequal: No Solution
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 68*21=1428, Resulting Numbers: [1428]
1428,22 unequal: No Solution
Moving to Node #0,2,0
Current State: 22:[68, 4], Operations: ['57-29=28', '28/7=4']
Exploring Operation: 68-4=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 68+4=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 68/4=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 68*4=272, Resulting Numbers: [272]
272,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[28, 75], Operations: ['57-29=28', '7+68=75']
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,22 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,22 unequal: No Solution
No 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: 22:[68, 57, 22], Operations: ['29-7=22']
Exploring Operation: 68+57=125, Resulting Numbers: [22, 125]
Generated Node #0,3,0: 22:[22, 125] Operation: 68+57=125
Exploring Operation: 57-22=35, Resulting Numbers: [68, 35]
Generated Node #0,3,1: 22:[68, 35] Operation: 57-22=35
Exploring Operation: 68+22=90, Resulting Numbers: [57, 90]
Generated Node #0,3,2: 22:[57, 90] Operation: 68+22=90
Exploring Operation: 68-57=11, Resulting Numbers: [22, 11]
Generated Node #0,3,3: 22:[22, 11] Operation: 68-57=11
Exploring Operation: 68-22=46, Resulting Numbers: [57, 46]
Generated Node #0,3,4: 22:[57, 46] Operation: 68-22=46
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 22:[22, 11], Operations: ['29-7=22', '68-57=11']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,22 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,22 unequal: No Solution
No 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: 22:[68, 35], Operations: ['29-7=22', '57-22=35']
Exploring Operation: 68-35=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 68+35=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 68*35=2380, Resulting Numbers: [2380]
2380,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 22:[57, 46], Operations: ['29-7=22', '68-22=46']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,22 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,22 unequal: No Solution
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,22 unequal: No Solution
No 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: 22:[22, 125], Operations: ['29-7=22', '68+57=125']
Exploring Operation: 22*125=2750, Resulting Numbers: [2750]
2750,22 unequal: No Solution
Exploring Operation: 125-22=103, Resulting Numbers: [103]
103,22 unequal: No Solution
Exploring Operation: 22+125=147, Resulting Numbers: [147]
147,22 unequal: No Solution
No 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: 22:[57, 90], Operations: ['29-7=22', '68+22=90']
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 57+90=147, Resulting Numbers: [147]
147,22 unequal: No Solution
Exploring Operation: 57*90=5130, Resulting Numbers: [5130]
5130,22 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: 22:[29, 57, 61], Operations: ['68-7=61']
Exploring Operation: 61-29=32, Resulting Numbers: [57, 32]
Generated Node #0,4,0: 22:[57, 32] Operation: 61-29=32
Exploring Operation: 29+57=86, Resulting Numbers: [61, 86]
Generated Node #0,4,1: 22:[61, 86] Operation: 29+57=86
Exploring Operation: 57-29=28, Resulting Numbers: [61, 28]
Generated Node #0,4,2: 22:[61, 28] Operation: 57-29=28
Exploring Operation: 61-57=4, Resulting Numbers: [29, 4]
Generated Node #0,4,3: 22:[29, 4] Operation: 61-57=4
Exploring Operation: 29+61=90, Resulting Numbers: [57, 90]
Generated Node #0,4,4: 22:[57, 90] Operation: 29+61=90
Moving to Node #0,4,3
Current State: 22:[29, 4], Operations: ['68-7=61', '61-57=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,22 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Moving to Node #0,4,2
Current State: 22:[61, 28], Operations: ['68-7=61', '57-29=28']
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,22 unequal: No Solution
Moving to Node #0,4,0
Current State: 22:[57, 32], Operations: ['68-7=61', '61-29=32']
Exploring Operation: 57+32=89, Resulting Numbers: [89]
89,22 unequal: No Solution
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 57*32=1824, Resulting Numbers: [1824]
1824,22 unequal: No Solution
Moving to Node #0,4,1
Current State: 22:[61, 86], Operations: ['68-7=61', '29+57=86']
Exploring Operation: 61+86=147, Resulting Numbers: [147]
147,22 unequal: No Solution
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,22 unequal: No Solution
Exploring Operation: 61*86=5246, Resulting Numbers: [5246]
5246,22 unequal: No Solution
Moving to Node #0,4,4
Current State: 22:[57, 90], Operations: ['68-7=61', '29+61=90']
Exploring Operation: 57+90=147, Resulting Numbers: [147]
147,22 unequal: No Solution
Exploring Operation: 57*90=5130, Resulting Numbers: [5130]
5130,22 unequal: No Solution
Exploring Operation: 90-57=33, Resulting Numbers: [33]
33,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
63,
12,
72,
7
] | 14 | [
"63-12=51",
"72-7=65",
"65-51=14"
] | Current State: 14:[63, 12, 72, 7], Operations: []
Exploring Operation: 63-12=51, Resulting Numbers: [72, 7, 51]
Generated Node #2: [72, 7, 51] from Operation: 63-12=51
Current State: 14:[72, 7, 51], Operations: ['63-12=51']
Exploring Operation: 72-7=65, Resulting Numbers: [51, 65]
Generated Node #3: [51, 65] from Operation: 72-7=65
Current State: 14:[51, 65], Operations: ['63-12=51', '72-7=65']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[63, 12, 72, 7], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [12, 72, 9]
Generated Node #0,0: 14:[12, 72, 9] Operation: 63/7=9
Exploring Operation: 72-63=9, Resulting Numbers: [12, 7, 9]
Generated Node #0,1: 14:[12, 7, 9] Operation: 72-63=9
Exploring Operation: 72/12=6, Resulting Numbers: [63, 7, 6]
Generated Node #0,2: 14:[63, 7, 6] Operation: 72/12=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[12, 7, 9], Operations: ['72-63=9']
Exploring Operation: 12-7=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 14:[9, 5] Operation: 12-7=5
Exploring Operation: 12-9=3, Resulting Numbers: [7, 3]
Generated Node #0,1,1: 14:[7, 3] Operation: 12-9=3
Exploring Operation: 9-7=2, Resulting Numbers: [12, 2]
Generated Node #0,1,2: 14:[12, 2] Operation: 9-7=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 14:[7, 3], Operations: ['72-63=9', '12-9=3']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,14 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,14 unequal: No Solution
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,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,1,2
Current State: 14:[12, 2], Operations: ['72-63=9', '9-7=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[63, 12, 72, 7], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [12, 7, 9]
Generated Node #0,1: 14:[12, 7, 9] Operation: 72-63=9
Moving to Node #0,1
Current State: 14:[12, 7, 9], Operations: ['72-63=9']
Exploring Operation: 9-7=2, Resulting Numbers: [12, 2]
Generated Node #0,1,2: 14:[12, 2] Operation: 9-7=2
Moving to Node #0,1,2
Current State: 14:[12, 2], Operations: ['72-63=9', '9-7=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
57,
47,
63,
38
] | 15 | [
"57-47=10",
"63-38=25",
"25-10=15"
] | Current State: 15:[57, 47, 63, 38], Operations: []
Exploring Operation: 57-47=10, Resulting Numbers: [63, 38, 10]
Generated Node #2: [63, 38, 10] from Operation: 57-47=10
Current State: 15:[63, 38, 10], Operations: ['57-47=10']
Exploring Operation: 63-38=25, Resulting Numbers: [10, 25]
Generated Node #3: [10, 25] from Operation: 63-38=25
Current State: 15:[10, 25], Operations: ['57-47=10', '63-38=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[57, 47, 63, 38], Operations: []
Exploring Operation: 63-47=16, Resulting Numbers: [57, 38, 16]
Generated Node #0,0: 15:[57, 38, 16] Operation: 63-47=16
Exploring Operation: 63-57=6, Resulting Numbers: [47, 38, 6]
Generated Node #0,1: 15:[47, 38, 6] Operation: 63-57=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[47, 38, 6], Operations: ['63-57=6']
Exploring Operation: 47-38=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 15:[6, 9] Operation: 47-38=9
Exploring Operation: 47-6=41, Resulting Numbers: [38, 41]
Generated Node #0,1,1: 15:[38, 41] Operation: 47-6=41
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[6, 9], Operations: ['63-57=6', '47-38=9']
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[57, 47, 63, 38], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [47, 38, 6]
Generated Node #0,1: 15:[47, 38, 6] Operation: 63-57=6
Moving to Node #0,1
Current State: 15:[47, 38, 6], Operations: ['63-57=6']
Exploring Operation: 47-38=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 15:[6, 9] Operation: 47-38=9
Moving to Node #0,1,0
Current State: 15:[6, 9], Operations: ['63-57=6', '47-38=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
42,
23,
80,
17
] | 73 | [
"23-17=6",
"42/6=7",
"80-7=73"
] | Current State: 73:[42, 23, 80, 17], Operations: []
Exploring Operation: 23-17=6, Resulting Numbers: [42, 80, 6]
Generated Node #2: [42, 80, 6] from Operation: 23-17=6
Current State: 73:[42, 80, 6], Operations: ['23-17=6']
Exploring Operation: 42/6=7, Resulting Numbers: [80, 7]
Generated Node #3: [80, 7] from Operation: 42/6=7
Current State: 73:[80, 7], Operations: ['23-17=6', '42/6=7']
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[42, 23, 80, 17], Operations: []
Exploring Operation: 42+23=65, Resulting Numbers: [80, 17, 65]
Generated Node #0,0: 73:[80, 17, 65] Operation: 42+23=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[80, 17, 65], Operations: ['42+23=65']
Exploring Operation: 17+65=82, Resulting Numbers: [80, 82]
Generated Node #0,0,0: 73:[80, 82] Operation: 17+65=82
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[80, 82], Operations: ['42+23=65', '17+65=82']
Exploring Operation: 82-80=2, Resulting Numbers: [2]
2,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
21,
99,
56,
48
] | 81 | [
"21*48=1008",
"1008/56=18",
"99-18=81"
] | Current State: 81:[21, 99, 56, 48], Operations: []
Exploring Operation: 21*48=1008, Resulting Numbers: [99, 56, 1008]
Generated Node #2: [99, 56, 1008] from Operation: 21*48=1008
Current State: 81:[99, 56, 1008], Operations: ['21*48=1008']
Exploring Operation: 1008/56=18, Resulting Numbers: [99, 18]
Generated Node #3: [99, 18] from Operation: 1008/56=18
Current State: 81:[99, 18], Operations: ['21*48=1008', '1008/56=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[21, 99, 56, 48], Operations: []
Exploring Operation: 56-48=8, Resulting Numbers: [21, 99, 8]
Generated Node #0,0: 81:[21, 99, 8] Operation: 56-48=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[21, 99, 8], Operations: ['56-48=8']
Exploring Operation: 99-21=78, Resulting Numbers: [8, 78]
Generated Node #0,0,0: 81:[8, 78] Operation: 99-21=78
Moving to Node #0,0,0
Current State: 81:[8, 78], Operations: ['56-48=8', '99-21=78']
Exploring Operation: 8+78=86, Resulting Numbers: [86]
86,81 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 |
[
6,
56,
40,
61
] | 70 | [
"61-56=5",
"6*5=30",
"40+30=70"
] | Current State: 70:[6, 56, 40, 61], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [6, 40, 5]
Generated Node #2: [6, 40, 5] from Operation: 61-56=5
Current State: 70:[6, 40, 5], Operations: ['61-56=5']
Exploring Operation: 6*5=30, Resulting Numbers: [40, 30]
Generated Node #3: [40, 30] from Operation: 6*5=30
Current State: 70:[40, 30], Operations: ['61-56=5', '6*5=30']
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 56, 40, 61], Operations: []
Exploring Operation: 56-40=16, Resulting Numbers: [6, 61, 16]
Generated Node #0,0: 70:[6, 61, 16] Operation: 56-40=16
Exploring Operation: 6+61=67, Resulting Numbers: [56, 40, 67]
Generated Node #0,1: 70:[56, 40, 67] Operation: 6+61=67
Exploring Operation: 61-56=5, Resulting Numbers: [6, 40, 5]
Generated Node #0,2: 70:[6, 40, 5] Operation: 61-56=5
Exploring Operation: 6+56=62, Resulting Numbers: [40, 61, 62]
Generated Node #0,3: 70:[40, 61, 62] Operation: 6+56=62
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[6, 40, 5], Operations: ['61-56=5']
Exploring Operation: 40-5=35, Resulting Numbers: [6, 35]
Generated Node #0,2,0: 70:[6, 35] Operation: 40-5=35
Exploring Operation: 40-6=34, Resulting Numbers: [5, 34]
Generated Node #0,2,1: 70:[5, 34] Operation: 40-6=34
Exploring Operation: 40/5=8, Resulting Numbers: [6, 8]
Generated Node #0,2,2: 70:[6, 8] Operation: 40/5=8
Exploring Operation: 6+5=11, Resulting Numbers: [40, 11]
Generated Node #0,2,3: 70:[40, 11] Operation: 6+5=11
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[6, 35], Operations: ['61-56=5', '40-5=35']
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,70 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[5, 34], Operations: ['61-56=5', '40-6=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,70 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 70:[6, 8], Operations: ['61-56=5', '40/5=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 70:[40, 11], Operations: ['61-56=5', '6+5=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[6, 61, 16], Operations: ['56-40=16']
Exploring Operation: 61+16=77, Resulting Numbers: [6, 77]
Generated Node #0,0,0: 70:[6, 77] Operation: 61+16=77
Exploring Operation: 61-16=45, Resulting Numbers: [6, 45]
Generated Node #0,0,1: 70:[6, 45] Operation: 61-16=45
Exploring Operation: 6+61=67, Resulting Numbers: [16, 67]
Generated Node #0,0,2: 70:[16, 67] Operation: 6+61=67
Exploring Operation: 16-6=10, Resulting Numbers: [61, 10]
Generated Node #0,0,3: 70:[61, 10] Operation: 16-6=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[16, 67], Operations: ['56-40=16', '6+61=67']
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,70 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[6, 77], Operations: ['56-40=16', '61+16=77']
Exploring Operation: 6*77=462, Resulting Numbers: [462]
462,70 unequal: No Solution
Exploring Operation: 6+77=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 70:[61, 10], Operations: ['56-40=16', '16-6=10']
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,70 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[6, 45], Operations: ['56-40=16', '61-16=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,70 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[56, 40, 67], Operations: ['6+61=67']
Exploring Operation: 56-40=16, Resulting Numbers: [67, 16]
Generated Node #0,1,0: 70:[67, 16] Operation: 56-40=16
Exploring Operation: 67-56=11, Resulting Numbers: [40, 11]
Generated Node #0,1,1: 70:[40, 11] Operation: 67-56=11
Exploring Operation: 56+40=96, Resulting Numbers: [67, 96]
Generated Node #0,1,2: 70:[67, 96] Operation: 56+40=96
Exploring Operation: 67-40=27, Resulting Numbers: [56, 27]
Generated Node #0,1,3: 70:[56, 27] Operation: 67-40=27
Moving to Node #0,1,0
Current State: 70:[67, 16], Operations: ['6+61=67', '56-40=16']
Exploring Operation: 67*16=1072, Resulting Numbers: [1072]
1072,70 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 67+16=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[40, 11], Operations: ['6+61=67', '67-56=11']
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,70 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[56, 27], Operations: ['6+61=67', '67-40=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[67, 96], Operations: ['6+61=67', '56+40=96']
Exploring Operation: 67*96=6432, Resulting Numbers: [6432]
6432,70 unequal: No Solution
Exploring Operation: 96-67=29, Resulting Numbers: [29]
29,70 unequal: No Solution
Exploring Operation: 67+96=163, Resulting Numbers: [163]
163,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[40, 61, 62], Operations: ['6+56=62']
Exploring Operation: 61-40=21, Resulting Numbers: [62, 21]
Generated Node #0,3,0: 70:[62, 21] Operation: 61-40=21
Exploring Operation: 62-40=22, Resulting Numbers: [61, 22]
Generated Node #0,3,1: 70:[61, 22] Operation: 62-40=22
Exploring Operation: 40+61=101, Resulting Numbers: [62, 101]
Generated Node #0,3,2: 70:[62, 101] Operation: 40+61=101
Exploring Operation: 62-61=1, Resulting Numbers: [40, 1]
Generated Node #0,3,3: 70:[40, 1] Operation: 62-61=1
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 70:[40, 1], Operations: ['6+56=62', '62-61=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 70:[62, 21], Operations: ['6+56=62', '61-40=21']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 62*21=1302, Resulting Numbers: [1302]
1302,70 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[61, 22], Operations: ['6+56=62', '62-40=22']
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,70 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 70:[62, 101], Operations: ['6+56=62', '40+61=101']
Exploring Operation: 101-62=39, Resulting Numbers: [39]
39,70 unequal: No Solution
Exploring Operation: 62+101=163, Resulting Numbers: [163]
163,70 unequal: No Solution
Exploring Operation: 62*101=6262, Resulting Numbers: [6262]
6262,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
13,
13,
8,
94
] | 85 | [
"13/13=1",
"94-8=86",
"86-1=85"
] | Current State: 85:[13, 13, 8, 94], Operations: []
Exploring Operation: 13/13=1, Resulting Numbers: [8, 94, 1]
Generated Node #2: [8, 94, 1] from Operation: 13/13=1
Current State: 85:[8, 94, 1], Operations: ['13/13=1']
Exploring Operation: 94-8=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 94-8=86
Current State: 85:[1, 86], Operations: ['13/13=1', '94-8=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[13, 13, 8, 94], Operations: []
Exploring Operation: 13-8=5, Resulting Numbers: [13, 94, 5]
Generated Node #0,0: 85:[13, 94, 5] Operation: 13-8=5
Exploring Operation: 94-8=86, Resulting Numbers: [13, 13, 86]
Generated Node #0,1: 85:[13, 13, 86] Operation: 94-8=86
Exploring Operation: 94-13=81, Resulting Numbers: [13, 8, 81]
Generated Node #0,2: 85:[13, 8, 81] Operation: 94-13=81
Exploring Operation: 13-8=5, Resulting Numbers: [13, 94, 5]
Generated Node #0,3: 85:[13, 94, 5] Operation: 13-8=5
Exploring Operation: 94-13=81, Resulting Numbers: [13, 8, 81]
Generated Node #0,4: 85:[13, 8, 81] Operation: 94-13=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[13, 13, 86], Operations: ['94-8=86']
Exploring Operation: 13+13=26, Resulting Numbers: [86, 26]
Generated Node #0,1,0: 85:[86, 26] Operation: 13+13=26
Exploring Operation: 86-13=73, Resulting Numbers: [13, 73]
Generated Node #0,1,1: 85:[13, 73] Operation: 86-13=73
Exploring Operation: 86-13=73, Resulting Numbers: [13, 73]
Generated Node #0,1,2: 85:[13, 73] Operation: 86-13=73
Exploring Operation: 13/13=1, Resulting Numbers: [86, 1]
Generated Node #0,1,3: 85:[86, 1] Operation: 13/13=1
Exploring Operation: 13-13=0, Resulting Numbers: [86, 0]
Generated Node #0,1,4: 85:[86, 0] Operation: 13-13=0
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[86, 1], Operations: ['94-8=86', '13/13=1']
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[13, 13, 8, 94], Operations: []
Exploring Operation: 94-8=86, Resulting Numbers: [13, 13, 86]
Generated Node #0,1: 85:[13, 13, 86] Operation: 94-8=86
Moving to Node #0,1
Current State: 85:[13, 13, 86], Operations: ['94-8=86']
Exploring Operation: 13/13=1, Resulting Numbers: [86, 1]
Generated Node #0,1,3: 85:[86, 1] Operation: 13/13=1
Moving to Node #0,1,3
Current State: 85:[86, 1], Operations: ['94-8=86', '13/13=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
6,
65,
97,
92
] | 35 | [
"97-92=5",
"6*5=30",
"65-30=35"
] | Current State: 35:[6, 65, 97, 92], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [6, 65, 5]
Generated Node #2: [6, 65, 5] from Operation: 97-92=5
Current State: 35:[6, 65, 5], Operations: ['97-92=5']
Exploring Operation: 6*5=30, Resulting Numbers: [65, 30]
Generated Node #3: [65, 30] from Operation: 6*5=30
Current State: 35:[65, 30], Operations: ['97-92=5', '6*5=30']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[6, 65, 97, 92], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [6, 65, 5]
Generated Node #0,0: 35:[6, 65, 5] Operation: 97-92=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[6, 65, 5], Operations: ['97-92=5']
Exploring Operation: 65/5=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 35:[6, 13] Operation: 65/5=13
Moving to Node #0,0,0
Current State: 35:[6, 13], Operations: ['97-92=5', '65/5=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,35 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 |
[
61,
10,
87,
68
] | 84 | [
"61+10=71",
"87+68=155",
"155-71=84"
] | Current State: 84:[61, 10, 87, 68], Operations: []
Exploring Operation: 61+10=71, Resulting Numbers: [87, 68, 71]
Generated Node #2: [87, 68, 71] from Operation: 61+10=71
Current State: 84:[87, 68, 71], Operations: ['61+10=71']
Exploring Operation: 87+68=155, Resulting Numbers: [71, 155]
Generated Node #3: [71, 155] from Operation: 87+68=155
Current State: 84:[71, 155], Operations: ['61+10=71', '87+68=155']
Exploring Operation: 155-71=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[61, 10, 87, 68], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [10, 87, 7]
Generated Node #0,0: 84:[10, 87, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 84:[10, 87, 7], Operations: ['68-61=7']
Exploring Operation: 10-7=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['68-61=7', '10-7=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[61, 10, 87, 68], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [10, 87, 7]
Generated Node #0,0: 84:[10, 87, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 84:[10, 87, 7], Operations: ['68-61=7']
Exploring Operation: 10-7=3, Resulting Numbers: [87, 3]
Generated Node #0,0,0: 84:[87, 3] Operation: 10-7=3
Moving to Node #0,0,0
Current State: 84:[87, 3], Operations: ['68-61=7', '10-7=3']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
61,
97,
37,
35
] | 37 | [
"97-61=36",
"36-35=1",
"37*1=37"
] | Current State: 37:[61, 97, 37, 35], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [37, 35, 36]
Generated Node #2: [37, 35, 36] from Operation: 97-61=36
Current State: 37:[37, 35, 36], Operations: ['97-61=36']
Exploring Operation: 36-35=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 36-35=1
Current State: 37:[37, 1], Operations: ['97-61=36', '36-35=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[61, 97, 37, 35], Operations: []
Exploring Operation: 97-61=36, Resulting Numbers: [37, 35, 36]
Generated Node #0,0: 37:[37, 35, 36] Operation: 97-61=36
Exploring Operation: 97-35=62, Resulting Numbers: [61, 37, 62]
Generated Node #0,1: 37:[61, 37, 62] Operation: 97-35=62
Exploring Operation: 97-37=60, Resulting Numbers: [61, 35, 60]
Generated Node #0,2: 37:[61, 35, 60] Operation: 97-37=60
Moving to Node #0,0
Current State: 37:[37, 35, 36], Operations: ['97-61=36']
Exploring Operation: 37+35=72, Resulting Numbers: [36, 72]
Generated Node #0,0,0: 37:[36, 72] Operation: 37+35=72
Exploring Operation: 37-35=2, Resulting Numbers: [36, 2]
Generated Node #0,0,1: 37:[36, 2] Operation: 37-35=2
Exploring Operation: 35+36=71, Resulting Numbers: [37, 71]
Generated Node #0,0,2: 37:[37, 71] Operation: 35+36=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[37, 71], Operations: ['97-61=36', '35+36=71']
Exploring Operation: 37*71=2627, Resulting Numbers: [2627]
2627,37 unequal: No Solution
Exploring Operation: 37+71=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[36, 72], Operations: ['97-61=36', '37+35=72']
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[36, 2], Operations: ['97-61=36', '37-35=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,37 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,37 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: 37:[61, 37, 62], Operations: ['97-35=62']
Exploring Operation: 62-61=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 37:[37, 1] Operation: 62-61=1
Exploring Operation: 62-37=25, Resulting Numbers: [61, 25]
Generated Node #0,1,1: 37:[61, 25] Operation: 62-37=25
Exploring Operation: 61-37=24, Resulting Numbers: [62, 24]
Generated Node #0,1,2: 37:[62, 24] Operation: 61-37=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[37, 1], Operations: ['97-35=62', '62-61=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[61, 97, 37, 35], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [61, 37, 62]
Generated Node #0,1: 37:[61, 37, 62] Operation: 97-35=62
Moving to Node #0,1
Current State: 37:[61, 37, 62], Operations: ['97-35=62']
Exploring Operation: 62-61=1, Resulting Numbers: [37, 1]
Generated Node #0,1,0: 37:[37, 1] Operation: 62-61=1
Moving to Node #0,1,0
Current State: 37:[37, 1], Operations: ['97-35=62', '62-61=1']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
14,
82,
90,
67
] | 61 | [
"14+82=96",
"90+67=157",
"157-96=61"
] | Current State: 61:[14, 82, 90, 67], Operations: []
Exploring Operation: 14+82=96, Resulting Numbers: [90, 67, 96]
Generated Node #2: [90, 67, 96] from Operation: 14+82=96
Current State: 61:[90, 67, 96], Operations: ['14+82=96']
Exploring Operation: 90+67=157, Resulting Numbers: [96, 157]
Generated Node #3: [96, 157] from Operation: 90+67=157
Current State: 61:[96, 157], Operations: ['14+82=96', '90+67=157']
Exploring Operation: 157-96=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[14, 82, 90, 67], Operations: []
Exploring Operation: 82-14=68, Resulting Numbers: [90, 67, 68]
Generated Node #0,0: 61:[90, 67, 68] Operation: 82-14=68
Moving to Node #0,0
Current State: 61:[90, 67, 68], Operations: ['82-14=68']
Exploring Operation: 90-67=23, Resulting Numbers: [68, 23]
Generated Node #0,0,0: 61:[68, 23] Operation: 90-67=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[68, 23], Operations: ['82-14=68', '90-67=23']
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
85,
99,
94,
18
] | 62 | [
"99-85=14",
"94-18=76",
"76-14=62"
] | Current State: 62:[85, 99, 94, 18], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [94, 18, 14]
Generated Node #2: [94, 18, 14] from Operation: 99-85=14
Current State: 62:[94, 18, 14], Operations: ['99-85=14']
Exploring Operation: 94-18=76, Resulting Numbers: [14, 76]
Generated Node #3: [14, 76] from Operation: 94-18=76
Current State: 62:[14, 76], Operations: ['99-85=14', '94-18=76']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[85, 99, 94, 18], Operations: []
Exploring Operation: 99-85=14, Resulting Numbers: [94, 18, 14]
Generated Node #0,0: 62:[94, 18, 14] Operation: 99-85=14
Exploring Operation: 99-94=5, Resulting Numbers: [85, 18, 5]
Generated Node #0,1: 62:[85, 18, 5] Operation: 99-94=5
Moving to Node #0,1
Current State: 62:[85, 18, 5], Operations: ['99-94=5']
Exploring Operation: 85/5=17, Resulting Numbers: [18, 17]
Generated Node #0,1,0: 62:[18, 17] Operation: 85/5=17
Exploring Operation: 85-18=67, Resulting Numbers: [5, 67]
Generated Node #0,1,1: 62:[5, 67] Operation: 85-18=67
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[5, 67], Operations: ['99-94=5', '85-18=67']
Exploring Operation: 5+67=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[85, 99, 94, 18], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [85, 18, 5]
Generated Node #0,1: 62:[85, 18, 5] Operation: 99-94=5
Moving to Node #0,1
Current State: 62:[85, 18, 5], Operations: ['99-94=5']
Exploring Operation: 85-18=67, Resulting Numbers: [5, 67]
Generated Node #0,1,1: 62:[5, 67] Operation: 85-18=67
Moving to Node #0,1,1
Current State: 62:[5, 67], Operations: ['99-94=5', '85-18=67']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
10,
13,
38,
46
] | 46 | [
"10*13=130",
"38+46=84",
"130-84=46"
] | Current State: 46:[10, 13, 38, 46], Operations: []
Exploring Operation: 10*13=130, Resulting Numbers: [38, 46, 130]
Generated Node #2: [38, 46, 130] from Operation: 10*13=130
Current State: 46:[38, 46, 130], Operations: ['10*13=130']
Exploring Operation: 38+46=84, Resulting Numbers: [130, 84]
Generated Node #3: [130, 84] from Operation: 38+46=84
Current State: 46:[130, 84], Operations: ['10*13=130', '38+46=84']
Exploring Operation: 130-84=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[10, 13, 38, 46], Operations: []
Exploring Operation: 10+13=23, Resulting Numbers: [38, 46, 23]
Generated Node #0,0: 46:[38, 46, 23] Operation: 10+13=23
Exploring Operation: 13-10=3, Resulting Numbers: [38, 46, 3]
Generated Node #0,1: 46:[38, 46, 3] Operation: 13-10=3
Moving to Node #0,0
Current State: 46:[38, 46, 23], Operations: ['10+13=23']
Exploring Operation: 38-23=15, Resulting Numbers: [46, 15]
Generated Node #0,0,0: 46:[46, 15] Operation: 38-23=15
Exploring Operation: 46-38=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 46:[23, 8] Operation: 46-38=8
Moving to Node #0,1
Current State: 46:[38, 46, 3], Operations: ['13-10=3']
Exploring Operation: 46-38=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 46:[3, 8] Operation: 46-38=8
Exploring Operation: 38+3=41, Resulting Numbers: [46, 41]
Generated Node #0,1,1: 46:[46, 41] Operation: 38+3=41
Moving to Node #0,1,1
Current State: 46:[46, 41], Operations: ['13-10=3', '38+3=41']
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 46+41=87, Resulting Numbers: [87]
87,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[23, 8], Operations: ['10+13=23', '46-38=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,46 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[3, 8], Operations: ['13-10=3', '46-38=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[46, 15], Operations: ['10+13=23', '38-23=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,46 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
20,
9,
70
] | 96 | [
"15+20=35",
"70-9=61",
"35+61=96"
] | Current State: 96:[15, 20, 9, 70], Operations: []
Exploring Operation: 15+20=35, Resulting Numbers: [9, 70, 35]
Generated Node #2: [9, 70, 35] from Operation: 15+20=35
Current State: 96:[9, 70, 35], Operations: ['15+20=35']
Exploring Operation: 70-9=61, Resulting Numbers: [35, 61]
Generated Node #3: [35, 61] from Operation: 70-9=61
Current State: 96:[35, 61], Operations: ['15+20=35', '70-9=61']
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[15, 20, 9, 70], Operations: []
Exploring Operation: 20+70=90, Resulting Numbers: [15, 9, 90]
Generated Node #0,0: 96:[15, 9, 90] Operation: 20+70=90
Exploring Operation: 70-15=55, Resulting Numbers: [20, 9, 55]
Generated Node #0,1: 96:[20, 9, 55] Operation: 70-15=55
Exploring Operation: 70-20=50, Resulting Numbers: [15, 9, 50]
Generated Node #0,2: 96:[15, 9, 50] Operation: 70-20=50
Exploring Operation: 15+70=85, Resulting Numbers: [20, 9, 85]
Generated Node #0,3: 96:[20, 9, 85] Operation: 15+70=85
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[15, 9, 50], Operations: ['70-20=50']
Exploring Operation: 50-15=35, Resulting Numbers: [9, 35]
Generated Node #0,2,0: 96:[9, 35] Operation: 50-15=35
Exploring Operation: 15-9=6, Resulting Numbers: [50, 6]
Generated Node #0,2,1: 96:[50, 6] Operation: 15-9=6
Exploring Operation: 15+9=24, Resulting Numbers: [50, 24]
Generated Node #0,2,2: 96:[50, 24] Operation: 15+9=24
Exploring Operation: 50-9=41, Resulting Numbers: [15, 41]
Generated Node #0,2,3: 96:[15, 41] Operation: 50-9=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[50, 6], Operations: ['70-20=50', '15-9=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,96 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[50, 24], Operations: ['70-20=50', '15+9=24']
Exploring Operation: 50*24=1200, Resulting Numbers: [1200]
1200,96 unequal: No Solution
Exploring Operation: 50-24=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 50+24=74, Resulting Numbers: [74]
74,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[9, 35], Operations: ['70-20=50', '50-15=35']
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[15, 41], Operations: ['70-20=50', '50-9=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,96 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[15, 9, 90], Operations: ['20+70=90']
Exploring Operation: 9+90=99, Resulting Numbers: [15, 99]
Generated Node #0,0,0: 96:[15, 99] Operation: 9+90=99
Exploring Operation: 90/9=10, Resulting Numbers: [15, 10]
Generated Node #0,0,1: 96:[15, 10] Operation: 90/9=10
Exploring Operation: 90/15=6, Resulting Numbers: [9, 6]
Generated Node #0,0,2: 96:[9, 6] Operation: 90/15=6
Exploring Operation: 15+9=24, Resulting Numbers: [90, 24]
Generated Node #0,0,3: 96:[90, 24] Operation: 15+9=24
Moving to Node #0,0,2
Current State: 96:[9, 6], Operations: ['20+70=90', '90/15=6']
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[15, 10], Operations: ['20+70=90', '90/9=10']
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,96 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[15, 99], Operations: ['20+70=90', '9+90=99']
Exploring Operation: 15*99=1485, Resulting Numbers: [1485]
1485,96 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 15+99=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[90, 24], Operations: ['20+70=90', '15+9=24']
Exploring Operation: 90-24=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 90*24=2160, Resulting Numbers: [2160]
2160,96 unequal: No Solution
Exploring Operation: 90+24=114, Resulting Numbers: [114]
114,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:[20, 9, 55], Operations: ['70-15=55']
Exploring Operation: 55-20=35, Resulting Numbers: [9, 35]
Generated Node #0,1,0: 96:[9, 35] Operation: 55-20=35
Exploring Operation: 55-9=46, Resulting Numbers: [20, 46]
Generated Node #0,1,1: 96:[20, 46] Operation: 55-9=46
Exploring Operation: 20-9=11, Resulting Numbers: [55, 11]
Generated Node #0,1,2: 96:[55, 11] Operation: 20-9=11
Exploring Operation: 20+9=29, Resulting Numbers: [55, 29]
Generated Node #0,1,3: 96:[55, 29] Operation: 20+9=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[9, 35], Operations: ['70-15=55', '55-20=35']
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 9+35=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 9*35=315, Resulting Numbers: [315]
315,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[20, 46], Operations: ['70-15=55', '55-9=46']
Exploring Operation: 20+46=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 20*46=920, Resulting Numbers: [920]
920,96 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[55, 11], Operations: ['70-15=55', '20-9=11']
Exploring Operation: 55*11=605, Resulting Numbers: [605]
605,96 unequal: No Solution
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[55, 29], Operations: ['70-15=55', '20+9=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,96 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[20, 9, 85], Operations: ['15+70=85']
Exploring Operation: 9+85=94, Resulting Numbers: [20, 94]
Generated Node #0,3,0: 96:[20, 94] Operation: 9+85=94
Exploring Operation: 20+85=105, Resulting Numbers: [9, 105]
Generated Node #0,3,1: 96:[9, 105] Operation: 20+85=105
Exploring Operation: 20-9=11, Resulting Numbers: [85, 11]
Generated Node #0,3,2: 96:[85, 11] Operation: 20-9=11
Exploring Operation: 20+9=29, Resulting Numbers: [85, 29]
Generated Node #0,3,3: 96:[85, 29] Operation: 20+9=29
Moving to Node #0,3,0
Current State: 96:[20, 94], Operations: ['15+70=85', '9+85=94']
Exploring Operation: 94-20=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 20*94=1880, Resulting Numbers: [1880]
1880,96 unequal: No Solution
Exploring Operation: 20+94=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[9, 105], Operations: ['15+70=85', '20+85=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[15, 20, 9, 70], Operations: []
Exploring Operation: 15+70=85, Resulting Numbers: [20, 9, 85]
Generated Node #0,3: 96:[20, 9, 85] Operation: 15+70=85
Moving to Node #0,3
Current State: 96:[20, 9, 85], Operations: ['15+70=85']
Exploring Operation: 20+85=105, Resulting Numbers: [9, 105]
Generated Node #0,3,1: 96:[9, 105] Operation: 20+85=105
Moving to Node #0,3,1
Current State: 96:[9, 105], Operations: ['15+70=85', '20+85=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.943576 | hs_4 | sum_heuristic |
[
41,
60,
1,
84
] | 66 | [
"60-41=19",
"1+84=85",
"85-19=66"
] | Current State: 66:[41, 60, 1, 84], Operations: []
Exploring Operation: 60-41=19, Resulting Numbers: [1, 84, 19]
Generated Node #2: [1, 84, 19] from Operation: 60-41=19
Current State: 66:[1, 84, 19], Operations: ['60-41=19']
Exploring Operation: 1+84=85, Resulting Numbers: [19, 85]
Generated Node #3: [19, 85] from Operation: 1+84=85
Current State: 66:[19, 85], Operations: ['60-41=19', '1+84=85']
Exploring Operation: 85-19=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[41, 60, 1, 84], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [41, 1, 24]
Generated Node #0,0: 66:[41, 1, 24] Operation: 84-60=24
Exploring Operation: 41-1=40, Resulting Numbers: [60, 84, 40]
Generated Node #0,1: 66:[60, 84, 40] Operation: 41-1=40
Exploring Operation: 60-41=19, Resulting Numbers: [1, 84, 19]
Generated Node #0,2: 66:[1, 84, 19] Operation: 60-41=19
Exploring Operation: 84-41=43, Resulting Numbers: [60, 1, 43]
Generated Node #0,3: 66:[60, 1, 43] Operation: 84-41=43
Moving to Node #0,0
Current State: 66:[41, 1, 24], Operations: ['84-60=24']
Exploring Operation: 41+24=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 41+24=65
Exploring Operation: 24-1=23, Resulting Numbers: [41, 23]
Generated Node #0,0,1: 66:[41, 23] Operation: 24-1=23
Exploring Operation: 41-24=17, Resulting Numbers: [1, 17]
Generated Node #0,0,2: 66:[1, 17] Operation: 41-24=17
Exploring Operation: 41-1=40, Resulting Numbers: [24, 40]
Generated Node #0,0,3: 66:[24, 40] Operation: 41-1=40
Moving to Node #0,3
Current State: 66:[60, 1, 43], Operations: ['84-41=43']
Exploring Operation: 60-43=17, Resulting Numbers: [1, 17]
Generated Node #0,3,0: 66:[1, 17] Operation: 60-43=17
Exploring Operation: 60+1=61, Resulting Numbers: [43, 61]
Generated Node #0,3,1: 66:[43, 61] Operation: 60+1=61
Exploring Operation: 60*1=60, Resulting Numbers: [43, 60]
Generated Node #0,3,2: 66:[43, 60] Operation: 60*1=60
Exploring Operation: 43-1=42, Resulting Numbers: [60, 42]
Generated Node #0,3,3: 66:[60, 42] Operation: 43-1=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[1, 17], Operations: ['84-41=43', '60-43=17']
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[43, 61], Operations: ['84-41=43', '60+1=61']
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,66 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[60, 42], Operations: ['84-41=43', '43-1=42']
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,66 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,66 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[43, 60], Operations: ['84-41=43', '60*1=60']
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,66 unequal: No Solution
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 66:[1, 84, 19], Operations: ['60-41=19']
Exploring Operation: 84-1=83, Resulting Numbers: [19, 83]
Generated Node #0,2,0: 66:[19, 83] Operation: 84-1=83
Exploring Operation: 1*84=84, Resulting Numbers: [19, 84]
Generated Node #0,2,1: 66:[19, 84] Operation: 1*84=84
Exploring Operation: 84-19=65, Resulting Numbers: [1, 65]
Generated Node #0,2,2: 66:[1, 65] Operation: 84-19=65
Exploring Operation: 1+19=20, Resulting Numbers: [84, 20]
Generated Node #0,2,3: 66:[84, 20] Operation: 1+19=20
Moving to Node #0,1
Current State: 66:[60, 84, 40], Operations: ['41-1=40']
Exploring Operation: 84-60=24, Resulting Numbers: [40, 24]
Generated Node #0,1,0: 66:[40, 24] Operation: 84-60=24
Exploring Operation: 60+40=100, Resulting Numbers: [84, 100]
Generated Node #0,1,1: 66:[84, 100] Operation: 60+40=100
Exploring Operation: 84-40=44, Resulting Numbers: [60, 44]
Generated Node #0,1,2: 66:[60, 44] Operation: 84-40=44
Exploring Operation: 60-40=20, Resulting Numbers: [84, 20]
Generated Node #0,1,3: 66:[84, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[40, 24], Operations: ['41-1=40', '84-60=24']
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,66 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[60, 44], Operations: ['41-1=40', '84-40=44']
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,66 unequal: No Solution
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[84, 20], Operations: ['41-1=40', '60-40=20']
Exploring Operation: 84+20=104, Resulting Numbers: [104]
104,66 unequal: No Solution
Exploring Operation: 84-20=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 84*20=1680, Resulting Numbers: [1680]
1680,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[84, 100], Operations: ['41-1=40', '60+40=100']
Exploring Operation: 100-84=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 84+100=184, Resulting Numbers: [184]
184,66 unequal: No Solution
Exploring Operation: 84*100=8400, Resulting Numbers: [8400]
8400,66 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: 66:[1, 65], Operations: ['84-60=24', '41+24=65']
Exploring Operation: 1*65=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[41, 60, 1, 84], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [41, 1, 24]
Generated Node #0,0: 66:[41, 1, 24] Operation: 84-60=24
Moving to Node #0,0
Current State: 66:[41, 1, 24], Operations: ['84-60=24']
Exploring Operation: 41+24=65, Resulting Numbers: [1, 65]
Generated Node #0,0,0: 66:[1, 65] Operation: 41+24=65
Moving to Node #0,0,0
Current State: 66:[1, 65], Operations: ['84-60=24', '41+24=65']
Exploring Operation: 1+65=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.955729 | hs_4 | sum_heuristic |
[
10,
29,
13,
68
] | 33 | [
"10*13=130",
"29+68=97",
"130-97=33"
] | Current State: 33:[10, 29, 13, 68], Operations: []
Exploring Operation: 10*13=130, Resulting Numbers: [29, 68, 130]
Generated Node #2: [29, 68, 130] from Operation: 10*13=130
Current State: 33:[29, 68, 130], Operations: ['10*13=130']
Exploring Operation: 29+68=97, Resulting Numbers: [130, 97]
Generated Node #3: [130, 97] from Operation: 29+68=97
Current State: 33:[130, 97], Operations: ['10*13=130', '29+68=97']
Exploring Operation: 130-97=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[10, 29, 13, 68], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [10, 13, 39]
Generated Node #0,0: 33:[10, 13, 39] Operation: 68-29=39
Moving to Node #0,0
Current State: 33:[10, 13, 39], Operations: ['68-29=39']
Exploring Operation: 39/13=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 33:[10, 3] Operation: 39/13=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[10, 3], Operations: ['68-29=39', '39/13=3']
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
86,
5,
69,
39
] | 17 | [
"86+5=91",
"69+39=108",
"108-91=17"
] | Current State: 17:[86, 5, 69, 39], Operations: []
Exploring Operation: 86+5=91, Resulting Numbers: [69, 39, 91]
Generated Node #2: [69, 39, 91] from Operation: 86+5=91
Current State: 17:[69, 39, 91], Operations: ['86+5=91']
Exploring Operation: 69+39=108, Resulting Numbers: [91, 108]
Generated Node #3: [91, 108] from Operation: 69+39=108
Current State: 17:[91, 108], Operations: ['86+5=91', '69+39=108']
Exploring Operation: 108-91=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[86, 5, 69, 39], Operations: []
Exploring Operation: 69-39=30, Resulting Numbers: [86, 5, 30]
Generated Node #0,0: 17:[86, 5, 30] Operation: 69-39=30
Exploring Operation: 86-69=17, Resulting Numbers: [5, 39, 17]
Generated Node #0,1: 17:[5, 39, 17] Operation: 86-69=17
Exploring Operation: 86-39=47, Resulting Numbers: [5, 69, 47]
Generated Node #0,2: 17:[5, 69, 47] Operation: 86-39=47
Moving to Node #0,1
Current State: 17:[5, 39, 17], Operations: ['86-69=17']
Exploring Operation: 39-17=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 17:[5, 22] Operation: 39-17=22
Exploring Operation: 39-5=34, Resulting Numbers: [17, 34]
Generated Node #0,1,1: 17:[17, 34] Operation: 39-5=34
Exploring Operation: 5+39=44, Resulting Numbers: [17, 44]
Generated Node #0,1,2: 17:[17, 44] Operation: 5+39=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[5, 22], Operations: ['86-69=17', '39-17=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[86, 5, 69, 39], Operations: []
Exploring Operation: 86-69=17, Resulting Numbers: [5, 39, 17]
Generated Node #0,1: 17:[5, 39, 17] Operation: 86-69=17
Moving to Node #0,1
Current State: 17:[5, 39, 17], Operations: ['86-69=17']
Exploring Operation: 39-17=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 17:[5, 22] Operation: 39-17=22
Moving to Node #0,1,0
Current State: 17:[5, 22], Operations: ['86-69=17', '39-17=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
91,
84,
4,
29
] | 54 | [
"91+29=120",
"120/4=30",
"84-30=54"
] | Current State: 54:[91, 84, 4, 29], Operations: []
Exploring Operation: 91+29=120, Resulting Numbers: [84, 4, 120]
Generated Node #2: [84, 4, 120] from Operation: 91+29=120
Current State: 54:[84, 4, 120], Operations: ['91+29=120']
Exploring Operation: 120/4=30, Resulting Numbers: [84, 30]
Generated Node #3: [84, 30] from Operation: 120/4=30
Current State: 54:[84, 30], Operations: ['91+29=120', '120/4=30']
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[91, 84, 4, 29], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [4, 29, 7]
Generated Node #0,0: 54:[4, 29, 7] Operation: 91-84=7
Exploring Operation: 91-29=62, Resulting Numbers: [84, 4, 62]
Generated Node #0,1: 54:[84, 4, 62] Operation: 91-29=62
Moving to Node #0,0
Current State: 54:[4, 29, 7], Operations: ['91-84=7']
Exploring Operation: 7-4=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 54:[29, 3] Operation: 7-4=3
Exploring Operation: 29-4=25, Resulting Numbers: [7, 25]
Generated Node #0,0,1: 54:[7, 25] Operation: 29-4=25
Moving to Node #0,1
Current State: 54:[84, 4, 62], Operations: ['91-29=62']
Exploring Operation: 84-62=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 54:[4, 22] Operation: 84-62=22
Exploring Operation: 84/4=21, Resulting Numbers: [62, 21]
Generated Node #0,1,1: 54:[62, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[4, 22], Operations: ['91-29=62', '84-62=22']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[62, 21], Operations: ['91-29=62', '84/4=21']
Exploring Operation: 62-21=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 62+21=83, Resulting Numbers: [83]
83,54 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: 54:[29, 3], Operations: ['91-84=7', '7-4=3']
Exploring Operation: 29+3=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Moving to Node #0,0,1
Current State: 54:[7, 25], Operations: ['91-84=7', '29-4=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,54 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
44,
16,
6
] | 73 | [
"78/6=13",
"44+16=60",
"13+60=73"
] | Current State: 73:[78, 44, 16, 6], Operations: []
Exploring Operation: 78/6=13, Resulting Numbers: [44, 16, 13]
Generated Node #2: [44, 16, 13] from Operation: 78/6=13
Current State: 73:[44, 16, 13], Operations: ['78/6=13']
Exploring Operation: 44+16=60, Resulting Numbers: [13, 60]
Generated Node #3: [13, 60] from Operation: 44+16=60
Current State: 73:[13, 60], Operations: ['78/6=13', '44+16=60']
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[78, 44, 16, 6], Operations: []
Exploring Operation: 16*6=96, Resulting Numbers: [78, 44, 96]
Generated Node #0,0: 73:[78, 44, 96] Operation: 16*6=96
Exploring Operation: 44+6=50, Resulting Numbers: [78, 16, 50]
Generated Node #0,1: 73:[78, 16, 50] Operation: 44+6=50
Exploring Operation: 44+16=60, Resulting Numbers: [78, 6, 60]
Generated Node #0,2: 73:[78, 6, 60] Operation: 44+16=60
Moving to Node #0,0
Current State: 73:[78, 44, 96], Operations: ['16*6=96']
Exploring Operation: 78+44=122, Resulting Numbers: [96, 122]
Generated Node #0,0,0: 73:[96, 122] Operation: 78+44=122
Exploring Operation: 96-44=52, Resulting Numbers: [78, 52]
Generated Node #0,0,1: 73:[78, 52] Operation: 96-44=52
Exploring Operation: 78-44=34, Resulting Numbers: [96, 34]
Generated Node #0,0,2: 73:[96, 34] Operation: 78-44=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[78, 52], Operations: ['16*6=96', '96-44=52']
Exploring Operation: 78+52=130, Resulting Numbers: [130]
130,73 unequal: No Solution
Exploring Operation: 78*52=4056, Resulting Numbers: [4056]
4056,73 unequal: No Solution
Exploring Operation: 78-52=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[96, 34], Operations: ['16*6=96', '78-44=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,73 unequal: No Solution
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,73 unequal: No Solution
Exploring Operation: 96*34=3264, Resulting Numbers: [3264]
3264,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[96, 122], Operations: ['16*6=96', '78+44=122']
Exploring Operation: 96*122=11712, Resulting Numbers: [11712]
11712,73 unequal: No Solution
Exploring Operation: 122-96=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 96+122=218, Resulting Numbers: [218]
218,73 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: 73:[78, 16, 50], Operations: ['44+6=50']
Exploring Operation: 78+16=94, Resulting Numbers: [50, 94]
Generated Node #0,1,0: 73:[50, 94] Operation: 78+16=94
Exploring Operation: 16+50=66, Resulting Numbers: [78, 66]
Generated Node #0,1,1: 73:[78, 66] Operation: 16+50=66
Exploring Operation: 78-16=62, Resulting Numbers: [50, 62]
Generated Node #0,1,2: 73:[50, 62] Operation: 78-16=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[78, 66], Operations: ['44+6=50', '16+50=66']
Exploring Operation: 78+66=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 78*66=5148, Resulting Numbers: [5148]
5148,73 unequal: No Solution
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[50, 62], Operations: ['44+6=50', '78-16=62']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,73 unequal: No Solution
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[50, 94], Operations: ['44+6=50', '78+16=94']
Exploring Operation: 50+94=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,73 unequal: No Solution
Exploring Operation: 50*94=4700, Resulting Numbers: [4700]
4700,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[78, 6, 60], Operations: ['44+16=60']
Exploring Operation: 6+60=66, Resulting Numbers: [78, 66]
Generated Node #0,2,0: 73:[78, 66] Operation: 6+60=66
Exploring Operation: 78+6=84, Resulting Numbers: [60, 84]
Generated Node #0,2,1: 73:[60, 84] Operation: 78+6=84
Exploring Operation: 78-6=72, Resulting Numbers: [60, 72]
Generated Node #0,2,2: 73:[60, 72] Operation: 78-6=72
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[78, 66], Operations: ['44+16=60', '6+60=66']
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 78+66=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 78*66=5148, Resulting Numbers: [5148]
5148,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[60, 72], Operations: ['44+16=60', '78-6=72']
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,73 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[60, 84], Operations: ['44+16=60', '78+6=84']
Exploring Operation: 60+84=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 60*84=5040, Resulting Numbers: [5040]
5040,73 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 |
[
50,
30,
18,
36
] | 30 | [
"36-18=18",
"50*18=900",
"900/30=30"
] | Current State: 30:[50, 30, 18, 36], Operations: []
Exploring Operation: 36-18=18, Resulting Numbers: [50, 30, 18]
Generated Node #2: [50, 30, 18] from Operation: 36-18=18
Current State: 30:[50, 30, 18], Operations: ['36-18=18']
Exploring Operation: 50*18=900, Resulting Numbers: [30, 900]
Generated Node #3: [30, 900] from Operation: 50*18=900
Current State: 30:[30, 900], Operations: ['36-18=18', '50*18=900']
Exploring Operation: 900/30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[50, 30, 18, 36], Operations: []
Exploring Operation: 50-30=20, Resulting Numbers: [18, 36, 20]
Generated Node #0,0: 30:[18, 36, 20] Operation: 50-30=20
Exploring Operation: 50-18=32, Resulting Numbers: [30, 36, 32]
Generated Node #0,1: 30:[30, 36, 32] Operation: 50-18=32
Exploring Operation: 36/18=2, Resulting Numbers: [50, 30, 2]
Generated Node #0,2: 30:[50, 30, 2] Operation: 36/18=2
Exploring Operation: 50-36=14, Resulting Numbers: [30, 18, 14]
Generated Node #0,3: 30:[30, 18, 14] Operation: 50-36=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 30:[30, 18, 14], Operations: ['50-36=14']
Exploring Operation: 18-14=4, Resulting Numbers: [30, 4]
Generated Node #0,3,0: 30:[30, 4] Operation: 18-14=4
Exploring Operation: 30-18=12, Resulting Numbers: [14, 12]
Generated Node #0,3,1: 30:[14, 12] Operation: 30-18=12
Exploring Operation: 18+14=32, Resulting Numbers: [30, 32]
Generated Node #0,3,2: 30:[30, 32] Operation: 18+14=32
Exploring Operation: 30-14=16, Resulting Numbers: [18, 16]
Generated Node #0,3,3: 30:[18, 16] Operation: 30-14=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 30:[30, 4], Operations: ['50-36=14', '18-14=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,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,3,2
Current State: 30:[30, 32], Operations: ['50-36=14', '18+14=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 30*32=960, Resulting Numbers: [960]
960,30 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,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,3,1
Current State: 30:[14, 12], Operations: ['50-36=14', '30-18=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,30 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,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,3,3
Current State: 30:[18, 16], Operations: ['50-36=14', '30-14=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,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,1
Current State: 30:[30, 36, 32], Operations: ['50-18=32']
Exploring Operation: 36-30=6, Resulting Numbers: [32, 6]
Generated Node #0,1,0: 30:[32, 6] Operation: 36-30=6
Exploring Operation: 30+36=66, Resulting Numbers: [32, 66]
Generated Node #0,1,1: 30:[32, 66] Operation: 30+36=66
Exploring Operation: 32-30=2, Resulting Numbers: [36, 2]
Generated Node #0,1,2: 30:[36, 2] Operation: 32-30=2
Exploring Operation: 36-32=4, Resulting Numbers: [30, 4]
Generated Node #0,1,3: 30:[30, 4] Operation: 36-32=4
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 30:[30, 4], Operations: ['50-18=32', '36-32=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,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,1,0
Current State: 30:[32, 6], Operations: ['50-18=32', '36-30=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,30 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,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,1,2
Current State: 30:[36, 2], Operations: ['50-18=32', '32-30=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,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,1,1
Current State: 30:[32, 66], Operations: ['50-18=32', '30+36=66']
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 32+66=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 32*66=2112, Resulting Numbers: [2112]
2112,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,0
Current State: 30:[18, 36, 20], Operations: ['50-30=20']
Exploring Operation: 36-20=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 30:[18, 16] Operation: 36-20=16
Exploring Operation: 36-18=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 30:[20, 18] Operation: 36-18=18
Exploring Operation: 20-18=2, Resulting Numbers: [36, 2]
Generated Node #0,0,2: 30:[36, 2] Operation: 20-18=2
Exploring Operation: 36/18=2, Resulting Numbers: [20, 2]
Generated Node #0,0,3: 30:[20, 2] Operation: 36/18=2
Moving to Node #0,0,0
Current State: 30:[18, 16], Operations: ['50-30=20', '36-20=16']
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,30 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[20, 2], Operations: ['50-30=20', '36/18=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[36, 2], Operations: ['50-30=20', '20-18=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,30 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[20, 18], Operations: ['50-30=20', '36-18=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,30 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,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:[50, 30, 2], Operations: ['36/18=2']
Exploring Operation: 50-30=20, Resulting Numbers: [2, 20]
Generated Node #0,2,0: 30:[2, 20] Operation: 50-30=20
Exploring Operation: 50-2=48, Resulting Numbers: [30, 48]
Generated Node #0,2,1: 30:[30, 48] Operation: 50-2=48
Exploring Operation: 30/2=15, Resulting Numbers: [50, 15]
Generated Node #0,2,2: 30:[50, 15] Operation: 30/2=15
Exploring Operation: 50/2=25, Resulting Numbers: [30, 25]
Generated Node #0,2,3: 30:[30, 25] Operation: 50/2=25
Moving to Node #0,2,0
Current State: 30:[2, 20], Operations: ['36/18=2', '50-30=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[30, 25], Operations: ['36/18=2', '50/2=25']
Exploring Operation: 30+25=55, Resulting Numbers: [55]
55,30 unequal: No Solution
Exploring Operation: 30*25=750, Resulting Numbers: [750]
750,30 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[30, 48], Operations: ['36/18=2', '50-2=48']
Exploring Operation: 30+48=78, Resulting Numbers: [78]
78,30 unequal: No Solution
Exploring Operation: 48-30=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 30*48=1440, Resulting Numbers: [1440]
1440,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[50, 15], Operations: ['36/18=2', '30/2=15']
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,30 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,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 | mult_heuristic |
[
56,
74,
9,
90
] | 88 | [
"74-56=18",
"18/9=2",
"90-2=88"
] | Current State: 88:[56, 74, 9, 90], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [9, 90, 18]
Generated Node #2: [9, 90, 18] from Operation: 74-56=18
Current State: 88:[9, 90, 18], Operations: ['74-56=18']
Exploring Operation: 18/9=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 18/9=2
Current State: 88:[90, 2], Operations: ['74-56=18', '18/9=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[56, 74, 9, 90], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [9, 90, 18]
Generated Node #0,0: 88:[9, 90, 18] Operation: 74-56=18
Exploring Operation: 90-74=16, Resulting Numbers: [56, 9, 16]
Generated Node #0,1: 88:[56, 9, 16] Operation: 90-74=16
Moving to Node #0,0
Current State: 88:[9, 90, 18], Operations: ['74-56=18']
Exploring Operation: 18/9=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 88:[90, 2] Operation: 18/9=2
Exploring Operation: 90/18=5, Resulting Numbers: [9, 5]
Generated Node #0,0,1: 88:[9, 5] Operation: 90/18=5
Moving to Node #0,1
Current State: 88:[56, 9, 16], Operations: ['90-74=16']
Exploring Operation: 56-9=47, Resulting Numbers: [16, 47]
Generated Node #0,1,0: 88:[16, 47] Operation: 56-9=47
Exploring Operation: 56-16=40, Resulting Numbers: [9, 40]
Generated Node #0,1,1: 88:[9, 40] Operation: 56-16=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[9, 40], Operations: ['90-74=16', '56-16=40']
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 9+40=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[16, 47], Operations: ['90-74=16', '56-9=47']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,88 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: 88:[90, 2], Operations: ['74-56=18', '18/9=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[56, 74, 9, 90], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [9, 90, 18]
Generated Node #0,0: 88:[9, 90, 18] Operation: 74-56=18
Moving to Node #0,0
Current State: 88:[9, 90, 18], Operations: ['74-56=18']
Exploring Operation: 18/9=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 88:[90, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 88:[90, 2], Operations: ['74-56=18', '18/9=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
8,
97,
35,
36
] | 11 | [
"8*36=288",
"97+288=385",
"385/35=11"
] | Current State: 11:[8, 97, 35, 36], Operations: []
Exploring Operation: 8*36=288, Resulting Numbers: [97, 35, 288]
Generated Node #2: [97, 35, 288] from Operation: 8*36=288
Current State: 11:[97, 35, 288], Operations: ['8*36=288']
Exploring Operation: 97+288=385, Resulting Numbers: [35, 385]
Generated Node #3: [35, 385] from Operation: 97+288=385
Current State: 11:[35, 385], Operations: ['8*36=288', '97+288=385']
Exploring Operation: 385/35=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[8, 97, 35, 36], Operations: []
Exploring Operation: 97-35=62, Resulting Numbers: [8, 36, 62]
Generated Node #0,0: 11:[8, 36, 62] Operation: 97-35=62
Exploring Operation: 35-8=27, Resulting Numbers: [97, 36, 27]
Generated Node #0,1: 11:[97, 36, 27] Operation: 35-8=27
Exploring Operation: 97-8=89, Resulting Numbers: [35, 36, 89]
Generated Node #0,2: 11:[35, 36, 89] Operation: 97-8=89
Exploring Operation: 36-35=1, Resulting Numbers: [8, 97, 1]
Generated Node #0,3: 11:[8, 97, 1] Operation: 36-35=1
Exploring Operation: 97-36=61, Resulting Numbers: [8, 35, 61]
Generated Node #0,4: 11:[8, 35, 61] Operation: 97-36=61
Moving to Node #0,4
Current State: 11:[8, 35, 61], Operations: ['97-36=61']
Exploring Operation: 8+35=43, Resulting Numbers: [61, 43]
Generated Node #0,4,0: 11:[61, 43] Operation: 8+35=43
Exploring Operation: 35-8=27, Resulting Numbers: [61, 27]
Generated Node #0,4,1: 11:[61, 27] Operation: 35-8=27
Exploring Operation: 61-8=53, Resulting Numbers: [35, 53]
Generated Node #0,4,2: 11:[35, 53] Operation: 61-8=53
Exploring Operation: 61-35=26, Resulting Numbers: [8, 26]
Generated Node #0,4,3: 11:[8, 26] Operation: 61-35=26
Exploring Operation: 8+61=69, Resulting Numbers: [35, 69]
Generated Node #0,4,4: 11:[35, 69] Operation: 8+61=69
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 11:[8, 26], Operations: ['97-36=61', '61-35=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,11 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,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,4,1
Current State: 11:[61, 27], Operations: ['97-36=61', '35-8=27']
Exploring Operation: 61*27=1647, Resulting Numbers: [1647]
1647,11 unequal: No Solution
Exploring Operation: 61+27=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,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,4,2
Current State: 11:[35, 53], Operations: ['97-36=61', '61-8=53']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 35*53=1855, Resulting Numbers: [1855]
1855,11 unequal: No Solution
Exploring Operation: 35+53=88, Resulting Numbers: [88]
88,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,4,0
Current State: 11:[61, 43], Operations: ['97-36=61', '8+35=43']
Exploring Operation: 61+43=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 61*43=2623, Resulting Numbers: [2623]
2623,11 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,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,4,4
Current State: 11:[35, 69], Operations: ['97-36=61', '8+61=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,11 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: 11:[8, 36, 62], Operations: ['97-35=62']
Exploring Operation: 62-8=54, Resulting Numbers: [36, 54]
Generated Node #0,0,0: 11:[36, 54] Operation: 62-8=54
Exploring Operation: 8+62=70, Resulting Numbers: [36, 70]
Generated Node #0,0,1: 11:[36, 70] Operation: 8+62=70
Exploring Operation: 36-8=28, Resulting Numbers: [62, 28]
Generated Node #0,0,2: 11:[62, 28] Operation: 36-8=28
Exploring Operation: 62-36=26, Resulting Numbers: [8, 26]
Generated Node #0,0,3: 11:[8, 26] Operation: 62-36=26
Exploring Operation: 8+36=44, Resulting Numbers: [62, 44]
Generated Node #0,0,4: 11:[62, 44] Operation: 8+36=44
Moving to Node #0,3
Current State: 11:[8, 97, 1], Operations: ['36-35=1']
Exploring Operation: 8/1=8, Resulting Numbers: [97, 8]
Generated Node #0,3,0: 11:[97, 8] Operation: 8/1=8
Exploring Operation: 97-8=89, Resulting Numbers: [1, 89]
Generated Node #0,3,1: 11:[1, 89] Operation: 97-8=89
Exploring Operation: 8+1=9, Resulting Numbers: [97, 9]
Generated Node #0,3,2: 11:[97, 9] Operation: 8+1=9
Exploring Operation: 97-1=96, Resulting Numbers: [8, 96]
Generated Node #0,3,3: 11:[8, 96] Operation: 97-1=96
Exploring Operation: 8*1=8, Resulting Numbers: [97, 8]
Generated Node #0,3,4: 11:[97, 8] Operation: 8*1=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[1, 89], Operations: ['36-35=1', '97-8=89']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 1+89=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 1*89=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,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,3,2
Current State: 11:[97, 9], Operations: ['36-35=1', '8+1=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,11 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,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,3,3
Current State: 11:[8, 96], Operations: ['36-35=1', '97-1=96']
Exploring Operation: 8*96=768, Resulting Numbers: [768]
768,11 unequal: No Solution
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 8+96=104, Resulting Numbers: [104]
104,11 unequal: No Solution
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,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,3,0
Current State: 11:[97, 8], Operations: ['36-35=1', '8/1=8']
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,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,3,4
Current State: 11:[97, 8], Operations: ['36-35=1', '8*1=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 97*8=776, Resulting Numbers: [776]
776,11 unequal: No Solution
Exploring Operation: 97+8=105, Resulting Numbers: [105]
105,11 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: 11:[97, 36, 27], Operations: ['35-8=27']
Exploring Operation: 97+27=124, Resulting Numbers: [36, 124]
Generated Node #0,1,0: 11:[36, 124] Operation: 97+27=124
Exploring Operation: 97-27=70, Resulting Numbers: [36, 70]
Generated Node #0,1,1: 11:[36, 70] Operation: 97-27=70
Exploring Operation: 97+36=133, Resulting Numbers: [27, 133]
Generated Node #0,1,2: 11:[27, 133] Operation: 97+36=133
Exploring Operation: 36-27=9, Resulting Numbers: [97, 9]
Generated Node #0,1,3: 11:[97, 9] Operation: 36-27=9
Exploring Operation: 97-36=61, Resulting Numbers: [27, 61]
Generated Node #0,1,4: 11:[27, 61] Operation: 97-36=61
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 11:[27, 61], Operations: ['35-8=27', '97-36=61']
Exploring Operation: 27*61=1647, Resulting Numbers: [1647]
1647,11 unequal: No Solution
Exploring Operation: 61-27=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 27+61=88, Resulting Numbers: [88]
88,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:[36, 70], Operations: ['35-8=27', '97-27=70']
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,11 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,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,3
Current State: 11:[97, 9], Operations: ['35-8=27', '36-27=9']
Exploring Operation: 97*9=873, Resulting Numbers: [873]
873,11 unequal: No Solution
Exploring Operation: 97+9=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,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,0
Current State: 11:[36, 124], Operations: ['35-8=27', '97+27=124']
Exploring Operation: 124-36=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 36+124=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 36*124=4464, Resulting Numbers: [4464]
4464,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:[27, 133], Operations: ['35-8=27', '97+36=133']
Exploring Operation: 27+133=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 133-27=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 27*133=3591, Resulting Numbers: [3591]
3591,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:[35, 36, 89], Operations: ['97-8=89']
Exploring Operation: 35+89=124, Resulting Numbers: [36, 124]
Generated Node #0,2,0: 11:[36, 124] Operation: 35+89=124
Exploring Operation: 35+36=71, Resulting Numbers: [89, 71]
Generated Node #0,2,1: 11:[89, 71] Operation: 35+36=71
Exploring Operation: 36-35=1, Resulting Numbers: [89, 1]
Generated Node #0,2,2: 11:[89, 1] Operation: 36-35=1
Exploring Operation: 89-35=54, Resulting Numbers: [36, 54]
Generated Node #0,2,3: 11:[36, 54] Operation: 89-35=54
Exploring Operation: 89-36=53, Resulting Numbers: [35, 53]
Generated Node #0,2,4: 11:[35, 53] Operation: 89-36=53
Moving to Node #0,0,3
Current State: 11:[8, 26], Operations: ['97-35=62', '62-36=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,11 unequal: No Solution
Moving to Node #0,2,4
Current State: 11:[35, 53], Operations: ['97-8=89', '89-36=53']
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 35+53=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 35*53=1855, Resulting Numbers: [1855]
1855,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[36, 54], Operations: ['97-8=89', '89-35=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,11 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[62, 28], Operations: ['97-35=62', '36-8=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,11 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[36, 54], Operations: ['97-35=62', '62-8=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[62, 44], Operations: ['97-35=62', '8+36=44']
Exploring Operation: 62*44=2728, Resulting Numbers: [2728]
2728,11 unequal: No Solution
Exploring Operation: 62+44=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[36, 70], Operations: ['97-35=62', '8+62=70']
Exploring Operation: 36*70=2520, Resulting Numbers: [2520]
2520,11 unequal: No Solution
Exploring Operation: 70-36=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 36+70=106, Resulting Numbers: [106]
106,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[89, 1], Operations: ['97-8=89', '36-35=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[36, 124], Operations: ['97-8=89', '35+89=124']
Exploring Operation: 36*124=4464, Resulting Numbers: [4464]
4464,11 unequal: No Solution
Exploring Operation: 124-36=88, Resulting Numbers: [88]
88,11 unequal: No Solution
Exploring Operation: 36+124=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[89, 71], Operations: ['97-8=89', '35+36=71']
Exploring Operation: 89+71=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,11 unequal: No Solution
Exploring Operation: 89*71=6319, Resulting Numbers: [6319]
6319,11 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
60,
14,
56
] | 36 | [
"84+60=144",
"56/14=4",
"144/4=36"
] | Current State: 36:[84, 60, 14, 56], Operations: []
Exploring Operation: 84+60=144, Resulting Numbers: [14, 56, 144]
Generated Node #2: [14, 56, 144] from Operation: 84+60=144
Current State: 36:[14, 56, 144], Operations: ['84+60=144']
Exploring Operation: 56/14=4, Resulting Numbers: [144, 4]
Generated Node #3: [144, 4] from Operation: 56/14=4
Current State: 36:[144, 4], Operations: ['84+60=144', '56/14=4']
Exploring Operation: 144/4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[84, 60, 14, 56], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [60, 14, 28]
Generated Node #0,0: 36:[60, 14, 28] Operation: 84-56=28
Exploring Operation: 84/14=6, Resulting Numbers: [60, 56, 6]
Generated Node #0,1: 36:[60, 56, 6] Operation: 84/14=6
Exploring Operation: 60-56=4, Resulting Numbers: [84, 14, 4]
Generated Node #0,2: 36:[84, 14, 4] Operation: 60-56=4
Exploring Operation: 56/14=4, Resulting Numbers: [84, 60, 4]
Generated Node #0,3: 36:[84, 60, 4] Operation: 56/14=4
Exploring Operation: 84-60=24, Resulting Numbers: [14, 56, 24]
Generated Node #0,4: 36:[14, 56, 24] Operation: 84-60=24
Moving to Node #0,4
Current State: 36:[14, 56, 24], Operations: ['84-60=24']
Exploring Operation: 56-14=42, Resulting Numbers: [24, 42]
Generated Node #0,4,0: 36:[24, 42] Operation: 56-14=42
Exploring Operation: 14+24=38, Resulting Numbers: [56, 38]
Generated Node #0,4,1: 36:[56, 38] Operation: 14+24=38
Exploring Operation: 56/14=4, Resulting Numbers: [24, 4]
Generated Node #0,4,2: 36:[24, 4] Operation: 56/14=4
Exploring Operation: 24-14=10, Resulting Numbers: [56, 10]
Generated Node #0,4,3: 36:[56, 10] Operation: 24-14=10
Exploring Operation: 56-24=32, Resulting Numbers: [14, 32]
Generated Node #0,4,4: 36:[14, 32] Operation: 56-24=32
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[24, 4], Operations: ['84-60=24', '56/14=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[14, 32], Operations: ['84-60=24', '56-24=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[24, 42], Operations: ['84-60=24', '56-14=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 24*42=1008, Resulting Numbers: [1008]
1008,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[56, 10], Operations: ['84-60=24', '24-14=10']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,36 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[56, 38], Operations: ['84-60=24', '14+24=38']
Exploring Operation: 56+38=94, Resulting Numbers: [94]
94,36 unequal: No Solution
Exploring Operation: 56-38=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 56*38=2128, Resulting Numbers: [2128]
2128,36 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: 36:[60, 14, 28], Operations: ['84-56=28']
Exploring Operation: 60-14=46, Resulting Numbers: [28, 46]
Generated Node #0,0,0: 36:[28, 46] Operation: 60-14=46
Exploring Operation: 28-14=14, Resulting Numbers: [60, 14]
Generated Node #0,0,1: 36:[60, 14] Operation: 28-14=14
Exploring Operation: 14+28=42, Resulting Numbers: [60, 42]
Generated Node #0,0,2: 36:[60, 42] Operation: 14+28=42
Exploring Operation: 60-28=32, Resulting Numbers: [14, 32]
Generated Node #0,0,3: 36:[14, 32] Operation: 60-28=32
Exploring Operation: 28/14=2, Resulting Numbers: [60, 2]
Generated Node #0,0,4: 36:[60, 2] Operation: 28/14=2
Moving to Node #0,1
Current State: 36:[60, 56, 6], Operations: ['84/14=6']
Exploring Operation: 60+6=66, Resulting Numbers: [56, 66]
Generated Node #0,1,0: 36:[56, 66] Operation: 60+6=66
Exploring Operation: 56-6=50, Resulting Numbers: [60, 50]
Generated Node #0,1,1: 36:[60, 50] Operation: 56-6=50
Exploring Operation: 60/6=10, Resulting Numbers: [56, 10]
Generated Node #0,1,2: 36:[56, 10] Operation: 60/6=10
Exploring Operation: 60-6=54, Resulting Numbers: [56, 54]
Generated Node #0,1,3: 36:[56, 54] Operation: 60-6=54
Exploring Operation: 60-56=4, Resulting Numbers: [6, 4]
Generated Node #0,1,4: 36:[6, 4] Operation: 60-56=4
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 36:[6, 4], Operations: ['84/14=6', '60-56=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[56, 10], Operations: ['84/14=6', '60/6=10']
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,36 unequal: No Solution
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[60, 50], Operations: ['84/14=6', '56-6=50']
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,36 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 36:[56, 54], Operations: ['84/14=6', '60-6=54']
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,36 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,36 unequal: No Solution
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[56, 66], Operations: ['84/14=6', '60+6=66']
Exploring Operation: 56*66=3696, Resulting Numbers: [3696]
3696,36 unequal: No Solution
Exploring Operation: 56+66=122, Resulting Numbers: [122]
122,36 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 36:[84, 14, 4], Operations: ['60-56=4']
Exploring Operation: 84/4=21, Resulting Numbers: [14, 21]
Generated Node #0,2,0: 36:[14, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [14, 80]
Generated Node #0,2,1: 36:[14, 80] Operation: 84-4=80
Exploring Operation: 14+4=18, Resulting Numbers: [84, 18]
Generated Node #0,2,2: 36:[84, 18] Operation: 14+4=18
Exploring Operation: 84/14=6, Resulting Numbers: [4, 6]
Generated Node #0,2,3: 36:[4, 6] Operation: 84/14=6
Exploring Operation: 84-14=70, Resulting Numbers: [4, 70]
Generated Node #0,2,4: 36:[4, 70] Operation: 84-14=70
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 36:[4, 6], Operations: ['60-56=4', '84/14=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[14, 21], Operations: ['60-56=4', '84/4=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,36 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 36:[4, 70], Operations: ['60-56=4', '84-14=70']
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,36 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[14, 80], Operations: ['60-56=4', '84-4=80']
Exploring Operation: 14*80=1120, Resulting Numbers: [1120]
1120,36 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[84, 18], Operations: ['60-56=4', '14+4=18']
Exploring Operation: 84*18=1512, Resulting Numbers: [1512]
1512,36 unequal: No Solution
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,36 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: 36:[84, 60, 4], Operations: ['56/14=4']
Exploring Operation: 84/4=21, Resulting Numbers: [60, 21]
Generated Node #0,3,0: 36:[60, 21] Operation: 84/4=21
Exploring Operation: 60-4=56, Resulting Numbers: [84, 56]
Generated Node #0,3,1: 36:[84, 56] Operation: 60-4=56
Exploring Operation: 84-4=80, Resulting Numbers: [60, 80]
Generated Node #0,3,2: 36:[60, 80] Operation: 84-4=80
Exploring Operation: 84-60=24, Resulting Numbers: [4, 24]
Generated Node #0,3,3: 36:[4, 24] Operation: 84-60=24
Exploring Operation: 60/4=15, Resulting Numbers: [84, 15]
Generated Node #0,3,4: 36:[84, 15] Operation: 60/4=15
Moving to Node #0,0,3
Current State: 36:[14, 32], Operations: ['84-56=28', '60-28=32']
Exploring Operation: 14*32=448, Resulting Numbers: [448]
448,36 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Moving to Node #0,3,3
Current State: 36:[4, 24], Operations: ['56/14=4', '84-60=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[28, 46], Operations: ['84-56=28', '60-14=46']
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 28*46=1288, Resulting Numbers: [1288]
1288,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[60, 2], Operations: ['84-56=28', '28/14=2']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,36 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[60, 14], Operations: ['84-56=28', '28-14=14']
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,36 unequal: No Solution
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,36 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[60, 21], Operations: ['56/14=4', '84/4=21']
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,36 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,36 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[60, 42], Operations: ['84-56=28', '14+28=42']
Exploring Operation: 60*42=2520, Resulting Numbers: [2520]
2520,36 unequal: No Solution
Exploring Operation: 60-42=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 60+42=102, Resulting Numbers: [102]
102,36 unequal: No Solution
Moving to Node #0,3,4
Current State: 36:[84, 15], Operations: ['56/14=4', '60/4=15']
Exploring Operation: 84+15=99, Resulting Numbers: [99]
99,36 unequal: No Solution
Exploring Operation: 84-15=69, Resulting Numbers: [69]
69,36 unequal: No Solution
Exploring Operation: 84*15=1260, Resulting Numbers: [1260]
1260,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[84, 56], Operations: ['56/14=4', '60-4=56']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Exploring Operation: 84+56=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 84*56=4704, Resulting Numbers: [4704]
4704,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[60, 80], Operations: ['56/14=4', '84-4=80']
Exploring Operation: 60*80=4800, Resulting Numbers: [4800]
4800,36 unequal: No Solution
Exploring Operation: 60+80=140, Resulting Numbers: [140]
140,36 unequal: No Solution
Exploring Operation: 80-60=20, Resulting Numbers: [20]
20,36 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
81,
59,
62,
81
] | 54 | [
"81+81=162",
"62-59=3",
"162/3=54"
] | Current State: 54:[81, 59, 62, 81], Operations: []
Exploring Operation: 81+81=162, Resulting Numbers: [59, 62, 162]
Generated Node #2: [59, 62, 162] from Operation: 81+81=162
Current State: 54:[59, 62, 162], Operations: ['81+81=162']
Exploring Operation: 62-59=3, Resulting Numbers: [162, 3]
Generated Node #3: [162, 3] from Operation: 62-59=3
Current State: 54:[162, 3], Operations: ['81+81=162', '62-59=3']
Exploring Operation: 162/3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[81, 59, 62, 81], Operations: []
Exploring Operation: 81-81=0, Resulting Numbers: [59, 62, 0]
Generated Node #0,0: 54:[59, 62, 0] Operation: 81-81=0
Exploring Operation: 81/81=1, Resulting Numbers: [59, 62, 1]
Generated Node #0,1: 54:[59, 62, 1] Operation: 81/81=1
Moving to Node #0,1
Current State: 54:[59, 62, 1], Operations: ['81/81=1']
Exploring Operation: 59-1=58, Resulting Numbers: [62, 58]
Generated Node #0,1,0: 54:[62, 58] Operation: 59-1=58
Exploring Operation: 62-59=3, Resulting Numbers: [1, 3]
Generated Node #0,1,1: 54:[1, 3] Operation: 62-59=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[1, 3], Operations: ['81/81=1', '62-59=3']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[62, 58], Operations: ['81/81=1', '59-1=58']
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,54 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,54 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: 54:[59, 62, 0], Operations: ['81-81=0']
Exploring Operation: 62-59=3, Resulting Numbers: [0, 3]
Generated Node #0,0,0: 54:[0, 3] Operation: 62-59=3
Exploring Operation: 62*0=0, Resulting Numbers: [59, 0]
Generated Node #0,0,1: 54:[59, 0] Operation: 62*0=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[0, 3], Operations: ['81-81=0', '62-59=3']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 0+3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[59, 0], Operations: ['81-81=0', '62*0=0']
Exploring Operation: 59+0=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 59*0=0, Resulting Numbers: [0]
0,54 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 |
[
89,
70,
75,
89
] | 84 | [
"89-75=14",
"70/14=5",
"89-5=84"
] | Current State: 84:[89, 70, 75, 89], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [70, 14]
Generated Node #2: [70, 14] from Operation: 89-75=14
Current State: 84:[70, 14], Operations: ['89-75=14']
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,84 equal: Goal Reached
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[89, 70, 75, 89], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [75, 89, 19]
Generated Node #0,0: 84:[75, 89, 19] Operation: 89-70=19
Exploring Operation: 75-70=5, Resulting Numbers: [89, 89, 5]
Generated Node #0,1: 84:[89, 89, 5] Operation: 75-70=5
Exploring Operation: 89-70=19, Resulting Numbers: [89, 75, 19]
Generated Node #0,2: 84:[89, 75, 19] Operation: 89-70=19
Exploring Operation: 89-75=14, Resulting Numbers: [70, 89, 14]
Generated Node #0,3: 84:[70, 89, 14] Operation: 89-75=14
Exploring Operation: 89-75=14, Resulting Numbers: [89, 70, 14]
Generated Node #0,4: 84:[89, 70, 14] Operation: 89-75=14
Moving to Node #0,1
Current State: 84:[89, 89, 5], Operations: ['75-70=5']
Exploring Operation: 89-89=0, Resulting Numbers: [5, 0]
Generated Node #0,1,0: 84:[5, 0] Operation: 89-89=0
Exploring Operation: 89/89=1, Resulting Numbers: [5, 1]
Generated Node #0,1,1: 84:[5, 1] Operation: 89/89=1
Exploring Operation: 89-5=84, Resulting Numbers: [89, 84]
Generated Node #0,1,2: 84:[89, 84] Operation: 89-5=84
Exploring Operation: 89+5=94, Resulting Numbers: [89, 94]
Generated Node #0,1,3: 84:[89, 94] Operation: 89+5=94
Exploring Operation: 89-5=84, Resulting Numbers: [89, 84]
Generated Node #0,1,4: 84:[89, 84] Operation: 89-5=84
Moving to Node #0,2
Current State: 84:[89, 75, 19], Operations: ['89-70=19']
Exploring Operation: 89+19=108, Resulting Numbers: [75, 108]
Generated Node #0,2,0: 84:[75, 108] Operation: 89+19=108
Exploring Operation: 89-19=70, Resulting Numbers: [75, 70]
Generated Node #0,2,1: 84:[75, 70] Operation: 89-19=70
Exploring Operation: 89-75=14, Resulting Numbers: [19, 14]
Generated Node #0,2,2: 84:[19, 14] Operation: 89-75=14
Exploring Operation: 75+19=94, Resulting Numbers: [89, 94]
Generated Node #0,2,3: 84:[89, 94] Operation: 75+19=94
Exploring Operation: 75-19=56, Resulting Numbers: [89, 56]
Generated Node #0,2,4: 84:[89, 56] Operation: 75-19=56
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[19, 14], Operations: ['89-70=19', '89-75=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[89, 94], Operations: ['89-70=19', '75+19=94']
Exploring Operation: 89+94=183, Resulting Numbers: [183]
183,84 unequal: No Solution
Exploring Operation: 89*94=8366, Resulting Numbers: [8366]
8366,84 unequal: No Solution
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[89, 56], Operations: ['89-70=19', '75-19=56']
Exploring Operation: 89+56=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 89-56=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 89*56=4984, Resulting Numbers: [4984]
4984,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[75, 70], Operations: ['89-70=19', '89-19=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,84 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[75, 108], Operations: ['89-70=19', '89+19=108']
Exploring Operation: 75*108=8100, Resulting Numbers: [8100]
8100,84 unequal: No Solution
Exploring Operation: 75+108=183, Resulting Numbers: [183]
183,84 unequal: No Solution
Exploring Operation: 108-75=33, Resulting Numbers: [33]
33,84 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: 84:[75, 89, 19], Operations: ['89-70=19']
Exploring Operation: 89-75=14, Resulting Numbers: [19, 14]
Generated Node #0,0,0: 84:[19, 14] Operation: 89-75=14
Exploring Operation: 75+19=94, Resulting Numbers: [89, 94]
Generated Node #0,0,1: 84:[89, 94] Operation: 75+19=94
Exploring Operation: 89-19=70, Resulting Numbers: [75, 70]
Generated Node #0,0,2: 84:[75, 70] Operation: 89-19=70
Exploring Operation: 75-19=56, Resulting Numbers: [89, 56]
Generated Node #0,0,3: 84:[89, 56] Operation: 75-19=56
Exploring Operation: 89+19=108, Resulting Numbers: [75, 108]
Generated Node #0,0,4: 84:[75, 108] Operation: 89+19=108
Moving to Node #0,3
Current State: 84:[70, 89, 14], Operations: ['89-75=14']
Exploring Operation: 89-70=19, Resulting Numbers: [14, 19]
Generated Node #0,3,0: 84:[14, 19] Operation: 89-70=19
Exploring Operation: 70/14=5, Resulting Numbers: [89, 5]
Generated Node #0,3,1: 84:[89, 5] Operation: 70/14=5
Exploring Operation: 70+14=84, Resulting Numbers: [89, 84]
Generated Node #0,3,2: 84:[89, 84] Operation: 70+14=84
Exploring Operation: 70-14=56, Resulting Numbers: [89, 56]
Generated Node #0,3,3: 84:[89, 56] Operation: 70-14=56
Exploring Operation: 89-14=75, Resulting Numbers: [70, 75]
Generated Node #0,3,4: 84:[70, 75] Operation: 89-14=75
Moving to Node #0,4
Current State: 84:[89, 70, 14], Operations: ['89-75=14']
Exploring Operation: 89-14=75, Resulting Numbers: [70, 75]
Generated Node #0,4,0: 84:[70, 75] Operation: 89-14=75
Exploring Operation: 70/14=5, Resulting Numbers: [89, 5]
Generated Node #0,4,1: 84:[89, 5] Operation: 70/14=5
Exploring Operation: 70-14=56, Resulting Numbers: [89, 56]
Generated Node #0,4,2: 84:[89, 56] Operation: 70-14=56
Exploring Operation: 89-70=19, Resulting Numbers: [14, 19]
Generated Node #0,4,3: 84:[14, 19] Operation: 89-70=19
Exploring Operation: 70+14=84, Resulting Numbers: [89, 84]
Generated Node #0,4,4: 84:[89, 84] Operation: 70+14=84
Moving to Node #0,1,1
Current State: 84:[5, 1], Operations: ['75-70=5', '89/89=1']
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[19, 14], Operations: ['89-70=19', '89-75=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[14, 19], Operations: ['89-75=14', '89-70=19']
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[14, 19], Operations: ['89-75=14', '89-70=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,84 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[5, 0], Operations: ['75-70=5', '89-89=0']
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,84 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[89, 84], Operations: ['75-70=5', '89-5=84']
Exploring Operation: 89*84=7476, Resulting Numbers: [7476]
7476,84 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 89+84=173, Resulting Numbers: [173]
173,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[89, 84], Operations: ['89-75=14', '70+14=84']
Exploring Operation: 89*84=7476, Resulting Numbers: [7476]
7476,84 unequal: No Solution
Exploring Operation: 89+84=173, Resulting Numbers: [173]
173,84 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[89, 84], Operations: ['75-70=5', '89-5=84']
Exploring Operation: 89+84=173, Resulting Numbers: [173]
173,84 unequal: No Solution
Exploring Operation: 89*84=7476, Resulting Numbers: [7476]
7476,84 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,4,4
Current State: 84:[89, 84], Operations: ['89-75=14', '70+14=84']
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 89*84=7476, Resulting Numbers: [7476]
7476,84 unequal: No Solution
Exploring Operation: 89+84=173, Resulting Numbers: [173]
173,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[89, 5], Operations: ['89-75=14', '70/14=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,84 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[89, 70, 75, 89], Operations: []
Exploring Operation: 89-75=14, Resulting Numbers: [70, 89, 14]
Generated Node #0,3: 84:[70, 89, 14] Operation: 89-75=14
Moving to Node #0,3
Current State: 84:[70, 89, 14], Operations: ['89-75=14']
Exploring Operation: 70/14=5, Resulting Numbers: [89, 5]
Generated Node #0,3,1: 84:[89, 5] Operation: 70/14=5
Moving to Node #0,3,1
Current State: 84:[89, 5], Operations: ['89-75=14', '70/14=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.931424 | hs_5 | sum_heuristic |
[
35,
5,
93,
99
] | 65 | [
"99-93=6",
"5*6=30",
"35+30=65"
] | Current State: 65:[35, 5, 93, 99], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [35, 5, 6]
Generated Node #2: [35, 5, 6] from Operation: 99-93=6
Current State: 65:[35, 5, 6], Operations: ['99-93=6']
Exploring Operation: 5*6=30, Resulting Numbers: [35, 30]
Generated Node #3: [35, 30] from Operation: 5*6=30
Current State: 65:[35, 30], Operations: ['99-93=6', '5*6=30']
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[35, 5, 93, 99], Operations: []
Exploring Operation: 99-35=64, Resulting Numbers: [5, 93, 64]
Generated Node #0,0: 65:[5, 93, 64] Operation: 99-35=64
Exploring Operation: 35/5=7, Resulting Numbers: [93, 99, 7]
Generated Node #0,1: 65:[93, 99, 7] Operation: 35/5=7
Exploring Operation: 99-93=6, Resulting Numbers: [35, 5, 6]
Generated Node #0,2: 65:[35, 5, 6] Operation: 99-93=6
Exploring Operation: 35-5=30, Resulting Numbers: [93, 99, 30]
Generated Node #0,3: 65:[93, 99, 30] Operation: 35-5=30
Exploring Operation: 93-35=58, Resulting Numbers: [5, 99, 58]
Generated Node #0,4: 65:[5, 99, 58] Operation: 93-35=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[35, 5, 6], Operations: ['99-93=6']
Exploring Operation: 35-6=29, Resulting Numbers: [5, 29]
Generated Node #0,2,0: 65:[5, 29] Operation: 35-6=29
Exploring Operation: 35/5=7, Resulting Numbers: [6, 7]
Generated Node #0,2,1: 65:[6, 7] Operation: 35/5=7
Exploring Operation: 35+6=41, Resulting Numbers: [5, 41]
Generated Node #0,2,2: 65:[5, 41] Operation: 35+6=41
Exploring Operation: 5+6=11, Resulting Numbers: [35, 11]
Generated Node #0,2,3: 65:[35, 11] Operation: 5+6=11
Exploring Operation: 35-5=30, Resulting Numbers: [6, 30]
Generated Node #0,2,4: 65:[6, 30] Operation: 35-5=30
Moving to Node #0,2,1
Current State: 65:[6, 7], Operations: ['99-93=6', '35/5=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[5, 29], Operations: ['99-93=6', '35-6=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[6, 30], Operations: ['99-93=6', '35-5=30']
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,65 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[5, 41], Operations: ['99-93=6', '35+6=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[35, 11], Operations: ['99-93=6', '5+6=11']
Exploring Operation: 35+11=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 35*11=385, Resulting Numbers: [385]
385,65 unequal: No Solution
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[5, 93, 64], Operations: ['99-35=64']
Exploring Operation: 93-64=29, Resulting Numbers: [5, 29]
Generated Node #0,0,0: 65:[5, 29] Operation: 93-64=29
Exploring Operation: 5+64=69, Resulting Numbers: [93, 69]
Generated Node #0,0,1: 65:[93, 69] Operation: 5+64=69
Exploring Operation: 64-5=59, Resulting Numbers: [93, 59]
Generated Node #0,0,2: 65:[93, 59] Operation: 64-5=59
Exploring Operation: 93-5=88, Resulting Numbers: [64, 88]
Generated Node #0,0,3: 65:[64, 88] Operation: 93-5=88
Exploring Operation: 5+93=98, Resulting Numbers: [64, 98]
Generated Node #0,0,4: 65:[64, 98] Operation: 5+93=98
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[5, 29], Operations: ['99-35=64', '93-64=29']
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,65 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 65:[64, 88], Operations: ['99-35=64', '93-5=88']
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,65 unequal: No Solution
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[93, 69], Operations: ['99-35=64', '5+64=69']
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 93*69=6417, Resulting Numbers: [6417]
6417,65 unequal: No Solution
Exploring Operation: 93+69=162, Resulting Numbers: [162]
162,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[93, 59], Operations: ['99-35=64', '64-5=59']
Exploring Operation: 93*59=5487, Resulting Numbers: [5487]
5487,65 unequal: No Solution
Exploring Operation: 93+59=152, Resulting Numbers: [152]
152,65 unequal: No Solution
Exploring Operation: 93-59=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 65:[64, 98], Operations: ['99-35=64', '5+93=98']
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,65 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,65 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[5, 99, 58], Operations: ['93-35=58']
Exploring Operation: 5+58=63, Resulting Numbers: [99, 63]
Generated Node #0,4,0: 65:[99, 63] Operation: 5+58=63
Exploring Operation: 5+99=104, Resulting Numbers: [58, 104]
Generated Node #0,4,1: 65:[58, 104] Operation: 5+99=104
Exploring Operation: 99-5=94, Resulting Numbers: [58, 94]
Generated Node #0,4,2: 65:[58, 94] Operation: 99-5=94
Exploring Operation: 58-5=53, Resulting Numbers: [99, 53]
Generated Node #0,4,3: 65:[99, 53] Operation: 58-5=53
Exploring Operation: 99-58=41, Resulting Numbers: [5, 41]
Generated Node #0,4,4: 65:[5, 41] Operation: 99-58=41
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 65:[5, 41], Operations: ['93-35=58', '99-58=41']
Exploring Operation: 5+41=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 5*41=205, Resulting Numbers: [205]
205,65 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 65:[99, 63], Operations: ['93-35=58', '5+58=63']
Exploring Operation: 99*63=6237, Resulting Numbers: [6237]
6237,65 unequal: No Solution
Exploring Operation: 99+63=162, Resulting Numbers: [162]
162,65 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 65:[58, 94], Operations: ['93-35=58', '99-5=94']
Exploring Operation: 58*94=5452, Resulting Numbers: [5452]
5452,65 unequal: No Solution
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 58+94=152, Resulting Numbers: [152]
152,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 65:[58, 104], Operations: ['93-35=58', '5+99=104']
Exploring Operation: 104-58=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 58+104=162, Resulting Numbers: [162]
162,65 unequal: No Solution
Exploring Operation: 58*104=6032, Resulting Numbers: [6032]
6032,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 65:[99, 53], Operations: ['93-35=58', '58-5=53']
Exploring Operation: 99+53=152, Resulting Numbers: [152]
152,65 unequal: No Solution
Exploring Operation: 99*53=5247, Resulting Numbers: [5247]
5247,65 unequal: No Solution
Exploring Operation: 99-53=46, Resulting Numbers: [46]
46,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[93, 99, 7], Operations: ['35/5=7']
Exploring Operation: 99-93=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 65:[7, 6] Operation: 99-93=6
Exploring Operation: 99+7=106, Resulting Numbers: [93, 106]
Generated Node #0,1,1: 65:[93, 106] Operation: 99+7=106
Exploring Operation: 93-7=86, Resulting Numbers: [99, 86]
Generated Node #0,1,2: 65:[99, 86] Operation: 93-7=86
Exploring Operation: 99-7=92, Resulting Numbers: [93, 92]
Generated Node #0,1,3: 65:[93, 92] Operation: 99-7=92
Exploring Operation: 93+7=100, Resulting Numbers: [99, 100]
Generated Node #0,1,4: 65:[99, 100] Operation: 93+7=100
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[7, 6], Operations: ['35/5=7', '99-93=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[99, 86], Operations: ['35/5=7', '93-7=86']
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 99*86=8514, Resulting Numbers: [8514]
8514,65 unequal: No Solution
Exploring Operation: 99+86=185, Resulting Numbers: [185]
185,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[93, 92], Operations: ['35/5=7', '99-7=92']
Exploring Operation: 93-92=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 93+92=185, Resulting Numbers: [185]
185,65 unequal: No Solution
Exploring Operation: 93*92=8556, Resulting Numbers: [8556]
8556,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[93, 106], Operations: ['35/5=7', '99+7=106']
Exploring Operation: 106-93=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 93+106=199, Resulting Numbers: [199]
199,65 unequal: No Solution
Exploring Operation: 93*106=9858, Resulting Numbers: [9858]
9858,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 65:[99, 100], Operations: ['35/5=7', '93+7=100']
Exploring Operation: 99+100=199, Resulting Numbers: [199]
199,65 unequal: No Solution
Exploring Operation: 100-99=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 99*100=9900, Resulting Numbers: [9900]
9900,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[93, 99, 30], Operations: ['35-5=30']
Exploring Operation: 93+30=123, Resulting Numbers: [99, 123]
Generated Node #0,3,0: 65:[99, 123] Operation: 93+30=123
Exploring Operation: 99-93=6, Resulting Numbers: [30, 6]
Generated Node #0,3,1: 65:[30, 6] Operation: 99-93=6
Exploring Operation: 93-30=63, Resulting Numbers: [99, 63]
Generated Node #0,3,2: 65:[99, 63] Operation: 93-30=63
Exploring Operation: 99+30=129, Resulting Numbers: [93, 129]
Generated Node #0,3,3: 65:[93, 129] Operation: 99+30=129
Exploring Operation: 99-30=69, Resulting Numbers: [93, 69]
Generated Node #0,3,4: 65:[93, 69] Operation: 99-30=69
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[30, 6], Operations: ['35-5=30', '99-93=6']
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,65 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,65 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 65:[93, 69], Operations: ['35-5=30', '99-30=69']
Exploring Operation: 93-69=24, Resulting Numbers: [24]
24,65 unequal: No Solution
Exploring Operation: 93*69=6417, Resulting Numbers: [6417]
6417,65 unequal: No Solution
Exploring Operation: 93+69=162, Resulting Numbers: [162]
162,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[99, 63], Operations: ['35-5=30', '93-30=63']
Exploring Operation: 99*63=6237, Resulting Numbers: [6237]
6237,65 unequal: No Solution
Exploring Operation: 99-63=36, Resulting Numbers: [36]
36,65 unequal: No Solution
Exploring Operation: 99+63=162, Resulting Numbers: [162]
162,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[99, 123], Operations: ['35-5=30', '93+30=123']
Exploring Operation: 99+123=222, Resulting Numbers: [222]
222,65 unequal: No Solution
Exploring Operation: 99*123=12177, Resulting Numbers: [12177]
12177,65 unequal: No Solution
Exploring Operation: 123-99=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 65:[93, 129], Operations: ['35-5=30', '99+30=129']
Exploring Operation: 93+129=222, Resulting Numbers: [222]
222,65 unequal: No Solution
Exploring Operation: 93*129=11997, Resulting Numbers: [11997]
11997,65 unequal: No Solution
Exploring Operation: 129-93=36, Resulting Numbers: [36]
36,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
73,
42,
33,
96
] | 14 | [
"73+42=115",
"33+96=129",
"129-115=14"
] | Current State: 14:[73, 42, 33, 96], Operations: []
Exploring Operation: 73+42=115, Resulting Numbers: [33, 96, 115]
Generated Node #2: [33, 96, 115] from Operation: 73+42=115
Current State: 14:[33, 96, 115], Operations: ['73+42=115']
Exploring Operation: 33+96=129, Resulting Numbers: [115, 129]
Generated Node #3: [115, 129] from Operation: 33+96=129
Current State: 14:[115, 129], Operations: ['73+42=115', '33+96=129']
Exploring Operation: 129-115=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[73, 42, 33, 96], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [33, 96, 31]
Generated Node #0,0: 14:[33, 96, 31] Operation: 73-42=31
Exploring Operation: 96-33=63, Resulting Numbers: [73, 42, 63]
Generated Node #0,1: 14:[73, 42, 63] Operation: 96-33=63
Exploring Operation: 96-42=54, Resulting Numbers: [73, 33, 54]
Generated Node #0,2: 14:[73, 33, 54] Operation: 96-42=54
Exploring Operation: 73-33=40, Resulting Numbers: [42, 96, 40]
Generated Node #0,3: 14:[42, 96, 40] Operation: 73-33=40
Exploring Operation: 96-73=23, Resulting Numbers: [42, 33, 23]
Generated Node #0,4: 14:[42, 33, 23] Operation: 96-73=23
Moving to Node #0,4
Current State: 14:[42, 33, 23], Operations: ['96-73=23']
Exploring Operation: 42-33=9, Resulting Numbers: [23, 9]
Generated Node #0,4,0: 14:[23, 9] Operation: 42-33=9
Exploring Operation: 42-23=19, Resulting Numbers: [33, 19]
Generated Node #0,4,1: 14:[33, 19] Operation: 42-23=19
Exploring Operation: 42+23=65, Resulting Numbers: [33, 65]
Generated Node #0,4,2: 14:[33, 65] Operation: 42+23=65
Exploring Operation: 33-23=10, Resulting Numbers: [42, 10]
Generated Node #0,4,3: 14:[42, 10] Operation: 33-23=10
Exploring Operation: 42+33=75, Resulting Numbers: [23, 75]
Generated Node #0,4,4: 14:[23, 75] Operation: 42+33=75
Moving to Node #0,2
Current State: 14:[73, 33, 54], Operations: ['96-42=54']
Exploring Operation: 73+54=127, Resulting Numbers: [33, 127]
Generated Node #0,2,0: 14:[33, 127] Operation: 73+54=127
Exploring Operation: 54-33=21, Resulting Numbers: [73, 21]
Generated Node #0,2,1: 14:[73, 21] Operation: 54-33=21
Exploring Operation: 73-33=40, Resulting Numbers: [54, 40]
Generated Node #0,2,2: 14:[54, 40] Operation: 73-33=40
Exploring Operation: 73-54=19, Resulting Numbers: [33, 19]
Generated Node #0,2,3: 14:[33, 19] Operation: 73-54=19
Exploring Operation: 73+33=106, Resulting Numbers: [54, 106]
Generated Node #0,2,4: 14:[54, 106] Operation: 73+33=106
Moving to Node #0,0
Current State: 14:[33, 96, 31], Operations: ['73-42=31']
Exploring Operation: 33+96=129, Resulting Numbers: [31, 129]
Generated Node #0,0,0: 14:[31, 129] Operation: 33+96=129
Exploring Operation: 96-33=63, Resulting Numbers: [31, 63]
Generated Node #0,0,1: 14:[31, 63] Operation: 96-33=63
Exploring Operation: 33+31=64, Resulting Numbers: [96, 64]
Generated Node #0,0,2: 14:[96, 64] Operation: 33+31=64
Exploring Operation: 33-31=2, Resulting Numbers: [96, 2]
Generated Node #0,0,3: 14:[96, 2] Operation: 33-31=2
Exploring Operation: 96-31=65, Resulting Numbers: [33, 65]
Generated Node #0,0,4: 14:[33, 65] Operation: 96-31=65
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[31, 63], Operations: ['73-42=31', '96-33=63']
Exploring Operation: 31*63=1953, Resulting Numbers: [1953]
1953,14 unequal: No Solution
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 31+63=94, Resulting Numbers: [94]
94,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:[33, 65], Operations: ['73-42=31', '96-31=65']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 33*65=2145, Resulting Numbers: [2145]
2145,14 unequal: No Solution
Exploring Operation: 33+65=98, Resulting Numbers: [98]
98,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,3
Current State: 14:[96, 2], Operations: ['73-42=31', '33-31=2']
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,14 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 96/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,0,0
Current State: 14:[31, 129], Operations: ['73-42=31', '33+96=129']
Exploring Operation: 129-31=98, Resulting Numbers: [98]
98,14 unequal: No Solution
Exploring Operation: 31*129=3999, Resulting Numbers: [3999]
3999,14 unequal: No Solution
Exploring Operation: 31+129=160, Resulting Numbers: [160]
160,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:[96, 64], Operations: ['73-42=31', '33+31=64']
Exploring Operation: 96+64=160, Resulting Numbers: [160]
160,14 unequal: No Solution
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,14 unequal: No Solution
Exploring Operation: 96*64=6144, Resulting Numbers: [6144]
6144,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:[73, 42, 63], Operations: ['96-33=63']
Exploring Operation: 73+63=136, Resulting Numbers: [42, 136]
Generated Node #0,1,0: 14:[42, 136] Operation: 73+63=136
Exploring Operation: 73-42=31, Resulting Numbers: [63, 31]
Generated Node #0,1,1: 14:[63, 31] Operation: 73-42=31
Exploring Operation: 73+42=115, Resulting Numbers: [63, 115]
Generated Node #0,1,2: 14:[63, 115] Operation: 73+42=115
Exploring Operation: 73-63=10, Resulting Numbers: [42, 10]
Generated Node #0,1,3: 14:[42, 10] Operation: 73-63=10
Exploring Operation: 63-42=21, Resulting Numbers: [73, 21]
Generated Node #0,1,4: 14:[73, 21] Operation: 63-42=21
Moving to Node #0,3
Current State: 14:[42, 96, 40], Operations: ['73-33=40']
Exploring Operation: 96-40=56, Resulting Numbers: [42, 56]
Generated Node #0,3,0: 14:[42, 56] Operation: 96-40=56
Exploring Operation: 42-40=2, Resulting Numbers: [96, 2]
Generated Node #0,3,1: 14:[96, 2] Operation: 42-40=2
Exploring Operation: 42+40=82, Resulting Numbers: [96, 82]
Generated Node #0,3,2: 14:[96, 82] Operation: 42+40=82
Exploring Operation: 96-42=54, Resulting Numbers: [40, 54]
Generated Node #0,3,3: 14:[40, 54] Operation: 96-42=54
Exploring Operation: 42+96=138, Resulting Numbers: [40, 138]
Generated Node #0,3,4: 14:[40, 138] Operation: 42+96=138
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 14:[40, 54], Operations: ['73-33=40', '96-42=54']
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,14 unequal: No Solution
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,14 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[73, 42, 33, 96], Operations: []
Exploring Operation: 73-33=40, Resulting Numbers: [42, 96, 40]
Generated Node #0,3: 14:[42, 96, 40] Operation: 73-33=40
Moving to Node #0,3
Current State: 14:[42, 96, 40], Operations: ['73-33=40']
Exploring Operation: 96-42=54, Resulting Numbers: [40, 54]
Generated Node #0,3,3: 14:[40, 54] Operation: 96-42=54
Moving to Node #0,3,3
Current State: 14:[40, 54], Operations: ['73-33=40', '96-42=54']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | sum_heuristic |
[
71,
2,
91,
77
] | 34 | [
"71+77=148",
"2*91=182",
"182-148=34"
] | Current State: 34:[71, 2, 91, 77], Operations: []
Exploring Operation: 71+77=148, Resulting Numbers: [2, 91, 148]
Generated Node #2: [2, 91, 148] from Operation: 71+77=148
Current State: 34:[2, 91, 148], Operations: ['71+77=148']
Exploring Operation: 2*91=182, Resulting Numbers: [148, 182]
Generated Node #3: [148, 182] from Operation: 2*91=182
Current State: 34:[148, 182], Operations: ['71+77=148', '2*91=182']
Exploring Operation: 182-148=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[71, 2, 91, 77], Operations: []
Exploring Operation: 91-77=14, Resulting Numbers: [71, 2, 14]
Generated Node #0,0: 34:[71, 2, 14] Operation: 91-77=14
Exploring Operation: 71-2=69, Resulting Numbers: [91, 77, 69]
Generated Node #0,1: 34:[91, 77, 69] Operation: 71-2=69
Exploring Operation: 77-71=6, Resulting Numbers: [2, 91, 6]
Generated Node #0,2: 34:[2, 91, 6] Operation: 77-71=6
Exploring Operation: 91-71=20, Resulting Numbers: [2, 77, 20]
Generated Node #0,3: 34:[2, 77, 20] Operation: 91-71=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[71, 2, 14], Operations: ['91-77=14']
Exploring Operation: 71+2=73, Resulting Numbers: [14, 73]
Generated Node #0,0,0: 34:[14, 73] Operation: 71+2=73
Exploring Operation: 71-2=69, Resulting Numbers: [14, 69]
Generated Node #0,0,1: 34:[14, 69] Operation: 71-2=69
Exploring Operation: 2+14=16, Resulting Numbers: [71, 16]
Generated Node #0,0,2: 34:[71, 16] Operation: 2+14=16
Exploring Operation: 71-14=57, Resulting Numbers: [2, 57]
Generated Node #0,0,3: 34:[2, 57] Operation: 71-14=57
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 34:[2, 57], Operations: ['91-77=14', '71-14=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,34 unequal: No Solution
No 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: 34:[14, 69], Operations: ['91-77=14', '71-2=69']
Exploring Operation: 14*69=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 14+69=83, Resulting Numbers: [83]
83,34 unequal: No Solution
No 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: 34:[71, 16], Operations: ['91-77=14', '2+14=16']
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,34 unequal: No Solution
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,34 unequal: No Solution
No 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: 34:[14, 73], Operations: ['91-77=14', '71+2=73']
Exploring Operation: 14+73=87, Resulting Numbers: [87]
87,34 unequal: No Solution
Exploring Operation: 73-14=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 14*73=1022, Resulting Numbers: [1022]
1022,34 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: 34:[2, 77, 20], Operations: ['91-71=20']
Exploring Operation: 2+77=79, Resulting Numbers: [20, 79]
Generated Node #0,3,0: 34:[20, 79] Operation: 2+77=79
Exploring Operation: 77-20=57, Resulting Numbers: [2, 57]
Generated Node #0,3,1: 34:[2, 57] Operation: 77-20=57
Exploring Operation: 77-2=75, Resulting Numbers: [20, 75]
Generated Node #0,3,2: 34:[20, 75] Operation: 77-2=75
Exploring Operation: 20-2=18, Resulting Numbers: [77, 18]
Generated Node #0,3,3: 34:[77, 18] Operation: 20-2=18
Moving to Node #0,3,1
Current State: 34:[2, 57], Operations: ['91-71=20', '77-20=57']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[77, 18], Operations: ['91-71=20', '20-2=18']
Exploring Operation: 77+18=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 77*18=1386, Resulting Numbers: [1386]
1386,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[20, 75], Operations: ['91-71=20', '77-2=75']
Exploring Operation: 20*75=1500, Resulting Numbers: [1500]
1500,34 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 20+75=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[20, 79], Operations: ['91-71=20', '2+77=79']
Exploring Operation: 20+79=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 79-20=59, Resulting Numbers: [59]
59,34 unequal: No Solution
Exploring Operation: 20*79=1580, Resulting Numbers: [1580]
1580,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
Current State: 34:[2, 91, 6], Operations: ['77-71=6']
Exploring Operation: 6-2=4, Resulting Numbers: [91, 4]
Generated Node #0,2,0: 34:[91, 4] Operation: 6-2=4
Exploring Operation: 91-2=89, Resulting Numbers: [6, 89]
Generated Node #0,2,1: 34:[6, 89] Operation: 91-2=89
Exploring Operation: 91-6=85, Resulting Numbers: [2, 85]
Generated Node #0,2,2: 34:[2, 85] Operation: 91-6=85
Exploring Operation: 6/2=3, Resulting Numbers: [91, 3]
Generated Node #0,2,3: 34:[91, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 34:[2, 85], Operations: ['77-71=6', '91-6=85']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,34 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,34 unequal: No Solution
No 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: 34:[91, 3], Operations: ['77-71=6', '6/2=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,34 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,34 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,34 unequal: No Solution
No 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: 34:[91, 4], Operations: ['77-71=6', '6-2=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Exploring Operation: 91*4=364, Resulting Numbers: [364]
364,34 unequal: No Solution
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,34 unequal: No Solution
No 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: 34:[6, 89], Operations: ['77-71=6', '91-2=89']
Exploring Operation: 6*89=534, Resulting Numbers: [534]
534,34 unequal: No Solution
Exploring Operation: 6+89=95, Resulting Numbers: [95]
95,34 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,34 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: 34:[91, 77, 69], Operations: ['71-2=69']
Exploring Operation: 91-69=22, Resulting Numbers: [77, 22]
Generated Node #0,1,0: 34:[77, 22] Operation: 91-69=22
Exploring Operation: 91+77=168, Resulting Numbers: [69, 168]
Generated Node #0,1,1: 34:[69, 168] Operation: 91+77=168
Exploring Operation: 77-69=8, Resulting Numbers: [91, 8]
Generated Node #0,1,2: 34:[91, 8] Operation: 77-69=8
Exploring Operation: 91-77=14, Resulting Numbers: [69, 14]
Generated Node #0,1,3: 34:[69, 14] Operation: 91-77=14
Moving to Node #0,1,3
Current State: 34:[69, 14], Operations: ['71-2=69', '91-77=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[77, 22], Operations: ['71-2=69', '91-69=22']
Exploring Operation: 77+22=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 77*22=1694, Resulting Numbers: [1694]
1694,34 unequal: No Solution
Exploring Operation: 77-22=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[91, 8], Operations: ['71-2=69', '77-69=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,34 unequal: No Solution
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,34 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[69, 168], Operations: ['71-2=69', '91+77=168']
Exploring Operation: 69*168=11592, Resulting Numbers: [11592]
11592,34 unequal: No Solution
Exploring Operation: 69+168=237, Resulting Numbers: [237]
237,34 unequal: No Solution
Exploring Operation: 168-69=99, Resulting Numbers: [99]
99,34 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 |
[
38,
22,
43,
3
] | 41 | [
"22-3=19",
"38/19=2",
"43-2=41"
] | Current State: 41:[38, 22, 43, 3], Operations: []
Exploring Operation: 22-3=19, Resulting Numbers: [38, 43, 19]
Generated Node #2: [38, 43, 19] from Operation: 22-3=19
Current State: 41:[38, 43, 19], Operations: ['22-3=19']
Exploring Operation: 38/19=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 38/19=2
Current State: 41:[43, 2], Operations: ['22-3=19', '38/19=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[38, 22, 43, 3], Operations: []
Exploring Operation: 22+3=25, Resulting Numbers: [38, 43, 25]
Generated Node #0,0: 41:[38, 43, 25] Operation: 22+3=25
Exploring Operation: 38+3=41, Resulting Numbers: [22, 43, 41]
Generated Node #0,1: 41:[22, 43, 41] Operation: 38+3=41
Exploring Operation: 43-3=40, Resulting Numbers: [38, 22, 40]
Generated Node #0,2: 41:[38, 22, 40] Operation: 43-3=40
Moving to Node #0,0
Current State: 41:[38, 43, 25], Operations: ['22+3=25']
Exploring Operation: 38+25=63, Resulting Numbers: [43, 63]
Generated Node #0,0,0: 41:[43, 63] Operation: 38+25=63
Exploring Operation: 38-25=13, Resulting Numbers: [43, 13]
Generated Node #0,0,1: 41:[43, 13] Operation: 38-25=13
Exploring Operation: 43-25=18, Resulting Numbers: [38, 18]
Generated Node #0,0,2: 41:[38, 18] Operation: 43-25=18
Moving to Node #0,1
Current State: 41:[22, 43, 41], Operations: ['38+3=41']
Exploring Operation: 22+43=65, Resulting Numbers: [41, 65]
Generated Node #0,1,0: 41:[41, 65] Operation: 22+43=65
Exploring Operation: 43-22=21, Resulting Numbers: [41, 21]
Generated Node #0,1,1: 41:[41, 21] Operation: 43-22=21
Exploring Operation: 22+41=63, Resulting Numbers: [43, 63]
Generated Node #0,1,2: 41:[43, 63] Operation: 22+41=63
Moving to Node #0,2
Current State: 41:[38, 22, 40], Operations: ['43-3=40']
Exploring Operation: 22+40=62, Resulting Numbers: [38, 62]
Generated Node #0,2,0: 41:[38, 62] Operation: 22+40=62
Exploring Operation: 38-22=16, Resulting Numbers: [40, 16]
Generated Node #0,2,1: 41:[40, 16] Operation: 38-22=16
Exploring Operation: 38+22=60, Resulting Numbers: [40, 60]
Generated Node #0,2,2: 41:[40, 60] Operation: 38+22=60
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[40, 60], Operations: ['43-3=40', '38+22=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,41 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[38, 62], Operations: ['43-3=40', '22+40=62']
Exploring Operation: 62-38=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 38+62=100, Resulting Numbers: [100]
100,41 unequal: No Solution
Exploring Operation: 38*62=2356, Resulting Numbers: [2356]
2356,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[40, 16], Operations: ['43-3=40', '38-22=16']
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 41:[41, 21], Operations: ['38+3=41', '43-22=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[43, 63], Operations: ['38+3=41', '22+41=63']
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,41 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[43, 63], Operations: ['22+3=25', '38+25=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[41, 65], Operations: ['38+3=41', '22+43=65']
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,41 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[38, 18], Operations: ['22+3=25', '43-25=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[43, 13], Operations: ['22+3=25', '38-25=13']
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,41 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,41 unequal: No Solution
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,41 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
74,
66,
45
] | 40 | [
"60*74=4440",
"66+45=111",
"4440/111=40"
] | Current State: 40:[60, 74, 66, 45], Operations: []
Exploring Operation: 60*74=4440, Resulting Numbers: [66, 45, 4440]
Generated Node #2: [66, 45, 4440] from Operation: 60*74=4440
Current State: 40:[66, 45, 4440], Operations: ['60*74=4440']
Exploring Operation: 66+45=111, Resulting Numbers: [4440, 111]
Generated Node #3: [4440, 111] from Operation: 66+45=111
Current State: 40:[4440, 111], Operations: ['60*74=4440', '66+45=111']
Exploring Operation: 4440/111=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[60, 74, 66, 45], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [74, 45, 6]
Generated Node #0,0: 40:[74, 45, 6] Operation: 66-60=6
Exploring Operation: 74-66=8, Resulting Numbers: [60, 45, 8]
Generated Node #0,1: 40:[60, 45, 8] Operation: 74-66=8
Exploring Operation: 74-45=29, Resulting Numbers: [60, 66, 29]
Generated Node #0,2: 40:[60, 66, 29] Operation: 74-45=29
Exploring Operation: 74-60=14, Resulting Numbers: [66, 45, 14]
Generated Node #0,3: 40:[66, 45, 14] Operation: 74-60=14
Exploring Operation: 66-45=21, Resulting Numbers: [60, 74, 21]
Generated Node #0,4: 40:[60, 74, 21] Operation: 66-45=21
Moving to Node #0,1
Current State: 40:[60, 45, 8], Operations: ['74-66=8']
Exploring Operation: 60-45=15, Resulting Numbers: [8, 15]
Generated Node #0,1,0: 40:[8, 15] Operation: 60-45=15
Exploring Operation: 45+8=53, Resulting Numbers: [60, 53]
Generated Node #0,1,1: 40:[60, 53] Operation: 45+8=53
Exploring Operation: 60+8=68, Resulting Numbers: [45, 68]
Generated Node #0,1,2: 40:[45, 68] Operation: 60+8=68
Exploring Operation: 45-8=37, Resulting Numbers: [60, 37]
Generated Node #0,1,3: 40:[60, 37] Operation: 45-8=37
Exploring Operation: 60-8=52, Resulting Numbers: [45, 52]
Generated Node #0,1,4: 40:[45, 52] Operation: 60-8=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[8, 15], Operations: ['74-66=8', '60-45=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,40 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 40:[45, 52], Operations: ['74-66=8', '60-8=52']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,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,1,3
Current State: 40:[60, 37], Operations: ['74-66=8', '45-8=37']
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,40 unequal: No Solution
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,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,1,1
Current State: 40:[60, 53], Operations: ['74-66=8', '45+8=53']
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,40 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,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,1,2
Current State: 40:[45, 68], Operations: ['74-66=8', '60+8=68']
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,40 unequal: No Solution
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,40 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: 40:[66, 45, 14], Operations: ['74-60=14']
Exploring Operation: 45+14=59, Resulting Numbers: [66, 59]
Generated Node #0,3,0: 40:[66, 59] Operation: 45+14=59
Exploring Operation: 45-14=31, Resulting Numbers: [66, 31]
Generated Node #0,3,1: 40:[66, 31] Operation: 45-14=31
Exploring Operation: 66+14=80, Resulting Numbers: [45, 80]
Generated Node #0,3,2: 40:[45, 80] Operation: 66+14=80
Exploring Operation: 66-45=21, Resulting Numbers: [14, 21]
Generated Node #0,3,3: 40:[14, 21] Operation: 66-45=21
Exploring Operation: 66-14=52, Resulting Numbers: [45, 52]
Generated Node #0,3,4: 40:[45, 52] Operation: 66-14=52
Moving to Node #0,0
Current State: 40:[74, 45, 6], Operations: ['66-60=6']
Exploring Operation: 45-6=39, Resulting Numbers: [74, 39]
Generated Node #0,0,0: 40:[74, 39] Operation: 45-6=39
Exploring Operation: 74+6=80, Resulting Numbers: [45, 80]
Generated Node #0,0,1: 40:[45, 80] Operation: 74+6=80
Exploring Operation: 74-45=29, Resulting Numbers: [6, 29]
Generated Node #0,0,2: 40:[6, 29] Operation: 74-45=29
Exploring Operation: 45+6=51, Resulting Numbers: [74, 51]
Generated Node #0,0,3: 40:[74, 51] Operation: 45+6=51
Exploring Operation: 74-6=68, Resulting Numbers: [45, 68]
Generated Node #0,0,4: 40:[45, 68] Operation: 74-6=68
Moving to Node #0,2
Current State: 40:[60, 66, 29], Operations: ['74-45=29']
Exploring Operation: 60+29=89, Resulting Numbers: [66, 89]
Generated Node #0,2,0: 40:[66, 89] Operation: 60+29=89
Exploring Operation: 60-29=31, Resulting Numbers: [66, 31]
Generated Node #0,2,1: 40:[66, 31] Operation: 60-29=31
Exploring Operation: 66-60=6, Resulting Numbers: [29, 6]
Generated Node #0,2,2: 40:[29, 6] Operation: 66-60=6
Exploring Operation: 66+29=95, Resulting Numbers: [60, 95]
Generated Node #0,2,3: 40:[60, 95] Operation: 66+29=95
Exploring Operation: 66-29=37, Resulting Numbers: [60, 37]
Generated Node #0,2,4: 40:[60, 37] Operation: 66-29=37
Moving to Node #0,4
Current State: 40:[60, 74, 21], Operations: ['66-45=21']
Exploring Operation: 60-21=39, Resulting Numbers: [74, 39]
Generated Node #0,4,0: 40:[74, 39] Operation: 60-21=39
Exploring Operation: 60+21=81, Resulting Numbers: [74, 81]
Generated Node #0,4,1: 40:[74, 81] Operation: 60+21=81
Exploring Operation: 74-60=14, Resulting Numbers: [21, 14]
Generated Node #0,4,2: 40:[21, 14] Operation: 74-60=14
Exploring Operation: 74-21=53, Resulting Numbers: [60, 53]
Generated Node #0,4,3: 40:[60, 53] Operation: 74-21=53
Exploring Operation: 74+21=95, Resulting Numbers: [60, 95]
Generated Node #0,4,4: 40:[60, 95] Operation: 74+21=95
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 40:[21, 14], Operations: ['66-45=21', '74-60=14']
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,40 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 40:[60, 53], Operations: ['66-45=21', '74-21=53']
Exploring Operation: 60*53=3180, Resulting Numbers: [3180]
3180,40 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,40 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 40:[74, 39], Operations: ['66-45=21', '60-21=39']
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,40 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,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,4,1
Current State: 40:[74, 81], Operations: ['66-45=21', '60+21=81']
Exploring Operation: 74+81=155, Resulting Numbers: [155]
155,40 unequal: No Solution
Exploring Operation: 74*81=5994, Resulting Numbers: [5994]
5994,40 unequal: No Solution
Exploring Operation: 81-74=7, Resulting Numbers: [7]
7,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 40:[60, 95], Operations: ['66-45=21', '74+21=95']
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,40 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,40 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 40:[14, 21], Operations: ['74-60=14', '66-45=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,40 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[6, 29], Operations: ['66-60=6', '74-45=29']
Exploring Operation: 6+29=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 6*29=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[29, 6], Operations: ['74-45=29', '66-60=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Moving to Node #0,3,4
Current State: 40:[45, 52], Operations: ['74-60=14', '66-14=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[60, 37], Operations: ['74-45=29', '66-29=37']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,40 unequal: No Solution
Moving to Node #0,0,4
Current State: 40:[45, 68], Operations: ['66-60=6', '74-6=68']
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,40 unequal: No Solution
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,40 unequal: No Solution
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[66, 31], Operations: ['74-60=14', '45-14=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,40 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[66, 31], Operations: ['74-45=29', '60-29=31']
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,40 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[74, 39], Operations: ['66-60=6', '45-6=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,40 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[74, 51], Operations: ['66-60=6', '45+6=51']
Exploring Operation: 74+51=125, Resulting Numbers: [125]
125,40 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Exploring Operation: 74*51=3774, Resulting Numbers: [3774]
3774,40 unequal: No Solution
Moving to Node #0,3,2
Current State: 40:[45, 80], Operations: ['74-60=14', '66+14=80']
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,40 unequal: No Solution
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,40 unequal: No Solution
Moving to Node #0,3,0
Current State: 40:[66, 59], Operations: ['74-60=14', '45+14=59']
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,40 unequal: No Solution
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[45, 80], Operations: ['66-60=6', '74+6=80']
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,40 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[66, 89], Operations: ['74-45=29', '60+29=89']
Exploring Operation: 66*89=5874, Resulting Numbers: [5874]
5874,40 unequal: No Solution
Exploring Operation: 66+89=155, Resulting Numbers: [155]
155,40 unequal: No Solution
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[60, 95], Operations: ['74-45=29', '66+29=95']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,40 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,40 unequal: No Solution
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,40 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
38,
1,
6,
24
] | 90 | [
"38+1=39",
"39-24=15",
"6*15=90"
] | Current State: 90:[38, 1, 6, 24], Operations: []
Exploring Operation: 38+1=39, Resulting Numbers: [6, 24, 39]
Generated Node #2: [6, 24, 39] from Operation: 38+1=39
Current State: 90:[6, 24, 39], Operations: ['38+1=39']
Exploring Operation: 39-24=15, Resulting Numbers: [6, 15]
Generated Node #3: [6, 15] from Operation: 39-24=15
Current State: 90:[6, 15], Operations: ['38+1=39', '39-24=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[38, 1, 6, 24], Operations: []
Exploring Operation: 6+24=30, Resulting Numbers: [38, 1, 30]
Generated Node #0,0: 90:[38, 1, 30] Operation: 6+24=30
Exploring Operation: 38-24=14, Resulting Numbers: [1, 6, 14]
Generated Node #0,1: 90:[1, 6, 14] Operation: 38-24=14
Exploring Operation: 38+6=44, Resulting Numbers: [1, 24, 44]
Generated Node #0,2: 90:[1, 24, 44] Operation: 38+6=44
Moving to Node #0,1
Current State: 90:[1, 6, 14], Operations: ['38-24=14']
Exploring Operation: 1*6=6, Resulting Numbers: [14, 6]
Generated Node #0,1,0: 90:[14, 6] Operation: 1*6=6
Exploring Operation: 6-1=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 90:[14, 5] Operation: 6-1=5
Exploring Operation: 1+14=15, Resulting Numbers: [6, 15]
Generated Node #0,1,2: 90:[6, 15] Operation: 1+14=15
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 90:[6, 15], Operations: ['38-24=14', '1+14=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[38, 1, 6, 24], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [1, 6, 14]
Generated Node #0,1: 90:[1, 6, 14] Operation: 38-24=14
Moving to Node #0,1
Current State: 90:[1, 6, 14], Operations: ['38-24=14']
Exploring Operation: 1+14=15, Resulting Numbers: [6, 15]
Generated Node #0,1,2: 90:[6, 15] Operation: 1+14=15
Moving to Node #0,1,2
Current State: 90:[6, 15], Operations: ['38-24=14', '1+14=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
13,
29,
68,
5
] | 40 | [
"68-13=55",
"55/5=11",
"29+11=40"
] | Current State: 40:[13, 29, 68, 5], Operations: []
Exploring Operation: 68-13=55, Resulting Numbers: [29, 5, 55]
Generated Node #2: [29, 5, 55] from Operation: 68-13=55
Current State: 40:[29, 5, 55], Operations: ['68-13=55']
Exploring Operation: 55/5=11, Resulting Numbers: [29, 11]
Generated Node #3: [29, 11] from Operation: 55/5=11
Current State: 40:[29, 11], Operations: ['68-13=55', '55/5=11']
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[13, 29, 68, 5], Operations: []
Exploring Operation: 68-29=39, Resulting Numbers: [13, 5, 39]
Generated Node #0,0: 40:[13, 5, 39] Operation: 68-29=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[13, 5, 39], Operations: ['68-29=39']
Exploring Operation: 13-5=8, Resulting Numbers: [39, 8]
Generated Node #0,0,0: 40:[39, 8] Operation: 13-5=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[39, 8], Operations: ['68-29=39', '13-5=8']
Exploring Operation: 39+8=47, Resulting Numbers: [47]
47,40 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 |
[
90,
79,
64,
41
] | 94 | [
"90-79=11",
"64+41=105",
"105-11=94"
] | Current State: 94:[90, 79, 64, 41], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [64, 41, 11]
Generated Node #2: [64, 41, 11] from Operation: 90-79=11
Current State: 94:[64, 41, 11], Operations: ['90-79=11']
Exploring Operation: 64+41=105, Resulting Numbers: [11, 105]
Generated Node #3: [11, 105] from Operation: 64+41=105
Current State: 94:[11, 105], Operations: ['90-79=11', '64+41=105']
Exploring Operation: 105-11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[90, 79, 64, 41], Operations: []
Exploring Operation: 79-64=15, Resulting Numbers: [90, 41, 15]
Generated Node #0,0: 94:[90, 41, 15] Operation: 79-64=15
Exploring Operation: 79-41=38, Resulting Numbers: [90, 64, 38]
Generated Node #0,1: 94:[90, 64, 38] Operation: 79-41=38
Exploring Operation: 90-79=11, Resulting Numbers: [64, 41, 11]
Generated Node #0,2: 94:[64, 41, 11] Operation: 90-79=11
Exploring Operation: 90-41=49, Resulting Numbers: [79, 64, 49]
Generated Node #0,3: 94:[79, 64, 49] Operation: 90-41=49
Exploring Operation: 64+41=105, Resulting Numbers: [90, 79, 105]
Generated Node #0,4: 94:[90, 79, 105] Operation: 64+41=105
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[90, 41, 15], Operations: ['79-64=15']
Exploring Operation: 90+15=105, Resulting Numbers: [41, 105]
Generated Node #0,0,0: 94:[41, 105] Operation: 90+15=105
Exploring Operation: 90-15=75, Resulting Numbers: [41, 75]
Generated Node #0,0,1: 94:[41, 75] Operation: 90-15=75
Exploring Operation: 90-41=49, Resulting Numbers: [15, 49]
Generated Node #0,0,2: 94:[15, 49] Operation: 90-41=49
Exploring Operation: 41+15=56, Resulting Numbers: [90, 56]
Generated Node #0,0,3: 94:[90, 56] Operation: 41+15=56
Exploring Operation: 90/15=6, Resulting Numbers: [41, 6]
Generated Node #0,0,4: 94:[41, 6] Operation: 90/15=6
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 94:[41, 6], Operations: ['79-64=15', '90/15=6']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,94 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 94:[90, 56], Operations: ['79-64=15', '41+15=56']
Exploring Operation: 90+56=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Exploring Operation: 90-56=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 90*56=5040, Resulting Numbers: [5040]
5040,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[15, 49], Operations: ['79-64=15', '90-41=49']
Exploring Operation: 15+49=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 15*49=735, Resulting Numbers: [735]
735,94 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[41, 105], Operations: ['79-64=15', '90+15=105']
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 41+105=146, Resulting Numbers: [146]
146,94 unequal: No Solution
Exploring Operation: 41*105=4305, Resulting Numbers: [4305]
4305,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[41, 75], Operations: ['79-64=15', '90-15=75']
Exploring Operation: 41+75=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,94 unequal: No Solution
Exploring Operation: 41*75=3075, Resulting Numbers: [3075]
3075,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[90, 64, 38], Operations: ['79-41=38']
Exploring Operation: 90-64=26, Resulting Numbers: [38, 26]
Generated Node #0,1,0: 94:[38, 26] Operation: 90-64=26
Exploring Operation: 90+38=128, Resulting Numbers: [64, 128]
Generated Node #0,1,1: 94:[64, 128] Operation: 90+38=128
Exploring Operation: 64+38=102, Resulting Numbers: [90, 102]
Generated Node #0,1,2: 94:[90, 102] Operation: 64+38=102
Exploring Operation: 64-38=26, Resulting Numbers: [90, 26]
Generated Node #0,1,3: 94:[90, 26] Operation: 64-38=26
Exploring Operation: 90-38=52, Resulting Numbers: [64, 52]
Generated Node #0,1,4: 94:[64, 52] Operation: 90-38=52
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 94:[90, 102], Operations: ['79-41=38', '64+38=102']
Exploring Operation: 90+102=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 90*102=9180, Resulting Numbers: [9180]
9180,94 unequal: No Solution
Exploring Operation: 102-90=12, Resulting Numbers: [12]
12,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 94:[64, 52], Operations: ['79-41=38', '90-38=52']
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,94 unequal: No Solution
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,94 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 94:[90, 26], Operations: ['79-41=38', '64-38=26']
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,94 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 94:[38, 26], Operations: ['79-41=38', '90-64=26']
Exploring Operation: 38*26=988, Resulting Numbers: [988]
988,94 unequal: No Solution
Exploring Operation: 38+26=64, Resulting Numbers: [64]
64,94 unequal: No Solution
Exploring Operation: 38-26=12, Resulting Numbers: [12]
12,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[64, 128], Operations: ['79-41=38', '90+38=128']
Exploring Operation: 64*128=8192, Resulting Numbers: [8192]
8192,94 unequal: No Solution
Exploring Operation: 128/64=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 64+128=192, Resulting Numbers: [192]
192,94 unequal: No Solution
Exploring Operation: 128-64=64, Resulting Numbers: [64]
64,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[90, 79, 105], Operations: ['64+41=105']
Exploring Operation: 90-79=11, Resulting Numbers: [105, 11]
Generated Node #0,4,0: 94:[105, 11] Operation: 90-79=11
Exploring Operation: 105-79=26, Resulting Numbers: [90, 26]
Generated Node #0,4,1: 94:[90, 26] Operation: 105-79=26
Exploring Operation: 90+79=169, Resulting Numbers: [105, 169]
Generated Node #0,4,2: 94:[105, 169] Operation: 90+79=169
Exploring Operation: 79+105=184, Resulting Numbers: [90, 184]
Generated Node #0,4,3: 94:[90, 184] Operation: 79+105=184
Exploring Operation: 105-90=15, Resulting Numbers: [79, 15]
Generated Node #0,4,4: 94:[79, 15] Operation: 105-90=15
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 94:[105, 11], Operations: ['64+41=105', '90-79=11']
Exploring Operation: 105+11=116, Resulting Numbers: [116]
116,94 unequal: No Solution
Exploring Operation: 105*11=1155, Resulting Numbers: [1155]
1155,94 unequal: No Solution
Exploring Operation: 105-11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[90, 79, 64, 41], Operations: []
Exploring Operation: 64+41=105, Resulting Numbers: [90, 79, 105]
Generated Node #0,4: 94:[90, 79, 105] Operation: 64+41=105
Moving to Node #0,4
Current State: 94:[90, 79, 105], Operations: ['64+41=105']
Exploring Operation: 90-79=11, Resulting Numbers: [105, 11]
Generated Node #0,4,0: 94:[105, 11] Operation: 90-79=11
Moving to Node #0,4,0
Current State: 94:[105, 11], Operations: ['64+41=105', '90-79=11']
Exploring Operation: 105-11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | sum_heuristic |
[
76,
56,
56,
24
] | 99 | [
"76+24=100",
"56/56=1",
"100-1=99"
] | Current State: 99:[76, 56, 56, 24], Operations: []
Exploring Operation: 76+24=100, Resulting Numbers: [56, 56, 100]
Generated Node #2: [56, 56, 100] from Operation: 76+24=100
Current State: 99:[56, 56, 100], Operations: ['76+24=100']
Exploring Operation: 56/56=1, Resulting Numbers: [100, 1]
Generated Node #3: [100, 1] from Operation: 56/56=1
Current State: 99:[100, 1], Operations: ['76+24=100', '56/56=1']
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[76, 56, 56, 24], Operations: []
Exploring Operation: 56+56=112, Resulting Numbers: [76, 24, 112]
Generated Node #0,0: 99:[76, 24, 112] Operation: 56+56=112
Exploring Operation: 56/56=1, Resulting Numbers: [76, 24, 1]
Generated Node #0,1: 99:[76, 24, 1] Operation: 56/56=1
Exploring Operation: 76-56=20, Resulting Numbers: [56, 24, 20]
Generated Node #0,2: 99:[56, 24, 20] Operation: 76-56=20
Exploring Operation: 56-56=0, Resulting Numbers: [76, 24, 0]
Generated Node #0,3: 99:[76, 24, 0] Operation: 56-56=0
Exploring Operation: 76-56=20, Resulting Numbers: [56, 24, 20]
Generated Node #0,4: 99:[56, 24, 20] Operation: 76-56=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[76, 24, 1], Operations: ['56/56=1']
Exploring Operation: 76+24=100, Resulting Numbers: [1, 100]
Generated Node #0,1,0: 99:[1, 100] Operation: 76+24=100
Exploring Operation: 76*1=76, Resulting Numbers: [24, 76]
Generated Node #0,1,1: 99:[24, 76] Operation: 76*1=76
Exploring Operation: 76+1=77, Resulting Numbers: [24, 77]
Generated Node #0,1,2: 99:[24, 77] Operation: 76+1=77
Exploring Operation: 24+1=25, Resulting Numbers: [76, 25]
Generated Node #0,1,3: 99:[76, 25] Operation: 24+1=25
Exploring Operation: 76-24=52, Resulting Numbers: [1, 52]
Generated Node #0,1,4: 99:[1, 52] Operation: 76-24=52
Moving to Node #0,1,0
Current State: 99:[1, 100], Operations: ['56/56=1', '76+24=100']
Exploring Operation: 1+100=101, Resulting Numbers: [101]
101,99 unequal: No Solution
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 1*100=100, Resulting Numbers: [100]
100,99 unequal: No Solution
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[76, 56, 56, 24], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [76, 24, 1]
Generated Node #0,1: 99:[76, 24, 1] Operation: 56/56=1
Moving to Node #0,1
Current State: 99:[76, 24, 1], Operations: ['56/56=1']
Exploring Operation: 76+24=100, Resulting Numbers: [1, 100]
Generated Node #0,1,0: 99:[1, 100] Operation: 76+24=100
Moving to Node #0,1,0
Current State: 99:[1, 100], Operations: ['56/56=1', '76+24=100']
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
27,
2,
25,
97
] | 20 | [
"97-27=70",
"2*25=50",
"70-50=20"
] | Current State: 20:[27, 2, 25, 97], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [2, 25, 70]
Generated Node #2: [2, 25, 70] from Operation: 97-27=70
Current State: 20:[2, 25, 70], Operations: ['97-27=70']
Exploring Operation: 2*25=50, Resulting Numbers: [70, 50]
Generated Node #3: [70, 50] from Operation: 2*25=50
Current State: 20:[70, 50], Operations: ['97-27=70', '2*25=50']
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[27, 2, 25, 97], Operations: []
Exploring Operation: 97-27=70, Resulting Numbers: [2, 25, 70]
Generated Node #0,0: 20:[2, 25, 70] Operation: 97-27=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 25, 70], Operations: ['97-27=70']
Exploring Operation: 70/2=35, Resulting Numbers: [25, 35]
Generated Node #0,0,0: 20:[25, 35] Operation: 70/2=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[25, 35], Operations: ['97-27=70', '70/2=35']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
60,
62,
47,
4
] | 98 | [
"62-60=2",
"47*2=94",
"4+94=98"
] | Current State: 98:[60, 62, 47, 4], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [47, 4, 2]
Generated Node #2: [47, 4, 2] from Operation: 62-60=2
Current State: 98:[47, 4, 2], Operations: ['62-60=2']
Exploring Operation: 47*2=94, Resulting Numbers: [4, 94]
Generated Node #3: [4, 94] from Operation: 47*2=94
Current State: 98:[4, 94], Operations: ['62-60=2', '47*2=94']
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[60, 62, 47, 4], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [60, 4, 15]
Generated Node #0,0: 98:[60, 4, 15] Operation: 62-47=15
Exploring Operation: 60-47=13, Resulting Numbers: [62, 4, 13]
Generated Node #0,1: 98:[62, 4, 13] Operation: 60-47=13
Exploring Operation: 62-60=2, Resulting Numbers: [47, 4, 2]
Generated Node #0,2: 98:[47, 4, 2] Operation: 62-60=2
Moving to Node #0,2
Current State: 98:[47, 4, 2], Operations: ['62-60=2']
Exploring Operation: 4-2=2, Resulting Numbers: [47, 2]
Generated Node #0,2,0: 98:[47, 2] Operation: 4-2=2
Exploring Operation: 47+4=51, Resulting Numbers: [2, 51]
Generated Node #0,2,1: 98:[2, 51] Operation: 47+4=51
Exploring Operation: 47+2=49, Resulting Numbers: [4, 49]
Generated Node #0,2,2: 98:[4, 49] Operation: 47+2=49
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[47, 2], Operations: ['62-60=2', '4-2=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[2, 51], Operations: ['62-60=2', '47+4=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[4, 49], Operations: ['62-60=2', '47+2=49']
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,98 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,98 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,98 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: 98:[60, 4, 15], Operations: ['62-47=15']
Exploring Operation: 60/15=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 98:[4, 4] Operation: 60/15=4
Exploring Operation: 60/4=15, Resulting Numbers: [15, 15]
Generated Node #0,0,1: 98:[15, 15] Operation: 60/4=15
Exploring Operation: 60-15=45, Resulting Numbers: [4, 45]
Generated Node #0,0,2: 98:[4, 45] Operation: 60-15=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[15, 15], Operations: ['62-47=15', '60/4=15']
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,98 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,98 unequal: No Solution
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[4, 4], Operations: ['62-47=15', '60/15=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,98 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[4, 45], Operations: ['62-47=15', '60-15=45']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 4+45=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 4*45=180, Resulting Numbers: [180]
180,98 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: 98:[62, 4, 13], Operations: ['60-47=13']
Exploring Operation: 13-4=9, Resulting Numbers: [62, 9]
Generated Node #0,1,0: 98:[62, 9] Operation: 13-4=9
Exploring Operation: 62-13=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 98:[4, 49] Operation: 62-13=49
Exploring Operation: 62-4=58, Resulting Numbers: [13, 58]
Generated Node #0,1,2: 98:[13, 58] Operation: 62-4=58
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[4, 49], Operations: ['60-47=13', '62-13=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,98 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[13, 58], Operations: ['60-47=13', '62-4=58']
Exploring Operation: 13*58=754, Resulting Numbers: [754]
754,98 unequal: No Solution
Exploring Operation: 58-13=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 13+58=71, Resulting Numbers: [71]
71,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[62, 9], Operations: ['60-47=13', '13-4=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,98 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,98 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 |
[
80,
16,
52,
94
] | 82 | [
"80-16=64",
"52+94=146",
"146-64=82"
] | Current State: 82:[80, 16, 52, 94], Operations: []
Exploring Operation: 80-16=64, Resulting Numbers: [52, 94, 64]
Generated Node #2: [52, 94, 64] from Operation: 80-16=64
Current State: 82:[52, 94, 64], Operations: ['80-16=64']
Exploring Operation: 52+94=146, Resulting Numbers: [64, 146]
Generated Node #3: [64, 146] from Operation: 52+94=146
Current State: 82:[64, 146], Operations: ['80-16=64', '52+94=146']
Exploring Operation: 146-64=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[80, 16, 52, 94], Operations: []
Exploring Operation: 94-16=78, Resulting Numbers: [80, 52, 78]
Generated Node #0,0: 82:[80, 52, 78] Operation: 94-16=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[80, 52, 78], Operations: ['94-16=78']
Exploring Operation: 80-78=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 82:[52, 2] Operation: 80-78=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[52, 2], Operations: ['94-16=78', '80-78=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,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 | mult_heuristic |
[
19,
5,
2,
2
] | 59 | [
"5-2=3",
"19*3=57",
"2+57=59"
] | Current State: 59:[19, 5, 2, 2], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [19, 3]
Generated Node #2: [19, 3] from Operation: 5-2=3
Current State: 59:[19, 3], Operations: ['5-2=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,59 equal: Goal Reached
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[19, 5, 2, 2], Operations: []
Exploring Operation: 19*2=38, Resulting Numbers: [5, 2, 38]
Generated Node #0,0: 59:[5, 2, 38] Operation: 19*2=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[5, 2, 38], Operations: ['19*2=38']
Exploring Operation: 5*2=10, Resulting Numbers: [38, 10]
Generated Node #0,0,0: 59:[38, 10] Operation: 5*2=10
Moving to Node #0,0,0
Current State: 59:[38, 10], Operations: ['19*2=38', '5*2=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
94,
29,
98
] | 76 | [
"29-10=19",
"98-94=4",
"19*4=76"
] | Current State: 76:[10, 94, 29, 98], Operations: []
Exploring Operation: 29-10=19, Resulting Numbers: [94, 98, 19]
Generated Node #2: [94, 98, 19] from Operation: 29-10=19
Current State: 76:[94, 98, 19], Operations: ['29-10=19']
Exploring Operation: 98-94=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 98-94=4
Current State: 76:[19, 4], Operations: ['29-10=19', '98-94=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[10, 94, 29, 98], Operations: []
Exploring Operation: 98-29=69, Resulting Numbers: [10, 94, 69]
Generated Node #0,0: 76:[10, 94, 69] Operation: 98-29=69
Exploring Operation: 98-94=4, Resulting Numbers: [10, 29, 4]
Generated Node #0,1: 76:[10, 29, 4] Operation: 98-94=4
Moving to Node #0,1
Current State: 76:[10, 29, 4], Operations: ['98-94=4']
Exploring Operation: 29-10=19, Resulting Numbers: [4, 19]
Generated Node #0,1,0: 76:[4, 19] Operation: 29-10=19
Exploring Operation: 10+29=39, Resulting Numbers: [4, 39]
Generated Node #0,1,1: 76:[4, 39] Operation: 10+29=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[4, 19], Operations: ['98-94=4', '29-10=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[10, 94, 29, 98], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [10, 29, 4]
Generated Node #0,1: 76:[10, 29, 4] Operation: 98-94=4
Moving to Node #0,1
Current State: 76:[10, 29, 4], Operations: ['98-94=4']
Exploring Operation: 29-10=19, Resulting Numbers: [4, 19]
Generated Node #0,1,0: 76:[4, 19] Operation: 29-10=19
Moving to Node #0,1,0
Current State: 76:[4, 19], Operations: ['98-94=4', '29-10=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
20,
79,
31,
42
] | 81 | [
"20+42=62",
"62/31=2",
"79+2=81"
] | Current State: 81:[20, 79, 31, 42], Operations: []
Exploring Operation: 20+42=62, Resulting Numbers: [79, 31, 62]
Generated Node #2: [79, 31, 62] from Operation: 20+42=62
Current State: 81:[79, 31, 62], Operations: ['20+42=62']
Exploring Operation: 62/31=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 62/31=2
Current State: 81:[79, 2], Operations: ['20+42=62', '62/31=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[20, 79, 31, 42], Operations: []
Exploring Operation: 42-20=22, Resulting Numbers: [79, 31, 22]
Generated Node #0,0: 81:[79, 31, 22] Operation: 42-20=22
Exploring Operation: 42-31=11, Resulting Numbers: [20, 79, 11]
Generated Node #0,1: 81:[20, 79, 11] Operation: 42-31=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[79, 31, 22], Operations: ['42-20=22']
Exploring Operation: 31-22=9, Resulting Numbers: [79, 9]
Generated Node #0,0,0: 81:[79, 9] Operation: 31-22=9
Exploring Operation: 79+22=101, Resulting Numbers: [31, 101]
Generated Node #0,0,1: 81:[31, 101] Operation: 79+22=101
Moving to Node #0,0,0
Current State: 81:[79, 9], Operations: ['42-20=22', '31-22=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[31, 101], Operations: ['42-20=22', '79+22=101']
Exploring Operation: 101-31=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 31+101=132, Resulting Numbers: [132]
132,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[20, 79, 11], Operations: ['42-31=11']
Exploring Operation: 20-11=9, Resulting Numbers: [79, 9]
Generated Node #0,1,0: 81:[79, 9] Operation: 20-11=9
Exploring Operation: 20+11=31, Resulting Numbers: [79, 31]
Generated Node #0,1,1: 81:[79, 31] Operation: 20+11=31
Moving to Node #0,1,0
Current State: 81:[79, 9], Operations: ['42-31=11', '20-11=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,81 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[79, 31], Operations: ['42-31=11', '20+11=31']
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
34,
18,
45
] | 76 | [
"69+34=103",
"45-18=27",
"103-27=76"
] | Current State: 76:[69, 34, 18, 45], Operations: []
Exploring Operation: 69+34=103, Resulting Numbers: [18, 45, 103]
Generated Node #2: [18, 45, 103] from Operation: 69+34=103
Current State: 76:[18, 45, 103], Operations: ['69+34=103']
Exploring Operation: 45-18=27, Resulting Numbers: [103, 27]
Generated Node #3: [103, 27] from Operation: 45-18=27
Current State: 76:[103, 27], Operations: ['69+34=103', '45-18=27']
Exploring Operation: 103-27=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[69, 34, 18, 45], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [34, 18, 24]
Generated Node #0,0: 76:[34, 18, 24] Operation: 69-45=24
Moving to Node #0,0
Current State: 76:[34, 18, 24], Operations: ['69-45=24']
Exploring Operation: 24-18=6, Resulting Numbers: [34, 6]
Generated Node #0,0,0: 76:[34, 6] Operation: 24-18=6
Moving to Node #0,0,0
Current State: 76:[34, 6], Operations: ['69-45=24', '24-18=6']
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
72,
96,
52
] | 65 | [
"48+72=120",
"52*120=6240",
"6240/96=65"
] | Current State: 65:[48, 72, 96, 52], Operations: []
Exploring Operation: 48+72=120, Resulting Numbers: [96, 52, 120]
Generated Node #2: [96, 52, 120] from Operation: 48+72=120
Current State: 65:[96, 52, 120], Operations: ['48+72=120']
Exploring Operation: 52*120=6240, Resulting Numbers: [96, 6240]
Generated Node #3: [96, 6240] from Operation: 52*120=6240
Current State: 65:[96, 6240], Operations: ['48+72=120', '52*120=6240']
Exploring Operation: 6240/96=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[48, 72, 96, 52], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [72, 96, 4]
Generated Node #0,0: 65:[72, 96, 4] Operation: 52-48=4
Exploring Operation: 96-72=24, Resulting Numbers: [48, 52, 24]
Generated Node #0,1: 65:[48, 52, 24] Operation: 96-72=24
Exploring Operation: 96-52=44, Resulting Numbers: [48, 72, 44]
Generated Node #0,2: 65:[48, 72, 44] Operation: 96-52=44
Exploring Operation: 96/48=2, Resulting Numbers: [72, 52, 2]
Generated Node #0,3: 65:[72, 52, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [72, 52, 48]
Generated Node #0,4: 65:[72, 52, 48] Operation: 96-48=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[72, 52, 2], Operations: ['96/48=2']
Exploring Operation: 72-52=20, Resulting Numbers: [2, 20]
Generated Node #0,3,0: 65:[2, 20] Operation: 72-52=20
Exploring Operation: 52/2=26, Resulting Numbers: [72, 26]
Generated Node #0,3,1: 65:[72, 26] Operation: 52/2=26
Exploring Operation: 72+2=74, Resulting Numbers: [52, 74]
Generated Node #0,3,2: 65:[52, 74] Operation: 72+2=74
Exploring Operation: 52+2=54, Resulting Numbers: [72, 54]
Generated Node #0,3,3: 65:[72, 54] Operation: 52+2=54
Exploring Operation: 72-2=70, Resulting Numbers: [52, 70]
Generated Node #0,3,4: 65:[52, 70] Operation: 72-2=70
Moving to Node #0,3,0
Current State: 65:[2, 20], Operations: ['96/48=2', '72-52=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,65 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[52, 70], Operations: ['96/48=2', '72-2=70']
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,65 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[72, 54], Operations: ['96/48=2', '52+2=54']
Exploring Operation: 72*54=3888, Resulting Numbers: [3888]
3888,65 unequal: No Solution
Exploring Operation: 72+54=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[72, 26], Operations: ['96/48=2', '52/2=26']
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,65 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,65 unequal: No Solution
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[52, 74], Operations: ['96/48=2', '72+2=74']
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,65 unequal: No Solution
Exploring Operation: 52+74=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 52*74=3848, Resulting Numbers: [3848]
3848,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 65:[72, 52, 48], Operations: ['96-48=48']
Exploring Operation: 52+48=100, Resulting Numbers: [72, 100]
Generated Node #0,4,0: 65:[72, 100] Operation: 52+48=100
Exploring Operation: 52-48=4, Resulting Numbers: [72, 4]
Generated Node #0,4,1: 65:[72, 4] Operation: 52-48=4
Exploring Operation: 72-48=24, Resulting Numbers: [52, 24]
Generated Node #0,4,2: 65:[52, 24] Operation: 72-48=24
Exploring Operation: 72-52=20, Resulting Numbers: [48, 20]
Generated Node #0,4,3: 65:[48, 20] Operation: 72-52=20
Exploring Operation: 72+48=120, Resulting Numbers: [52, 120]
Generated Node #0,4,4: 65:[52, 120] Operation: 72+48=120
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 65:[72, 4], Operations: ['96-48=48', '52-48=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 65:[52, 24], Operations: ['96-48=48', '72-48=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 65:[48, 20], Operations: ['96-48=48', '72-52=20']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 48+20=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 48*20=960, Resulting Numbers: [960]
960,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 65:[72, 100], Operations: ['96-48=48', '52+48=100']
Exploring Operation: 72*100=7200, Resulting Numbers: [7200]
7200,65 unequal: No Solution
Exploring Operation: 100-72=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 72+100=172, Resulting Numbers: [172]
172,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 65:[52, 120], Operations: ['96-48=48', '72+48=120']
Exploring Operation: 52+120=172, Resulting Numbers: [172]
172,65 unequal: No Solution
Exploring Operation: 52*120=6240, Resulting Numbers: [6240]
6240,65 unequal: No Solution
Exploring Operation: 120-52=68, Resulting Numbers: [68]
68,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[72, 96, 4], Operations: ['52-48=4']
Exploring Operation: 96-4=92, Resulting Numbers: [72, 92]
Generated Node #0,0,0: 65:[72, 92] Operation: 96-4=92
Exploring Operation: 72-4=68, Resulting Numbers: [96, 68]
Generated Node #0,0,1: 65:[96, 68] Operation: 72-4=68
Exploring Operation: 96-72=24, Resulting Numbers: [4, 24]
Generated Node #0,0,2: 65:[4, 24] Operation: 96-72=24
Exploring Operation: 96/4=24, Resulting Numbers: [72, 24]
Generated Node #0,0,3: 65:[72, 24] Operation: 96/4=24
Exploring Operation: 72/4=18, Resulting Numbers: [96, 18]
Generated Node #0,0,4: 65:[96, 18] Operation: 72/4=18
Moving to Node #0,0,2
Current State: 65:[4, 24], Operations: ['52-48=4', '96-72=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[72, 24], Operations: ['52-48=4', '96/4=24']
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,65 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[72, 92], Operations: ['52-48=4', '96-4=92']
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,65 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[96, 68], Operations: ['52-48=4', '72-4=68']
Exploring Operation: 96*68=6528, Resulting Numbers: [6528]
6528,65 unequal: No Solution
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 96+68=164, Resulting Numbers: [164]
164,65 unequal: No Solution
Moving to Node #0,0,4
Current State: 65:[96, 18], Operations: ['52-48=4', '72/4=18']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 96+18=114, Resulting Numbers: [114]
114,65 unequal: No Solution
Exploring Operation: 96*18=1728, Resulting Numbers: [1728]
1728,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[48, 52, 24], Operations: ['96-72=24']
Exploring Operation: 52+24=76, Resulting Numbers: [48, 76]
Generated Node #0,1,0: 65:[48, 76] Operation: 52+24=76
Exploring Operation: 48-24=24, Resulting Numbers: [52, 24]
Generated Node #0,1,1: 65:[52, 24] Operation: 48-24=24
Exploring Operation: 52-48=4, Resulting Numbers: [24, 4]
Generated Node #0,1,2: 65:[24, 4] Operation: 52-48=4
Exploring Operation: 48/24=2, Resulting Numbers: [52, 2]
Generated Node #0,1,3: 65:[52, 2] Operation: 48/24=2
Exploring Operation: 48+24=72, Resulting Numbers: [52, 72]
Generated Node #0,1,4: 65:[52, 72] Operation: 48+24=72
Moving to Node #0,1,2
Current State: 65:[24, 4], Operations: ['96-72=24', '52-48=4']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,65 unequal: No Solution
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,65 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[52, 2], Operations: ['96-72=24', '48/24=2']
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,65 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,65 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,65 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[52, 72], Operations: ['96-72=24', '48+24=72']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 52+72=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 52*72=3744, Resulting Numbers: [3744]
3744,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[52, 24], Operations: ['96-72=24', '48-24=24']
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,65 unequal: No Solution
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[48, 76], Operations: ['96-72=24', '52+24=76']
Exploring Operation: 76-48=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 48+76=124, Resulting Numbers: [124]
124,65 unequal: No Solution
Exploring Operation: 48*76=3648, Resulting Numbers: [3648]
3648,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[48, 72, 44], Operations: ['96-52=44']
Exploring Operation: 72-48=24, Resulting Numbers: [44, 24]
Generated Node #0,2,0: 65:[44, 24] Operation: 72-48=24
Exploring Operation: 72-44=28, Resulting Numbers: [48, 28]
Generated Node #0,2,1: 65:[48, 28] Operation: 72-44=28
Exploring Operation: 48-44=4, Resulting Numbers: [72, 4]
Generated Node #0,2,2: 65:[72, 4] Operation: 48-44=4
Exploring Operation: 48+44=92, Resulting Numbers: [72, 92]
Generated Node #0,2,3: 65:[72, 92] Operation: 48+44=92
Exploring Operation: 72+44=116, Resulting Numbers: [48, 116]
Generated Node #0,2,4: 65:[48, 116] Operation: 72+44=116
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[72, 4], Operations: ['96-52=44', '48-44=4']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,65 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,65 unequal: No Solution
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,65 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[44, 24], Operations: ['96-52=44', '72-48=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,65 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[48, 28], Operations: ['96-52=44', '72-44=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,65 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 65:[72, 92], Operations: ['96-52=44', '48+44=92']
Exploring Operation: 72*92=6624, Resulting Numbers: [6624]
6624,65 unequal: No Solution
Exploring Operation: 92-72=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 72+92=164, Resulting Numbers: [164]
164,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 65:[48, 116], Operations: ['96-52=44', '72+44=116']
Exploring Operation: 48*116=5568, Resulting Numbers: [5568]
5568,65 unequal: No Solution
Exploring Operation: 48+116=164, Resulting Numbers: [164]
164,65 unequal: No Solution
Exploring Operation: 116-48=68, Resulting Numbers: [68]
68,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
8,
35,
8,
94
] | 94 | [
"8-8=0",
"35*0=0",
"94+0=94"
] | Current State: 94:[8, 35, 8, 94], Operations: []
Exploring Operation: 8-8=0, Resulting Numbers: [35, 94, 0]
Generated Node #2: [35, 94, 0] from Operation: 8-8=0
Current State: 94:[35, 94, 0], Operations: ['8-8=0']
Exploring Operation: 35*0=0, Resulting Numbers: [94, 0]
Generated Node #3: [94, 0] from Operation: 35*0=0
Current State: 94:[94, 0], Operations: ['8-8=0', '35*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[8, 35, 8, 94], Operations: []
Exploring Operation: 8/8=1, Resulting Numbers: [35, 94, 1]
Generated Node #0,0: 94:[35, 94, 1] Operation: 8/8=1
Exploring Operation: 35+8=43, Resulting Numbers: [8, 94, 43]
Generated Node #0,1: 94:[8, 94, 43] Operation: 35+8=43
Exploring Operation: 8+35=43, Resulting Numbers: [8, 94, 43]
Generated Node #0,2: 94:[8, 94, 43] Operation: 8+35=43
Exploring Operation: 8-8=0, Resulting Numbers: [35, 94, 0]
Generated Node #0,3: 94:[35, 94, 0] Operation: 8-8=0
Moving to Node #0,1
Current State: 94:[8, 94, 43], Operations: ['35+8=43']
Exploring Operation: 8+43=51, Resulting Numbers: [94, 51]
Generated Node #0,1,0: 94:[94, 51] Operation: 8+43=51
Exploring Operation: 94-43=51, Resulting Numbers: [8, 51]
Generated Node #0,1,1: 94:[8, 51] Operation: 94-43=51
Exploring Operation: 8+94=102, Resulting Numbers: [43, 102]
Generated Node #0,1,2: 94:[43, 102] Operation: 8+94=102
Exploring Operation: 94-8=86, Resulting Numbers: [43, 86]
Generated Node #0,1,3: 94:[43, 86] Operation: 94-8=86
Moving to Node #0,2
Current State: 94:[8, 94, 43], Operations: ['8+35=43']
Exploring Operation: 8+94=102, Resulting Numbers: [43, 102]
Generated Node #0,2,0: 94:[43, 102] Operation: 8+94=102
Exploring Operation: 8+43=51, Resulting Numbers: [94, 51]
Generated Node #0,2,1: 94:[94, 51] Operation: 8+43=51
Exploring Operation: 94-43=51, Resulting Numbers: [8, 51]
Generated Node #0,2,2: 94:[8, 51] Operation: 94-43=51
Exploring Operation: 94-8=86, Resulting Numbers: [43, 86]
Generated Node #0,2,3: 94:[43, 86] Operation: 94-8=86
Moving to Node #0,0
Current State: 94:[35, 94, 1], Operations: ['8/8=1']
Exploring Operation: 35+1=36, Resulting Numbers: [94, 36]
Generated Node #0,0,0: 94:[94, 36] Operation: 35+1=36
Exploring Operation: 94*1=94, Resulting Numbers: [35, 94]
Generated Node #0,0,1: 94:[35, 94] Operation: 94*1=94
Exploring Operation: 35/1=35, Resulting Numbers: [94, 35]
Generated Node #0,0,2: 94:[94, 35] Operation: 35/1=35
Exploring Operation: 35*1=35, Resulting Numbers: [94, 35]
Generated Node #0,0,3: 94:[94, 35] Operation: 35*1=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[94, 36], Operations: ['8/8=1', '35+1=36']
Exploring Operation: 94*36=3384, Resulting Numbers: [3384]
3384,94 unequal: No Solution
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 94+36=130, Resulting Numbers: [130]
130,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[35, 94], Operations: ['8/8=1', '94*1=94']
Exploring Operation: 35*94=3290, Resulting Numbers: [3290]
3290,94 unequal: No Solution
Exploring Operation: 35+94=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[94, 35], Operations: ['8/8=1', '35/1=35']
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,94 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[94, 35], Operations: ['8/8=1', '35*1=35']
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,94 unequal: No Solution
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,94 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,94 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: 94:[35, 94, 0], Operations: ['8-8=0']
Exploring Operation: 35*0=0, Resulting Numbers: [94, 0]
Generated Node #0,3,0: 94:[94, 0] Operation: 35*0=0
Exploring Operation: 35-0=35, Resulting Numbers: [94, 35]
Generated Node #0,3,1: 94:[94, 35] Operation: 35-0=35
Exploring Operation: 35+0=35, Resulting Numbers: [94, 35]
Generated Node #0,3,2: 94:[94, 35] Operation: 35+0=35
Exploring Operation: 94+0=94, Resulting Numbers: [35, 94]
Generated Node #0,3,3: 94:[35, 94] Operation: 94+0=94
Moving to Node #0,3,0
Current State: 94:[94, 0], Operations: ['8-8=0', '35*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[8, 35, 8, 94], Operations: []
Exploring Operation: 8-8=0, Resulting Numbers: [35, 94, 0]
Generated Node #0,3: 94:[35, 94, 0] Operation: 8-8=0
Moving to Node #0,3
Current State: 94:[35, 94, 0], Operations: ['8-8=0']
Exploring Operation: 35*0=0, Resulting Numbers: [94, 0]
Generated Node #0,3,0: 94:[94, 0] Operation: 35*0=0
Moving to Node #0,3,0
Current State: 94:[94, 0], Operations: ['8-8=0', '35*0=0']
Exploring Operation: 94+0=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.967882 | hs_4 | sum_heuristic |
[
54,
34,
30,
44
] | 54 | [
"54-34=20",
"30+44=74",
"74-20=54"
] | Current State: 54:[54, 34, 30, 44], Operations: []
Exploring Operation: 54-34=20, Resulting Numbers: [30, 44, 20]
Generated Node #2: [30, 44, 20] from Operation: 54-34=20
Current State: 54:[30, 44, 20], Operations: ['54-34=20']
Exploring Operation: 30+44=74, Resulting Numbers: [20, 74]
Generated Node #3: [20, 74] from Operation: 30+44=74
Current State: 54:[20, 74], Operations: ['54-34=20', '30+44=74']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[54, 34, 30, 44], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [54, 30, 10]
Generated Node #0,0: 54:[54, 30, 10] Operation: 44-34=10
Exploring Operation: 54-44=10, Resulting Numbers: [34, 30, 10]
Generated Node #0,1: 54:[34, 30, 10] Operation: 54-44=10
Exploring Operation: 34-30=4, Resulting Numbers: [54, 44, 4]
Generated Node #0,2: 54:[54, 44, 4] Operation: 34-30=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[54, 30, 10], Operations: ['44-34=10']
Exploring Operation: 30-10=20, Resulting Numbers: [54, 20]
Generated Node #0,0,0: 54:[54, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 54:[54, 3] Operation: 30/10=3
Exploring Operation: 54-30=24, Resulting Numbers: [10, 24]
Generated Node #0,0,2: 54:[10, 24] Operation: 54-30=24
Moving to Node #0,0,1
Current State: 54:[54, 3], Operations: ['44-34=10', '30/10=3']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[54, 20], Operations: ['44-34=10', '30-10=20']
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,54 unequal: No Solution
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,54 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[10, 24], Operations: ['44-34=10', '54-30=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[34, 30, 10], Operations: ['54-44=10']
Exploring Operation: 34-30=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 54:[10, 4] Operation: 34-30=4
Exploring Operation: 30/10=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 54:[34, 3] Operation: 30/10=3
Exploring Operation: 34-10=24, Resulting Numbers: [30, 24]
Generated Node #0,1,2: 54:[30, 24] Operation: 34-10=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[10, 4], Operations: ['54-44=10', '34-30=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,54 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[30, 24], Operations: ['54-44=10', '34-10=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[54, 34, 30, 44], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [34, 30, 10]
Generated Node #0,1: 54:[34, 30, 10] Operation: 54-44=10
Moving to Node #0,1
Current State: 54:[34, 30, 10], Operations: ['54-44=10']
Exploring Operation: 34-10=24, Resulting Numbers: [30, 24]
Generated Node #0,1,2: 54:[30, 24] Operation: 34-10=24
Moving to Node #0,1,2
Current State: 54:[30, 24], Operations: ['54-44=10', '34-10=24']
Exploring Operation: 30+24=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
84,
54,
90,
45
] | 75 | [
"84-54=30",
"90-45=45",
"30+45=75"
] | Current State: 75:[84, 54, 90, 45], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [90, 45, 30]
Generated Node #2: [90, 45, 30] from Operation: 84-54=30
Current State: 75:[90, 45, 30], Operations: ['84-54=30']
Exploring Operation: 90-45=45, Resulting Numbers: [30, 45]
Generated Node #3: [30, 45] from Operation: 90-45=45
Current State: 75:[30, 45], Operations: ['84-54=30', '90-45=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[84, 54, 90, 45], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [84, 90, 9]
Generated Node #0,0: 75:[84, 90, 9] Operation: 54-45=9
Moving to Node #0,0
Current State: 75:[84, 90, 9], Operations: ['54-45=9']
Exploring Operation: 90-84=6, Resulting Numbers: [9, 6]
Generated Node #0,0,0: 75:[9, 6] Operation: 90-84=6
Moving to Node #0,0,0
Current State: 75:[9, 6], Operations: ['54-45=9', '90-84=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
48,
61,
8,
15
] | 86 | [
"48+61=109",
"8+15=23",
"109-23=86"
] | Current State: 86:[48, 61, 8, 15], Operations: []
Exploring Operation: 48+61=109, Resulting Numbers: [8, 15, 109]
Generated Node #2: [8, 15, 109] from Operation: 48+61=109
Current State: 86:[8, 15, 109], Operations: ['48+61=109']
Exploring Operation: 8+15=23, Resulting Numbers: [109, 23]
Generated Node #3: [109, 23] from Operation: 8+15=23
Current State: 86:[109, 23], Operations: ['48+61=109', '8+15=23']
Exploring Operation: 109-23=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[48, 61, 8, 15], Operations: []
Exploring Operation: 61-8=53, Resulting Numbers: [48, 15, 53]
Generated Node #0,0: 86:[48, 15, 53] Operation: 61-8=53
Exploring Operation: 61+15=76, Resulting Numbers: [48, 8, 76]
Generated Node #0,1: 86:[48, 8, 76] Operation: 61+15=76
Exploring Operation: 61-15=46, Resulting Numbers: [48, 8, 46]
Generated Node #0,2: 86:[48, 8, 46] Operation: 61-15=46
Exploring Operation: 15-8=7, Resulting Numbers: [48, 61, 7]
Generated Node #0,3: 86:[48, 61, 7] Operation: 15-8=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[48, 8, 46], Operations: ['61-15=46']
Exploring Operation: 48-46=2, Resulting Numbers: [8, 2]
Generated Node #0,2,0: 86:[8, 2] Operation: 48-46=2
Exploring Operation: 46-8=38, Resulting Numbers: [48, 38]
Generated Node #0,2,1: 86:[48, 38] Operation: 46-8=38
Exploring Operation: 48-8=40, Resulting Numbers: [46, 40]
Generated Node #0,2,2: 86:[46, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [46, 6]
Generated Node #0,2,3: 86:[46, 6] Operation: 48/8=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[8, 2], Operations: ['61-15=46', '48-46=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,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,2,2
Current State: 86:[46, 40], Operations: ['61-15=46', '48-8=40']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,86 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[48, 61, 8, 15], Operations: []
Exploring Operation: 61-15=46, Resulting Numbers: [48, 8, 46]
Generated Node #0,2: 86:[48, 8, 46] Operation: 61-15=46
Moving to Node #0,2
Current State: 86:[48, 8, 46], Operations: ['61-15=46']
Exploring Operation: 48-8=40, Resulting Numbers: [46, 40]
Generated Node #0,2,2: 86:[46, 40] Operation: 48-8=40
Moving to Node #0,2,2
Current State: 86:[46, 40], Operations: ['61-15=46', '48-8=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
62,
93,
92,
31
] | 27 | [
"92-62=30",
"93/31=3",
"30-3=27"
] | Current State: 27:[62, 93, 92, 31], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [93, 31, 30]
Generated Node #2: [93, 31, 30] from Operation: 92-62=30
Current State: 27:[93, 31, 30], Operations: ['92-62=30']
Exploring Operation: 93/31=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 93/31=3
Current State: 27:[30, 3], Operations: ['92-62=30', '93/31=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[62, 93, 92, 31], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [93, 31, 30]
Generated Node #0,0: 27:[93, 31, 30] Operation: 92-62=30
Exploring Operation: 93/31=3, Resulting Numbers: [62, 92, 3]
Generated Node #0,1: 27:[62, 92, 3] Operation: 93/31=3
Exploring Operation: 93-92=1, Resulting Numbers: [62, 31, 1]
Generated Node #0,2: 27:[62, 31, 1] Operation: 93-92=1
Exploring Operation: 93-62=31, Resulting Numbers: [92, 31, 31]
Generated Node #0,3: 27:[92, 31, 31] Operation: 93-62=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[62, 31, 1], Operations: ['93-92=1']
Exploring Operation: 62-1=61, Resulting Numbers: [31, 61]
Generated Node #0,2,0: 27:[31, 61] Operation: 62-1=61
Exploring Operation: 62/31=2, Resulting Numbers: [1, 2]
Generated Node #0,2,1: 27:[1, 2] Operation: 62/31=2
Exploring Operation: 62-31=31, Resulting Numbers: [1, 31]
Generated Node #0,2,2: 27:[1, 31] Operation: 62-31=31
Exploring Operation: 31-1=30, Resulting Numbers: [62, 30]
Generated Node #0,2,3: 27:[62, 30] Operation: 31-1=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[1, 2], Operations: ['93-92=1', '62/31=2']
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,27 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No 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: 27:[1, 31], Operations: ['93-92=1', '62-31=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,27 unequal: No Solution
No 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: 27:[31, 61], Operations: ['93-92=1', '62-1=61']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 31+61=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 31*61=1891, Resulting Numbers: [1891]
1891,27 unequal: No Solution
No 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: 27:[62, 30], Operations: ['93-92=1', '31-1=30']
Exploring Operation: 62-30=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Exploring Operation: 62+30=92, Resulting Numbers: [92]
92,27 unequal: No Solution
Exploring Operation: 62*30=1860, Resulting Numbers: [1860]
1860,27 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: 27:[93, 31, 30], Operations: ['92-62=30']
Exploring Operation: 31-30=1, Resulting Numbers: [93, 1]
Generated Node #0,0,0: 27:[93, 1] Operation: 31-30=1
Exploring Operation: 93-31=62, Resulting Numbers: [30, 62]
Generated Node #0,0,1: 27:[30, 62] Operation: 93-31=62
Exploring Operation: 93/31=3, Resulting Numbers: [30, 3]
Generated Node #0,0,2: 27:[30, 3] Operation: 93/31=3
Exploring Operation: 93-30=63, Resulting Numbers: [31, 63]
Generated Node #0,0,3: 27:[31, 63] Operation: 93-30=63
Moving to Node #0,0,2
Current State: 27:[30, 3], Operations: ['92-62=30', '93/31=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[62, 93, 92, 31], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [93, 31, 30]
Generated Node #0,0: 27:[93, 31, 30] Operation: 92-62=30
Moving to Node #0,0
Current State: 27:[93, 31, 30], Operations: ['92-62=30']
Exploring Operation: 93/31=3, Resulting Numbers: [30, 3]
Generated Node #0,0,2: 27:[30, 3] Operation: 93/31=3
Moving to Node #0,0,2
Current State: 27:[30, 3], Operations: ['92-62=30', '93/31=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
14,
13,
42,
64
] | 48 | [
"42/14=3",
"64-13=51",
"51-3=48"
] | Current State: 48:[14, 13, 42, 64], Operations: []
Exploring Operation: 42/14=3, Resulting Numbers: [13, 64, 3]
Generated Node #2: [13, 64, 3] from Operation: 42/14=3
Current State: 48:[13, 64, 3], Operations: ['42/14=3']
Exploring Operation: 64-13=51, Resulting Numbers: [3, 51]
Generated Node #3: [3, 51] from Operation: 64-13=51
Current State: 48:[3, 51], Operations: ['42/14=3', '64-13=51']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[14, 13, 42, 64], Operations: []
Exploring Operation: 64-14=50, Resulting Numbers: [13, 42, 50]
Generated Node #0,0: 48:[13, 42, 50] Operation: 64-14=50
Exploring Operation: 64-13=51, Resulting Numbers: [14, 42, 51]
Generated Node #0,1: 48:[14, 42, 51] Operation: 64-13=51
Exploring Operation: 64-42=22, Resulting Numbers: [14, 13, 22]
Generated Node #0,2: 48:[14, 13, 22] Operation: 64-42=22
Exploring Operation: 42/14=3, Resulting Numbers: [13, 64, 3]
Generated Node #0,3: 48:[13, 64, 3] Operation: 42/14=3
Moving to Node #0,2
Current State: 48:[14, 13, 22], Operations: ['64-42=22']
Exploring Operation: 14-13=1, Resulting Numbers: [22, 1]
Generated Node #0,2,0: 48:[22, 1] Operation: 14-13=1
Exploring Operation: 22-14=8, Resulting Numbers: [13, 8]
Generated Node #0,2,1: 48:[13, 8] Operation: 22-14=8
Exploring Operation: 22-13=9, Resulting Numbers: [14, 9]
Generated Node #0,2,2: 48:[14, 9] Operation: 22-13=9
Exploring Operation: 14+13=27, Resulting Numbers: [22, 27]
Generated Node #0,2,3: 48:[22, 27] Operation: 14+13=27
Moving to Node #0,0
Current State: 48:[13, 42, 50], Operations: ['64-14=50']
Exploring Operation: 50-13=37, Resulting Numbers: [42, 37]
Generated Node #0,0,0: 48:[42, 37] Operation: 50-13=37
Exploring Operation: 13+42=55, Resulting Numbers: [50, 55]
Generated Node #0,0,1: 48:[50, 55] Operation: 13+42=55
Exploring Operation: 42-13=29, Resulting Numbers: [50, 29]
Generated Node #0,0,2: 48:[50, 29] Operation: 42-13=29
Exploring Operation: 50-42=8, Resulting Numbers: [13, 8]
Generated Node #0,0,3: 48:[13, 8] Operation: 50-42=8
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[13, 8], Operations: ['64-14=50', '50-42=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[50, 29], Operations: ['64-14=50', '42-13=29']
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,48 unequal: No Solution
Exploring Operation: 50*29=1450, Resulting Numbers: [1450]
1450,48 unequal: No Solution
Exploring Operation: 50-29=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[50, 55], Operations: ['64-14=50', '13+42=55']
Exploring Operation: 50*55=2750, Resulting Numbers: [2750]
2750,48 unequal: No Solution
Exploring Operation: 50+55=105, Resulting Numbers: [105]
105,48 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[42, 37], Operations: ['64-14=50', '50-13=37']
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,48 unequal: No Solution
Exploring Operation: 42*37=1554, Resulting Numbers: [1554]
1554,48 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 48:[14, 42, 51], Operations: ['64-13=51']
Exploring Operation: 14+42=56, Resulting Numbers: [51, 56]
Generated Node #0,1,0: 48:[51, 56] Operation: 14+42=56
Exploring Operation: 42/14=3, Resulting Numbers: [51, 3]
Generated Node #0,1,1: 48:[51, 3] Operation: 42/14=3
Exploring Operation: 51-42=9, Resulting Numbers: [14, 9]
Generated Node #0,1,2: 48:[14, 9] Operation: 51-42=9
Exploring Operation: 42-14=28, Resulting Numbers: [51, 28]
Generated Node #0,1,3: 48:[51, 28] Operation: 42-14=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[51, 3], Operations: ['64-13=51', '42/14=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,48 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[14, 13, 42, 64], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [14, 42, 51]
Generated Node #0,1: 48:[14, 42, 51] Operation: 64-13=51
Moving to Node #0,1
Current State: 48:[14, 42, 51], Operations: ['64-13=51']
Exploring Operation: 42/14=3, Resulting Numbers: [51, 3]
Generated Node #0,1,1: 48:[51, 3] Operation: 42/14=3
Moving to Node #0,1,1
Current State: 48:[51, 3], Operations: ['64-13=51', '42/14=3']
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
98,
3,
68,
9
] | 19 | [
"98-68=30",
"30/3=10",
"9+10=19"
] | Current State: 19:[98, 3, 68, 9], Operations: []
Exploring Operation: 98-68=30, Resulting Numbers: [3, 9, 30]
Generated Node #2: [3, 9, 30] from Operation: 98-68=30
Current State: 19:[3, 9, 30], Operations: ['98-68=30']
Exploring Operation: 30/3=10, Resulting Numbers: [9, 10]
Generated Node #3: [9, 10] from Operation: 30/3=10
Current State: 19:[9, 10], Operations: ['98-68=30', '30/3=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[98, 3, 68, 9], Operations: []
Exploring Operation: 98-3=95, Resulting Numbers: [68, 9, 95]
Generated Node #0,0: 19:[68, 9, 95] Operation: 98-3=95
Exploring Operation: 98-68=30, Resulting Numbers: [3, 9, 30]
Generated Node #0,1: 19:[3, 9, 30] Operation: 98-68=30
Moving to Node #0,1
Current State: 19:[3, 9, 30], Operations: ['98-68=30']
Exploring Operation: 30-3=27, Resulting Numbers: [9, 27]
Generated Node #0,1,0: 19:[9, 27] Operation: 30-3=27
Exploring Operation: 3+9=12, Resulting Numbers: [30, 12]
Generated Node #0,1,1: 19:[30, 12] Operation: 3+9=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[9, 27], Operations: ['98-68=30', '30-3=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,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:[30, 12], Operations: ['98-68=30', '3+9=12']
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 19:[68, 9, 95], Operations: ['98-3=95']
Exploring Operation: 68-9=59, Resulting Numbers: [95, 59]
Generated Node #0,0,0: 19:[95, 59] Operation: 68-9=59
Exploring Operation: 95-68=27, Resulting Numbers: [9, 27]
Generated Node #0,0,1: 19:[9, 27] Operation: 95-68=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[9, 27], Operations: ['98-3=95', '95-68=27']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[95, 59], Operations: ['98-3=95', '68-9=59']
Exploring Operation: 95-59=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 95+59=154, Resulting Numbers: [154]
154,19 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 |
[
40,
52,
56,
6
] | 65 | [
"56-6=50",
"52*50=2600",
"2600/40=65"
] | Current State: 65:[40, 52, 56, 6], Operations: []
Exploring Operation: 56-6=50, Resulting Numbers: [40, 52, 50]
Generated Node #2: [40, 52, 50] from Operation: 56-6=50
Current State: 65:[40, 52, 50], Operations: ['56-6=50']
Exploring Operation: 52*50=2600, Resulting Numbers: [40, 2600]
Generated Node #3: [40, 2600] from Operation: 52*50=2600
Current State: 65:[40, 2600], Operations: ['56-6=50', '52*50=2600']
Exploring Operation: 2600/40=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[40, 52, 56, 6], Operations: []
Exploring Operation: 52-40=12, Resulting Numbers: [56, 6, 12]
Generated Node #0,0: 65:[56, 6, 12] Operation: 52-40=12
Exploring Operation: 56-40=16, Resulting Numbers: [52, 6, 16]
Generated Node #0,1: 65:[52, 6, 16] Operation: 56-40=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[56, 6, 12], Operations: ['52-40=12']
Exploring Operation: 56+12=68, Resulting Numbers: [6, 68]
Generated Node #0,0,0: 65:[6, 68] Operation: 56+12=68
Exploring Operation: 56+6=62, Resulting Numbers: [12, 62]
Generated Node #0,0,1: 65:[12, 62] Operation: 56+6=62
Moving to Node #0,0,0
Current State: 65:[6, 68], Operations: ['52-40=12', '56+12=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[12, 62], Operations: ['52-40=12', '56+6=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[52, 6, 16], Operations: ['56-40=16']
Exploring Operation: 52+16=68, Resulting Numbers: [6, 68]
Generated Node #0,1,0: 65:[6, 68] Operation: 52+16=68
Exploring Operation: 52+6=58, Resulting Numbers: [16, 58]
Generated Node #0,1,1: 65:[16, 58] Operation: 52+6=58
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[6, 68], Operations: ['56-40=16', '52+16=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,65 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[16, 58], Operations: ['56-40=16', '52+6=58']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
36,
55,
15
] | 37 | [
"36/12=3",
"55-15=40",
"40-3=37"
] | Current State: 37:[12, 36, 55, 15], Operations: []
Exploring Operation: 36/12=3, Resulting Numbers: [55, 15, 3]
Generated Node #2: [55, 15, 3] from Operation: 36/12=3
Current State: 37:[55, 15, 3], Operations: ['36/12=3']
Exploring Operation: 55-15=40, Resulting Numbers: [3, 40]
Generated Node #3: [3, 40] from Operation: 55-15=40
Current State: 37:[3, 40], Operations: ['36/12=3', '55-15=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[12, 36, 55, 15], Operations: []
Exploring Operation: 55-12=43, Resulting Numbers: [36, 15, 43]
Generated Node #0,0: 37:[36, 15, 43] Operation: 55-12=43
Moving to Node #0,0
Current State: 37:[36, 15, 43], Operations: ['55-12=43']
Exploring Operation: 43-15=28, Resulting Numbers: [36, 28]
Generated Node #0,0,0: 37:[36, 28] Operation: 43-15=28
Moving to Node #0,0,0
Current State: 37:[36, 28], Operations: ['55-12=43', '43-15=28']
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,37 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
18,
99,
22
] | 31 | [
"18*99=1782",
"1782/22=81",
"81-50=31"
] | Current State: 31:[50, 18, 99, 22], Operations: []
Exploring Operation: 18*99=1782, Resulting Numbers: [50, 22, 1782]
Generated Node #2: [50, 22, 1782] from Operation: 18*99=1782
Current State: 31:[50, 22, 1782], Operations: ['18*99=1782']
Exploring Operation: 1782/22=81, Resulting Numbers: [50, 81]
Generated Node #3: [50, 81] from Operation: 1782/22=81
Current State: 31:[50, 81], Operations: ['18*99=1782', '1782/22=81']
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[50, 18, 99, 22], Operations: []
Exploring Operation: 99-50=49, Resulting Numbers: [18, 22, 49]
Generated Node #0,0: 31:[18, 22, 49] Operation: 99-50=49
Exploring Operation: 50-18=32, Resulting Numbers: [99, 22, 32]
Generated Node #0,1: 31:[99, 22, 32] Operation: 50-18=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[18, 22, 49], Operations: ['99-50=49']
Exploring Operation: 49-18=31, Resulting Numbers: [22, 31]
Generated Node #0,0,0: 31:[22, 31] Operation: 49-18=31
Exploring Operation: 49-22=27, Resulting Numbers: [18, 27]
Generated Node #0,0,1: 31:[18, 27] Operation: 49-22=27
Moving to Node #0,0,0
Current State: 31:[22, 31], Operations: ['99-50=49', '49-18=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[18, 27], Operations: ['99-50=49', '49-22=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,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,1
Current State: 31:[99, 22, 32], Operations: ['50-18=32']
Exploring Operation: 99-32=67, Resulting Numbers: [22, 67]
Generated Node #0,1,0: 31:[22, 67] Operation: 99-32=67
Exploring Operation: 99-22=77, Resulting Numbers: [32, 77]
Generated Node #0,1,1: 31:[32, 77] Operation: 99-22=77
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 31:[22, 67], Operations: ['50-18=32', '99-32=67']
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 22+67=89, Resulting Numbers: [89]
89,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:[32, 77], Operations: ['50-18=32', '99-22=77']
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 32+77=109, Resulting Numbers: [109]
109,31 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
20,
12,
4
] | 56 | [
"16*4=64",
"20-12=8",
"64-8=56"
] | Current State: 56:[16, 20, 12, 4], Operations: []
Exploring Operation: 16*4=64, Resulting Numbers: [20, 12, 64]
Generated Node #2: [20, 12, 64] from Operation: 16*4=64
Current State: 56:[20, 12, 64], Operations: ['16*4=64']
Exploring Operation: 20-12=8, Resulting Numbers: [64, 8]
Generated Node #3: [64, 8] from Operation: 20-12=8
Current State: 56:[64, 8], Operations: ['16*4=64', '20-12=8']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[16, 20, 12, 4], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [12, 4, 4]
Generated Node #0,0: 56:[12, 4, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[12, 4, 4], Operations: ['20-16=4']
Exploring Operation: 12-4=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 56:[4, 8] Operation: 12-4=8
Moving to Node #0,0,0
Current State: 56:[4, 8], Operations: ['20-16=4', '12-4=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,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 | sum_heuristic |
[
42,
12,
13,
99
] | 58 | [
"42+12=54",
"13+99=112",
"112-54=58"
] | Current State: 58:[42, 12, 13, 99], Operations: []
Exploring Operation: 42+12=54, Resulting Numbers: [13, 99, 54]
Generated Node #2: [13, 99, 54] from Operation: 42+12=54
Current State: 58:[13, 99, 54], Operations: ['42+12=54']
Exploring Operation: 13+99=112, Resulting Numbers: [54, 112]
Generated Node #3: [54, 112] from Operation: 13+99=112
Current State: 58:[54, 112], Operations: ['42+12=54', '13+99=112']
Exploring Operation: 112-54=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[42, 12, 13, 99], Operations: []
Exploring Operation: 42-13=29, Resulting Numbers: [12, 99, 29]
Generated Node #0,0: 58:[12, 99, 29] Operation: 42-13=29
Exploring Operation: 99-13=86, Resulting Numbers: [42, 12, 86]
Generated Node #0,1: 58:[42, 12, 86] Operation: 99-13=86
Exploring Operation: 99-42=57, Resulting Numbers: [12, 13, 57]
Generated Node #0,2: 58:[12, 13, 57] Operation: 99-42=57
Moving to Node #0,2
Current State: 58:[12, 13, 57], Operations: ['99-42=57']
Exploring Operation: 12+57=69, Resulting Numbers: [13, 69]
Generated Node #0,2,0: 58:[13, 69] Operation: 12+57=69
Exploring Operation: 12+13=25, Resulting Numbers: [57, 25]
Generated Node #0,2,1: 58:[57, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 58:[57, 1] Operation: 13-12=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[57, 1], Operations: ['99-42=57', '13-12=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[42, 12, 13, 99], Operations: []
Exploring Operation: 99-42=57, Resulting Numbers: [12, 13, 57]
Generated Node #0,2: 58:[12, 13, 57] Operation: 99-42=57
Moving to Node #0,2
Current State: 58:[12, 13, 57], Operations: ['99-42=57']
Exploring Operation: 13-12=1, Resulting Numbers: [57, 1]
Generated Node #0,2,2: 58:[57, 1] Operation: 13-12=1
Moving to Node #0,2,2
Current State: 58:[57, 1], Operations: ['99-42=57', '13-12=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
46,
99,
80,
71
] | 98 | [
"99-46=53",
"80+71=151",
"151-53=98"
] | Current State: 98:[46, 99, 80, 71], Operations: []
Exploring Operation: 99-46=53, Resulting Numbers: [80, 71, 53]
Generated Node #2: [80, 71, 53] from Operation: 99-46=53
Current State: 98:[80, 71, 53], Operations: ['99-46=53']
Exploring Operation: 80+71=151, Resulting Numbers: [53, 151]
Generated Node #3: [53, 151] from Operation: 80+71=151
Current State: 98:[53, 151], Operations: ['99-46=53', '80+71=151']
Exploring Operation: 151-53=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[46, 99, 80, 71], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [99, 80, 25]
Generated Node #0,0: 98:[99, 80, 25] Operation: 71-46=25
Exploring Operation: 80-71=9, Resulting Numbers: [46, 99, 9]
Generated Node #0,1: 98:[46, 99, 9] Operation: 80-71=9
Exploring Operation: 99-80=19, Resulting Numbers: [46, 71, 19]
Generated Node #0,2: 98:[46, 71, 19] Operation: 99-80=19
Exploring Operation: 99-71=28, Resulting Numbers: [46, 80, 28]
Generated Node #0,3: 98:[46, 80, 28] Operation: 99-71=28
Moving to Node #0,1
Current State: 98:[46, 99, 9], Operations: ['80-71=9']
Exploring Operation: 46+9=55, Resulting Numbers: [99, 55]
Generated Node #0,1,0: 98:[99, 55] Operation: 46+9=55
Exploring Operation: 99/9=11, Resulting Numbers: [46, 11]
Generated Node #0,1,1: 98:[46, 11] Operation: 99/9=11
Exploring Operation: 99-46=53, Resulting Numbers: [9, 53]
Generated Node #0,1,2: 98:[9, 53] Operation: 99-46=53
Exploring Operation: 99-9=90, Resulting Numbers: [46, 90]
Generated Node #0,1,3: 98:[46, 90] Operation: 99-9=90
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[46, 11], Operations: ['80-71=9', '99/9=11']
Exploring Operation: 46*11=506, Resulting Numbers: [506]
506,98 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 46+11=57, Resulting Numbers: [57]
57,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[9, 53], Operations: ['80-71=9', '99-46=53']
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,98 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,98 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[99, 55], Operations: ['80-71=9', '46+9=55']
Exploring Operation: 99*55=5445, Resulting Numbers: [5445]
5445,98 unequal: No Solution
Exploring Operation: 99-55=44, Resulting Numbers: [44]
44,98 unequal: No Solution
Exploring Operation: 99+55=154, Resulting Numbers: [154]
154,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[46, 90], Operations: ['80-71=9', '99-9=90']
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,98 unequal: No Solution
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,98 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 98:[46, 71, 19], Operations: ['99-80=19']
Exploring Operation: 71+19=90, Resulting Numbers: [46, 90]
Generated Node #0,2,0: 98:[46, 90] Operation: 71+19=90
Exploring Operation: 46+71=117, Resulting Numbers: [19, 117]
Generated Node #0,2,1: 98:[19, 117] Operation: 46+71=117
Exploring Operation: 71-46=25, Resulting Numbers: [19, 25]
Generated Node #0,2,2: 98:[19, 25] Operation: 71-46=25
Exploring Operation: 71-19=52, Resulting Numbers: [46, 52]
Generated Node #0,2,3: 98:[46, 52] Operation: 71-19=52
Moving to Node #0,0
Current State: 98:[99, 80, 25], Operations: ['71-46=25']
Exploring Operation: 80-25=55, Resulting Numbers: [99, 55]
Generated Node #0,0,0: 98:[99, 55] Operation: 80-25=55
Exploring Operation: 99-80=19, Resulting Numbers: [25, 19]
Generated Node #0,0,1: 98:[25, 19] Operation: 99-80=19
Exploring Operation: 99-25=74, Resulting Numbers: [80, 74]
Generated Node #0,0,2: 98:[80, 74] Operation: 99-25=74
Exploring Operation: 80+25=105, Resulting Numbers: [99, 105]
Generated Node #0,0,3: 98:[99, 105] Operation: 80+25=105
Moving to Node #0,3
Current State: 98:[46, 80, 28], Operations: ['99-71=28']
Exploring Operation: 80+28=108, Resulting Numbers: [46, 108]
Generated Node #0,3,0: 98:[46, 108] Operation: 80+28=108
Exploring Operation: 46-28=18, Resulting Numbers: [80, 18]
Generated Node #0,3,1: 98:[80, 18] Operation: 46-28=18
Exploring Operation: 80-46=34, Resulting Numbers: [28, 34]
Generated Node #0,3,2: 98:[28, 34] Operation: 80-46=34
Exploring Operation: 80-28=52, Resulting Numbers: [46, 52]
Generated Node #0,3,3: 98:[46, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[46, 52], Operations: ['99-71=28', '80-28=52']
Exploring Operation: 46*52=2392, Resulting Numbers: [2392]
2392,98 unequal: No Solution
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[46, 99, 80, 71], Operations: []
Exploring Operation: 99-71=28, Resulting Numbers: [46, 80, 28]
Generated Node #0,3: 98:[46, 80, 28] Operation: 99-71=28
Moving to Node #0,3
Current State: 98:[46, 80, 28], Operations: ['99-71=28']
Exploring Operation: 80-28=52, Resulting Numbers: [46, 52]
Generated Node #0,3,3: 98:[46, 52] Operation: 80-28=52
Moving to Node #0,3,3
Current State: 98:[46, 52], Operations: ['99-71=28', '80-28=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.