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 |
|---|---|---|---|---|---|---|---|---|
[
5,
28,
34,
3
] | 89 | [
"5+34=39",
"3*39=117",
"117-28=89"
] | Current State: 89:[5, 28, 34, 3], Operations: []
Exploring Operation: 5+34=39, Resulting Numbers: [28, 3, 39]
Generated Node #2: [28, 3, 39] from Operation: 5+34=39
Current State: 89:[28, 3, 39], Operations: ['5+34=39']
Exploring Operation: 3*39=117, Resulting Numbers: [28, 117]
Generated Node #3: [28, 117] from Operation: 3*39=117
Current State: 89:[28, 117], Operations: ['5+34=39', '3*39=117']
Exploring Operation: 117-28=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[5, 28, 34, 3], Operations: []
Exploring Operation: 28*3=84, Resulting Numbers: [5, 34, 84]
Generated Node #0,0: 89:[5, 34, 84] Operation: 28*3=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[5, 34, 84], Operations: ['28*3=84']
Exploring Operation: 5+34=39, Resulting Numbers: [84, 39]
Generated Node #0,0,0: 89:[84, 39] Operation: 5+34=39
Moving to Node #0,0,0
Current State: 89:[84, 39], Operations: ['28*3=84', '5+34=39']
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
78,
22,
90,
33
] | 24 | [
"78-33=45",
"90/45=2",
"22+2=24"
] | Current State: 24:[78, 22, 90, 33], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [22, 90, 45]
Generated Node #2: [22, 90, 45] from Operation: 78-33=45
Current State: 24:[22, 90, 45], Operations: ['78-33=45']
Exploring Operation: 90/45=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 90/45=2
Current State: 24:[22, 2], Operations: ['78-33=45', '90/45=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[78, 22, 90, 33], Operations: []
Exploring Operation: 78-22=56, Resulting Numbers: [90, 33, 56]
Generated Node #0,0: 24:[90, 33, 56] Operation: 78-22=56
Exploring Operation: 78-33=45, Resulting Numbers: [22, 90, 45]
Generated Node #0,1: 24:[22, 90, 45] Operation: 78-33=45
Exploring Operation: 90-78=12, Resulting Numbers: [22, 33, 12]
Generated Node #0,2: 24:[22, 33, 12] Operation: 90-78=12
Exploring Operation: 90-33=57, Resulting Numbers: [78, 22, 57]
Generated Node #0,3: 24:[78, 22, 57] Operation: 90-33=57
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[22, 33, 12], Operations: ['90-78=12']
Exploring Operation: 33-22=11, Resulting Numbers: [12, 11]
Generated Node #0,2,0: 24:[12, 11] Operation: 33-22=11
Exploring Operation: 22+12=34, Resulting Numbers: [33, 34]
Generated Node #0,2,1: 24:[33, 34] Operation: 22+12=34
Exploring Operation: 22-12=10, Resulting Numbers: [33, 10]
Generated Node #0,2,2: 24:[33, 10] Operation: 22-12=10
Exploring Operation: 33-12=21, Resulting Numbers: [22, 21]
Generated Node #0,2,3: 24:[22, 21] Operation: 33-12=21
Moving to Node #0,2,0
Current State: 24:[12, 11], Operations: ['90-78=12', '33-22=11']
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,24 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[22, 21], Operations: ['90-78=12', '33-12=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[33, 10], Operations: ['90-78=12', '22-12=10']
Exploring Operation: 33*10=330, Resulting Numbers: [330]
330,24 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,24 unequal: No Solution
Exploring Operation: 33+10=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[33, 34], Operations: ['90-78=12', '22+12=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,24 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[22, 90, 45], Operations: ['78-33=45']
Exploring Operation: 90/45=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 24:[22, 2] Operation: 90/45=2
Exploring Operation: 45-22=23, Resulting Numbers: [90, 23]
Generated Node #0,1,1: 24:[90, 23] Operation: 45-22=23
Exploring Operation: 90-22=68, Resulting Numbers: [45, 68]
Generated Node #0,1,2: 24:[45, 68] Operation: 90-22=68
Exploring Operation: 90-45=45, Resulting Numbers: [22, 45]
Generated Node #0,1,3: 24:[22, 45] Operation: 90-45=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[22, 2], Operations: ['78-33=45', '90/45=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[78, 22, 90, 33], Operations: []
Exploring Operation: 78-33=45, Resulting Numbers: [22, 90, 45]
Generated Node #0,1: 24:[22, 90, 45] Operation: 78-33=45
Moving to Node #0,1
Current State: 24:[22, 90, 45], Operations: ['78-33=45']
Exploring Operation: 90/45=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 24:[22, 2] Operation: 90/45=2
Moving to Node #0,1,0
Current State: 24:[22, 2], Operations: ['78-33=45', '90/45=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
72,
4,
59,
82
] | 19 | [
"82-72=10",
"4*10=40",
"59-40=19"
] | Current State: 19:[72, 4, 59, 82], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [4, 59, 10]
Generated Node #2: [4, 59, 10] from Operation: 82-72=10
Current State: 19:[4, 59, 10], Operations: ['82-72=10']
Exploring Operation: 4*10=40, Resulting Numbers: [59, 40]
Generated Node #3: [59, 40] from Operation: 4*10=40
Current State: 19:[59, 40], Operations: ['82-72=10', '4*10=40']
Exploring Operation: 59-40=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[72, 4, 59, 82], Operations: []
Exploring Operation: 82-72=10, Resulting Numbers: [4, 59, 10]
Generated Node #0,0: 19:[4, 59, 10] Operation: 82-72=10
Exploring Operation: 82-59=23, Resulting Numbers: [72, 4, 23]
Generated Node #0,1: 19:[72, 4, 23] Operation: 82-59=23
Exploring Operation: 72/4=18, Resulting Numbers: [59, 82, 18]
Generated Node #0,2: 19:[59, 82, 18] Operation: 72/4=18
Exploring Operation: 72-59=13, Resulting Numbers: [4, 82, 13]
Generated Node #0,3: 19:[4, 82, 13] Operation: 72-59=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[4, 59, 10], Operations: ['82-72=10']
Exploring Operation: 4+10=14, Resulting Numbers: [59, 14]
Generated Node #0,0,0: 19:[59, 14] Operation: 4+10=14
Exploring Operation: 59-4=55, Resulting Numbers: [10, 55]
Generated Node #0,0,1: 19:[10, 55] Operation: 59-4=55
Exploring Operation: 4+59=63, Resulting Numbers: [10, 63]
Generated Node #0,0,2: 19:[10, 63] Operation: 4+59=63
Exploring Operation: 59-10=49, Resulting Numbers: [4, 49]
Generated Node #0,0,3: 19:[4, 49] Operation: 59-10=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[59, 14], Operations: ['82-72=10', '4+10=14']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,19 unequal: No Solution
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,19 unequal: No Solution
No 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: 19:[10, 55], Operations: ['82-72=10', '59-4=55']
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,19 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,19 unequal: No Solution
No 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: 19:[4, 49], Operations: ['82-72=10', '59-10=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,19 unequal: No Solution
No 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: 19:[10, 63], Operations: ['82-72=10', '4+59=63']
Exploring Operation: 10+63=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 10*63=630, Resulting Numbers: [630]
630,19 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: 19:[72, 4, 23], Operations: ['82-59=23']
Exploring Operation: 72/4=18, Resulting Numbers: [23, 18]
Generated Node #0,1,0: 19:[23, 18] Operation: 72/4=18
Exploring Operation: 72-23=49, Resulting Numbers: [4, 49]
Generated Node #0,1,1: 19:[4, 49] Operation: 72-23=49
Exploring Operation: 72-4=68, Resulting Numbers: [23, 68]
Generated Node #0,1,2: 19:[23, 68] Operation: 72-4=68
Exploring Operation: 23-4=19, Resulting Numbers: [72, 19]
Generated Node #0,1,3: 19:[72, 19] Operation: 23-4=19
Moving to Node #0,1,0
Current State: 19:[23, 18], Operations: ['82-59=23', '72/4=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,19 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[4, 49], Operations: ['82-59=23', '72-23=49']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,19 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Moving to Node #0,1,3
Current State: 19:[72, 19], Operations: ['82-59=23', '23-4=19']
Exploring Operation: 72+19=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 72*19=1368, Resulting Numbers: [1368]
1368,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[23, 68], Operations: ['82-59=23', '72-4=68']
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 23*68=1564, Resulting Numbers: [1564]
1564,19 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[4, 82, 13], Operations: ['72-59=13']
Exploring Operation: 4+13=17, Resulting Numbers: [82, 17]
Generated Node #0,3,0: 19:[82, 17] Operation: 4+13=17
Exploring Operation: 82-4=78, Resulting Numbers: [13, 78]
Generated Node #0,3,1: 19:[13, 78] Operation: 82-4=78
Exploring Operation: 4+82=86, Resulting Numbers: [13, 86]
Generated Node #0,3,2: 19:[13, 86] Operation: 4+82=86
Exploring Operation: 82-13=69, Resulting Numbers: [4, 69]
Generated Node #0,3,3: 19:[4, 69] Operation: 82-13=69
Moving to Node #0,3,0
Current State: 19:[82, 17], Operations: ['72-59=13', '4+13=17']
Exploring Operation: 82*17=1394, Resulting Numbers: [1394]
1394,19 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[4, 69], Operations: ['72-59=13', '82-13=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 4+69=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 4*69=276, Resulting Numbers: [276]
276,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[13, 78], Operations: ['72-59=13', '82-4=78']
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 13+78=91, Resulting Numbers: [91]
91,19 unequal: No Solution
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,19 unequal: No Solution
Exploring Operation: 13*78=1014, Resulting Numbers: [1014]
1014,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[13, 86], Operations: ['72-59=13', '4+82=86']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,19 unequal: No Solution
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Exploring Operation: 13*86=1118, Resulting Numbers: [1118]
1118,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[59, 82, 18], Operations: ['72/4=18']
Exploring Operation: 59+18=77, Resulting Numbers: [82, 77]
Generated Node #0,2,0: 19:[82, 77] Operation: 59+18=77
Exploring Operation: 82-59=23, Resulting Numbers: [18, 23]
Generated Node #0,2,1: 19:[18, 23] Operation: 82-59=23
Exploring Operation: 82-18=64, Resulting Numbers: [59, 64]
Generated Node #0,2,2: 19:[59, 64] Operation: 82-18=64
Exploring Operation: 59-18=41, Resulting Numbers: [82, 41]
Generated Node #0,2,3: 19:[82, 41] Operation: 59-18=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 19:[18, 23], Operations: ['72/4=18', '82-59=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,19 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,19 unequal: No Solution
No 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: 19:[59, 64], Operations: ['72/4=18', '82-18=64']
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 59+64=123, Resulting Numbers: [123]
123,19 unequal: No Solution
Exploring Operation: 59*64=3776, Resulting Numbers: [3776]
3776,19 unequal: No Solution
No 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: 19:[82, 41], Operations: ['72/4=18', '59-18=41']
Exploring Operation: 82*41=3362, Resulting Numbers: [3362]
3362,19 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,19 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,19 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No 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: 19:[82, 77], Operations: ['72/4=18', '59+18=77']
Exploring Operation: 82*77=6314, Resulting Numbers: [6314]
6314,19 unequal: No Solution
Exploring Operation: 82+77=159, Resulting Numbers: [159]
159,19 unequal: No Solution
Exploring Operation: 82-77=5, Resulting Numbers: [5]
5,19 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 |
[
58,
36,
48,
8
] | 16 | [
"58-36=22",
"48/8=6",
"22-6=16"
] | Current State: 16:[58, 36, 48, 8], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [48, 8, 22]
Generated Node #2: [48, 8, 22] from Operation: 58-36=22
Current State: 16:[48, 8, 22], Operations: ['58-36=22']
Exploring Operation: 48/8=6, Resulting Numbers: [22, 6]
Generated Node #3: [22, 6] from Operation: 48/8=6
Current State: 16:[22, 6], Operations: ['58-36=22', '48/8=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[58, 36, 48, 8], Operations: []
Exploring Operation: 58-48=10, Resulting Numbers: [36, 8, 10]
Generated Node #0,0: 16:[36, 8, 10] Operation: 58-48=10
Exploring Operation: 48-36=12, Resulting Numbers: [58, 8, 12]
Generated Node #0,1: 16:[58, 8, 12] Operation: 48-36=12
Exploring Operation: 58-36=22, Resulting Numbers: [48, 8, 22]
Generated Node #0,2: 16:[48, 8, 22] Operation: 58-36=22
Exploring Operation: 48/8=6, Resulting Numbers: [58, 36, 6]
Generated Node #0,3: 16:[58, 36, 6] Operation: 48/8=6
Exploring Operation: 58-8=50, Resulting Numbers: [36, 48, 50]
Generated Node #0,4: 16:[36, 48, 50] Operation: 58-8=50
Moving to Node #0,0
Current State: 16:[36, 8, 10], Operations: ['58-48=10']
Exploring Operation: 8+10=18, Resulting Numbers: [36, 18]
Generated Node #0,0,0: 16:[36, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [36, 2]
Generated Node #0,0,1: 16:[36, 2] Operation: 10-8=2
Exploring Operation: 36+8=44, Resulting Numbers: [10, 44]
Generated Node #0,0,2: 16:[10, 44] Operation: 36+8=44
Exploring Operation: 36-10=26, Resulting Numbers: [8, 26]
Generated Node #0,0,3: 16:[8, 26] Operation: 36-10=26
Exploring Operation: 36-8=28, Resulting Numbers: [10, 28]
Generated Node #0,0,4: 16:[10, 28] Operation: 36-8=28
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 16:[8, 26], Operations: ['58-48=10', '36-10=26']
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,16 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 16:[10, 28], Operations: ['58-48=10', '36-8=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 16:[36, 2], Operations: ['58-48=10', '10-8=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,16 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[36, 18], Operations: ['58-48=10', '8+10=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,16 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 16:[10, 44], Operations: ['58-48=10', '36+8=44']
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,16 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,16 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: 16:[48, 8, 22], Operations: ['58-36=22']
Exploring Operation: 22-8=14, Resulting Numbers: [48, 14]
Generated Node #0,2,0: 16:[48, 14] Operation: 22-8=14
Exploring Operation: 48-22=26, Resulting Numbers: [8, 26]
Generated Node #0,2,1: 16:[8, 26] Operation: 48-22=26
Exploring Operation: 48+8=56, Resulting Numbers: [22, 56]
Generated Node #0,2,2: 16:[22, 56] Operation: 48+8=56
Exploring Operation: 48-8=40, Resulting Numbers: [22, 40]
Generated Node #0,2,3: 16:[22, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [22, 6]
Generated Node #0,2,4: 16:[22, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 16:[22, 6], Operations: ['58-36=22', '48/8=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,16 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[58, 36, 48, 8], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [48, 8, 22]
Generated Node #0,2: 16:[48, 8, 22] Operation: 58-36=22
Moving to Node #0,2
Current State: 16:[48, 8, 22], Operations: ['58-36=22']
Exploring Operation: 48/8=6, Resulting Numbers: [22, 6]
Generated Node #0,2,4: 16:[22, 6] Operation: 48/8=6
Moving to Node #0,2,4
Current State: 16:[22, 6], Operations: ['58-36=22', '48/8=6']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
76,
42,
19,
48
] | 54 | [
"76/19=4",
"48/4=12",
"42+12=54"
] | Current State: 54:[76, 42, 19, 48], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [42, 48, 4]
Generated Node #2: [42, 48, 4] from Operation: 76/19=4
Current State: 54:[42, 48, 4], Operations: ['76/19=4']
Exploring Operation: 48/4=12, Resulting Numbers: [42, 12]
Generated Node #3: [42, 12] from Operation: 48/4=12
Current State: 54:[42, 12], Operations: ['76/19=4', '48/4=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[76, 42, 19, 48], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [76, 19, 6]
Generated Node #0,0: 54:[76, 19, 6] Operation: 48-42=6
Exploring Operation: 76/19=4, Resulting Numbers: [42, 48, 4]
Generated Node #0,1: 54:[42, 48, 4] Operation: 76/19=4
Exploring Operation: 76-19=57, Resulting Numbers: [42, 48, 57]
Generated Node #0,2: 54:[42, 48, 57] Operation: 76-19=57
Exploring Operation: 76-42=34, Resulting Numbers: [19, 48, 34]
Generated Node #0,3: 54:[19, 48, 34] Operation: 76-42=34
Exploring Operation: 76-48=28, Resulting Numbers: [42, 19, 28]
Generated Node #0,4: 54:[42, 19, 28] Operation: 76-48=28
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[19, 48, 34], Operations: ['76-42=34']
Exploring Operation: 48-19=29, Resulting Numbers: [34, 29]
Generated Node #0,3,0: 54:[34, 29] Operation: 48-19=29
Exploring Operation: 19+34=53, Resulting Numbers: [48, 53]
Generated Node #0,3,1: 54:[48, 53] Operation: 19+34=53
Exploring Operation: 34-19=15, Resulting Numbers: [48, 15]
Generated Node #0,3,2: 54:[48, 15] Operation: 34-19=15
Exploring Operation: 19+48=67, Resulting Numbers: [34, 67]
Generated Node #0,3,3: 54:[34, 67] Operation: 19+48=67
Exploring Operation: 48-34=14, Resulting Numbers: [19, 14]
Generated Node #0,3,4: 54:[19, 14] Operation: 48-34=14
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 54:[19, 14], Operations: ['76-42=34', '48-34=14']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,54 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[48, 53], Operations: ['76-42=34', '19+34=53']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,54 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[34, 29], Operations: ['76-42=34', '48-19=29']
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 34*29=986, Resulting Numbers: [986]
986,54 unequal: No Solution
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[48, 15], Operations: ['76-42=34', '34-19=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,54 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[34, 67], Operations: ['76-42=34', '19+48=67']
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,54 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 54:[42, 19, 28], Operations: ['76-48=28']
Exploring Operation: 42-28=14, Resulting Numbers: [19, 14]
Generated Node #0,4,0: 54:[19, 14] Operation: 42-28=14
Exploring Operation: 28-19=9, Resulting Numbers: [42, 9]
Generated Node #0,4,1: 54:[42, 9] Operation: 28-19=9
Exploring Operation: 42-19=23, Resulting Numbers: [28, 23]
Generated Node #0,4,2: 54:[28, 23] Operation: 42-19=23
Exploring Operation: 42+19=61, Resulting Numbers: [28, 61]
Generated Node #0,4,3: 54:[28, 61] Operation: 42+19=61
Exploring Operation: 42+28=70, Resulting Numbers: [19, 70]
Generated Node #0,4,4: 54:[19, 70] Operation: 42+28=70
Moving to Node #0,4,0
Current State: 54:[19, 14], Operations: ['76-48=28', '42-28=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,54 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Moving to Node #0,4,2
Current State: 54:[28, 23], Operations: ['76-48=28', '42-19=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,54 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[28, 61], Operations: ['76-48=28', '42+19=61']
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[42, 9], Operations: ['76-48=28', '28-19=9']
Exploring Operation: 42*9=378, Resulting Numbers: [378]
378,54 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 42+9=51, Resulting Numbers: [51]
51,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[19, 70], Operations: ['76-48=28', '42+28=70']
Exploring Operation: 19*70=1330, Resulting Numbers: [1330]
1330,54 unequal: No Solution
Exploring Operation: 19+70=89, Resulting Numbers: [89]
89,54 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,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:[42, 48, 4], Operations: ['76/19=4']
Exploring Operation: 48-42=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 54:[4, 6] Operation: 48-42=6
Exploring Operation: 42-4=38, Resulting Numbers: [48, 38]
Generated Node #0,1,1: 54:[48, 38] Operation: 42-4=38
Exploring Operation: 48/4=12, Resulting Numbers: [42, 12]
Generated Node #0,1,2: 54:[42, 12] Operation: 48/4=12
Exploring Operation: 42+4=46, Resulting Numbers: [48, 46]
Generated Node #0,1,3: 54:[48, 46] Operation: 42+4=46
Exploring Operation: 48+4=52, Resulting Numbers: [42, 52]
Generated Node #0,1,4: 54:[42, 52] Operation: 48+4=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[4, 6], Operations: ['76/19=4', '48-42=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,54 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[48, 46], Operations: ['76/19=4', '42+4=46']
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,54 unequal: No Solution
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,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,4
Current State: 54:[42, 52], Operations: ['76/19=4', '48+4=52']
Exploring Operation: 42*52=2184, Resulting Numbers: [2184]
2184,54 unequal: No Solution
Exploring Operation: 42+52=94, Resulting Numbers: [94]
94,54 unequal: No Solution
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,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:[42, 12], Operations: ['76/19=4', '48/4=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[76, 42, 19, 48], Operations: []
Exploring Operation: 76/19=4, Resulting Numbers: [42, 48, 4]
Generated Node #0,1: 54:[42, 48, 4] Operation: 76/19=4
Moving to Node #0,1
Current State: 54:[42, 48, 4], Operations: ['76/19=4']
Exploring Operation: 48/4=12, Resulting Numbers: [42, 12]
Generated Node #0,1,2: 54:[42, 12] Operation: 48/4=12
Moving to Node #0,1,2
Current State: 54:[42, 12], Operations: ['76/19=4', '48/4=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.944444 | hs_5 | sum_heuristic |
[
12,
2,
93,
29
] | 38 | [
"12+93=105",
"105-29=76",
"76/2=38"
] | Current State: 38:[12, 2, 93, 29], Operations: []
Exploring Operation: 12+93=105, Resulting Numbers: [2, 29, 105]
Generated Node #2: [2, 29, 105] from Operation: 12+93=105
Current State: 38:[2, 29, 105], Operations: ['12+93=105']
Exploring Operation: 105-29=76, Resulting Numbers: [2, 76]
Generated Node #3: [2, 76] from Operation: 105-29=76
Current State: 38:[2, 76], Operations: ['12+93=105', '105-29=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[12, 2, 93, 29], Operations: []
Exploring Operation: 93-29=64, Resulting Numbers: [12, 2, 64]
Generated Node #0,0: 38:[12, 2, 64] Operation: 93-29=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[12, 2, 64], Operations: ['93-29=64']
Exploring Operation: 64/2=32, Resulting Numbers: [12, 32]
Generated Node #0,0,0: 38:[12, 32] Operation: 64/2=32
Moving to Node #0,0,0
Current State: 38:[12, 32], Operations: ['93-29=64', '64/2=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,38 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,
28,
73,
86
] | 46 | [
"61-28=33",
"86-73=13",
"33+13=46"
] | Current State: 46:[61, 28, 73, 86], Operations: []
Exploring Operation: 61-28=33, Resulting Numbers: [73, 86, 33]
Generated Node #2: [73, 86, 33] from Operation: 61-28=33
Current State: 46:[73, 86, 33], Operations: ['61-28=33']
Exploring Operation: 86-73=13, Resulting Numbers: [33, 13]
Generated Node #3: [33, 13] from Operation: 86-73=13
Current State: 46:[33, 13], Operations: ['61-28=33', '86-73=13']
Exploring Operation: 33+13=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[61, 28, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [61, 28, 13]
Generated Node #0,0: 46:[61, 28, 13] Operation: 86-73=13
Moving to Node #0,0
Current State: 46:[61, 28, 13], Operations: ['86-73=13']
Exploring Operation: 61-13=48, Resulting Numbers: [28, 48]
Generated Node #0,0,0: 46:[28, 48] Operation: 61-13=48
Moving to Node #0,0,0
Current State: 46:[28, 48], Operations: ['86-73=13', '61-13=48']
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,46 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
59,
75,
17
] | 23 | [
"6*75=450",
"450-59=391",
"391/17=23"
] | Current State: 23:[6, 59, 75, 17], Operations: []
Exploring Operation: 6*75=450, Resulting Numbers: [59, 17, 450]
Generated Node #2: [59, 17, 450] from Operation: 6*75=450
Current State: 23:[59, 17, 450], Operations: ['6*75=450']
Exploring Operation: 450-59=391, Resulting Numbers: [17, 391]
Generated Node #3: [17, 391] from Operation: 450-59=391
Current State: 23:[17, 391], Operations: ['6*75=450', '450-59=391']
Exploring Operation: 391/17=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[6, 59, 75, 17], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [6, 17, 16]
Generated Node #0,0: 23:[6, 17, 16] Operation: 75-59=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[6, 17, 16], Operations: ['75-59=16']
Exploring Operation: 6+17=23, Resulting Numbers: [16, 23]
Generated Node #0,0,0: 23:[16, 23] Operation: 6+17=23
Moving to Node #0,0,0
Current State: 23:[16, 23], Operations: ['75-59=16', '6+17=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,23 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 |
[
56,
99,
2,
69
] | 73 | [
"56+69=125",
"99*2=198",
"198-125=73"
] | Current State: 73:[56, 99, 2, 69], Operations: []
Exploring Operation: 56+69=125, Resulting Numbers: [99, 2, 125]
Generated Node #2: [99, 2, 125] from Operation: 56+69=125
Current State: 73:[99, 2, 125], Operations: ['56+69=125']
Exploring Operation: 99*2=198, Resulting Numbers: [125, 198]
Generated Node #3: [125, 198] from Operation: 99*2=198
Current State: 73:[125, 198], Operations: ['56+69=125', '99*2=198']
Exploring Operation: 198-125=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[56, 99, 2, 69], Operations: []
Exploring Operation: 56+2=58, Resulting Numbers: [99, 69, 58]
Generated Node #0,0: 73:[99, 69, 58] Operation: 56+2=58
Exploring Operation: 99+2=101, Resulting Numbers: [56, 69, 101]
Generated Node #0,1: 73:[56, 69, 101] Operation: 99+2=101
Exploring Operation: 99-2=97, Resulting Numbers: [56, 69, 97]
Generated Node #0,2: 73:[56, 69, 97] Operation: 99-2=97
Exploring Operation: 2+69=71, Resulting Numbers: [56, 99, 71]
Generated Node #0,3: 73:[56, 99, 71] Operation: 2+69=71
Exploring Operation: 56-2=54, Resulting Numbers: [99, 69, 54]
Generated Node #0,4: 73:[99, 69, 54] Operation: 56-2=54
Moving to Node #0,0
Current State: 73:[99, 69, 58], Operations: ['56+2=58']
Exploring Operation: 99+58=157, Resulting Numbers: [69, 157]
Generated Node #0,0,0: 73:[69, 157] Operation: 99+58=157
Exploring Operation: 99-69=30, Resulting Numbers: [58, 30]
Generated Node #0,0,1: 73:[58, 30] Operation: 99-69=30
Exploring Operation: 99-58=41, Resulting Numbers: [69, 41]
Generated Node #0,0,2: 73:[69, 41] Operation: 99-58=41
Exploring Operation: 69+58=127, Resulting Numbers: [99, 127]
Generated Node #0,0,3: 73:[99, 127] Operation: 69+58=127
Exploring Operation: 69-58=11, Resulting Numbers: [99, 11]
Generated Node #0,0,4: 73:[99, 11] Operation: 69-58=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[69, 41], Operations: ['56+2=58', '99-58=41']
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,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,1
Current State: 73:[58, 30], Operations: ['56+2=58', '99-69=30']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,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,3
Current State: 73:[99, 127], Operations: ['56+2=58', '69+58=127']
Exploring Operation: 127-99=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 99+127=226, Resulting Numbers: [226]
226,73 unequal: No Solution
Exploring Operation: 99*127=12573, Resulting Numbers: [12573]
12573,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:[69, 157], Operations: ['56+2=58', '99+58=157']
Exploring Operation: 157-69=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 69*157=10833, Resulting Numbers: [10833]
10833,73 unequal: No Solution
Exploring Operation: 69+157=226, Resulting Numbers: [226]
226,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,4
Current State: 73:[99, 11], Operations: ['56+2=58', '69-58=11']
Exploring Operation: 99+11=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Exploring Operation: 99/11=9, Resulting Numbers: [9]
9,73 unequal: No Solution
Exploring Operation: 99-11=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 99*11=1089, Resulting Numbers: [1089]
1089,73 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: 73:[56, 99, 71], Operations: ['2+69=71']
Exploring Operation: 56+71=127, Resulting Numbers: [99, 127]
Generated Node #0,3,0: 73:[99, 127] Operation: 56+71=127
Exploring Operation: 71-56=15, Resulting Numbers: [99, 15]
Generated Node #0,3,1: 73:[99, 15] Operation: 71-56=15
Exploring Operation: 56+99=155, Resulting Numbers: [71, 155]
Generated Node #0,3,2: 73:[71, 155] Operation: 56+99=155
Exploring Operation: 99-56=43, Resulting Numbers: [71, 43]
Generated Node #0,3,3: 73:[71, 43] Operation: 99-56=43
Exploring Operation: 99-71=28, Resulting Numbers: [56, 28]
Generated Node #0,3,4: 73:[56, 28] Operation: 99-71=28
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[71, 43], Operations: ['2+69=71', '99-56=43']
Exploring Operation: 71-43=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 71+43=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 71*43=3053, Resulting Numbers: [3053]
3053,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,3,4
Current State: 73:[56, 28], Operations: ['2+69=71', '99-71=28']
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,73 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,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,3,0
Current State: 73:[99, 127], Operations: ['2+69=71', '56+71=127']
Exploring Operation: 127-99=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 99+127=226, Resulting Numbers: [226]
226,73 unequal: No Solution
Exploring Operation: 99*127=12573, Resulting Numbers: [12573]
12573,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,3,1
Current State: 73:[99, 15], Operations: ['2+69=71', '71-56=15']
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,73 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,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,3,2
Current State: 73:[71, 155], Operations: ['2+69=71', '56+99=155']
Exploring Operation: 71+155=226, Resulting Numbers: [226]
226,73 unequal: No Solution
Exploring Operation: 155-71=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 71*155=11005, Resulting Numbers: [11005]
11005,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:[56, 69, 97], Operations: ['99-2=97']
Exploring Operation: 56+97=153, Resulting Numbers: [69, 153]
Generated Node #0,2,0: 73:[69, 153] Operation: 56+97=153
Exploring Operation: 56+69=125, Resulting Numbers: [97, 125]
Generated Node #0,2,1: 73:[97, 125] Operation: 56+69=125
Exploring Operation: 97-69=28, Resulting Numbers: [56, 28]
Generated Node #0,2,2: 73:[56, 28] Operation: 97-69=28
Exploring Operation: 97-56=41, Resulting Numbers: [69, 41]
Generated Node #0,2,3: 73:[69, 41] Operation: 97-56=41
Exploring Operation: 69-56=13, Resulting Numbers: [97, 13]
Generated Node #0,2,4: 73:[97, 13] Operation: 69-56=13
Moving to Node #0,1
Current State: 73:[56, 69, 101], Operations: ['99+2=101']
Exploring Operation: 101-69=32, Resulting Numbers: [56, 32]
Generated Node #0,1,0: 73:[56, 32] Operation: 101-69=32
Exploring Operation: 56+101=157, Resulting Numbers: [69, 157]
Generated Node #0,1,1: 73:[69, 157] Operation: 56+101=157
Exploring Operation: 69-56=13, Resulting Numbers: [101, 13]
Generated Node #0,1,2: 73:[101, 13] Operation: 69-56=13
Exploring Operation: 101-56=45, Resulting Numbers: [69, 45]
Generated Node #0,1,3: 73:[69, 45] Operation: 101-56=45
Exploring Operation: 56+69=125, Resulting Numbers: [101, 125]
Generated Node #0,1,4: 73:[101, 125] Operation: 56+69=125
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[69, 45], Operations: ['99+2=101', '101-56=45']
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,73 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,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:[56, 32], Operations: ['99+2=101', '101-69=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,73 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,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,4
Current State: 73:[101, 125], Operations: ['99+2=101', '56+69=125']
Exploring Operation: 101+125=226, Resulting Numbers: [226]
226,73 unequal: No Solution
Exploring Operation: 125-101=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 101*125=12625, Resulting Numbers: [12625]
12625,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,1
Current State: 73:[69, 157], Operations: ['99+2=101', '56+101=157']
Exploring Operation: 69*157=10833, Resulting Numbers: [10833]
10833,73 unequal: No Solution
Exploring Operation: 157-69=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 69+157=226, Resulting Numbers: [226]
226,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:[101, 13], Operations: ['99+2=101', '69-56=13']
Exploring Operation: 101*13=1313, Resulting Numbers: [1313]
1313,73 unequal: No Solution
Exploring Operation: 101-13=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 101+13=114, Resulting Numbers: [114]
114,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 73:[99, 69, 54], Operations: ['56-2=54']
Exploring Operation: 69-54=15, Resulting Numbers: [99, 15]
Generated Node #0,4,0: 73:[99, 15] Operation: 69-54=15
Exploring Operation: 99-69=30, Resulting Numbers: [54, 30]
Generated Node #0,4,1: 73:[54, 30] Operation: 99-69=30
Exploring Operation: 99+54=153, Resulting Numbers: [69, 153]
Generated Node #0,4,2: 73:[69, 153] Operation: 99+54=153
Exploring Operation: 99-54=45, Resulting Numbers: [69, 45]
Generated Node #0,4,3: 73:[69, 45] Operation: 99-54=45
Exploring Operation: 69+54=123, Resulting Numbers: [99, 123]
Generated Node #0,4,4: 73:[99, 123] Operation: 69+54=123
Moving to Node #0,4,3
Current State: 73:[69, 45], Operations: ['56-2=54', '99-54=45']
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[69, 41], Operations: ['99-2=97', '97-56=41']
Exploring Operation: 69*41=2829, Resulting Numbers: [2829]
2829,73 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 69+41=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Moving to Node #0,4,1
Current State: 73:[54, 30], Operations: ['56-2=54', '99-69=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,73 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[56, 28], Operations: ['99-2=97', '97-69=28']
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,73 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[97, 125], Operations: ['99-2=97', '56+69=125']
Exploring Operation: 97*125=12125, Resulting Numbers: [12125]
12125,73 unequal: No Solution
Exploring Operation: 97+125=222, Resulting Numbers: [222]
222,73 unequal: No Solution
Exploring Operation: 125-97=28, Resulting Numbers: [28]
28,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[99, 123], Operations: ['56-2=54', '69+54=123']
Exploring Operation: 123-99=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 99*123=12177, Resulting Numbers: [12177]
12177,73 unequal: No Solution
Exploring Operation: 99+123=222, Resulting Numbers: [222]
222,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[99, 15], Operations: ['56-2=54', '69-54=15']
Exploring Operation: 99+15=114, Resulting Numbers: [114]
114,73 unequal: No Solution
Exploring Operation: 99-15=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 99*15=1485, Resulting Numbers: [1485]
1485,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[69, 153], Operations: ['56-2=54', '99+54=153']
Exploring Operation: 69*153=10557, Resulting Numbers: [10557]
10557,73 unequal: No Solution
Exploring Operation: 69+153=222, Resulting Numbers: [222]
222,73 unequal: No Solution
Exploring Operation: 153-69=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[97, 13], Operations: ['99-2=97', '69-56=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 97*13=1261, Resulting Numbers: [1261]
1261,73 unequal: No Solution
Exploring Operation: 97+13=110, Resulting Numbers: [110]
110,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[69, 153], Operations: ['99-2=97', '56+97=153']
Exploring Operation: 153-69=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Exploring Operation: 69+153=222, Resulting Numbers: [222]
222,73 unequal: No Solution
Exploring Operation: 69*153=10557, Resulting Numbers: [10557]
10557,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
56,
13,
96,
15
] | 80 | [
"96-56=40",
"15-13=2",
"40*2=80"
] | Current State: 80:[56, 13, 96, 15], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [13, 15, 40]
Generated Node #2: [13, 15, 40] from Operation: 96-56=40
Current State: 80:[13, 15, 40], Operations: ['96-56=40']
Exploring Operation: 15-13=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 15-13=2
Current State: 80:[40, 2], Operations: ['96-56=40', '15-13=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[56, 13, 96, 15], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [13, 15, 40]
Generated Node #0,0: 80:[13, 15, 40] Operation: 96-56=40
Moving to Node #0,0
Current State: 80:[13, 15, 40], Operations: ['96-56=40']
Exploring Operation: 15-13=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 80:[40, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[40, 2], Operations: ['96-56=40', '15-13=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[56, 13, 96, 15], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [13, 15, 40]
Generated Node #0,0: 80:[13, 15, 40] Operation: 96-56=40
Moving to Node #0,0
Current State: 80:[13, 15, 40], Operations: ['96-56=40']
Exploring Operation: 15-13=2, Resulting Numbers: [40, 2]
Generated Node #0,0,0: 80:[40, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 80:[40, 2], Operations: ['96-56=40', '15-13=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
80,
41,
92,
86
] | 45 | [
"80-41=39",
"92-86=6",
"39+6=45"
] | Current State: 45:[80, 41, 92, 86], Operations: []
Exploring Operation: 80-41=39, Resulting Numbers: [92, 86, 39]
Generated Node #2: [92, 86, 39] from Operation: 80-41=39
Current State: 45:[92, 86, 39], Operations: ['80-41=39']
Exploring Operation: 92-86=6, Resulting Numbers: [39, 6]
Generated Node #3: [39, 6] from Operation: 92-86=6
Current State: 45:[39, 6], Operations: ['80-41=39', '92-86=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[80, 41, 92, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [80, 41, 6]
Generated Node #0,0: 45:[80, 41, 6] Operation: 92-86=6
Exploring Operation: 92-80=12, Resulting Numbers: [41, 86, 12]
Generated Node #0,1: 45:[41, 86, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[80, 41, 6], Operations: ['92-86=6']
Exploring Operation: 80-41=39, Resulting Numbers: [6, 39]
Generated Node #0,0,0: 45:[6, 39] Operation: 80-41=39
Exploring Operation: 80-6=74, Resulting Numbers: [41, 74]
Generated Node #0,0,1: 45:[41, 74] Operation: 80-6=74
Moving to Node #0,0,0
Current State: 45:[6, 39], Operations: ['92-86=6', '80-41=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[80, 41, 92, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [80, 41, 6]
Generated Node #0,0: 45:[80, 41, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 45:[80, 41, 6], Operations: ['92-86=6']
Exploring Operation: 80-41=39, Resulting Numbers: [6, 39]
Generated Node #0,0,0: 45:[6, 39] Operation: 80-41=39
Moving to Node #0,0,0
Current State: 45:[6, 39], Operations: ['92-86=6', '80-41=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
54,
32,
64,
2
] | 75 | [
"54+32=86",
"64+86=150",
"150/2=75"
] | Current State: 75:[54, 32, 64, 2], Operations: []
Exploring Operation: 54+32=86, Resulting Numbers: [64, 2, 86]
Generated Node #2: [64, 2, 86] from Operation: 54+32=86
Current State: 75:[64, 2, 86], Operations: ['54+32=86']
Exploring Operation: 64+86=150, Resulting Numbers: [2, 150]
Generated Node #3: [2, 150] from Operation: 64+86=150
Current State: 75:[2, 150], Operations: ['54+32=86', '64+86=150']
Exploring Operation: 150/2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[54, 32, 64, 2], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [64, 2, 22]
Generated Node #0,0: 75:[64, 2, 22] Operation: 54-32=22
Exploring Operation: 64-54=10, Resulting Numbers: [32, 2, 10]
Generated Node #0,1: 75:[32, 2, 10] Operation: 64-54=10
Exploring Operation: 54/2=27, Resulting Numbers: [32, 64, 27]
Generated Node #0,2: 75:[32, 64, 27] Operation: 54/2=27
Exploring Operation: 54+32=86, Resulting Numbers: [64, 2, 86]
Generated Node #0,3: 75:[64, 2, 86] Operation: 54+32=86
Exploring Operation: 64/32=2, Resulting Numbers: [54, 2, 2]
Generated Node #0,4: 75:[54, 2, 2] Operation: 64/32=2
Moving to Node #0,1
Current State: 75:[32, 2, 10], Operations: ['64-54=10']
Exploring Operation: 2+10=12, Resulting Numbers: [32, 12]
Generated Node #0,1,0: 75:[32, 12] Operation: 2+10=12
Exploring Operation: 32-2=30, Resulting Numbers: [10, 30]
Generated Node #0,1,1: 75:[10, 30] Operation: 32-2=30
Exploring Operation: 32-10=22, Resulting Numbers: [2, 22]
Generated Node #0,1,2: 75:[2, 22] Operation: 32-10=22
Exploring Operation: 10/2=5, Resulting Numbers: [32, 5]
Generated Node #0,1,3: 75:[32, 5] Operation: 10/2=5
Exploring Operation: 32/2=16, Resulting Numbers: [10, 16]
Generated Node #0,1,4: 75:[10, 16] Operation: 32/2=16
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[2, 22], Operations: ['64-54=10', '32-10=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 75:[10, 16], Operations: ['64-54=10', '32/2=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[32, 5], Operations: ['64-54=10', '10/2=5']
Exploring Operation: 32*5=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[32, 12], Operations: ['64-54=10', '2+10=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,75 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[10, 30], Operations: ['64-54=10', '32-2=30']
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,75 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,75 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: 75:[64, 2, 22], Operations: ['54-32=22']
Exploring Operation: 64+2=66, Resulting Numbers: [22, 66]
Generated Node #0,0,0: 75:[22, 66] Operation: 64+2=66
Exploring Operation: 64+22=86, Resulting Numbers: [2, 86]
Generated Node #0,0,1: 75:[2, 86] Operation: 64+22=86
Exploring Operation: 22/2=11, Resulting Numbers: [64, 11]
Generated Node #0,0,2: 75:[64, 11] Operation: 22/2=11
Exploring Operation: 64/2=32, Resulting Numbers: [22, 32]
Generated Node #0,0,3: 75:[22, 32] Operation: 64/2=32
Exploring Operation: 2+22=24, Resulting Numbers: [64, 24]
Generated Node #0,0,4: 75:[64, 24] Operation: 2+22=24
Moving to Node #0,2
Current State: 75:[32, 64, 27], Operations: ['54/2=27']
Exploring Operation: 32+64=96, Resulting Numbers: [27, 96]
Generated Node #0,2,0: 75:[27, 96] Operation: 32+64=96
Exploring Operation: 64-32=32, Resulting Numbers: [27, 32]
Generated Node #0,2,1: 75:[27, 32] Operation: 64-32=32
Exploring Operation: 64/32=2, Resulting Numbers: [27, 2]
Generated Node #0,2,2: 75:[27, 2] Operation: 64/32=2
Exploring Operation: 32-27=5, Resulting Numbers: [64, 5]
Generated Node #0,2,3: 75:[64, 5] Operation: 32-27=5
Exploring Operation: 64-27=37, Resulting Numbers: [32, 37]
Generated Node #0,2,4: 75:[32, 37] Operation: 64-27=37
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[27, 2], Operations: ['54/2=27', '64/32=2']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 75:[27, 32], Operations: ['54/2=27', '64-32=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,75 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 75:[64, 5], Operations: ['54/2=27', '32-27=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 75:[32, 37], Operations: ['54/2=27', '64-27=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,75 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,75 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 75:[27, 96], Operations: ['54/2=27', '32+64=96']
Exploring Operation: 27*96=2592, Resulting Numbers: [2592]
2592,75 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 27+96=123, Resulting Numbers: [123]
123,75 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: 75:[64, 2, 86], Operations: ['54+32=86']
Exploring Operation: 64+2=66, Resulting Numbers: [86, 66]
Generated Node #0,3,0: 75:[86, 66] Operation: 64+2=66
Exploring Operation: 86-2=84, Resulting Numbers: [64, 84]
Generated Node #0,3,1: 75:[64, 84] Operation: 86-2=84
Exploring Operation: 64/2=32, Resulting Numbers: [86, 32]
Generated Node #0,3,2: 75:[86, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [86, 62]
Generated Node #0,3,3: 75:[86, 62] Operation: 64-2=62
Exploring Operation: 86-64=22, Resulting Numbers: [2, 22]
Generated Node #0,3,4: 75:[2, 22] Operation: 86-64=22
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 75:[2, 22], Operations: ['54+32=86', '86-64=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 75:[86, 32], Operations: ['54+32=86', '64/2=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 86*32=2752, Resulting Numbers: [2752]
2752,75 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[86, 66], Operations: ['54+32=86', '64+2=66']
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,75 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 75:[64, 84], Operations: ['54+32=86', '86-2=84']
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,75 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,75 unequal: No Solution
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 75:[86, 62], Operations: ['54+32=86', '64-2=62']
Exploring Operation: 86*62=5332, Resulting Numbers: [5332]
5332,75 unequal: No Solution
Exploring Operation: 86+62=148, Resulting Numbers: [148]
148,75 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 75:[54, 2, 2], Operations: ['64/32=2']
Exploring Operation: 2+2=4, Resulting Numbers: [54, 4]
Generated Node #0,4,0: 75:[54, 4] Operation: 2+2=4
Exploring Operation: 54+2=56, Resulting Numbers: [2, 56]
Generated Node #0,4,1: 75:[2, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [2, 27]
Generated Node #0,4,2: 75:[2, 27] Operation: 54/2=27
Exploring Operation: 54/2=27, Resulting Numbers: [2, 27]
Generated Node #0,4,3: 75:[2, 27] Operation: 54/2=27
Exploring Operation: 54+2=56, Resulting Numbers: [2, 56]
Generated Node #0,4,4: 75:[2, 56] Operation: 54+2=56
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 75:[2, 27], Operations: ['64/32=2', '54/2=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 75:[2, 27], Operations: ['64/32=2', '54/2=27']
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 75:[2, 56], Operations: ['64/32=2', '54+2=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 75:[2, 56], Operations: ['64/32=2', '54+2=56']
Exploring Operation: 2*56=112, Resulting Numbers: [112]
112,75 unequal: No Solution
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,75 unequal: No Solution
Exploring Operation: 2+56=58, Resulting Numbers: [58]
58,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 75:[54, 4], Operations: ['64/32=2', '2+2=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,75 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 75:[22, 32], Operations: ['54-32=22', '64/2=32']
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,75 unequal: No Solution
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[2, 86], Operations: ['54-32=22', '64+22=86']
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,75 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[22, 66], Operations: ['54-32=22', '64+2=66']
Exploring Operation: 22+66=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 22*66=1452, Resulting Numbers: [1452]
1452,75 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[64, 24], Operations: ['54-32=22', '2+22=24']
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,75 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[64, 11], Operations: ['54-32=22', '22/2=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,75 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[54, 32, 64, 2], Operations: []
Exploring Operation: 54-32=22, Resulting Numbers: [64, 2, 22]
Generated Node #0,0: 75:[64, 2, 22] Operation: 54-32=22
Moving to Node #0,0
Current State: 75:[64, 2, 22], Operations: ['54-32=22']
Exploring Operation: 22/2=11, Resulting Numbers: [64, 11]
Generated Node #0,0,2: 75:[64, 11] Operation: 22/2=11
Moving to Node #0,0,2
Current State: 75:[64, 11], Operations: ['54-32=22', '22/2=11']
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.899306 | hs_5 | mult_heuristic |
[
1,
49,
99,
96
] | 47 | [
"1+49=50",
"99-96=3",
"50-3=47"
] | Current State: 47:[1, 49, 99, 96], Operations: []
Exploring Operation: 1+49=50, Resulting Numbers: [99, 96, 50]
Generated Node #2: [99, 96, 50] from Operation: 1+49=50
Current State: 47:[99, 96, 50], Operations: ['1+49=50']
Exploring Operation: 99-96=3, Resulting Numbers: [50, 3]
Generated Node #3: [50, 3] from Operation: 99-96=3
Current State: 47:[50, 3], Operations: ['1+49=50', '99-96=3']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[1, 49, 99, 96], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [1, 49, 3]
Generated Node #0,0: 47:[1, 49, 3] Operation: 99-96=3
Exploring Operation: 99-49=50, Resulting Numbers: [1, 96, 50]
Generated Node #0,1: 47:[1, 96, 50] Operation: 99-49=50
Exploring Operation: 49-1=48, Resulting Numbers: [99, 96, 48]
Generated Node #0,2: 47:[99, 96, 48] Operation: 49-1=48
Exploring Operation: 96-49=47, Resulting Numbers: [1, 99, 47]
Generated Node #0,3: 47:[1, 99, 47] Operation: 96-49=47
Moving to Node #0,0
Current State: 47:[1, 49, 3], Operations: ['99-96=3']
Exploring Operation: 49/1=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 47:[3, 49] Operation: 49/1=49
Exploring Operation: 49-1=48, Resulting Numbers: [3, 48]
Generated Node #0,0,1: 47:[3, 48] Operation: 49-1=48
Exploring Operation: 1*49=49, Resulting Numbers: [3, 49]
Generated Node #0,0,2: 47:[3, 49] Operation: 1*49=49
Exploring Operation: 1+3=4, Resulting Numbers: [49, 4]
Generated Node #0,0,3: 47:[49, 4] Operation: 1+3=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[3, 48], Operations: ['99-96=3', '49-1=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 47:[49, 4], Operations: ['99-96=3', '1+3=4']
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,47 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[3, 49], Operations: ['99-96=3', '49/1=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[3, 49], Operations: ['99-96=3', '1*49=49']
Exploring Operation: 3+49=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 3*49=147, Resulting Numbers: [147]
147,47 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: 47:[1, 99, 47], Operations: ['96-49=47']
Exploring Operation: 1*99=99, Resulting Numbers: [47, 99]
Generated Node #0,3,0: 47:[47, 99] Operation: 1*99=99
Exploring Operation: 99-47=52, Resulting Numbers: [1, 52]
Generated Node #0,3,1: 47:[1, 52] Operation: 99-47=52
Exploring Operation: 99-1=98, Resulting Numbers: [47, 98]
Generated Node #0,3,2: 47:[47, 98] Operation: 99-1=98
Exploring Operation: 99/1=99, Resulting Numbers: [47, 99]
Generated Node #0,3,3: 47:[47, 99] Operation: 99/1=99
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[1, 52], Operations: ['96-49=47', '99-47=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,47 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[47, 98], Operations: ['96-49=47', '99-1=98']
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,47 unequal: No Solution
Exploring Operation: 47*98=4606, Resulting Numbers: [4606]
4606,47 unequal: No Solution
Exploring Operation: 47+98=145, Resulting Numbers: [145]
145,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[47, 99], Operations: ['96-49=47', '1*99=99']
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,47 unequal: No Solution
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,47 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 47:[47, 99], Operations: ['96-49=47', '99/1=99']
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,47 unequal: No Solution
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,47 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,47 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: 47:[1, 96, 50], Operations: ['99-49=50']
Exploring Operation: 50-1=49, Resulting Numbers: [96, 49]
Generated Node #0,1,0: 47:[96, 49] Operation: 50-1=49
Exploring Operation: 96-50=46, Resulting Numbers: [1, 46]
Generated Node #0,1,1: 47:[1, 46] Operation: 96-50=46
Exploring Operation: 96-1=95, Resulting Numbers: [50, 95]
Generated Node #0,1,2: 47:[50, 95] Operation: 96-1=95
Exploring Operation: 1*96=96, Resulting Numbers: [50, 96]
Generated Node #0,1,3: 47:[50, 96] Operation: 1*96=96
Moving to Node #0,2
Current State: 47:[99, 96, 48], Operations: ['49-1=48']
Exploring Operation: 96-48=48, Resulting Numbers: [99, 48]
Generated Node #0,2,0: 47:[99, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [99, 2]
Generated Node #0,2,1: 47:[99, 2] Operation: 96/48=2
Exploring Operation: 99-48=51, Resulting Numbers: [96, 51]
Generated Node #0,2,2: 47:[96, 51] Operation: 99-48=51
Exploring Operation: 99-96=3, Resulting Numbers: [48, 3]
Generated Node #0,2,3: 47:[48, 3] Operation: 99-96=3
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 47:[48, 3], Operations: ['49-1=48', '99-96=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,47 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[99, 48], Operations: ['49-1=48', '96-48=48']
Exploring Operation: 99*48=4752, Resulting Numbers: [4752]
4752,47 unequal: No Solution
Exploring Operation: 99+48=147, Resulting Numbers: [147]
147,47 unequal: No Solution
Exploring Operation: 99-48=51, Resulting Numbers: [51]
51,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[96, 51], Operations: ['49-1=48', '99-48=51']
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,47 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[99, 2], Operations: ['49-1=48', '96/48=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 99*2=198, Resulting Numbers: [198]
198,47 unequal: No Solution
Exploring Operation: 99+2=101, Resulting Numbers: [101]
101,47 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: 47:[1, 46], Operations: ['99-49=50', '96-50=46']
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[1, 49, 99, 96], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [1, 96, 50]
Generated Node #0,1: 47:[1, 96, 50] Operation: 99-49=50
Moving to Node #0,1
Current State: 47:[1, 96, 50], Operations: ['99-49=50']
Exploring Operation: 96-50=46, Resulting Numbers: [1, 46]
Generated Node #0,1,1: 47:[1, 46] Operation: 96-50=46
Moving to Node #0,1,1
Current State: 47:[1, 46], Operations: ['99-49=50', '96-50=46']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 0.94184 | hs_4 | mult_heuristic |
[
57,
9,
43,
28
] | 23 | [
"57-9=48",
"43+28=71",
"71-48=23"
] | Current State: 23:[57, 9, 43, 28], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [43, 28, 48]
Generated Node #2: [43, 28, 48] from Operation: 57-9=48
Current State: 23:[43, 28, 48], Operations: ['57-9=48']
Exploring Operation: 43+28=71, Resulting Numbers: [48, 71]
Generated Node #3: [48, 71] from Operation: 43+28=71
Current State: 23:[48, 71], Operations: ['57-9=48', '43+28=71']
Exploring Operation: 71-48=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[57, 9, 43, 28], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [9, 28, 14]
Generated Node #0,0: 23:[9, 28, 14] Operation: 57-43=14
Moving to Node #0,0
Current State: 23:[9, 28, 14], Operations: ['57-43=14']
Exploring Operation: 9+14=23, Resulting Numbers: [28, 23]
Generated Node #0,0,0: 23:[28, 23] Operation: 9+14=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[28, 23], Operations: ['57-43=14', '9+14=23']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,23 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 |
[
71,
71,
81,
9
] | 70 | [
"71+71=142",
"81-9=72",
"142-72=70"
] | Current State: 70:[71, 71, 81, 9], Operations: []
Exploring Operation: 71+71=142, Resulting Numbers: [81, 9, 142]
Generated Node #2: [81, 9, 142] from Operation: 71+71=142
Current State: 70:[81, 9, 142], Operations: ['71+71=142']
Exploring Operation: 81-9=72, Resulting Numbers: [142, 72]
Generated Node #3: [142, 72] from Operation: 81-9=72
Current State: 70:[142, 72], Operations: ['71+71=142', '81-9=72']
Exploring Operation: 142-72=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[71, 71, 81, 9], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [71, 71, 9]
Generated Node #0,0: 70:[71, 71, 9] Operation: 81/9=9
Exploring Operation: 81-71=10, Resulting Numbers: [71, 9, 10]
Generated Node #0,1: 70:[71, 9, 10] Operation: 81-71=10
Exploring Operation: 81-71=10, Resulting Numbers: [71, 9, 10]
Generated Node #0,2: 70:[71, 9, 10] Operation: 81-71=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[71, 9, 10], Operations: ['81-71=10']
Exploring Operation: 9+10=19, Resulting Numbers: [71, 19]
Generated Node #0,1,0: 70:[71, 19] Operation: 9+10=19
Exploring Operation: 10-9=1, Resulting Numbers: [71, 1]
Generated Node #0,1,1: 70:[71, 1] Operation: 10-9=1
Exploring Operation: 71-9=62, Resulting Numbers: [10, 62]
Generated Node #0,1,2: 70:[10, 62] Operation: 71-9=62
Moving to Node #0,1,1
Current State: 70:[71, 1], Operations: ['81-71=10', '10-9=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[71, 71, 81, 9], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [71, 9, 10]
Generated Node #0,1: 70:[71, 9, 10] Operation: 81-71=10
Moving to Node #0,1
Current State: 70:[71, 9, 10], Operations: ['81-71=10']
Exploring Operation: 10-9=1, Resulting Numbers: [71, 1]
Generated Node #0,1,1: 70:[71, 1] Operation: 10-9=1
Moving to Node #0,1,1
Current State: 70:[71, 1], Operations: ['81-71=10', '10-9=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
89,
93,
87,
47
] | 36 | [
"93-89=4",
"87-47=40",
"40-4=36"
] | Current State: 36:[89, 93, 87, 47], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [87, 47, 4]
Generated Node #2: [87, 47, 4] from Operation: 93-89=4
Current State: 36:[87, 47, 4], Operations: ['93-89=4']
Exploring Operation: 87-47=40, Resulting Numbers: [4, 40]
Generated Node #3: [4, 40] from Operation: 87-47=40
Current State: 36:[4, 40], Operations: ['93-89=4', '87-47=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[89, 93, 87, 47], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [87, 47, 4]
Generated Node #0,0: 36:[87, 47, 4] Operation: 93-89=4
Exploring Operation: 89-87=2, Resulting Numbers: [93, 47, 2]
Generated Node #0,1: 36:[93, 47, 2] Operation: 89-87=2
Exploring Operation: 93-87=6, Resulting Numbers: [89, 47, 6]
Generated Node #0,2: 36:[89, 47, 6] Operation: 93-87=6
Moving to Node #0,0
Current State: 36:[87, 47, 4], Operations: ['93-89=4']
Exploring Operation: 47-4=43, Resulting Numbers: [87, 43]
Generated Node #0,0,0: 36:[87, 43] Operation: 47-4=43
Exploring Operation: 87-47=40, Resulting Numbers: [4, 40]
Generated Node #0,0,1: 36:[4, 40] Operation: 87-47=40
Exploring Operation: 87-4=83, Resulting Numbers: [47, 83]
Generated Node #0,0,2: 36:[47, 83] Operation: 87-4=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[4, 40], Operations: ['93-89=4', '87-47=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[89, 93, 87, 47], Operations: []
Exploring Operation: 93-89=4, Resulting Numbers: [87, 47, 4]
Generated Node #0,0: 36:[87, 47, 4] Operation: 93-89=4
Moving to Node #0,0
Current State: 36:[87, 47, 4], Operations: ['93-89=4']
Exploring Operation: 87-47=40, Resulting Numbers: [4, 40]
Generated Node #0,0,1: 36:[4, 40] Operation: 87-47=40
Moving to Node #0,0,1
Current State: 36:[4, 40], Operations: ['93-89=4', '87-47=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
72,
66,
8,
25
] | 11 | [
"72-66=6",
"25-8=17",
"17-6=11"
] | Current State: 11:[72, 66, 8, 25], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [8, 25, 6]
Generated Node #2: [8, 25, 6] from Operation: 72-66=6
Current State: 11:[8, 25, 6], Operations: ['72-66=6']
Exploring Operation: 25-8=17, Resulting Numbers: [6, 17]
Generated Node #3: [6, 17] from Operation: 25-8=17
Current State: 11:[6, 17], Operations: ['72-66=6', '25-8=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[72, 66, 8, 25], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [8, 25, 6]
Generated Node #0,0: 11:[8, 25, 6] Operation: 72-66=6
Moving to Node #0,0
Current State: 11:[8, 25, 6], Operations: ['72-66=6']
Exploring Operation: 25-8=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 11:[6, 17] Operation: 25-8=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[6, 17], Operations: ['72-66=6', '25-8=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[72, 66, 8, 25], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [8, 25, 6]
Generated Node #0,0: 11:[8, 25, 6] Operation: 72-66=6
Moving to Node #0,0
Current State: 11:[8, 25, 6], Operations: ['72-66=6']
Exploring Operation: 25-8=17, Resulting Numbers: [6, 17]
Generated Node #0,0,0: 11:[6, 17] Operation: 25-8=17
Moving to Node #0,0,0
Current State: 11:[6, 17], Operations: ['72-66=6', '25-8=17']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
58,
7,
41
] | 12 | [
"58-54=4",
"7+41=48",
"48/4=12"
] | Current State: 12:[54, 58, 7, 41], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [7, 41, 4]
Generated Node #2: [7, 41, 4] from Operation: 58-54=4
Current State: 12:[7, 41, 4], Operations: ['58-54=4']
Exploring Operation: 7+41=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 7+41=48
Current State: 12:[4, 48], Operations: ['58-54=4', '7+41=48']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[54, 58, 7, 41], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [7, 41, 4]
Generated Node #0,0: 12:[7, 41, 4] Operation: 58-54=4
Exploring Operation: 54-41=13, Resulting Numbers: [58, 7, 13]
Generated Node #0,1: 12:[58, 7, 13] Operation: 54-41=13
Exploring Operation: 54-7=47, Resulting Numbers: [58, 41, 47]
Generated Node #0,2: 12:[58, 41, 47] Operation: 54-7=47
Exploring Operation: 58-7=51, Resulting Numbers: [54, 41, 51]
Generated Node #0,3: 12:[54, 41, 51] Operation: 58-7=51
Exploring Operation: 58-41=17, Resulting Numbers: [54, 7, 17]
Generated Node #0,4: 12:[54, 7, 17] Operation: 58-41=17
Moving to Node #0,0
Current State: 12:[7, 41, 4], Operations: ['58-54=4']
Exploring Operation: 41-4=37, Resulting Numbers: [7, 37]
Generated Node #0,0,0: 12:[7, 37] Operation: 41-4=37
Exploring Operation: 7-4=3, Resulting Numbers: [41, 3]
Generated Node #0,0,1: 12:[41, 3] Operation: 7-4=3
Exploring Operation: 41+4=45, Resulting Numbers: [7, 45]
Generated Node #0,0,2: 12:[7, 45] Operation: 41+4=45
Exploring Operation: 41-7=34, Resulting Numbers: [4, 34]
Generated Node #0,0,3: 12:[4, 34] Operation: 41-7=34
Exploring Operation: 7+4=11, Resulting Numbers: [41, 11]
Generated Node #0,0,4: 12:[41, 11] Operation: 7+4=11
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[4, 34], Operations: ['58-54=4', '41-7=34']
Exploring Operation: 4*34=136, Resulting Numbers: [136]
136,12 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,12 unequal: No Solution
No 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: 12:[7, 37], Operations: ['58-54=4', '41-4=37']
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,12 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,12 unequal: No Solution
No 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: 12:[41, 3], Operations: ['58-54=4', '7-4=3']
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,12 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,12 unequal: No Solution
No 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: 12:[41, 11], Operations: ['58-54=4', '7+4=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,12 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No 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: 12:[7, 45], Operations: ['58-54=4', '41+4=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,12 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 12:[54, 7, 17], Operations: ['58-41=17']
Exploring Operation: 17-7=10, Resulting Numbers: [54, 10]
Generated Node #0,4,0: 12:[54, 10] Operation: 17-7=10
Exploring Operation: 7+17=24, Resulting Numbers: [54, 24]
Generated Node #0,4,1: 12:[54, 24] Operation: 7+17=24
Exploring Operation: 54+7=61, Resulting Numbers: [17, 61]
Generated Node #0,4,2: 12:[17, 61] Operation: 54+7=61
Exploring Operation: 54-17=37, Resulting Numbers: [7, 37]
Generated Node #0,4,3: 12:[7, 37] Operation: 54-17=37
Exploring Operation: 54-7=47, Resulting Numbers: [17, 47]
Generated Node #0,4,4: 12:[17, 47] Operation: 54-7=47
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 12:[7, 37], Operations: ['58-41=17', '54-17=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 7*37=259, Resulting Numbers: [259]
259,12 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No 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: 12:[17, 47], Operations: ['58-41=17', '54-7=47']
Exploring Operation: 17+47=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 17*47=799, Resulting Numbers: [799]
799,12 unequal: No Solution
No 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: 12:[54, 10], Operations: ['58-41=17', '17-7=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,12 unequal: No Solution
No 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: 12:[54, 24], Operations: ['58-41=17', '7+17=24']
Exploring Operation: 54*24=1296, Resulting Numbers: [1296]
1296,12 unequal: No Solution
Exploring Operation: 54+24=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No 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: 12:[17, 61], Operations: ['58-41=17', '54+7=61']
Exploring Operation: 17*61=1037, Resulting Numbers: [1037]
1037,12 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 17+61=78, Resulting Numbers: [78]
78,12 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: 12:[58, 7, 13], Operations: ['54-41=13']
Exploring Operation: 58-7=51, Resulting Numbers: [13, 51]
Generated Node #0,1,0: 12:[13, 51] Operation: 58-7=51
Exploring Operation: 13-7=6, Resulting Numbers: [58, 6]
Generated Node #0,1,1: 12:[58, 6] Operation: 13-7=6
Exploring Operation: 7+13=20, Resulting Numbers: [58, 20]
Generated Node #0,1,2: 12:[58, 20] Operation: 7+13=20
Exploring Operation: 58-13=45, Resulting Numbers: [7, 45]
Generated Node #0,1,3: 12:[7, 45] Operation: 58-13=45
Exploring Operation: 58+7=65, Resulting Numbers: [13, 65]
Generated Node #0,1,4: 12:[13, 65] Operation: 58+7=65
Moving to Node #0,2
Current State: 12:[58, 41, 47], Operations: ['54-7=47']
Exploring Operation: 47-41=6, Resulting Numbers: [58, 6]
Generated Node #0,2,0: 12:[58, 6] Operation: 47-41=6
Exploring Operation: 58+41=99, Resulting Numbers: [47, 99]
Generated Node #0,2,1: 12:[47, 99] Operation: 58+41=99
Exploring Operation: 58+47=105, Resulting Numbers: [41, 105]
Generated Node #0,2,2: 12:[41, 105] Operation: 58+47=105
Exploring Operation: 58-47=11, Resulting Numbers: [41, 11]
Generated Node #0,2,3: 12:[41, 11] Operation: 58-47=11
Exploring Operation: 58-41=17, Resulting Numbers: [47, 17]
Generated Node #0,2,4: 12:[47, 17] Operation: 58-41=17
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[41, 11], Operations: ['54-7=47', '58-47=11']
Exploring Operation: 41*11=451, Resulting Numbers: [451]
451,12 unequal: No Solution
Exploring Operation: 41+11=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No 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: 12:[47, 17], Operations: ['54-7=47', '58-41=17']
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 47*17=799, Resulting Numbers: [799]
799,12 unequal: No Solution
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,12 unequal: No Solution
No 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: 12:[58, 6], Operations: ['54-7=47', '47-41=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,12 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,12 unequal: No Solution
No 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: 12:[47, 99], Operations: ['54-7=47', '58+41=99']
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,12 unequal: No Solution
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,12 unequal: No Solution
No 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: 12:[41, 105], Operations: ['54-7=47', '58+47=105']
Exploring Operation: 41*105=4305, Resulting Numbers: [4305]
4305,12 unequal: No Solution
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 41+105=146, Resulting Numbers: [146]
146,12 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: 12:[54, 41, 51], Operations: ['58-7=51']
Exploring Operation: 54-51=3, Resulting Numbers: [41, 3]
Generated Node #0,3,0: 12:[41, 3] Operation: 54-51=3
Exploring Operation: 54-41=13, Resulting Numbers: [51, 13]
Generated Node #0,3,1: 12:[51, 13] Operation: 54-41=13
Exploring Operation: 51-41=10, Resulting Numbers: [54, 10]
Generated Node #0,3,2: 12:[54, 10] Operation: 51-41=10
Exploring Operation: 54+41=95, Resulting Numbers: [51, 95]
Generated Node #0,3,3: 12:[51, 95] Operation: 54+41=95
Exploring Operation: 54+51=105, Resulting Numbers: [41, 105]
Generated Node #0,3,4: 12:[41, 105] Operation: 54+51=105
Moving to Node #0,3,0
Current State: 12:[41, 3], Operations: ['58-7=51', '54-51=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,12 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[7, 45], Operations: ['54-41=13', '58-13=45']
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,12 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[51, 13], Operations: ['58-7=51', '54-41=13']
Exploring Operation: 51+13=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 51*13=663, Resulting Numbers: [663]
663,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[13, 51], Operations: ['54-41=13', '58-7=51']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[54, 10], Operations: ['58-7=51', '51-41=10']
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[58, 6], Operations: ['54-41=13', '13-7=6']
Exploring Operation: 58*6=348, Resulting Numbers: [348]
348,12 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Moving to Node #0,1,4
Current State: 12:[13, 65], Operations: ['54-41=13', '58+7=65']
Exploring Operation: 13+65=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Exploring Operation: 13*65=845, Resulting Numbers: [845]
845,12 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[58, 20], Operations: ['54-41=13', '7+13=20']
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,12 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,12 unequal: No Solution
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,12 unequal: No Solution
Moving to Node #0,3,4
Current State: 12:[41, 105], Operations: ['58-7=51', '54+51=105']
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 41+105=146, Resulting Numbers: [146]
146,12 unequal: No Solution
Exploring Operation: 41*105=4305, Resulting Numbers: [4305]
4305,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[51, 95], Operations: ['58-7=51', '54+41=95']
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,12 unequal: No Solution
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,12 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
25,
70,
13,
72
] | 76 | [
"25+13=38",
"72-70=2",
"38*2=76"
] | Current State: 76:[25, 70, 13, 72], Operations: []
Exploring Operation: 25+13=38, Resulting Numbers: [70, 72, 38]
Generated Node #2: [70, 72, 38] from Operation: 25+13=38
Current State: 76:[70, 72, 38], Operations: ['25+13=38']
Exploring Operation: 72-70=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 72-70=2
Current State: 76:[38, 2], Operations: ['25+13=38', '72-70=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[25, 70, 13, 72], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [25, 13, 2]
Generated Node #0,0: 76:[25, 13, 2] Operation: 72-70=2
Exploring Operation: 25+13=38, Resulting Numbers: [70, 72, 38]
Generated Node #0,1: 76:[70, 72, 38] Operation: 25+13=38
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[70, 72, 38], Operations: ['25+13=38']
Exploring Operation: 72-70=2, Resulting Numbers: [38, 2]
Generated Node #0,1,0: 76:[38, 2] Operation: 72-70=2
Exploring Operation: 70-38=32, Resulting Numbers: [72, 32]
Generated Node #0,1,1: 76:[72, 32] Operation: 70-38=32
Moving to Node #0,1,0
Current State: 76:[38, 2], Operations: ['25+13=38', '72-70=2']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[25, 70, 13, 72], Operations: []
Exploring Operation: 25+13=38, Resulting Numbers: [70, 72, 38]
Generated Node #0,1: 76:[70, 72, 38] Operation: 25+13=38
Moving to Node #0,1
Current State: 76:[70, 72, 38], Operations: ['25+13=38']
Exploring Operation: 72-70=2, Resulting Numbers: [38, 2]
Generated Node #0,1,0: 76:[38, 2] Operation: 72-70=2
Moving to Node #0,1,0
Current State: 76:[38, 2], Operations: ['25+13=38', '72-70=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
77,
73,
68,
11
] | 71 | [
"77+73=150",
"68+11=79",
"150-79=71"
] | Current State: 71:[77, 73, 68, 11], Operations: []
Exploring Operation: 77+73=150, Resulting Numbers: [68, 11, 150]
Generated Node #2: [68, 11, 150] from Operation: 77+73=150
Current State: 71:[68, 11, 150], Operations: ['77+73=150']
Exploring Operation: 68+11=79, Resulting Numbers: [150, 79]
Generated Node #3: [150, 79] from Operation: 68+11=79
Current State: 71:[150, 79], Operations: ['77+73=150', '68+11=79']
Exploring Operation: 150-79=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[77, 73, 68, 11], Operations: []
Exploring Operation: 77+11=88, Resulting Numbers: [73, 68, 88]
Generated Node #0,0: 71:[73, 68, 88] Operation: 77+11=88
Exploring Operation: 73-11=62, Resulting Numbers: [77, 68, 62]
Generated Node #0,1: 71:[77, 68, 62] Operation: 73-11=62
Exploring Operation: 68+11=79, Resulting Numbers: [77, 73, 79]
Generated Node #0,2: 71:[77, 73, 79] Operation: 68+11=79
Exploring Operation: 77-11=66, Resulting Numbers: [73, 68, 66]
Generated Node #0,3: 71:[73, 68, 66] Operation: 77-11=66
Start Sub Search at level 1: Moving to Node #0,3
Current State: 71:[73, 68, 66], Operations: ['77-11=66']
Exploring Operation: 73-68=5, Resulting Numbers: [66, 5]
Generated Node #0,3,0: 71:[66, 5] Operation: 73-68=5
Exploring Operation: 73-66=7, Resulting Numbers: [68, 7]
Generated Node #0,3,1: 71:[68, 7] Operation: 73-66=7
Exploring Operation: 68+66=134, Resulting Numbers: [73, 134]
Generated Node #0,3,2: 71:[73, 134] Operation: 68+66=134
Exploring Operation: 73+66=139, Resulting Numbers: [68, 139]
Generated Node #0,3,3: 71:[68, 139] Operation: 73+66=139
Moving to Node #0,3,2
Current State: 71:[73, 134], Operations: ['77-11=66', '68+66=134']
Exploring Operation: 73*134=9782, Resulting Numbers: [9782]
9782,71 unequal: No Solution
Exploring Operation: 134-73=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Exploring Operation: 73+134=207, Resulting Numbers: [207]
207,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[68, 7], Operations: ['77-11=66', '73-66=7']
Exploring Operation: 68*7=476, Resulting Numbers: [476]
476,71 unequal: No Solution
Exploring Operation: 68+7=75, Resulting Numbers: [75]
75,71 unequal: No Solution
Exploring Operation: 68-7=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[68, 139], Operations: ['77-11=66', '73+66=139']
Exploring Operation: 139-68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[77, 73, 68, 11], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [73, 68, 66]
Generated Node #0,3: 71:[73, 68, 66] Operation: 77-11=66
Moving to Node #0,3
Current State: 71:[73, 68, 66], Operations: ['77-11=66']
Exploring Operation: 73+66=139, Resulting Numbers: [68, 139]
Generated Node #0,3,3: 71:[68, 139] Operation: 73+66=139
Moving to Node #0,3,3
Current State: 71:[68, 139], Operations: ['77-11=66', '73+66=139']
Exploring Operation: 139-68=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
15,
33,
55,
16
] | 41 | [
"15*55=825",
"825/33=25",
"16+25=41"
] | Current State: 41:[15, 33, 55, 16], Operations: []
Exploring Operation: 15*55=825, Resulting Numbers: [33, 16, 825]
Generated Node #2: [33, 16, 825] from Operation: 15*55=825
Current State: 41:[33, 16, 825], Operations: ['15*55=825']
Exploring Operation: 825/33=25, Resulting Numbers: [16, 25]
Generated Node #3: [16, 25] from Operation: 825/33=25
Current State: 41:[16, 25], Operations: ['15*55=825', '825/33=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[15, 33, 55, 16], Operations: []
Exploring Operation: 15+16=31, Resulting Numbers: [33, 55, 31]
Generated Node #0,0: 41:[33, 55, 31] Operation: 15+16=31
Exploring Operation: 55-15=40, Resulting Numbers: [33, 16, 40]
Generated Node #0,1: 41:[33, 16, 40] Operation: 55-15=40
Moving to Node #0,0
Current State: 41:[33, 55, 31], Operations: ['15+16=31']
Exploring Operation: 55-33=22, Resulting Numbers: [31, 22]
Generated Node #0,0,0: 41:[31, 22] Operation: 55-33=22
Exploring Operation: 55-31=24, Resulting Numbers: [33, 24]
Generated Node #0,0,1: 41:[33, 24] Operation: 55-31=24
Moving to Node #0,1
Current State: 41:[33, 16, 40], Operations: ['55-15=40']
Exploring Operation: 16+40=56, Resulting Numbers: [33, 56]
Generated Node #0,1,0: 41:[33, 56] Operation: 16+40=56
Exploring Operation: 33+16=49, Resulting Numbers: [40, 49]
Generated Node #0,1,1: 41:[40, 49] Operation: 33+16=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[40, 49], Operations: ['55-15=40', '33+16=49']
Exploring Operation: 40+49=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[33, 56], Operations: ['55-15=40', '16+40=56']
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 41:[33, 24], Operations: ['15+16=31', '55-31=24']
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,41 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[31, 22], Operations: ['15+16=31', '55-33=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,41 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,41 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
45,
25,
46,
35
] | 44 | [
"45+25=70",
"70/35=2",
"46-2=44"
] | Current State: 44:[45, 25, 46, 35], Operations: []
Exploring Operation: 45+25=70, Resulting Numbers: [46, 35, 70]
Generated Node #2: [46, 35, 70] from Operation: 45+25=70
Current State: 44:[46, 35, 70], Operations: ['45+25=70']
Exploring Operation: 70/35=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 70/35=2
Current State: 44:[46, 2], Operations: ['45+25=70', '70/35=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[45, 25, 46, 35], Operations: []
Exploring Operation: 35-25=10, Resulting Numbers: [45, 46, 10]
Generated Node #0,0: 44:[45, 46, 10] Operation: 35-25=10
Exploring Operation: 46-35=11, Resulting Numbers: [45, 25, 11]
Generated Node #0,1: 44:[45, 25, 11] Operation: 46-35=11
Exploring Operation: 45-35=10, Resulting Numbers: [25, 46, 10]
Generated Node #0,2: 44:[25, 46, 10] Operation: 45-35=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[45, 46, 10], Operations: ['35-25=10']
Exploring Operation: 46-45=1, Resulting Numbers: [10, 1]
Generated Node #0,0,0: 44:[10, 1] Operation: 46-45=1
Exploring Operation: 45-10=35, Resulting Numbers: [46, 35]
Generated Node #0,0,1: 44:[46, 35] Operation: 45-10=35
Exploring Operation: 46-10=36, Resulting Numbers: [45, 36]
Generated Node #0,0,2: 44:[45, 36] Operation: 46-10=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[10, 1], Operations: ['35-25=10', '46-45=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,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,2
Current State: 44:[45, 36], Operations: ['35-25=10', '46-10=36']
Exploring Operation: 45*36=1620, Resulting Numbers: [1620]
1620,44 unequal: No Solution
Exploring Operation: 45+36=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,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:[46, 35], Operations: ['35-25=10', '45-10=35']
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,44 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,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:[45, 25, 11], Operations: ['46-35=11']
Exploring Operation: 45-25=20, Resulting Numbers: [11, 20]
Generated Node #0,1,0: 44:[11, 20] Operation: 45-25=20
Exploring Operation: 25+11=36, Resulting Numbers: [45, 36]
Generated Node #0,1,1: 44:[45, 36] Operation: 25+11=36
Exploring Operation: 25-11=14, Resulting Numbers: [45, 14]
Generated Node #0,1,2: 44:[45, 14] Operation: 25-11=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[11, 20], Operations: ['46-35=11', '45-25=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 44:[45, 14], Operations: ['46-35=11', '25-11=14']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,44 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[45, 36], Operations: ['46-35=11', '25+11=36']
Exploring Operation: 45*36=1620, Resulting Numbers: [1620]
1620,44 unequal: No Solution
Exploring Operation: 45-36=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 45+36=81, Resulting Numbers: [81]
81,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,2
Current State: 44:[25, 46, 10], Operations: ['45-35=10']
Exploring Operation: 46-25=21, Resulting Numbers: [10, 21]
Generated Node #0,2,0: 44:[10, 21] Operation: 46-25=21
Exploring Operation: 25+10=35, Resulting Numbers: [46, 35]
Generated Node #0,2,1: 44:[46, 35] Operation: 25+10=35
Exploring Operation: 25-10=15, Resulting Numbers: [46, 15]
Generated Node #0,2,2: 44:[46, 15] Operation: 25-10=15
Moving to Node #0,2,0
Current State: 44:[10, 21], Operations: ['45-35=10', '46-25=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[46, 15], Operations: ['45-35=10', '25-10=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[46, 35], Operations: ['45-35=10', '25+10=35']
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,44 unequal: No Solution
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,44 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 |
[
39,
74,
37,
40
] | 41 | [
"74/37=2",
"40*2=80",
"80-39=41"
] | Current State: 41:[39, 74, 37, 40], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [39, 40, 2]
Generated Node #2: [39, 40, 2] from Operation: 74/37=2
Current State: 41:[39, 40, 2], Operations: ['74/37=2']
Exploring Operation: 40*2=80, Resulting Numbers: [39, 80]
Generated Node #3: [39, 80] from Operation: 40*2=80
Current State: 41:[39, 80], Operations: ['74/37=2', '40*2=80']
Exploring Operation: 80-39=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[39, 74, 37, 40], Operations: []
Exploring Operation: 74-37=37, Resulting Numbers: [39, 40, 37]
Generated Node #0,0: 41:[39, 40, 37] Operation: 74-37=37
Moving to Node #0,0
Current State: 41:[39, 40, 37], Operations: ['74-37=37']
Exploring Operation: 39+37=76, Resulting Numbers: [40, 76]
Generated Node #0,0,0: 41:[40, 76] Operation: 39+37=76
Moving to Node #0,0,0
Current State: 41:[40, 76], Operations: ['74-37=37', '39+37=76']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,41 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
53,
81,
25,
93
] | 95 | [
"81+25=106",
"106/53=2",
"93+2=95"
] | Current State: 95:[53, 81, 25, 93], Operations: []
Exploring Operation: 81+25=106, Resulting Numbers: [53, 93, 106]
Generated Node #2: [53, 93, 106] from Operation: 81+25=106
Current State: 95:[53, 93, 106], Operations: ['81+25=106']
Exploring Operation: 106/53=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 106/53=2
Current State: 95:[93, 2], Operations: ['81+25=106', '106/53=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[53, 81, 25, 93], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [25, 93, 28]
Generated Node #0,0: 95:[25, 93, 28] Operation: 81-53=28
Exploring Operation: 53+81=134, Resulting Numbers: [25, 93, 134]
Generated Node #0,1: 95:[25, 93, 134] Operation: 53+81=134
Exploring Operation: 53+25=78, Resulting Numbers: [81, 93, 78]
Generated Node #0,2: 95:[81, 93, 78] Operation: 53+25=78
Exploring Operation: 93-53=40, Resulting Numbers: [81, 25, 40]
Generated Node #0,3: 95:[81, 25, 40] Operation: 93-53=40
Exploring Operation: 53-25=28, Resulting Numbers: [81, 93, 28]
Generated Node #0,4: 95:[81, 93, 28] Operation: 53-25=28
Moving to Node #0,0
Current State: 95:[25, 93, 28], Operations: ['81-53=28']
Exploring Operation: 93-25=68, Resulting Numbers: [28, 68]
Generated Node #0,0,0: 95:[28, 68] Operation: 93-25=68
Exploring Operation: 25+28=53, Resulting Numbers: [93, 53]
Generated Node #0,0,1: 95:[93, 53] Operation: 25+28=53
Exploring Operation: 93+28=121, Resulting Numbers: [25, 121]
Generated Node #0,0,2: 95:[25, 121] Operation: 93+28=121
Exploring Operation: 28-25=3, Resulting Numbers: [93, 3]
Generated Node #0,0,3: 95:[93, 3] Operation: 28-25=3
Exploring Operation: 25+93=118, Resulting Numbers: [28, 118]
Generated Node #0,0,4: 95:[28, 118] Operation: 25+93=118
Moving to Node #0,4
Current State: 95:[81, 93, 28], Operations: ['53-25=28']
Exploring Operation: 93-81=12, Resulting Numbers: [28, 12]
Generated Node #0,4,0: 95:[28, 12] Operation: 93-81=12
Exploring Operation: 81+28=109, Resulting Numbers: [93, 109]
Generated Node #0,4,1: 95:[93, 109] Operation: 81+28=109
Exploring Operation: 93-28=65, Resulting Numbers: [81, 65]
Generated Node #0,4,2: 95:[81, 65] Operation: 93-28=65
Exploring Operation: 81-28=53, Resulting Numbers: [93, 53]
Generated Node #0,4,3: 95:[93, 53] Operation: 81-28=53
Exploring Operation: 93+28=121, Resulting Numbers: [81, 121]
Generated Node #0,4,4: 95:[81, 121] Operation: 93+28=121
Moving to Node #0,2
Current State: 95:[81, 93, 78], Operations: ['53+25=78']
Exploring Operation: 93-81=12, Resulting Numbers: [78, 12]
Generated Node #0,2,0: 95:[78, 12] Operation: 93-81=12
Exploring Operation: 93+78=171, Resulting Numbers: [81, 171]
Generated Node #0,2,1: 95:[81, 171] Operation: 93+78=171
Exploring Operation: 81-78=3, Resulting Numbers: [93, 3]
Generated Node #0,2,2: 95:[93, 3] Operation: 81-78=3
Exploring Operation: 81+78=159, Resulting Numbers: [93, 159]
Generated Node #0,2,3: 95:[93, 159] Operation: 81+78=159
Exploring Operation: 93-78=15, Resulting Numbers: [81, 15]
Generated Node #0,2,4: 95:[81, 15] Operation: 93-78=15
Moving to Node #0,3
Current State: 95:[81, 25, 40], Operations: ['93-53=40']
Exploring Operation: 81+25=106, Resulting Numbers: [40, 106]
Generated Node #0,3,0: 95:[40, 106] Operation: 81+25=106
Exploring Operation: 81-40=41, Resulting Numbers: [25, 41]
Generated Node #0,3,1: 95:[25, 41] Operation: 81-40=41
Exploring Operation: 81+40=121, Resulting Numbers: [25, 121]
Generated Node #0,3,2: 95:[25, 121] Operation: 81+40=121
Exploring Operation: 25+40=65, Resulting Numbers: [81, 65]
Generated Node #0,3,3: 95:[81, 65] Operation: 25+40=65
Exploring Operation: 40-25=15, Resulting Numbers: [81, 15]
Generated Node #0,3,4: 95:[81, 15] Operation: 40-25=15
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 95:[81, 15], Operations: ['93-53=40', '40-25=15']
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,95 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 95:[25, 41], Operations: ['93-53=40', '81-40=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,95 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 95:[40, 106], Operations: ['93-53=40', '81+25=106']
Exploring Operation: 40*106=4240, Resulting Numbers: [4240]
4240,95 unequal: No Solution
Exploring Operation: 40+106=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Exploring Operation: 106-40=66, Resulting Numbers: [66]
66,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[25, 121], Operations: ['93-53=40', '81+40=121']
Exploring Operation: 121-25=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 25+121=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Exploring Operation: 25*121=3025, Resulting Numbers: [3025]
3025,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 95:[81, 65], Operations: ['93-53=40', '25+40=65']
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,95 unequal: No Solution
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,95 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: 95:[25, 93, 134], Operations: ['53+81=134']
Exploring Operation: 25+134=159, Resulting Numbers: [93, 159]
Generated Node #0,1,0: 95:[93, 159] Operation: 25+134=159
Exploring Operation: 134-25=109, Resulting Numbers: [93, 109]
Generated Node #0,1,1: 95:[93, 109] Operation: 134-25=109
Exploring Operation: 93-25=68, Resulting Numbers: [134, 68]
Generated Node #0,1,2: 95:[134, 68] Operation: 93-25=68
Exploring Operation: 25+93=118, Resulting Numbers: [134, 118]
Generated Node #0,1,3: 95:[134, 118] Operation: 25+93=118
Exploring Operation: 134-93=41, Resulting Numbers: [25, 41]
Generated Node #0,1,4: 95:[25, 41] Operation: 134-93=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[93, 109], Operations: ['53+81=134', '134-25=109']
Exploring Operation: 109-93=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 93+109=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Exploring Operation: 93*109=10137, Resulting Numbers: [10137]
10137,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 95:[25, 41], Operations: ['53+81=134', '134-93=41']
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,95 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[134, 118], Operations: ['53+81=134', '25+93=118']
Exploring Operation: 134*118=15812, Resulting Numbers: [15812]
15812,95 unequal: No Solution
Exploring Operation: 134+118=252, Resulting Numbers: [252]
252,95 unequal: No Solution
Exploring Operation: 134-118=16, Resulting Numbers: [16]
16,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[93, 159], Operations: ['53+81=134', '25+134=159']
Exploring Operation: 159-93=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 93+159=252, Resulting Numbers: [252]
252,95 unequal: No Solution
Exploring Operation: 93*159=14787, Resulting Numbers: [14787]
14787,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[134, 68], Operations: ['53+81=134', '93-25=68']
Exploring Operation: 134-68=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 134*68=9112, Resulting Numbers: [9112]
9112,95 unequal: No Solution
Exploring Operation: 134+68=202, Resulting Numbers: [202]
202,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 95:[93, 3], Operations: ['81-53=28', '28-25=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[93, 3], Operations: ['53+25=78', '81-78=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,95 unequal: No Solution
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,95 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Moving to Node #0,4,0
Current State: 95:[28, 12], Operations: ['53-25=28', '93-81=12']
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,95 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Moving to Node #0,4,1
Current State: 95:[93, 109], Operations: ['53-25=28', '81+28=109']
Exploring Operation: 93+109=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Exploring Operation: 93*109=10137, Resulting Numbers: [10137]
10137,95 unequal: No Solution
Exploring Operation: 109-93=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[81, 15], Operations: ['53+25=78', '93-78=15']
Exploring Operation: 81+15=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 81*15=1215, Resulting Numbers: [1215]
1215,95 unequal: No Solution
Exploring Operation: 81-15=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[78, 12], Operations: ['53+25=78', '93-81=12']
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 78*12=936, Resulting Numbers: [936]
936,95 unequal: No Solution
Exploring Operation: 78+12=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Moving to Node #0,0,4
Current State: 95:[28, 118], Operations: ['81-53=28', '25+93=118']
Exploring Operation: 28*118=3304, Resulting Numbers: [3304]
3304,95 unequal: No Solution
Exploring Operation: 118-28=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 28+118=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[25, 121], Operations: ['81-53=28', '93+28=121']
Exploring Operation: 25*121=3025, Resulting Numbers: [3025]
3025,95 unequal: No Solution
Exploring Operation: 25+121=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Exploring Operation: 121-25=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[93, 53], Operations: ['81-53=28', '25+28=53']
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,95 unequal: No Solution
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[28, 68], Operations: ['81-53=28', '93-25=68']
Exploring Operation: 28*68=1904, Resulting Numbers: [1904]
1904,95 unequal: No Solution
Exploring Operation: 28+68=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 68-28=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[93, 53], Operations: ['53-25=28', '81-28=53']
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 93*53=4929, Resulting Numbers: [4929]
4929,95 unequal: No Solution
Exploring Operation: 93+53=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Moving to Node #0,4,4
Current State: 95:[81, 121], Operations: ['53-25=28', '93+28=121']
Exploring Operation: 81*121=9801, Resulting Numbers: [9801]
9801,95 unequal: No Solution
Exploring Operation: 121-81=40, Resulting Numbers: [40]
40,95 unequal: No Solution
Exploring Operation: 81+121=202, Resulting Numbers: [202]
202,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[81, 65], Operations: ['53-25=28', '93-28=65']
Exploring Operation: 81+65=146, Resulting Numbers: [146]
146,95 unequal: No Solution
Exploring Operation: 81-65=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 81*65=5265, Resulting Numbers: [5265]
5265,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[93, 159], Operations: ['53+25=78', '81+78=159']
Exploring Operation: 159-93=66, Resulting Numbers: [66]
66,95 unequal: No Solution
Exploring Operation: 93+159=252, Resulting Numbers: [252]
252,95 unequal: No Solution
Exploring Operation: 93*159=14787, Resulting Numbers: [14787]
14787,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[81, 171], Operations: ['53+25=78', '93+78=171']
Exploring Operation: 81*171=13851, Resulting Numbers: [13851]
13851,95 unequal: No Solution
Exploring Operation: 171-81=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 81+171=252, Resulting Numbers: [252]
252,95 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
32,
62,
43,
87
] | 14 | [
"62-32=30",
"87-43=44",
"44-30=14"
] | Current State: 14:[32, 62, 43, 87], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [43, 87, 30]
Generated Node #2: [43, 87, 30] from Operation: 62-32=30
Current State: 14:[43, 87, 30], Operations: ['62-32=30']
Exploring Operation: 87-43=44, Resulting Numbers: [30, 44]
Generated Node #3: [30, 44] from Operation: 87-43=44
Current State: 14:[30, 44], Operations: ['62-32=30', '87-43=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[32, 62, 43, 87], Operations: []
Exploring Operation: 62-43=19, Resulting Numbers: [32, 87, 19]
Generated Node #0,0: 14:[32, 87, 19] Operation: 62-43=19
Exploring Operation: 87-62=25, Resulting Numbers: [32, 43, 25]
Generated Node #0,1: 14:[32, 43, 25] Operation: 87-62=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[32, 43, 25], Operations: ['87-62=25']
Exploring Operation: 43-32=11, Resulting Numbers: [25, 11]
Generated Node #0,1,0: 14:[25, 11] Operation: 43-32=11
Exploring Operation: 43-25=18, Resulting Numbers: [32, 18]
Generated Node #0,1,1: 14:[32, 18] Operation: 43-25=18
Moving to Node #0,1,0
Current State: 14:[25, 11], Operations: ['87-62=25', '43-32=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[32, 62, 43, 87], Operations: []
Exploring Operation: 87-62=25, Resulting Numbers: [32, 43, 25]
Generated Node #0,1: 14:[32, 43, 25] Operation: 87-62=25
Moving to Node #0,1
Current State: 14:[32, 43, 25], Operations: ['87-62=25']
Exploring Operation: 43-32=11, Resulting Numbers: [25, 11]
Generated Node #0,1,0: 14:[25, 11] Operation: 43-32=11
Moving to Node #0,1,0
Current State: 14:[25, 11], Operations: ['87-62=25', '43-32=11']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
81,
90,
3,
26
] | 37 | [
"81/3=27",
"90-26=64",
"64-27=37"
] | Current State: 37:[81, 90, 3, 26], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [90, 26, 27]
Generated Node #2: [90, 26, 27] from Operation: 81/3=27
Current State: 37:[90, 26, 27], Operations: ['81/3=27']
Exploring Operation: 90-26=64, Resulting Numbers: [27, 64]
Generated Node #3: [27, 64] from Operation: 90-26=64
Current State: 37:[27, 64], Operations: ['81/3=27', '90-26=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[81, 90, 3, 26], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [3, 26, 9]
Generated Node #0,0: 37:[3, 26, 9] Operation: 90-81=9
Exploring Operation: 81/3=27, Resulting Numbers: [90, 26, 27]
Generated Node #0,1: 37:[90, 26, 27] Operation: 81/3=27
Exploring Operation: 81-3=78, Resulting Numbers: [90, 26, 78]
Generated Node #0,2: 37:[90, 26, 78] Operation: 81-3=78
Exploring Operation: 90/3=30, Resulting Numbers: [81, 26, 30]
Generated Node #0,3: 37:[81, 26, 30] Operation: 90/3=30
Exploring Operation: 81-26=55, Resulting Numbers: [90, 3, 55]
Generated Node #0,4: 37:[90, 3, 55] Operation: 81-26=55
Moving to Node #0,3
Current State: 37:[81, 26, 30], Operations: ['90/3=30']
Exploring Operation: 81-30=51, Resulting Numbers: [26, 51]
Generated Node #0,3,0: 37:[26, 51] Operation: 81-30=51
Exploring Operation: 30-26=4, Resulting Numbers: [81, 4]
Generated Node #0,3,1: 37:[81, 4] Operation: 30-26=4
Exploring Operation: 81-26=55, Resulting Numbers: [30, 55]
Generated Node #0,3,2: 37:[30, 55] Operation: 81-26=55
Exploring Operation: 26+30=56, Resulting Numbers: [81, 56]
Generated Node #0,3,3: 37:[81, 56] Operation: 26+30=56
Exploring Operation: 81+26=107, Resulting Numbers: [30, 107]
Generated Node #0,3,4: 37:[30, 107] Operation: 81+26=107
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 37:[26, 51], Operations: ['90/3=30', '81-30=51']
Exploring Operation: 26+51=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 26*51=1326, Resulting Numbers: [1326]
1326,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 37:[30, 55], Operations: ['90/3=30', '81-26=55']
Exploring Operation: 30*55=1650, Resulting Numbers: [1650]
1650,37 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 30+55=85, Resulting Numbers: [85]
85,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[81, 56], Operations: ['90/3=30', '26+30=56']
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,37 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[81, 4], Operations: ['90/3=30', '30-26=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,37 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 37:[30, 107], Operations: ['90/3=30', '81+26=107']
Exploring Operation: 30*107=3210, Resulting Numbers: [3210]
3210,37 unequal: No Solution
Exploring Operation: 107-30=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 30+107=137, Resulting Numbers: [137]
137,37 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: 37:[3, 26, 9], Operations: ['90-81=9']
Exploring Operation: 26-3=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 37:[9, 23] Operation: 26-3=23
Exploring Operation: 26+9=35, Resulting Numbers: [3, 35]
Generated Node #0,0,1: 37:[3, 35] Operation: 26+9=35
Exploring Operation: 3*9=27, Resulting Numbers: [26, 27]
Generated Node #0,0,2: 37:[26, 27] Operation: 3*9=27
Exploring Operation: 3+9=12, Resulting Numbers: [26, 12]
Generated Node #0,0,3: 37:[26, 12] Operation: 3+9=12
Exploring Operation: 3+26=29, Resulting Numbers: [9, 29]
Generated Node #0,0,4: 37:[9, 29] Operation: 3+26=29
Moving to Node #0,1
Current State: 37:[90, 26, 27], Operations: ['81/3=27']
Exploring Operation: 90-27=63, Resulting Numbers: [26, 63]
Generated Node #0,1,0: 37:[26, 63] Operation: 90-27=63
Exploring Operation: 26+27=53, Resulting Numbers: [90, 53]
Generated Node #0,1,1: 37:[90, 53] Operation: 26+27=53
Exploring Operation: 27-26=1, Resulting Numbers: [90, 1]
Generated Node #0,1,2: 37:[90, 1] Operation: 27-26=1
Exploring Operation: 90+26=116, Resulting Numbers: [27, 116]
Generated Node #0,1,3: 37:[27, 116] Operation: 90+26=116
Exploring Operation: 90-26=64, Resulting Numbers: [27, 64]
Generated Node #0,1,4: 37:[27, 64] Operation: 90-26=64
Moving to Node #0,2
Current State: 37:[90, 26, 78], Operations: ['81-3=78']
Exploring Operation: 90-26=64, Resulting Numbers: [78, 64]
Generated Node #0,2,0: 37:[78, 64] Operation: 90-26=64
Exploring Operation: 90+26=116, Resulting Numbers: [78, 116]
Generated Node #0,2,1: 37:[78, 116] Operation: 90+26=116
Exploring Operation: 78/26=3, Resulting Numbers: [90, 3]
Generated Node #0,2,2: 37:[90, 3] Operation: 78/26=3
Exploring Operation: 78-26=52, Resulting Numbers: [90, 52]
Generated Node #0,2,3: 37:[90, 52] Operation: 78-26=52
Exploring Operation: 90-78=12, Resulting Numbers: [26, 12]
Generated Node #0,2,4: 37:[26, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 37:[26, 12], Operations: ['81-3=78', '90-78=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,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,2,0
Current State: 37:[78, 64], Operations: ['81-3=78', '90-26=64']
Exploring Operation: 78*64=4992, Resulting Numbers: [4992]
4992,37 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 78+64=142, Resulting Numbers: [142]
142,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,2,3
Current State: 37:[90, 52], Operations: ['81-3=78', '78-26=52']
Exploring Operation: 90-52=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 90*52=4680, Resulting Numbers: [4680]
4680,37 unequal: No Solution
Exploring Operation: 90+52=142, Resulting Numbers: [142]
142,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,2,2
Current State: 37:[90, 3], Operations: ['81-3=78', '78/26=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,37 unequal: No Solution
Exploring Operation: 90*3=270, Resulting Numbers: [270]
270,37 unequal: No Solution
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,37 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,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,2,1
Current State: 37:[78, 116], Operations: ['81-3=78', '90+26=116']
Exploring Operation: 78*116=9048, Resulting Numbers: [9048]
9048,37 unequal: No Solution
Exploring Operation: 78+116=194, Resulting Numbers: [194]
194,37 unequal: No Solution
Exploring Operation: 116-78=38, Resulting Numbers: [38]
38,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 37:[90, 3, 55], Operations: ['81-26=55']
Exploring Operation: 90-55=35, Resulting Numbers: [3, 35]
Generated Node #0,4,0: 37:[3, 35] Operation: 90-55=35
Exploring Operation: 90-3=87, Resulting Numbers: [55, 87]
Generated Node #0,4,1: 37:[55, 87] Operation: 90-3=87
Exploring Operation: 90/3=30, Resulting Numbers: [55, 30]
Generated Node #0,4,2: 37:[55, 30] Operation: 90/3=30
Exploring Operation: 55-3=52, Resulting Numbers: [90, 52]
Generated Node #0,4,3: 37:[90, 52] Operation: 55-3=52
Exploring Operation: 90+3=93, Resulting Numbers: [55, 93]
Generated Node #0,4,4: 37:[55, 93] Operation: 90+3=93
Moving to Node #0,0,2
Current State: 37:[26, 27], Operations: ['90-81=9', '3*9=27']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 26+27=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 26*27=702, Resulting Numbers: [702]
702,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[55, 30], Operations: ['81-26=55', '90/3=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,37 unequal: No Solution
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,37 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[26, 12], Operations: ['90-81=9', '3+9=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 26*12=312, Resulting Numbers: [312]
312,37 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[3, 35], Operations: ['81-26=55', '90-55=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[3, 35], Operations: ['90-81=9', '26+9=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[9, 29], Operations: ['90-81=9', '3+26=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,37 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Moving to Node #0,1,4
Current State: 37:[27, 64], Operations: ['81/3=27', '90-26=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[81, 90, 3, 26], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [90, 26, 27]
Generated Node #0,1: 37:[90, 26, 27] Operation: 81/3=27
Moving to Node #0,1
Current State: 37:[90, 26, 27], Operations: ['81/3=27']
Exploring Operation: 90-26=64, Resulting Numbers: [27, 64]
Generated Node #0,1,4: 37:[27, 64] Operation: 90-26=64
Moving to Node #0,1,4
Current State: 37:[27, 64], Operations: ['81/3=27', '90-26=64']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.927083 | hs_5 | sum_heuristic |
[
28,
29,
46,
44
] | 43 | [
"46-44=2",
"28/2=14",
"29+14=43"
] | Current State: 43:[28, 29, 46, 44], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [28, 29, 2]
Generated Node #2: [28, 29, 2] from Operation: 46-44=2
Current State: 43:[28, 29, 2], Operations: ['46-44=2']
Exploring Operation: 28/2=14, Resulting Numbers: [29, 14]
Generated Node #3: [29, 14] from Operation: 28/2=14
Current State: 43:[29, 14], Operations: ['46-44=2', '28/2=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 29, 46, 44], Operations: []
Exploring Operation: 28+29=57, Resulting Numbers: [46, 44, 57]
Generated Node #0,0: 43:[46, 44, 57] Operation: 28+29=57
Exploring Operation: 46-29=17, Resulting Numbers: [28, 44, 17]
Generated Node #0,1: 43:[28, 44, 17] Operation: 46-29=17
Exploring Operation: 46-28=18, Resulting Numbers: [29, 44, 18]
Generated Node #0,2: 43:[29, 44, 18] Operation: 46-28=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[46, 44, 57], Operations: ['28+29=57']
Exploring Operation: 46-44=2, Resulting Numbers: [57, 2]
Generated Node #0,0,0: 43:[57, 2] Operation: 46-44=2
Exploring Operation: 57-44=13, Resulting Numbers: [46, 13]
Generated Node #0,0,1: 43:[46, 13] Operation: 57-44=13
Exploring Operation: 57-46=11, Resulting Numbers: [44, 11]
Generated Node #0,0,2: 43:[44, 11] Operation: 57-46=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[46, 13], Operations: ['28+29=57', '57-44=13']
Exploring Operation: 46*13=598, Resulting Numbers: [598]
598,43 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 46+13=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[44, 11], Operations: ['28+29=57', '57-46=11']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[57, 2], Operations: ['28+29=57', '46-44=2']
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[29, 44, 18], Operations: ['46-28=18']
Exploring Operation: 44-18=26, Resulting Numbers: [29, 26]
Generated Node #0,2,0: 43:[29, 26] Operation: 44-18=26
Exploring Operation: 29+18=47, Resulting Numbers: [44, 47]
Generated Node #0,2,1: 43:[44, 47] Operation: 29+18=47
Exploring Operation: 29-18=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 43:[44, 11] Operation: 29-18=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[44, 47], Operations: ['46-28=18', '29+18=47']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,43 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[29, 26], Operations: ['46-28=18', '44-18=26']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[44, 11], Operations: ['46-28=18', '29-18=11']
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[28, 44, 17], Operations: ['46-29=17']
Exploring Operation: 28+17=45, Resulting Numbers: [44, 45]
Generated Node #0,1,0: 43:[44, 45] Operation: 28+17=45
Exploring Operation: 28-17=11, Resulting Numbers: [44, 11]
Generated Node #0,1,1: 43:[44, 11] Operation: 28-17=11
Exploring Operation: 44-17=27, Resulting Numbers: [28, 27]
Generated Node #0,1,2: 43:[28, 27] Operation: 44-17=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[44, 45], Operations: ['46-29=17', '28+17=45']
Exploring Operation: 44+45=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 44*45=1980, Resulting Numbers: [1980]
1980,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[28, 27], Operations: ['46-29=17', '44-17=27']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,43 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[44, 11], Operations: ['46-29=17', '28-17=11']
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
4,
59,
51,
60
] | 54 | [
"4+59=63",
"60-51=9",
"63-9=54"
] | Current State: 54:[4, 59, 51, 60], Operations: []
Exploring Operation: 4+59=63, Resulting Numbers: [51, 60, 63]
Generated Node #2: [51, 60, 63] from Operation: 4+59=63
Current State: 54:[51, 60, 63], Operations: ['4+59=63']
Exploring Operation: 60-51=9, Resulting Numbers: [63, 9]
Generated Node #3: [63, 9] from Operation: 60-51=9
Current State: 54:[63, 9], Operations: ['4+59=63', '60-51=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[4, 59, 51, 60], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [4, 51, 1]
Generated Node #0,0: 54:[4, 51, 1] Operation: 60-59=1
Exploring Operation: 60-4=56, Resulting Numbers: [59, 51, 56]
Generated Node #0,1: 54:[59, 51, 56] Operation: 60-4=56
Exploring Operation: 59-51=8, Resulting Numbers: [4, 60, 8]
Generated Node #0,2: 54:[4, 60, 8] Operation: 59-51=8
Exploring Operation: 59-4=55, Resulting Numbers: [51, 60, 55]
Generated Node #0,3: 54:[51, 60, 55] Operation: 59-4=55
Exploring Operation: 60-51=9, Resulting Numbers: [4, 59, 9]
Generated Node #0,4: 54:[4, 59, 9] Operation: 60-51=9
Moving to Node #0,0
Current State: 54:[4, 51, 1], Operations: ['60-59=1']
Exploring Operation: 4*1=4, Resulting Numbers: [51, 4]
Generated Node #0,0,0: 54:[51, 4] Operation: 4*1=4
Exploring Operation: 4+51=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 54:[1, 55] Operation: 4+51=55
Exploring Operation: 4-1=3, Resulting Numbers: [51, 3]
Generated Node #0,0,2: 54:[51, 3] Operation: 4-1=3
Exploring Operation: 51+1=52, Resulting Numbers: [4, 52]
Generated Node #0,0,3: 54:[4, 52] Operation: 51+1=52
Exploring Operation: 4+1=5, Resulting Numbers: [51, 5]
Generated Node #0,0,4: 54:[51, 5] Operation: 4+1=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[1, 55], Operations: ['60-59=1', '4+51=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[4, 59, 51, 60], Operations: []
Exploring Operation: 60-59=1, Resulting Numbers: [4, 51, 1]
Generated Node #0,0: 54:[4, 51, 1] Operation: 60-59=1
Moving to Node #0,0
Current State: 54:[4, 51, 1], Operations: ['60-59=1']
Exploring Operation: 4+51=55, Resulting Numbers: [1, 55]
Generated Node #0,0,1: 54:[1, 55] Operation: 4+51=55
Moving to Node #0,0,1
Current State: 54:[1, 55], Operations: ['60-59=1', '4+51=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
77,
43,
49,
21
] | 20 | [
"43*21=903",
"77+903=980",
"980/49=20"
] | Current State: 20:[77, 43, 49, 21], Operations: []
Exploring Operation: 43*21=903, Resulting Numbers: [77, 49, 903]
Generated Node #2: [77, 49, 903] from Operation: 43*21=903
Current State: 20:[77, 49, 903], Operations: ['43*21=903']
Exploring Operation: 77+903=980, Resulting Numbers: [49, 980]
Generated Node #3: [49, 980] from Operation: 77+903=980
Current State: 20:[49, 980], Operations: ['43*21=903', '77+903=980']
Exploring Operation: 980/49=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[77, 43, 49, 21], Operations: []
Exploring Operation: 77-43=34, Resulting Numbers: [49, 21, 34]
Generated Node #0,0: 20:[49, 21, 34] Operation: 77-43=34
Exploring Operation: 77-49=28, Resulting Numbers: [43, 21, 28]
Generated Node #0,1: 20:[43, 21, 28] Operation: 77-49=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[43, 21, 28], Operations: ['77-49=28']
Exploring Operation: 43-28=15, Resulting Numbers: [21, 15]
Generated Node #0,1,0: 20:[21, 15] Operation: 43-28=15
Exploring Operation: 43-21=22, Resulting Numbers: [28, 22]
Generated Node #0,1,1: 20:[28, 22] Operation: 43-21=22
Moving to Node #0,1,0
Current State: 20:[21, 15], Operations: ['77-49=28', '43-28=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[28, 22], Operations: ['77-49=28', '43-21=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,20 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,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
Current State: 20:[49, 21, 34], Operations: ['77-43=34']
Exploring Operation: 49-34=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 20:[21, 15] Operation: 49-34=15
Exploring Operation: 49-21=28, Resulting Numbers: [34, 28]
Generated Node #0,0,1: 20:[34, 28] Operation: 49-21=28
Moving to Node #0,0,0
Current State: 20:[21, 15], Operations: ['77-43=34', '49-34=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[34, 28], Operations: ['77-43=34', '49-21=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,20 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 |
[
90,
20,
92,
34
] | 61 | [
"90*34=3060",
"3060/20=153",
"153-92=61"
] | Current State: 61:[90, 20, 92, 34], Operations: []
Exploring Operation: 90*34=3060, Resulting Numbers: [20, 92, 3060]
Generated Node #2: [20, 92, 3060] from Operation: 90*34=3060
Current State: 61:[20, 92, 3060], Operations: ['90*34=3060']
Exploring Operation: 3060/20=153, Resulting Numbers: [92, 153]
Generated Node #3: [92, 153] from Operation: 3060/20=153
Current State: 61:[92, 153], Operations: ['90*34=3060', '3060/20=153']
Exploring Operation: 153-92=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[90, 20, 92, 34], Operations: []
Exploring Operation: 90-20=70, Resulting Numbers: [92, 34, 70]
Generated Node #0,0: 61:[92, 34, 70] Operation: 90-20=70
Exploring Operation: 20+34=54, Resulting Numbers: [90, 92, 54]
Generated Node #0,1: 61:[90, 92, 54] Operation: 20+34=54
Exploring Operation: 92-20=72, Resulting Numbers: [90, 34, 72]
Generated Node #0,2: 61:[90, 34, 72] Operation: 92-20=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[92, 34, 70], Operations: ['90-20=70']
Exploring Operation: 92-70=22, Resulting Numbers: [34, 22]
Generated Node #0,0,0: 61:[34, 22] Operation: 92-70=22
Exploring Operation: 70-34=36, Resulting Numbers: [92, 36]
Generated Node #0,0,1: 61:[92, 36] Operation: 70-34=36
Exploring Operation: 92-34=58, Resulting Numbers: [70, 58]
Generated Node #0,0,2: 61:[70, 58] Operation: 92-34=58
Moving to Node #0,0,2
Current State: 61:[70, 58], Operations: ['90-20=70', '92-34=58']
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,61 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[92, 36], Operations: ['90-20=70', '70-34=36']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 92*36=3312, Resulting Numbers: [3312]
3312,61 unequal: No Solution
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[34, 22], Operations: ['90-20=70', '92-70=22']
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,61 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[90, 92, 54], Operations: ['20+34=54']
Exploring Operation: 92-54=38, Resulting Numbers: [90, 38]
Generated Node #0,1,0: 61:[90, 38] Operation: 92-54=38
Exploring Operation: 92-90=2, Resulting Numbers: [54, 2]
Generated Node #0,1,1: 61:[54, 2] Operation: 92-90=2
Exploring Operation: 90-54=36, Resulting Numbers: [92, 36]
Generated Node #0,1,2: 61:[92, 36] Operation: 90-54=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[90, 38], Operations: ['20+34=54', '92-54=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,61 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[92, 36], Operations: ['20+34=54', '90-54=36']
Exploring Operation: 92*36=3312, Resulting Numbers: [3312]
3312,61 unequal: No Solution
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 92+36=128, Resulting Numbers: [128]
128,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[54, 2], Operations: ['20+34=54', '92-90=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[90, 34, 72], Operations: ['92-20=72']
Exploring Operation: 90-34=56, Resulting Numbers: [72, 56]
Generated Node #0,2,0: 61:[72, 56] Operation: 90-34=56
Exploring Operation: 72-34=38, Resulting Numbers: [90, 38]
Generated Node #0,2,1: 61:[90, 38] Operation: 72-34=38
Exploring Operation: 90-72=18, Resulting Numbers: [34, 18]
Generated Node #0,2,2: 61:[34, 18] Operation: 90-72=18
Moving to Node #0,2,0
Current State: 61:[72, 56], Operations: ['92-20=72', '90-34=56']
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 72*56=4032, Resulting Numbers: [4032]
4032,61 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[90, 38], Operations: ['92-20=72', '72-34=38']
Exploring Operation: 90+38=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 90*38=3420, Resulting Numbers: [3420]
3420,61 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[34, 18], Operations: ['92-20=72', '90-72=18']
Exploring Operation: 34*18=612, Resulting Numbers: [612]
612,61 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,61 unequal: No Solution
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,61 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 |
[
33,
95,
90,
7
] | 68 | [
"95-90=5",
"7*5=35",
"33+35=68"
] | Current State: 68:[33, 95, 90, 7], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [33, 7, 5]
Generated Node #2: [33, 7, 5] from Operation: 95-90=5
Current State: 68:[33, 7, 5], Operations: ['95-90=5']
Exploring Operation: 7*5=35, Resulting Numbers: [33, 35]
Generated Node #3: [33, 35] from Operation: 7*5=35
Current State: 68:[33, 35], Operations: ['95-90=5', '7*5=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[33, 95, 90, 7], Operations: []
Exploring Operation: 90-7=83, Resulting Numbers: [33, 95, 83]
Generated Node #0,0: 68:[33, 95, 83] Operation: 90-7=83
Exploring Operation: 95-33=62, Resulting Numbers: [90, 7, 62]
Generated Node #0,1: 68:[90, 7, 62] Operation: 95-33=62
Exploring Operation: 95-90=5, Resulting Numbers: [33, 7, 5]
Generated Node #0,2: 68:[33, 7, 5] Operation: 95-90=5
Exploring Operation: 95-7=88, Resulting Numbers: [33, 90, 88]
Generated Node #0,3: 68:[33, 90, 88] Operation: 95-7=88
Exploring Operation: 90-33=57, Resulting Numbers: [95, 7, 57]
Generated Node #0,4: 68:[95, 7, 57] Operation: 90-33=57
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[33, 7, 5], Operations: ['95-90=5']
Exploring Operation: 33+5=38, Resulting Numbers: [7, 38]
Generated Node #0,2,0: 68:[7, 38] Operation: 33+5=38
Exploring Operation: 33+7=40, Resulting Numbers: [5, 40]
Generated Node #0,2,1: 68:[5, 40] Operation: 33+7=40
Exploring Operation: 7*5=35, Resulting Numbers: [33, 35]
Generated Node #0,2,2: 68:[33, 35] Operation: 7*5=35
Exploring Operation: 7+5=12, Resulting Numbers: [33, 12]
Generated Node #0,2,3: 68:[33, 12] Operation: 7+5=12
Exploring Operation: 7-5=2, Resulting Numbers: [33, 2]
Generated Node #0,2,4: 68:[33, 2] Operation: 7-5=2
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 68:[33, 2], Operations: ['95-90=5', '7-5=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,68 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[33, 35], Operations: ['95-90=5', '7*5=35']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 33*35=1155, Resulting Numbers: [1155]
1155,68 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[33, 95, 90, 7], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [33, 7, 5]
Generated Node #0,2: 68:[33, 7, 5] Operation: 95-90=5
Moving to Node #0,2
Current State: 68:[33, 7, 5], Operations: ['95-90=5']
Exploring Operation: 7*5=35, Resulting Numbers: [33, 35]
Generated Node #0,2,2: 68:[33, 35] Operation: 7*5=35
Moving to Node #0,2,2
Current State: 68:[33, 35], Operations: ['95-90=5', '7*5=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
21,
18,
75,
1
] | 71 | [
"21-18=3",
"75-1=74",
"74-3=71"
] | Current State: 71:[21, 18, 75, 1], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [75, 1, 3]
Generated Node #2: [75, 1, 3] from Operation: 21-18=3
Current State: 71:[75, 1, 3], Operations: ['21-18=3']
Exploring Operation: 75-1=74, Resulting Numbers: [3, 74]
Generated Node #3: [3, 74] from Operation: 75-1=74
Current State: 71:[3, 74], Operations: ['21-18=3', '75-1=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[21, 18, 75, 1], Operations: []
Exploring Operation: 21+18=39, Resulting Numbers: [75, 1, 39]
Generated Node #0,0: 71:[75, 1, 39] Operation: 21+18=39
Exploring Operation: 21+1=22, Resulting Numbers: [18, 75, 22]
Generated Node #0,1: 71:[18, 75, 22] Operation: 21+1=22
Moving to Node #0,0
Current State: 71:[75, 1, 39], Operations: ['21+18=39']
Exploring Operation: 1+39=40, Resulting Numbers: [75, 40]
Generated Node #0,0,0: 71:[75, 40] Operation: 1+39=40
Exploring Operation: 75-1=74, Resulting Numbers: [39, 74]
Generated Node #0,0,1: 71:[39, 74] Operation: 75-1=74
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[75, 40], Operations: ['21+18=39', '1+39=40']
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[39, 74], Operations: ['21+18=39', '75-1=74']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 71:[18, 75, 22], Operations: ['21+1=22']
Exploring Operation: 75-18=57, Resulting Numbers: [22, 57]
Generated Node #0,1,0: 71:[22, 57] Operation: 75-18=57
Exploring Operation: 18+22=40, Resulting Numbers: [75, 40]
Generated Node #0,1,1: 71:[75, 40] Operation: 18+22=40
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[75, 40], Operations: ['21+1=22', '18+22=40']
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[22, 57], Operations: ['21+1=22', '75-18=57']
Exploring Operation: 57-22=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 22+57=79, Resulting Numbers: [79]
79,71 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 |
[
80,
84,
83,
6
] | 66 | [
"83-80=3",
"6*3=18",
"84-18=66"
] | Current State: 66:[80, 84, 83, 6], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [84, 6, 3]
Generated Node #2: [84, 6, 3] from Operation: 83-80=3
Current State: 66:[84, 6, 3], Operations: ['83-80=3']
Exploring Operation: 6*3=18, Resulting Numbers: [84, 18]
Generated Node #3: [84, 18] from Operation: 6*3=18
Current State: 66:[84, 18], Operations: ['83-80=3', '6*3=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[80, 84, 83, 6], Operations: []
Exploring Operation: 84/6=14, Resulting Numbers: [80, 83, 14]
Generated Node #0,0: 66:[80, 83, 14] Operation: 84/6=14
Exploring Operation: 83-80=3, Resulting Numbers: [84, 6, 3]
Generated Node #0,1: 66:[84, 6, 3] Operation: 83-80=3
Exploring Operation: 84-80=4, Resulting Numbers: [83, 6, 4]
Generated Node #0,2: 66:[83, 6, 4] Operation: 84-80=4
Exploring Operation: 84-83=1, Resulting Numbers: [80, 6, 1]
Generated Node #0,3: 66:[80, 6, 1] Operation: 84-83=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[80, 6, 1], Operations: ['84-83=1']
Exploring Operation: 80-6=74, Resulting Numbers: [1, 74]
Generated Node #0,3,0: 66:[1, 74] Operation: 80-6=74
Exploring Operation: 80*1=80, Resulting Numbers: [6, 80]
Generated Node #0,3,1: 66:[6, 80] Operation: 80*1=80
Exploring Operation: 80-1=79, Resulting Numbers: [6, 79]
Generated Node #0,3,2: 66:[6, 79] Operation: 80-1=79
Exploring Operation: 80/1=80, Resulting Numbers: [6, 80]
Generated Node #0,3,3: 66:[6, 80] Operation: 80/1=80
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 66:[1, 74], Operations: ['84-83=1', '80-6=74']
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,66 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 66:[6, 79], Operations: ['84-83=1', '80-1=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,66 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 66:[6, 80], Operations: ['84-83=1', '80*1=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,66 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[6, 80], Operations: ['84-83=1', '80/1=80']
Exploring Operation: 6+80=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 6*80=480, Resulting Numbers: [480]
480,66 unequal: No Solution
Exploring Operation: 80-6=74, Resulting Numbers: [74]
74,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:[84, 6, 3], Operations: ['83-80=3']
Exploring Operation: 84-6=78, Resulting Numbers: [3, 78]
Generated Node #0,1,0: 66:[3, 78] Operation: 84-6=78
Exploring Operation: 84-3=81, Resulting Numbers: [6, 81]
Generated Node #0,1,1: 66:[6, 81] Operation: 84-3=81
Exploring Operation: 84/6=14, Resulting Numbers: [3, 14]
Generated Node #0,1,2: 66:[3, 14] Operation: 84/6=14
Exploring Operation: 84/3=28, Resulting Numbers: [6, 28]
Generated Node #0,1,3: 66:[6, 28] Operation: 84/3=28
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[3, 14], Operations: ['83-80=3', '84/6=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,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,1,3
Current State: 66:[6, 28], Operations: ['83-80=3', '84/3=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,66 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,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,1,0
Current State: 66:[3, 78], Operations: ['83-80=3', '84-6=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,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,1,1
Current State: 66:[6, 81], Operations: ['83-80=3', '84-3=81']
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,66 unequal: No Solution
Exploring Operation: 6+81=87, Resulting Numbers: [87]
87,66 unequal: No Solution
Exploring Operation: 6*81=486, Resulting Numbers: [486]
486,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,2
Current State: 66:[83, 6, 4], Operations: ['84-80=4']
Exploring Operation: 83-6=77, Resulting Numbers: [4, 77]
Generated Node #0,2,0: 66:[4, 77] Operation: 83-6=77
Exploring Operation: 83-4=79, Resulting Numbers: [6, 79]
Generated Node #0,2,1: 66:[6, 79] Operation: 83-4=79
Exploring Operation: 6-4=2, Resulting Numbers: [83, 2]
Generated Node #0,2,2: 66:[83, 2] Operation: 6-4=2
Exploring Operation: 6+4=10, Resulting Numbers: [83, 10]
Generated Node #0,2,3: 66:[83, 10] Operation: 6+4=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[4, 77], Operations: ['84-80=4', '83-6=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,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,2,1
Current State: 66:[6, 79], Operations: ['84-80=4', '83-4=79']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,66 unequal: No Solution
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,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,2,2
Current State: 66:[83, 2], Operations: ['84-80=4', '6-4=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,66 unequal: No Solution
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,66 unequal: No Solution
Exploring Operation: 83+2=85, Resulting Numbers: [85]
85,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,2,3
Current State: 66:[83, 10], Operations: ['84-80=4', '6+4=10']
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,66 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,66 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,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,0
Current State: 66:[80, 83, 14], Operations: ['84/6=14']
Exploring Operation: 80-14=66, Resulting Numbers: [83, 66]
Generated Node #0,0,0: 66:[83, 66] Operation: 80-14=66
Exploring Operation: 83-80=3, Resulting Numbers: [14, 3]
Generated Node #0,0,1: 66:[14, 3] Operation: 83-80=3
Exploring Operation: 83-14=69, Resulting Numbers: [80, 69]
Generated Node #0,0,2: 66:[80, 69] Operation: 83-14=69
Exploring Operation: 80+14=94, Resulting Numbers: [83, 94]
Generated Node #0,0,3: 66:[83, 94] Operation: 80+14=94
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 66:[14, 3], Operations: ['84/6=14', '83-80=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,66 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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:[83, 66], Operations: ['84/6=14', '80-14=66']
Exploring Operation: 83+66=149, Resulting Numbers: [149]
149,66 unequal: No Solution
Exploring Operation: 83*66=5478, Resulting Numbers: [5478]
5478,66 unequal: No Solution
Exploring Operation: 83-66=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,2
Current State: 66:[80, 69], Operations: ['84/6=14', '83-14=69']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,66 unequal: No Solution
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,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:[83, 94], Operations: ['84/6=14', '80+14=94']
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,66 unequal: No Solution
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,66 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
97,
26,
85,
59
] | 45 | [
"97-26=71",
"85-59=26",
"71-26=45"
] | Current State: 45:[97, 26, 85, 59], Operations: []
Exploring Operation: 97-26=71, Resulting Numbers: [85, 59, 71]
Generated Node #2: [85, 59, 71] from Operation: 97-26=71
Current State: 45:[85, 59, 71], Operations: ['97-26=71']
Exploring Operation: 85-59=26, Resulting Numbers: [71, 26]
Generated Node #3: [71, 26] from Operation: 85-59=26
Current State: 45:[71, 26], Operations: ['97-26=71', '85-59=26']
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[97, 26, 85, 59], Operations: []
Exploring Operation: 85-26=59, Resulting Numbers: [97, 59, 59]
Generated Node #0,0: 45:[97, 59, 59] Operation: 85-26=59
Exploring Operation: 97-59=38, Resulting Numbers: [26, 85, 38]
Generated Node #0,1: 45:[26, 85, 38] Operation: 97-59=38
Exploring Operation: 97-85=12, Resulting Numbers: [26, 59, 12]
Generated Node #0,2: 45:[26, 59, 12] Operation: 97-85=12
Exploring Operation: 97-26=71, Resulting Numbers: [85, 59, 71]
Generated Node #0,3: 45:[85, 59, 71] Operation: 97-26=71
Exploring Operation: 85-59=26, Resulting Numbers: [97, 26, 26]
Generated Node #0,4: 45:[97, 26, 26] Operation: 85-59=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[26, 59, 12], Operations: ['97-85=12']
Exploring Operation: 59-12=47, Resulting Numbers: [26, 47]
Generated Node #0,2,0: 45:[26, 47] Operation: 59-12=47
Exploring Operation: 26+12=38, Resulting Numbers: [59, 38]
Generated Node #0,2,1: 45:[59, 38] Operation: 26+12=38
Exploring Operation: 59+12=71, Resulting Numbers: [26, 71]
Generated Node #0,2,2: 45:[26, 71] Operation: 59+12=71
Exploring Operation: 59-26=33, Resulting Numbers: [12, 33]
Generated Node #0,2,3: 45:[12, 33] Operation: 59-26=33
Exploring Operation: 26-12=14, Resulting Numbers: [59, 14]
Generated Node #0,2,4: 45:[59, 14] Operation: 26-12=14
Moving to Node #0,2,0
Current State: 45:[26, 47], Operations: ['97-85=12', '59-12=47']
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,45 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[59, 14], Operations: ['97-85=12', '26-12=14']
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,45 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[97, 26, 85, 59], Operations: []
Exploring Operation: 97-85=12, Resulting Numbers: [26, 59, 12]
Generated Node #0,2: 45:[26, 59, 12] Operation: 97-85=12
Moving to Node #0,2
Current State: 45:[26, 59, 12], Operations: ['97-85=12']
Exploring Operation: 26-12=14, Resulting Numbers: [59, 14]
Generated Node #0,2,4: 45:[59, 14] Operation: 26-12=14
Moving to Node #0,2,4
Current State: 45:[59, 14], Operations: ['97-85=12', '26-12=14']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
5,
26,
52,
13
] | 99 | [
"26*52=1352",
"1352/13=104",
"104-5=99"
] | Current State: 99:[5, 26, 52, 13], Operations: []
Exploring Operation: 26*52=1352, Resulting Numbers: [5, 13, 1352]
Generated Node #2: [5, 13, 1352] from Operation: 26*52=1352
Current State: 99:[5, 13, 1352], Operations: ['26*52=1352']
Exploring Operation: 1352/13=104, Resulting Numbers: [5, 104]
Generated Node #3: [5, 104] from Operation: 1352/13=104
Current State: 99:[5, 104], Operations: ['26*52=1352', '1352/13=104']
Exploring Operation: 104-5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[5, 26, 52, 13], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [5, 13, 2]
Generated Node #0,0: 99:[5, 13, 2] Operation: 52/26=2
Exploring Operation: 52/13=4, Resulting Numbers: [5, 26, 4]
Generated Node #0,1: 99:[5, 26, 4] Operation: 52/13=4
Exploring Operation: 52-26=26, Resulting Numbers: [5, 13, 26]
Generated Node #0,2: 99:[5, 13, 26] Operation: 52-26=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[5, 13, 2], Operations: ['52/26=2']
Exploring Operation: 13-2=11, Resulting Numbers: [5, 11]
Generated Node #0,0,0: 99:[5, 11] Operation: 13-2=11
Exploring Operation: 13-5=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 99:[2, 8] Operation: 13-5=8
Exploring Operation: 5-2=3, Resulting Numbers: [13, 3]
Generated Node #0,0,2: 99:[13, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[5, 11], Operations: ['52/26=2', '13-2=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,99 unequal: No Solution
No 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: 99:[2, 8], Operations: ['52/26=2', '13-5=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,99 unequal: No Solution
No 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: 99:[13, 3], Operations: ['52/26=2', '5-2=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,99 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,99 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: 99:[5, 26, 4], Operations: ['52/13=4']
Exploring Operation: 5+26=31, Resulting Numbers: [4, 31]
Generated Node #0,1,0: 99:[4, 31] Operation: 5+26=31
Exploring Operation: 5+4=9, Resulting Numbers: [26, 9]
Generated Node #0,1,1: 99:[26, 9] Operation: 5+4=9
Exploring Operation: 26+4=30, Resulting Numbers: [5, 30]
Generated Node #0,1,2: 99:[5, 30] Operation: 26+4=30
Moving to Node #0,1,0
Current State: 99:[4, 31], Operations: ['52/13=4', '5+26=31']
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,99 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,99 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[5, 30], Operations: ['52/13=4', '26+4=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,99 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[26, 9], Operations: ['52/13=4', '5+4=9']
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,99 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[5, 13, 26], Operations: ['52-26=26']
Exploring Operation: 5+26=31, Resulting Numbers: [13, 31]
Generated Node #0,2,0: 99:[13, 31] Operation: 5+26=31
Exploring Operation: 26/13=2, Resulting Numbers: [5, 2]
Generated Node #0,2,1: 99:[5, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [5, 13]
Generated Node #0,2,2: 99:[5, 13] Operation: 26-13=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[5, 2], Operations: ['52-26=26', '26/13=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,99 unequal: No Solution
No 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: 99:[13, 31], Operations: ['52-26=26', '5+26=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,99 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,99 unequal: No Solution
No 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: 99:[5, 13], Operations: ['52-26=26', '26-13=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,99 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,99 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 |
[
79,
2,
90,
41
] | 64 | [
"79+90=169",
"169-41=128",
"128/2=64"
] | Current State: 64:[79, 2, 90, 41], Operations: []
Exploring Operation: 79+90=169, Resulting Numbers: [2, 41, 169]
Generated Node #2: [2, 41, 169] from Operation: 79+90=169
Current State: 64:[2, 41, 169], Operations: ['79+90=169']
Exploring Operation: 169-41=128, Resulting Numbers: [2, 128]
Generated Node #3: [2, 128] from Operation: 169-41=128
Current State: 64:[2, 128], Operations: ['79+90=169', '169-41=128']
Exploring Operation: 128/2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[79, 2, 90, 41], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [2, 41, 11]
Generated Node #0,0: 64:[2, 41, 11] Operation: 90-79=11
Exploring Operation: 90-41=49, Resulting Numbers: [79, 2, 49]
Generated Node #0,1: 64:[79, 2, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[2, 41, 11], Operations: ['90-79=11']
Exploring Operation: 41-2=39, Resulting Numbers: [11, 39]
Generated Node #0,0,0: 64:[11, 39] Operation: 41-2=39
Exploring Operation: 41-11=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 64:[2, 30] Operation: 41-11=30
Moving to Node #0,0,1
Current State: 64:[2, 30], Operations: ['90-79=11', '41-11=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[11, 39], Operations: ['90-79=11', '41-2=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[79, 2, 49], Operations: ['90-41=49']
Exploring Operation: 79-49=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 64:[2, 30] Operation: 79-49=30
Exploring Operation: 79-2=77, Resulting Numbers: [49, 77]
Generated Node #0,1,1: 64:[49, 77] Operation: 79-2=77
Moving to Node #0,1,0
Current State: 64:[2, 30], Operations: ['90-41=49', '79-49=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,64 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[49, 77], Operations: ['90-41=49', '79-2=77']
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,64 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,
3,
72,
29
] | 45 | [
"40+29=69",
"72/3=24",
"69-24=45"
] | Current State: 45:[40, 3, 72, 29], Operations: []
Exploring Operation: 40+29=69, Resulting Numbers: [3, 72, 69]
Generated Node #2: [3, 72, 69] from Operation: 40+29=69
Current State: 45:[3, 72, 69], Operations: ['40+29=69']
Exploring Operation: 72/3=24, Resulting Numbers: [69, 24]
Generated Node #3: [69, 24] from Operation: 72/3=24
Current State: 45:[69, 24], Operations: ['40+29=69', '72/3=24']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[40, 3, 72, 29], Operations: []
Exploring Operation: 72-29=43, Resulting Numbers: [40, 3, 43]
Generated Node #0,0: 45:[40, 3, 43] Operation: 72-29=43
Moving to Node #0,0
Current State: 45:[40, 3, 43], Operations: ['72-29=43']
Exploring Operation: 43-40=3, Resulting Numbers: [3, 3]
Generated Node #0,0,0: 45:[3, 3] Operation: 43-40=3
Moving to Node #0,0,0
Current State: 45:[3, 3], Operations: ['72-29=43', '43-40=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,45 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
2,
9,
5
] | 30 | [
"5-2=3",
"63/3=21",
"9+21=30"
] | Current State: 30:[63, 2, 9, 5], Operations: []
Exploring Operation: 5-2=3, Resulting Numbers: [63, 9, 3]
Generated Node #2: [63, 9, 3] from Operation: 5-2=3
Current State: 30:[63, 9, 3], Operations: ['5-2=3']
Exploring Operation: 63/3=21, Resulting Numbers: [9, 21]
Generated Node #3: [9, 21] from Operation: 63/3=21
Current State: 30:[9, 21], Operations: ['5-2=3', '63/3=21']
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[63, 2, 9, 5], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [2, 5, 7]
Generated Node #0,0: 30:[2, 5, 7] Operation: 63/9=7
Exploring Operation: 63-5=58, Resulting Numbers: [2, 9, 58]
Generated Node #0,1: 30:[2, 9, 58] Operation: 63-5=58
Exploring Operation: 63-2=61, Resulting Numbers: [9, 5, 61]
Generated Node #0,2: 30:[9, 5, 61] Operation: 63-2=61
Exploring Operation: 63-9=54, Resulting Numbers: [2, 5, 54]
Generated Node #0,3: 30:[2, 5, 54] Operation: 63-9=54
Moving to Node #0,0
Current State: 30:[2, 5, 7], Operations: ['63/9=7']
Exploring Operation: 2*5=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 30:[7, 10] Operation: 2*5=10
Exploring Operation: 7-5=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 30:[2, 2] Operation: 7-5=2
Exploring Operation: 5-2=3, Resulting Numbers: [7, 3]
Generated Node #0,0,2: 30:[7, 3] Operation: 5-2=3
Exploring Operation: 7-2=5, Resulting Numbers: [5, 5]
Generated Node #0,0,3: 30:[5, 5] Operation: 7-2=5
Moving to Node #0,3
Current State: 30:[2, 5, 54], Operations: ['63-9=54']
Exploring Operation: 54/2=27, Resulting Numbers: [5, 27]
Generated Node #0,3,0: 30:[5, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [5, 52]
Generated Node #0,3,1: 30:[5, 52] Operation: 54-2=52
Exploring Operation: 54-5=49, Resulting Numbers: [2, 49]
Generated Node #0,3,2: 30:[2, 49] Operation: 54-5=49
Exploring Operation: 2*5=10, Resulting Numbers: [54, 10]
Generated Node #0,3,3: 30:[54, 10] Operation: 2*5=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[5, 27], Operations: ['63-9=54', '54/2=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,30 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,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,3,2
Current State: 30:[2, 49], Operations: ['63-9=54', '54-5=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,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,3,1
Current State: 30:[5, 52], Operations: ['63-9=54', '54-2=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,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,3,3
Current State: 30:[54, 10], Operations: ['63-9=54', '2*5=10']
Exploring Operation: 54*10=540, Resulting Numbers: [540]
540,30 unequal: No Solution
Exploring Operation: 54+10=64, Resulting Numbers: [64]
64,30 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,30 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: 30:[2, 9, 58], Operations: ['63-5=58']
Exploring Operation: 58-9=49, Resulting Numbers: [2, 49]
Generated Node #0,1,0: 30:[2, 49] Operation: 58-9=49
Exploring Operation: 2+9=11, Resulting Numbers: [58, 11]
Generated Node #0,1,1: 30:[58, 11] Operation: 2+9=11
Exploring Operation: 58/2=29, Resulting Numbers: [9, 29]
Generated Node #0,1,2: 30:[9, 29] Operation: 58/2=29
Exploring Operation: 58-2=56, Resulting Numbers: [9, 56]
Generated Node #0,1,3: 30:[9, 56] Operation: 58-2=56
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[9, 29], Operations: ['63-5=58', '58/2=29']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,30 unequal: No Solution
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[2, 49], Operations: ['63-5=58', '58-9=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,30 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[9, 56], Operations: ['63-5=58', '58-2=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,30 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[58, 11], Operations: ['63-5=58', '2+9=11']
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,30 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,30 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: 30:[9, 5, 61], Operations: ['63-2=61']
Exploring Operation: 61-9=52, Resulting Numbers: [5, 52]
Generated Node #0,2,0: 30:[5, 52] Operation: 61-9=52
Exploring Operation: 61-5=56, Resulting Numbers: [9, 56]
Generated Node #0,2,1: 30:[9, 56] Operation: 61-5=56
Exploring Operation: 9-5=4, Resulting Numbers: [61, 4]
Generated Node #0,2,2: 30:[61, 4] Operation: 9-5=4
Exploring Operation: 9+5=14, Resulting Numbers: [61, 14]
Generated Node #0,2,3: 30:[61, 14] Operation: 9+5=14
Moving to Node #0,0,1
Current State: 30:[2, 2], Operations: ['63/9=7', '7-5=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Moving to Node #0,0,3
Current State: 30:[5, 5], Operations: ['63/9=7', '7-2=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[7, 10], Operations: ['63/9=7', '2*5=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,30 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,0,2
Current State: 30:[7, 3], Operations: ['63/9=7', '5-2=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[5, 52], Operations: ['63-2=61', '61-9=52']
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,30 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[9, 56], Operations: ['63-2=61', '61-5=56']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 9*56=504, Resulting Numbers: [504]
504,30 unequal: No Solution
Exploring Operation: 9+56=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Moving to Node #0,2,3
Current State: 30:[61, 14], Operations: ['63-2=61', '9+5=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,30 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,30 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[61, 4], Operations: ['63-2=61', '9-5=4']
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,30 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,30 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
85,
98,
3
] | 49 | [
"98-85=13",
"3*13=39",
"88-39=49"
] | Current State: 49:[88, 85, 98, 3], Operations: []
Exploring Operation: 98-85=13, Resulting Numbers: [88, 3, 13]
Generated Node #2: [88, 3, 13] from Operation: 98-85=13
Current State: 49:[88, 3, 13], Operations: ['98-85=13']
Exploring Operation: 3*13=39, Resulting Numbers: [88, 39]
Generated Node #3: [88, 39] from Operation: 3*13=39
Current State: 49:[88, 39], Operations: ['98-85=13', '3*13=39']
Exploring Operation: 88-39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[88, 85, 98, 3], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [98, 3, 3]
Generated Node #0,0: 49:[98, 3, 3] Operation: 88-85=3
Exploring Operation: 98-88=10, Resulting Numbers: [85, 3, 10]
Generated Node #0,1: 49:[85, 3, 10] Operation: 98-88=10
Exploring Operation: 88-3=85, Resulting Numbers: [85, 98, 85]
Generated Node #0,2: 49:[85, 98, 85] Operation: 88-3=85
Exploring Operation: 98-85=13, Resulting Numbers: [88, 3, 13]
Generated Node #0,3: 49:[88, 3, 13] Operation: 98-85=13
Moving to Node #0,1
Current State: 49:[85, 3, 10], Operations: ['98-88=10']
Exploring Operation: 85+3=88, Resulting Numbers: [10, 88]
Generated Node #0,1,0: 49:[10, 88] Operation: 85+3=88
Exploring Operation: 85-3=82, Resulting Numbers: [10, 82]
Generated Node #0,1,1: 49:[10, 82] Operation: 85-3=82
Exploring Operation: 85-10=75, Resulting Numbers: [3, 75]
Generated Node #0,1,2: 49:[3, 75] Operation: 85-10=75
Exploring Operation: 10-3=7, Resulting Numbers: [85, 7]
Generated Node #0,1,3: 49:[85, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[3, 75], Operations: ['98-88=10', '85-10=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[10, 82], Operations: ['98-88=10', '85-3=82']
Exploring Operation: 10*82=820, Resulting Numbers: [820]
820,49 unequal: No Solution
Exploring Operation: 10+82=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 82-10=72, Resulting Numbers: [72]
72,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[85, 7], Operations: ['98-88=10', '10-3=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 85*7=595, Resulting Numbers: [595]
595,49 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[10, 88], Operations: ['98-88=10', '85+3=88']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 10+88=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 10*88=880, Resulting Numbers: [880]
880,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 49:[88, 3, 13], Operations: ['98-85=13']
Exploring Operation: 88+3=91, Resulting Numbers: [13, 91]
Generated Node #0,3,0: 49:[13, 91] Operation: 88+3=91
Exploring Operation: 88-3=85, Resulting Numbers: [13, 85]
Generated Node #0,3,1: 49:[13, 85] Operation: 88-3=85
Exploring Operation: 88-13=75, Resulting Numbers: [3, 75]
Generated Node #0,3,2: 49:[3, 75] Operation: 88-13=75
Exploring Operation: 13-3=10, Resulting Numbers: [88, 10]
Generated Node #0,3,3: 49:[88, 10] Operation: 13-3=10
Moving to Node #0,0
Current State: 49:[98, 3, 3], Operations: ['88-85=3']
Exploring Operation: 3*3=9, Resulting Numbers: [98, 9]
Generated Node #0,0,0: 49:[98, 9] Operation: 3*3=9
Exploring Operation: 98-3=95, Resulting Numbers: [3, 95]
Generated Node #0,0,1: 49:[3, 95] Operation: 98-3=95
Exploring Operation: 98-3=95, Resulting Numbers: [3, 95]
Generated Node #0,0,2: 49:[3, 95] Operation: 98-3=95
Exploring Operation: 3+3=6, Resulting Numbers: [98, 6]
Generated Node #0,0,3: 49:[98, 6] Operation: 3+3=6
Moving to Node #0,2
Current State: 49:[85, 98, 85], Operations: ['88-3=85']
Exploring Operation: 85/85=1, Resulting Numbers: [98, 1]
Generated Node #0,2,0: 49:[98, 1] Operation: 85/85=1
Exploring Operation: 85-85=0, Resulting Numbers: [98, 0]
Generated Node #0,2,1: 49:[98, 0] Operation: 85-85=0
Exploring Operation: 98-85=13, Resulting Numbers: [85, 13]
Generated Node #0,2,2: 49:[85, 13] Operation: 98-85=13
Exploring Operation: 98-85=13, Resulting Numbers: [85, 13]
Generated Node #0,2,3: 49:[85, 13] Operation: 98-85=13
Moving to Node #0,3,2
Current State: 49:[3, 75], Operations: ['98-85=13', '88-13=75']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,49 unequal: No Solution
Moving to Node #0,3,3
Current State: 49:[88, 10], Operations: ['98-85=13', '13-3=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,49 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,3,1
Current State: 49:[13, 85], Operations: ['98-85=13', '88-3=85']
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,49 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[85, 13], Operations: ['88-3=85', '98-85=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,49 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[85, 13], Operations: ['88-3=85', '98-85=13']
Exploring Operation: 85+13=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 85*13=1105, Resulting Numbers: [1105]
1105,49 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,49 unequal: No Solution
Moving to Node #0,3,0
Current State: 49:[13, 91], Operations: ['98-85=13', '88+3=91']
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,49 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,49 unequal: No Solution
Moving to Node #0,0,3
Current State: 49:[98, 6], Operations: ['88-85=3', '3+3=6']
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,49 unequal: No Solution
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[3, 95], Operations: ['88-85=3', '98-3=95']
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,49 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[3, 95], Operations: ['88-85=3', '98-3=95']
Exploring Operation: 3+95=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,49 unequal: No Solution
Exploring Operation: 3*95=285, Resulting Numbers: [285]
285,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[98, 9], Operations: ['88-85=3', '3*3=9']
Exploring Operation: 98*9=882, Resulting Numbers: [882]
882,49 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,49 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[98, 1], Operations: ['88-3=85', '85/85=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,49 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[98, 0], Operations: ['88-3=85', '85-85=0']
Exploring Operation: 98*0=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 98+0=98, Resulting Numbers: [98]
98,49 unequal: No Solution
Exploring Operation: 98-0=98, Resulting Numbers: [98]
98,49 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
1,
98,
83,
40
] | 55 | [
"1*98=98",
"83-40=43",
"98-43=55"
] | Current State: 55:[1, 98, 83, 40], Operations: []
Exploring Operation: 1*98=98, Resulting Numbers: [83, 40, 98]
Generated Node #2: [83, 40, 98] from Operation: 1*98=98
Current State: 55:[83, 40, 98], Operations: ['1*98=98']
Exploring Operation: 83-40=43, Resulting Numbers: [98, 43]
Generated Node #3: [98, 43] from Operation: 83-40=43
Current State: 55:[98, 43], Operations: ['1*98=98', '83-40=43']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[1, 98, 83, 40], Operations: []
Exploring Operation: 98-1=97, Resulting Numbers: [83, 40, 97]
Generated Node #0,0: 55:[83, 40, 97] Operation: 98-1=97
Exploring Operation: 98-40=58, Resulting Numbers: [1, 83, 58]
Generated Node #0,1: 55:[1, 83, 58] Operation: 98-40=58
Exploring Operation: 98-83=15, Resulting Numbers: [1, 40, 15]
Generated Node #0,2: 55:[1, 40, 15] Operation: 98-83=15
Exploring Operation: 83-40=43, Resulting Numbers: [1, 98, 43]
Generated Node #0,3: 55:[1, 98, 43] Operation: 83-40=43
Moving to Node #0,2
Current State: 55:[1, 40, 15], Operations: ['98-83=15']
Exploring Operation: 40-15=25, Resulting Numbers: [1, 25]
Generated Node #0,2,0: 55:[1, 25] Operation: 40-15=25
Exploring Operation: 15-1=14, Resulting Numbers: [40, 14]
Generated Node #0,2,1: 55:[40, 14] Operation: 15-1=14
Exploring Operation: 40+15=55, Resulting Numbers: [1, 55]
Generated Node #0,2,2: 55:[1, 55] Operation: 40+15=55
Exploring Operation: 1+40=41, Resulting Numbers: [15, 41]
Generated Node #0,2,3: 55:[15, 41] Operation: 1+40=41
Moving to Node #0,1
Current State: 55:[1, 83, 58], Operations: ['98-40=58']
Exploring Operation: 83-1=82, Resulting Numbers: [58, 82]
Generated Node #0,1,0: 55:[58, 82] Operation: 83-1=82
Exploring Operation: 83-58=25, Resulting Numbers: [1, 25]
Generated Node #0,1,1: 55:[1, 25] Operation: 83-58=25
Exploring Operation: 58-1=57, Resulting Numbers: [83, 57]
Generated Node #0,1,2: 55:[83, 57] Operation: 58-1=57
Exploring Operation: 1*83=83, Resulting Numbers: [58, 83]
Generated Node #0,1,3: 55:[58, 83] Operation: 1*83=83
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[1, 25], Operations: ['98-40=58', '83-58=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,55 unequal: No Solution
Exploring Operation: 1+25=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,55 unequal: No Solution
No solution 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: 55:[58, 82], Operations: ['98-40=58', '83-1=82']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 58+82=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Exploring Operation: 58*82=4756, Resulting Numbers: [4756]
4756,55 unequal: No Solution
No solution 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: 55:[83, 57], Operations: ['98-40=58', '58-1=57']
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,55 unequal: No Solution
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,55 unequal: No Solution
No solution 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: 55:[58, 83], Operations: ['98-40=58', '1*83=83']
Exploring Operation: 58+83=141, Resulting Numbers: [141]
141,55 unequal: No Solution
Exploring Operation: 58*83=4814, Resulting Numbers: [4814]
4814,55 unequal: No Solution
Exploring Operation: 83-58=25, Resulting Numbers: [25]
25,55 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: 55:[1, 98, 43], Operations: ['83-40=43']
Exploring Operation: 98-1=97, Resulting Numbers: [43, 97]
Generated Node #0,3,0: 55:[43, 97] Operation: 98-1=97
Exploring Operation: 1*98=98, Resulting Numbers: [43, 98]
Generated Node #0,3,1: 55:[43, 98] Operation: 1*98=98
Exploring Operation: 98-43=55, Resulting Numbers: [1, 55]
Generated Node #0,3,2: 55:[1, 55] Operation: 98-43=55
Exploring Operation: 1+43=44, Resulting Numbers: [98, 44]
Generated Node #0,3,3: 55:[98, 44] Operation: 1+43=44
Moving to Node #0,0
Current State: 55:[83, 40, 97], Operations: ['98-1=97']
Exploring Operation: 83+40=123, Resulting Numbers: [97, 123]
Generated Node #0,0,0: 55:[97, 123] Operation: 83+40=123
Exploring Operation: 83-40=43, Resulting Numbers: [97, 43]
Generated Node #0,0,1: 55:[97, 43] Operation: 83-40=43
Exploring Operation: 97-83=14, Resulting Numbers: [40, 14]
Generated Node #0,0,2: 55:[40, 14] Operation: 97-83=14
Exploring Operation: 97-40=57, Resulting Numbers: [83, 57]
Generated Node #0,0,3: 55:[83, 57] Operation: 97-40=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[40, 14], Operations: ['98-1=97', '97-83=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,55 unequal: No Solution
No 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: 55:[83, 57], Operations: ['98-1=97', '97-40=57']
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,55 unequal: No Solution
No 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: 55:[97, 43], Operations: ['98-1=97', '83-40=43']
Exploring Operation: 97*43=4171, Resulting Numbers: [4171]
4171,55 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 97+43=140, Resulting Numbers: [140]
140,55 unequal: No Solution
No 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: 55:[97, 123], Operations: ['98-1=97', '83+40=123']
Exploring Operation: 97+123=220, Resulting Numbers: [220]
220,55 unequal: No Solution
Exploring Operation: 97*123=11931, Resulting Numbers: [11931]
11931,55 unequal: No Solution
Exploring Operation: 123-97=26, Resulting Numbers: [26]
26,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 55:[1, 55], Operations: ['98-83=15', '40+15=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[1, 98, 83, 40], Operations: []
Exploring Operation: 98-83=15, Resulting Numbers: [1, 40, 15]
Generated Node #0,2: 55:[1, 40, 15] Operation: 98-83=15
Moving to Node #0,2
Current State: 55:[1, 40, 15], Operations: ['98-83=15']
Exploring Operation: 40+15=55, Resulting Numbers: [1, 55]
Generated Node #0,2,2: 55:[1, 55] Operation: 40+15=55
Moving to Node #0,2,2
Current State: 55:[1, 55], Operations: ['98-83=15', '40+15=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
44,
72,
54,
92
] | 66 | [
"72-44=28",
"92-54=38",
"28+38=66"
] | Current State: 66:[44, 72, 54, 92], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [54, 92, 28]
Generated Node #2: [54, 92, 28] from Operation: 72-44=28
Current State: 66:[54, 92, 28], Operations: ['72-44=28']
Exploring Operation: 92-54=38, Resulting Numbers: [28, 38]
Generated Node #3: [28, 38] from Operation: 92-54=38
Current State: 66:[28, 38], Operations: ['72-44=28', '92-54=38']
Exploring Operation: 28+38=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[44, 72, 54, 92], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [44, 72, 38]
Generated Node #0,0: 66:[44, 72, 38] Operation: 92-54=38
Moving to Node #0,0
Current State: 66:[44, 72, 38], Operations: ['92-54=38']
Exploring Operation: 44-38=6, Resulting Numbers: [72, 6]
Generated Node #0,0,0: 66:[72, 6] Operation: 44-38=6
Moving to Node #0,0,0
Current State: 66:[72, 6], Operations: ['92-54=38', '44-38=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[44, 72, 54, 92], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [44, 72, 38]
Generated Node #0,0: 66:[44, 72, 38] Operation: 92-54=38
Moving to Node #0,0
Current State: 66:[44, 72, 38], Operations: ['92-54=38']
Exploring Operation: 44-38=6, Resulting Numbers: [72, 6]
Generated Node #0,0,0: 66:[72, 6] Operation: 44-38=6
Moving to Node #0,0,0
Current State: 66:[72, 6], Operations: ['92-54=38', '44-38=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
76,
89,
24,
7
] | 67 | [
"89-76=13",
"7*13=91",
"91-24=67"
] | Current State: 67:[76, 89, 24, 7], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [24, 7, 13]
Generated Node #2: [24, 7, 13] from Operation: 89-76=13
Current State: 67:[24, 7, 13], Operations: ['89-76=13']
Exploring Operation: 7*13=91, Resulting Numbers: [24, 91]
Generated Node #3: [24, 91] from Operation: 7*13=91
Current State: 67:[24, 91], Operations: ['89-76=13', '7*13=91']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[76, 89, 24, 7], Operations: []
Exploring Operation: 76-7=69, Resulting Numbers: [89, 24, 69]
Generated Node #0,0: 67:[89, 24, 69] Operation: 76-7=69
Exploring Operation: 24+7=31, Resulting Numbers: [76, 89, 31]
Generated Node #0,1: 67:[76, 89, 31] Operation: 24+7=31
Exploring Operation: 89-7=82, Resulting Numbers: [76, 24, 82]
Generated Node #0,2: 67:[76, 24, 82] Operation: 89-7=82
Moving to Node #0,0
Current State: 67:[89, 24, 69], Operations: ['76-7=69']
Exploring Operation: 69-24=45, Resulting Numbers: [89, 45]
Generated Node #0,0,0: 67:[89, 45] Operation: 69-24=45
Exploring Operation: 89-24=65, Resulting Numbers: [69, 65]
Generated Node #0,0,1: 67:[69, 65] Operation: 89-24=65
Exploring Operation: 89+24=113, Resulting Numbers: [69, 113]
Generated Node #0,0,2: 67:[69, 113] Operation: 89+24=113
Moving to Node #0,1
Current State: 67:[76, 89, 31], Operations: ['24+7=31']
Exploring Operation: 76-31=45, Resulting Numbers: [89, 45]
Generated Node #0,1,0: 67:[89, 45] Operation: 76-31=45
Exploring Operation: 76+31=107, Resulting Numbers: [89, 107]
Generated Node #0,1,1: 67:[89, 107] Operation: 76+31=107
Exploring Operation: 89-31=58, Resulting Numbers: [76, 58]
Generated Node #0,1,2: 67:[76, 58] Operation: 89-31=58
Moving to Node #0,2
Current State: 67:[76, 24, 82], Operations: ['89-7=82']
Exploring Operation: 76+24=100, Resulting Numbers: [82, 100]
Generated Node #0,2,0: 67:[82, 100] Operation: 76+24=100
Exploring Operation: 82-24=58, Resulting Numbers: [76, 58]
Generated Node #0,2,1: 67:[76, 58] Operation: 82-24=58
Exploring Operation: 76-24=52, Resulting Numbers: [82, 52]
Generated Node #0,2,2: 67:[82, 52] Operation: 76-24=52
Moving to Node #0,0,1
Current State: 67:[69, 65], Operations: ['76-7=69', '89-24=65']
Exploring Operation: 69+65=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 69-65=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 69*65=4485, Resulting Numbers: [4485]
4485,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[76, 58], Operations: ['89-7=82', '82-24=58']
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,67 unequal: No Solution
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[76, 58], Operations: ['24+7=31', '89-31=58']
Exploring Operation: 76+58=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 76*58=4408, Resulting Numbers: [4408]
4408,67 unequal: No Solution
Exploring Operation: 76-58=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[82, 52], Operations: ['89-7=82', '76-24=52']
Exploring Operation: 82*52=4264, Resulting Numbers: [4264]
4264,67 unequal: No Solution
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[89, 45], Operations: ['24+7=31', '76-31=45']
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[89, 45], Operations: ['76-7=69', '69-24=45']
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,67 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[69, 113], Operations: ['76-7=69', '89+24=113']
Exploring Operation: 69+113=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 69*113=7797, Resulting Numbers: [7797]
7797,67 unequal: No Solution
Exploring Operation: 113-69=44, Resulting Numbers: [44]
44,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[82, 100], Operations: ['89-7=82', '76+24=100']
Exploring Operation: 82+100=182, Resulting Numbers: [182]
182,67 unequal: No Solution
Exploring Operation: 82*100=8200, Resulting Numbers: [8200]
8200,67 unequal: No Solution
Exploring Operation: 100-82=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[89, 107], Operations: ['24+7=31', '76+31=107']
Exploring Operation: 89*107=9523, Resulting Numbers: [9523]
9523,67 unequal: No Solution
Exploring Operation: 107-89=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 89+107=196, Resulting Numbers: [196]
196,67 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
95,
27,
10
] | 39 | [
"25+95=120",
"120/10=12",
"27+12=39"
] | Current State: 39:[25, 95, 27, 10], Operations: []
Exploring Operation: 25+95=120, Resulting Numbers: [27, 10, 120]
Generated Node #2: [27, 10, 120] from Operation: 25+95=120
Current State: 39:[27, 10, 120], Operations: ['25+95=120']
Exploring Operation: 120/10=12, Resulting Numbers: [27, 12]
Generated Node #3: [27, 12] from Operation: 120/10=12
Current State: 39:[27, 12], Operations: ['25+95=120', '120/10=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[25, 95, 27, 10], Operations: []
Exploring Operation: 95-27=68, Resulting Numbers: [25, 10, 68]
Generated Node #0,0: 39:[25, 10, 68] Operation: 95-27=68
Exploring Operation: 27-25=2, Resulting Numbers: [95, 10, 2]
Generated Node #0,1: 39:[95, 10, 2] Operation: 27-25=2
Exploring Operation: 95-25=70, Resulting Numbers: [27, 10, 70]
Generated Node #0,2: 39:[27, 10, 70] Operation: 95-25=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[25, 10, 68], Operations: ['95-27=68']
Exploring Operation: 68-25=43, Resulting Numbers: [10, 43]
Generated Node #0,0,0: 39:[10, 43] Operation: 68-25=43
Exploring Operation: 68-10=58, Resulting Numbers: [25, 58]
Generated Node #0,0,1: 39:[25, 58] Operation: 68-10=58
Exploring Operation: 25-10=15, Resulting Numbers: [68, 15]
Generated Node #0,0,2: 39:[68, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 39:[10, 43], Operations: ['95-27=68', '68-25=43']
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,39 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,39 unequal: No Solution
No 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: 39:[25, 58], Operations: ['95-27=68', '68-10=58']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,39 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,39 unequal: No Solution
No 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: 39:[68, 15], Operations: ['95-27=68', '25-10=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,39 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,39 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: 39:[27, 10, 70], Operations: ['95-25=70']
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #0,2,0: 39:[27, 7] Operation: 70/10=7
Exploring Operation: 27+10=37, Resulting Numbers: [70, 37]
Generated Node #0,2,1: 39:[70, 37] Operation: 27+10=37
Exploring Operation: 70-27=43, Resulting Numbers: [10, 43]
Generated Node #0,2,2: 39:[10, 43] Operation: 70-27=43
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 39:[10, 43], Operations: ['95-25=70', '70-27=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,39 unequal: No Solution
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,39 unequal: No Solution
No 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: 39:[27, 7], Operations: ['95-25=70', '70/10=7']
Exploring Operation: 27*7=189, Resulting Numbers: [189]
189,39 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,39 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,39 unequal: No Solution
No 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: 39:[70, 37], Operations: ['95-25=70', '27+10=37']
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,39 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,39 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: 39:[95, 10, 2], Operations: ['27-25=2']
Exploring Operation: 10+2=12, Resulting Numbers: [95, 12]
Generated Node #0,1,0: 39:[95, 12] Operation: 10+2=12
Exploring Operation: 95-10=85, Resulting Numbers: [2, 85]
Generated Node #0,1,1: 39:[2, 85] Operation: 95-10=85
Exploring Operation: 95-2=93, Resulting Numbers: [10, 93]
Generated Node #0,1,2: 39:[10, 93] Operation: 95-2=93
Moving to Node #0,1,1
Current State: 39:[2, 85], Operations: ['27-25=2', '95-10=85']
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,39 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[95, 12], Operations: ['27-25=2', '10+2=12']
Exploring Operation: 95+12=107, Resulting Numbers: [107]
107,39 unequal: No Solution
Exploring Operation: 95*12=1140, Resulting Numbers: [1140]
1140,39 unequal: No Solution
Exploring Operation: 95-12=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[10, 93], Operations: ['27-25=2', '95-2=93']
Exploring Operation: 10*93=930, Resulting Numbers: [930]
930,39 unequal: No Solution
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,39 unequal: No Solution
Exploring Operation: 10+93=103, Resulting Numbers: [103]
103,39 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 |
[
99,
15,
20,
24
] | 67 | [
"20*24=480",
"480/15=32",
"99-32=67"
] | Current State: 67:[99, 15, 20, 24], Operations: []
Exploring Operation: 20*24=480, Resulting Numbers: [99, 15, 480]
Generated Node #2: [99, 15, 480] from Operation: 20*24=480
Current State: 67:[99, 15, 480], Operations: ['20*24=480']
Exploring Operation: 480/15=32, Resulting Numbers: [99, 32]
Generated Node #3: [99, 32] from Operation: 480/15=32
Current State: 67:[99, 32], Operations: ['20*24=480', '480/15=32']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[99, 15, 20, 24], Operations: []
Exploring Operation: 99-15=84, Resulting Numbers: [20, 24, 84]
Generated Node #0,0: 67:[20, 24, 84] Operation: 99-15=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[20, 24, 84], Operations: ['99-15=84']
Exploring Operation: 20+24=44, Resulting Numbers: [84, 44]
Generated Node #0,0,0: 67:[84, 44] Operation: 20+24=44
Moving to Node #0,0,0
Current State: 67:[84, 44], Operations: ['99-15=84', '20+24=44']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,67 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,
7,
30,
41
] | 29 | [
"6*7=42",
"30+41=71",
"71-42=29"
] | Current State: 29:[6, 7, 30, 41], Operations: []
Exploring Operation: 6*7=42, Resulting Numbers: [30, 41, 42]
Generated Node #2: [30, 41, 42] from Operation: 6*7=42
Current State: 29:[30, 41, 42], Operations: ['6*7=42']
Exploring Operation: 30+41=71, Resulting Numbers: [42, 71]
Generated Node #3: [42, 71] from Operation: 30+41=71
Current State: 29:[42, 71], Operations: ['6*7=42', '30+41=71']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[6, 7, 30, 41], Operations: []
Exploring Operation: 6+7=13, Resulting Numbers: [30, 41, 13]
Generated Node #0,0: 29:[30, 41, 13] Operation: 6+7=13
Exploring Operation: 6*7=42, Resulting Numbers: [30, 41, 42]
Generated Node #0,1: 29:[30, 41, 42] Operation: 6*7=42
Exploring Operation: 41-6=35, Resulting Numbers: [7, 30, 35]
Generated Node #0,2: 29:[7, 30, 35] Operation: 41-6=35
Moving to Node #0,1
Current State: 29:[30, 41, 42], Operations: ['6*7=42']
Exploring Operation: 42-30=12, Resulting Numbers: [41, 12]
Generated Node #0,1,0: 29:[41, 12] Operation: 42-30=12
Exploring Operation: 41-30=11, Resulting Numbers: [42, 11]
Generated Node #0,1,1: 29:[42, 11] Operation: 41-30=11
Exploring Operation: 42-41=1, Resulting Numbers: [30, 1]
Generated Node #0,1,2: 29:[30, 1] Operation: 42-41=1
Moving to Node #0,0
Current State: 29:[30, 41, 13], Operations: ['6+7=13']
Exploring Operation: 41-13=28, Resulting Numbers: [30, 28]
Generated Node #0,0,0: 29:[30, 28] Operation: 41-13=28
Exploring Operation: 30-13=17, Resulting Numbers: [41, 17]
Generated Node #0,0,1: 29:[41, 17] Operation: 30-13=17
Exploring Operation: 30+13=43, Resulting Numbers: [41, 43]
Generated Node #0,0,2: 29:[41, 43] Operation: 30+13=43
Moving to Node #0,2
Current State: 29:[7, 30, 35], Operations: ['41-6=35']
Exploring Operation: 35-7=28, Resulting Numbers: [30, 28]
Generated Node #0,2,0: 29:[30, 28] Operation: 35-7=28
Exploring Operation: 30-7=23, Resulting Numbers: [35, 23]
Generated Node #0,2,1: 29:[35, 23] Operation: 30-7=23
Exploring Operation: 7+30=37, Resulting Numbers: [35, 37]
Generated Node #0,2,2: 29:[35, 37] Operation: 7+30=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[30, 28], Operations: ['41-6=35', '35-7=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,29 unequal: No Solution
No 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: 29:[35, 23], Operations: ['41-6=35', '30-7=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,29 unequal: No Solution
Exploring Operation: 35*23=805, Resulting Numbers: [805]
805,29 unequal: No Solution
Exploring Operation: 35+23=58, Resulting Numbers: [58]
58,29 unequal: No Solution
No 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: 29:[35, 37], Operations: ['41-6=35', '7+30=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,29 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,29 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: 29:[30, 28], Operations: ['6+7=13', '41-13=28']
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,29 unequal: No Solution
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[41, 17], Operations: ['6+7=13', '30-13=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,29 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,29 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[41, 43], Operations: ['6+7=13', '30+13=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,29 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[41, 12], Operations: ['6*7=42', '42-30=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[6, 7, 30, 41], Operations: []
Exploring Operation: 6*7=42, Resulting Numbers: [30, 41, 42]
Generated Node #0,1: 29:[30, 41, 42] Operation: 6*7=42
Moving to Node #0,1
Current State: 29:[30, 41, 42], Operations: ['6*7=42']
Exploring Operation: 42-30=12, Resulting Numbers: [41, 12]
Generated Node #0,1,0: 29:[41, 12] Operation: 42-30=12
Moving to Node #0,1,0
Current State: 29:[41, 12], Operations: ['6*7=42', '42-30=12']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
89,
9,
29,
69
] | 81 | [
"89-29=60",
"69-60=9",
"9*9=81"
] | Current State: 81:[89, 9, 29, 69], Operations: []
Exploring Operation: 89-29=60, Resulting Numbers: [9, 69, 60]
Generated Node #2: [9, 69, 60] from Operation: 89-29=60
Current State: 81:[9, 69, 60], Operations: ['89-29=60']
Exploring Operation: 69-60=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 69-60=9
Current State: 81:[9, 9], Operations: ['89-29=60', '69-60=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[89, 9, 29, 69], Operations: []
Exploring Operation: 9+69=78, Resulting Numbers: [89, 29, 78]
Generated Node #0,0: 81:[89, 29, 78] Operation: 9+69=78
Exploring Operation: 89-9=80, Resulting Numbers: [29, 69, 80]
Generated Node #0,1: 81:[29, 69, 80] Operation: 89-9=80
Exploring Operation: 89-69=20, Resulting Numbers: [9, 29, 20]
Generated Node #0,2: 81:[9, 29, 20] Operation: 89-69=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[9, 29, 20], Operations: ['89-69=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29, 29]
Generated Node #0,2,0: 81:[29, 29] Operation: 9+20=29
Exploring Operation: 20-9=11, Resulting Numbers: [29, 11]
Generated Node #0,2,1: 81:[29, 11] Operation: 20-9=11
Exploring Operation: 29-20=9, Resulting Numbers: [9, 9]
Generated Node #0,2,2: 81:[9, 9] Operation: 29-20=9
Moving to Node #0,2,2
Current State: 81:[9, 9], Operations: ['89-69=20', '29-20=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[89, 9, 29, 69], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [9, 29, 20]
Generated Node #0,2: 81:[9, 29, 20] Operation: 89-69=20
Moving to Node #0,2
Current State: 81:[9, 29, 20], Operations: ['89-69=20']
Exploring Operation: 29-20=9, Resulting Numbers: [9, 9]
Generated Node #0,2,2: 81:[9, 9] Operation: 29-20=9
Moving to Node #0,2,2
Current State: 81:[9, 9], Operations: ['89-69=20', '29-20=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
83,
73,
87,
80
] | 53 | [
"87-83=4",
"80/4=20",
"73-20=53"
] | Current State: 53:[83, 73, 87, 80], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [73, 80, 4]
Generated Node #2: [73, 80, 4] from Operation: 87-83=4
Current State: 53:[73, 80, 4], Operations: ['87-83=4']
Exploring Operation: 80/4=20, Resulting Numbers: [73, 20]
Generated Node #3: [73, 20] from Operation: 80/4=20
Current State: 53:[73, 20], Operations: ['87-83=4', '80/4=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[83, 73, 87, 80], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [83, 80, 14]
Generated Node #0,0: 53:[83, 80, 14] Operation: 87-73=14
Exploring Operation: 87-83=4, Resulting Numbers: [73, 80, 4]
Generated Node #0,1: 53:[73, 80, 4] Operation: 87-83=4
Exploring Operation: 83-80=3, Resulting Numbers: [73, 87, 3]
Generated Node #0,2: 53:[73, 87, 3] Operation: 83-80=3
Exploring Operation: 83-73=10, Resulting Numbers: [87, 80, 10]
Generated Node #0,3: 53:[87, 80, 10] Operation: 83-73=10
Exploring Operation: 87-80=7, Resulting Numbers: [83, 73, 7]
Generated Node #0,4: 53:[83, 73, 7] Operation: 87-80=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[83, 80, 14], Operations: ['87-73=14']
Exploring Operation: 83-14=69, Resulting Numbers: [80, 69]
Generated Node #0,0,0: 53:[80, 69] Operation: 83-14=69
Exploring Operation: 80+14=94, Resulting Numbers: [83, 94]
Generated Node #0,0,1: 53:[83, 94] Operation: 80+14=94
Exploring Operation: 83-80=3, Resulting Numbers: [14, 3]
Generated Node #0,0,2: 53:[14, 3] Operation: 83-80=3
Exploring Operation: 80-14=66, Resulting Numbers: [83, 66]
Generated Node #0,0,3: 53:[83, 66] Operation: 80-14=66
Exploring Operation: 83+14=97, Resulting Numbers: [80, 97]
Generated Node #0,0,4: 53:[80, 97] Operation: 83+14=97
Moving to Node #0,0,0
Current State: 53:[80, 69], Operations: ['87-73=14', '83-14=69']
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,53 unequal: No Solution
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,53 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[83, 66], Operations: ['87-73=14', '80-14=66']
Exploring Operation: 83*66=5478, Resulting Numbers: [5478]
5478,53 unequal: No Solution
Exploring Operation: 83+66=149, Resulting Numbers: [149]
149,53 unequal: No Solution
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[83, 94], Operations: ['87-73=14', '80+14=94']
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,53 unequal: No Solution
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,53 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,0,4
Current State: 53:[80, 97], Operations: ['87-73=14', '83+14=97']
Exploring Operation: 80+97=177, Resulting Numbers: [177]
177,53 unequal: No Solution
Exploring Operation: 80*97=7760, Resulting Numbers: [7760]
7760,53 unequal: No Solution
Exploring Operation: 97-80=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[14, 3], Operations: ['87-73=14', '83-80=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,53 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No solution 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: 53:[73, 80, 4], Operations: ['87-83=4']
Exploring Operation: 80/4=20, Resulting Numbers: [73, 20]
Generated Node #0,1,0: 53:[73, 20] Operation: 80/4=20
Exploring Operation: 80+4=84, Resulting Numbers: [73, 84]
Generated Node #0,1,1: 53:[73, 84] Operation: 80+4=84
Exploring Operation: 80-4=76, Resulting Numbers: [73, 76]
Generated Node #0,1,2: 53:[73, 76] Operation: 80-4=76
Exploring Operation: 73-4=69, Resulting Numbers: [80, 69]
Generated Node #0,1,3: 53:[80, 69] Operation: 73-4=69
Exploring Operation: 73+4=77, Resulting Numbers: [80, 77]
Generated Node #0,1,4: 53:[80, 77] Operation: 73+4=77
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[73, 76], Operations: ['87-83=4', '80-4=76']
Exploring Operation: 73*76=5548, Resulting Numbers: [5548]
5548,53 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 73+76=149, Resulting Numbers: [149]
149,53 unequal: No Solution
No 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: 53:[80, 69], Operations: ['87-83=4', '73-4=69']
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,53 unequal: No Solution
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,53 unequal: No Solution
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,53 unequal: No Solution
No 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: 53:[73, 84], Operations: ['87-83=4', '80+4=84']
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,53 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,53 unequal: No Solution
No 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: 53:[80, 77], Operations: ['87-83=4', '73+4=77']
Exploring Operation: 80+77=157, Resulting Numbers: [157]
157,53 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 80*77=6160, Resulting Numbers: [6160]
6160,53 unequal: No Solution
No 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: 53:[73, 20], Operations: ['87-83=4', '80/4=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[83, 73, 87, 80], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [73, 80, 4]
Generated Node #0,1: 53:[73, 80, 4] Operation: 87-83=4
Moving to Node #0,1
Current State: 53:[73, 80, 4], Operations: ['87-83=4']
Exploring Operation: 80/4=20, Resulting Numbers: [73, 20]
Generated Node #0,1,0: 53:[73, 20] Operation: 80/4=20
Moving to Node #0,1,0
Current State: 53:[73, 20], Operations: ['87-83=4', '80/4=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
66,
22,
4,
85
] | 85 | [
"66/22=3",
"4-3=1",
"85*1=85"
] | Current State: 85:[66, 22, 4, 85], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [4, 85, 3]
Generated Node #2: [4, 85, 3] from Operation: 66/22=3
Current State: 85:[4, 85, 3], Operations: ['66/22=3']
Exploring Operation: 4-3=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 4-3=1
Current State: 85:[85, 1], Operations: ['66/22=3', '4-3=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[66, 22, 4, 85], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [4, 85, 3]
Generated Node #0,0: 85:[4, 85, 3] Operation: 66/22=3
Moving to Node #0,0
Current State: 85:[4, 85, 3], Operations: ['66/22=3']
Exploring Operation: 4+3=7, Resulting Numbers: [85, 7]
Generated Node #0,0,0: 85:[85, 7] Operation: 4+3=7
Moving to Node #0,0,0
Current State: 85:[85, 7], Operations: ['66/22=3', '4+3=7']
Exploring Operation: 85+7=92, Resulting Numbers: [92]
92,85 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
92,
40,
69,
90
] | 73 | [
"92-40=52",
"90-69=21",
"52+21=73"
] | Current State: 73:[92, 40, 69, 90], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [69, 90, 52]
Generated Node #2: [69, 90, 52] from Operation: 92-40=52
Current State: 73:[69, 90, 52], Operations: ['92-40=52']
Exploring Operation: 90-69=21, Resulting Numbers: [52, 21]
Generated Node #3: [52, 21] from Operation: 90-69=21
Current State: 73:[52, 21], Operations: ['92-40=52', '90-69=21']
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[92, 40, 69, 90], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [69, 90, 52]
Generated Node #0,0: 73:[69, 90, 52] Operation: 92-40=52
Exploring Operation: 90-40=50, Resulting Numbers: [92, 69, 50]
Generated Node #0,1: 73:[92, 69, 50] Operation: 90-40=50
Moving to Node #0,0
Current State: 73:[69, 90, 52], Operations: ['92-40=52']
Exploring Operation: 90-52=38, Resulting Numbers: [69, 38]
Generated Node #0,0,0: 73:[69, 38] Operation: 90-52=38
Exploring Operation: 69+52=121, Resulting Numbers: [90, 121]
Generated Node #0,0,1: 73:[90, 121] Operation: 69+52=121
Moving to Node #0,1
Current State: 73:[92, 69, 50], Operations: ['90-40=50']
Exploring Operation: 92-50=42, Resulting Numbers: [69, 42]
Generated Node #0,1,0: 73:[69, 42] Operation: 92-50=42
Exploring Operation: 69+50=119, Resulting Numbers: [92, 119]
Generated Node #0,1,1: 73:[92, 119] Operation: 69+50=119
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[69, 42], Operations: ['90-40=50', '92-50=42']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 69+42=111, Resulting Numbers: [111]
111,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,1
Current State: 73:[92, 119], Operations: ['90-40=50', '69+50=119']
Exploring Operation: 119-92=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 92+119=211, Resulting Numbers: [211]
211,73 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: 73:[69, 38], Operations: ['92-40=52', '90-52=38']
Exploring Operation: 69-38=31, Resulting Numbers: [31]
31,73 unequal: No Solution
Exploring Operation: 69+38=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[90, 121], Operations: ['92-40=52', '69+52=121']
Exploring Operation: 90+121=211, Resulting Numbers: [211]
211,73 unequal: No Solution
Exploring Operation: 121-90=31, Resulting Numbers: [31]
31,73 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
69,
9,
77,
89
] | 23 | [
"9+77=86",
"89-86=3",
"69/3=23"
] | Current State: 23:[69, 9, 77, 89], Operations: []
Exploring Operation: 9+77=86, Resulting Numbers: [69, 89, 86]
Generated Node #2: [69, 89, 86] from Operation: 9+77=86
Current State: 23:[69, 89, 86], Operations: ['9+77=86']
Exploring Operation: 89-86=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 89-86=3
Current State: 23:[69, 3], Operations: ['9+77=86', '89-86=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[69, 9, 77, 89], Operations: []
Exploring Operation: 89-69=20, Resulting Numbers: [9, 77, 20]
Generated Node #0,0: 23:[9, 77, 20] Operation: 89-69=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[9, 77, 20], Operations: ['89-69=20']
Exploring Operation: 77-9=68, Resulting Numbers: [20, 68]
Generated Node #0,0,0: 23:[20, 68] Operation: 77-9=68
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[20, 68], Operations: ['89-69=20', '77-9=68']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
23,
6,
6
] | 54 | [
"23-20=3",
"6+3=9",
"6*9=54"
] | Current State: 54:[20, 23, 6, 6], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [6, 6, 3]
Generated Node #2: [6, 6, 3] from Operation: 23-20=3
Current State: 54:[6, 6, 3], Operations: ['23-20=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,54 equal: Goal Reached
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[20, 23, 6, 6], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [6, 6, 3]
Generated Node #0,0: 54:[6, 6, 3] Operation: 23-20=3
Exploring Operation: 23-6=17, Resulting Numbers: [20, 6, 17]
Generated Node #0,1: 54:[20, 6, 17] Operation: 23-6=17
Exploring Operation: 23-6=17, Resulting Numbers: [20, 6, 17]
Generated Node #0,2: 54:[20, 6, 17] Operation: 23-6=17
Moving to Node #0,0
Current State: 54:[6, 6, 3], Operations: ['23-20=3']
Exploring Operation: 6+3=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 6+3=9
Exploring Operation: 6-3=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 54:[6, 3] Operation: 6-3=3
Exploring Operation: 6*3=18, Resulting Numbers: [6, 18]
Generated Node #0,0,2: 54:[6, 18] Operation: 6*3=18
Moving to Node #0,1
Current State: 54:[20, 6, 17], Operations: ['23-6=17']
Exploring Operation: 20-17=3, Resulting Numbers: [6, 3]
Generated Node #0,1,0: 54:[6, 3] Operation: 20-17=3
Exploring Operation: 17-6=11, Resulting Numbers: [20, 11]
Generated Node #0,1,1: 54:[20, 11] Operation: 17-6=11
Exploring Operation: 20+6=26, Resulting Numbers: [17, 26]
Generated Node #0,1,2: 54:[17, 26] Operation: 20+6=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[6, 3], Operations: ['23-6=17', '20-17=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,54 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,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,2
Current State: 54:[17, 26], Operations: ['23-6=17', '20+6=26']
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,54 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,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:[20, 11], Operations: ['23-6=17', '17-6=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,54 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,54 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,54 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: 54:[20, 6, 17], Operations: ['23-6=17']
Exploring Operation: 17-6=11, Resulting Numbers: [20, 11]
Generated Node #0,2,0: 54:[20, 11] Operation: 17-6=11
Exploring Operation: 20+6=26, Resulting Numbers: [17, 26]
Generated Node #0,2,1: 54:[17, 26] Operation: 20+6=26
Exploring Operation: 20-17=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 54:[6, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['23-20=3', '6+3=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[20, 23, 6, 6], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [6, 6, 3]
Generated Node #0,0: 54:[6, 6, 3] Operation: 23-20=3
Moving to Node #0,0
Current State: 54:[6, 6, 3], Operations: ['23-20=3']
Exploring Operation: 6+3=9, Resulting Numbers: [6, 9]
Generated Node #0,0,0: 54:[6, 9] Operation: 6+3=9
Moving to Node #0,0,0
Current State: 54:[6, 9], Operations: ['23-20=3', '6+3=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
9,
66,
90,
78
] | 52 | [
"9+90=99",
"66*78=5148",
"5148/99=52"
] | Current State: 52:[9, 66, 90, 78], Operations: []
Exploring Operation: 9+90=99, Resulting Numbers: [66, 78, 99]
Generated Node #2: [66, 78, 99] from Operation: 9+90=99
Current State: 52:[66, 78, 99], Operations: ['9+90=99']
Exploring Operation: 66*78=5148, Resulting Numbers: [99, 5148]
Generated Node #3: [99, 5148] from Operation: 66*78=5148
Current State: 52:[99, 5148], Operations: ['9+90=99', '66*78=5148']
Exploring Operation: 5148/99=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[9, 66, 90, 78], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [9, 78, 24]
Generated Node #0,0: 52:[9, 78, 24] Operation: 90-66=24
Exploring Operation: 90-78=12, Resulting Numbers: [9, 66, 12]
Generated Node #0,1: 52:[9, 66, 12] Operation: 90-78=12
Moving to Node #0,1
Current State: 52:[9, 66, 12], Operations: ['90-78=12']
Exploring Operation: 66-9=57, Resulting Numbers: [12, 57]
Generated Node #0,1,0: 52:[12, 57] Operation: 66-9=57
Exploring Operation: 66-12=54, Resulting Numbers: [9, 54]
Generated Node #0,1,1: 52:[9, 54] Operation: 66-12=54
Moving to Node #0,0
Current State: 52:[9, 78, 24], Operations: ['90-66=24']
Exploring Operation: 78-24=54, Resulting Numbers: [9, 54]
Generated Node #0,0,0: 52:[9, 54] Operation: 78-24=54
Exploring Operation: 78-9=69, Resulting Numbers: [24, 69]
Generated Node #0,0,1: 52:[24, 69] Operation: 78-9=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[9, 54], Operations: ['90-66=24', '78-24=54']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,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:[24, 69], Operations: ['90-66=24', '78-9=69']
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,52 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,52 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: 52:[12, 57], Operations: ['90-78=12', '66-9=57']
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,52 unequal: No Solution
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[9, 54], Operations: ['90-78=12', '66-12=54']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,52 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
24,
97,
70
] | 24 | [
"24-21=3",
"97-70=27",
"27-3=24"
] | Current State: 24:[21, 24, 97, 70], Operations: []
Exploring Operation: 24-21=3, Resulting Numbers: [97, 70, 3]
Generated Node #2: [97, 70, 3] from Operation: 24-21=3
Current State: 24:[97, 70, 3], Operations: ['24-21=3']
Exploring Operation: 97-70=27, Resulting Numbers: [3, 27]
Generated Node #3: [3, 27] from Operation: 97-70=27
Current State: 24:[3, 27], Operations: ['24-21=3', '97-70=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[21, 24, 97, 70], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [21, 24, 27]
Generated Node #0,0: 24:[21, 24, 27] Operation: 97-70=27
Moving to Node #0,0
Current State: 24:[21, 24, 27], Operations: ['97-70=27']
Exploring Operation: 27-21=6, Resulting Numbers: [24, 6]
Generated Node #0,0,0: 24:[24, 6] Operation: 27-21=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[24, 6], Operations: ['97-70=27', '27-21=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
72,
66,
82
] | 45 | [
"10*72=720",
"82-66=16",
"720/16=45"
] | Current State: 45:[10, 72, 66, 82], Operations: []
Exploring Operation: 10*72=720, Resulting Numbers: [66, 82, 720]
Generated Node #2: [66, 82, 720] from Operation: 10*72=720
Current State: 45:[66, 82, 720], Operations: ['10*72=720']
Exploring Operation: 82-66=16, Resulting Numbers: [720, 16]
Generated Node #3: [720, 16] from Operation: 82-66=16
Current State: 45:[720, 16], Operations: ['10*72=720', '82-66=16']
Exploring Operation: 720/16=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[10, 72, 66, 82], Operations: []
Exploring Operation: 82-66=16, Resulting Numbers: [10, 72, 16]
Generated Node #0,0: 45:[10, 72, 16] Operation: 82-66=16
Exploring Operation: 72-66=6, Resulting Numbers: [10, 82, 6]
Generated Node #0,1: 45:[10, 82, 6] Operation: 72-66=6
Exploring Operation: 82-72=10, Resulting Numbers: [10, 66, 10]
Generated Node #0,2: 45:[10, 66, 10] Operation: 82-72=10
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[10, 66, 10], Operations: ['82-72=10']
Exploring Operation: 10/10=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 45:[66, 1] Operation: 10/10=1
Exploring Operation: 66-10=56, Resulting Numbers: [10, 56]
Generated Node #0,2,1: 45:[10, 56] Operation: 66-10=56
Exploring Operation: 66-10=56, Resulting Numbers: [10, 56]
Generated Node #0,2,2: 45:[10, 56] Operation: 66-10=56
Moving to Node #0,2,1
Current State: 45:[10, 56], Operations: ['82-72=10', '66-10=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,45 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[10, 56], Operations: ['82-72=10', '66-10=56']
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,45 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[66, 1], Operations: ['82-72=10', '10/10=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,45 unequal: No Solution
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[10, 72, 16], Operations: ['82-66=16']
Exploring Operation: 72-10=62, Resulting Numbers: [16, 62]
Generated Node #0,0,0: 45:[16, 62] Operation: 72-10=62
Exploring Operation: 72-16=56, Resulting Numbers: [10, 56]
Generated Node #0,0,1: 45:[10, 56] Operation: 72-16=56
Exploring Operation: 16-10=6, Resulting Numbers: [72, 6]
Generated Node #0,0,2: 45:[72, 6] Operation: 16-10=6
Moving to Node #0,0,1
Current State: 45:[10, 56], Operations: ['82-66=16', '72-16=56']
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,45 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Moving to Node #0,0,0
Current State: 45:[16, 62], Operations: ['82-66=16', '72-10=62']
Exploring Operation: 16+62=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 16*62=992, Resulting Numbers: [992]
992,45 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[72, 6], Operations: ['82-66=16', '16-10=6']
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[10, 82, 6], Operations: ['72-66=6']
Exploring Operation: 82-6=76, Resulting Numbers: [10, 76]
Generated Node #0,1,0: 45:[10, 76] Operation: 82-6=76
Exploring Operation: 82-10=72, Resulting Numbers: [6, 72]
Generated Node #0,1,1: 45:[6, 72] Operation: 82-10=72
Exploring Operation: 10+6=16, Resulting Numbers: [82, 16]
Generated Node #0,1,2: 45:[82, 16] Operation: 10+6=16
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[6, 72], Operations: ['72-66=6', '82-10=72']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,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,1,0
Current State: 45:[10, 76], Operations: ['72-66=6', '82-6=76']
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,45 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,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,1,2
Current State: 45:[82, 16], Operations: ['72-66=6', '10+6=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,45 unequal: No Solution
Exploring Operation: 82+16=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 82*16=1312, Resulting Numbers: [1312]
1312,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
67,
14,
49,
54
] | 76 | [
"67+14=81",
"54-49=5",
"81-5=76"
] | Current State: 76:[67, 14, 49, 54], Operations: []
Exploring Operation: 67+14=81, Resulting Numbers: [49, 54, 81]
Generated Node #2: [49, 54, 81] from Operation: 67+14=81
Current State: 76:[49, 54, 81], Operations: ['67+14=81']
Exploring Operation: 54-49=5, Resulting Numbers: [81, 5]
Generated Node #3: [81, 5] from Operation: 54-49=5
Current State: 76:[81, 5], Operations: ['67+14=81', '54-49=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[67, 14, 49, 54], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [14, 54, 18]
Generated Node #0,0: 76:[14, 54, 18] Operation: 67-49=18
Exploring Operation: 54-49=5, Resulting Numbers: [67, 14, 5]
Generated Node #0,1: 76:[67, 14, 5] Operation: 54-49=5
Moving to Node #0,1
Current State: 76:[67, 14, 5], Operations: ['54-49=5']
Exploring Operation: 67+5=72, Resulting Numbers: [14, 72]
Generated Node #0,1,0: 76:[14, 72] Operation: 67+5=72
Exploring Operation: 67+14=81, Resulting Numbers: [5, 81]
Generated Node #0,1,1: 76:[5, 81] Operation: 67+14=81
Moving to Node #0,0
Current State: 76:[14, 54, 18], Operations: ['67-49=18']
Exploring Operation: 54/18=3, Resulting Numbers: [14, 3]
Generated Node #0,0,0: 76:[14, 3] Operation: 54/18=3
Exploring Operation: 54-14=40, Resulting Numbers: [18, 40]
Generated Node #0,0,1: 76:[18, 40] Operation: 54-14=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[18, 40], Operations: ['67-49=18', '54-14=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[14, 3], Operations: ['67-49=18', '54/18=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,76 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: 76:[5, 81], Operations: ['54-49=5', '67+14=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[67, 14, 49, 54], Operations: []
Exploring Operation: 54-49=5, Resulting Numbers: [67, 14, 5]
Generated Node #0,1: 76:[67, 14, 5] Operation: 54-49=5
Moving to Node #0,1
Current State: 76:[67, 14, 5], Operations: ['54-49=5']
Exploring Operation: 67+14=81, Resulting Numbers: [5, 81]
Generated Node #0,1,1: 76:[5, 81] Operation: 67+14=81
Moving to Node #0,1,1
Current State: 76:[5, 81], Operations: ['54-49=5', '67+14=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
34,
68,
55,
40
] | 30 | [
"68/34=2",
"55-40=15",
"2*15=30"
] | Current State: 30:[34, 68, 55, 40], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [55, 40, 2]
Generated Node #2: [55, 40, 2] from Operation: 68/34=2
Current State: 30:[55, 40, 2], Operations: ['68/34=2']
Exploring Operation: 55-40=15, Resulting Numbers: [2, 15]
Generated Node #3: [2, 15] from Operation: 55-40=15
Current State: 30:[2, 15], Operations: ['68/34=2', '55-40=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[34, 68, 55, 40], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [34, 55, 28]
Generated Node #0,0: 30:[34, 55, 28] Operation: 68-40=28
Exploring Operation: 68-55=13, Resulting Numbers: [34, 40, 13]
Generated Node #0,1: 30:[34, 40, 13] Operation: 68-55=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[34, 40, 13], Operations: ['68-55=13']
Exploring Operation: 40-13=27, Resulting Numbers: [34, 27]
Generated Node #0,1,0: 30:[34, 27] Operation: 40-13=27
Exploring Operation: 40-34=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 30:[13, 6] Operation: 40-34=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 30:[13, 6], Operations: ['68-55=13', '40-34=6']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,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:[34, 27], Operations: ['68-55=13', '40-13=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,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:[34, 55, 28], Operations: ['68-40=28']
Exploring Operation: 55-28=27, Resulting Numbers: [34, 27]
Generated Node #0,0,0: 30:[34, 27] Operation: 55-28=27
Exploring Operation: 55-34=21, Resulting Numbers: [28, 21]
Generated Node #0,0,1: 30:[28, 21] Operation: 55-34=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[34, 27], Operations: ['68-40=28', '55-28=27']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 34+27=61, Resulting Numbers: [61]
61,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,0,1
Current State: 30:[28, 21], Operations: ['68-40=28', '55-34=21']
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
96,
39,
51,
53
] | 59 | [
"96-39=57",
"53-51=2",
"57+2=59"
] | Current State: 59:[96, 39, 51, 53], Operations: []
Exploring Operation: 96-39=57, Resulting Numbers: [51, 53, 57]
Generated Node #2: [51, 53, 57] from Operation: 96-39=57
Current State: 59:[51, 53, 57], Operations: ['96-39=57']
Exploring Operation: 53-51=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 53-51=2
Current State: 59:[57, 2], Operations: ['96-39=57', '53-51=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[96, 39, 51, 53], Operations: []
Exploring Operation: 96-51=45, Resulting Numbers: [39, 53, 45]
Generated Node #0,0: 59:[39, 53, 45] Operation: 96-51=45
Exploring Operation: 96-39=57, Resulting Numbers: [51, 53, 57]
Generated Node #0,1: 59:[51, 53, 57] Operation: 96-39=57
Exploring Operation: 96-53=43, Resulting Numbers: [39, 51, 43]
Generated Node #0,2: 59:[39, 51, 43] Operation: 96-53=43
Moving to Node #0,1
Current State: 59:[51, 53, 57], Operations: ['96-39=57']
Exploring Operation: 51+57=108, Resulting Numbers: [53, 108]
Generated Node #0,1,0: 59:[53, 108] Operation: 51+57=108
Exploring Operation: 53-51=2, Resulting Numbers: [57, 2]
Generated Node #0,1,1: 59:[57, 2] Operation: 53-51=2
Exploring Operation: 51+53=104, Resulting Numbers: [57, 104]
Generated Node #0,1,2: 59:[57, 104] Operation: 51+53=104
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[57, 104], Operations: ['96-39=57', '51+53=104']
Exploring Operation: 104-57=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 57+104=161, Resulting Numbers: [161]
161,59 unequal: No Solution
Exploring Operation: 57*104=5928, Resulting Numbers: [5928]
5928,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[53, 108], Operations: ['96-39=57', '51+57=108']
Exploring Operation: 53*108=5724, Resulting Numbers: [5724]
5724,59 unequal: No Solution
Exploring Operation: 108-53=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 53+108=161, Resulting Numbers: [161]
161,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[57, 2], Operations: ['96-39=57', '53-51=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[96, 39, 51, 53], Operations: []
Exploring Operation: 96-39=57, Resulting Numbers: [51, 53, 57]
Generated Node #0,1: 59:[51, 53, 57] Operation: 96-39=57
Moving to Node #0,1
Current State: 59:[51, 53, 57], Operations: ['96-39=57']
Exploring Operation: 53-51=2, Resulting Numbers: [57, 2]
Generated Node #0,1,1: 59:[57, 2] Operation: 53-51=2
Moving to Node #0,1,1
Current State: 59:[57, 2], Operations: ['96-39=57', '53-51=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
89,
2,
36,
33
] | 13 | [
"89-36=53",
"2*33=66",
"66-53=13"
] | Current State: 13:[89, 2, 36, 33], Operations: []
Exploring Operation: 89-36=53, Resulting Numbers: [2, 33, 53]
Generated Node #2: [2, 33, 53] from Operation: 89-36=53
Current State: 13:[2, 33, 53], Operations: ['89-36=53']
Exploring Operation: 2*33=66, Resulting Numbers: [53, 66]
Generated Node #3: [53, 66] from Operation: 2*33=66
Current State: 13:[53, 66], Operations: ['89-36=53', '2*33=66']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[89, 2, 36, 33], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [89, 33, 18]
Generated Node #0,0: 13:[89, 33, 18] Operation: 36/2=18
Exploring Operation: 89-36=53, Resulting Numbers: [2, 33, 53]
Generated Node #0,1: 13:[2, 33, 53] Operation: 89-36=53
Exploring Operation: 36-33=3, Resulting Numbers: [89, 2, 3]
Generated Node #0,2: 13:[89, 2, 3] Operation: 36-33=3
Exploring Operation: 89-2=87, Resulting Numbers: [36, 33, 87]
Generated Node #0,3: 13:[36, 33, 87] Operation: 89-2=87
Exploring Operation: 89-33=56, Resulting Numbers: [2, 36, 56]
Generated Node #0,4: 13:[2, 36, 56] Operation: 89-33=56
Moving to Node #0,1
Current State: 13:[2, 33, 53], Operations: ['89-36=53']
Exploring Operation: 53-2=51, Resulting Numbers: [33, 51]
Generated Node #0,1,0: 13:[33, 51] Operation: 53-2=51
Exploring Operation: 2+33=35, Resulting Numbers: [53, 35]
Generated Node #0,1,1: 13:[53, 35] Operation: 2+33=35
Exploring Operation: 53-33=20, Resulting Numbers: [2, 20]
Generated Node #0,1,2: 13:[2, 20] Operation: 53-33=20
Exploring Operation: 2+53=55, Resulting Numbers: [33, 55]
Generated Node #0,1,3: 13:[33, 55] Operation: 2+53=55
Exploring Operation: 33-2=31, Resulting Numbers: [53, 31]
Generated Node #0,1,4: 13:[53, 31] Operation: 33-2=31
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[2, 20], Operations: ['89-36=53', '53-33=20']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[33, 51], Operations: ['89-36=53', '53-2=51']
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 13:[53, 31], Operations: ['89-36=53', '33-2=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[53, 35], Operations: ['89-36=53', '2+33=35']
Exploring Operation: 53+35=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 53-35=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 53*35=1855, Resulting Numbers: [1855]
1855,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[33, 55], Operations: ['89-36=53', '2+53=55']
Exploring Operation: 33+55=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 33*55=1815, Resulting Numbers: [1815]
1815,13 unequal: No Solution
Exploring Operation: 55-33=22, Resulting Numbers: [22]
22,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 13:[2, 36, 56], Operations: ['89-33=56']
Exploring Operation: 56/2=28, Resulting Numbers: [36, 28]
Generated Node #0,4,0: 13:[36, 28] Operation: 56/2=28
Exploring Operation: 56-2=54, Resulting Numbers: [36, 54]
Generated Node #0,4,1: 13:[36, 54] Operation: 56-2=54
Exploring Operation: 36/2=18, Resulting Numbers: [56, 18]
Generated Node #0,4,2: 13:[56, 18] Operation: 36/2=18
Exploring Operation: 56-36=20, Resulting Numbers: [2, 20]
Generated Node #0,4,3: 13:[2, 20] Operation: 56-36=20
Exploring Operation: 36-2=34, Resulting Numbers: [56, 34]
Generated Node #0,4,4: 13:[56, 34] Operation: 36-2=34
Moving to Node #0,2
Current State: 13:[89, 2, 3], Operations: ['36-33=3']
Exploring Operation: 89+2=91, Resulting Numbers: [3, 91]
Generated Node #0,2,0: 13:[3, 91] Operation: 89+2=91
Exploring Operation: 2+3=5, Resulting Numbers: [89, 5]
Generated Node #0,2,1: 13:[89, 5] Operation: 2+3=5
Exploring Operation: 2*3=6, Resulting Numbers: [89, 6]
Generated Node #0,2,2: 13:[89, 6] Operation: 2*3=6
Exploring Operation: 89-3=86, Resulting Numbers: [2, 86]
Generated Node #0,2,3: 13:[2, 86] Operation: 89-3=86
Exploring Operation: 89-2=87, Resulting Numbers: [3, 87]
Generated Node #0,2,4: 13:[3, 87] Operation: 89-2=87
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[89, 6], Operations: ['36-33=3', '2*3=6']
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,13 unequal: No Solution
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[89, 5], Operations: ['36-33=3', '2+3=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,13 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 13:[2, 86], Operations: ['36-33=3', '89-3=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,13 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 13:[3, 87], Operations: ['36-33=3', '89-2=87']
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 3+87=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 3*87=261, Resulting Numbers: [261]
261,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[3, 91], Operations: ['36-33=3', '89+2=91']
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,13 unequal: No Solution
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,13 unequal: No Solution
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 13:[89, 33, 18], Operations: ['36/2=18']
Exploring Operation: 33-18=15, Resulting Numbers: [89, 15]
Generated Node #0,0,0: 13:[89, 15] Operation: 33-18=15
Exploring Operation: 89-18=71, Resulting Numbers: [33, 71]
Generated Node #0,0,1: 13:[33, 71] Operation: 89-18=71
Exploring Operation: 89+33=122, Resulting Numbers: [18, 122]
Generated Node #0,0,2: 13:[18, 122] Operation: 89+33=122
Exploring Operation: 89-33=56, Resulting Numbers: [18, 56]
Generated Node #0,0,3: 13:[18, 56] Operation: 89-33=56
Exploring Operation: 89+18=107, Resulting Numbers: [33, 107]
Generated Node #0,0,4: 13:[33, 107] Operation: 89+18=107
Moving to Node #0,3
Current State: 13:[36, 33, 87], Operations: ['89-2=87']
Exploring Operation: 87-33=54, Resulting Numbers: [36, 54]
Generated Node #0,3,0: 13:[36, 54] Operation: 87-33=54
Exploring Operation: 36+87=123, Resulting Numbers: [33, 123]
Generated Node #0,3,1: 13:[33, 123] Operation: 36+87=123
Exploring Operation: 87-36=51, Resulting Numbers: [33, 51]
Generated Node #0,3,2: 13:[33, 51] Operation: 87-36=51
Exploring Operation: 36-33=3, Resulting Numbers: [87, 3]
Generated Node #0,3,3: 13:[87, 3] Operation: 36-33=3
Exploring Operation: 36+33=69, Resulting Numbers: [87, 69]
Generated Node #0,3,4: 13:[87, 69] Operation: 36+33=69
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[33, 51], Operations: ['89-2=87', '87-36=51']
Exploring Operation: 33*51=1683, Resulting Numbers: [1683]
1683,13 unequal: No Solution
Exploring Operation: 51-33=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 33+51=84, Resulting Numbers: [84]
84,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[36, 54], Operations: ['89-2=87', '87-33=54']
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,13 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[87, 3], Operations: ['89-2=87', '36-33=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[33, 123], Operations: ['89-2=87', '36+87=123']
Exploring Operation: 123-33=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 33*123=4059, Resulting Numbers: [4059]
4059,13 unequal: No Solution
Exploring Operation: 33+123=156, Resulting Numbers: [156]
156,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 13:[87, 69], Operations: ['89-2=87', '36+33=69']
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,13 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,13 unequal: No Solution
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 13:[2, 20], Operations: ['89-33=56', '56-36=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Moving to Node #0,4,0
Current State: 13:[36, 28], Operations: ['89-33=56', '56/2=28']
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,13 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,4,2
Current State: 13:[56, 18], Operations: ['89-33=56', '36/2=18']
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[18, 56], Operations: ['36/2=18', '89-33=56']
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,13 unequal: No Solution
Moving to Node #0,4,4
Current State: 13:[56, 34], Operations: ['89-33=56', '36-2=34']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,13 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,13 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Moving to Node #0,4,1
Current State: 13:[36, 54], Operations: ['89-33=56', '56-2=54']
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[89, 15], Operations: ['36/2=18', '33-18=15']
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,13 unequal: No Solution
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[33, 71], Operations: ['36/2=18', '89-18=71']
Exploring Operation: 33+71=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Exploring Operation: 33*71=2343, Resulting Numbers: [2343]
2343,13 unequal: No Solution
Exploring Operation: 71-33=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[18, 122], Operations: ['36/2=18', '89+33=122']
Exploring Operation: 18*122=2196, Resulting Numbers: [2196]
2196,13 unequal: No Solution
Exploring Operation: 18+122=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 122-18=104, Resulting Numbers: [104]
104,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[33, 107], Operations: ['36/2=18', '89+18=107']
Exploring Operation: 33+107=140, Resulting Numbers: [140]
140,13 unequal: No Solution
Exploring Operation: 33*107=3531, Resulting Numbers: [3531]
3531,13 unequal: No Solution
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,13 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
85,
42,
18,
10
] | 94 | [
"85*10=850",
"42*18=756",
"850-756=94"
] | Current State: 94:[85, 42, 18, 10], Operations: []
Exploring Operation: 85*10=850, Resulting Numbers: [42, 18, 850]
Generated Node #2: [42, 18, 850] from Operation: 85*10=850
Current State: 94:[42, 18, 850], Operations: ['85*10=850']
Exploring Operation: 42*18=756, Resulting Numbers: [850, 756]
Generated Node #3: [850, 756] from Operation: 42*18=756
Current State: 94:[850, 756], Operations: ['85*10=850', '42*18=756']
Exploring Operation: 850-756=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[85, 42, 18, 10], Operations: []
Exploring Operation: 85-42=43, Resulting Numbers: [18, 10, 43]
Generated Node #0,0: 94:[18, 10, 43] Operation: 85-42=43
Exploring Operation: 18-10=8, Resulting Numbers: [85, 42, 8]
Generated Node #0,1: 94:[85, 42, 8] Operation: 18-10=8
Exploring Operation: 42+18=60, Resulting Numbers: [85, 10, 60]
Generated Node #0,2: 94:[85, 10, 60] Operation: 42+18=60
Exploring Operation: 85+10=95, Resulting Numbers: [42, 18, 95]
Generated Node #0,3: 94:[42, 18, 95] Operation: 85+10=95
Exploring Operation: 85+18=103, Resulting Numbers: [42, 10, 103]
Generated Node #0,4: 94:[42, 10, 103] Operation: 85+18=103
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[85, 42, 8], Operations: ['18-10=8']
Exploring Operation: 85-42=43, Resulting Numbers: [8, 43]
Generated Node #0,1,0: 94:[8, 43] Operation: 85-42=43
Exploring Operation: 42-8=34, Resulting Numbers: [85, 34]
Generated Node #0,1,1: 94:[85, 34] Operation: 42-8=34
Exploring Operation: 85-8=77, Resulting Numbers: [42, 77]
Generated Node #0,1,2: 94:[42, 77] Operation: 85-8=77
Exploring Operation: 85+8=93, Resulting Numbers: [42, 93]
Generated Node #0,1,3: 94:[42, 93] Operation: 85+8=93
Exploring Operation: 42+8=50, Resulting Numbers: [85, 50]
Generated Node #0,1,4: 94:[85, 50] Operation: 42+8=50
Moving to Node #0,1,3
Current State: 94:[42, 93], Operations: ['18-10=8', '85+8=93']
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,94 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[8, 43], Operations: ['18-10=8', '85-42=43']
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,94 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[85, 50], Operations: ['18-10=8', '42+8=50']
Exploring Operation: 85*50=4250, Resulting Numbers: [4250]
4250,94 unequal: No Solution
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[85, 34], Operations: ['18-10=8', '42-8=34']
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[42, 77], Operations: ['18-10=8', '85-8=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,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,3
Current State: 94:[42, 18, 95], Operations: ['85+10=95']
Exploring Operation: 18+95=113, Resulting Numbers: [42, 113]
Generated Node #0,3,0: 94:[42, 113] Operation: 18+95=113
Exploring Operation: 95-18=77, Resulting Numbers: [42, 77]
Generated Node #0,3,1: 94:[42, 77] Operation: 95-18=77
Exploring Operation: 42-18=24, Resulting Numbers: [95, 24]
Generated Node #0,3,2: 94:[95, 24] Operation: 42-18=24
Exploring Operation: 42+18=60, Resulting Numbers: [95, 60]
Generated Node #0,3,3: 94:[95, 60] Operation: 42+18=60
Exploring Operation: 95-42=53, Resulting Numbers: [18, 53]
Generated Node #0,3,4: 94:[18, 53] Operation: 95-42=53
Moving to Node #0,3,3
Current State: 94:[95, 60], Operations: ['85+10=95', '42+18=60']
Exploring Operation: 95*60=5700, Resulting Numbers: [5700]
5700,94 unequal: No Solution
Exploring Operation: 95+60=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,3,4
Current State: 94:[18, 53], Operations: ['85+10=95', '95-42=53']
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,94 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,3,1
Current State: 94:[42, 77], Operations: ['85+10=95', '95-18=77']
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,94 unequal: No Solution
Moving to Node #0,3,2
Current State: 94:[95, 24], Operations: ['85+10=95', '42-18=24']
Exploring Operation: 95+24=119, Resulting Numbers: [119]
119,94 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 95*24=2280, Resulting Numbers: [2280]
2280,94 unequal: No Solution
Moving to Node #0,3,0
Current State: 94:[42, 113], Operations: ['85+10=95', '18+95=113']
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,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,4
Current State: 94:[42, 10, 103], Operations: ['85+18=103']
Exploring Operation: 42-10=32, Resulting Numbers: [103, 32]
Generated Node #0,4,0: 94:[103, 32] Operation: 42-10=32
Exploring Operation: 10+103=113, Resulting Numbers: [42, 113]
Generated Node #0,4,1: 94:[42, 113] Operation: 10+103=113
Exploring Operation: 103-42=61, Resulting Numbers: [10, 61]
Generated Node #0,4,2: 94:[10, 61] Operation: 103-42=61
Exploring Operation: 103-10=93, Resulting Numbers: [42, 93]
Generated Node #0,4,3: 94:[42, 93] Operation: 103-10=93
Exploring Operation: 42+10=52, Resulting Numbers: [103, 52]
Generated Node #0,4,4: 94:[103, 52] Operation: 42+10=52
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 94:[42, 93], Operations: ['85+18=103', '103-10=93']
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,94 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,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,4,4
Current State: 94:[103, 52], Operations: ['85+18=103', '42+10=52']
Exploring Operation: 103-52=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 103+52=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 103*52=5356, Resulting Numbers: [5356]
5356,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,4,2
Current State: 94:[10, 61], Operations: ['85+18=103', '103-42=61']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,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,4,0
Current State: 94:[103, 32], Operations: ['85+18=103', '42-10=32']
Exploring Operation: 103-32=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 103*32=3296, Resulting Numbers: [3296]
3296,94 unequal: No Solution
Exploring Operation: 103+32=135, Resulting Numbers: [135]
135,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,4,1
Current State: 94:[42, 113], Operations: ['85+18=103', '10+103=113']
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,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,0
Current State: 94:[18, 10, 43], Operations: ['85-42=43']
Exploring Operation: 10+43=53, Resulting Numbers: [18, 53]
Generated Node #0,0,0: 94:[18, 53] Operation: 10+43=53
Exploring Operation: 18+43=61, Resulting Numbers: [10, 61]
Generated Node #0,0,1: 94:[10, 61] Operation: 18+43=61
Exploring Operation: 18-10=8, Resulting Numbers: [43, 8]
Generated Node #0,0,2: 94:[43, 8] Operation: 18-10=8
Exploring Operation: 43-18=25, Resulting Numbers: [10, 25]
Generated Node #0,0,3: 94:[10, 25] Operation: 43-18=25
Exploring Operation: 18+10=28, Resulting Numbers: [43, 28]
Generated Node #0,0,4: 94:[43, 28] Operation: 18+10=28
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[43, 8], Operations: ['85-42=43', '18-10=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,94 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,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:[18, 53], Operations: ['85-42=43', '10+43=53']
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,94 unequal: No Solution
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,94 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,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:[10, 61], Operations: ['85-42=43', '18+43=61']
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,94 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,94 unequal: No Solution
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,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,4
Current State: 94:[43, 28], Operations: ['85-42=43', '18+10=28']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,94 unequal: No Solution
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,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:[10, 25], Operations: ['85-42=43', '43-18=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,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,2
Current State: 94:[85, 10, 60], Operations: ['42+18=60']
Exploring Operation: 85-60=25, Resulting Numbers: [10, 25]
Generated Node #0,2,0: 94:[10, 25] Operation: 85-60=25
Exploring Operation: 60/10=6, Resulting Numbers: [85, 6]
Generated Node #0,2,1: 94:[85, 6] Operation: 60/10=6
Exploring Operation: 85-10=75, Resulting Numbers: [60, 75]
Generated Node #0,2,2: 94:[60, 75] Operation: 85-10=75
Exploring Operation: 60-10=50, Resulting Numbers: [85, 50]
Generated Node #0,2,3: 94:[85, 50] Operation: 60-10=50
Exploring Operation: 85+10=95, Resulting Numbers: [60, 95]
Generated Node #0,2,4: 94:[60, 95] Operation: 85+10=95
Moving to Node #0,2,3
Current State: 94:[85, 50], Operations: ['42+18=60', '60-10=50']
Exploring Operation: 85*50=4250, Resulting Numbers: [4250]
4250,94 unequal: No Solution
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[85, 6], Operations: ['42+18=60', '60/10=6']
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,94 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,94 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[60, 95], Operations: ['42+18=60', '85+10=95']
Exploring Operation: 60+95=155, Resulting Numbers: [155]
155,94 unequal: No Solution
Exploring Operation: 60*95=5700, Resulting Numbers: [5700]
5700,94 unequal: No Solution
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[10, 25], Operations: ['42+18=60', '85-60=25']
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,94 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[60, 75], Operations: ['42+18=60', '85-10=75']
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,94 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
38,
28,
54
] | 43 | [
"55-38=17",
"54-28=26",
"17+26=43"
] | Current State: 43:[55, 38, 28, 54], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [28, 54, 17]
Generated Node #2: [28, 54, 17] from Operation: 55-38=17
Current State: 43:[28, 54, 17], Operations: ['55-38=17']
Exploring Operation: 54-28=26, Resulting Numbers: [17, 26]
Generated Node #3: [17, 26] from Operation: 54-28=26
Current State: 43:[17, 26], Operations: ['55-38=17', '54-28=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[55, 38, 28, 54], Operations: []
Exploring Operation: 55-28=27, Resulting Numbers: [38, 54, 27]
Generated Node #0,0: 43:[38, 54, 27] Operation: 55-28=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[38, 54, 27], Operations: ['55-28=27']
Exploring Operation: 54-27=27, Resulting Numbers: [38, 27]
Generated Node #0,0,0: 43:[38, 27] Operation: 54-27=27
Moving to Node #0,0,0
Current State: 43:[38, 27], Operations: ['55-28=27', '54-27=27']
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
36,
58,
68
] | 18 | [
"63*36=2268",
"58+68=126",
"2268/126=18"
] | Current State: 18:[63, 36, 58, 68], Operations: []
Exploring Operation: 63*36=2268, Resulting Numbers: [58, 68, 2268]
Generated Node #2: [58, 68, 2268] from Operation: 63*36=2268
Current State: 18:[58, 68, 2268], Operations: ['63*36=2268']
Exploring Operation: 58+68=126, Resulting Numbers: [2268, 126]
Generated Node #3: [2268, 126] from Operation: 58+68=126
Current State: 18:[2268, 126], Operations: ['63*36=2268', '58+68=126']
Exploring Operation: 2268/126=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[63, 36, 58, 68], Operations: []
Exploring Operation: 63-58=5, Resulting Numbers: [36, 68, 5]
Generated Node #0,0: 18:[36, 68, 5] Operation: 63-58=5
Exploring Operation: 58-36=22, Resulting Numbers: [63, 68, 22]
Generated Node #0,1: 18:[63, 68, 22] Operation: 58-36=22
Exploring Operation: 68-63=5, Resulting Numbers: [36, 58, 5]
Generated Node #0,2: 18:[36, 58, 5] Operation: 68-63=5
Exploring Operation: 68-58=10, Resulting Numbers: [63, 36, 10]
Generated Node #0,3: 18:[63, 36, 10] Operation: 68-58=10
Exploring Operation: 63-36=27, Resulting Numbers: [58, 68, 27]
Generated Node #0,4: 18:[58, 68, 27] Operation: 63-36=27
Moving to Node #0,2
Current State: 18:[36, 58, 5], Operations: ['68-63=5']
Exploring Operation: 58-36=22, Resulting Numbers: [5, 22]
Generated Node #0,2,0: 18:[5, 22] Operation: 58-36=22
Exploring Operation: 58-5=53, Resulting Numbers: [36, 53]
Generated Node #0,2,1: 18:[36, 53] Operation: 58-5=53
Exploring Operation: 58+5=63, Resulting Numbers: [36, 63]
Generated Node #0,2,2: 18:[36, 63] Operation: 58+5=63
Exploring Operation: 36-5=31, Resulting Numbers: [58, 31]
Generated Node #0,2,3: 18:[58, 31] Operation: 36-5=31
Exploring Operation: 36+5=41, Resulting Numbers: [58, 41]
Generated Node #0,2,4: 18:[58, 41] Operation: 36+5=41
Moving to Node #0,3
Current State: 18:[63, 36, 10], Operations: ['68-58=10']
Exploring Operation: 63+10=73, Resulting Numbers: [36, 73]
Generated Node #0,3,0: 18:[36, 73] Operation: 63+10=73
Exploring Operation: 63-10=53, Resulting Numbers: [36, 53]
Generated Node #0,3,1: 18:[36, 53] Operation: 63-10=53
Exploring Operation: 36-10=26, Resulting Numbers: [63, 26]
Generated Node #0,3,2: 18:[63, 26] Operation: 36-10=26
Exploring Operation: 36+10=46, Resulting Numbers: [63, 46]
Generated Node #0,3,3: 18:[63, 46] Operation: 36+10=46
Exploring Operation: 63-36=27, Resulting Numbers: [10, 27]
Generated Node #0,3,4: 18:[10, 27] Operation: 63-36=27
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 18:[10, 27], Operations: ['68-58=10', '63-36=27']
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,18 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[36, 53], Operations: ['68-58=10', '63-10=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,18 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[63, 26], Operations: ['68-58=10', '36-10=26']
Exploring Operation: 63+26=89, Resulting Numbers: [89]
89,18 unequal: No Solution
Exploring Operation: 63*26=1638, Resulting Numbers: [1638]
1638,18 unequal: No Solution
Exploring Operation: 63-26=37, Resulting Numbers: [37]
37,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[36, 73], Operations: ['68-58=10', '63+10=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[63, 46], Operations: ['68-58=10', '36+10=46']
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,18 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,18 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: 18:[36, 68, 5], Operations: ['63-58=5']
Exploring Operation: 68+5=73, Resulting Numbers: [36, 73]
Generated Node #0,0,0: 18:[36, 73] Operation: 68+5=73
Exploring Operation: 36+5=41, Resulting Numbers: [68, 41]
Generated Node #0,0,1: 18:[68, 41] Operation: 36+5=41
Exploring Operation: 68-36=32, Resulting Numbers: [5, 32]
Generated Node #0,0,2: 18:[5, 32] Operation: 68-36=32
Exploring Operation: 68-5=63, Resulting Numbers: [36, 63]
Generated Node #0,0,3: 18:[36, 63] Operation: 68-5=63
Exploring Operation: 36-5=31, Resulting Numbers: [68, 31]
Generated Node #0,0,4: 18:[68, 31] Operation: 36-5=31
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[5, 32], Operations: ['63-58=5', '68-36=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,18 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[36, 63], Operations: ['63-58=5', '68-5=63']
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,18 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[68, 31], Operations: ['63-58=5', '36-5=31']
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[36, 73], Operations: ['63-58=5', '68+5=73']
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[68, 41], Operations: ['63-58=5', '36+5=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 18:[63, 68, 22], Operations: ['58-36=22']
Exploring Operation: 63+68=131, Resulting Numbers: [22, 131]
Generated Node #0,1,0: 18:[22, 131] Operation: 63+68=131
Exploring Operation: 68-22=46, Resulting Numbers: [63, 46]
Generated Node #0,1,1: 18:[63, 46] Operation: 68-22=46
Exploring Operation: 68-63=5, Resulting Numbers: [22, 5]
Generated Node #0,1,2: 18:[22, 5] Operation: 68-63=5
Exploring Operation: 63-22=41, Resulting Numbers: [68, 41]
Generated Node #0,1,3: 18:[68, 41] Operation: 63-22=41
Exploring Operation: 63+22=85, Resulting Numbers: [68, 85]
Generated Node #0,1,4: 18:[68, 85] Operation: 63+22=85
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[22, 5], Operations: ['58-36=22', '68-63=5']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[63, 46], Operations: ['58-36=22', '68-22=46']
Exploring Operation: 63+46=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 63*46=2898, Resulting Numbers: [2898]
2898,18 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[68, 41], Operations: ['58-36=22', '63-22=41']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,18 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[22, 131], Operations: ['58-36=22', '63+68=131']
Exploring Operation: 131-22=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 22+131=153, Resulting Numbers: [153]
153,18 unequal: No Solution
Exploring Operation: 22*131=2882, Resulting Numbers: [2882]
2882,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 18:[68, 85], Operations: ['58-36=22', '63+22=85']
Exploring Operation: 68+85=153, Resulting Numbers: [153]
153,18 unequal: No Solution
Exploring Operation: 68*85=5780, Resulting Numbers: [5780]
5780,18 unequal: No Solution
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 18:[58, 68, 27], Operations: ['63-36=27']
Exploring Operation: 68-58=10, Resulting Numbers: [27, 10]
Generated Node #0,4,0: 18:[27, 10] Operation: 68-58=10
Exploring Operation: 68-27=41, Resulting Numbers: [58, 41]
Generated Node #0,4,1: 18:[58, 41] Operation: 68-27=41
Exploring Operation: 58+68=126, Resulting Numbers: [27, 126]
Generated Node #0,4,2: 18:[27, 126] Operation: 58+68=126
Exploring Operation: 58+27=85, Resulting Numbers: [68, 85]
Generated Node #0,4,3: 18:[68, 85] Operation: 58+27=85
Exploring Operation: 58-27=31, Resulting Numbers: [68, 31]
Generated Node #0,4,4: 18:[68, 31] Operation: 58-27=31
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[27, 10], Operations: ['63-36=27', '68-58=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,18 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,18 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[58, 41], Operations: ['63-36=27', '68-27=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,18 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[68, 31], Operations: ['63-36=27', '58-27=31']
Exploring Operation: 68*31=2108, Resulting Numbers: [2108]
2108,18 unequal: No Solution
Exploring Operation: 68+31=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 68-31=37, Resulting Numbers: [37]
37,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[27, 126], Operations: ['63-36=27', '58+68=126']
Exploring Operation: 27*126=3402, Resulting Numbers: [3402]
3402,18 unequal: No Solution
Exploring Operation: 126-27=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 27+126=153, Resulting Numbers: [153]
153,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[68, 85], Operations: ['63-36=27', '58+27=85']
Exploring Operation: 85-68=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 68*85=5780, Resulting Numbers: [5780]
5780,18 unequal: No Solution
Exploring Operation: 68+85=153, Resulting Numbers: [153]
153,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 18:[5, 22], Operations: ['68-63=5', '58-36=22']
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[58, 31], Operations: ['68-63=5', '36-5=31']
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,18 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[36, 53], Operations: ['68-63=5', '58-5=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,18 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[36, 63], Operations: ['68-63=5', '58+5=63']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,18 unequal: No Solution
Exploring Operation: 36*63=2268, Resulting Numbers: [2268]
2268,18 unequal: No Solution
Exploring Operation: 36+63=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[58, 41], Operations: ['68-63=5', '36+5=41']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,18 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,18 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
88,
32,
14
] | 79 | [
"88-27=61",
"32-14=18",
"61+18=79"
] | Current State: 79:[27, 88, 32, 14], Operations: []
Exploring Operation: 88-27=61, Resulting Numbers: [32, 14, 61]
Generated Node #2: [32, 14, 61] from Operation: 88-27=61
Current State: 79:[32, 14, 61], Operations: ['88-27=61']
Exploring Operation: 32-14=18, Resulting Numbers: [61, 18]
Generated Node #3: [61, 18] from Operation: 32-14=18
Current State: 79:[61, 18], Operations: ['88-27=61', '32-14=18']
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[27, 88, 32, 14], Operations: []
Exploring Operation: 27+32=59, Resulting Numbers: [88, 14, 59]
Generated Node #0,0: 79:[88, 14, 59] Operation: 27+32=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[88, 14, 59], Operations: ['27+32=59']
Exploring Operation: 14+59=73, Resulting Numbers: [88, 73]
Generated Node #0,0,0: 79:[88, 73] Operation: 14+59=73
Moving to Node #0,0,0
Current State: 79:[88, 73], Operations: ['27+32=59', '14+59=73']
Exploring Operation: 88-73=15, Resulting Numbers: [15]
15,79 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 |
[
14,
31,
71,
79
] | 81 | [
"79-71=8",
"14*8=112",
"112-31=81"
] | Current State: 81:[14, 31, 71, 79], Operations: []
Exploring Operation: 79-71=8, Resulting Numbers: [14, 31, 8]
Generated Node #2: [14, 31, 8] from Operation: 79-71=8
Current State: 81:[14, 31, 8], Operations: ['79-71=8']
Exploring Operation: 14*8=112, Resulting Numbers: [31, 112]
Generated Node #3: [31, 112] from Operation: 14*8=112
Current State: 81:[31, 112], Operations: ['79-71=8', '14*8=112']
Exploring Operation: 112-31=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[14, 31, 71, 79], Operations: []
Exploring Operation: 71-31=40, Resulting Numbers: [14, 79, 40]
Generated Node #0,0: 81:[14, 79, 40] Operation: 71-31=40
Exploring Operation: 14+71=85, Resulting Numbers: [31, 79, 85]
Generated Node #0,1: 81:[31, 79, 85] Operation: 14+71=85
Exploring Operation: 79-71=8, Resulting Numbers: [14, 31, 8]
Generated Node #0,2: 81:[14, 31, 8] Operation: 79-71=8
Exploring Operation: 31-14=17, Resulting Numbers: [71, 79, 17]
Generated Node #0,3: 81:[71, 79, 17] Operation: 31-14=17
Moving to Node #0,1
Current State: 81:[31, 79, 85], Operations: ['14+71=85']
Exploring Operation: 31+79=110, Resulting Numbers: [85, 110]
Generated Node #0,1,0: 81:[85, 110] Operation: 31+79=110
Exploring Operation: 85-79=6, Resulting Numbers: [31, 6]
Generated Node #0,1,1: 81:[31, 6] Operation: 85-79=6
Exploring Operation: 85-31=54, Resulting Numbers: [79, 54]
Generated Node #0,1,2: 81:[79, 54] Operation: 85-31=54
Exploring Operation: 79-31=48, Resulting Numbers: [85, 48]
Generated Node #0,1,3: 81:[85, 48] Operation: 79-31=48
Moving to Node #0,2
Current State: 81:[14, 31, 8], Operations: ['79-71=8']
Exploring Operation: 31-14=17, Resulting Numbers: [8, 17]
Generated Node #0,2,0: 81:[8, 17] Operation: 31-14=17
Exploring Operation: 14+8=22, Resulting Numbers: [31, 22]
Generated Node #0,2,1: 81:[31, 22] Operation: 14+8=22
Exploring Operation: 14-8=6, Resulting Numbers: [31, 6]
Generated Node #0,2,2: 81:[31, 6] Operation: 14-8=6
Exploring Operation: 31-8=23, Resulting Numbers: [14, 23]
Generated Node #0,2,3: 81:[14, 23] Operation: 31-8=23
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[31, 6], Operations: ['79-71=8', '14-8=6']
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,81 unequal: No Solution
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,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:[8, 17], Operations: ['79-71=8', '31-14=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,81 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,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,1
Current State: 81:[31, 22], Operations: ['79-71=8', '14+8=22']
Exploring Operation: 31+22=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 31*22=682, Resulting Numbers: [682]
682,81 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,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,3
Current State: 81:[14, 23], Operations: ['79-71=8', '31-8=23']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,81 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,81 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: 81:[71, 79, 17], Operations: ['31-14=17']
Exploring Operation: 79-71=8, Resulting Numbers: [17, 8]
Generated Node #0,3,0: 81:[17, 8] Operation: 79-71=8
Exploring Operation: 79+17=96, Resulting Numbers: [71, 96]
Generated Node #0,3,1: 81:[71, 96] Operation: 79+17=96
Exploring Operation: 71-17=54, Resulting Numbers: [79, 54]
Generated Node #0,3,2: 81:[79, 54] Operation: 71-17=54
Exploring Operation: 71+17=88, Resulting Numbers: [79, 88]
Generated Node #0,3,3: 81:[79, 88] Operation: 71+17=88
Moving to Node #0,0
Current State: 81:[14, 79, 40], Operations: ['71-31=40']
Exploring Operation: 79-40=39, Resulting Numbers: [14, 39]
Generated Node #0,0,0: 81:[14, 39] Operation: 79-40=39
Exploring Operation: 79-14=65, Resulting Numbers: [40, 65]
Generated Node #0,0,1: 81:[40, 65] Operation: 79-14=65
Exploring Operation: 14+79=93, Resulting Numbers: [40, 93]
Generated Node #0,0,2: 81:[40, 93] Operation: 14+79=93
Exploring Operation: 40-14=26, Resulting Numbers: [79, 26]
Generated Node #0,0,3: 81:[79, 26] Operation: 40-14=26
Moving to Node #0,0,3
Current State: 81:[79, 26], Operations: ['71-31=40', '40-14=26']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[31, 6], Operations: ['14+71=85', '85-79=6']
Exploring Operation: 31+6=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 31*6=186, Resulting Numbers: [186]
186,81 unequal: No Solution
Exploring Operation: 31-6=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[79, 88], Operations: ['31-14=17', '71+17=88']
Exploring Operation: 79*88=6952, Resulting Numbers: [6952]
6952,81 unequal: No Solution
Exploring Operation: 79+88=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[17, 8], Operations: ['31-14=17', '79-71=8']
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[14, 39], Operations: ['71-31=40', '79-40=39']
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,81 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[71, 96], Operations: ['31-14=17', '79+17=96']
Exploring Operation: 71+96=167, Resulting Numbers: [167]
167,81 unequal: No Solution
Exploring Operation: 96-71=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 71*96=6816, Resulting Numbers: [6816]
6816,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[40, 93], Operations: ['71-31=40', '14+79=93']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 40*93=3720, Resulting Numbers: [3720]
3720,81 unequal: No Solution
Exploring Operation: 40+93=133, Resulting Numbers: [133]
133,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[85, 48], Operations: ['14+71=85', '79-31=48']
Exploring Operation: 85+48=133, Resulting Numbers: [133]
133,81 unequal: No Solution
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 85*48=4080, Resulting Numbers: [4080]
4080,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[79, 54], Operations: ['14+71=85', '85-31=54']
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,81 unequal: No Solution
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,81 unequal: No Solution
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[40, 65], Operations: ['71-31=40', '79-14=65']
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,81 unequal: No Solution
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[79, 54], Operations: ['31-14=17', '71-17=54']
Exploring Operation: 79-54=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 79+54=133, Resulting Numbers: [133]
133,81 unequal: No Solution
Exploring Operation: 79*54=4266, Resulting Numbers: [4266]
4266,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[85, 110], Operations: ['14+71=85', '31+79=110']
Exploring Operation: 110-85=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 85*110=9350, Resulting Numbers: [9350]
9350,81 unequal: No Solution
Exploring Operation: 85+110=195, Resulting Numbers: [195]
195,81 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
58,
39,
53,
77
] | 43 | [
"58-39=19",
"77-53=24",
"19+24=43"
] | Current State: 43:[58, 39, 53, 77], Operations: []
Exploring Operation: 58-39=19, Resulting Numbers: [53, 77, 19]
Generated Node #2: [53, 77, 19] from Operation: 58-39=19
Current State: 43:[53, 77, 19], Operations: ['58-39=19']
Exploring Operation: 77-53=24, Resulting Numbers: [19, 24]
Generated Node #3: [19, 24] from Operation: 77-53=24
Current State: 43:[19, 24], Operations: ['58-39=19', '77-53=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[58, 39, 53, 77], Operations: []
Exploring Operation: 77-58=19, Resulting Numbers: [39, 53, 19]
Generated Node #0,0: 43:[39, 53, 19] Operation: 77-58=19
Exploring Operation: 77-39=38, Resulting Numbers: [58, 53, 38]
Generated Node #0,1: 43:[58, 53, 38] Operation: 77-39=38
Exploring Operation: 77-53=24, Resulting Numbers: [58, 39, 24]
Generated Node #0,2: 43:[58, 39, 24] Operation: 77-53=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[58, 53, 38], Operations: ['77-39=38']
Exploring Operation: 53-38=15, Resulting Numbers: [58, 15]
Generated Node #0,1,0: 43:[58, 15] Operation: 53-38=15
Exploring Operation: 58-38=20, Resulting Numbers: [53, 20]
Generated Node #0,1,1: 43:[53, 20] Operation: 58-38=20
Exploring Operation: 58-53=5, Resulting Numbers: [38, 5]
Generated Node #0,1,2: 43:[38, 5] Operation: 58-53=5
Moving to Node #0,1,1
Current State: 43:[53, 20], Operations: ['77-39=38', '58-38=20']
Exploring Operation: 53+20=73, Resulting Numbers: [73]
73,43 unequal: No Solution
Exploring Operation: 53*20=1060, Resulting Numbers: [1060]
1060,43 unequal: No Solution
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[58, 15], Operations: ['77-39=38', '53-38=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[58, 39, 53, 77], Operations: []
Exploring Operation: 77-39=38, Resulting Numbers: [58, 53, 38]
Generated Node #0,1: 43:[58, 53, 38] Operation: 77-39=38
Moving to Node #0,1
Current State: 43:[58, 53, 38], Operations: ['77-39=38']
Exploring Operation: 53-38=15, Resulting Numbers: [58, 15]
Generated Node #0,1,0: 43:[58, 15] Operation: 53-38=15
Moving to Node #0,1,0
Current State: 43:[58, 15], Operations: ['77-39=38', '53-38=15']
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
84,
36,
41,
80
] | 87 | [
"84-36=48",
"80-41=39",
"48+39=87"
] | Current State: 87:[84, 36, 41, 80], Operations: []
Exploring Operation: 84-36=48, Resulting Numbers: [41, 80, 48]
Generated Node #2: [41, 80, 48] from Operation: 84-36=48
Current State: 87:[41, 80, 48], Operations: ['84-36=48']
Exploring Operation: 80-41=39, Resulting Numbers: [48, 39]
Generated Node #3: [48, 39] from Operation: 80-41=39
Current State: 87:[48, 39], Operations: ['84-36=48', '80-41=39']
Exploring Operation: 48+39=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[84, 36, 41, 80], Operations: []
Exploring Operation: 41-36=5, Resulting Numbers: [84, 80, 5]
Generated Node #0,0: 87:[84, 80, 5] Operation: 41-36=5
Exploring Operation: 84-80=4, Resulting Numbers: [36, 41, 4]
Generated Node #0,1: 87:[36, 41, 4] Operation: 84-80=4
Moving to Node #0,0
Current State: 87:[84, 80, 5], Operations: ['41-36=5']
Exploring Operation: 84-80=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 87:[5, 4] Operation: 84-80=4
Exploring Operation: 80+5=85, Resulting Numbers: [84, 85]
Generated Node #0,0,1: 87:[84, 85] Operation: 80+5=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[5, 4], Operations: ['41-36=5', '84-80=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[84, 85], Operations: ['41-36=5', '80+5=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[36, 41, 4], Operations: ['84-80=4']
Exploring Operation: 41-36=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 87:[4, 5] Operation: 41-36=5
Exploring Operation: 36+41=77, Resulting Numbers: [4, 77]
Generated Node #0,1,1: 87:[4, 77] Operation: 36+41=77
Moving to Node #0,1,0
Current State: 87:[4, 5], Operations: ['84-80=4', '41-36=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[4, 77], Operations: ['84-80=4', '36+41=77']
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,87 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,87 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
54,
83,
40
] | 50 | [
"39+54=93",
"83-40=43",
"93-43=50"
] | Current State: 50:[39, 54, 83, 40], Operations: []
Exploring Operation: 39+54=93, Resulting Numbers: [83, 40, 93]
Generated Node #2: [83, 40, 93] from Operation: 39+54=93
Current State: 50:[83, 40, 93], Operations: ['39+54=93']
Exploring Operation: 83-40=43, Resulting Numbers: [93, 43]
Generated Node #3: [93, 43] from Operation: 83-40=43
Current State: 50:[93, 43], Operations: ['39+54=93', '83-40=43']
Exploring Operation: 93-43=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[39, 54, 83, 40], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [83, 40, 15]
Generated Node #0,0: 50:[83, 40, 15] Operation: 54-39=15
Exploring Operation: 83-40=43, Resulting Numbers: [39, 54, 43]
Generated Node #0,1: 50:[39, 54, 43] Operation: 83-40=43
Exploring Operation: 40-39=1, Resulting Numbers: [54, 83, 1]
Generated Node #0,2: 50:[54, 83, 1] Operation: 40-39=1
Exploring Operation: 83-39=44, Resulting Numbers: [54, 40, 44]
Generated Node #0,3: 50:[54, 40, 44] Operation: 83-39=44
Exploring Operation: 83-54=29, Resulting Numbers: [39, 40, 29]
Generated Node #0,4: 50:[39, 40, 29] Operation: 83-54=29
Moving to Node #0,3
Current State: 50:[54, 40, 44], Operations: ['83-39=44']
Exploring Operation: 40+44=84, Resulting Numbers: [54, 84]
Generated Node #0,3,0: 50:[54, 84] Operation: 40+44=84
Exploring Operation: 54+40=94, Resulting Numbers: [44, 94]
Generated Node #0,3,1: 50:[44, 94] Operation: 54+40=94
Exploring Operation: 44-40=4, Resulting Numbers: [54, 4]
Generated Node #0,3,2: 50:[54, 4] Operation: 44-40=4
Exploring Operation: 54-44=10, Resulting Numbers: [40, 10]
Generated Node #0,3,3: 50:[40, 10] Operation: 54-44=10
Exploring Operation: 54-40=14, Resulting Numbers: [44, 14]
Generated Node #0,3,4: 50:[44, 14] Operation: 54-40=14
Moving to Node #0,1
Current State: 50:[39, 54, 43], Operations: ['83-40=43']
Exploring Operation: 54-39=15, Resulting Numbers: [43, 15]
Generated Node #0,1,0: 50:[43, 15] Operation: 54-39=15
Exploring Operation: 39+54=93, Resulting Numbers: [43, 93]
Generated Node #0,1,1: 50:[43, 93] Operation: 39+54=93
Exploring Operation: 39+43=82, Resulting Numbers: [54, 82]
Generated Node #0,1,2: 50:[54, 82] Operation: 39+43=82
Exploring Operation: 43-39=4, Resulting Numbers: [54, 4]
Generated Node #0,1,3: 50:[54, 4] Operation: 43-39=4
Exploring Operation: 54-43=11, Resulting Numbers: [39, 11]
Generated Node #0,1,4: 50:[39, 11] Operation: 54-43=11
Moving to Node #0,4
Current State: 50:[39, 40, 29], Operations: ['83-54=29']
Exploring Operation: 40+29=69, Resulting Numbers: [39, 69]
Generated Node #0,4,0: 50:[39, 69] Operation: 40+29=69
Exploring Operation: 39-29=10, Resulting Numbers: [40, 10]
Generated Node #0,4,1: 50:[40, 10] Operation: 39-29=10
Exploring Operation: 40-29=11, Resulting Numbers: [39, 11]
Generated Node #0,4,2: 50:[39, 11] Operation: 40-29=11
Exploring Operation: 39+29=68, Resulting Numbers: [40, 68]
Generated Node #0,4,3: 50:[40, 68] Operation: 39+29=68
Exploring Operation: 40-39=1, Resulting Numbers: [29, 1]
Generated Node #0,4,4: 50:[29, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 50:[29, 1], Operations: ['83-54=29', '40-39=1']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 50:[40, 10], Operations: ['83-54=29', '39-29=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 40*10=400, Resulting Numbers: [400]
400,50 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[39, 54, 83, 40], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [39, 40, 29]
Generated Node #0,4: 50:[39, 40, 29] Operation: 83-54=29
Moving to Node #0,4
Current State: 50:[39, 40, 29], Operations: ['83-54=29']
Exploring Operation: 39-29=10, Resulting Numbers: [40, 10]
Generated Node #0,4,1: 50:[40, 10] Operation: 39-29=10
Moving to Node #0,4,1
Current State: 50:[40, 10], Operations: ['83-54=29', '39-29=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
27,
30,
3,
98
] | 19 | [
"98-27=71",
"30*3=90",
"90-71=19"
] | Current State: 19:[27, 30, 3, 98], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [30, 3, 71]
Generated Node #2: [30, 3, 71] from Operation: 98-27=71
Current State: 19:[30, 3, 71], Operations: ['98-27=71']
Exploring Operation: 30*3=90, Resulting Numbers: [71, 90]
Generated Node #3: [71, 90] from Operation: 30*3=90
Current State: 19:[71, 90], Operations: ['98-27=71', '30*3=90']
Exploring Operation: 90-71=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[27, 30, 3, 98], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [30, 3, 71]
Generated Node #0,0: 19:[30, 3, 71] Operation: 98-27=71
Exploring Operation: 98-30=68, Resulting Numbers: [27, 3, 68]
Generated Node #0,1: 19:[27, 3, 68] Operation: 98-30=68
Exploring Operation: 27-3=24, Resulting Numbers: [30, 98, 24]
Generated Node #0,2: 19:[30, 98, 24] Operation: 27-3=24
Exploring Operation: 30-3=27, Resulting Numbers: [27, 98, 27]
Generated Node #0,3: 19:[27, 98, 27] Operation: 30-3=27
Moving to Node #0,1
Current State: 19:[27, 3, 68], Operations: ['98-30=68']
Exploring Operation: 27/3=9, Resulting Numbers: [68, 9]
Generated Node #0,1,0: 19:[68, 9] Operation: 27/3=9
Exploring Operation: 68-3=65, Resulting Numbers: [27, 65]
Generated Node #0,1,1: 19:[27, 65] Operation: 68-3=65
Exploring Operation: 27-3=24, Resulting Numbers: [68, 24]
Generated Node #0,1,2: 19:[68, 24] Operation: 27-3=24
Exploring Operation: 68-27=41, Resulting Numbers: [3, 41]
Generated Node #0,1,3: 19:[3, 41] Operation: 68-27=41
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[3, 41], Operations: ['98-30=68', '68-27=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,19 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[27, 65], Operations: ['98-30=68', '68-3=65']
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,19 unequal: No Solution
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[68, 24], Operations: ['98-30=68', '27-3=24']
Exploring Operation: 68+24=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 68*24=1632, Resulting Numbers: [1632]
1632,19 unequal: No Solution
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[68, 9], Operations: ['98-30=68', '27/3=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,19 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,19 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,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:[30, 3, 71], Operations: ['98-27=71']
Exploring Operation: 30/3=10, Resulting Numbers: [71, 10]
Generated Node #0,0,0: 19:[71, 10] Operation: 30/3=10
Exploring Operation: 71-3=68, Resulting Numbers: [30, 68]
Generated Node #0,0,1: 19:[30, 68] Operation: 71-3=68
Exploring Operation: 30-3=27, Resulting Numbers: [71, 27]
Generated Node #0,0,2: 19:[71, 27] Operation: 30-3=27
Exploring Operation: 71-30=41, Resulting Numbers: [3, 41]
Generated Node #0,0,3: 19:[3, 41] Operation: 71-30=41
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[3, 41], Operations: ['98-27=71', '71-30=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,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:[30, 68], Operations: ['98-27=71', '71-3=68']
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,19 unequal: No Solution
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,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:[71, 27], Operations: ['98-27=71', '30-3=27']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 71*27=1917, Resulting Numbers: [1917]
1917,19 unequal: No Solution
Exploring Operation: 71+27=98, Resulting Numbers: [98]
98,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:[71, 10], Operations: ['98-27=71', '30/3=10']
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,19 unequal: No Solution
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,19 unequal: No Solution
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,19 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: 19:[27, 98, 27], Operations: ['30-3=27']
Exploring Operation: 98-27=71, Resulting Numbers: [27, 71]
Generated Node #0,3,0: 19:[27, 71] Operation: 98-27=71
Exploring Operation: 27/27=1, Resulting Numbers: [98, 1]
Generated Node #0,3,1: 19:[98, 1] Operation: 27/27=1
Exploring Operation: 27-27=0, Resulting Numbers: [98, 0]
Generated Node #0,3,2: 19:[98, 0] Operation: 27-27=0
Exploring Operation: 98-27=71, Resulting Numbers: [27, 71]
Generated Node #0,3,3: 19:[27, 71] Operation: 98-27=71
Moving to Node #0,2
Current State: 19:[30, 98, 24], Operations: ['27-3=24']
Exploring Operation: 98-24=74, Resulting Numbers: [30, 74]
Generated Node #0,2,0: 19:[30, 74] Operation: 98-24=74
Exploring Operation: 30+98=128, Resulting Numbers: [24, 128]
Generated Node #0,2,1: 19:[24, 128] Operation: 30+98=128
Exploring Operation: 30-24=6, Resulting Numbers: [98, 6]
Generated Node #0,2,2: 19:[98, 6] Operation: 30-24=6
Exploring Operation: 98-30=68, Resulting Numbers: [24, 68]
Generated Node #0,2,3: 19:[24, 68] Operation: 98-30=68
Moving to Node #0,2,3
Current State: 19:[24, 68], Operations: ['27-3=24', '98-30=68']
Exploring Operation: 68-24=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 24+68=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 24*68=1632, Resulting Numbers: [1632]
1632,19 unequal: No Solution
Moving to Node #0,3,0
Current State: 19:[27, 71], Operations: ['30-3=27', '98-27=71']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,19 unequal: No Solution
Moving to Node #0,3,3
Current State: 19:[27, 71], Operations: ['30-3=27', '98-27=71']
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[30, 74], Operations: ['27-3=24', '98-24=74']
Exploring Operation: 30+74=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 30*74=2220, Resulting Numbers: [2220]
2220,19 unequal: No Solution
Exploring Operation: 74-30=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[98, 6], Operations: ['27-3=24', '30-24=6']
Exploring Operation: 98-6=92, Resulting Numbers: [92]
92,19 unequal: No Solution
Exploring Operation: 98+6=104, Resulting Numbers: [104]
104,19 unequal: No Solution
Exploring Operation: 98*6=588, Resulting Numbers: [588]
588,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[98, 1], Operations: ['30-3=27', '27/27=1']
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,19 unequal: No Solution
Exploring Operation: 98+1=99, Resulting Numbers: [99]
99,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[98, 0], Operations: ['30-3=27', '27-27=0']
Exploring Operation: 98-0=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 98+0=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 98*0=0, Resulting Numbers: [0]
0,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[24, 128], Operations: ['27-3=24', '30+98=128']
Exploring Operation: 24*128=3072, Resulting Numbers: [3072]
3072,19 unequal: No Solution
Exploring Operation: 24+128=152, Resulting Numbers: [152]
152,19 unequal: No Solution
Exploring Operation: 128-24=104, Resulting Numbers: [104]
104,19 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
9,
78,
78
] | 63 | [
"84+9=93",
"78+78=156",
"156-93=63"
] | Current State: 63:[84, 9, 78, 78], Operations: []
Exploring Operation: 84+9=93, Resulting Numbers: [78, 78, 93]
Generated Node #2: [78, 78, 93] from Operation: 84+9=93
Current State: 63:[78, 78, 93], Operations: ['84+9=93']
Exploring Operation: 78+78=156, Resulting Numbers: [93, 156]
Generated Node #3: [93, 156] from Operation: 78+78=156
Current State: 63:[93, 156], Operations: ['84+9=93', '78+78=156']
Exploring Operation: 156-93=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[84, 9, 78, 78], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [9, 78, 6]
Generated Node #0,0: 63:[9, 78, 6] Operation: 84-78=6
Exploring Operation: 78-78=0, Resulting Numbers: [84, 9, 0]
Generated Node #0,1: 63:[84, 9, 0] Operation: 78-78=0
Exploring Operation: 84-78=6, Resulting Numbers: [9, 78, 6]
Generated Node #0,2: 63:[9, 78, 6] Operation: 84-78=6
Exploring Operation: 78/78=1, Resulting Numbers: [84, 9, 1]
Generated Node #0,3: 63:[84, 9, 1] Operation: 78/78=1
Moving to Node #0,0
Current State: 63:[9, 78, 6], Operations: ['84-78=6']
Exploring Operation: 9-6=3, Resulting Numbers: [78, 3]
Generated Node #0,0,0: 63:[78, 3] Operation: 9-6=3
Exploring Operation: 78-6=72, Resulting Numbers: [9, 72]
Generated Node #0,0,1: 63:[9, 72] Operation: 78-6=72
Exploring Operation: 78/6=13, Resulting Numbers: [9, 13]
Generated Node #0,0,2: 63:[9, 13] Operation: 78/6=13
Exploring Operation: 78-9=69, Resulting Numbers: [6, 69]
Generated Node #0,0,3: 63:[6, 69] Operation: 78-9=69
Moving to Node #0,2
Current State: 63:[9, 78, 6], Operations: ['84-78=6']
Exploring Operation: 78-6=72, Resulting Numbers: [9, 72]
Generated Node #0,2,0: 63:[9, 72] Operation: 78-6=72
Exploring Operation: 9-6=3, Resulting Numbers: [78, 3]
Generated Node #0,2,1: 63:[78, 3] Operation: 9-6=3
Exploring Operation: 78-9=69, Resulting Numbers: [6, 69]
Generated Node #0,2,2: 63:[6, 69] Operation: 78-9=69
Exploring Operation: 78/6=13, Resulting Numbers: [9, 13]
Generated Node #0,2,3: 63:[9, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[9, 13], Operations: ['84-78=6', '78/6=13']
Exploring Operation: 9*13=117, Resulting Numbers: [117]
117,63 unequal: No Solution
Exploring Operation: 9+13=22, Resulting Numbers: [22]
22,63 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[6, 69], Operations: ['84-78=6', '78-9=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[84, 9, 78, 78], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [9, 78, 6]
Generated Node #0,2: 63:[9, 78, 6] Operation: 84-78=6
Moving to Node #0,2
Current State: 63:[9, 78, 6], Operations: ['84-78=6']
Exploring Operation: 78-9=69, Resulting Numbers: [6, 69]
Generated Node #0,2,2: 63:[6, 69] Operation: 78-9=69
Moving to Node #0,2,2
Current State: 63:[6, 69], Operations: ['84-78=6', '78-9=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
11,
44,
85,
79
] | 41 | [
"44/11=4",
"85+79=164",
"164/4=41"
] | Current State: 41:[11, 44, 85, 79], Operations: []
Exploring Operation: 44/11=4, Resulting Numbers: [85, 79, 4]
Generated Node #2: [85, 79, 4] from Operation: 44/11=4
Current State: 41:[85, 79, 4], Operations: ['44/11=4']
Exploring Operation: 85+79=164, Resulting Numbers: [4, 164]
Generated Node #3: [4, 164] from Operation: 85+79=164
Current State: 41:[4, 164], Operations: ['44/11=4', '85+79=164']
Exploring Operation: 164/4=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[11, 44, 85, 79], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [11, 85, 35]
Generated Node #0,0: 41:[11, 85, 35] Operation: 79-44=35
Exploring Operation: 79-11=68, Resulting Numbers: [44, 85, 68]
Generated Node #0,1: 41:[44, 85, 68] Operation: 79-11=68
Exploring Operation: 85-11=74, Resulting Numbers: [44, 79, 74]
Generated Node #0,2: 41:[44, 79, 74] Operation: 85-11=74
Exploring Operation: 85-79=6, Resulting Numbers: [11, 44, 6]
Generated Node #0,3: 41:[11, 44, 6] Operation: 85-79=6
Exploring Operation: 85-44=41, Resulting Numbers: [11, 79, 41]
Generated Node #0,4: 41:[11, 79, 41] Operation: 85-44=41
Moving to Node #0,3
Current State: 41:[11, 44, 6], Operations: ['85-79=6']
Exploring Operation: 11*6=66, Resulting Numbers: [44, 66]
Generated Node #0,3,0: 41:[44, 66] Operation: 11*6=66
Exploring Operation: 44+6=50, Resulting Numbers: [11, 50]
Generated Node #0,3,1: 41:[11, 50] Operation: 44+6=50
Exploring Operation: 11-6=5, Resulting Numbers: [44, 5]
Generated Node #0,3,2: 41:[44, 5] Operation: 11-6=5
Exploring Operation: 44-6=38, Resulting Numbers: [11, 38]
Generated Node #0,3,3: 41:[11, 38] Operation: 44-6=38
Exploring Operation: 11+6=17, Resulting Numbers: [44, 17]
Generated Node #0,3,4: 41:[44, 17] Operation: 11+6=17
Moving to Node #0,4
Current State: 41:[11, 79, 41], Operations: ['85-44=41']
Exploring Operation: 79-41=38, Resulting Numbers: [11, 38]
Generated Node #0,4,0: 41:[11, 38] Operation: 79-41=38
Exploring Operation: 11+41=52, Resulting Numbers: [79, 52]
Generated Node #0,4,1: 41:[79, 52] Operation: 11+41=52
Exploring Operation: 11+79=90, Resulting Numbers: [41, 90]
Generated Node #0,4,2: 41:[41, 90] Operation: 11+79=90
Exploring Operation: 41-11=30, Resulting Numbers: [79, 30]
Generated Node #0,4,3: 41:[79, 30] Operation: 41-11=30
Exploring Operation: 79-11=68, Resulting Numbers: [41, 68]
Generated Node #0,4,4: 41:[41, 68] Operation: 79-11=68
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 41:[41, 68], Operations: ['85-44=41', '79-11=68']
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,41 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 41:[11, 38], Operations: ['85-44=41', '79-41=38']
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,41 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 41:[79, 52], Operations: ['85-44=41', '11+41=52']
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 79+52=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 79*52=4108, Resulting Numbers: [4108]
4108,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 41:[41, 90], Operations: ['85-44=41', '11+79=90']
Exploring Operation: 41*90=3690, Resulting Numbers: [3690]
3690,41 unequal: No Solution
Exploring Operation: 90-41=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 41+90=131, Resulting Numbers: [131]
131,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 41:[79, 30], Operations: ['85-44=41', '41-11=30']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,41 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 41:[44, 85, 68], Operations: ['79-11=68']
Exploring Operation: 68-44=24, Resulting Numbers: [85, 24]
Generated Node #0,1,0: 41:[85, 24] Operation: 68-44=24
Exploring Operation: 85-44=41, Resulting Numbers: [68, 41]
Generated Node #0,1,1: 41:[68, 41] Operation: 85-44=41
Exploring Operation: 44+68=112, Resulting Numbers: [85, 112]
Generated Node #0,1,2: 41:[85, 112] Operation: 44+68=112
Exploring Operation: 85-68=17, Resulting Numbers: [44, 17]
Generated Node #0,1,3: 41:[44, 17] Operation: 85-68=17
Exploring Operation: 44+85=129, Resulting Numbers: [68, 129]
Generated Node #0,1,4: 41:[68, 129] Operation: 44+85=129
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[68, 41], Operations: ['79-11=68', '85-44=41']
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,41 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[44, 17], Operations: ['79-11=68', '85-68=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[85, 24], Operations: ['79-11=68', '68-44=24']
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[85, 112], Operations: ['79-11=68', '44+68=112']
Exploring Operation: 85*112=9520, Resulting Numbers: [9520]
9520,41 unequal: No Solution
Exploring Operation: 112-85=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 85+112=197, Resulting Numbers: [197]
197,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[68, 129], Operations: ['79-11=68', '44+85=129']
Exploring Operation: 129-68=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 68+129=197, Resulting Numbers: [197]
197,41 unequal: No Solution
Exploring Operation: 68*129=8772, Resulting Numbers: [8772]
8772,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 41:[44, 79, 74], Operations: ['85-11=74']
Exploring Operation: 44+74=118, Resulting Numbers: [79, 118]
Generated Node #0,2,0: 41:[79, 118] Operation: 44+74=118
Exploring Operation: 79-44=35, Resulting Numbers: [74, 35]
Generated Node #0,2,1: 41:[74, 35] Operation: 79-44=35
Exploring Operation: 79-74=5, Resulting Numbers: [44, 5]
Generated Node #0,2,2: 41:[44, 5] Operation: 79-74=5
Exploring Operation: 44+79=123, Resulting Numbers: [74, 123]
Generated Node #0,2,3: 41:[74, 123] Operation: 44+79=123
Exploring Operation: 74-44=30, Resulting Numbers: [79, 30]
Generated Node #0,2,4: 41:[79, 30] Operation: 74-44=30
Moving to Node #0,0
Current State: 41:[11, 85, 35], Operations: ['79-44=35']
Exploring Operation: 85-35=50, Resulting Numbers: [11, 50]
Generated Node #0,0,0: 41:[11, 50] Operation: 85-35=50
Exploring Operation: 85-11=74, Resulting Numbers: [35, 74]
Generated Node #0,0,1: 41:[35, 74] Operation: 85-11=74
Exploring Operation: 35-11=24, Resulting Numbers: [85, 24]
Generated Node #0,0,2: 41:[85, 24] Operation: 35-11=24
Exploring Operation: 11+85=96, Resulting Numbers: [35, 96]
Generated Node #0,0,3: 41:[35, 96] Operation: 11+85=96
Exploring Operation: 11+35=46, Resulting Numbers: [85, 46]
Generated Node #0,0,4: 41:[85, 46] Operation: 11+35=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[11, 50], Operations: ['79-44=35', '85-35=50']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,41 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,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,0,1
Current State: 41:[35, 74], Operations: ['79-44=35', '85-11=74']
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,41 unequal: No Solution
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,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,0,4
Current State: 41:[85, 46], Operations: ['79-44=35', '11+35=46']
Exploring Operation: 85*46=3910, Resulting Numbers: [3910]
3910,41 unequal: No Solution
Exploring Operation: 85+46=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,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,0,2
Current State: 41:[85, 24], Operations: ['79-44=35', '35-11=24']
Exploring Operation: 85+24=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 85*24=2040, Resulting Numbers: [2040]
2040,41 unequal: No Solution
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,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,0,3
Current State: 41:[35, 96], Operations: ['79-44=35', '11+85=96']
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 35+96=131, Resulting Numbers: [131]
131,41 unequal: No Solution
Exploring Operation: 35*96=3360, Resulting Numbers: [3360]
3360,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 41:[44, 17], Operations: ['85-79=6', '11+6=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,41 unequal: No Solution
Moving to Node #0,3,0
Current State: 41:[44, 66], Operations: ['85-79=6', '11*6=66']
Exploring Operation: 66-44=22, Resulting Numbers: [22]
22,41 unequal: No Solution
Exploring Operation: 44+66=110, Resulting Numbers: [110]
110,41 unequal: No Solution
Exploring Operation: 44*66=2904, Resulting Numbers: [2904]
2904,41 unequal: No Solution
Moving to Node #0,3,3
Current State: 41:[11, 38], Operations: ['85-79=6', '44-6=38']
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,41 unequal: No Solution
Moving to Node #0,2,2
Current State: 41:[44, 5], Operations: ['85-11=74', '79-74=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[74, 35], Operations: ['85-11=74', '79-44=35']
Exploring Operation: 74+35=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Exploring Operation: 74*35=2590, Resulting Numbers: [2590]
2590,41 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Moving to Node #0,3,2
Current State: 41:[44, 5], Operations: ['85-79=6', '11-6=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Moving to Node #0,3,1
Current State: 41:[11, 50], Operations: ['85-79=6', '44+6=50']
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,41 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,41 unequal: No Solution
Moving to Node #0,2,4
Current State: 41:[79, 30], Operations: ['85-11=74', '74-44=30']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,41 unequal: No Solution
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[79, 118], Operations: ['85-11=74', '44+74=118']
Exploring Operation: 118-79=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 79*118=9322, Resulting Numbers: [9322]
9322,41 unequal: No Solution
Exploring Operation: 79+118=197, Resulting Numbers: [197]
197,41 unequal: No Solution
Moving to Node #0,2,3
Current State: 41:[74, 123], Operations: ['85-11=74', '44+79=123']
Exploring Operation: 123-74=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 74*123=9102, Resulting Numbers: [9102]
9102,41 unequal: No Solution
Exploring Operation: 74+123=197, Resulting Numbers: [197]
197,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
78,
98,
80,
52
] | 12 | [
"98-80=18",
"52*18=936",
"936/78=12"
] | Current State: 12:[78, 98, 80, 52], Operations: []
Exploring Operation: 98-80=18, Resulting Numbers: [78, 52, 18]
Generated Node #2: [78, 52, 18] from Operation: 98-80=18
Current State: 12:[78, 52, 18], Operations: ['98-80=18']
Exploring Operation: 52*18=936, Resulting Numbers: [78, 936]
Generated Node #3: [78, 936] from Operation: 52*18=936
Current State: 12:[78, 936], Operations: ['98-80=18', '52*18=936']
Exploring Operation: 936/78=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[78, 98, 80, 52], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [80, 52, 20]
Generated Node #0,0: 12:[80, 52, 20] Operation: 98-78=20
Exploring Operation: 98-80=18, Resulting Numbers: [78, 52, 18]
Generated Node #0,1: 12:[78, 52, 18] Operation: 98-80=18
Moving to Node #0,1
Current State: 12:[78, 52, 18], Operations: ['98-80=18']
Exploring Operation: 78-18=60, Resulting Numbers: [52, 60]
Generated Node #0,1,0: 12:[52, 60] Operation: 78-18=60
Exploring Operation: 78-52=26, Resulting Numbers: [18, 26]
Generated Node #0,1,1: 12:[18, 26] Operation: 78-52=26
Moving to Node #0,0
Current State: 12:[80, 52, 20], Operations: ['98-78=20']
Exploring Operation: 80/20=4, Resulting Numbers: [52, 4]
Generated Node #0,0,0: 12:[52, 4] Operation: 80/20=4
Exploring Operation: 80-52=28, Resulting Numbers: [20, 28]
Generated Node #0,0,1: 12:[20, 28] Operation: 80-52=28
Moving to Node #0,1,1
Current State: 12:[18, 26], Operations: ['98-80=18', '78-52=26']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[20, 28], Operations: ['98-78=20', '80-52=28']
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[52, 4], Operations: ['98-78=20', '80/20=4']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[52, 60], Operations: ['98-80=18', '78-18=60']
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 52+60=112, Resulting Numbers: [112]
112,12 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
49,
37,
99,
35
] | 25 | [
"99-49=50",
"37-35=2",
"50/2=25"
] | Current State: 25:[49, 37, 99, 35], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [37, 35, 50]
Generated Node #2: [37, 35, 50] from Operation: 99-49=50
Current State: 25:[37, 35, 50], Operations: ['99-49=50']
Exploring Operation: 37-35=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 37-35=2
Current State: 25:[50, 2], Operations: ['99-49=50', '37-35=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[49, 37, 99, 35], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [37, 35, 50]
Generated Node #0,0: 25:[37, 35, 50] Operation: 99-49=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[37, 35, 50], Operations: ['99-49=50']
Exploring Operation: 50-37=13, Resulting Numbers: [35, 13]
Generated Node #0,0,0: 25:[35, 13] Operation: 50-37=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[35, 13], Operations: ['99-49=50', '50-37=13']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
15,
48,
47
] | 91 | [
"6*15=90",
"48-47=1",
"90+1=91"
] | Current State: 91:[6, 15, 48, 47], Operations: []
Exploring Operation: 6*15=90, Resulting Numbers: [48, 47, 90]
Generated Node #2: [48, 47, 90] from Operation: 6*15=90
Current State: 91:[48, 47, 90], Operations: ['6*15=90']
Exploring Operation: 48-47=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 48-47=1
Current State: 91:[90, 1], Operations: ['6*15=90', '48-47=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[6, 15, 48, 47], Operations: []
Exploring Operation: 48+47=95, Resulting Numbers: [6, 15, 95]
Generated Node #0,0: 91:[6, 15, 95] Operation: 48+47=95
Exploring Operation: 48-47=1, Resulting Numbers: [6, 15, 1]
Generated Node #0,1: 91:[6, 15, 1] Operation: 48-47=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[6, 15, 95], Operations: ['48+47=95']
Exploring Operation: 6*15=90, Resulting Numbers: [95, 90]
Generated Node #0,0,0: 91:[95, 90] Operation: 6*15=90
Exploring Operation: 95-6=89, Resulting Numbers: [15, 89]
Generated Node #0,0,1: 91:[15, 89] Operation: 95-6=89
Moving to Node #0,0,1
Current State: 91:[15, 89], Operations: ['48+47=95', '95-6=89']
Exploring Operation: 15+89=104, Resulting Numbers: [104]
104,91 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[95, 90], Operations: ['48+47=95', '6*15=90']
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,91 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,91 unequal: No Solution
No solution 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: 91:[6, 15, 1], Operations: ['48-47=1']
Exploring Operation: 15-1=14, Resulting Numbers: [6, 14]
Generated Node #0,1,0: 91:[6, 14] Operation: 15-1=14
Exploring Operation: 6+1=7, Resulting Numbers: [15, 7]
Generated Node #0,1,1: 91:[15, 7] Operation: 6+1=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[6, 14], Operations: ['48-47=1', '15-1=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,91 unequal: No Solution
No 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: 91:[15, 7], Operations: ['48-47=1', '6+1=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,91 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
86,
32,
93
] | 44 | [
"86-5=81",
"32+93=125",
"125-81=44"
] | Current State: 44:[5, 86, 32, 93], Operations: []
Exploring Operation: 86-5=81, Resulting Numbers: [32, 93, 81]
Generated Node #2: [32, 93, 81] from Operation: 86-5=81
Current State: 44:[32, 93, 81], Operations: ['86-5=81']
Exploring Operation: 32+93=125, Resulting Numbers: [81, 125]
Generated Node #3: [81, 125] from Operation: 32+93=125
Current State: 44:[81, 125], Operations: ['86-5=81', '32+93=125']
Exploring Operation: 125-81=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[5, 86, 32, 93], Operations: []
Exploring Operation: 32-5=27, Resulting Numbers: [86, 93, 27]
Generated Node #0,0: 44:[86, 93, 27] Operation: 32-5=27
Exploring Operation: 93-86=7, Resulting Numbers: [5, 32, 7]
Generated Node #0,1: 44:[5, 32, 7] Operation: 93-86=7
Exploring Operation: 86-32=54, Resulting Numbers: [5, 93, 54]
Generated Node #0,2: 44:[5, 93, 54] Operation: 86-32=54
Exploring Operation: 86-5=81, Resulting Numbers: [32, 93, 81]
Generated Node #0,3: 44:[32, 93, 81] Operation: 86-5=81
Exploring Operation: 93-32=61, Resulting Numbers: [5, 86, 61]
Generated Node #0,4: 44:[5, 86, 61] Operation: 93-32=61
Moving to Node #0,1
Current State: 44:[5, 32, 7], Operations: ['93-86=7']
Exploring Operation: 32+7=39, Resulting Numbers: [5, 39]
Generated Node #0,1,0: 44:[5, 39] Operation: 32+7=39
Exploring Operation: 32-7=25, Resulting Numbers: [5, 25]
Generated Node #0,1,1: 44:[5, 25] Operation: 32-7=25
Exploring Operation: 7-5=2, Resulting Numbers: [32, 2]
Generated Node #0,1,2: 44:[32, 2] Operation: 7-5=2
Exploring Operation: 5+32=37, Resulting Numbers: [7, 37]
Generated Node #0,1,3: 44:[7, 37] Operation: 5+32=37
Exploring Operation: 32-5=27, Resulting Numbers: [7, 27]
Generated Node #0,1,4: 44:[7, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[5, 25], Operations: ['93-86=7', '32-7=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,44 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,44 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,44 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 44:[5, 39], Operations: ['93-86=7', '32+7=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[5, 86, 32, 93], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [5, 32, 7]
Generated Node #0,1: 44:[5, 32, 7] Operation: 93-86=7
Moving to Node #0,1
Current State: 44:[5, 32, 7], Operations: ['93-86=7']
Exploring Operation: 32+7=39, Resulting Numbers: [5, 39]
Generated Node #0,1,0: 44:[5, 39] Operation: 32+7=39
Moving to Node #0,1,0
Current State: 44:[5, 39], Operations: ['93-86=7', '32+7=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
4,
61,
18,
73
] | 99 | [
"61-18=43",
"4*43=172",
"172-73=99"
] | Current State: 99:[4, 61, 18, 73], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [4, 73, 43]
Generated Node #2: [4, 73, 43] from Operation: 61-18=43
Current State: 99:[4, 73, 43], Operations: ['61-18=43']
Exploring Operation: 4*43=172, Resulting Numbers: [73, 172]
Generated Node #3: [73, 172] from Operation: 4*43=172
Current State: 99:[73, 172], Operations: ['61-18=43', '4*43=172']
Exploring Operation: 172-73=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[4, 61, 18, 73], Operations: []
Exploring Operation: 73-61=12, Resulting Numbers: [4, 18, 12]
Generated Node #0,0: 99:[4, 18, 12] Operation: 73-61=12
Moving to Node #0,0
Current State: 99:[4, 18, 12], Operations: ['73-61=12']
Exploring Operation: 18-4=14, Resulting Numbers: [12, 14]
Generated Node #0,0,0: 99:[12, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[12, 14], Operations: ['73-61=12', '18-4=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,99 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 |
[
53,
28,
82,
9
] | 98 | [
"53-28=25",
"82-9=73",
"25+73=98"
] | Current State: 98:[53, 28, 82, 9], Operations: []
Exploring Operation: 53-28=25, Resulting Numbers: [82, 9, 25]
Generated Node #2: [82, 9, 25] from Operation: 53-28=25
Current State: 98:[82, 9, 25], Operations: ['53-28=25']
Exploring Operation: 82-9=73, Resulting Numbers: [25, 73]
Generated Node #3: [25, 73] from Operation: 82-9=73
Current State: 98:[25, 73], Operations: ['53-28=25', '82-9=73']
Exploring Operation: 25+73=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[53, 28, 82, 9], Operations: []
Exploring Operation: 28+82=110, Resulting Numbers: [53, 9, 110]
Generated Node #0,0: 98:[53, 9, 110] Operation: 28+82=110
Exploring Operation: 82-28=54, Resulting Numbers: [53, 9, 54]
Generated Node #0,1: 98:[53, 9, 54] Operation: 82-28=54
Exploring Operation: 28-9=19, Resulting Numbers: [53, 82, 19]
Generated Node #0,2: 98:[53, 82, 19] Operation: 28-9=19
Moving to Node #0,1
Current State: 98:[53, 9, 54], Operations: ['82-28=54']
Exploring Operation: 54-9=45, Resulting Numbers: [53, 45]
Generated Node #0,1,0: 98:[53, 45] Operation: 54-9=45
Exploring Operation: 54-53=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 98:[9, 1] Operation: 54-53=1
Exploring Operation: 54/9=6, Resulting Numbers: [53, 6]
Generated Node #0,1,2: 98:[53, 6] Operation: 54/9=6
Moving to Node #0,0
Current State: 98:[53, 9, 110], Operations: ['28+82=110']
Exploring Operation: 110-53=57, Resulting Numbers: [9, 57]
Generated Node #0,0,0: 98:[9, 57] Operation: 110-53=57
Exploring Operation: 110-9=101, Resulting Numbers: [53, 101]
Generated Node #0,0,1: 98:[53, 101] Operation: 110-9=101
Exploring Operation: 53-9=44, Resulting Numbers: [110, 44]
Generated Node #0,0,2: 98:[110, 44] Operation: 53-9=44
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[53, 101], Operations: ['28+82=110', '110-9=101']
Exploring Operation: 53+101=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 101-53=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 53*101=5353, Resulting Numbers: [5353]
5353,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:[9, 57], Operations: ['28+82=110', '110-53=57']
Exploring Operation: 9+57=66, Resulting Numbers: [66]
66,98 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 9*57=513, Resulting Numbers: [513]
513,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:[110, 44], Operations: ['28+82=110', '53-9=44']
Exploring Operation: 110*44=4840, Resulting Numbers: [4840]
4840,98 unequal: No Solution
Exploring Operation: 110+44=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 110-44=66, Resulting Numbers: [66]
66,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:[53, 82, 19], Operations: ['28-9=19']
Exploring Operation: 82+19=101, Resulting Numbers: [53, 101]
Generated Node #0,2,0: 98:[53, 101] Operation: 82+19=101
Exploring Operation: 82-19=63, Resulting Numbers: [53, 63]
Generated Node #0,2,1: 98:[53, 63] Operation: 82-19=63
Exploring Operation: 82-53=29, Resulting Numbers: [19, 29]
Generated Node #0,2,2: 98:[19, 29] Operation: 82-53=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[53, 101], Operations: ['28-9=19', '82+19=101']
Exploring Operation: 101-53=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 53+101=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 53*101=5353, Resulting Numbers: [5353]
5353,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:[53, 63], Operations: ['28-9=19', '82-19=63']
Exploring Operation: 53*63=3339, Resulting Numbers: [3339]
3339,98 unequal: No Solution
Exploring Operation: 53+63=116, Resulting Numbers: [116]
116,98 unequal: No Solution
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,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:[19, 29], Operations: ['28-9=19', '82-53=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,98 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,98 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,98 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: 98:[9, 1], Operations: ['82-28=54', '54-53=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[53, 6], Operations: ['82-28=54', '54/9=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,98 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[53, 45], Operations: ['82-28=54', '54-9=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,98 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,98 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[53, 28, 82, 9], Operations: []
Exploring Operation: 82-28=54, Resulting Numbers: [53, 9, 54]
Generated Node #0,1: 98:[53, 9, 54] Operation: 82-28=54
Moving to Node #0,1
Current State: 98:[53, 9, 54], Operations: ['82-28=54']
Exploring Operation: 54-9=45, Resulting Numbers: [53, 45]
Generated Node #0,1,0: 98:[53, 45] Operation: 54-9=45
Moving to Node #0,1,0
Current State: 98:[53, 45], Operations: ['82-28=54', '54-9=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.962674 | hs_3 | sum_heuristic |
[
8,
5,
31,
91
] | 57 | [
"8-5=3",
"91-31=60",
"60-3=57"
] | Current State: 57:[8, 5, 31, 91], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [31, 91, 3]
Generated Node #2: [31, 91, 3] from Operation: 8-5=3
Current State: 57:[31, 91, 3], Operations: ['8-5=3']
Exploring Operation: 91-31=60, Resulting Numbers: [3, 60]
Generated Node #3: [3, 60] from Operation: 91-31=60
Current State: 57:[3, 60], Operations: ['8-5=3', '91-31=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[8, 5, 31, 91], Operations: []
Exploring Operation: 31-8=23, Resulting Numbers: [5, 91, 23]
Generated Node #0,0: 57:[5, 91, 23] Operation: 31-8=23
Exploring Operation: 91-8=83, Resulting Numbers: [5, 31, 83]
Generated Node #0,1: 57:[5, 31, 83] Operation: 91-8=83
Exploring Operation: 8-5=3, Resulting Numbers: [31, 91, 3]
Generated Node #0,2: 57:[31, 91, 3] Operation: 8-5=3
Exploring Operation: 91-31=60, Resulting Numbers: [8, 5, 60]
Generated Node #0,3: 57:[8, 5, 60] Operation: 91-31=60
Moving to Node #0,3
Current State: 57:[8, 5, 60], Operations: ['91-31=60']
Exploring Operation: 8-5=3, Resulting Numbers: [60, 3]
Generated Node #0,3,0: 57:[60, 3] Operation: 8-5=3
Exploring Operation: 60-5=55, Resulting Numbers: [8, 55]
Generated Node #0,3,1: 57:[8, 55] Operation: 60-5=55
Exploring Operation: 60-8=52, Resulting Numbers: [5, 52]
Generated Node #0,3,2: 57:[5, 52] Operation: 60-8=52
Exploring Operation: 8+5=13, Resulting Numbers: [60, 13]
Generated Node #0,3,3: 57:[60, 13] Operation: 8+5=13
Moving to Node #0,1
Current State: 57:[5, 31, 83], Operations: ['91-8=83']
Exploring Operation: 31-5=26, Resulting Numbers: [83, 26]
Generated Node #0,1,0: 57:[83, 26] Operation: 31-5=26
Exploring Operation: 83-5=78, Resulting Numbers: [31, 78]
Generated Node #0,1,1: 57:[31, 78] Operation: 83-5=78
Exploring Operation: 5+31=36, Resulting Numbers: [83, 36]
Generated Node #0,1,2: 57:[83, 36] Operation: 5+31=36
Exploring Operation: 83-31=52, Resulting Numbers: [5, 52]
Generated Node #0,1,3: 57:[5, 52] Operation: 83-31=52
Moving to Node #0,0
Current State: 57:[5, 91, 23], Operations: ['31-8=23']
Exploring Operation: 91-23=68, Resulting Numbers: [5, 68]
Generated Node #0,0,0: 57:[5, 68] Operation: 91-23=68
Exploring Operation: 91-5=86, Resulting Numbers: [23, 86]
Generated Node #0,0,1: 57:[23, 86] Operation: 91-5=86
Exploring Operation: 23-5=18, Resulting Numbers: [91, 18]
Generated Node #0,0,2: 57:[91, 18] Operation: 23-5=18
Exploring Operation: 5+91=96, Resulting Numbers: [23, 96]
Generated Node #0,0,3: 57:[23, 96] Operation: 5+91=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[5, 68], Operations: ['31-8=23', '91-23=68']
Exploring Operation: 5+68=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 5*68=340, Resulting Numbers: [340]
340,57 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[23, 86], Operations: ['31-8=23', '91-5=86']
Exploring Operation: 23*86=1978, Resulting Numbers: [1978]
1978,57 unequal: No Solution
Exploring Operation: 23+86=109, Resulting Numbers: [109]
109,57 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[91, 18], Operations: ['31-8=23', '23-5=18']
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,57 unequal: No Solution
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[23, 96], Operations: ['31-8=23', '5+91=96']
Exploring Operation: 23+96=119, Resulting Numbers: [119]
119,57 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 23*96=2208, Resulting Numbers: [2208]
2208,57 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: 57:[31, 91, 3], Operations: ['8-5=3']
Exploring Operation: 91-31=60, Resulting Numbers: [3, 60]
Generated Node #0,2,0: 57:[3, 60] Operation: 91-31=60
Exploring Operation: 31-3=28, Resulting Numbers: [91, 28]
Generated Node #0,2,1: 57:[91, 28] Operation: 31-3=28
Exploring Operation: 91-3=88, Resulting Numbers: [31, 88]
Generated Node #0,2,2: 57:[31, 88] Operation: 91-3=88
Exploring Operation: 31+3=34, Resulting Numbers: [91, 34]
Generated Node #0,2,3: 57:[91, 34] Operation: 31+3=34
Moving to Node #0,3,0
Current State: 57:[60, 3], Operations: ['91-31=60', '8-5=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,57 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[8, 5, 31, 91], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [8, 5, 60]
Generated Node #0,3: 57:[8, 5, 60] Operation: 91-31=60
Moving to Node #0,3
Current State: 57:[8, 5, 60], Operations: ['91-31=60']
Exploring Operation: 8-5=3, Resulting Numbers: [60, 3]
Generated Node #0,3,0: 57:[60, 3] Operation: 8-5=3
Moving to Node #0,3,0
Current State: 57:[60, 3], Operations: ['91-31=60', '8-5=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
53,
87,
37,
58
] | 98 | [
"58-53=5",
"37*5=185",
"185-87=98"
] | Current State: 98:[53, 87, 37, 58], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [87, 37, 5]
Generated Node #2: [87, 37, 5] from Operation: 58-53=5
Current State: 98:[87, 37, 5], Operations: ['58-53=5']
Exploring Operation: 37*5=185, Resulting Numbers: [87, 185]
Generated Node #3: [87, 185] from Operation: 37*5=185
Current State: 98:[87, 185], Operations: ['58-53=5', '37*5=185']
Exploring Operation: 185-87=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[53, 87, 37, 58], Operations: []
Exploring Operation: 37+58=95, Resulting Numbers: [53, 87, 95]
Generated Node #0,0: 98:[53, 87, 95] Operation: 37+58=95
Exploring Operation: 53-37=16, Resulting Numbers: [87, 58, 16]
Generated Node #0,1: 98:[87, 58, 16] Operation: 53-37=16
Exploring Operation: 87-37=50, Resulting Numbers: [53, 58, 50]
Generated Node #0,2: 98:[53, 58, 50] Operation: 87-37=50
Exploring Operation: 58-37=21, Resulting Numbers: [53, 87, 21]
Generated Node #0,3: 98:[53, 87, 21] Operation: 58-37=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[53, 58, 50], Operations: ['87-37=50']
Exploring Operation: 58-50=8, Resulting Numbers: [53, 8]
Generated Node #0,2,0: 98:[53, 8] Operation: 58-50=8
Exploring Operation: 58-53=5, Resulting Numbers: [50, 5]
Generated Node #0,2,1: 98:[50, 5] Operation: 58-53=5
Exploring Operation: 53+58=111, Resulting Numbers: [50, 111]
Generated Node #0,2,2: 98:[50, 111] Operation: 53+58=111
Exploring Operation: 53-50=3, Resulting Numbers: [58, 3]
Generated Node #0,2,3: 98:[58, 3] Operation: 53-50=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 98:[50, 5], Operations: ['87-37=50', '58-53=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,98 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,98 unequal: No Solution
No 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: 98:[53, 8], Operations: ['87-37=50', '58-50=8']
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,98 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,98 unequal: No Solution
No 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: 98:[58, 3], Operations: ['87-37=50', '53-50=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,98 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[50, 111], Operations: ['87-37=50', '53+58=111']
Exploring Operation: 50*111=5550, Resulting Numbers: [5550]
5550,98 unequal: No Solution
Exploring Operation: 111-50=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 50+111=161, Resulting Numbers: [161]
161,98 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: 98:[53, 87, 95], Operations: ['37+58=95']
Exploring Operation: 95-53=42, Resulting Numbers: [87, 42]
Generated Node #0,0,0: 98:[87, 42] Operation: 95-53=42
Exploring Operation: 95-87=8, Resulting Numbers: [53, 8]
Generated Node #0,0,1: 98:[53, 8] Operation: 95-87=8
Exploring Operation: 87-53=34, Resulting Numbers: [95, 34]
Generated Node #0,0,2: 98:[95, 34] Operation: 87-53=34
Exploring Operation: 53+87=140, Resulting Numbers: [95, 140]
Generated Node #0,0,3: 98:[95, 140] Operation: 53+87=140
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[53, 8], Operations: ['37+58=95', '95-87=8']
Exploring Operation: 53+8=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 53*8=424, Resulting Numbers: [424]
424,98 unequal: No Solution
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,98 unequal: No Solution
No 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: 98:[87, 42], Operations: ['37+58=95', '95-53=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,98 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,98 unequal: No Solution
No 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: 98:[95, 34], Operations: ['37+58=95', '87-53=34']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,98 unequal: No Solution
Exploring Operation: 95*34=3230, Resulting Numbers: [3230]
3230,98 unequal: No Solution
Exploring Operation: 95+34=129, Resulting Numbers: [129]
129,98 unequal: No Solution
No 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: 98:[95, 140], Operations: ['37+58=95', '53+87=140']
Exploring Operation: 140-95=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 95+140=235, Resulting Numbers: [235]
235,98 unequal: No Solution
Exploring Operation: 95*140=13300, Resulting Numbers: [13300]
13300,98 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: 98:[87, 58, 16], Operations: ['53-37=16']
Exploring Operation: 58-16=42, Resulting Numbers: [87, 42]
Generated Node #0,1,0: 98:[87, 42] Operation: 58-16=42
Exploring Operation: 87-58=29, Resulting Numbers: [16, 29]
Generated Node #0,1,1: 98:[16, 29] Operation: 87-58=29
Exploring Operation: 87+16=103, Resulting Numbers: [58, 103]
Generated Node #0,1,2: 98:[58, 103] Operation: 87+16=103
Exploring Operation: 87-16=71, Resulting Numbers: [58, 71]
Generated Node #0,1,3: 98:[58, 71] Operation: 87-16=71
Moving to Node #0,1,2
Current State: 98:[58, 103], Operations: ['53-37=16', '87+16=103']
Exploring Operation: 103-58=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 58*103=5974, Resulting Numbers: [5974]
5974,98 unequal: No Solution
Exploring Operation: 58+103=161, Resulting Numbers: [161]
161,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[16, 29], Operations: ['53-37=16', '87-58=29']
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,98 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[87, 42], Operations: ['53-37=16', '58-16=42']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,98 unequal: No Solution
Exploring Operation: 87*42=3654, Resulting Numbers: [3654]
3654,98 unequal: No Solution
Exploring Operation: 87+42=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[58, 71], Operations: ['53-37=16', '87-16=71']
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,98 unequal: No Solution
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 58*71=4118, Resulting Numbers: [4118]
4118,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,3
Current State: 98:[53, 87, 21], Operations: ['58-37=21']
Exploring Operation: 87-21=66, Resulting Numbers: [53, 66]
Generated Node #0,3,0: 98:[53, 66] Operation: 87-21=66
Exploring Operation: 87+21=108, Resulting Numbers: [53, 108]
Generated Node #0,3,1: 98:[53, 108] Operation: 87+21=108
Exploring Operation: 53-21=32, Resulting Numbers: [87, 32]
Generated Node #0,3,2: 98:[87, 32] Operation: 53-21=32
Exploring Operation: 87-53=34, Resulting Numbers: [21, 34]
Generated Node #0,3,3: 98:[21, 34] Operation: 87-53=34
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 98:[53, 108], Operations: ['58-37=21', '87+21=108']
Exploring Operation: 53+108=161, Resulting Numbers: [161]
161,98 unequal: No Solution
Exploring Operation: 53*108=5724, Resulting Numbers: [5724]
5724,98 unequal: No Solution
Exploring Operation: 108-53=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[53, 66], Operations: ['58-37=21', '87-21=66']
Exploring Operation: 53+66=119, Resulting Numbers: [119]
119,98 unequal: No Solution
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 53*66=3498, Resulting Numbers: [3498]
3498,98 unequal: No Solution
No 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: 98:[21, 34], Operations: ['58-37=21', '87-53=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,98 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No 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: 98:[87, 32], Operations: ['58-37=21', '53-21=32']
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,98 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,98 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 |
[
36,
24,
69,
27
] | 99 | [
"69-36=33",
"27-24=3",
"33*3=99"
] | Current State: 99:[36, 24, 69, 27], Operations: []
Exploring Operation: 69-36=33, Resulting Numbers: [24, 27, 33]
Generated Node #2: [24, 27, 33] from Operation: 69-36=33
Current State: 99:[24, 27, 33], Operations: ['69-36=33']
Exploring Operation: 27-24=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 27-24=3
Current State: 99:[33, 3], Operations: ['69-36=33', '27-24=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[36, 24, 69, 27], Operations: []
Exploring Operation: 24+69=93, Resulting Numbers: [36, 27, 93]
Generated Node #0,0: 99:[36, 27, 93] Operation: 24+69=93
Exploring Operation: 69-36=33, Resulting Numbers: [24, 27, 33]
Generated Node #0,1: 99:[24, 27, 33] Operation: 69-36=33
Moving to Node #0,0
Current State: 99:[36, 27, 93], Operations: ['24+69=93']
Exploring Operation: 36-27=9, Resulting Numbers: [93, 9]
Generated Node #0,0,0: 99:[93, 9] Operation: 36-27=9
Exploring Operation: 27+93=120, Resulting Numbers: [36, 120]
Generated Node #0,0,1: 99:[36, 120] Operation: 27+93=120
Moving to Node #0,1
Current State: 99:[24, 27, 33], Operations: ['69-36=33']
Exploring Operation: 33-24=9, Resulting Numbers: [27, 9]
Generated Node #0,1,0: 99:[27, 9] Operation: 33-24=9
Exploring Operation: 27-24=3, Resulting Numbers: [33, 3]
Generated Node #0,1,1: 99:[33, 3] Operation: 27-24=3
Moving to Node #0,1,1
Current State: 99:[33, 3], Operations: ['69-36=33', '27-24=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[36, 24, 69, 27], Operations: []
Exploring Operation: 69-36=33, Resulting Numbers: [24, 27, 33]
Generated Node #0,1: 99:[24, 27, 33] Operation: 69-36=33
Moving to Node #0,1
Current State: 99:[24, 27, 33], Operations: ['69-36=33']
Exploring Operation: 27-24=3, Resulting Numbers: [33, 3]
Generated Node #0,1,1: 99:[33, 3] Operation: 27-24=3
Moving to Node #0,1,1
Current State: 99:[33, 3], Operations: ['69-36=33', '27-24=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
1,
68,
66,
16
] | 33 | [
"68-66=2",
"16*2=32",
"1+32=33"
] | Current State: 33:[1, 68, 66, 16], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [1, 16, 2]
Generated Node #2: [1, 16, 2] from Operation: 68-66=2
Current State: 33:[1, 16, 2], Operations: ['68-66=2']
Exploring Operation: 16*2=32, Resulting Numbers: [1, 32]
Generated Node #3: [1, 32] from Operation: 16*2=32
Current State: 33:[1, 32], Operations: ['68-66=2', '16*2=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[1, 68, 66, 16], Operations: []
Exploring Operation: 68-16=52, Resulting Numbers: [1, 66, 52]
Generated Node #0,0: 33:[1, 66, 52] Operation: 68-16=52
Exploring Operation: 68-1=67, Resulting Numbers: [66, 16, 67]
Generated Node #0,1: 33:[66, 16, 67] Operation: 68-1=67
Exploring Operation: 68-66=2, Resulting Numbers: [1, 16, 2]
Generated Node #0,2: 33:[1, 16, 2] Operation: 68-66=2
Exploring Operation: 66-16=50, Resulting Numbers: [1, 68, 50]
Generated Node #0,3: 33:[1, 68, 50] Operation: 66-16=50
Exploring Operation: 66-1=65, Resulting Numbers: [68, 16, 65]
Generated Node #0,4: 33:[68, 16, 65] Operation: 66-1=65
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[1, 16, 2], Operations: ['68-66=2']
Exploring Operation: 16/2=8, Resulting Numbers: [1, 8]
Generated Node #0,2,0: 33:[1, 8] Operation: 16/2=8
Exploring Operation: 16-1=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 33:[2, 15] Operation: 16-1=15
Exploring Operation: 16-2=14, Resulting Numbers: [1, 14]
Generated Node #0,2,2: 33:[1, 14] Operation: 16-2=14
Exploring Operation: 1+2=3, Resulting Numbers: [16, 3]
Generated Node #0,2,3: 33:[16, 3] Operation: 1+2=3
Exploring Operation: 16*2=32, Resulting Numbers: [1, 32]
Generated Node #0,2,4: 33:[1, 32] Operation: 16*2=32
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 33:[1, 32], Operations: ['68-66=2', '16*2=32']
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[1, 68, 66, 16], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [1, 16, 2]
Generated Node #0,2: 33:[1, 16, 2] Operation: 68-66=2
Moving to Node #0,2
Current State: 33:[1, 16, 2], Operations: ['68-66=2']
Exploring Operation: 16*2=32, Resulting Numbers: [1, 32]
Generated Node #0,2,4: 33:[1, 32] Operation: 16*2=32
Moving to Node #0,2,4
Current State: 33:[1, 32], Operations: ['68-66=2', '16*2=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
71,
65,
35,
82
] | 41 | [
"71-65=6",
"82-35=47",
"47-6=41"
] | Current State: 41:[71, 65, 35, 82], Operations: []
Exploring Operation: 71-65=6, Resulting Numbers: [35, 82, 6]
Generated Node #2: [35, 82, 6] from Operation: 71-65=6
Current State: 41:[35, 82, 6], Operations: ['71-65=6']
Exploring Operation: 82-35=47, Resulting Numbers: [6, 47]
Generated Node #3: [6, 47] from Operation: 82-35=47
Current State: 41:[6, 47], Operations: ['71-65=6', '82-35=47']
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[71, 65, 35, 82], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [65, 35, 11]
Generated Node #0,0: 41:[65, 35, 11] Operation: 82-71=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[65, 35, 11], Operations: ['82-71=11']
Exploring Operation: 65-11=54, Resulting Numbers: [35, 54]
Generated Node #0,0,0: 41:[35, 54] Operation: 65-11=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[35, 54], Operations: ['82-71=11', '65-11=54']
Exploring Operation: 54-35=19, Resulting Numbers: [19]
19,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
54,
19,
32,
34
] | 46 | [
"34-32=2",
"54/2=27",
"19+27=46"
] | Current State: 46:[54, 19, 32, 34], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [54, 19, 2]
Generated Node #2: [54, 19, 2] from Operation: 34-32=2
Current State: 46:[54, 19, 2], Operations: ['34-32=2']
Exploring Operation: 54/2=27, Resulting Numbers: [19, 27]
Generated Node #3: [19, 27] from Operation: 54/2=27
Current State: 46:[19, 27], Operations: ['34-32=2', '54/2=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[54, 19, 32, 34], Operations: []
Exploring Operation: 19+32=51, Resulting Numbers: [54, 34, 51]
Generated Node #0,0: 46:[54, 34, 51] Operation: 19+32=51
Exploring Operation: 54-34=20, Resulting Numbers: [19, 32, 20]
Generated Node #0,1: 46:[19, 32, 20] Operation: 54-34=20
Exploring Operation: 34-32=2, Resulting Numbers: [54, 19, 2]
Generated Node #0,2: 46:[54, 19, 2] Operation: 34-32=2
Exploring Operation: 54-32=22, Resulting Numbers: [19, 34, 22]
Generated Node #0,3: 46:[19, 34, 22] Operation: 54-32=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[54, 19, 2], Operations: ['34-32=2']
Exploring Operation: 54-19=35, Resulting Numbers: [2, 35]
Generated Node #0,2,0: 46:[2, 35] Operation: 54-19=35
Exploring Operation: 54-2=52, Resulting Numbers: [19, 52]
Generated Node #0,2,1: 46:[19, 52] Operation: 54-2=52
Exploring Operation: 54/2=27, Resulting Numbers: [19, 27]
Generated Node #0,2,2: 46:[19, 27] Operation: 54/2=27
Exploring Operation: 19+2=21, Resulting Numbers: [54, 21]
Generated Node #0,2,3: 46:[54, 21] Operation: 19+2=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[19, 27], Operations: ['34-32=2', '54/2=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,46 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[54, 19, 32, 34], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [54, 19, 2]
Generated Node #0,2: 46:[54, 19, 2] Operation: 34-32=2
Moving to Node #0,2
Current State: 46:[54, 19, 2], Operations: ['34-32=2']
Exploring Operation: 54/2=27, Resulting Numbers: [19, 27]
Generated Node #0,2,2: 46:[19, 27] Operation: 54/2=27
Moving to Node #0,2,2
Current State: 46:[19, 27], Operations: ['34-32=2', '54/2=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
24,
63,
57,
69
] | 64 | [
"63+57=120",
"120/24=5",
"69-5=64"
] | Current State: 64:[24, 63, 57, 69], Operations: []
Exploring Operation: 63+57=120, Resulting Numbers: [24, 69, 120]
Generated Node #2: [24, 69, 120] from Operation: 63+57=120
Current State: 64:[24, 69, 120], Operations: ['63+57=120']
Exploring Operation: 120/24=5, Resulting Numbers: [69, 5]
Generated Node #3: [69, 5] from Operation: 120/24=5
Current State: 64:[69, 5], Operations: ['63+57=120', '120/24=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[24, 63, 57, 69], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [24, 57, 6]
Generated Node #0,0: 64:[24, 57, 6] Operation: 69-63=6
Exploring Operation: 63-57=6, Resulting Numbers: [24, 69, 6]
Generated Node #0,1: 64:[24, 69, 6] Operation: 63-57=6
Exploring Operation: 63-24=39, Resulting Numbers: [57, 69, 39]
Generated Node #0,2: 64:[57, 69, 39] Operation: 63-24=39
Exploring Operation: 57-24=33, Resulting Numbers: [63, 69, 33]
Generated Node #0,3: 64:[63, 69, 33] Operation: 57-24=33
Exploring Operation: 69-57=12, Resulting Numbers: [24, 63, 12]
Generated Node #0,4: 64:[24, 63, 12] Operation: 69-57=12
Moving to Node #0,3
Current State: 64:[63, 69, 33], Operations: ['57-24=33']
Exploring Operation: 69-33=36, Resulting Numbers: [63, 36]
Generated Node #0,3,0: 64:[63, 36] Operation: 69-33=36
Exploring Operation: 69+33=102, Resulting Numbers: [63, 102]
Generated Node #0,3,1: 64:[63, 102] Operation: 69+33=102
Exploring Operation: 63+33=96, Resulting Numbers: [69, 96]
Generated Node #0,3,2: 64:[69, 96] Operation: 63+33=96
Exploring Operation: 63-33=30, Resulting Numbers: [69, 30]
Generated Node #0,3,3: 64:[69, 30] Operation: 63-33=30
Exploring Operation: 69-63=6, Resulting Numbers: [33, 6]
Generated Node #0,3,4: 64:[33, 6] Operation: 69-63=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[33, 6], Operations: ['57-24=33', '69-63=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[63, 36], Operations: ['57-24=33', '69-33=36']
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,64 unequal: No Solution
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[69, 30], Operations: ['57-24=33', '63-33=30']
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,64 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[69, 96], Operations: ['57-24=33', '63+33=96']
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 69*96=6624, Resulting Numbers: [6624]
6624,64 unequal: No Solution
Exploring Operation: 69+96=165, Resulting Numbers: [165]
165,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[63, 102], Operations: ['57-24=33', '69+33=102']
Exploring Operation: 63+102=165, Resulting Numbers: [165]
165,64 unequal: No Solution
Exploring Operation: 102-63=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 63*102=6426, Resulting Numbers: [6426]
6426,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 64:[24, 63, 12], Operations: ['69-57=12']
Exploring Operation: 24-12=12, Resulting Numbers: [63, 12]
Generated Node #0,4,0: 64:[63, 12] Operation: 24-12=12
Exploring Operation: 63+12=75, Resulting Numbers: [24, 75]
Generated Node #0,4,1: 64:[24, 75] Operation: 63+12=75
Exploring Operation: 24/12=2, Resulting Numbers: [63, 2]
Generated Node #0,4,2: 64:[63, 2] Operation: 24/12=2
Exploring Operation: 24+12=36, Resulting Numbers: [63, 36]
Generated Node #0,4,3: 64:[63, 36] Operation: 24+12=36
Exploring Operation: 63-24=39, Resulting Numbers: [12, 39]
Generated Node #0,4,4: 64:[12, 39] Operation: 63-24=39
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 64:[63, 2], Operations: ['69-57=12', '24/12=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 64:[63, 12], Operations: ['69-57=12', '24-12=12']
Exploring Operation: 63+12=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 63*12=756, Resulting Numbers: [756]
756,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 64:[63, 36], Operations: ['69-57=12', '24+12=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 63-36=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 63*36=2268, Resulting Numbers: [2268]
2268,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[12, 39], Operations: ['69-57=12', '63-24=39']
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,64 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 64:[24, 75], Operations: ['69-57=12', '63+12=75']
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,64 unequal: No Solution
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[24, 69, 6], Operations: ['63-57=6']
Exploring Operation: 69-6=63, Resulting Numbers: [24, 63]
Generated Node #0,1,0: 64:[24, 63] Operation: 69-6=63
Exploring Operation: 24-6=18, Resulting Numbers: [69, 18]
Generated Node #0,1,1: 64:[69, 18] Operation: 24-6=18
Exploring Operation: 24/6=4, Resulting Numbers: [69, 4]
Generated Node #0,1,2: 64:[69, 4] Operation: 24/6=4
Exploring Operation: 69-24=45, Resulting Numbers: [6, 45]
Generated Node #0,1,3: 64:[6, 45] Operation: 69-24=45
Exploring Operation: 24+6=30, Resulting Numbers: [69, 30]
Generated Node #0,1,4: 64:[69, 30] Operation: 24+6=30
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[69, 4], Operations: ['63-57=6', '24/6=4']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,64 unequal: No Solution
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[69, 18], Operations: ['63-57=6', '24-6=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[69, 30], Operations: ['63-57=6', '24+6=30']
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,64 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,64 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[24, 63], Operations: ['63-57=6', '69-6=63']
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[6, 45], Operations: ['63-57=6', '69-24=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,64 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: 64:[24, 57, 6], Operations: ['69-63=6']
Exploring Operation: 24-6=18, Resulting Numbers: [57, 18]
Generated Node #0,0,0: 64:[57, 18] Operation: 24-6=18
Exploring Operation: 24/6=4, Resulting Numbers: [57, 4]
Generated Node #0,0,1: 64:[57, 4] Operation: 24/6=4
Exploring Operation: 57-24=33, Resulting Numbers: [6, 33]
Generated Node #0,0,2: 64:[6, 33] Operation: 57-24=33
Exploring Operation: 57+6=63, Resulting Numbers: [24, 63]
Generated Node #0,0,3: 64:[24, 63] Operation: 57+6=63
Exploring Operation: 24+6=30, Resulting Numbers: [57, 30]
Generated Node #0,0,4: 64:[57, 30] Operation: 24+6=30
Moving to Node #0,2
Current State: 64:[57, 69, 39], Operations: ['63-24=39']
Exploring Operation: 69-39=30, Resulting Numbers: [57, 30]
Generated Node #0,2,0: 64:[57, 30] Operation: 69-39=30
Exploring Operation: 57+39=96, Resulting Numbers: [69, 96]
Generated Node #0,2,1: 64:[69, 96] Operation: 57+39=96
Exploring Operation: 69-57=12, Resulting Numbers: [39, 12]
Generated Node #0,2,2: 64:[39, 12] Operation: 69-57=12
Exploring Operation: 57-39=18, Resulting Numbers: [69, 18]
Generated Node #0,2,3: 64:[69, 18] Operation: 57-39=18
Exploring Operation: 69+39=108, Resulting Numbers: [57, 108]
Generated Node #0,2,4: 64:[57, 108] Operation: 69+39=108
Moving to Node #0,0,2
Current State: 64:[6, 33], Operations: ['69-63=6', '57-24=33']
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,64 unequal: No Solution
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[69, 18], Operations: ['63-24=39', '57-39=18']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[57, 4], Operations: ['69-63=6', '24/6=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,64 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[57, 30], Operations: ['63-24=39', '69-39=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[57, 18], Operations: ['69-63=6', '24-6=18']
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[57, 30], Operations: ['69-63=6', '24+6=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[24, 63], Operations: ['69-63=6', '57+6=63']
Exploring Operation: 24+63=87, Resulting Numbers: [87]
87,64 unequal: No Solution
Exploring Operation: 24*63=1512, Resulting Numbers: [1512]
1512,64 unequal: No Solution
Exploring Operation: 63-24=39, Resulting Numbers: [39]
39,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[39, 12], Operations: ['63-24=39', '69-57=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,64 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[69, 96], Operations: ['63-24=39', '57+39=96']
Exploring Operation: 69*96=6624, Resulting Numbers: [6624]
6624,64 unequal: No Solution
Exploring Operation: 69+96=165, Resulting Numbers: [165]
165,64 unequal: No Solution
Exploring Operation: 96-69=27, Resulting Numbers: [27]
27,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[57, 108], Operations: ['63-24=39', '69+39=108']
Exploring Operation: 57*108=6156, Resulting Numbers: [6156]
6156,64 unequal: No Solution
Exploring Operation: 57+108=165, Resulting Numbers: [165]
165,64 unequal: No Solution
Exploring Operation: 108-57=51, Resulting Numbers: [51]
51,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
3,
35,
40
] | 98 | [
"31*3=93",
"40-35=5",
"93+5=98"
] | Current State: 98:[31, 3, 35, 40], Operations: []
Exploring Operation: 31*3=93, Resulting Numbers: [35, 40, 93]
Generated Node #2: [35, 40, 93] from Operation: 31*3=93
Current State: 98:[35, 40, 93], Operations: ['31*3=93']
Exploring Operation: 40-35=5, Resulting Numbers: [93, 5]
Generated Node #3: [93, 5] from Operation: 40-35=5
Current State: 98:[93, 5], Operations: ['31*3=93', '40-35=5']
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[31, 3, 35, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [31, 3, 5]
Generated Node #0,0: 98:[31, 3, 5] Operation: 40-35=5
Exploring Operation: 40-31=9, Resulting Numbers: [3, 35, 9]
Generated Node #0,1: 98:[3, 35, 9] Operation: 40-31=9
Exploring Operation: 35-31=4, Resulting Numbers: [3, 40, 4]
Generated Node #0,2: 98:[3, 40, 4] Operation: 35-31=4
Exploring Operation: 31+35=66, Resulting Numbers: [3, 40, 66]
Generated Node #0,3: 98:[3, 40, 66] Operation: 31+35=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[3, 40, 4], Operations: ['35-31=4']
Exploring Operation: 3+4=7, Resulting Numbers: [40, 7]
Generated Node #0,2,0: 98:[40, 7] Operation: 3+4=7
Exploring Operation: 3+40=43, Resulting Numbers: [4, 43]
Generated Node #0,2,1: 98:[4, 43] Operation: 3+40=43
Exploring Operation: 40/4=10, Resulting Numbers: [3, 10]
Generated Node #0,2,2: 98:[3, 10] Operation: 40/4=10
Exploring Operation: 40+4=44, Resulting Numbers: [3, 44]
Generated Node #0,2,3: 98:[3, 44] Operation: 40+4=44
Moving to Node #0,2,2
Current State: 98:[3, 10], Operations: ['35-31=4', '40/4=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,98 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Moving to Node #0,2,3
Current State: 98:[3, 44], Operations: ['35-31=4', '40+4=44']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[4, 43], Operations: ['35-31=4', '3+40=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,98 unequal: No Solution
Exploring Operation: 4*43=172, Resulting Numbers: [172]
172,98 unequal: No Solution
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[40, 7], Operations: ['35-31=4', '3+4=7']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,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
Current State: 98:[3, 35, 9], Operations: ['40-31=9']
Exploring Operation: 35+9=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 98:[3, 44] Operation: 35+9=44
Exploring Operation: 3+35=38, Resulting Numbers: [9, 38]
Generated Node #0,1,1: 98:[9, 38] Operation: 3+35=38
Exploring Operation: 35-9=26, Resulting Numbers: [3, 26]
Generated Node #0,1,2: 98:[3, 26] Operation: 35-9=26
Exploring Operation: 3*35=105, Resulting Numbers: [9, 105]
Generated Node #0,1,3: 98:[9, 105] Operation: 3*35=105
Moving to Node #0,1,0
Current State: 98:[3, 44], Operations: ['40-31=9', '35+9=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,98 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,98 unequal: No Solution
Moving to Node #0,1,3
Current State: 98:[9, 105], Operations: ['40-31=9', '3*35=105']
Exploring Operation: 105-9=96, Resulting Numbers: [96]
96,98 unequal: No Solution
Exploring Operation: 9*105=945, Resulting Numbers: [945]
945,98 unequal: No Solution
Exploring Operation: 9+105=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[3, 26], Operations: ['40-31=9', '35-9=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,98 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[9, 38], Operations: ['40-31=9', '3+35=38']
Exploring Operation: 9*38=342, Resulting Numbers: [342]
342,98 unequal: No Solution
Exploring Operation: 38-9=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 9+38=47, Resulting Numbers: [47]
47,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
Current State: 98:[31, 3, 5], Operations: ['40-35=5']
Exploring Operation: 31*3=93, Resulting Numbers: [5, 93]
Generated Node #0,0,0: 98:[5, 93] Operation: 31*3=93
Exploring Operation: 31+5=36, Resulting Numbers: [3, 36]
Generated Node #0,0,1: 98:[3, 36] Operation: 31+5=36
Exploring Operation: 31-3=28, Resulting Numbers: [5, 28]
Generated Node #0,0,2: 98:[5, 28] Operation: 31-3=28
Exploring Operation: 31-5=26, Resulting Numbers: [3, 26]
Generated Node #0,0,3: 98:[3, 26] Operation: 31-5=26
Moving to Node #0,0,0
Current State: 98:[5, 93], Operations: ['40-35=5', '31*3=93']
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[31, 3, 35, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [31, 3, 5]
Generated Node #0,0: 98:[31, 3, 5] Operation: 40-35=5
Moving to Node #0,0
Current State: 98:[31, 3, 5], Operations: ['40-35=5']
Exploring Operation: 31*3=93, Resulting Numbers: [5, 93]
Generated Node #0,0,0: 98:[5, 93] Operation: 31*3=93
Moving to Node #0,0,0
Current State: 98:[5, 93], Operations: ['40-35=5', '31*3=93']
Exploring Operation: 5+93=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | mult_heuristic |
[
11,
21,
3,
59
] | 55 | [
"59-11=48",
"21/3=7",
"48+7=55"
] | Current State: 55:[11, 21, 3, 59], Operations: []
Exploring Operation: 59-11=48, Resulting Numbers: [21, 3, 48]
Generated Node #2: [21, 3, 48] from Operation: 59-11=48
Current State: 55:[21, 3, 48], Operations: ['59-11=48']
Exploring Operation: 21/3=7, Resulting Numbers: [48, 7]
Generated Node #3: [48, 7] from Operation: 21/3=7
Current State: 55:[48, 7], Operations: ['59-11=48', '21/3=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[11, 21, 3, 59], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [11, 59, 7]
Generated Node #0,0: 55:[11, 59, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [11, 59, 18]
Generated Node #0,1: 55:[11, 59, 18] Operation: 21-3=18
Exploring Operation: 21-11=10, Resulting Numbers: [3, 59, 10]
Generated Node #0,2: 55:[3, 59, 10] Operation: 21-11=10
Moving to Node #0,0
Current State: 55:[11, 59, 7], Operations: ['21/3=7']
Exploring Operation: 59-11=48, Resulting Numbers: [7, 48]
Generated Node #0,0,0: 55:[7, 48] Operation: 59-11=48
Exploring Operation: 59-7=52, Resulting Numbers: [11, 52]
Generated Node #0,0,1: 55:[11, 52] Operation: 59-7=52
Exploring Operation: 11-7=4, Resulting Numbers: [59, 4]
Generated Node #0,0,2: 55:[59, 4] Operation: 11-7=4
Moving to Node #0,2
Current State: 55:[3, 59, 10], Operations: ['21-11=10']
Exploring Operation: 59-3=56, Resulting Numbers: [10, 56]
Generated Node #0,2,0: 55:[10, 56] Operation: 59-3=56
Exploring Operation: 3+10=13, Resulting Numbers: [59, 13]
Generated Node #0,2,1: 55:[59, 13] Operation: 3+10=13
Exploring Operation: 10-3=7, Resulting Numbers: [59, 7]
Generated Node #0,2,2: 55:[59, 7] Operation: 10-3=7
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[10, 56], Operations: ['21-11=10', '59-3=56']
Exploring Operation: 10*56=560, Resulting Numbers: [560]
560,55 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 10+56=66, Resulting Numbers: [66]
66,55 unequal: No Solution
No 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: 55:[59, 13], Operations: ['21-11=10', '3+10=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,55 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,55 unequal: No Solution
No 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: 55:[59, 7], Operations: ['21-11=10', '10-3=7']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,55 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: 55:[11, 59, 18], Operations: ['21-3=18']
Exploring Operation: 59-18=41, Resulting Numbers: [11, 41]
Generated Node #0,1,0: 55:[11, 41] Operation: 59-18=41
Exploring Operation: 18-11=7, Resulting Numbers: [59, 7]
Generated Node #0,1,1: 55:[59, 7] Operation: 18-11=7
Exploring Operation: 59-11=48, Resulting Numbers: [18, 48]
Generated Node #0,1,2: 55:[18, 48] Operation: 59-11=48
Moving to Node #0,0,1
Current State: 55:[11, 52], Operations: ['21/3=7', '59-7=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 11*52=572, Resulting Numbers: [572]
572,55 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[59, 4], Operations: ['21/3=7', '11-7=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,55 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[11, 21, 3, 59], Operations: []
Exploring Operation: 21/3=7, Resulting Numbers: [11, 59, 7]
Generated Node #0,0: 55:[11, 59, 7] Operation: 21/3=7
Moving to Node #0,0
Current State: 55:[11, 59, 7], Operations: ['21/3=7']
Exploring Operation: 11-7=4, Resulting Numbers: [59, 4]
Generated Node #0,0,2: 55:[59, 4] Operation: 11-7=4
Moving to Node #0,0,2
Current State: 55:[59, 4], Operations: ['21/3=7', '11-7=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.973958 | hs_3 | sum_heuristic |
[
99,
22,
88,
3
] | 100 | [
"99-3=96",
"88/22=4",
"96+4=100"
] | Current State: 100:[99, 22, 88, 3], Operations: []
Exploring Operation: 99-3=96, Resulting Numbers: [22, 88, 96]
Generated Node #2: [22, 88, 96] from Operation: 99-3=96
Current State: 100:[22, 88, 96], Operations: ['99-3=96']
Exploring Operation: 88/22=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 88/22=4
Current State: 100:[96, 4], Operations: ['99-3=96', '88/22=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[99, 22, 88, 3], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [22, 3, 11]
Generated Node #0,0: 100:[22, 3, 11] Operation: 99-88=11
Exploring Operation: 22+88=110, Resulting Numbers: [99, 3, 110]
Generated Node #0,1: 100:[99, 3, 110] Operation: 22+88=110
Exploring Operation: 88/22=4, Resulting Numbers: [99, 3, 4]
Generated Node #0,2: 100:[99, 3, 4] Operation: 88/22=4
Exploring Operation: 88+3=91, Resulting Numbers: [99, 22, 91]
Generated Node #0,3: 100:[99, 22, 91] Operation: 88+3=91
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[99, 3, 4], Operations: ['88/22=4']
Exploring Operation: 3+4=7, Resulting Numbers: [99, 7]
Generated Node #0,2,0: 100:[99, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [99, 12]
Generated Node #0,2,1: 100:[99, 12] Operation: 3*4=12
Exploring Operation: 4-3=1, Resulting Numbers: [99, 1]
Generated Node #0,2,2: 100:[99, 1] Operation: 4-3=1
Exploring Operation: 99+3=102, Resulting Numbers: [4, 102]
Generated Node #0,2,3: 100:[4, 102] Operation: 99+3=102
Moving to Node #0,2,2
Current State: 100:[99, 1], Operations: ['88/22=4', '4-3=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[99, 22, 88, 3], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [99, 3, 4]
Generated Node #0,2: 100:[99, 3, 4] Operation: 88/22=4
Moving to Node #0,2
Current State: 100:[99, 3, 4], Operations: ['88/22=4']
Exploring Operation: 4-3=1, Resulting Numbers: [99, 1]
Generated Node #0,2,2: 100:[99, 1] Operation: 4-3=1
Moving to Node #0,2,2
Current State: 100:[99, 1], Operations: ['88/22=4', '4-3=1']
Exploring Operation: 99+1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
56,
23,
51,
98
] | 100 | [
"51-23=28",
"56/28=2",
"98+2=100"
] | Current State: 100:[56, 23, 51, 98], Operations: []
Exploring Operation: 51-23=28, Resulting Numbers: [56, 98, 28]
Generated Node #2: [56, 98, 28] from Operation: 51-23=28
Current State: 100:[56, 98, 28], Operations: ['51-23=28']
Exploring Operation: 56/28=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 56/28=2
Current State: 100:[98, 2], Operations: ['51-23=28', '56/28=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[56, 23, 51, 98], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [51, 98, 33]
Generated Node #0,0: 100:[51, 98, 33] Operation: 56-23=33
Exploring Operation: 56-51=5, Resulting Numbers: [23, 98, 5]
Generated Node #0,1: 100:[23, 98, 5] Operation: 56-51=5
Exploring Operation: 56+51=107, Resulting Numbers: [23, 98, 107]
Generated Node #0,2: 100:[23, 98, 107] Operation: 56+51=107
Moving to Node #0,1
Current State: 100:[23, 98, 5], Operations: ['56-51=5']
Exploring Operation: 23-5=18, Resulting Numbers: [98, 18]
Generated Node #0,1,0: 100:[98, 18] Operation: 23-5=18
Exploring Operation: 23+5=28, Resulting Numbers: [98, 28]
Generated Node #0,1,1: 100:[98, 28] Operation: 23+5=28
Exploring Operation: 98+5=103, Resulting Numbers: [23, 103]
Generated Node #0,1,2: 100:[23, 103] Operation: 98+5=103
Moving to Node #0,0
Current State: 100:[51, 98, 33], Operations: ['56-23=33']
Exploring Operation: 51-33=18, Resulting Numbers: [98, 18]
Generated Node #0,0,0: 100:[98, 18] Operation: 51-33=18
Exploring Operation: 98-51=47, Resulting Numbers: [33, 47]
Generated Node #0,0,1: 100:[33, 47] Operation: 98-51=47
Exploring Operation: 98-33=65, Resulting Numbers: [51, 65]
Generated Node #0,0,2: 100:[51, 65] Operation: 98-33=65
Moving to Node #0,2
Current State: 100:[23, 98, 107], Operations: ['56+51=107']
Exploring Operation: 107-23=84, Resulting Numbers: [98, 84]
Generated Node #0,2,0: 100:[98, 84] Operation: 107-23=84
Exploring Operation: 23+98=121, Resulting Numbers: [107, 121]
Generated Node #0,2,1: 100:[107, 121] Operation: 23+98=121
Exploring Operation: 107-98=9, Resulting Numbers: [23, 9]
Generated Node #0,2,2: 100:[23, 9] Operation: 107-98=9
Moving to Node #0,2,2
Current State: 100:[23, 9], Operations: ['56+51=107', '107-98=9']
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,100 unequal: No Solution
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,100 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[98, 18], Operations: ['56-51=5', '23-5=18']
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[98, 18], Operations: ['56-23=33', '51-33=18']
Exploring Operation: 98*18=1764, Resulting Numbers: [1764]
1764,100 unequal: No Solution
Exploring Operation: 98+18=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[23, 103], Operations: ['56-51=5', '98+5=103']
Exploring Operation: 103-23=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 23*103=2369, Resulting Numbers: [2369]
2369,100 unequal: No Solution
Exploring Operation: 23+103=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[98, 28], Operations: ['56-51=5', '23+5=28']
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,100 unequal: No Solution
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,100 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[33, 47], Operations: ['56-23=33', '98-51=47']
Exploring Operation: 33*47=1551, Resulting Numbers: [1551]
1551,100 unequal: No Solution
Exploring Operation: 33+47=80, Resulting Numbers: [80]
80,100 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[51, 65], Operations: ['56-23=33', '98-33=65']
Exploring Operation: 51*65=3315, Resulting Numbers: [3315]
3315,100 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 51+65=116, Resulting Numbers: [116]
116,100 unequal: No Solution
Moving to Node #0,2,0
Current State: 100:[98, 84], Operations: ['56+51=107', '107-23=84']
Exploring Operation: 98+84=182, Resulting Numbers: [182]
182,100 unequal: No Solution
Exploring Operation: 98-84=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 98*84=8232, Resulting Numbers: [8232]
8232,100 unequal: No Solution
Moving to Node #0,2,1
Current State: 100:[107, 121], Operations: ['56+51=107', '23+98=121']
Exploring Operation: 121-107=14, Resulting Numbers: [14]
14,100 unequal: No Solution
Exploring Operation: 107+121=228, Resulting Numbers: [228]
228,100 unequal: No Solution
Exploring Operation: 107*121=12947, Resulting Numbers: [12947]
12947,100 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
95,
54,
82
] | 48 | [
"95-7=88",
"54+82=136",
"136-88=48"
] | Current State: 48:[7, 95, 54, 82], Operations: []
Exploring Operation: 95-7=88, Resulting Numbers: [54, 82, 88]
Generated Node #2: [54, 82, 88] from Operation: 95-7=88
Current State: 48:[54, 82, 88], Operations: ['95-7=88']
Exploring Operation: 54+82=136, Resulting Numbers: [88, 136]
Generated Node #3: [88, 136] from Operation: 54+82=136
Current State: 48:[88, 136], Operations: ['95-7=88', '54+82=136']
Exploring Operation: 136-88=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[7, 95, 54, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [7, 54, 13]
Generated Node #0,0: 48:[7, 54, 13] Operation: 95-82=13
Moving to Node #0,0
Current State: 48:[7, 54, 13], Operations: ['95-82=13']
Exploring Operation: 54-7=47, Resulting Numbers: [13, 47]
Generated Node #0,0,0: 48:[13, 47] Operation: 54-7=47
Moving to Node #0,0,0
Current State: 48:[13, 47], Operations: ['95-82=13', '54-7=47']
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,48 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
21,
47,
38
] | 32 | [
"79+47=126",
"126/21=6",
"38-6=32"
] | Current State: 32:[79, 21, 47, 38], Operations: []
Exploring Operation: 79+47=126, Resulting Numbers: [21, 38, 126]
Generated Node #2: [21, 38, 126] from Operation: 79+47=126
Current State: 32:[21, 38, 126], Operations: ['79+47=126']
Exploring Operation: 126/21=6, Resulting Numbers: [38, 6]
Generated Node #3: [38, 6] from Operation: 126/21=6
Current State: 32:[38, 6], Operations: ['79+47=126', '126/21=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[79, 21, 47, 38], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [21, 47, 41]
Generated Node #0,0: 32:[21, 47, 41] Operation: 79-38=41
Exploring Operation: 79-47=32, Resulting Numbers: [21, 38, 32]
Generated Node #0,1: 32:[21, 38, 32] Operation: 79-47=32
Moving to Node #0,1
Current State: 32:[21, 38, 32], Operations: ['79-47=32']
Exploring Operation: 38-32=6, Resulting Numbers: [21, 6]
Generated Node #0,1,0: 32:[21, 6] Operation: 38-32=6
Exploring Operation: 38-21=17, Resulting Numbers: [32, 17]
Generated Node #0,1,1: 32:[32, 17] Operation: 38-21=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[32, 17], Operations: ['79-47=32', '38-21=17']
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,32 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[21, 6], Operations: ['79-47=32', '38-32=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,32 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: 32:[21, 47, 41], Operations: ['79-38=41']
Exploring Operation: 47-21=26, Resulting Numbers: [41, 26]
Generated Node #0,0,0: 32:[41, 26] Operation: 47-21=26
Exploring Operation: 47-41=6, Resulting Numbers: [21, 6]
Generated Node #0,0,1: 32:[21, 6] Operation: 47-41=6
Moving to Node #0,0,1
Current State: 32:[21, 6], Operations: ['79-38=41', '47-41=6']
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,32 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[41, 26], Operations: ['79-38=41', '47-21=26']
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,32 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
97,
50,
85,
65
] | 94 | [
"85+65=150",
"150/50=3",
"97-3=94"
] | Current State: 94:[97, 50, 85, 65], Operations: []
Exploring Operation: 85+65=150, Resulting Numbers: [97, 50, 150]
Generated Node #2: [97, 50, 150] from Operation: 85+65=150
Current State: 94:[97, 50, 150], Operations: ['85+65=150']
Exploring Operation: 150/50=3, Resulting Numbers: [97, 3]
Generated Node #3: [97, 3] from Operation: 150/50=3
Current State: 94:[97, 3], Operations: ['85+65=150', '150/50=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[97, 50, 85, 65], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [97, 50, 20]
Generated Node #0,0: 94:[97, 50, 20] Operation: 85-65=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[97, 50, 20], Operations: ['85-65=20']
Exploring Operation: 97-50=47, Resulting Numbers: [20, 47]
Generated Node #0,0,0: 94:[20, 47] Operation: 97-50=47
Moving to Node #0,0,0
Current State: 94:[20, 47], Operations: ['85-65=20', '97-50=47']
Exploring Operation: 20+47=67, Resulting Numbers: [67]
67,94 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 |
[
8,
27,
4,
69
] | 46 | [
"27-8=19",
"69-4=65",
"65-19=46"
] | Current State: 46:[8, 27, 4, 69], Operations: []
Exploring Operation: 27-8=19, Resulting Numbers: [4, 69, 19]
Generated Node #2: [4, 69, 19] from Operation: 27-8=19
Current State: 46:[4, 69, 19], Operations: ['27-8=19']
Exploring Operation: 69-4=65, Resulting Numbers: [19, 65]
Generated Node #3: [19, 65] from Operation: 69-4=65
Current State: 46:[19, 65], Operations: ['27-8=19', '69-4=65']
Exploring Operation: 65-19=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[8, 27, 4, 69], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [8, 4, 42]
Generated Node #0,0: 46:[8, 4, 42] Operation: 69-27=42
Moving to Node #0,0
Current State: 46:[8, 4, 42], Operations: ['69-27=42']
Exploring Operation: 8/4=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 46:[42, 2] Operation: 8/4=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[42, 2], Operations: ['69-27=42', '8/4=2']
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,46 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 |
[
91,
51,
85,
87
] | 71 | [
"91+51=142",
"87-85=2",
"142/2=71"
] | Current State: 71:[91, 51, 85, 87], Operations: []
Exploring Operation: 91+51=142, Resulting Numbers: [85, 87, 142]
Generated Node #2: [85, 87, 142] from Operation: 91+51=142
Current State: 71:[85, 87, 142], Operations: ['91+51=142']
Exploring Operation: 87-85=2, Resulting Numbers: [142, 2]
Generated Node #3: [142, 2] from Operation: 87-85=2
Current State: 71:[142, 2], Operations: ['91+51=142', '87-85=2']
Exploring Operation: 142/2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[91, 51, 85, 87], Operations: []
Exploring Operation: 91-51=40, Resulting Numbers: [85, 87, 40]
Generated Node #0,0: 71:[85, 87, 40] Operation: 91-51=40
Exploring Operation: 85-51=34, Resulting Numbers: [91, 87, 34]
Generated Node #0,1: 71:[91, 87, 34] Operation: 85-51=34
Exploring Operation: 87-51=36, Resulting Numbers: [91, 85, 36]
Generated Node #0,2: 71:[91, 85, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[85, 87, 40], Operations: ['91-51=40']
Exploring Operation: 85+40=125, Resulting Numbers: [87, 125]
Generated Node #0,0,0: 71:[87, 125] Operation: 85+40=125
Exploring Operation: 85-40=45, Resulting Numbers: [87, 45]
Generated Node #0,0,1: 71:[87, 45] Operation: 85-40=45
Exploring Operation: 87-40=47, Resulting Numbers: [85, 47]
Generated Node #0,0,2: 71:[85, 47] Operation: 87-40=47
Moving to Node #0,0,2
Current State: 71:[85, 47], Operations: ['91-51=40', '87-40=47']
Exploring Operation: 85-47=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 85*47=3995, Resulting Numbers: [3995]
3995,71 unequal: No Solution
Exploring Operation: 85+47=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[87, 45], Operations: ['91-51=40', '85-40=45']
Exploring Operation: 87*45=3915, Resulting Numbers: [3915]
3915,71 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Exploring Operation: 87+45=132, Resulting Numbers: [132]
132,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[87, 125], Operations: ['91-51=40', '85+40=125']
Exploring Operation: 87+125=212, Resulting Numbers: [212]
212,71 unequal: No Solution
Exploring Operation: 125-87=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 87*125=10875, Resulting Numbers: [10875]
10875,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:[91, 85, 36], Operations: ['87-51=36']
Exploring Operation: 85-36=49, Resulting Numbers: [91, 49]
Generated Node #0,2,0: 71:[91, 49] Operation: 85-36=49
Exploring Operation: 91+36=127, Resulting Numbers: [85, 127]
Generated Node #0,2,1: 71:[85, 127] Operation: 91+36=127
Exploring Operation: 91-36=55, Resulting Numbers: [85, 55]
Generated Node #0,2,2: 71:[85, 55] Operation: 91-36=55
Moving to Node #0,2,2
Current State: 71:[85, 55], Operations: ['87-51=36', '91-36=55']
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
Exploring Operation: 85+55=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[91, 49], Operations: ['87-51=36', '85-36=49']
Exploring Operation: 91+49=140, Resulting Numbers: [140]
140,71 unequal: No Solution
Exploring Operation: 91*49=4459, Resulting Numbers: [4459]
4459,71 unequal: No Solution
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[85, 127], Operations: ['87-51=36', '91+36=127']
Exploring Operation: 85+127=212, Resulting Numbers: [212]
212,71 unequal: No Solution
Exploring Operation: 85*127=10795, Resulting Numbers: [10795]
10795,71 unequal: No Solution
Exploring Operation: 127-85=42, Resulting Numbers: [42]
42,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[91, 87, 34], Operations: ['85-51=34']
Exploring Operation: 91-34=57, Resulting Numbers: [87, 57]
Generated Node #0,1,0: 71:[87, 57] Operation: 91-34=57
Exploring Operation: 91+34=125, Resulting Numbers: [87, 125]
Generated Node #0,1,1: 71:[87, 125] Operation: 91+34=125
Exploring Operation: 87-34=53, Resulting Numbers: [91, 53]
Generated Node #0,1,2: 71:[91, 53] Operation: 87-34=53
Moving to Node #0,1,0
Current State: 71:[87, 57], Operations: ['85-51=34', '91-34=57']
Exploring Operation: 87-57=30, Resulting Numbers: [30]
30,71 unequal: No Solution
Exploring Operation: 87*57=4959, Resulting Numbers: [4959]
4959,71 unequal: No Solution
Exploring Operation: 87+57=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[91, 53], Operations: ['85-51=34', '87-34=53']
Exploring Operation: 91-53=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 91+53=144, Resulting Numbers: [144]
144,71 unequal: No Solution
Exploring Operation: 91*53=4823, Resulting Numbers: [4823]
4823,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[87, 125], Operations: ['85-51=34', '91+34=125']
Exploring Operation: 125-87=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Exploring Operation: 87+125=212, Resulting Numbers: [212]
212,71 unequal: No Solution
Exploring Operation: 87*125=10875, Resulting Numbers: [10875]
10875,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
5,
72,
28,
30
] | 19 | [
"5+72=77",
"28+30=58",
"77-58=19"
] | Current State: 19:[5, 72, 28, 30], Operations: []
Exploring Operation: 5+72=77, Resulting Numbers: [28, 30, 77]
Generated Node #2: [28, 30, 77] from Operation: 5+72=77
Current State: 19:[28, 30, 77], Operations: ['5+72=77']
Exploring Operation: 28+30=58, Resulting Numbers: [77, 58]
Generated Node #3: [77, 58] from Operation: 28+30=58
Current State: 19:[77, 58], Operations: ['5+72=77', '28+30=58']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[5, 72, 28, 30], Operations: []
Exploring Operation: 72-30=42, Resulting Numbers: [5, 28, 42]
Generated Node #0,0: 19:[5, 28, 42] Operation: 72-30=42
Exploring Operation: 72-28=44, Resulting Numbers: [5, 30, 44]
Generated Node #0,1: 19:[5, 30, 44] Operation: 72-28=44
Moving to Node #0,0
Current State: 19:[5, 28, 42], Operations: ['72-30=42']
Exploring Operation: 28-5=23, Resulting Numbers: [42, 23]
Generated Node #0,0,0: 19:[42, 23] Operation: 28-5=23
Exploring Operation: 42-28=14, Resulting Numbers: [5, 14]
Generated Node #0,0,1: 19:[5, 14] Operation: 42-28=14
Moving to Node #0,1
Current State: 19:[5, 30, 44], Operations: ['72-28=44']
Exploring Operation: 30-5=25, Resulting Numbers: [44, 25]
Generated Node #0,1,0: 19:[44, 25] Operation: 30-5=25
Exploring Operation: 44-30=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 19:[5, 14] Operation: 44-30=14
Moving to Node #0,0,1
Current State: 19:[5, 14], Operations: ['72-30=42', '42-28=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[5, 72, 28, 30], Operations: []
Exploring Operation: 72-30=42, Resulting Numbers: [5, 28, 42]
Generated Node #0,0: 19:[5, 28, 42] Operation: 72-30=42
Moving to Node #0,0
Current State: 19:[5, 28, 42], Operations: ['72-30=42']
Exploring Operation: 42-28=14, Resulting Numbers: [5, 14]
Generated Node #0,0,1: 19:[5, 14] Operation: 42-28=14
Moving to Node #0,0,1
Current State: 19:[5, 14], Operations: ['72-30=42', '42-28=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
62,
39,
2,
33
] | 10 | [
"62-2=60",
"39-33=6",
"60/6=10"
] | Current State: 10:[62, 39, 2, 33], Operations: []
Exploring Operation: 62-2=60, Resulting Numbers: [39, 33, 60]
Generated Node #2: [39, 33, 60] from Operation: 62-2=60
Current State: 10:[39, 33, 60], Operations: ['62-2=60']
Exploring Operation: 39-33=6, Resulting Numbers: [60, 6]
Generated Node #3: [60, 6] from Operation: 39-33=6
Current State: 10:[60, 6], Operations: ['62-2=60', '39-33=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[62, 39, 2, 33], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [2, 33, 23]
Generated Node #0,0: 10:[2, 33, 23] Operation: 62-39=23
Exploring Operation: 62-33=29, Resulting Numbers: [39, 2, 29]
Generated Node #0,1: 10:[39, 2, 29] Operation: 62-33=29
Moving to Node #0,0
Current State: 10:[2, 33, 23], Operations: ['62-39=23']
Exploring Operation: 33-2=31, Resulting Numbers: [23, 31]
Generated Node #0,0,0: 10:[23, 31] Operation: 33-2=31
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,0,1: 10:[2, 10] Operation: 33-23=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[2, 10], Operations: ['62-39=23', '33-23=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[23, 31], Operations: ['62-39=23', '33-2=31']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 23+31=54, Resulting Numbers: [54]
54,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[39, 2, 29], Operations: ['62-33=29']
Exploring Operation: 39-2=37, Resulting Numbers: [29, 37]
Generated Node #0,1,0: 10:[29, 37] Operation: 39-2=37
Exploring Operation: 39-29=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 10:[2, 10] Operation: 39-29=10
Moving to Node #0,1,1
Current State: 10:[2, 10], Operations: ['62-33=29', '39-29=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[29, 37], Operations: ['62-33=29', '39-2=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
10,
71,
73
] | 63 | [
"91-10=81",
"71+73=144",
"144-81=63"
] | Current State: 63:[91, 10, 71, 73], Operations: []
Exploring Operation: 91-10=81, Resulting Numbers: [71, 73, 81]
Generated Node #2: [71, 73, 81] from Operation: 91-10=81
Current State: 63:[71, 73, 81], Operations: ['91-10=81']
Exploring Operation: 71+73=144, Resulting Numbers: [81, 144]
Generated Node #3: [81, 144] from Operation: 71+73=144
Current State: 63:[81, 144], Operations: ['91-10=81', '71+73=144']
Exploring Operation: 144-81=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[91, 10, 71, 73], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [10, 73, 20]
Generated Node #0,0: 63:[10, 73, 20] Operation: 91-71=20
Moving to Node #0,0
Current State: 63:[10, 73, 20], Operations: ['91-71=20']
Exploring Operation: 73-10=63, Resulting Numbers: [20, 63]
Generated Node #0,0,0: 63:[20, 63] Operation: 73-10=63
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[20, 63], Operations: ['91-71=20', '73-10=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,63 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 |
[
66,
1,
60,
33
] | 30 | [
"66*1=66",
"60*33=1980",
"1980/66=30"
] | Current State: 30:[66, 1, 60, 33], Operations: []
Exploring Operation: 66*1=66, Resulting Numbers: [60, 33, 66]
Generated Node #2: [60, 33, 66] from Operation: 66*1=66
Current State: 30:[60, 33, 66], Operations: ['66*1=66']
Exploring Operation: 60*33=1980, Resulting Numbers: [66, 1980]
Generated Node #3: [66, 1980] from Operation: 60*33=1980
Current State: 30:[66, 1980], Operations: ['66*1=66', '60*33=1980']
Exploring Operation: 1980/66=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[66, 1, 60, 33], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [1, 33, 6]
Generated Node #0,0: 30:[1, 33, 6] Operation: 66-60=6
Exploring Operation: 66/33=2, Resulting Numbers: [1, 60, 2]
Generated Node #0,1: 30:[1, 60, 2] Operation: 66/33=2
Moving to Node #0,0
Current State: 30:[1, 33, 6], Operations: ['66-60=6']
Exploring Operation: 33-1=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 30:[6, 32] Operation: 33-1=32
Exploring Operation: 1*33=33, Resulting Numbers: [6, 33]
Generated Node #0,0,1: 30:[6, 33] Operation: 1*33=33
Moving to Node #0,1
Current State: 30:[1, 60, 2], Operations: ['66/33=2']
Exploring Operation: 60-1=59, Resulting Numbers: [2, 59]
Generated Node #0,1,0: 30:[2, 59] Operation: 60-1=59
Exploring Operation: 60/2=30, Resulting Numbers: [1, 30]
Generated Node #0,1,1: 30:[1, 30] Operation: 60/2=30
Moving to Node #0,1,1
Current State: 30:[1, 30], Operations: ['66/33=2', '60/2=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[66, 1, 60, 33], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [1, 60, 2]
Generated Node #0,1: 30:[1, 60, 2] Operation: 66/33=2
Moving to Node #0,1
Current State: 30:[1, 60, 2], Operations: ['66/33=2']
Exploring Operation: 60/2=30, Resulting Numbers: [1, 30]
Generated Node #0,1,1: 30:[1, 30] Operation: 60/2=30
Moving to Node #0,1,1
Current State: 30:[1, 30], Operations: ['66/33=2', '60/2=30']
Exploring Operation: 1*30=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
62,
82,
74,
66
] | 49 | [
"62*66=4092",
"4092-74=4018",
"4018/82=49"
] | Current State: 49:[62, 82, 74, 66], Operations: []
Exploring Operation: 62*66=4092, Resulting Numbers: [82, 74, 4092]
Generated Node #2: [82, 74, 4092] from Operation: 62*66=4092
Current State: 49:[82, 74, 4092], Operations: ['62*66=4092']
Exploring Operation: 4092-74=4018, Resulting Numbers: [82, 4018]
Generated Node #3: [82, 4018] from Operation: 4092-74=4018
Current State: 49:[82, 4018], Operations: ['62*66=4092', '4092-74=4018']
Exploring Operation: 4018/82=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[62, 82, 74, 66], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [62, 66, 8]
Generated Node #0,0: 49:[62, 66, 8] Operation: 82-74=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[62, 66, 8], Operations: ['82-74=8']
Exploring Operation: 66-62=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 49:[8, 4] Operation: 66-62=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[8, 4], Operations: ['82-74=8', '66-62=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,49 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 |
[
46,
73,
84,
96
] | 86 | [
"96-73=23",
"46/23=2",
"84+2=86"
] | Current State: 86:[46, 73, 84, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [46, 84, 23]
Generated Node #2: [46, 84, 23] from Operation: 96-73=23
Current State: 86:[46, 84, 23], Operations: ['96-73=23']
Exploring Operation: 46/23=2, Resulting Numbers: [84, 2]
Generated Node #3: [84, 2] from Operation: 46/23=2
Current State: 86:[84, 2], Operations: ['96-73=23', '46/23=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[46, 73, 84, 96], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [46, 73, 12]
Generated Node #0,0: 86:[46, 73, 12] Operation: 96-84=12
Exploring Operation: 73-46=27, Resulting Numbers: [84, 96, 27]
Generated Node #0,1: 86:[84, 96, 27] Operation: 73-46=27
Exploring Operation: 96-73=23, Resulting Numbers: [46, 84, 23]
Generated Node #0,2: 86:[46, 84, 23] Operation: 96-73=23
Exploring Operation: 84-73=11, Resulting Numbers: [46, 96, 11]
Generated Node #0,3: 86:[46, 96, 11] Operation: 84-73=11
Exploring Operation: 96-46=50, Resulting Numbers: [73, 84, 50]
Generated Node #0,4: 86:[73, 84, 50] Operation: 96-46=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[46, 96, 11], Operations: ['84-73=11']
Exploring Operation: 46-11=35, Resulting Numbers: [96, 35]
Generated Node #0,3,0: 86:[96, 35] Operation: 46-11=35
Exploring Operation: 96-11=85, Resulting Numbers: [46, 85]
Generated Node #0,3,1: 86:[46, 85] Operation: 96-11=85
Exploring Operation: 96-46=50, Resulting Numbers: [11, 50]
Generated Node #0,3,2: 86:[11, 50] Operation: 96-46=50
Exploring Operation: 96+11=107, Resulting Numbers: [46, 107]
Generated Node #0,3,3: 86:[46, 107] Operation: 96+11=107
Exploring Operation: 46+11=57, Resulting Numbers: [96, 57]
Generated Node #0,3,4: 86:[96, 57] Operation: 46+11=57
Moving to Node #0,3,1
Current State: 86:[46, 85], Operations: ['84-73=11', '96-11=85']
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 46+85=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 46*85=3910, Resulting Numbers: [3910]
3910,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[11, 50], Operations: ['84-73=11', '96-46=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[96, 35], Operations: ['84-73=11', '46-11=35']
Exploring Operation: 96*35=3360, Resulting Numbers: [3360]
3360,86 unequal: No Solution
Exploring Operation: 96+35=131, Resulting Numbers: [131]
131,86 unequal: No Solution
Exploring Operation: 96-35=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[46, 107], Operations: ['84-73=11', '96+11=107']
Exploring Operation: 46*107=4922, Resulting Numbers: [4922]
4922,86 unequal: No Solution
Exploring Operation: 107-46=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 46+107=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[96, 57], Operations: ['84-73=11', '46+11=57']
Exploring Operation: 96*57=5472, Resulting Numbers: [5472]
5472,86 unequal: No Solution
Exploring Operation: 96+57=153, Resulting Numbers: [153]
153,86 unequal: No Solution
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[73, 84, 50], Operations: ['96-46=50']
Exploring Operation: 84-50=34, Resulting Numbers: [73, 34]
Generated Node #0,4,0: 86:[73, 34] Operation: 84-50=34
Exploring Operation: 73-50=23, Resulting Numbers: [84, 23]
Generated Node #0,4,1: 86:[84, 23] Operation: 73-50=23
Exploring Operation: 84-73=11, Resulting Numbers: [50, 11]
Generated Node #0,4,2: 86:[50, 11] Operation: 84-73=11
Exploring Operation: 73+50=123, Resulting Numbers: [84, 123]
Generated Node #0,4,3: 86:[84, 123] Operation: 73+50=123
Exploring Operation: 84+50=134, Resulting Numbers: [73, 134]
Generated Node #0,4,4: 86:[73, 134] Operation: 84+50=134
Moving to Node #0,4,2
Current State: 86:[50, 11], Operations: ['96-46=50', '84-73=11']
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[84, 23], Operations: ['96-46=50', '73-50=23']
Exploring Operation: 84+23=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 84-23=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 84*23=1932, Resulting Numbers: [1932]
1932,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[73, 34], Operations: ['96-46=50', '84-50=34']
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,86 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,86 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[84, 123], Operations: ['96-46=50', '73+50=123']
Exploring Operation: 84*123=10332, Resulting Numbers: [10332]
10332,86 unequal: No Solution
Exploring Operation: 123-84=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 84+123=207, Resulting Numbers: [207]
207,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[73, 134], Operations: ['96-46=50', '84+50=134']
Exploring Operation: 73*134=9782, Resulting Numbers: [9782]
9782,86 unequal: No Solution
Exploring Operation: 134-73=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 73+134=207, Resulting Numbers: [207]
207,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[46, 84, 23], Operations: ['96-73=23']
Exploring Operation: 84-23=61, Resulting Numbers: [46, 61]
Generated Node #0,2,0: 86:[46, 61] Operation: 84-23=61
Exploring Operation: 84+23=107, Resulting Numbers: [46, 107]
Generated Node #0,2,1: 86:[46, 107] Operation: 84+23=107
Exploring Operation: 46-23=23, Resulting Numbers: [84, 23]
Generated Node #0,2,2: 86:[84, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [84, 2]
Generated Node #0,2,3: 86:[84, 2] Operation: 46/23=2
Exploring Operation: 46+23=69, Resulting Numbers: [84, 69]
Generated Node #0,2,4: 86:[84, 69] Operation: 46+23=69
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[84, 2], Operations: ['96-73=23', '46/23=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,86 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[46, 73, 84, 96], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [46, 84, 23]
Generated Node #0,2: 86:[46, 84, 23] Operation: 96-73=23
Moving to Node #0,2
Current State: 86:[46, 84, 23], Operations: ['96-73=23']
Exploring Operation: 46/23=2, Resulting Numbers: [84, 2]
Generated Node #0,2,3: 86:[84, 2] Operation: 46/23=2
Moving to Node #0,2,3
Current State: 86:[84, 2], Operations: ['96-73=23', '46/23=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
9,
11,
96,
78
] | 60 | [
"11-9=2",
"78*2=156",
"156-96=60"
] | Current State: 60:[9, 11, 96, 78], Operations: []
Exploring Operation: 11-9=2, Resulting Numbers: [96, 78, 2]
Generated Node #2: [96, 78, 2] from Operation: 11-9=2
Current State: 60:[96, 78, 2], Operations: ['11-9=2']
Exploring Operation: 78*2=156, Resulting Numbers: [96, 156]
Generated Node #3: [96, 156] from Operation: 78*2=156
Current State: 60:[96, 156], Operations: ['11-9=2', '78*2=156']
Exploring Operation: 156-96=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[9, 11, 96, 78], Operations: []
Exploring Operation: 96-78=18, Resulting Numbers: [9, 11, 18]
Generated Node #0,0: 60:[9, 11, 18] Operation: 96-78=18
Moving to Node #0,0
Current State: 60:[9, 11, 18], Operations: ['96-78=18']
Exploring Operation: 18/9=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 60:[11, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 60:[11, 2], Operations: ['96-78=18', '18/9=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,60 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
35,
48,
56,
84
] | 52 | [
"35+56=91",
"48*91=4368",
"4368/84=52"
] | Current State: 52:[35, 48, 56, 84], Operations: []
Exploring Operation: 35+56=91, Resulting Numbers: [48, 84, 91]
Generated Node #2: [48, 84, 91] from Operation: 35+56=91
Current State: 52:[48, 84, 91], Operations: ['35+56=91']
Exploring Operation: 48*91=4368, Resulting Numbers: [84, 4368]
Generated Node #3: [84, 4368] from Operation: 48*91=4368
Current State: 52:[84, 4368], Operations: ['35+56=91', '48*91=4368']
Exploring Operation: 4368/84=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[35, 48, 56, 84], Operations: []
Exploring Operation: 84-48=36, Resulting Numbers: [35, 56, 36]
Generated Node #0,0: 52:[35, 56, 36] Operation: 84-48=36
Exploring Operation: 84-56=28, Resulting Numbers: [35, 48, 28]
Generated Node #0,1: 52:[35, 48, 28] Operation: 84-56=28
Exploring Operation: 84-35=49, Resulting Numbers: [48, 56, 49]
Generated Node #0,2: 52:[48, 56, 49] Operation: 84-35=49
Moving to Node #0,2
Current State: 52:[48, 56, 49], Operations: ['84-35=49']
Exploring Operation: 56-49=7, Resulting Numbers: [48, 7]
Generated Node #0,2,0: 52:[48, 7] Operation: 56-49=7
Exploring Operation: 49-48=1, Resulting Numbers: [56, 1]
Generated Node #0,2,1: 52:[56, 1] Operation: 49-48=1
Exploring Operation: 56-48=8, Resulting Numbers: [49, 8]
Generated Node #0,2,2: 52:[49, 8] Operation: 56-48=8
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 52:[56, 1], Operations: ['84-35=49', '49-48=1']
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,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,2,0
Current State: 52:[48, 7], Operations: ['84-35=49', '56-49=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,52 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,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,2,2
Current State: 52:[49, 8], Operations: ['84-35=49', '56-48=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,52 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,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:[35, 48, 28], Operations: ['84-56=28']
Exploring Operation: 35-28=7, Resulting Numbers: [48, 7]
Generated Node #0,1,0: 52:[48, 7] Operation: 35-28=7
Exploring Operation: 48-35=13, Resulting Numbers: [28, 13]
Generated Node #0,1,1: 52:[28, 13] Operation: 48-35=13
Exploring Operation: 35+28=63, Resulting Numbers: [48, 63]
Generated Node #0,1,2: 52:[48, 63] Operation: 35+28=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[28, 13], Operations: ['84-56=28', '48-35=13']
Exploring Operation: 28*13=364, Resulting Numbers: [364]
364,52 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 28+13=41, Resulting Numbers: [41]
41,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,0
Current State: 52:[48, 7], Operations: ['84-56=28', '35-28=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,52 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,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,2
Current State: 52:[48, 63], Operations: ['84-56=28', '35+28=63']
Exploring Operation: 48*63=3024, Resulting Numbers: [3024]
3024,52 unequal: No Solution
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 48+63=111, Resulting Numbers: [111]
111,52 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: 52:[35, 56, 36], Operations: ['84-48=36']
Exploring Operation: 56-35=21, Resulting Numbers: [36, 21]
Generated Node #0,0,0: 52:[36, 21] Operation: 56-35=21
Exploring Operation: 56-36=20, Resulting Numbers: [35, 20]
Generated Node #0,0,1: 52:[35, 20] Operation: 56-36=20
Exploring Operation: 36-35=1, Resulting Numbers: [56, 1]
Generated Node #0,0,2: 52:[56, 1] Operation: 36-35=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[56, 1], Operations: ['84-48=36', '36-35=1']
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[36, 21], Operations: ['84-48=36', '56-35=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,52 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,52 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,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:[35, 20], Operations: ['84-48=36', '56-36=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,52 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 |
[
57,
20,
64,
70
] | 43 | [
"57-20=37",
"70-64=6",
"37+6=43"
] | Current State: 43:[57, 20, 64, 70], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [64, 70, 37]
Generated Node #2: [64, 70, 37] from Operation: 57-20=37
Current State: 43:[64, 70, 37], Operations: ['57-20=37']
Exploring Operation: 70-64=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 70-64=6
Current State: 43:[37, 6], Operations: ['57-20=37', '70-64=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[57, 20, 64, 70], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [57, 70, 44]
Generated Node #0,0: 43:[57, 70, 44] Operation: 64-20=44
Moving to Node #0,0
Current State: 43:[57, 70, 44], Operations: ['64-20=44']
Exploring Operation: 70-57=13, Resulting Numbers: [44, 13]
Generated Node #0,0,0: 43:[44, 13] Operation: 70-57=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[44, 13], Operations: ['64-20=44', '70-57=13']
Exploring Operation: 44-13=31, Resulting Numbers: [31]
31,43 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.