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 |
|---|---|---|---|---|---|---|---|---|
[
10,
66,
87,
27
] | 72 | [
"87-27=60",
"60/10=6",
"66+6=72"
] | Current State: 72:[10, 66, 87, 27], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [10, 66, 60]
Generated Node #2: [10, 66, 60] from Operation: 87-27=60
Current State: 72:[10, 66, 60], Operations: ['87-27=60']
Exploring Operation: 60/10=6, Resulting Numbers: [66, 6]
Generated Node #3: [66, 6] from Operation: 60/10=6
Current State: 72:[66, 6], Operations: ['87-27=60', '60/10=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[10, 66, 87, 27], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [66, 27, 77]
Generated Node #0,0: 72:[66, 27, 77] Operation: 87-10=77
Exploring Operation: 87-66=21, Resulting Numbers: [10, 27, 21]
Generated Node #0,1: 72:[10, 27, 21] Operation: 87-66=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[10, 27, 21], Operations: ['87-66=21']
Exploring Operation: 10+27=37, Resulting Numbers: [21, 37]
Generated Node #0,1,0: 72:[21, 37] Operation: 10+27=37
Exploring Operation: 27-21=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 72:[10, 6] Operation: 27-21=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[10, 6], Operations: ['87-66=21', '27-21=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No 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: 72:[21, 37], Operations: ['87-66=21', '10+27=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,72 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,72 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: 72:[66, 27, 77], Operations: ['87-10=77']
Exploring Operation: 66-27=39, Resulting Numbers: [77, 39]
Generated Node #0,0,0: 72:[77, 39] Operation: 66-27=39
Exploring Operation: 77-66=11, Resulting Numbers: [27, 11]
Generated Node #0,0,1: 72:[27, 11] Operation: 77-66=11
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[27, 11], Operations: ['87-10=77', '77-66=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,72 unequal: No Solution
No 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: 72:[77, 39], Operations: ['87-10=77', '66-27=39']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 77+39=116, Resulting Numbers: [116]
116,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
27,
18,
11
] | 57 | [
"39*11=429",
"27*18=486",
"486-429=57"
] | Current State: 57:[39, 27, 18, 11], Operations: []
Exploring Operation: 39*11=429, Resulting Numbers: [27, 18, 429]
Generated Node #2: [27, 18, 429] from Operation: 39*11=429
Current State: 57:[27, 18, 429], Operations: ['39*11=429']
Exploring Operation: 27*18=486, Resulting Numbers: [429, 486]
Generated Node #3: [429, 486] from Operation: 27*18=486
Current State: 57:[429, 486], Operations: ['39*11=429', '27*18=486']
Exploring Operation: 486-429=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[39, 27, 18, 11], Operations: []
Exploring Operation: 39+11=50, Resulting Numbers: [27, 18, 50]
Generated Node #0,0: 57:[27, 18, 50] Operation: 39+11=50
Exploring Operation: 39+27=66, Resulting Numbers: [18, 11, 66]
Generated Node #0,1: 57:[18, 11, 66] Operation: 39+27=66
Exploring Operation: 39+18=57, Resulting Numbers: [27, 11, 57]
Generated Node #0,2: 57:[27, 11, 57] Operation: 39+18=57
Exploring Operation: 39-27=12, Resulting Numbers: [18, 11, 12]
Generated Node #0,3: 57:[18, 11, 12] Operation: 39-27=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[27, 18, 50], Operations: ['39+11=50']
Exploring Operation: 18+50=68, Resulting Numbers: [27, 68]
Generated Node #0,0,0: 57:[27, 68] Operation: 18+50=68
Exploring Operation: 27+18=45, Resulting Numbers: [50, 45]
Generated Node #0,0,1: 57:[50, 45] Operation: 27+18=45
Exploring Operation: 50-27=23, Resulting Numbers: [18, 23]
Generated Node #0,0,2: 57:[18, 23] Operation: 50-27=23
Exploring Operation: 27-18=9, Resulting Numbers: [50, 9]
Generated Node #0,0,3: 57:[50, 9] Operation: 27-18=9
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 57:[18, 23], Operations: ['39+11=50', '50-27=23']
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,57 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[50, 9], Operations: ['39+11=50', '27-18=9']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,57 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[27, 68], Operations: ['39+11=50', '18+50=68']
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,57 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[50, 45], Operations: ['39+11=50', '27+18=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[27, 11, 57], Operations: ['39+18=57']
Exploring Operation: 27-11=16, Resulting Numbers: [57, 16]
Generated Node #0,2,0: 57:[57, 16] Operation: 27-11=16
Exploring Operation: 11+57=68, Resulting Numbers: [27, 68]
Generated Node #0,2,1: 57:[27, 68] Operation: 11+57=68
Exploring Operation: 57-27=30, Resulting Numbers: [11, 30]
Generated Node #0,2,2: 57:[11, 30] Operation: 57-27=30
Exploring Operation: 27+11=38, Resulting Numbers: [57, 38]
Generated Node #0,2,3: 57:[57, 38] Operation: 27+11=38
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 57:[57, 16], Operations: ['39+18=57', '27-11=16']
Exploring Operation: 57*16=912, Resulting Numbers: [912]
912,57 unequal: No Solution
Exploring Operation: 57+16=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 57:[27, 68], Operations: ['39+18=57', '11+57=68']
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,57 unequal: No Solution
Exploring Operation: 27*68=1836, Resulting Numbers: [1836]
1836,57 unequal: No Solution
Exploring Operation: 27+68=95, Resulting Numbers: [95]
95,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 57:[11, 30], Operations: ['39+18=57', '57-27=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,57 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 57:[57, 38], Operations: ['39+18=57', '27+11=38']
Exploring Operation: 57*38=2166, Resulting Numbers: [2166]
2166,57 unequal: No Solution
Exploring Operation: 57+38=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[18, 11, 12], Operations: ['39-27=12']
Exploring Operation: 18-11=7, Resulting Numbers: [12, 7]
Generated Node #0,3,0: 57:[12, 7] Operation: 18-11=7
Exploring Operation: 18-12=6, Resulting Numbers: [11, 6]
Generated Node #0,3,1: 57:[11, 6] Operation: 18-12=6
Exploring Operation: 12-11=1, Resulting Numbers: [18, 1]
Generated Node #0,3,2: 57:[18, 1] Operation: 12-11=1
Exploring Operation: 11+12=23, Resulting Numbers: [18, 23]
Generated Node #0,3,3: 57:[18, 23] Operation: 11+12=23
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[18, 1], Operations: ['39-27=12', '12-11=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[18, 23], Operations: ['39-27=12', '11+12=23']
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,57 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 57:[12, 7], Operations: ['39-27=12', '18-11=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,57 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 57:[11, 6], Operations: ['39-27=12', '18-12=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,57 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[18, 11, 66], Operations: ['39+27=66']
Exploring Operation: 66/11=6, Resulting Numbers: [18, 6]
Generated Node #0,1,0: 57:[18, 6] Operation: 66/11=6
Exploring Operation: 66-18=48, Resulting Numbers: [11, 48]
Generated Node #0,1,1: 57:[11, 48] Operation: 66-18=48
Exploring Operation: 18-11=7, Resulting Numbers: [66, 7]
Generated Node #0,1,2: 57:[66, 7] Operation: 18-11=7
Exploring Operation: 66-11=55, Resulting Numbers: [18, 55]
Generated Node #0,1,3: 57:[18, 55] Operation: 66-11=55
Moving to Node #0,1,3
Current State: 57:[18, 55], Operations: ['39+27=66', '66-11=55']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[18, 6], Operations: ['39+27=66', '66/11=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[66, 7], Operations: ['39+27=66', '18-11=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,57 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[11, 48], Operations: ['39+27=66', '66-18=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,57 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
91,
32,
33,
34
] | 25 | [
"34-32=2",
"33*2=66",
"91-66=25"
] | Current State: 25:[91, 32, 33, 34], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [91, 33, 2]
Generated Node #2: [91, 33, 2] from Operation: 34-32=2
Current State: 25:[91, 33, 2], Operations: ['34-32=2']
Exploring Operation: 33*2=66, Resulting Numbers: [91, 66]
Generated Node #3: [91, 66] from Operation: 33*2=66
Current State: 25:[91, 66], Operations: ['34-32=2', '33*2=66']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[91, 32, 33, 34], Operations: []
Exploring Operation: 91-33=58, Resulting Numbers: [32, 34, 58]
Generated Node #0,0: 25:[32, 34, 58] Operation: 91-33=58
Exploring Operation: 34-32=2, Resulting Numbers: [91, 33, 2]
Generated Node #0,1: 25:[91, 33, 2] Operation: 34-32=2
Exploring Operation: 91-32=59, Resulting Numbers: [33, 34, 59]
Generated Node #0,2: 25:[33, 34, 59] Operation: 91-32=59
Exploring Operation: 91-34=57, Resulting Numbers: [32, 33, 57]
Generated Node #0,3: 25:[32, 33, 57] Operation: 91-34=57
Moving to Node #0,3
Current State: 25:[32, 33, 57], Operations: ['91-34=57']
Exploring Operation: 33-32=1, Resulting Numbers: [57, 1]
Generated Node #0,3,0: 25:[57, 1] Operation: 33-32=1
Exploring Operation: 32+33=65, Resulting Numbers: [57, 65]
Generated Node #0,3,1: 25:[57, 65] Operation: 32+33=65
Exploring Operation: 57-33=24, Resulting Numbers: [32, 24]
Generated Node #0,3,2: 25:[32, 24] Operation: 57-33=24
Exploring Operation: 57-32=25, Resulting Numbers: [33, 25]
Generated Node #0,3,3: 25:[33, 25] Operation: 57-32=25
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[32, 24], Operations: ['91-34=57', '57-33=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,25 unequal: No Solution
No 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: 25:[33, 25], Operations: ['91-34=57', '57-32=25']
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,25 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,25 unequal: No Solution
No 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: 25:[57, 1], Operations: ['91-34=57', '33-32=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 57*1=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Exploring Operation: 57-1=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 57/1=57, Resulting Numbers: [57]
57,25 unequal: No Solution
No 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: 25:[57, 65], Operations: ['91-34=57', '32+33=65']
Exploring Operation: 57+65=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 57*65=3705, Resulting Numbers: [3705]
3705,25 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: 25:[32, 34, 58], Operations: ['91-33=58']
Exploring Operation: 34-32=2, Resulting Numbers: [58, 2]
Generated Node #0,0,0: 25:[58, 2] Operation: 34-32=2
Exploring Operation: 32+34=66, Resulting Numbers: [58, 66]
Generated Node #0,0,1: 25:[58, 66] Operation: 32+34=66
Exploring Operation: 58-32=26, Resulting Numbers: [34, 26]
Generated Node #0,0,2: 25:[34, 26] Operation: 58-32=26
Exploring Operation: 58-34=24, Resulting Numbers: [32, 24]
Generated Node #0,0,3: 25:[32, 24] Operation: 58-34=24
Moving to Node #0,2
Current State: 25:[33, 34, 59], Operations: ['91-32=59']
Exploring Operation: 59-34=25, Resulting Numbers: [33, 25]
Generated Node #0,2,0: 25:[33, 25] Operation: 59-34=25
Exploring Operation: 33+34=67, Resulting Numbers: [59, 67]
Generated Node #0,2,1: 25:[59, 67] Operation: 33+34=67
Exploring Operation: 59-33=26, Resulting Numbers: [34, 26]
Generated Node #0,2,2: 25:[34, 26] Operation: 59-33=26
Exploring Operation: 34-33=1, Resulting Numbers: [59, 1]
Generated Node #0,2,3: 25:[59, 1] Operation: 34-33=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[33, 25], Operations: ['91-32=59', '59-34=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,25 unequal: No Solution
No 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: 25:[34, 26], Operations: ['91-32=59', '59-33=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,25 unequal: No Solution
No 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: 25:[59, 1], Operations: ['91-32=59', '34-33=1']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,25 unequal: No Solution
Exploring Operation: 59+1=60, Resulting Numbers: [60]
60,25 unequal: No Solution
No 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: 25:[59, 67], Operations: ['91-32=59', '33+34=67']
Exploring Operation: 59*67=3953, Resulting Numbers: [3953]
3953,25 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 59+67=126, Resulting Numbers: [126]
126,25 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: 25:[91, 33, 2], Operations: ['34-32=2']
Exploring Operation: 91-2=89, Resulting Numbers: [33, 89]
Generated Node #0,1,0: 25:[33, 89] Operation: 91-2=89
Exploring Operation: 91-33=58, Resulting Numbers: [2, 58]
Generated Node #0,1,1: 25:[2, 58] Operation: 91-33=58
Exploring Operation: 91+2=93, Resulting Numbers: [33, 93]
Generated Node #0,1,2: 25:[33, 93] Operation: 91+2=93
Exploring Operation: 33-2=31, Resulting Numbers: [91, 31]
Generated Node #0,1,3: 25:[91, 31] Operation: 33-2=31
Moving to Node #0,0,3
Current State: 25:[32, 24], Operations: ['91-33=58', '58-34=24']
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[34, 26], Operations: ['91-33=58', '58-32=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,25 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[58, 2], Operations: ['91-33=58', '34-32=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[2, 58], Operations: ['34-32=2', '91-33=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 2*58=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[33, 89], Operations: ['34-32=2', '91-2=89']
Exploring Operation: 33*89=2937, Resulting Numbers: [2937]
2937,25 unequal: No Solution
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 33+89=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[91, 31], Operations: ['34-32=2', '33-2=31']
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,25 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[58, 66], Operations: ['91-33=58', '32+34=66']
Exploring Operation: 58*66=3828, Resulting Numbers: [3828]
3828,25 unequal: No Solution
Exploring Operation: 58+66=124, Resulting Numbers: [124]
124,25 unequal: No Solution
Exploring Operation: 66-58=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[33, 93], Operations: ['34-32=2', '91+2=93']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,25 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,25 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
99,
4,
12,
6
] | 45 | [
"99-6=93",
"4*12=48",
"93-48=45"
] | Current State: 45:[99, 4, 12, 6], Operations: []
Exploring Operation: 99-6=93, Resulting Numbers: [4, 12, 93]
Generated Node #2: [4, 12, 93] from Operation: 99-6=93
Current State: 45:[4, 12, 93], Operations: ['99-6=93']
Exploring Operation: 4*12=48, Resulting Numbers: [93, 48]
Generated Node #3: [93, 48] from Operation: 4*12=48
Current State: 45:[93, 48], Operations: ['99-6=93', '4*12=48']
Exploring Operation: 93-48=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[99, 4, 12, 6], Operations: []
Exploring Operation: 99-12=87, Resulting Numbers: [4, 6, 87]
Generated Node #0,0: 45:[4, 6, 87] Operation: 99-12=87
Moving to Node #0,0
Current State: 45:[4, 6, 87], Operations: ['99-12=87']
Exploring Operation: 87-6=81, Resulting Numbers: [4, 81]
Generated Node #0,0,0: 45:[4, 81] Operation: 87-6=81
Moving to Node #0,0,0
Current State: 45:[4, 81], Operations: ['99-12=87', '87-6=81']
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
51,
71,
92,
28
] | 75 | [
"51-28=23",
"92/23=4",
"71+4=75"
] | Current State: 75:[51, 71, 92, 28], Operations: []
Exploring Operation: 51-28=23, Resulting Numbers: [71, 92, 23]
Generated Node #2: [71, 92, 23] from Operation: 51-28=23
Current State: 75:[71, 92, 23], Operations: ['51-28=23']
Exploring Operation: 92/23=4, Resulting Numbers: [71, 4]
Generated Node #3: [71, 4] from Operation: 92/23=4
Current State: 75:[71, 4], Operations: ['51-28=23', '92/23=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[51, 71, 92, 28], Operations: []
Exploring Operation: 92-51=41, Resulting Numbers: [71, 28, 41]
Generated Node #0,0: 75:[71, 28, 41] Operation: 92-51=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[71, 28, 41], Operations: ['92-51=41']
Exploring Operation: 41-28=13, Resulting Numbers: [71, 13]
Generated Node #0,0,0: 75:[71, 13] Operation: 41-28=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[71, 13], Operations: ['92-51=41', '41-28=13']
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,75 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 |
[
38,
60,
6,
31
] | 73 | [
"38+60=98",
"31-6=25",
"98-25=73"
] | Current State: 73:[38, 60, 6, 31], Operations: []
Exploring Operation: 38+60=98, Resulting Numbers: [6, 31, 98]
Generated Node #2: [6, 31, 98] from Operation: 38+60=98
Current State: 73:[6, 31, 98], Operations: ['38+60=98']
Exploring Operation: 31-6=25, Resulting Numbers: [98, 25]
Generated Node #3: [98, 25] from Operation: 31-6=25
Current State: 73:[98, 25], Operations: ['38+60=98', '31-6=25']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[38, 60, 6, 31], Operations: []
Exploring Operation: 38+6=44, Resulting Numbers: [60, 31, 44]
Generated Node #0,0: 73:[60, 31, 44] Operation: 38+6=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[60, 31, 44], Operations: ['38+6=44']
Exploring Operation: 31+44=75, Resulting Numbers: [60, 75]
Generated Node #0,0,0: 73:[60, 75] Operation: 31+44=75
Moving to Node #0,0,0
Current State: 73:[60, 75], Operations: ['38+6=44', '31+44=75']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
10,
10,
18,
27
] | 80 | [
"27-18=9",
"10*9=90",
"90-10=80"
] | Current State: 80:[10, 10, 18, 27], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [10, 10, 9]
Generated Node #2: [10, 10, 9] from Operation: 27-18=9
Current State: 80:[10, 10, 9], Operations: ['27-18=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,80 equal: Goal Reached
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[10, 10, 18, 27], Operations: []
Exploring Operation: 27-18=9, Resulting Numbers: [10, 10, 9]
Generated Node #0,0: 80:[10, 10, 9] Operation: 27-18=9
Moving to Node #0,0
Current State: 80:[10, 10, 9], Operations: ['27-18=9']
Exploring Operation: 10+10=20, Resulting Numbers: [9, 20]
Generated Node #0,0,0: 80:[9, 20] Operation: 10+10=20
Moving to Node #0,0,0
Current State: 80:[9, 20], Operations: ['27-18=9', '10+10=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,80 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
4,
95,
60
] | 69 | [
"95-60=35",
"4*35=140",
"140-71=69"
] | Current State: 69:[71, 4, 95, 60], Operations: []
Exploring Operation: 95-60=35, Resulting Numbers: [71, 4, 35]
Generated Node #2: [71, 4, 35] from Operation: 95-60=35
Current State: 69:[71, 4, 35], Operations: ['95-60=35']
Exploring Operation: 4*35=140, Resulting Numbers: [71, 140]
Generated Node #3: [71, 140] from Operation: 4*35=140
Current State: 69:[71, 140], Operations: ['95-60=35', '4*35=140']
Exploring Operation: 140-71=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[71, 4, 95, 60], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [4, 60, 24]
Generated Node #0,0: 69:[4, 60, 24] Operation: 95-71=24
Exploring Operation: 95-60=35, Resulting Numbers: [71, 4, 35]
Generated Node #0,1: 69:[71, 4, 35] Operation: 95-60=35
Exploring Operation: 95-4=91, Resulting Numbers: [71, 60, 91]
Generated Node #0,2: 69:[71, 60, 91] Operation: 95-4=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[4, 60, 24], Operations: ['95-71=24']
Exploring Operation: 4+60=64, Resulting Numbers: [24, 64]
Generated Node #0,0,0: 69:[24, 64] Operation: 4+60=64
Exploring Operation: 60/4=15, Resulting Numbers: [24, 15]
Generated Node #0,0,1: 69:[24, 15] Operation: 60/4=15
Exploring Operation: 24-4=20, Resulting Numbers: [60, 20]
Generated Node #0,0,2: 69:[60, 20] Operation: 24-4=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[24, 64], Operations: ['95-71=24', '4+60=64']
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,69 unequal: No Solution
No 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: 69:[24, 15], Operations: ['95-71=24', '60/4=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,69 unequal: No Solution
No 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: 69:[60, 20], Operations: ['95-71=24', '24-4=20']
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[71, 4, 35], Operations: ['95-60=35']
Exploring Operation: 35-4=31, Resulting Numbers: [71, 31]
Generated Node #0,1,0: 69:[71, 31] Operation: 35-4=31
Exploring Operation: 71-35=36, Resulting Numbers: [4, 36]
Generated Node #0,1,1: 69:[4, 36] Operation: 71-35=36
Exploring Operation: 71-4=67, Resulting Numbers: [35, 67]
Generated Node #0,1,2: 69:[35, 67] Operation: 71-4=67
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[71, 31], Operations: ['95-60=35', '35-4=31']
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,69 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,69 unequal: No Solution
No 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: 69:[4, 36], Operations: ['95-60=35', '71-35=36']
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,69 unequal: No Solution
No 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: 69:[35, 67], Operations: ['95-60=35', '71-4=67']
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,69 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[71, 60, 91], Operations: ['95-4=91']
Exploring Operation: 71-60=11, Resulting Numbers: [91, 11]
Generated Node #0,2,0: 69:[91, 11] Operation: 71-60=11
Exploring Operation: 91-60=31, Resulting Numbers: [71, 31]
Generated Node #0,2,1: 69:[71, 31] Operation: 91-60=31
Exploring Operation: 91-71=20, Resulting Numbers: [60, 20]
Generated Node #0,2,2: 69:[60, 20] Operation: 91-71=20
Moving to Node #0,2,1
Current State: 69:[71, 31], Operations: ['95-4=91', '91-60=31']
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,69 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,69 unequal: No Solution
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[60, 20], Operations: ['95-4=91', '91-71=20']
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 60+20=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[91, 11], Operations: ['95-4=91', '71-60=11']
Exploring Operation: 91*11=1001, Resulting Numbers: [1001]
1001,69 unequal: No Solution
Exploring Operation: 91-11=80, Resulting Numbers: [80]
80,69 unequal: No Solution
Exploring Operation: 91+11=102, Resulting Numbers: [102]
102,69 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 |
[
76,
29,
19,
35
] | 57 | [
"76+29=105",
"19*105=1995",
"1995/35=57"
] | Current State: 57:[76, 29, 19, 35], Operations: []
Exploring Operation: 76+29=105, Resulting Numbers: [19, 35, 105]
Generated Node #2: [19, 35, 105] from Operation: 76+29=105
Current State: 57:[19, 35, 105], Operations: ['76+29=105']
Exploring Operation: 19*105=1995, Resulting Numbers: [35, 1995]
Generated Node #3: [35, 1995] from Operation: 19*105=1995
Current State: 57:[35, 1995], Operations: ['76+29=105', '19*105=1995']
Exploring Operation: 1995/35=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[76, 29, 19, 35], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [76, 19, 6]
Generated Node #0,0: 57:[76, 19, 6] Operation: 35-29=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[76, 19, 6], Operations: ['35-29=6']
Exploring Operation: 76-19=57, Resulting Numbers: [6, 57]
Generated Node #0,0,0: 57:[6, 57] Operation: 76-19=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[6, 57], Operations: ['35-29=6', '76-19=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
90,
78,
35
] | 48 | [
"49*90=4410",
"4410/35=126",
"126-78=48"
] | Current State: 48:[49, 90, 78, 35], Operations: []
Exploring Operation: 49*90=4410, Resulting Numbers: [78, 35, 4410]
Generated Node #2: [78, 35, 4410] from Operation: 49*90=4410
Current State: 48:[78, 35, 4410], Operations: ['49*90=4410']
Exploring Operation: 4410/35=126, Resulting Numbers: [78, 126]
Generated Node #3: [78, 126] from Operation: 4410/35=126
Current State: 48:[78, 126], Operations: ['49*90=4410', '4410/35=126']
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[49, 90, 78, 35], Operations: []
Exploring Operation: 78-35=43, Resulting Numbers: [49, 90, 43]
Generated Node #0,0: 48:[49, 90, 43] Operation: 78-35=43
Exploring Operation: 90-49=41, Resulting Numbers: [78, 35, 41]
Generated Node #0,1: 48:[78, 35, 41] Operation: 90-49=41
Exploring Operation: 78-49=29, Resulting Numbers: [90, 35, 29]
Generated Node #0,2: 48:[90, 35, 29] Operation: 78-49=29
Exploring Operation: 90-78=12, Resulting Numbers: [49, 35, 12]
Generated Node #0,3: 48:[49, 35, 12] Operation: 90-78=12
Exploring Operation: 90-35=55, Resulting Numbers: [49, 78, 55]
Generated Node #0,4: 48:[49, 78, 55] Operation: 90-35=55
Moving to Node #0,3
Current State: 48:[49, 35, 12], Operations: ['90-78=12']
Exploring Operation: 35-12=23, Resulting Numbers: [49, 23]
Generated Node #0,3,0: 48:[49, 23] Operation: 35-12=23
Exploring Operation: 35+12=47, Resulting Numbers: [49, 47]
Generated Node #0,3,1: 48:[49, 47] Operation: 35+12=47
Exploring Operation: 49+12=61, Resulting Numbers: [35, 61]
Generated Node #0,3,2: 48:[35, 61] Operation: 49+12=61
Exploring Operation: 49-35=14, Resulting Numbers: [12, 14]
Generated Node #0,3,3: 48:[12, 14] Operation: 49-35=14
Exploring Operation: 49-12=37, Resulting Numbers: [35, 37]
Generated Node #0,3,4: 48:[35, 37] Operation: 49-12=37
Moving to Node #0,4
Current State: 48:[49, 78, 55], Operations: ['90-35=55']
Exploring Operation: 49+55=104, Resulting Numbers: [78, 104]
Generated Node #0,4,0: 48:[78, 104] Operation: 49+55=104
Exploring Operation: 55-49=6, Resulting Numbers: [78, 6]
Generated Node #0,4,1: 48:[78, 6] Operation: 55-49=6
Exploring Operation: 78-55=23, Resulting Numbers: [49, 23]
Generated Node #0,4,2: 48:[49, 23] Operation: 78-55=23
Exploring Operation: 78-49=29, Resulting Numbers: [55, 29]
Generated Node #0,4,3: 48:[55, 29] Operation: 78-49=29
Exploring Operation: 49+78=127, Resulting Numbers: [55, 127]
Generated Node #0,4,4: 48:[55, 127] Operation: 49+78=127
Moving to Node #0,0
Current State: 48:[49, 90, 43], Operations: ['78-35=43']
Exploring Operation: 90-49=41, Resulting Numbers: [43, 41]
Generated Node #0,0,0: 48:[43, 41] Operation: 90-49=41
Exploring Operation: 90+43=133, Resulting Numbers: [49, 133]
Generated Node #0,0,1: 48:[49, 133] Operation: 90+43=133
Exploring Operation: 49+43=92, Resulting Numbers: [90, 92]
Generated Node #0,0,2: 48:[90, 92] Operation: 49+43=92
Exploring Operation: 49-43=6, Resulting Numbers: [90, 6]
Generated Node #0,0,3: 48:[90, 6] Operation: 49-43=6
Exploring Operation: 90-43=47, Resulting Numbers: [49, 47]
Generated Node #0,0,4: 48:[49, 47] Operation: 90-43=47
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 48:[49, 47], Operations: ['78-35=43', '90-43=47']
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[43, 41], Operations: ['78-35=43', '90-49=41']
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,48 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[90, 6], Operations: ['78-35=43', '49-43=6']
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 48:[49, 133], Operations: ['78-35=43', '90+43=133']
Exploring Operation: 49+133=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 49*133=6517, Resulting Numbers: [6517]
6517,48 unequal: No Solution
Exploring Operation: 133-49=84, Resulting Numbers: [84]
84,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 48:[90, 92], Operations: ['78-35=43', '49+43=92']
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 90*92=8280, Resulting Numbers: [8280]
8280,48 unequal: No Solution
Exploring Operation: 90+92=182, Resulting Numbers: [182]
182,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 48:[78, 35, 41], Operations: ['90-49=41']
Exploring Operation: 35+41=76, Resulting Numbers: [78, 76]
Generated Node #0,1,0: 48:[78, 76] Operation: 35+41=76
Exploring Operation: 78-35=43, Resulting Numbers: [41, 43]
Generated Node #0,1,1: 48:[41, 43] Operation: 78-35=43
Exploring Operation: 41-35=6, Resulting Numbers: [78, 6]
Generated Node #0,1,2: 48:[78, 6] Operation: 41-35=6
Exploring Operation: 78+35=113, Resulting Numbers: [41, 113]
Generated Node #0,1,3: 48:[41, 113] Operation: 78+35=113
Exploring Operation: 78-41=37, Resulting Numbers: [35, 37]
Generated Node #0,1,4: 48:[35, 37] Operation: 78-41=37
Moving to Node #0,2
Current State: 48:[90, 35, 29], Operations: ['78-49=29']
Exploring Operation: 90-29=61, Resulting Numbers: [35, 61]
Generated Node #0,2,0: 48:[35, 61] Operation: 90-29=61
Exploring Operation: 35+29=64, Resulting Numbers: [90, 64]
Generated Node #0,2,1: 48:[90, 64] Operation: 35+29=64
Exploring Operation: 90-35=55, Resulting Numbers: [29, 55]
Generated Node #0,2,2: 48:[29, 55] Operation: 90-35=55
Exploring Operation: 90+35=125, Resulting Numbers: [29, 125]
Generated Node #0,2,3: 48:[29, 125] Operation: 90+35=125
Exploring Operation: 35-29=6, Resulting Numbers: [90, 6]
Generated Node #0,2,4: 48:[90, 6] Operation: 35-29=6
Moving to Node #0,3,0
Current State: 48:[49, 23], Operations: ['90-78=12', '35-12=23']
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,48 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,3,3
Current State: 48:[12, 14], Operations: ['90-78=12', '49-35=14']
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,48 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,4,2
Current State: 48:[49, 23], Operations: ['90-35=55', '78-55=23']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 49*23=1127, Resulting Numbers: [1127]
1127,48 unequal: No Solution
Exploring Operation: 49+23=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Moving to Node #0,3,1
Current State: 48:[49, 47], Operations: ['90-78=12', '35+12=47']
Exploring Operation: 49+47=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 49*47=2303, Resulting Numbers: [2303]
2303,48 unequal: No Solution
Exploring Operation: 49-47=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Moving to Node #0,4,3
Current State: 48:[55, 29], Operations: ['90-35=55', '78-49=29']
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,48 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[41, 43], Operations: ['90-49=41', '78-35=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[29, 55], Operations: ['78-49=29', '90-35=55']
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,48 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[35, 37], Operations: ['90-49=41', '78-41=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,48 unequal: No Solution
Moving to Node #0,3,4
Current State: 48:[35, 37], Operations: ['90-78=12', '49-12=37']
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[35, 61], Operations: ['78-49=29', '90-29=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,48 unequal: No Solution
Moving to Node #0,3,2
Current State: 48:[35, 61], Operations: ['90-78=12', '49+12=61']
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,48 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[78, 6], Operations: ['90-49=41', '41-35=6']
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,48 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[78, 6], Operations: ['90-35=55', '55-49=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,48 unequal: No Solution
Moving to Node #0,2,4
Current State: 48:[90, 6], Operations: ['78-49=29', '35-29=6']
Exploring Operation: 90+6=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 90*6=540, Resulting Numbers: [540]
540,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[78, 76], Operations: ['90-49=41', '35+41=76']
Exploring Operation: 78-76=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 78+76=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Exploring Operation: 78*76=5928, Resulting Numbers: [5928]
5928,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[90, 64], Operations: ['78-49=29', '35+29=64']
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,48 unequal: No Solution
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Moving to Node #0,1,3
Current State: 48:[41, 113], Operations: ['90-49=41', '78+35=113']
Exploring Operation: 41+113=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Exploring Operation: 41*113=4633, Resulting Numbers: [4633]
4633,48 unequal: No Solution
Exploring Operation: 113-41=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Moving to Node #0,2,3
Current State: 48:[29, 125], Operations: ['78-49=29', '90+35=125']
Exploring Operation: 125-29=96, Resulting Numbers: [96]
96,48 unequal: No Solution
Exploring Operation: 29*125=3625, Resulting Numbers: [3625]
3625,48 unequal: No Solution
Exploring Operation: 29+125=154, Resulting Numbers: [154]
154,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[55, 127], Operations: ['90-35=55', '49+78=127']
Exploring Operation: 127-55=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 55+127=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 55*127=6985, Resulting Numbers: [6985]
6985,48 unequal: No Solution
Moving to Node #0,4,0
Current State: 48:[78, 104], Operations: ['90-35=55', '49+55=104']
Exploring Operation: 104-78=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 78+104=182, Resulting Numbers: [182]
182,48 unequal: No Solution
Exploring Operation: 78*104=8112, Resulting Numbers: [8112]
8112,48 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
23,
4,
96,
93
] | 30 | [
"23+4=27",
"96-93=3",
"27+3=30"
] | Current State: 30:[23, 4, 96, 93], Operations: []
Exploring Operation: 23+4=27, Resulting Numbers: [96, 93, 27]
Generated Node #2: [96, 93, 27] from Operation: 23+4=27
Current State: 30:[96, 93, 27], Operations: ['23+4=27']
Exploring Operation: 96-93=3, Resulting Numbers: [27, 3]
Generated Node #3: [27, 3] from Operation: 96-93=3
Current State: 30:[27, 3], Operations: ['23+4=27', '96-93=3']
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[23, 4, 96, 93], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [23, 4, 3]
Generated Node #0,0: 30:[23, 4, 3] Operation: 96-93=3
Moving to Node #0,0
Current State: 30:[23, 4, 3], Operations: ['96-93=3']
Exploring Operation: 23+4=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 30:[3, 27] Operation: 23+4=27
Moving to Node #0,0,0
Current State: 30:[3, 27], Operations: ['96-93=3', '23+4=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[23, 4, 96, 93], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [23, 4, 3]
Generated Node #0,0: 30:[23, 4, 3] Operation: 96-93=3
Moving to Node #0,0
Current State: 30:[23, 4, 3], Operations: ['96-93=3']
Exploring Operation: 23+4=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 30:[3, 27] Operation: 23+4=27
Moving to Node #0,0,0
Current State: 30:[3, 27], Operations: ['96-93=3', '23+4=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
2,
70,
43,
66
] | 12 | [
"70/2=35",
"66-43=23",
"35-23=12"
] | Current State: 12:[2, 70, 43, 66], Operations: []
Exploring Operation: 70/2=35, Resulting Numbers: [43, 66, 35]
Generated Node #2: [43, 66, 35] from Operation: 70/2=35
Current State: 12:[43, 66, 35], Operations: ['70/2=35']
Exploring Operation: 66-43=23, Resulting Numbers: [35, 23]
Generated Node #3: [35, 23] from Operation: 66-43=23
Current State: 12:[35, 23], Operations: ['70/2=35', '66-43=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[2, 70, 43, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [2, 43, 4]
Generated Node #0,0: 12:[2, 43, 4] Operation: 70-66=4
Exploring Operation: 66-43=23, Resulting Numbers: [2, 70, 23]
Generated Node #0,1: 12:[2, 70, 23] Operation: 66-43=23
Exploring Operation: 70-43=27, Resulting Numbers: [2, 66, 27]
Generated Node #0,2: 12:[2, 66, 27] Operation: 70-43=27
Exploring Operation: 70/2=35, Resulting Numbers: [43, 66, 35]
Generated Node #0,3: 12:[43, 66, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[2, 43, 4], Operations: ['70-66=4']
Exploring Operation: 2+4=6, Resulting Numbers: [43, 6]
Generated Node #0,0,0: 12:[43, 6] Operation: 2+4=6
Exploring Operation: 4-2=2, Resulting Numbers: [43, 2]
Generated Node #0,0,1: 12:[43, 2] Operation: 4-2=2
Exploring Operation: 43-4=39, Resulting Numbers: [2, 39]
Generated Node #0,0,2: 12:[2, 39] Operation: 43-4=39
Exploring Operation: 43-2=41, Resulting Numbers: [4, 41]
Generated Node #0,0,3: 12:[4, 41] Operation: 43-2=41
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 12:[2, 39], Operations: ['70-66=4', '43-4=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,12 unequal: No Solution
No 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: 12:[4, 41], Operations: ['70-66=4', '43-2=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,12 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,12 unequal: No Solution
No 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: 12:[43, 6], Operations: ['70-66=4', '2+4=6']
Exploring Operation: 43+6=49, Resulting Numbers: [49]
49,12 unequal: No Solution
Exploring Operation: 43*6=258, Resulting Numbers: [258]
258,12 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,12 unequal: No Solution
No 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: 12:[43, 2], Operations: ['70-66=4', '4-2=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,12 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,12 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: 12:[2, 70, 23], Operations: ['66-43=23']
Exploring Operation: 23-2=21, Resulting Numbers: [70, 21]
Generated Node #0,1,0: 12:[70, 21] Operation: 23-2=21
Exploring Operation: 70-2=68, Resulting Numbers: [23, 68]
Generated Node #0,1,1: 12:[23, 68] Operation: 70-2=68
Exploring Operation: 70/2=35, Resulting Numbers: [23, 35]
Generated Node #0,1,2: 12:[23, 35] Operation: 70/2=35
Exploring Operation: 70-23=47, Resulting Numbers: [2, 47]
Generated Node #0,1,3: 12:[2, 47] Operation: 70-23=47
Moving to Node #0,1,2
Current State: 12:[23, 35], Operations: ['66-43=23', '70/2=35']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[2, 70, 43, 66], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [2, 70, 23]
Generated Node #0,1: 12:[2, 70, 23] Operation: 66-43=23
Moving to Node #0,1
Current State: 12:[2, 70, 23], Operations: ['66-43=23']
Exploring Operation: 70/2=35, Resulting Numbers: [23, 35]
Generated Node #0,1,2: 12:[23, 35] Operation: 70/2=35
Moving to Node #0,1,2
Current State: 12:[23, 35], Operations: ['66-43=23', '70/2=35']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
35,
95,
19,
13
] | 100 | [
"95/19=5",
"13*5=65",
"35+65=100"
] | Current State: 100:[35, 95, 19, 13], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [35, 13, 5]
Generated Node #2: [35, 13, 5] from Operation: 95/19=5
Current State: 100:[35, 13, 5], Operations: ['95/19=5']
Exploring Operation: 13*5=65, Resulting Numbers: [35, 65]
Generated Node #3: [35, 65] from Operation: 13*5=65
Current State: 100:[35, 65], Operations: ['95/19=5', '13*5=65']
Exploring Operation: 35+65=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[35, 95, 19, 13], Operations: []
Exploring Operation: 35-19=16, Resulting Numbers: [95, 13, 16]
Generated Node #0,0: 100:[95, 13, 16] Operation: 35-19=16
Exploring Operation: 35+13=48, Resulting Numbers: [95, 19, 48]
Generated Node #0,1: 100:[95, 19, 48] Operation: 35+13=48
Exploring Operation: 35+19=54, Resulting Numbers: [95, 13, 54]
Generated Node #0,2: 100:[95, 13, 54] Operation: 35+19=54
Exploring Operation: 35-13=22, Resulting Numbers: [95, 19, 22]
Generated Node #0,3: 100:[95, 19, 22] Operation: 35-13=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[95, 19, 48], Operations: ['35+13=48']
Exploring Operation: 95-48=47, Resulting Numbers: [19, 47]
Generated Node #0,1,0: 100:[19, 47] Operation: 95-48=47
Exploring Operation: 48-19=29, Resulting Numbers: [95, 29]
Generated Node #0,1,1: 100:[95, 29] Operation: 48-19=29
Exploring Operation: 95/19=5, Resulting Numbers: [48, 5]
Generated Node #0,1,2: 100:[48, 5] Operation: 95/19=5
Exploring Operation: 95+19=114, Resulting Numbers: [48, 114]
Generated Node #0,1,3: 100:[48, 114] Operation: 95+19=114
Moving to Node #0,1,2
Current State: 100:[48, 5], Operations: ['35+13=48', '95/19=5']
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,100 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[19, 47], Operations: ['35+13=48', '95-48=47']
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 19+47=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 19*47=893, Resulting Numbers: [893]
893,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[95, 29], Operations: ['35+13=48', '48-19=29']
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[48, 114], Operations: ['35+13=48', '95+19=114']
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,100 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 100:[95, 19, 22], Operations: ['35-13=22']
Exploring Operation: 19+22=41, Resulting Numbers: [95, 41]
Generated Node #0,3,0: 100:[95, 41] Operation: 19+22=41
Exploring Operation: 22-19=3, Resulting Numbers: [95, 3]
Generated Node #0,3,1: 100:[95, 3] Operation: 22-19=3
Exploring Operation: 95/19=5, Resulting Numbers: [22, 5]
Generated Node #0,3,2: 100:[22, 5] Operation: 95/19=5
Exploring Operation: 95+19=114, Resulting Numbers: [22, 114]
Generated Node #0,3,3: 100:[22, 114] Operation: 95+19=114
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[22, 5], Operations: ['35-13=22', '95/19=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,100 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,100 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[95, 3], Operations: ['35-13=22', '22-19=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,100 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 100:[95, 41], Operations: ['35-13=22', '19+22=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 100:[22, 114], Operations: ['35-13=22', '95+19=114']
Exploring Operation: 22+114=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 22*114=2508, Resulting Numbers: [2508]
2508,100 unequal: No Solution
Exploring Operation: 114-22=92, Resulting Numbers: [92]
92,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[95, 13, 16], Operations: ['35-19=16']
Exploring Operation: 95+16=111, Resulting Numbers: [13, 111]
Generated Node #0,0,0: 100:[13, 111] Operation: 95+16=111
Exploring Operation: 95+13=108, Resulting Numbers: [16, 108]
Generated Node #0,0,1: 100:[16, 108] Operation: 95+13=108
Exploring Operation: 13+16=29, Resulting Numbers: [95, 29]
Generated Node #0,0,2: 100:[95, 29] Operation: 13+16=29
Exploring Operation: 16-13=3, Resulting Numbers: [95, 3]
Generated Node #0,0,3: 100:[95, 3] Operation: 16-13=3
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[95, 3], Operations: ['35-19=16', '16-13=3']
Exploring Operation: 95*3=285, Resulting Numbers: [285]
285,100 unequal: No Solution
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,100 unequal: No Solution
Exploring Operation: 95-3=92, Resulting Numbers: [92]
92,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 100:[95, 29], Operations: ['35-19=16', '13+16=29']
Exploring Operation: 95+29=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 95-29=66, Resulting Numbers: [66]
66,100 unequal: No Solution
Exploring Operation: 95*29=2755, Resulting Numbers: [2755]
2755,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[16, 108], Operations: ['35-19=16', '95+13=108']
Exploring Operation: 16+108=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 108-16=92, Resulting Numbers: [92]
92,100 unequal: No Solution
Exploring Operation: 16*108=1728, Resulting Numbers: [1728]
1728,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[13, 111], Operations: ['35-19=16', '95+16=111']
Exploring Operation: 13*111=1443, Resulting Numbers: [1443]
1443,100 unequal: No Solution
Exploring Operation: 13+111=124, Resulting Numbers: [124]
124,100 unequal: No Solution
Exploring Operation: 111-13=98, Resulting Numbers: [98]
98,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[95, 13, 54], Operations: ['35+19=54']
Exploring Operation: 95+13=108, Resulting Numbers: [54, 108]
Generated Node #0,2,0: 100:[54, 108] Operation: 95+13=108
Exploring Operation: 95-54=41, Resulting Numbers: [13, 41]
Generated Node #0,2,1: 100:[13, 41] Operation: 95-54=41
Exploring Operation: 95-13=82, Resulting Numbers: [54, 82]
Generated Node #0,2,2: 100:[54, 82] Operation: 95-13=82
Exploring Operation: 54-13=41, Resulting Numbers: [95, 41]
Generated Node #0,2,3: 100:[95, 41] Operation: 54-13=41
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[54, 108], Operations: ['35+19=54', '95+13=108']
Exploring Operation: 54*108=5832, Resulting Numbers: [5832]
5832,100 unequal: No Solution
Exploring Operation: 108-54=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 54+108=162, Resulting Numbers: [162]
162,100 unequal: No Solution
Exploring Operation: 108/54=2, Resulting Numbers: [2]
2,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[13, 41], Operations: ['35+19=54', '95-54=41']
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,100 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 100:[95, 41], Operations: ['35+19=54', '54-13=41']
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,100 unequal: No Solution
Exploring Operation: 95+41=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 95*41=3895, Resulting Numbers: [3895]
3895,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 100:[54, 82], Operations: ['35+19=54', '95-13=82']
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,100 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,100 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
51,
2,
42,
81
] | 88 | [
"51-2=49",
"81-42=39",
"49+39=88"
] | Current State: 88:[51, 2, 42, 81], Operations: []
Exploring Operation: 51-2=49, Resulting Numbers: [42, 81, 49]
Generated Node #2: [42, 81, 49] from Operation: 51-2=49
Current State: 88:[42, 81, 49], Operations: ['51-2=49']
Exploring Operation: 81-42=39, Resulting Numbers: [49, 39]
Generated Node #3: [49, 39] from Operation: 81-42=39
Current State: 88:[49, 39], Operations: ['51-2=49', '81-42=39']
Exploring Operation: 49+39=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[51, 2, 42, 81], Operations: []
Exploring Operation: 51-42=9, Resulting Numbers: [2, 81, 9]
Generated Node #0,0: 88:[2, 81, 9] Operation: 51-42=9
Moving to Node #0,0
Current State: 88:[2, 81, 9], Operations: ['51-42=9']
Exploring Operation: 81/9=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 88:[2, 9] Operation: 81/9=9
Moving to Node #0,0,0
Current State: 88:[2, 9], Operations: ['51-42=9', '81/9=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,88 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
21,
84,
23
] | 56 | [
"23-9=14",
"84/21=4",
"14*4=56"
] | Current State: 56:[9, 21, 84, 23], Operations: []
Exploring Operation: 23-9=14, Resulting Numbers: [21, 84, 14]
Generated Node #2: [21, 84, 14] from Operation: 23-9=14
Current State: 56:[21, 84, 14], Operations: ['23-9=14']
Exploring Operation: 84/21=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 84/21=4
Current State: 56:[14, 4], Operations: ['23-9=14', '84/21=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[9, 21, 84, 23], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [9, 23, 4]
Generated Node #0,0: 56:[9, 23, 4] Operation: 84/21=4
Exploring Operation: 84-23=61, Resulting Numbers: [9, 21, 61]
Generated Node #0,1: 56:[9, 21, 61] Operation: 84-23=61
Exploring Operation: 84-21=63, Resulting Numbers: [9, 23, 63]
Generated Node #0,2: 56:[9, 23, 63] Operation: 84-21=63
Moving to Node #0,0
Current State: 56:[9, 23, 4], Operations: ['84/21=4']
Exploring Operation: 23+4=27, Resulting Numbers: [9, 27]
Generated Node #0,0,0: 56:[9, 27] Operation: 23+4=27
Exploring Operation: 23-9=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 56:[4, 14] Operation: 23-9=14
Exploring Operation: 9+23=32, Resulting Numbers: [4, 32]
Generated Node #0,0,2: 56:[4, 32] Operation: 9+23=32
Moving to Node #0,1
Current State: 56:[9, 21, 61], Operations: ['84-23=61']
Exploring Operation: 9+21=30, Resulting Numbers: [61, 30]
Generated Node #0,1,0: 56:[61, 30] Operation: 9+21=30
Exploring Operation: 61-9=52, Resulting Numbers: [21, 52]
Generated Node #0,1,1: 56:[21, 52] Operation: 61-9=52
Exploring Operation: 21-9=12, Resulting Numbers: [61, 12]
Generated Node #0,1,2: 56:[61, 12] Operation: 21-9=12
Moving to Node #0,2
Current State: 56:[9, 23, 63], Operations: ['84-21=63']
Exploring Operation: 23-9=14, Resulting Numbers: [63, 14]
Generated Node #0,2,0: 56:[63, 14] Operation: 23-9=14
Exploring Operation: 63-9=54, Resulting Numbers: [23, 54]
Generated Node #0,2,1: 56:[23, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [23, 7]
Generated Node #0,2,2: 56:[23, 7] Operation: 63/9=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[23, 7], Operations: ['84-21=63', '63/9=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,56 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[63, 14], Operations: ['84-21=63', '23-9=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[23, 54], Operations: ['84-21=63', '63-9=54']
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,56 unequal: No Solution
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,56 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: 56:[4, 14], Operations: ['84/21=4', '23-9=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[9, 21, 84, 23], Operations: []
Exploring Operation: 84/21=4, Resulting Numbers: [9, 23, 4]
Generated Node #0,0: 56:[9, 23, 4] Operation: 84/21=4
Moving to Node #0,0
Current State: 56:[9, 23, 4], Operations: ['84/21=4']
Exploring Operation: 23-9=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 56:[4, 14] Operation: 23-9=14
Moving to Node #0,0,1
Current State: 56:[4, 14], Operations: ['84/21=4', '23-9=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
17,
6,
1,
24
] | 43 | [
"24-17=7",
"6*7=42",
"1+42=43"
] | Current State: 43:[17, 6, 1, 24], Operations: []
Exploring Operation: 24-17=7, Resulting Numbers: [6, 1, 7]
Generated Node #2: [6, 1, 7] from Operation: 24-17=7
Current State: 43:[6, 1, 7], Operations: ['24-17=7']
Exploring Operation: 6*7=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 6*7=42
Current State: 43:[1, 42], Operations: ['24-17=7', '6*7=42']
Exploring Operation: 1+42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[17, 6, 1, 24], Operations: []
Exploring Operation: 17+24=41, Resulting Numbers: [6, 1, 41]
Generated Node #0,0: 43:[6, 1, 41] Operation: 17+24=41
Exploring Operation: 17+6=23, Resulting Numbers: [1, 24, 23]
Generated Node #0,1: 43:[1, 24, 23] Operation: 17+6=23
Exploring Operation: 17+1=18, Resulting Numbers: [6, 24, 18]
Generated Node #0,2: 43:[6, 24, 18] Operation: 17+1=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[6, 1, 41], Operations: ['17+24=41']
Exploring Operation: 6*1=6, Resulting Numbers: [41, 6]
Generated Node #0,0,0: 43:[41, 6] Operation: 6*1=6
Exploring Operation: 1+41=42, Resulting Numbers: [6, 42]
Generated Node #0,0,1: 43:[6, 42] Operation: 1+41=42
Exploring Operation: 6+1=7, Resulting Numbers: [41, 7]
Generated Node #0,0,2: 43:[41, 7] Operation: 6+1=7
Moving to Node #0,0,1
Current State: 43:[6, 42], Operations: ['17+24=41', '1+41=42']
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[41, 7], Operations: ['17+24=41', '6+1=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[41, 6], Operations: ['17+24=41', '6*1=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[1, 24, 23], Operations: ['17+6=23']
Exploring Operation: 1+24=25, Resulting Numbers: [23, 25]
Generated Node #0,1,0: 43:[23, 25] Operation: 1+24=25
Exploring Operation: 1*24=24, Resulting Numbers: [23, 24]
Generated Node #0,1,1: 43:[23, 24] Operation: 1*24=24
Exploring Operation: 1+23=24, Resulting Numbers: [24, 24]
Generated Node #0,1,2: 43:[24, 24] Operation: 1+23=24
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[23, 25], Operations: ['17+6=23', '1+24=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,43 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,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:[24, 24], Operations: ['17+6=23', '1+23=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,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:[23, 24], Operations: ['17+6=23', '1*24=24']
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,43 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,43 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,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:[6, 24, 18], Operations: ['17+1=18']
Exploring Operation: 24+18=42, Resulting Numbers: [6, 42]
Generated Node #0,2,0: 43:[6, 42] Operation: 24+18=42
Exploring Operation: 6+18=24, Resulting Numbers: [24, 24]
Generated Node #0,2,1: 43:[24, 24] Operation: 6+18=24
Exploring Operation: 6+24=30, Resulting Numbers: [18, 30]
Generated Node #0,2,2: 43:[18, 30] Operation: 6+24=30
Moving to Node #0,2,0
Current State: 43:[6, 42], Operations: ['17+1=18', '24+18=42']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,43 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[24, 24], Operations: ['17+1=18', '6+18=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[18, 30], Operations: ['17+1=18', '6+24=30']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,43 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,43 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 |
[
13,
37,
59,
89
] | 91 | [
"37+59=96",
"96-89=7",
"13*7=91"
] | Current State: 91:[13, 37, 59, 89], Operations: []
Exploring Operation: 37+59=96, Resulting Numbers: [13, 89, 96]
Generated Node #2: [13, 89, 96] from Operation: 37+59=96
Current State: 91:[13, 89, 96], Operations: ['37+59=96']
Exploring Operation: 96-89=7, Resulting Numbers: [13, 7]
Generated Node #3: [13, 7] from Operation: 96-89=7
Current State: 91:[13, 7], Operations: ['37+59=96', '96-89=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[13, 37, 59, 89], Operations: []
Exploring Operation: 37+59=96, Resulting Numbers: [13, 89, 96]
Generated Node #0,0: 91:[13, 89, 96] Operation: 37+59=96
Exploring Operation: 89-59=30, Resulting Numbers: [13, 37, 30]
Generated Node #0,1: 91:[13, 37, 30] Operation: 89-59=30
Exploring Operation: 59-37=22, Resulting Numbers: [13, 89, 22]
Generated Node #0,2: 91:[13, 89, 22] Operation: 59-37=22
Exploring Operation: 37-13=24, Resulting Numbers: [59, 89, 24]
Generated Node #0,3: 91:[59, 89, 24] Operation: 37-13=24
Exploring Operation: 13+59=72, Resulting Numbers: [37, 89, 72]
Generated Node #0,4: 91:[37, 89, 72] Operation: 13+59=72
Moving to Node #0,0
Current State: 91:[13, 89, 96], Operations: ['37+59=96']
Exploring Operation: 13+89=102, Resulting Numbers: [96, 102]
Generated Node #0,0,0: 91:[96, 102] Operation: 13+89=102
Exploring Operation: 96-89=7, Resulting Numbers: [13, 7]
Generated Node #0,0,1: 91:[13, 7] Operation: 96-89=7
Exploring Operation: 13+96=109, Resulting Numbers: [89, 109]
Generated Node #0,0,2: 91:[89, 109] Operation: 13+96=109
Exploring Operation: 89-13=76, Resulting Numbers: [96, 76]
Generated Node #0,0,3: 91:[96, 76] Operation: 89-13=76
Exploring Operation: 96-13=83, Resulting Numbers: [89, 83]
Generated Node #0,0,4: 91:[89, 83] Operation: 96-13=83
Moving to Node #0,2
Current State: 91:[13, 89, 22], Operations: ['59-37=22']
Exploring Operation: 22-13=9, Resulting Numbers: [89, 9]
Generated Node #0,2,0: 91:[89, 9] Operation: 22-13=9
Exploring Operation: 89+22=111, Resulting Numbers: [13, 111]
Generated Node #0,2,1: 91:[13, 111] Operation: 89+22=111
Exploring Operation: 89-13=76, Resulting Numbers: [22, 76]
Generated Node #0,2,2: 91:[22, 76] Operation: 89-13=76
Exploring Operation: 13+22=35, Resulting Numbers: [89, 35]
Generated Node #0,2,3: 91:[89, 35] Operation: 13+22=35
Exploring Operation: 13+89=102, Resulting Numbers: [22, 102]
Generated Node #0,2,4: 91:[22, 102] Operation: 13+89=102
Moving to Node #0,1
Current State: 91:[13, 37, 30], Operations: ['89-59=30']
Exploring Operation: 37-13=24, Resulting Numbers: [30, 24]
Generated Node #0,1,0: 91:[30, 24] Operation: 37-13=24
Exploring Operation: 37+30=67, Resulting Numbers: [13, 67]
Generated Node #0,1,1: 91:[13, 67] Operation: 37+30=67
Exploring Operation: 13+37=50, Resulting Numbers: [30, 50]
Generated Node #0,1,2: 91:[30, 50] Operation: 13+37=50
Exploring Operation: 37-30=7, Resulting Numbers: [13, 7]
Generated Node #0,1,3: 91:[13, 7] Operation: 37-30=7
Exploring Operation: 30-13=17, Resulting Numbers: [37, 17]
Generated Node #0,1,4: 91:[37, 17] Operation: 30-13=17
Moving to Node #0,3
Current State: 91:[59, 89, 24], Operations: ['37-13=24']
Exploring Operation: 89+24=113, Resulting Numbers: [59, 113]
Generated Node #0,3,0: 91:[59, 113] Operation: 89+24=113
Exploring Operation: 59+24=83, Resulting Numbers: [89, 83]
Generated Node #0,3,1: 91:[89, 83] Operation: 59+24=83
Exploring Operation: 59-24=35, Resulting Numbers: [89, 35]
Generated Node #0,3,2: 91:[89, 35] Operation: 59-24=35
Exploring Operation: 89-59=30, Resulting Numbers: [24, 30]
Generated Node #0,3,3: 91:[24, 30] Operation: 89-59=30
Exploring Operation: 89-24=65, Resulting Numbers: [59, 65]
Generated Node #0,3,4: 91:[59, 65] Operation: 89-24=65
Moving to Node #0,4
Current State: 91:[37, 89, 72], Operations: ['13+59=72']
Exploring Operation: 72-37=35, Resulting Numbers: [89, 35]
Generated Node #0,4,0: 91:[89, 35] Operation: 72-37=35
Exploring Operation: 37+89=126, Resulting Numbers: [72, 126]
Generated Node #0,4,1: 91:[72, 126] Operation: 37+89=126
Exploring Operation: 37+72=109, Resulting Numbers: [89, 109]
Generated Node #0,4,2: 91:[89, 109] Operation: 37+72=109
Exploring Operation: 89-37=52, Resulting Numbers: [72, 52]
Generated Node #0,4,3: 91:[72, 52] Operation: 89-37=52
Exploring Operation: 89-72=17, Resulting Numbers: [37, 17]
Generated Node #0,4,4: 91:[37, 17] Operation: 89-72=17
Moving to Node #0,0,1
Current State: 91:[13, 7], Operations: ['37+59=96', '96-89=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,91 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[13, 37, 59, 89], Operations: []
Exploring Operation: 37+59=96, Resulting Numbers: [13, 89, 96]
Generated Node #0,0: 91:[13, 89, 96] Operation: 37+59=96
Moving to Node #0,0
Current State: 91:[13, 89, 96], Operations: ['37+59=96']
Exploring Operation: 96-89=7, Resulting Numbers: [13, 7]
Generated Node #0,0,1: 91:[13, 7] Operation: 96-89=7
Moving to Node #0,0,1
Current State: 91:[13, 7], Operations: ['37+59=96', '96-89=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.967882 | hs_5 | sum_heuristic |
[
19,
27,
21,
24
] | 33 | [
"27*24=648",
"648-21=627",
"627/19=33"
] | Current State: 33:[19, 27, 21, 24], Operations: []
Exploring Operation: 27*24=648, Resulting Numbers: [19, 21, 648]
Generated Node #2: [19, 21, 648] from Operation: 27*24=648
Current State: 33:[19, 21, 648], Operations: ['27*24=648']
Exploring Operation: 648-21=627, Resulting Numbers: [19, 627]
Generated Node #3: [19, 627] from Operation: 648-21=627
Current State: 33:[19, 627], Operations: ['27*24=648', '648-21=627']
Exploring Operation: 627/19=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[19, 27, 21, 24], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [27, 21, 5]
Generated Node #0,0: 33:[27, 21, 5] Operation: 24-19=5
Exploring Operation: 24-21=3, Resulting Numbers: [19, 27, 3]
Generated Node #0,1: 33:[19, 27, 3] Operation: 24-21=3
Exploring Operation: 21-19=2, Resulting Numbers: [27, 24, 2]
Generated Node #0,2: 33:[27, 24, 2] Operation: 21-19=2
Moving to Node #0,1
Current State: 33:[19, 27, 3], Operations: ['24-21=3']
Exploring Operation: 27-19=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 33:[3, 8] Operation: 27-19=8
Exploring Operation: 19-3=16, Resulting Numbers: [27, 16]
Generated Node #0,1,1: 33:[27, 16] Operation: 19-3=16
Exploring Operation: 27/3=9, Resulting Numbers: [19, 9]
Generated Node #0,1,2: 33:[19, 9] Operation: 27/3=9
Moving to Node #0,2
Current State: 33:[27, 24, 2], Operations: ['21-19=2']
Exploring Operation: 27-24=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 33:[2, 3] Operation: 27-24=3
Exploring Operation: 24/2=12, Resulting Numbers: [27, 12]
Generated Node #0,2,1: 33:[27, 12] Operation: 24/2=12
Exploring Operation: 27+2=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 33:[24, 29] Operation: 27+2=29
Moving to Node #0,0
Current State: 33:[27, 21, 5], Operations: ['24-19=5']
Exploring Operation: 21-5=16, Resulting Numbers: [27, 16]
Generated Node #0,0,0: 33:[27, 16] Operation: 21-5=16
Exploring Operation: 27-21=6, Resulting Numbers: [5, 6]
Generated Node #0,0,1: 33:[5, 6] Operation: 27-21=6
Exploring Operation: 27+5=32, Resulting Numbers: [21, 32]
Generated Node #0,0,2: 33:[21, 32] Operation: 27+5=32
Moving to Node #0,2,0
Current State: 33:[2, 3], Operations: ['21-19=2', '27-24=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[3, 8], Operations: ['24-21=3', '27-19=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[5, 6], Operations: ['24-19=5', '27-21=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[27, 12], Operations: ['21-19=2', '24/2=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,33 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[19, 9], Operations: ['24-21=3', '27/3=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,33 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[27, 16], Operations: ['24-21=3', '19-3=16']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,33 unequal: No Solution
Moving to Node #0,0,2
Current State: 33:[21, 32], Operations: ['24-19=5', '27+5=32']
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,33 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[27, 16], Operations: ['24-19=5', '21-5=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,33 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[24, 29], Operations: ['21-19=2', '27+2=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,33 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,33 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
21,
78,
5,
32
] | 20 | [
"78-21=57",
"5+32=37",
"57-37=20"
] | Current State: 20:[21, 78, 5, 32], Operations: []
Exploring Operation: 78-21=57, Resulting Numbers: [5, 32, 57]
Generated Node #2: [5, 32, 57] from Operation: 78-21=57
Current State: 20:[5, 32, 57], Operations: ['78-21=57']
Exploring Operation: 5+32=37, Resulting Numbers: [57, 37]
Generated Node #3: [57, 37] from Operation: 5+32=37
Current State: 20:[57, 37], Operations: ['78-21=57', '5+32=37']
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[21, 78, 5, 32], Operations: []
Exploring Operation: 78-21=57, Resulting Numbers: [5, 32, 57]
Generated Node #0,0: 20:[5, 32, 57] Operation: 78-21=57
Exploring Operation: 78-5=73, Resulting Numbers: [21, 32, 73]
Generated Node #0,1: 20:[21, 32, 73] Operation: 78-5=73
Exploring Operation: 78-32=46, Resulting Numbers: [21, 5, 46]
Generated Node #0,2: 20:[21, 5, 46] Operation: 78-32=46
Exploring Operation: 32-21=11, Resulting Numbers: [78, 5, 11]
Generated Node #0,3: 20:[78, 5, 11] Operation: 32-21=11
Moving to Node #0,2
Current State: 20:[21, 5, 46], Operations: ['78-32=46']
Exploring Operation: 21-5=16, Resulting Numbers: [46, 16]
Generated Node #0,2,0: 20:[46, 16] Operation: 21-5=16
Exploring Operation: 21+5=26, Resulting Numbers: [46, 26]
Generated Node #0,2,1: 20:[46, 26] Operation: 21+5=26
Exploring Operation: 46-5=41, Resulting Numbers: [21, 41]
Generated Node #0,2,2: 20:[21, 41] Operation: 46-5=41
Exploring Operation: 46-21=25, Resulting Numbers: [5, 25]
Generated Node #0,2,3: 20:[5, 25] Operation: 46-21=25
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 20:[5, 25], Operations: ['78-32=46', '46-21=25']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 5*25=125, Resulting Numbers: [125]
125,20 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[21, 78, 5, 32], Operations: []
Exploring Operation: 78-32=46, Resulting Numbers: [21, 5, 46]
Generated Node #0,2: 20:[21, 5, 46] Operation: 78-32=46
Moving to Node #0,2
Current State: 20:[21, 5, 46], Operations: ['78-32=46']
Exploring Operation: 46-21=25, Resulting Numbers: [5, 25]
Generated Node #0,2,3: 20:[5, 25] Operation: 46-21=25
Moving to Node #0,2,3
Current State: 20:[5, 25], Operations: ['78-32=46', '46-21=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
63,
14,
49,
18
] | 46 | [
"63+14=77",
"49-18=31",
"77-31=46"
] | Current State: 46:[63, 14, 49, 18], Operations: []
Exploring Operation: 63+14=77, Resulting Numbers: [49, 18, 77]
Generated Node #2: [49, 18, 77] from Operation: 63+14=77
Current State: 46:[49, 18, 77], Operations: ['63+14=77']
Exploring Operation: 49-18=31, Resulting Numbers: [77, 31]
Generated Node #3: [77, 31] from Operation: 49-18=31
Current State: 46:[77, 31], Operations: ['63+14=77', '49-18=31']
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[63, 14, 49, 18], Operations: []
Exploring Operation: 63-14=49, Resulting Numbers: [49, 18, 49]
Generated Node #0,0: 46:[49, 18, 49] Operation: 63-14=49
Exploring Operation: 63-18=45, Resulting Numbers: [14, 49, 45]
Generated Node #0,1: 46:[14, 49, 45] Operation: 63-18=45
Moving to Node #0,0
Current State: 46:[49, 18, 49], Operations: ['63-14=49']
Exploring Operation: 49/49=1, Resulting Numbers: [18, 1]
Generated Node #0,0,0: 46:[18, 1] Operation: 49/49=1
Exploring Operation: 49-49=0, Resulting Numbers: [18, 0]
Generated Node #0,0,1: 46:[18, 0] Operation: 49-49=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[18, 1], Operations: ['63-14=49', '49/49=1']
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[18, 0], Operations: ['63-14=49', '49-49=0']
Exploring Operation: 18*0=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 18+0=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[14, 49, 45], Operations: ['63-18=45']
Exploring Operation: 49-45=4, Resulting Numbers: [14, 4]
Generated Node #0,1,0: 46:[14, 4] Operation: 49-45=4
Exploring Operation: 45-14=31, Resulting Numbers: [49, 31]
Generated Node #0,1,1: 46:[49, 31] Operation: 45-14=31
Moving to Node #0,1,0
Current State: 46:[14, 4], Operations: ['63-18=45', '49-45=4']
Exploring Operation: 14+4=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[49, 31], Operations: ['63-18=45', '45-14=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,46 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
1,
21,
69
] | 38 | [
"69-1=68",
"68/4=17",
"21+17=38"
] | Current State: 38:[4, 1, 21, 69], Operations: []
Exploring Operation: 69-1=68, Resulting Numbers: [4, 21, 68]
Generated Node #2: [4, 21, 68] from Operation: 69-1=68
Current State: 38:[4, 21, 68], Operations: ['69-1=68']
Exploring Operation: 68/4=17, Resulting Numbers: [21, 17]
Generated Node #3: [21, 17] from Operation: 68/4=17
Current State: 38:[21, 17], Operations: ['69-1=68', '68/4=17']
Exploring Operation: 21+17=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[4, 1, 21, 69], Operations: []
Exploring Operation: 69-4=65, Resulting Numbers: [1, 21, 65]
Generated Node #0,0: 38:[1, 21, 65] Operation: 69-4=65
Exploring Operation: 4-1=3, Resulting Numbers: [21, 69, 3]
Generated Node #0,1: 38:[21, 69, 3] Operation: 4-1=3
Exploring Operation: 69-21=48, Resulting Numbers: [4, 1, 48]
Generated Node #0,2: 38:[4, 1, 48] Operation: 69-21=48
Exploring Operation: 21-1=20, Resulting Numbers: [4, 69, 20]
Generated Node #0,3: 38:[4, 69, 20] Operation: 21-1=20
Exploring Operation: 21-4=17, Resulting Numbers: [1, 69, 17]
Generated Node #0,4: 38:[1, 69, 17] Operation: 21-4=17
Moving to Node #0,2
Current State: 38:[4, 1, 48], Operations: ['69-21=48']
Exploring Operation: 4*1=4, Resulting Numbers: [48, 4]
Generated Node #0,2,0: 38:[48, 4] Operation: 4*1=4
Exploring Operation: 4-1=3, Resulting Numbers: [48, 3]
Generated Node #0,2,1: 38:[48, 3] Operation: 4-1=3
Exploring Operation: 48-1=47, Resulting Numbers: [4, 47]
Generated Node #0,2,2: 38:[4, 47] Operation: 48-1=47
Exploring Operation: 48-4=44, Resulting Numbers: [1, 44]
Generated Node #0,2,3: 38:[1, 44] Operation: 48-4=44
Exploring Operation: 48/4=12, Resulting Numbers: [1, 12]
Generated Node #0,2,4: 38:[1, 12] Operation: 48/4=12
Moving to Node #0,0
Current State: 38:[1, 21, 65], Operations: ['69-4=65']
Exploring Operation: 65-21=44, Resulting Numbers: [1, 44]
Generated Node #0,0,0: 38:[1, 44] Operation: 65-21=44
Exploring Operation: 65-1=64, Resulting Numbers: [21, 64]
Generated Node #0,0,1: 38:[21, 64] Operation: 65-1=64
Exploring Operation: 21/1=21, Resulting Numbers: [65, 21]
Generated Node #0,0,2: 38:[65, 21] Operation: 21/1=21
Exploring Operation: 1*21=21, Resulting Numbers: [65, 21]
Generated Node #0,0,3: 38:[65, 21] Operation: 1*21=21
Exploring Operation: 21-1=20, Resulting Numbers: [65, 20]
Generated Node #0,0,4: 38:[65, 20] Operation: 21-1=20
Moving to Node #0,1
Current State: 38:[21, 69, 3], Operations: ['4-1=3']
Exploring Operation: 69-3=66, Resulting Numbers: [21, 66]
Generated Node #0,1,0: 38:[21, 66] Operation: 69-3=66
Exploring Operation: 21-3=18, Resulting Numbers: [69, 18]
Generated Node #0,1,1: 38:[69, 18] Operation: 21-3=18
Exploring Operation: 69-21=48, Resulting Numbers: [3, 48]
Generated Node #0,1,2: 38:[3, 48] Operation: 69-21=48
Exploring Operation: 21+3=24, Resulting Numbers: [69, 24]
Generated Node #0,1,3: 38:[69, 24] Operation: 21+3=24
Exploring Operation: 69/3=23, Resulting Numbers: [21, 23]
Generated Node #0,1,4: 38:[21, 23] Operation: 69/3=23
Moving to Node #0,3
Current State: 38:[4, 69, 20], Operations: ['21-1=20']
Exploring Operation: 20/4=5, Resulting Numbers: [69, 5]
Generated Node #0,3,0: 38:[69, 5] Operation: 20/4=5
Exploring Operation: 20-4=16, Resulting Numbers: [69, 16]
Generated Node #0,3,1: 38:[69, 16] Operation: 20-4=16
Exploring Operation: 69-4=65, Resulting Numbers: [20, 65]
Generated Node #0,3,2: 38:[20, 65] Operation: 69-4=65
Exploring Operation: 69-20=49, Resulting Numbers: [4, 49]
Generated Node #0,3,3: 38:[4, 49] Operation: 69-20=49
Exploring Operation: 4+69=73, Resulting Numbers: [20, 73]
Generated Node #0,3,4: 38:[20, 73] Operation: 4+69=73
Moving to Node #0,4
Current State: 38:[1, 69, 17], Operations: ['21-4=17']
Exploring Operation: 1*69=69, Resulting Numbers: [17, 69]
Generated Node #0,4,0: 38:[17, 69] Operation: 1*69=69
Exploring Operation: 69-1=68, Resulting Numbers: [17, 68]
Generated Node #0,4,1: 38:[17, 68] Operation: 69-1=68
Exploring Operation: 1+17=18, Resulting Numbers: [69, 18]
Generated Node #0,4,2: 38:[69, 18] Operation: 1+17=18
Exploring Operation: 69-17=52, Resulting Numbers: [1, 52]
Generated Node #0,4,3: 38:[1, 52] Operation: 69-17=52
Exploring Operation: 69/1=69, Resulting Numbers: [17, 69]
Generated Node #0,4,4: 38:[17, 69] Operation: 69/1=69
Moving to Node #0,1,4
Current State: 38:[21, 23], Operations: ['4-1=3', '69/3=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,38 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[1, 44], Operations: ['69-4=65', '65-21=44']
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[1, 44], Operations: ['69-21=48', '48-4=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Moving to Node #0,2,4
Current State: 38:[1, 12], Operations: ['69-21=48', '48/4=12']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,38 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[48, 3], Operations: ['69-21=48', '4-1=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[3, 48], Operations: ['4-1=3', '69-21=48']
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[4, 47], Operations: ['69-21=48', '48-1=47']
Exploring Operation: 4*47=188, Resulting Numbers: [188]
188,38 unequal: No Solution
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[48, 4], Operations: ['69-21=48', '4*1=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,38 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[4, 49], Operations: ['21-1=20', '69-20=49']
Exploring Operation: 4*49=196, Resulting Numbers: [196]
196,38 unequal: No Solution
Exploring Operation: 4+49=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Moving to Node #0,4,3
Current State: 38:[1, 52], Operations: ['21-4=17', '69-17=52']
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[21, 64], Operations: ['69-4=65', '65-1=64']
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,38 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[20, 65], Operations: ['21-1=20', '69-4=65']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,38 unequal: No Solution
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Moving to Node #0,0,4
Current State: 38:[65, 20], Operations: ['69-4=65', '21-1=20']
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[65, 21], Operations: ['69-4=65', '1*21=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,38 unequal: No Solution
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[65, 21], Operations: ['69-4=65', '21/1=21']
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[21, 66], Operations: ['4-1=3', '69-3=66']
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,38 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[69, 18], Operations: ['4-1=3', '21-3=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,38 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Moving to Node #0,4,1
Current State: 38:[17, 68], Operations: ['21-4=17', '69-1=68']
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,38 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Moving to Node #0,4,2
Current State: 38:[69, 18], Operations: ['21-4=17', '1+17=18']
Exploring Operation: 69+18=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 69*18=1242, Resulting Numbers: [1242]
1242,38 unequal: No Solution
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,38 unequal: No Solution
Moving to Node #0,4,0
Current State: 38:[17, 69], Operations: ['21-4=17', '1*69=69']
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,38 unequal: No Solution
Moving to Node #0,4,4
Current State: 38:[17, 69], Operations: ['21-4=17', '69/1=69']
Exploring Operation: 17*69=1173, Resulting Numbers: [1173]
1173,38 unequal: No Solution
Exploring Operation: 69-17=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Exploring Operation: 17+69=86, Resulting Numbers: [86]
86,38 unequal: No Solution
Moving to Node #0,3,0
Current State: 38:[69, 5], Operations: ['21-1=20', '20/4=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[69, 16], Operations: ['21-1=20', '20-4=16']
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,38 unequal: No Solution
Exploring Operation: 69*16=1104, Resulting Numbers: [1104]
1104,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[69, 24], Operations: ['4-1=3', '21+3=24']
Exploring Operation: 69*24=1656, Resulting Numbers: [1656]
1656,38 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,38 unequal: No Solution
Exploring Operation: 69+24=93, Resulting Numbers: [93]
93,38 unequal: No Solution
Moving to Node #0,3,4
Current State: 38:[20, 73], Operations: ['21-1=20', '4+69=73']
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,38 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,38 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,38 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
6,
61,
10
] | 71 | [
"40/10=4",
"6+61=67",
"4+67=71"
] | Current State: 71:[40, 6, 61, 10], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [6, 61, 4]
Generated Node #2: [6, 61, 4] from Operation: 40/10=4
Current State: 71:[6, 61, 4], Operations: ['40/10=4']
Exploring Operation: 6+61=67, Resulting Numbers: [4, 67]
Generated Node #3: [4, 67] from Operation: 6+61=67
Current State: 71:[4, 67], Operations: ['40/10=4', '6+61=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[40, 6, 61, 10], Operations: []
Exploring Operation: 40+10=50, Resulting Numbers: [6, 61, 50]
Generated Node #0,0: 71:[6, 61, 50] Operation: 40+10=50
Exploring Operation: 40+6=46, Resulting Numbers: [61, 10, 46]
Generated Node #0,1: 71:[61, 10, 46] Operation: 40+6=46
Exploring Operation: 6*10=60, Resulting Numbers: [40, 61, 60]
Generated Node #0,2: 71:[40, 61, 60] Operation: 6*10=60
Exploring Operation: 6+10=16, Resulting Numbers: [40, 61, 16]
Generated Node #0,3: 71:[40, 61, 16] Operation: 6+10=16
Exploring Operation: 6+61=67, Resulting Numbers: [40, 10, 67]
Generated Node #0,4: 71:[40, 10, 67] Operation: 6+61=67
Moving to Node #0,2
Current State: 71:[40, 61, 60], Operations: ['6*10=60']
Exploring Operation: 61+60=121, Resulting Numbers: [40, 121]
Generated Node #0,2,0: 71:[40, 121] Operation: 61+60=121
Exploring Operation: 40+61=101, Resulting Numbers: [60, 101]
Generated Node #0,2,1: 71:[60, 101] Operation: 40+61=101
Exploring Operation: 61-40=21, Resulting Numbers: [60, 21]
Generated Node #0,2,2: 71:[60, 21] Operation: 61-40=21
Exploring Operation: 60-40=20, Resulting Numbers: [61, 20]
Generated Node #0,2,3: 71:[61, 20] Operation: 60-40=20
Exploring Operation: 40+60=100, Resulting Numbers: [61, 100]
Generated Node #0,2,4: 71:[61, 100] Operation: 40+60=100
Moving to Node #0,1
Current State: 71:[61, 10, 46], Operations: ['40+6=46']
Exploring Operation: 61+46=107, Resulting Numbers: [10, 107]
Generated Node #0,1,0: 71:[10, 107] Operation: 61+46=107
Exploring Operation: 46-10=36, Resulting Numbers: [61, 36]
Generated Node #0,1,1: 71:[61, 36] Operation: 46-10=36
Exploring Operation: 61-10=51, Resulting Numbers: [46, 51]
Generated Node #0,1,2: 71:[46, 51] Operation: 61-10=51
Exploring Operation: 61+10=71, Resulting Numbers: [46, 71]
Generated Node #0,1,3: 71:[46, 71] Operation: 61+10=71
Exploring Operation: 10+46=56, Resulting Numbers: [61, 56]
Generated Node #0,1,4: 71:[61, 56] Operation: 10+46=56
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 71:[46, 71], Operations: ['40+6=46', '61+10=71']
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,71 unequal: No Solution
Exploring Operation: 46*71=3266, Resulting Numbers: [3266]
3266,71 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,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,4
Current State: 71:[61, 56], Operations: ['40+6=46', '10+46=56']
Exploring Operation: 61*56=3416, Resulting Numbers: [3416]
3416,71 unequal: No Solution
Exploring Operation: 61+56=117, Resulting Numbers: [117]
117,71 unequal: No Solution
Exploring Operation: 61-56=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 71:[61, 36], Operations: ['40+6=46', '46-10=36']
Exploring Operation: 61+36=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 61*36=2196, Resulting Numbers: [2196]
2196,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[46, 51], Operations: ['40+6=46', '61-10=51']
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,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:[10, 107], Operations: ['40+6=46', '61+46=107']
Exploring Operation: 107-10=97, Resulting Numbers: [97]
97,71 unequal: No Solution
Exploring Operation: 10*107=1070, Resulting Numbers: [1070]
1070,71 unequal: No Solution
Exploring Operation: 10+107=117, Resulting Numbers: [117]
117,71 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: 71:[40, 10, 67], Operations: ['6+61=67']
Exploring Operation: 67-10=57, Resulting Numbers: [40, 57]
Generated Node #0,4,0: 71:[40, 57] Operation: 67-10=57
Exploring Operation: 10+67=77, Resulting Numbers: [40, 77]
Generated Node #0,4,1: 71:[40, 77] Operation: 10+67=77
Exploring Operation: 40+10=50, Resulting Numbers: [67, 50]
Generated Node #0,4,2: 71:[67, 50] Operation: 40+10=50
Exploring Operation: 40-10=30, Resulting Numbers: [67, 30]
Generated Node #0,4,3: 71:[67, 30] Operation: 40-10=30
Exploring Operation: 40/10=4, Resulting Numbers: [67, 4]
Generated Node #0,4,4: 71:[67, 4] Operation: 40/10=4
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[67, 50], Operations: ['6+61=67', '40+10=50']
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,71 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[40, 77], Operations: ['6+61=67', '10+67=77']
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,71 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[40, 57], Operations: ['6+61=67', '67-10=57']
Exploring Operation: 40*57=2280, Resulting Numbers: [2280]
2280,71 unequal: No Solution
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 40+57=97, Resulting Numbers: [97]
97,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[67, 30], Operations: ['6+61=67', '40-10=30']
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,71 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,71 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[67, 4], Operations: ['6+61=67', '40/10=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,71 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,71 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[40, 6, 61, 10], Operations: []
Exploring Operation: 6+61=67, Resulting Numbers: [40, 10, 67]
Generated Node #0,4: 71:[40, 10, 67] Operation: 6+61=67
Moving to Node #0,4
Current State: 71:[40, 10, 67], Operations: ['6+61=67']
Exploring Operation: 40/10=4, Resulting Numbers: [67, 4]
Generated Node #0,4,4: 71:[67, 4] Operation: 40/10=4
Moving to Node #0,4,4
Current State: 71:[67, 4], Operations: ['6+61=67', '40/10=4']
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_5 | sum_heuristic |
[
34,
35,
5,
7
] | 42 | [
"35-34=1",
"5+1=6",
"7*6=42"
] | Current State: 42:[34, 35, 5, 7], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [5, 7, 1]
Generated Node #2: [5, 7, 1] from Operation: 35-34=1
Current State: 42:[5, 7, 1], Operations: ['35-34=1']
Exploring Operation: 5+1=6, Resulting Numbers: [7, 6]
Generated Node #3: [7, 6] from Operation: 5+1=6
Current State: 42:[7, 6], Operations: ['35-34=1', '5+1=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[34, 35, 5, 7], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [5, 7, 1]
Generated Node #0,0: 42:[5, 7, 1] Operation: 35-34=1
Moving to Node #0,0
Current State: 42:[5, 7, 1], Operations: ['35-34=1']
Exploring Operation: 5+1=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 42:[7, 6] Operation: 5+1=6
Moving to Node #0,0,0
Current State: 42:[7, 6], Operations: ['35-34=1', '5+1=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[34, 35, 5, 7], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [5, 7, 1]
Generated Node #0,0: 42:[5, 7, 1] Operation: 35-34=1
Moving to Node #0,0
Current State: 42:[5, 7, 1], Operations: ['35-34=1']
Exploring Operation: 5+1=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 42:[7, 6] Operation: 5+1=6
Moving to Node #0,0,0
Current State: 42:[7, 6], Operations: ['35-34=1', '5+1=6']
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
41,
19,
6,
59
] | 16 | [
"59-41=18",
"18/6=3",
"19-3=16"
] | Current State: 16:[41, 19, 6, 59], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [19, 6, 18]
Generated Node #2: [19, 6, 18] from Operation: 59-41=18
Current State: 16:[19, 6, 18], Operations: ['59-41=18']
Exploring Operation: 18/6=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 18/6=3
Current State: 16:[19, 3], Operations: ['59-41=18', '18/6=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[41, 19, 6, 59], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [19, 6, 18]
Generated Node #0,0: 16:[19, 6, 18] Operation: 59-41=18
Exploring Operation: 41-19=22, Resulting Numbers: [6, 59, 22]
Generated Node #0,1: 16:[6, 59, 22] Operation: 41-19=22
Exploring Operation: 59-19=40, Resulting Numbers: [41, 6, 40]
Generated Node #0,2: 16:[41, 6, 40] Operation: 59-19=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[19, 6, 18], Operations: ['59-41=18']
Exploring Operation: 19-6=13, Resulting Numbers: [18, 13]
Generated Node #0,0,0: 16:[18, 13] Operation: 19-6=13
Exploring Operation: 18/6=3, Resulting Numbers: [19, 3]
Generated Node #0,0,1: 16:[19, 3] Operation: 18/6=3
Exploring Operation: 19-18=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 16:[6, 1] Operation: 19-18=1
Moving to Node #0,0,2
Current State: 16:[6, 1], Operations: ['59-41=18', '19-18=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[19, 3], Operations: ['59-41=18', '18/6=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[41, 19, 6, 59], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [19, 6, 18]
Generated Node #0,0: 16:[19, 6, 18] Operation: 59-41=18
Moving to Node #0,0
Current State: 16:[19, 6, 18], Operations: ['59-41=18']
Exploring Operation: 18/6=3, Resulting Numbers: [19, 3]
Generated Node #0,0,1: 16:[19, 3] Operation: 18/6=3
Moving to Node #0,0,1
Current State: 16:[19, 3], Operations: ['59-41=18', '18/6=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
58,
86,
39,
6
] | 73 | [
"86-58=28",
"39+6=45",
"28+45=73"
] | Current State: 73:[58, 86, 39, 6], Operations: []
Exploring Operation: 86-58=28, Resulting Numbers: [39, 6, 28]
Generated Node #2: [39, 6, 28] from Operation: 86-58=28
Current State: 73:[39, 6, 28], Operations: ['86-58=28']
Exploring Operation: 39+6=45, Resulting Numbers: [28, 45]
Generated Node #3: [28, 45] from Operation: 39+6=45
Current State: 73:[28, 45], Operations: ['86-58=28', '39+6=45']
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[58, 86, 39, 6], Operations: []
Exploring Operation: 58+6=64, Resulting Numbers: [86, 39, 64]
Generated Node #0,0: 73:[86, 39, 64] Operation: 58+6=64
Exploring Operation: 39+6=45, Resulting Numbers: [58, 86, 45]
Generated Node #0,1: 73:[58, 86, 45] Operation: 39+6=45
Exploring Operation: 86-6=80, Resulting Numbers: [58, 39, 80]
Generated Node #0,2: 73:[58, 39, 80] Operation: 86-6=80
Moving to Node #0,0
Current State: 73:[86, 39, 64], Operations: ['58+6=64']
Exploring Operation: 39+64=103, Resulting Numbers: [86, 103]
Generated Node #0,0,0: 73:[86, 103] Operation: 39+64=103
Exploring Operation: 86-39=47, Resulting Numbers: [64, 47]
Generated Node #0,0,1: 73:[64, 47] Operation: 86-39=47
Exploring Operation: 86+39=125, Resulting Numbers: [64, 125]
Generated Node #0,0,2: 73:[64, 125] Operation: 86+39=125
Moving to Node #0,1
Current State: 73:[58, 86, 45], Operations: ['39+6=45']
Exploring Operation: 86-45=41, Resulting Numbers: [58, 41]
Generated Node #0,1,0: 73:[58, 41] Operation: 86-45=41
Exploring Operation: 86-58=28, Resulting Numbers: [45, 28]
Generated Node #0,1,1: 73:[45, 28] Operation: 86-58=28
Exploring Operation: 58+45=103, Resulting Numbers: [86, 103]
Generated Node #0,1,2: 73:[86, 103] Operation: 58+45=103
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[86, 103], Operations: ['39+6=45', '58+45=103']
Exploring Operation: 86+103=189, Resulting Numbers: [189]
189,73 unequal: No Solution
Exploring Operation: 86*103=8858, Resulting Numbers: [8858]
8858,73 unequal: No Solution
Exploring Operation: 103-86=17, Resulting Numbers: [17]
17,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:[58, 41], Operations: ['39+6=45', '86-45=41']
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,73 unequal: No Solution
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,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:[45, 28], Operations: ['39+6=45', '86-58=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[58, 86, 39, 6], Operations: []
Exploring Operation: 39+6=45, Resulting Numbers: [58, 86, 45]
Generated Node #0,1: 73:[58, 86, 45] Operation: 39+6=45
Moving to Node #0,1
Current State: 73:[58, 86, 45], Operations: ['39+6=45']
Exploring Operation: 86-58=28, Resulting Numbers: [45, 28]
Generated Node #0,1,1: 73:[45, 28] Operation: 86-58=28
Moving to Node #0,1,1
Current State: 73:[45, 28], Operations: ['39+6=45', '86-58=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | sum_heuristic |
[
60,
77,
54,
60
] | 23 | [
"60+77=137",
"54+60=114",
"137-114=23"
] | Current State: 23:[60, 77, 54, 60], Operations: []
Exploring Operation: 60+77=137, Resulting Numbers: [54, 137]
Generated Node #2: [54, 137] from Operation: 60+77=137
Current State: 23:[54, 137], Operations: ['60+77=137']
Exploring Operation: 54+60=114, Resulting Numbers: [137, 114]
Generated Node #3: [137, 114] from Operation: 54+60=114
Current State: 23:[137, 114], Operations: ['60+77=137', '54+60=114']
Exploring Operation: 137-114=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[60, 77, 54, 60], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [77, 54, 1]
Generated Node #0,0: 23:[77, 54, 1] Operation: 60/60=1
Exploring Operation: 77-60=17, Resulting Numbers: [60, 54, 17]
Generated Node #0,1: 23:[60, 54, 17] Operation: 77-60=17
Exploring Operation: 60-54=6, Resulting Numbers: [77, 60, 6]
Generated Node #0,2: 23:[77, 60, 6] Operation: 60-54=6
Exploring Operation: 77-60=17, Resulting Numbers: [54, 60, 17]
Generated Node #0,3: 23:[54, 60, 17] Operation: 77-60=17
Exploring Operation: 77-54=23, Resulting Numbers: [60, 60, 23]
Generated Node #0,4: 23:[60, 60, 23] Operation: 77-54=23
Moving to Node #0,1
Current State: 23:[60, 54, 17], Operations: ['77-60=17']
Exploring Operation: 54+17=71, Resulting Numbers: [60, 71]
Generated Node #0,1,0: 23:[60, 71] Operation: 54+17=71
Exploring Operation: 60-17=43, Resulting Numbers: [54, 43]
Generated Node #0,1,1: 23:[54, 43] Operation: 60-17=43
Exploring Operation: 60-54=6, Resulting Numbers: [17, 6]
Generated Node #0,1,2: 23:[17, 6] Operation: 60-54=6
Exploring Operation: 54-17=37, Resulting Numbers: [60, 37]
Generated Node #0,1,3: 23:[60, 37] Operation: 54-17=37
Exploring Operation: 60+17=77, Resulting Numbers: [54, 77]
Generated Node #0,1,4: 23:[54, 77] Operation: 60+17=77
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[17, 6], Operations: ['77-60=17', '60-54=6']
Exploring Operation: 17*6=102, Resulting Numbers: [102]
102,23 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[60, 77, 54, 60], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [60, 54, 17]
Generated Node #0,1: 23:[60, 54, 17] Operation: 77-60=17
Moving to Node #0,1
Current State: 23:[60, 54, 17], Operations: ['77-60=17']
Exploring Operation: 60-54=6, Resulting Numbers: [17, 6]
Generated Node #0,1,2: 23:[17, 6] Operation: 60-54=6
Moving to Node #0,1,2
Current State: 23:[17, 6], Operations: ['77-60=17', '60-54=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
11,
2,
83,
26
] | 34 | [
"11+83=94",
"94-26=68",
"68/2=34"
] | Current State: 34:[11, 2, 83, 26], Operations: []
Exploring Operation: 11+83=94, Resulting Numbers: [2, 26, 94]
Generated Node #2: [2, 26, 94] from Operation: 11+83=94
Current State: 34:[2, 26, 94], Operations: ['11+83=94']
Exploring Operation: 94-26=68, Resulting Numbers: [2, 68]
Generated Node #3: [2, 68] from Operation: 94-26=68
Current State: 34:[2, 68], Operations: ['11+83=94', '94-26=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[11, 2, 83, 26], Operations: []
Exploring Operation: 83-26=57, Resulting Numbers: [11, 2, 57]
Generated Node #0,0: 34:[11, 2, 57] Operation: 83-26=57
Exploring Operation: 83-11=72, Resulting Numbers: [2, 26, 72]
Generated Node #0,1: 34:[2, 26, 72] Operation: 83-11=72
Exploring Operation: 26-11=15, Resulting Numbers: [2, 83, 15]
Generated Node #0,2: 34:[2, 83, 15] Operation: 26-11=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[11, 2, 57], Operations: ['83-26=57']
Exploring Operation: 57-2=55, Resulting Numbers: [11, 55]
Generated Node #0,0,0: 34:[11, 55] Operation: 57-2=55
Exploring Operation: 57-11=46, Resulting Numbers: [2, 46]
Generated Node #0,0,1: 34:[2, 46] Operation: 57-11=46
Exploring Operation: 11+2=13, Resulting Numbers: [57, 13]
Generated Node #0,0,2: 34:[57, 13] Operation: 11+2=13
Moving to Node #0,0,1
Current State: 34:[2, 46], Operations: ['83-26=57', '57-11=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[11, 55], Operations: ['83-26=57', '57-2=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,34 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[57, 13], Operations: ['83-26=57', '11+2=13']
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,34 unequal: No Solution
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,34 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[2, 26, 72], Operations: ['83-11=72']
Exploring Operation: 72/2=36, Resulting Numbers: [26, 36]
Generated Node #0,1,0: 34:[26, 36] Operation: 72/2=36
Exploring Operation: 26/2=13, Resulting Numbers: [72, 13]
Generated Node #0,1,1: 34:[72, 13] Operation: 26/2=13
Exploring Operation: 72-26=46, Resulting Numbers: [2, 46]
Generated Node #0,1,2: 34:[2, 46] Operation: 72-26=46
Moving to Node #0,1,0
Current State: 34:[26, 36], Operations: ['83-11=72', '72/2=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,34 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,34 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[2, 46], Operations: ['83-11=72', '72-26=46']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,34 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[72, 13], Operations: ['83-11=72', '26/2=13']
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,34 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,34 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[2, 83, 15], Operations: ['26-11=15']
Exploring Operation: 83-15=68, Resulting Numbers: [2, 68]
Generated Node #0,2,0: 34:[2, 68] Operation: 83-15=68
Exploring Operation: 2+15=17, Resulting Numbers: [83, 17]
Generated Node #0,2,1: 34:[83, 17] Operation: 2+15=17
Exploring Operation: 83-2=81, Resulting Numbers: [15, 81]
Generated Node #0,2,2: 34:[15, 81] Operation: 83-2=81
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 34:[2, 68], Operations: ['26-11=15', '83-15=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[11, 2, 83, 26], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [2, 83, 15]
Generated Node #0,2: 34:[2, 83, 15] Operation: 26-11=15
Moving to Node #0,2
Current State: 34:[2, 83, 15], Operations: ['26-11=15']
Exploring Operation: 83-15=68, Resulting Numbers: [2, 68]
Generated Node #0,2,0: 34:[2, 68] Operation: 83-15=68
Moving to Node #0,2,0
Current State: 34:[2, 68], Operations: ['26-11=15', '83-15=68']
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
38,
57,
18,
25
] | 41 | [
"57+18=75",
"75/25=3",
"38+3=41"
] | Current State: 41:[38, 57, 18, 25], Operations: []
Exploring Operation: 57+18=75, Resulting Numbers: [38, 25, 75]
Generated Node #2: [38, 25, 75] from Operation: 57+18=75
Current State: 41:[38, 25, 75], Operations: ['57+18=75']
Exploring Operation: 75/25=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 75/25=3
Current State: 41:[38, 3], Operations: ['57+18=75', '75/25=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[38, 57, 18, 25], Operations: []
Exploring Operation: 57-18=39, Resulting Numbers: [38, 25, 39]
Generated Node #0,0: 41:[38, 25, 39] Operation: 57-18=39
Exploring Operation: 18+25=43, Resulting Numbers: [38, 57, 43]
Generated Node #0,1: 41:[38, 57, 43] Operation: 18+25=43
Moving to Node #0,0
Current State: 41:[38, 25, 39], Operations: ['57-18=39']
Exploring Operation: 25+39=64, Resulting Numbers: [38, 64]
Generated Node #0,0,0: 41:[38, 64] Operation: 25+39=64
Exploring Operation: 38+25=63, Resulting Numbers: [39, 63]
Generated Node #0,0,1: 41:[39, 63] Operation: 38+25=63
Moving to Node #0,1
Current State: 41:[38, 57, 43], Operations: ['18+25=43']
Exploring Operation: 57-43=14, Resulting Numbers: [38, 14]
Generated Node #0,1,0: 41:[38, 14] Operation: 57-43=14
Exploring Operation: 57-38=19, Resulting Numbers: [43, 19]
Generated Node #0,1,1: 41:[43, 19] Operation: 57-38=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[43, 19], Operations: ['18+25=43', '57-38=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,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:[38, 14], Operations: ['18+25=43', '57-43=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,41 unequal: No Solution
Exploring Operation: 38-14=24, Resulting Numbers: [24]
24,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:[39, 63], Operations: ['57-18=39', '38+25=63']
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[38, 64], Operations: ['57-18=39', '25+39=64']
Exploring Operation: 38+64=102, Resulting Numbers: [102]
102,41 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
78,
15,
39
] | 27 | [
"78+15=93",
"93-39=54",
"54/2=27"
] | Current State: 27:[2, 78, 15, 39], Operations: []
Exploring Operation: 78+15=93, Resulting Numbers: [2, 39, 93]
Generated Node #2: [2, 39, 93] from Operation: 78+15=93
Current State: 27:[2, 39, 93], Operations: ['78+15=93']
Exploring Operation: 93-39=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 93-39=54
Current State: 27:[2, 54], Operations: ['78+15=93', '93-39=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[2, 78, 15, 39], Operations: []
Exploring Operation: 78/39=2, Resulting Numbers: [2, 15, 2]
Generated Node #0,0: 27:[2, 15, 2] Operation: 78/39=2
Exploring Operation: 78-39=39, Resulting Numbers: [2, 15, 39]
Generated Node #0,1: 27:[2, 15, 39] Operation: 78-39=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[2, 15, 2], Operations: ['78/39=2']
Exploring Operation: 15*2=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 27:[2, 30] Operation: 15*2=30
Exploring Operation: 2*15=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 27:[2, 30] Operation: 2*15=30
Moving to Node #0,0,0
Current State: 27:[2, 30], Operations: ['78/39=2', '15*2=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[2, 30], Operations: ['78/39=2', '2*15=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[2, 15, 39], Operations: ['78-39=39']
Exploring Operation: 2*15=30, Resulting Numbers: [39, 30]
Generated Node #0,1,0: 27:[39, 30] Operation: 2*15=30
Exploring Operation: 39-15=24, Resulting Numbers: [2, 24]
Generated Node #0,1,1: 27:[2, 24] Operation: 39-15=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[2, 24], Operations: ['78-39=39', '39-15=24']
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[39, 30], Operations: ['78-39=39', '2*15=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,27 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
65,
35,
70
] | 90 | [
"3*65=195",
"35+70=105",
"195-105=90"
] | Current State: 90:[3, 65, 35, 70], Operations: []
Exploring Operation: 3*65=195, Resulting Numbers: [35, 70, 195]
Generated Node #2: [35, 70, 195] from Operation: 3*65=195
Current State: 90:[35, 70, 195], Operations: ['3*65=195']
Exploring Operation: 35+70=105, Resulting Numbers: [195, 105]
Generated Node #3: [195, 105] from Operation: 35+70=105
Current State: 90:[195, 105], Operations: ['3*65=195', '35+70=105']
Exploring Operation: 195-105=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 65, 35, 70], Operations: []
Exploring Operation: 65+35=100, Resulting Numbers: [3, 70, 100]
Generated Node #0,0: 90:[3, 70, 100] Operation: 65+35=100
Exploring Operation: 70-65=5, Resulting Numbers: [3, 35, 5]
Generated Node #0,1: 90:[3, 35, 5] Operation: 70-65=5
Exploring Operation: 70/35=2, Resulting Numbers: [3, 65, 2]
Generated Node #0,2: 90:[3, 65, 2] Operation: 70/35=2
Exploring Operation: 70-35=35, Resulting Numbers: [3, 65, 35]
Generated Node #0,3: 90:[3, 65, 35] Operation: 70-35=35
Exploring Operation: 65-35=30, Resulting Numbers: [3, 70, 30]
Generated Node #0,4: 90:[3, 70, 30] Operation: 65-35=30
Moving to Node #0,1
Current State: 90:[3, 35, 5], Operations: ['70-65=5']
Exploring Operation: 35/5=7, Resulting Numbers: [3, 7]
Generated Node #0,1,0: 90:[3, 7] Operation: 35/5=7
Exploring Operation: 3*5=15, Resulting Numbers: [35, 15]
Generated Node #0,1,1: 90:[35, 15] Operation: 3*5=15
Exploring Operation: 35-3=32, Resulting Numbers: [5, 32]
Generated Node #0,1,2: 90:[5, 32] Operation: 35-3=32
Exploring Operation: 5-3=2, Resulting Numbers: [35, 2]
Generated Node #0,1,3: 90:[35, 2] Operation: 5-3=2
Exploring Operation: 35-5=30, Resulting Numbers: [3, 30]
Generated Node #0,1,4: 90:[3, 30] Operation: 35-5=30
Moving to Node #0,4
Current State: 90:[3, 70, 30], Operations: ['65-35=30']
Exploring Operation: 70+30=100, Resulting Numbers: [3, 100]
Generated Node #0,4,0: 90:[3, 100] Operation: 70+30=100
Exploring Operation: 3*30=90, Resulting Numbers: [70, 90]
Generated Node #0,4,1: 90:[70, 90] Operation: 3*30=90
Exploring Operation: 30/3=10, Resulting Numbers: [70, 10]
Generated Node #0,4,2: 90:[70, 10] Operation: 30/3=10
Exploring Operation: 70-30=40, Resulting Numbers: [3, 40]
Generated Node #0,4,3: 90:[3, 40] Operation: 70-30=40
Exploring Operation: 3+70=73, Resulting Numbers: [30, 73]
Generated Node #0,4,4: 90:[30, 73] Operation: 3+70=73
Moving to Node #0,2
Current State: 90:[3, 65, 2], Operations: ['70/35=2']
Exploring Operation: 3*2=6, Resulting Numbers: [65, 6]
Generated Node #0,2,0: 90:[65, 6] Operation: 3*2=6
Exploring Operation: 3-2=1, Resulting Numbers: [65, 1]
Generated Node #0,2,1: 90:[65, 1] Operation: 3-2=1
Exploring Operation: 3+2=5, Resulting Numbers: [65, 5]
Generated Node #0,2,2: 90:[65, 5] Operation: 3+2=5
Exploring Operation: 65-2=63, Resulting Numbers: [3, 63]
Generated Node #0,2,3: 90:[3, 63] Operation: 65-2=63
Exploring Operation: 65-3=62, Resulting Numbers: [2, 62]
Generated Node #0,2,4: 90:[2, 62] Operation: 65-3=62
Moving to Node #0,3
Current State: 90:[3, 65, 35], Operations: ['70-35=35']
Exploring Operation: 65+35=100, Resulting Numbers: [3, 100]
Generated Node #0,3,0: 90:[3, 100] Operation: 65+35=100
Exploring Operation: 65-35=30, Resulting Numbers: [3, 30]
Generated Node #0,3,1: 90:[3, 30] Operation: 65-35=30
Exploring Operation: 35-3=32, Resulting Numbers: [65, 32]
Generated Node #0,3,2: 90:[65, 32] Operation: 35-3=32
Exploring Operation: 65-3=62, Resulting Numbers: [35, 62]
Generated Node #0,3,3: 90:[35, 62] Operation: 65-3=62
Exploring Operation: 3+65=68, Resulting Numbers: [35, 68]
Generated Node #0,3,4: 90:[35, 68] Operation: 3+65=68
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[3, 30], Operations: ['70-35=35', '65-35=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[3, 65, 35, 70], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [3, 65, 35]
Generated Node #0,3: 90:[3, 65, 35] Operation: 70-35=35
Moving to Node #0,3
Current State: 90:[3, 65, 35], Operations: ['70-35=35']
Exploring Operation: 65-35=30, Resulting Numbers: [3, 30]
Generated Node #0,3,1: 90:[3, 30] Operation: 65-35=30
Moving to Node #0,3,1
Current State: 90:[3, 30], Operations: ['70-35=35', '65-35=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
81,
52,
14,
60
] | 17 | [
"81-52=29",
"60-14=46",
"46-29=17"
] | Current State: 17:[81, 52, 14, 60], Operations: []
Exploring Operation: 81-52=29, Resulting Numbers: [14, 60, 29]
Generated Node #2: [14, 60, 29] from Operation: 81-52=29
Current State: 17:[14, 60, 29], Operations: ['81-52=29']
Exploring Operation: 60-14=46, Resulting Numbers: [29, 46]
Generated Node #3: [29, 46] from Operation: 60-14=46
Current State: 17:[29, 46], Operations: ['81-52=29', '60-14=46']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[81, 52, 14, 60], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [52, 14, 21]
Generated Node #0,0: 17:[52, 14, 21] Operation: 81-60=21
Moving to Node #0,0
Current State: 17:[52, 14, 21], Operations: ['81-60=21']
Exploring Operation: 52-21=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 17:[14, 31] Operation: 52-21=31
Moving to Node #0,0,0
Current State: 17:[14, 31], Operations: ['81-60=21', '52-21=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[81, 52, 14, 60], Operations: []
Exploring Operation: 81-60=21, Resulting Numbers: [52, 14, 21]
Generated Node #0,0: 17:[52, 14, 21] Operation: 81-60=21
Moving to Node #0,0
Current State: 17:[52, 14, 21], Operations: ['81-60=21']
Exploring Operation: 52-21=31, Resulting Numbers: [14, 31]
Generated Node #0,0,0: 17:[14, 31] Operation: 52-21=31
Moving to Node #0,0,0
Current State: 17:[14, 31], Operations: ['81-60=21', '52-21=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
3,
96,
31,
8
] | 11 | [
"96-3=93",
"93/31=3",
"8+3=11"
] | Current State: 11:[3, 96, 31, 8], Operations: []
Exploring Operation: 96-3=93, Resulting Numbers: [31, 8, 93]
Generated Node #2: [31, 8, 93] from Operation: 96-3=93
Current State: 11:[31, 8, 93], Operations: ['96-3=93']
Exploring Operation: 93/31=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 93/31=3
Current State: 11:[8, 3], Operations: ['96-3=93', '93/31=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[3, 96, 31, 8], Operations: []
Exploring Operation: 96/3=32, Resulting Numbers: [31, 8, 32]
Generated Node #0,0: 11:[31, 8, 32] Operation: 96/3=32
Exploring Operation: 96/8=12, Resulting Numbers: [3, 31, 12]
Generated Node #0,1: 11:[3, 31, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[3, 31, 12], Operations: ['96/8=12']
Exploring Operation: 31-3=28, Resulting Numbers: [12, 28]
Generated Node #0,1,0: 11:[12, 28] Operation: 31-3=28
Exploring Operation: 31-12=19, Resulting Numbers: [3, 19]
Generated Node #0,1,1: 11:[3, 19] Operation: 31-12=19
Moving to Node #0,1,1
Current State: 11:[3, 19], Operations: ['96/8=12', '31-12=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[12, 28], Operations: ['96/8=12', '31-3=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[31, 8, 32], Operations: ['96/3=32']
Exploring Operation: 32/8=4, Resulting Numbers: [31, 4]
Generated Node #0,0,0: 11:[31, 4] Operation: 32/8=4
Exploring Operation: 32-31=1, Resulting Numbers: [8, 1]
Generated Node #0,0,1: 11:[8, 1] Operation: 32-31=1
Moving to Node #0,0,1
Current State: 11:[8, 1], Operations: ['96/3=32', '32-31=1']
Exploring Operation: 8+1=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 8*1=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[31, 4], Operations: ['96/3=32', '32/8=4']
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,11 unequal: No Solution
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,11 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 |
[
51,
44,
51,
55
] | 11 | [
"51+44=95",
"51+55=106",
"106-95=11"
] | Current State: 11:[51, 44, 51, 55], Operations: []
Exploring Operation: 51+44=95, Resulting Numbers: [55, 95]
Generated Node #2: [55, 95] from Operation: 51+44=95
Current State: 11:[55, 95], Operations: ['51+44=95']
Exploring Operation: 51+55=106, Resulting Numbers: [95, 106]
Generated Node #3: [95, 106] from Operation: 51+55=106
Current State: 11:[95, 106], Operations: ['51+44=95', '51+55=106']
Exploring Operation: 106-95=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[51, 44, 51, 55], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [44, 51, 4]
Generated Node #0,0: 11:[44, 51, 4] Operation: 55-51=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[44, 51, 4], Operations: ['55-51=4']
Exploring Operation: 51-44=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 11:[4, 7] Operation: 51-44=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[4, 7], Operations: ['55-51=4', '51-44=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[51, 44, 51, 55], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [44, 51, 4]
Generated Node #0,0: 11:[44, 51, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 11:[44, 51, 4], Operations: ['55-51=4']
Exploring Operation: 51-44=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 11:[4, 7] Operation: 51-44=7
Moving to Node #0,0,0
Current State: 11:[4, 7], Operations: ['55-51=4', '51-44=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
42,
11,
48,
52
] | 62 | [
"52-42=10",
"11*10=110",
"110-48=62"
] | Current State: 62:[42, 11, 48, 52], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [11, 48, 10]
Generated Node #2: [11, 48, 10] from Operation: 52-42=10
Current State: 62:[11, 48, 10], Operations: ['52-42=10']
Exploring Operation: 11*10=110, Resulting Numbers: [48, 110]
Generated Node #3: [48, 110] from Operation: 11*10=110
Current State: 62:[48, 110], Operations: ['52-42=10', '11*10=110']
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[42, 11, 48, 52], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [42, 11, 4]
Generated Node #0,0: 62:[42, 11, 4] Operation: 52-48=4
Exploring Operation: 11+48=59, Resulting Numbers: [42, 52, 59]
Generated Node #0,1: 62:[42, 52, 59] Operation: 11+48=59
Exploring Operation: 11+52=63, Resulting Numbers: [42, 48, 63]
Generated Node #0,2: 62:[42, 48, 63] Operation: 11+52=63
Exploring Operation: 42-11=31, Resulting Numbers: [48, 52, 31]
Generated Node #0,3: 62:[48, 52, 31] Operation: 42-11=31
Exploring Operation: 48-42=6, Resulting Numbers: [11, 52, 6]
Generated Node #0,4: 62:[11, 52, 6] Operation: 48-42=6
Moving to Node #0,0
Current State: 62:[42, 11, 4], Operations: ['52-48=4']
Exploring Operation: 11-4=7, Resulting Numbers: [42, 7]
Generated Node #0,0,0: 62:[42, 7] Operation: 11-4=7
Exploring Operation: 42-4=38, Resulting Numbers: [11, 38]
Generated Node #0,0,1: 62:[11, 38] Operation: 42-4=38
Exploring Operation: 42+11=53, Resulting Numbers: [4, 53]
Generated Node #0,0,2: 62:[4, 53] Operation: 42+11=53
Exploring Operation: 42-11=31, Resulting Numbers: [4, 31]
Generated Node #0,0,3: 62:[4, 31] Operation: 42-11=31
Exploring Operation: 42+4=46, Resulting Numbers: [11, 46]
Generated Node #0,0,4: 62:[11, 46] Operation: 42+4=46
Moving to Node #0,4
Current State: 62:[11, 52, 6], Operations: ['48-42=6']
Exploring Operation: 52+6=58, Resulting Numbers: [11, 58]
Generated Node #0,4,0: 62:[11, 58] Operation: 52+6=58
Exploring Operation: 52-11=41, Resulting Numbers: [6, 41]
Generated Node #0,4,1: 62:[6, 41] Operation: 52-11=41
Exploring Operation: 11*6=66, Resulting Numbers: [52, 66]
Generated Node #0,4,2: 62:[52, 66] Operation: 11*6=66
Exploring Operation: 11+52=63, Resulting Numbers: [6, 63]
Generated Node #0,4,3: 62:[6, 63] Operation: 11+52=63
Exploring Operation: 11-6=5, Resulting Numbers: [52, 5]
Generated Node #0,4,4: 62:[52, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 62:[6, 63], Operations: ['48-42=6', '11+52=63']
Exploring Operation: 6*63=378, Resulting Numbers: [378]
378,62 unequal: No Solution
Exploring Operation: 6+63=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[11, 58], Operations: ['48-42=6', '52+6=58']
Exploring Operation: 11*58=638, Resulting Numbers: [638]
638,62 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 62:[52, 5], Operations: ['48-42=6', '11-6=5']
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 62:[6, 41], Operations: ['48-42=6', '52-11=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Exploring Operation: 6*41=246, Resulting Numbers: [246]
246,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 62:[52, 66], Operations: ['48-42=6', '11*6=66']
Exploring Operation: 52*66=3432, Resulting Numbers: [3432]
3432,62 unequal: No Solution
Exploring Operation: 52+66=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,62 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: 62:[42, 52, 59], Operations: ['11+48=59']
Exploring Operation: 59-42=17, Resulting Numbers: [52, 17]
Generated Node #0,1,0: 62:[52, 17] Operation: 59-42=17
Exploring Operation: 42+59=101, Resulting Numbers: [52, 101]
Generated Node #0,1,1: 62:[52, 101] Operation: 42+59=101
Exploring Operation: 42+52=94, Resulting Numbers: [59, 94]
Generated Node #0,1,2: 62:[59, 94] Operation: 42+52=94
Exploring Operation: 59-52=7, Resulting Numbers: [42, 7]
Generated Node #0,1,3: 62:[42, 7] Operation: 59-52=7
Exploring Operation: 52-42=10, Resulting Numbers: [59, 10]
Generated Node #0,1,4: 62:[59, 10] Operation: 52-42=10
Moving to Node #0,3
Current State: 62:[48, 52, 31], Operations: ['42-11=31']
Exploring Operation: 52-31=21, Resulting Numbers: [48, 21]
Generated Node #0,3,0: 62:[48, 21] Operation: 52-31=21
Exploring Operation: 48-31=17, Resulting Numbers: [52, 17]
Generated Node #0,3,1: 62:[52, 17] Operation: 48-31=17
Exploring Operation: 52+31=83, Resulting Numbers: [48, 83]
Generated Node #0,3,2: 62:[48, 83] Operation: 52+31=83
Exploring Operation: 48+31=79, Resulting Numbers: [52, 79]
Generated Node #0,3,3: 62:[52, 79] Operation: 48+31=79
Exploring Operation: 52-48=4, Resulting Numbers: [31, 4]
Generated Node #0,3,4: 62:[31, 4] Operation: 52-48=4
Moving to Node #0,2
Current State: 62:[42, 48, 63], Operations: ['11+52=63']
Exploring Operation: 48-42=6, Resulting Numbers: [63, 6]
Generated Node #0,2,0: 62:[63, 6] Operation: 48-42=6
Exploring Operation: 42+48=90, Resulting Numbers: [63, 90]
Generated Node #0,2,1: 62:[63, 90] Operation: 42+48=90
Exploring Operation: 63-42=21, Resulting Numbers: [48, 21]
Generated Node #0,2,2: 62:[48, 21] Operation: 63-42=21
Exploring Operation: 63-48=15, Resulting Numbers: [42, 15]
Generated Node #0,2,3: 62:[42, 15] Operation: 63-48=15
Exploring Operation: 42+63=105, Resulting Numbers: [48, 105]
Generated Node #0,2,4: 62:[48, 105] Operation: 42+63=105
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[63, 6], Operations: ['11+52=63', '48-42=6']
Exploring Operation: 63+6=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 63*6=378, Resulting Numbers: [378]
378,62 unequal: No Solution
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[48, 21], Operations: ['11+52=63', '63-42=21']
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,62 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[42, 15], Operations: ['11+52=63', '63-48=15']
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 42*15=630, Resulting Numbers: [630]
630,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[63, 90], Operations: ['11+52=63', '42+48=90']
Exploring Operation: 63+90=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 63*90=5670, Resulting Numbers: [5670]
5670,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 62:[48, 105], Operations: ['11+52=63', '42+63=105']
Exploring Operation: 48+105=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Exploring Operation: 105-48=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 48*105=5040, Resulting Numbers: [5040]
5040,62 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: 62:[4, 31], Operations: ['52-48=4', '42-11=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,62 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[31, 4], Operations: ['42-11=31', '52-48=4']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 31*4=124, Resulting Numbers: [124]
124,62 unequal: No Solution
Exploring Operation: 31+4=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[59, 10], Operations: ['11+48=59', '52-42=10']
Exploring Operation: 59*10=590, Resulting Numbers: [590]
590,62 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 59+10=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[4, 53], Operations: ['52-48=4', '42+11=53']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 4*53=212, Resulting Numbers: [212]
212,62 unequal: No Solution
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[42, 7], Operations: ['11+48=59', '59-52=7']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[42, 7], Operations: ['52-48=4', '11-4=7']
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 42*7=294, Resulting Numbers: [294]
294,62 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[11, 38], Operations: ['52-48=4', '42-4=38']
Exploring Operation: 11+38=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 11*38=418, Resulting Numbers: [418]
418,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[48, 21], Operations: ['42-11=31', '52-31=21']
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,62 unequal: No Solution
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[11, 46], Operations: ['52-48=4', '42+4=46']
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,62 unequal: No Solution
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[52, 17], Operations: ['11+48=59', '59-42=17']
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[52, 17], Operations: ['42-11=31', '48-31=17']
Exploring Operation: 52*17=884, Resulting Numbers: [884]
884,62 unequal: No Solution
Exploring Operation: 52+17=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[52, 79], Operations: ['42-11=31', '48+31=79']
Exploring Operation: 79-52=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 52+79=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Exploring Operation: 52*79=4108, Resulting Numbers: [4108]
4108,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[59, 94], Operations: ['11+48=59', '42+52=94']
Exploring Operation: 59+94=153, Resulting Numbers: [153]
153,62 unequal: No Solution
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 59*94=5546, Resulting Numbers: [5546]
5546,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[48, 83], Operations: ['42-11=31', '52+31=83']
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,62 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[52, 101], Operations: ['11+48=59', '42+59=101']
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 52*101=5252, Resulting Numbers: [5252]
5252,62 unequal: No Solution
Exploring Operation: 52+101=153, Resulting Numbers: [153]
153,62 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
57,
4,
9
] | 26 | [
"57-9=48",
"48/4=12",
"14+12=26"
] | Current State: 26:[14, 57, 4, 9], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [14, 4, 48]
Generated Node #2: [14, 4, 48] from Operation: 57-9=48
Current State: 26:[14, 4, 48], Operations: ['57-9=48']
Exploring Operation: 48/4=12, Resulting Numbers: [14, 12]
Generated Node #3: [14, 12] from Operation: 48/4=12
Current State: 26:[14, 12], Operations: ['57-9=48', '48/4=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[14, 57, 4, 9], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [14, 4, 48]
Generated Node #0,0: 26:[14, 4, 48] Operation: 57-9=48
Exploring Operation: 57-14=43, Resulting Numbers: [4, 9, 43]
Generated Node #0,1: 26:[4, 9, 43] Operation: 57-14=43
Moving to Node #0,1
Current State: 26:[4, 9, 43], Operations: ['57-14=43']
Exploring Operation: 43-9=34, Resulting Numbers: [4, 34]
Generated Node #0,1,0: 26:[4, 34] Operation: 43-9=34
Exploring Operation: 4+9=13, Resulting Numbers: [43, 13]
Generated Node #0,1,1: 26:[43, 13] Operation: 4+9=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[4, 34], Operations: ['57-14=43', '43-9=34']
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 4+34=38, Resulting Numbers: [38]
38,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[43, 13], Operations: ['57-14=43', '4+9=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[14, 4, 48], Operations: ['57-9=48']
Exploring Operation: 48-14=34, Resulting Numbers: [4, 34]
Generated Node #0,0,0: 26:[4, 34] Operation: 48-14=34
Exploring Operation: 48/4=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 26:[14, 12] Operation: 48/4=12
Moving to Node #0,0,1
Current State: 26:[14, 12], Operations: ['57-9=48', '48/4=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[14, 57, 4, 9], Operations: []
Exploring Operation: 57-9=48, Resulting Numbers: [14, 4, 48]
Generated Node #0,0: 26:[14, 4, 48] Operation: 57-9=48
Moving to Node #0,0
Current State: 26:[14, 4, 48], Operations: ['57-9=48']
Exploring Operation: 48/4=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 26:[14, 12] Operation: 48/4=12
Moving to Node #0,0,1
Current State: 26:[14, 12], Operations: ['57-9=48', '48/4=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
71,
15,
58,
45
] | 13 | [
"71+45=116",
"116/58=2",
"15-2=13"
] | Current State: 13:[71, 15, 58, 45], Operations: []
Exploring Operation: 71+45=116, Resulting Numbers: [15, 58, 116]
Generated Node #2: [15, 58, 116] from Operation: 71+45=116
Current State: 13:[15, 58, 116], Operations: ['71+45=116']
Exploring Operation: 116/58=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 116/58=2
Current State: 13:[15, 2], Operations: ['71+45=116', '116/58=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[71, 15, 58, 45], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [15, 45, 13]
Generated Node #0,0: 13:[15, 45, 13] Operation: 71-58=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[15, 45, 13], Operations: ['71-58=13']
Exploring Operation: 45/15=3, Resulting Numbers: [13, 3]
Generated Node #0,0,0: 13:[13, 3] Operation: 45/15=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[13, 3], Operations: ['71-58=13', '45/15=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,13 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 |
[
5,
25,
27,
15
] | 83 | [
"5*25=125",
"27+15=42",
"125-42=83"
] | Current State: 83:[5, 25, 27, 15], Operations: []
Exploring Operation: 5*25=125, Resulting Numbers: [27, 15, 125]
Generated Node #2: [27, 15, 125] from Operation: 5*25=125
Current State: 83:[27, 15, 125], Operations: ['5*25=125']
Exploring Operation: 27+15=42, Resulting Numbers: [125, 42]
Generated Node #3: [125, 42] from Operation: 27+15=42
Current State: 83:[125, 42], Operations: ['5*25=125', '27+15=42']
Exploring Operation: 125-42=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[5, 25, 27, 15], Operations: []
Exploring Operation: 5+25=30, Resulting Numbers: [27, 15, 30]
Generated Node #0,0: 83:[27, 15, 30] Operation: 5+25=30
Exploring Operation: 5*15=75, Resulting Numbers: [25, 27, 75]
Generated Node #0,1: 83:[25, 27, 75] Operation: 5*15=75
Exploring Operation: 5+27=32, Resulting Numbers: [25, 15, 32]
Generated Node #0,2: 83:[25, 15, 32] Operation: 5+27=32
Exploring Operation: 5*25=125, Resulting Numbers: [27, 15, 125]
Generated Node #0,3: 83:[27, 15, 125] Operation: 5*25=125
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[25, 27, 75], Operations: ['5*15=75']
Exploring Operation: 27-25=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 83:[75, 2] Operation: 27-25=2
Exploring Operation: 27+75=102, Resulting Numbers: [25, 102]
Generated Node #0,1,1: 83:[25, 102] Operation: 27+75=102
Exploring Operation: 25+27=52, Resulting Numbers: [75, 52]
Generated Node #0,1,2: 83:[75, 52] Operation: 25+27=52
Exploring Operation: 25+75=100, Resulting Numbers: [27, 100]
Generated Node #0,1,3: 83:[27, 100] Operation: 25+75=100
Moving to Node #0,1,2
Current State: 83:[75, 52], Operations: ['5*15=75', '25+27=52']
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,83 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[27, 100], Operations: ['5*15=75', '25+75=100']
Exploring Operation: 27*100=2700, Resulting Numbers: [2700]
2700,83 unequal: No Solution
Exploring Operation: 27+100=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 100-27=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[25, 102], Operations: ['5*15=75', '27+75=102']
Exploring Operation: 25*102=2550, Resulting Numbers: [2550]
2550,83 unequal: No Solution
Exploring Operation: 25+102=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 102-25=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[75, 2], Operations: ['5*15=75', '27-25=2']
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[27, 15, 125], Operations: ['5*25=125']
Exploring Operation: 125-27=98, Resulting Numbers: [15, 98]
Generated Node #0,3,0: 83:[15, 98] Operation: 125-27=98
Exploring Operation: 27-15=12, Resulting Numbers: [125, 12]
Generated Node #0,3,1: 83:[125, 12] Operation: 27-15=12
Exploring Operation: 27+15=42, Resulting Numbers: [125, 42]
Generated Node #0,3,2: 83:[125, 42] Operation: 27+15=42
Exploring Operation: 125-15=110, Resulting Numbers: [27, 110]
Generated Node #0,3,3: 83:[27, 110] Operation: 125-15=110
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[15, 98], Operations: ['5*25=125', '125-27=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[5, 25, 27, 15], Operations: []
Exploring Operation: 5*25=125, Resulting Numbers: [27, 15, 125]
Generated Node #0,3: 83:[27, 15, 125] Operation: 5*25=125
Moving to Node #0,3
Current State: 83:[27, 15, 125], Operations: ['5*25=125']
Exploring Operation: 125-27=98, Resulting Numbers: [15, 98]
Generated Node #0,3,0: 83:[15, 98] Operation: 125-27=98
Moving to Node #0,3,0
Current State: 83:[15, 98], Operations: ['5*25=125', '125-27=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
63,
15,
34,
69
] | 56 | [
"69-63=6",
"15*6=90",
"90-34=56"
] | Current State: 56:[63, 15, 34, 69], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [15, 34, 6]
Generated Node #2: [15, 34, 6] from Operation: 69-63=6
Current State: 56:[15, 34, 6], Operations: ['69-63=6']
Exploring Operation: 15*6=90, Resulting Numbers: [34, 90]
Generated Node #3: [34, 90] from Operation: 15*6=90
Current State: 56:[34, 90], Operations: ['69-63=6', '15*6=90']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[63, 15, 34, 69], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [63, 34, 54]
Generated Node #0,0: 56:[63, 34, 54] Operation: 69-15=54
Exploring Operation: 63-34=29, Resulting Numbers: [15, 69, 29]
Generated Node #0,1: 56:[15, 69, 29] Operation: 63-34=29
Exploring Operation: 69-63=6, Resulting Numbers: [15, 34, 6]
Generated Node #0,2: 56:[15, 34, 6] Operation: 69-63=6
Exploring Operation: 69-34=35, Resulting Numbers: [63, 15, 35]
Generated Node #0,3: 56:[63, 15, 35] Operation: 69-34=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[15, 34, 6], Operations: ['69-63=6']
Exploring Operation: 15-6=9, Resulting Numbers: [34, 9]
Generated Node #0,2,0: 56:[34, 9] Operation: 15-6=9
Exploring Operation: 15+34=49, Resulting Numbers: [6, 49]
Generated Node #0,2,1: 56:[6, 49] Operation: 15+34=49
Exploring Operation: 34-15=19, Resulting Numbers: [6, 19]
Generated Node #0,2,2: 56:[6, 19] Operation: 34-15=19
Exploring Operation: 34-6=28, Resulting Numbers: [15, 28]
Generated Node #0,2,3: 56:[15, 28] Operation: 34-6=28
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 56:[15, 28], Operations: ['69-63=6', '34-6=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,56 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[6, 19], Operations: ['69-63=6', '34-15=19']
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 6*19=114, Resulting Numbers: [114]
114,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[34, 9], Operations: ['69-63=6', '15-6=9']
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,56 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[6, 49], Operations: ['69-63=6', '15+34=49']
Exploring Operation: 6+49=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 6*49=294, Resulting Numbers: [294]
294,56 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[63, 34, 54], Operations: ['69-15=54']
Exploring Operation: 34+54=88, Resulting Numbers: [63, 88]
Generated Node #0,0,0: 56:[63, 88] Operation: 34+54=88
Exploring Operation: 54-34=20, Resulting Numbers: [63, 20]
Generated Node #0,0,1: 56:[63, 20] Operation: 54-34=20
Exploring Operation: 63-34=29, Resulting Numbers: [54, 29]
Generated Node #0,0,2: 56:[54, 29] Operation: 63-34=29
Exploring Operation: 63-54=9, Resulting Numbers: [34, 9]
Generated Node #0,0,3: 56:[34, 9] Operation: 63-54=9
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[54, 29], Operations: ['69-15=54', '63-34=29']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,56 unequal: No Solution
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[34, 9], Operations: ['69-15=54', '63-54=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,56 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[63, 20], Operations: ['69-15=54', '54-34=20']
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,56 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[63, 88], Operations: ['69-15=54', '34+54=88']
Exploring Operation: 63*88=5544, Resulting Numbers: [5544]
5544,56 unequal: No Solution
Exploring Operation: 63+88=151, Resulting Numbers: [151]
151,56 unequal: No Solution
Exploring Operation: 88-63=25, Resulting Numbers: [25]
25,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[15, 69, 29], Operations: ['63-34=29']
Exploring Operation: 29-15=14, Resulting Numbers: [69, 14]
Generated Node #0,1,0: 56:[69, 14] Operation: 29-15=14
Exploring Operation: 69-29=40, Resulting Numbers: [15, 40]
Generated Node #0,1,1: 56:[15, 40] Operation: 69-29=40
Exploring Operation: 69-15=54, Resulting Numbers: [29, 54]
Generated Node #0,1,2: 56:[29, 54] Operation: 69-15=54
Exploring Operation: 15+29=44, Resulting Numbers: [69, 44]
Generated Node #0,1,3: 56:[69, 44] Operation: 15+29=44
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[29, 54], Operations: ['63-34=29', '69-15=54']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 29*54=1566, Resulting Numbers: [1566]
1566,56 unequal: No Solution
Exploring Operation: 29+54=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[69, 14], Operations: ['63-34=29', '29-15=14']
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[15, 40], Operations: ['63-34=29', '69-29=40']
Exploring Operation: 15*40=600, Resulting Numbers: [600]
600,56 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[69, 44], Operations: ['63-34=29', '15+29=44']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 69*44=3036, Resulting Numbers: [3036]
3036,56 unequal: No Solution
Exploring Operation: 69+44=113, Resulting Numbers: [113]
113,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[63, 15, 35], Operations: ['69-34=35']
Exploring Operation: 35-15=20, Resulting Numbers: [63, 20]
Generated Node #0,3,0: 56:[63, 20] Operation: 35-15=20
Exploring Operation: 63-15=48, Resulting Numbers: [35, 48]
Generated Node #0,3,1: 56:[35, 48] Operation: 63-15=48
Exploring Operation: 63-35=28, Resulting Numbers: [15, 28]
Generated Node #0,3,2: 56:[15, 28] Operation: 63-35=28
Exploring Operation: 15+35=50, Resulting Numbers: [63, 50]
Generated Node #0,3,3: 56:[63, 50] Operation: 15+35=50
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 56:[15, 28], Operations: ['69-34=35', '63-35=28']
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 56:[63, 20], Operations: ['69-34=35', '35-15=20']
Exploring Operation: 63*20=1260, Resulting Numbers: [1260]
1260,56 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Exploring Operation: 63+20=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[63, 50], Operations: ['69-34=35', '15+35=50']
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,56 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[35, 48], Operations: ['69-34=35', '63-15=48']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 35+48=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 35*48=1680, Resulting Numbers: [1680]
1680,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
16,
16,
32,
94
] | 93 | [
"16+16=32",
"32/32=1",
"94-1=93"
] | Current State: 93:[16, 16, 32, 94], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [32, 94, 32]
Generated Node #2: [32, 94, 32] from Operation: 16+16=32
Current State: 93:[32, 94, 32], Operations: ['16+16=32']
Exploring Operation: 32/32=1, Resulting Numbers: [94, 1]
Generated Node #3: [94, 1] from Operation: 32/32=1
Current State: 93:[94, 1], Operations: ['16+16=32', '32/32=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[16, 16, 32, 94], Operations: []
Exploring Operation: 16/16=1, Resulting Numbers: [32, 94, 1]
Generated Node #0,0: 93:[32, 94, 1] Operation: 16/16=1
Exploring Operation: 16+16=32, Resulting Numbers: [32, 94, 32]
Generated Node #0,1: 93:[32, 94, 32] Operation: 16+16=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[32, 94, 32], Operations: ['16+16=32']
Exploring Operation: 32/32=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 93:[94, 1] Operation: 32/32=1
Exploring Operation: 32-32=0, Resulting Numbers: [94, 0]
Generated Node #0,1,1: 93:[94, 0] Operation: 32-32=0
Moving to Node #0,1,0
Current State: 93:[94, 1], Operations: ['16+16=32', '32/32=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[16, 16, 32, 94], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [32, 94, 32]
Generated Node #0,1: 93:[32, 94, 32] Operation: 16+16=32
Moving to Node #0,1
Current State: 93:[32, 94, 32], Operations: ['16+16=32']
Exploring Operation: 32/32=1, Resulting Numbers: [94, 1]
Generated Node #0,1,0: 93:[94, 1] Operation: 32/32=1
Moving to Node #0,1,0
Current State: 93:[94, 1], Operations: ['16+16=32', '32/32=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
89,
21,
19,
29
] | 62 | [
"89+21=110",
"19+29=48",
"110-48=62"
] | Current State: 62:[89, 21, 19, 29], Operations: []
Exploring Operation: 89+21=110, Resulting Numbers: [19, 29, 110]
Generated Node #2: [19, 29, 110] from Operation: 89+21=110
Current State: 62:[19, 29, 110], Operations: ['89+21=110']
Exploring Operation: 19+29=48, Resulting Numbers: [110, 48]
Generated Node #3: [110, 48] from Operation: 19+29=48
Current State: 62:[110, 48], Operations: ['89+21=110', '19+29=48']
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[89, 21, 19, 29], Operations: []
Exploring Operation: 89-21=68, Resulting Numbers: [19, 29, 68]
Generated Node #0,0: 62:[19, 29, 68] Operation: 89-21=68
Moving to Node #0,0
Current State: 62:[19, 29, 68], Operations: ['89-21=68']
Exploring Operation: 29-19=10, Resulting Numbers: [68, 10]
Generated Node #0,0,0: 62:[68, 10] Operation: 29-19=10
Moving to Node #0,0,0
Current State: 62:[68, 10], Operations: ['89-21=68', '29-19=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,62 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
24,
2,
46,
8
] | 39 | [
"24+46=70",
"8+70=78",
"78/2=39"
] | Current State: 39:[24, 2, 46, 8], Operations: []
Exploring Operation: 24+46=70, Resulting Numbers: [2, 8, 70]
Generated Node #2: [2, 8, 70] from Operation: 24+46=70
Current State: 39:[2, 8, 70], Operations: ['24+46=70']
Exploring Operation: 8+70=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 8+70=78
Current State: 39:[2, 78], Operations: ['24+46=70', '8+70=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[24, 2, 46, 8], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [2, 46, 3]
Generated Node #0,0: 39:[2, 46, 3] Operation: 24/8=3
Exploring Operation: 24/2=12, Resulting Numbers: [46, 8, 12]
Generated Node #0,1: 39:[46, 8, 12] Operation: 24/2=12
Exploring Operation: 24-8=16, Resulting Numbers: [2, 46, 16]
Generated Node #0,2: 39:[2, 46, 16] Operation: 24-8=16
Moving to Node #0,0
Current State: 39:[2, 46, 3], Operations: ['24/8=3']
Exploring Operation: 2+46=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 39:[3, 48] Operation: 2+46=48
Exploring Operation: 46-2=44, Resulting Numbers: [3, 44]
Generated Node #0,0,1: 39:[3, 44] Operation: 46-2=44
Exploring Operation: 46-3=43, Resulting Numbers: [2, 43]
Generated Node #0,0,2: 39:[2, 43] Operation: 46-3=43
Moving to Node #0,2
Current State: 39:[2, 46, 16], Operations: ['24-8=16']
Exploring Operation: 46-16=30, Resulting Numbers: [2, 30]
Generated Node #0,2,0: 39:[2, 30] Operation: 46-16=30
Exploring Operation: 16-2=14, Resulting Numbers: [46, 14]
Generated Node #0,2,1: 39:[46, 14] Operation: 16-2=14
Exploring Operation: 46-2=44, Resulting Numbers: [16, 44]
Generated Node #0,2,2: 39:[16, 44] Operation: 46-2=44
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 39:[46, 14], Operations: ['24-8=16', '16-2=14']
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,39 unequal: No Solution
No 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: 39:[16, 44], Operations: ['24-8=16', '46-2=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,39 unequal: No Solution
No 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: 39:[2, 30], Operations: ['24-8=16', '46-16=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,39 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,39 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: 39:[46, 8, 12], Operations: ['24/2=12']
Exploring Operation: 46-8=38, Resulting Numbers: [12, 38]
Generated Node #0,1,0: 39:[12, 38] Operation: 46-8=38
Exploring Operation: 46-12=34, Resulting Numbers: [8, 34]
Generated Node #0,1,1: 39:[8, 34] Operation: 46-12=34
Exploring Operation: 12-8=4, Resulting Numbers: [46, 4]
Generated Node #0,1,2: 39:[46, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[12, 38], Operations: ['24/2=12', '46-8=38']
Exploring Operation: 12+38=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 12*38=456, Resulting Numbers: [456]
456,39 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,39 unequal: No Solution
No solution 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: 39:[46, 4], Operations: ['24/2=12', '12-8=4']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,39 unequal: No Solution
No solution 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: 39:[8, 34], Operations: ['24/2=12', '46-12=34']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,39 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,39 unequal: No Solution
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,39 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: 39:[3, 44], Operations: ['24/8=3', '46-2=44']
Exploring Operation: 3*44=132, Resulting Numbers: [132]
132,39 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[2, 43], Operations: ['24/8=3', '46-3=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,39 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[3, 48], Operations: ['24/8=3', '2+46=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,39 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,39 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
14,
2,
20,
70
] | 18 | [
"14+20=34",
"70-34=36",
"36/2=18"
] | Current State: 18:[14, 2, 20, 70], Operations: []
Exploring Operation: 14+20=34, Resulting Numbers: [2, 70, 34]
Generated Node #2: [2, 70, 34] from Operation: 14+20=34
Current State: 18:[2, 70, 34], Operations: ['14+20=34']
Exploring Operation: 70-34=36, Resulting Numbers: [2, 36]
Generated Node #3: [2, 36] from Operation: 70-34=36
Current State: 18:[2, 36], Operations: ['14+20=34', '70-34=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[14, 2, 20, 70], Operations: []
Exploring Operation: 70-14=56, Resulting Numbers: [2, 20, 56]
Generated Node #0,0: 18:[2, 20, 56] Operation: 70-14=56
Exploring Operation: 70/14=5, Resulting Numbers: [2, 20, 5]
Generated Node #0,1: 18:[2, 20, 5] Operation: 70/14=5
Exploring Operation: 70-20=50, Resulting Numbers: [14, 2, 50]
Generated Node #0,2: 18:[14, 2, 50] Operation: 70-20=50
Exploring Operation: 70/2=35, Resulting Numbers: [14, 20, 35]
Generated Node #0,3: 18:[14, 20, 35] Operation: 70/2=35
Exploring Operation: 20-14=6, Resulting Numbers: [2, 70, 6]
Generated Node #0,4: 18:[2, 70, 6] Operation: 20-14=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[2, 20, 5], Operations: ['70/14=5']
Exploring Operation: 20/2=10, Resulting Numbers: [5, 10]
Generated Node #0,1,0: 18:[5, 10] Operation: 20/2=10
Exploring Operation: 5-2=3, Resulting Numbers: [20, 3]
Generated Node #0,1,1: 18:[20, 3] Operation: 5-2=3
Exploring Operation: 2+5=7, Resulting Numbers: [20, 7]
Generated Node #0,1,2: 18:[20, 7] Operation: 2+5=7
Exploring Operation: 20/5=4, Resulting Numbers: [2, 4]
Generated Node #0,1,3: 18:[2, 4] Operation: 20/5=4
Exploring Operation: 20-2=18, Resulting Numbers: [5, 18]
Generated Node #0,1,4: 18:[5, 18] Operation: 20-2=18
Moving to Node #0,1,3
Current State: 18:[2, 4], Operations: ['70/14=5', '20/5=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[5, 18], Operations: ['70/14=5', '20-2=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[5, 10], Operations: ['70/14=5', '20/2=10']
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,18 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[20, 3], Operations: ['70/14=5', '5-2=3']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 20*3=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 20+3=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[20, 7], Operations: ['70/14=5', '2+5=7']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,18 unequal: No Solution
Exploring Operation: 20+7=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,3
Current State: 18:[14, 20, 35], Operations: ['70/2=35']
Exploring Operation: 20-14=6, Resulting Numbers: [35, 6]
Generated Node #0,3,0: 18:[35, 6] Operation: 20-14=6
Exploring Operation: 14+35=49, Resulting Numbers: [20, 49]
Generated Node #0,3,1: 18:[20, 49] Operation: 14+35=49
Exploring Operation: 35-14=21, Resulting Numbers: [20, 21]
Generated Node #0,3,2: 18:[20, 21] Operation: 35-14=21
Exploring Operation: 35-20=15, Resulting Numbers: [14, 15]
Generated Node #0,3,3: 18:[14, 15] Operation: 35-20=15
Exploring Operation: 14+20=34, Resulting Numbers: [35, 34]
Generated Node #0,3,4: 18:[35, 34] Operation: 14+20=34
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 18:[20, 21], Operations: ['70/2=35', '35-14=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 18:[14, 15], Operations: ['70/2=35', '35-20=15']
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 14*15=210, Resulting Numbers: [210]
210,18 unequal: No Solution
Exploring Operation: 14+15=29, Resulting Numbers: [29]
29,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 18:[35, 6], Operations: ['70/2=35', '20-14=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 18:[20, 49], Operations: ['70/2=35', '14+35=49']
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,18 unequal: No Solution
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,18 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 18:[35, 34], Operations: ['70/2=35', '14+20=34']
Exploring Operation: 35-34=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 35*34=1190, Resulting Numbers: [1190]
1190,18 unequal: No Solution
Exploring Operation: 35+34=69, Resulting Numbers: [69]
69,18 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: 18:[14, 2, 50], Operations: ['70-20=50']
Exploring Operation: 50-14=36, Resulting Numbers: [2, 36]
Generated Node #0,2,0: 18:[2, 36] Operation: 50-14=36
Exploring Operation: 50-2=48, Resulting Numbers: [14, 48]
Generated Node #0,2,1: 18:[14, 48] Operation: 50-2=48
Exploring Operation: 50/2=25, Resulting Numbers: [14, 25]
Generated Node #0,2,2: 18:[14, 25] Operation: 50/2=25
Exploring Operation: 14+2=16, Resulting Numbers: [50, 16]
Generated Node #0,2,3: 18:[50, 16] Operation: 14+2=16
Exploring Operation: 14/2=7, Resulting Numbers: [50, 7]
Generated Node #0,2,4: 18:[50, 7] Operation: 14/2=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 18:[14, 25], Operations: ['70-20=50', '50/2=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,18 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[2, 36], Operations: ['70-20=50', '50-14=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[14, 2, 20, 70], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [14, 2, 50]
Generated Node #0,2: 18:[14, 2, 50] Operation: 70-20=50
Moving to Node #0,2
Current State: 18:[14, 2, 50], Operations: ['70-20=50']
Exploring Operation: 50-14=36, Resulting Numbers: [2, 36]
Generated Node #0,2,0: 18:[2, 36] Operation: 50-14=36
Moving to Node #0,2,0
Current State: 18:[2, 36], Operations: ['70-20=50', '50-14=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
82,
43,
56,
91
] | 22 | [
"82+43=125",
"56+91=147",
"147-125=22"
] | Current State: 22:[82, 43, 56, 91], Operations: []
Exploring Operation: 82+43=125, Resulting Numbers: [56, 91, 125]
Generated Node #2: [56, 91, 125] from Operation: 82+43=125
Current State: 22:[56, 91, 125], Operations: ['82+43=125']
Exploring Operation: 56+91=147, Resulting Numbers: [125, 147]
Generated Node #3: [125, 147] from Operation: 56+91=147
Current State: 22:[125, 147], Operations: ['82+43=125', '56+91=147']
Exploring Operation: 147-125=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[82, 43, 56, 91], Operations: []
Exploring Operation: 82-56=26, Resulting Numbers: [43, 91, 26]
Generated Node #0,0: 22:[43, 91, 26] Operation: 82-56=26
Exploring Operation: 91-56=35, Resulting Numbers: [82, 43, 35]
Generated Node #0,1: 22:[82, 43, 35] Operation: 91-56=35
Exploring Operation: 91-82=9, Resulting Numbers: [43, 56, 9]
Generated Node #0,2: 22:[43, 56, 9] Operation: 91-82=9
Moving to Node #0,2
Current State: 22:[43, 56, 9], Operations: ['91-82=9']
Exploring Operation: 56-43=13, Resulting Numbers: [9, 13]
Generated Node #0,2,0: 22:[9, 13] Operation: 56-43=13
Exploring Operation: 56-9=47, Resulting Numbers: [43, 47]
Generated Node #0,2,1: 22:[43, 47] Operation: 56-9=47
Exploring Operation: 43-9=34, Resulting Numbers: [56, 34]
Generated Node #0,2,2: 22:[56, 34] Operation: 43-9=34
Moving to Node #0,0
Current State: 22:[43, 91, 26], Operations: ['82-56=26']
Exploring Operation: 91-26=65, Resulting Numbers: [43, 65]
Generated Node #0,0,0: 22:[43, 65] Operation: 91-26=65
Exploring Operation: 43-26=17, Resulting Numbers: [91, 17]
Generated Node #0,0,1: 22:[91, 17] Operation: 43-26=17
Exploring Operation: 91-43=48, Resulting Numbers: [26, 48]
Generated Node #0,0,2: 22:[26, 48] Operation: 91-43=48
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[26, 48], Operations: ['82-56=26', '91-43=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[82, 43, 56, 91], Operations: []
Exploring Operation: 82-56=26, Resulting Numbers: [43, 91, 26]
Generated Node #0,0: 22:[43, 91, 26] Operation: 82-56=26
Moving to Node #0,0
Current State: 22:[43, 91, 26], Operations: ['82-56=26']
Exploring Operation: 91-43=48, Resulting Numbers: [26, 48]
Generated Node #0,0,2: 22:[26, 48] Operation: 91-43=48
Moving to Node #0,0,2
Current State: 22:[26, 48], Operations: ['82-56=26', '91-43=48']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
64,
54,
87,
33
] | 65 | [
"87-54=33",
"33/33=1",
"64+1=65"
] | Current State: 65:[64, 54, 87, 33], Operations: []
Exploring Operation: 87-54=33, Resulting Numbers: [64, 33, 33]
Generated Node #2: [64, 33, 33] from Operation: 87-54=33
Current State: 65:[64, 33, 33], Operations: ['87-54=33']
Exploring Operation: 33/33=1, Resulting Numbers: [64, 1]
Generated Node #3: [64, 1] from Operation: 33/33=1
Current State: 65:[64, 1], Operations: ['87-54=33', '33/33=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[64, 54, 87, 33], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [87, 33, 10]
Generated Node #0,0: 65:[87, 33, 10] Operation: 64-54=10
Exploring Operation: 87-64=23, Resulting Numbers: [54, 33, 23]
Generated Node #0,1: 65:[54, 33, 23] Operation: 87-64=23
Exploring Operation: 87-54=33, Resulting Numbers: [64, 33, 33]
Generated Node #0,2: 65:[64, 33, 33] Operation: 87-54=33
Exploring Operation: 54-33=21, Resulting Numbers: [64, 87, 21]
Generated Node #0,3: 65:[64, 87, 21] Operation: 54-33=21
Exploring Operation: 87-33=54, Resulting Numbers: [64, 54, 54]
Generated Node #0,4: 65:[64, 54, 54] Operation: 87-33=54
Moving to Node #0,4
Current State: 65:[64, 54, 54], Operations: ['87-33=54']
Exploring Operation: 54/54=1, Resulting Numbers: [64, 1]
Generated Node #0,4,0: 65:[64, 1] Operation: 54/54=1
Exploring Operation: 54+54=108, Resulting Numbers: [64, 108]
Generated Node #0,4,1: 65:[64, 108] Operation: 54+54=108
Exploring Operation: 54-54=0, Resulting Numbers: [64, 0]
Generated Node #0,4,2: 65:[64, 0] Operation: 54-54=0
Exploring Operation: 64-54=10, Resulting Numbers: [54, 10]
Generated Node #0,4,3: 65:[54, 10] Operation: 64-54=10
Exploring Operation: 64-54=10, Resulting Numbers: [54, 10]
Generated Node #0,4,4: 65:[54, 10] Operation: 64-54=10
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[64, 1], Operations: ['87-33=54', '54/54=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[64, 54, 87, 33], Operations: []
Exploring Operation: 87-33=54, Resulting Numbers: [64, 54, 54]
Generated Node #0,4: 65:[64, 54, 54] Operation: 87-33=54
Moving to Node #0,4
Current State: 65:[64, 54, 54], Operations: ['87-33=54']
Exploring Operation: 54/54=1, Resulting Numbers: [64, 1]
Generated Node #0,4,0: 65:[64, 1] Operation: 54/54=1
Moving to Node #0,4,0
Current State: 65:[64, 1], Operations: ['87-33=54', '54/54=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
15,
98,
4,
54
] | 33 | [
"98-15=83",
"54-4=50",
"83-50=33"
] | Current State: 33:[15, 98, 4, 54], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [4, 54, 83]
Generated Node #2: [4, 54, 83] from Operation: 98-15=83
Current State: 33:[4, 54, 83], Operations: ['98-15=83']
Exploring Operation: 54-4=50, Resulting Numbers: [83, 50]
Generated Node #3: [83, 50] from Operation: 54-4=50
Current State: 33:[83, 50], Operations: ['98-15=83', '54-4=50']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[15, 98, 4, 54], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [15, 54, 94]
Generated Node #0,0: 33:[15, 54, 94] Operation: 98-4=94
Exploring Operation: 98-15=83, Resulting Numbers: [4, 54, 83]
Generated Node #0,1: 33:[4, 54, 83] Operation: 98-15=83
Exploring Operation: 98-54=44, Resulting Numbers: [15, 4, 44]
Generated Node #0,2: 33:[15, 4, 44] Operation: 98-54=44
Exploring Operation: 54-15=39, Resulting Numbers: [98, 4, 39]
Generated Node #0,3: 33:[98, 4, 39] Operation: 54-15=39
Exploring Operation: 15-4=11, Resulting Numbers: [98, 54, 11]
Generated Node #0,4: 33:[98, 54, 11] Operation: 15-4=11
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[15, 4, 44], Operations: ['98-54=44']
Exploring Operation: 15+4=19, Resulting Numbers: [44, 19]
Generated Node #0,2,0: 33:[44, 19] Operation: 15+4=19
Exploring Operation: 15-4=11, Resulting Numbers: [44, 11]
Generated Node #0,2,1: 33:[44, 11] Operation: 15-4=11
Exploring Operation: 44-15=29, Resulting Numbers: [4, 29]
Generated Node #0,2,2: 33:[4, 29] Operation: 44-15=29
Exploring Operation: 44-4=40, Resulting Numbers: [15, 40]
Generated Node #0,2,3: 33:[15, 40] Operation: 44-4=40
Exploring Operation: 44/4=11, Resulting Numbers: [15, 11]
Generated Node #0,2,4: 33:[15, 11] Operation: 44/4=11
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 33:[15, 11], Operations: ['98-54=44', '44/4=11']
Exploring Operation: 15*11=165, Resulting Numbers: [165]
165,33 unequal: No Solution
Exploring Operation: 15+11=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[4, 29], Operations: ['98-54=44', '44-15=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[15, 98, 4, 54], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [15, 4, 44]
Generated Node #0,2: 33:[15, 4, 44] Operation: 98-54=44
Moving to Node #0,2
Current State: 33:[15, 4, 44], Operations: ['98-54=44']
Exploring Operation: 44-15=29, Resulting Numbers: [4, 29]
Generated Node #0,2,2: 33:[4, 29] Operation: 44-15=29
Moving to Node #0,2,2
Current State: 33:[4, 29], Operations: ['98-54=44', '44-15=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
96,
67,
2,
7
] | 45 | [
"96-7=89",
"67*2=134",
"134-89=45"
] | Current State: 45:[96, 67, 2, 7], Operations: []
Exploring Operation: 96-7=89, Resulting Numbers: [67, 2, 89]
Generated Node #2: [67, 2, 89] from Operation: 96-7=89
Current State: 45:[67, 2, 89], Operations: ['96-7=89']
Exploring Operation: 67*2=134, Resulting Numbers: [89, 134]
Generated Node #3: [89, 134] from Operation: 67*2=134
Current State: 45:[89, 134], Operations: ['96-7=89', '67*2=134']
Exploring Operation: 134-89=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[96, 67, 2, 7], Operations: []
Exploring Operation: 96-67=29, Resulting Numbers: [2, 7, 29]
Generated Node #0,0: 45:[2, 7, 29] Operation: 96-67=29
Exploring Operation: 96-7=89, Resulting Numbers: [67, 2, 89]
Generated Node #0,1: 45:[67, 2, 89] Operation: 96-7=89
Exploring Operation: 67-7=60, Resulting Numbers: [96, 2, 60]
Generated Node #0,2: 45:[96, 2, 60] Operation: 67-7=60
Exploring Operation: 96/2=48, Resulting Numbers: [67, 7, 48]
Generated Node #0,3: 45:[67, 7, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[2, 7, 29], Operations: ['96-67=29']
Exploring Operation: 2+7=9, Resulting Numbers: [29, 9]
Generated Node #0,0,0: 45:[29, 9] Operation: 2+7=9
Exploring Operation: 29-7=22, Resulting Numbers: [2, 22]
Generated Node #0,0,1: 45:[2, 22] Operation: 29-7=22
Exploring Operation: 7-2=5, Resulting Numbers: [29, 5]
Generated Node #0,0,2: 45:[29, 5] Operation: 7-2=5
Exploring Operation: 7+29=36, Resulting Numbers: [2, 36]
Generated Node #0,0,3: 45:[2, 36] Operation: 7+29=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[2, 22], Operations: ['96-67=29', '29-7=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[2, 36], Operations: ['96-67=29', '7+29=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[29, 9], Operations: ['96-67=29', '2+7=9']
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,45 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[29, 5], Operations: ['96-67=29', '7-2=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[67, 7, 48], Operations: ['96/2=48']
Exploring Operation: 67-7=60, Resulting Numbers: [48, 60]
Generated Node #0,3,0: 45:[48, 60] Operation: 67-7=60
Exploring Operation: 67+7=74, Resulting Numbers: [48, 74]
Generated Node #0,3,1: 45:[48, 74] Operation: 67+7=74
Exploring Operation: 48-7=41, Resulting Numbers: [67, 41]
Generated Node #0,3,2: 45:[67, 41] Operation: 48-7=41
Exploring Operation: 67-48=19, Resulting Numbers: [7, 19]
Generated Node #0,3,3: 45:[7, 19] Operation: 67-48=19
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 45:[7, 19], Operations: ['96/2=48', '67-48=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,45 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,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,3,0
Current State: 45:[48, 60], Operations: ['96/2=48', '67-7=60']
Exploring Operation: 48*60=2880, Resulting Numbers: [2880]
2880,45 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Exploring Operation: 48+60=108, Resulting Numbers: [108]
108,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,3,2
Current State: 45:[67, 41], Operations: ['96/2=48', '48-7=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,45 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,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,3,1
Current State: 45:[48, 74], Operations: ['96/2=48', '67+7=74']
Exploring Operation: 48*74=3552, Resulting Numbers: [3552]
3552,45 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 48+74=122, Resulting Numbers: [122]
122,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[67, 2, 89], Operations: ['96-7=89']
Exploring Operation: 67-2=65, Resulting Numbers: [89, 65]
Generated Node #0,1,0: 45:[89, 65] Operation: 67-2=65
Exploring Operation: 89-2=87, Resulting Numbers: [67, 87]
Generated Node #0,1,1: 45:[67, 87] Operation: 89-2=87
Exploring Operation: 67+2=69, Resulting Numbers: [89, 69]
Generated Node #0,1,2: 45:[89, 69] Operation: 67+2=69
Exploring Operation: 89-67=22, Resulting Numbers: [2, 22]
Generated Node #0,1,3: 45:[2, 22] Operation: 89-67=22
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 45:[2, 22], Operations: ['96-7=89', '89-67=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,45 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,45 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,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:[89, 65], Operations: ['96-7=89', '67-2=65']
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,45 unequal: No Solution
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,45 unequal: No Solution
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,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,1
Current State: 45:[67, 87], Operations: ['96-7=89', '89-2=87']
Exploring Operation: 67+87=154, Resulting Numbers: [154]
154,45 unequal: No Solution
Exploring Operation: 87-67=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 67*87=5829, Resulting Numbers: [5829]
5829,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:[89, 69], Operations: ['96-7=89', '67+2=69']
Exploring Operation: 89+69=158, Resulting Numbers: [158]
158,45 unequal: No Solution
Exploring Operation: 89-69=20, Resulting Numbers: [20]
20,45 unequal: No Solution
Exploring Operation: 89*69=6141, Resulting Numbers: [6141]
6141,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[96, 2, 60], Operations: ['67-7=60']
Exploring Operation: 96-2=94, Resulting Numbers: [60, 94]
Generated Node #0,2,0: 45:[60, 94] Operation: 96-2=94
Exploring Operation: 96/2=48, Resulting Numbers: [60, 48]
Generated Node #0,2,1: 45:[60, 48] Operation: 96/2=48
Exploring Operation: 60-2=58, Resulting Numbers: [96, 58]
Generated Node #0,2,2: 45:[96, 58] Operation: 60-2=58
Exploring Operation: 96-60=36, Resulting Numbers: [2, 36]
Generated Node #0,2,3: 45:[2, 36] Operation: 96-60=36
Moving to Node #0,2,3
Current State: 45:[2, 36], Operations: ['67-7=60', '96-60=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,45 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[60, 48], Operations: ['67-7=60', '96/2=48']
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,45 unequal: No Solution
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,45 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[96, 58], Operations: ['67-7=60', '60-2=58']
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,45 unequal: No Solution
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[60, 94], Operations: ['67-7=60', '96-2=94']
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,45 unequal: No Solution
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,45 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
35,
4,
84
] | 77 | [
"49*4=196",
"35+84=119",
"196-119=77"
] | Current State: 77:[49, 35, 4, 84], Operations: []
Exploring Operation: 49*4=196, Resulting Numbers: [35, 84, 196]
Generated Node #2: [35, 84, 196] from Operation: 49*4=196
Current State: 77:[35, 84, 196], Operations: ['49*4=196']
Exploring Operation: 35+84=119, Resulting Numbers: [196, 119]
Generated Node #3: [196, 119] from Operation: 35+84=119
Current State: 77:[196, 119], Operations: ['49*4=196', '35+84=119']
Exploring Operation: 196-119=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[49, 35, 4, 84], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [4, 84, 14]
Generated Node #0,0: 77:[4, 84, 14] Operation: 49-35=14
Exploring Operation: 84-49=35, Resulting Numbers: [35, 4, 35]
Generated Node #0,1: 77:[35, 4, 35] Operation: 84-49=35
Exploring Operation: 49+4=53, Resulting Numbers: [35, 84, 53]
Generated Node #0,2: 77:[35, 84, 53] Operation: 49+4=53
Exploring Operation: 49+35=84, Resulting Numbers: [4, 84, 84]
Generated Node #0,3: 77:[4, 84, 84] Operation: 49+35=84
Moving to Node #0,0
Current State: 77:[4, 84, 14], Operations: ['49-35=14']
Exploring Operation: 84-4=80, Resulting Numbers: [14, 80]
Generated Node #0,0,0: 77:[14, 80] Operation: 84-4=80
Exploring Operation: 84-14=70, Resulting Numbers: [4, 70]
Generated Node #0,0,1: 77:[4, 70] Operation: 84-14=70
Exploring Operation: 14-4=10, Resulting Numbers: [84, 10]
Generated Node #0,0,2: 77:[84, 10] Operation: 14-4=10
Exploring Operation: 84/14=6, Resulting Numbers: [4, 6]
Generated Node #0,0,3: 77:[4, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[4, 6], Operations: ['49-35=14', '84/14=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,77 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,77 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[14, 80], Operations: ['49-35=14', '84-4=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 14*80=1120, Resulting Numbers: [1120]
1120,77 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[84, 10], Operations: ['49-35=14', '14-4=10']
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,77 unequal: No Solution
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[4, 70], Operations: ['49-35=14', '84-14=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,77 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,77 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: 77:[4, 84, 84], Operations: ['49+35=84']
Exploring Operation: 84-4=80, Resulting Numbers: [84, 80]
Generated Node #0,3,0: 77:[84, 80] Operation: 84-4=80
Exploring Operation: 84-4=80, Resulting Numbers: [84, 80]
Generated Node #0,3,1: 77:[84, 80] Operation: 84-4=80
Exploring Operation: 84-84=0, Resulting Numbers: [4, 0]
Generated Node #0,3,2: 77:[4, 0] Operation: 84-84=0
Exploring Operation: 84/84=1, Resulting Numbers: [4, 1]
Generated Node #0,3,3: 77:[4, 1] Operation: 84/84=1
Moving to Node #0,1
Current State: 77:[35, 4, 35], Operations: ['84-49=35']
Exploring Operation: 35-35=0, Resulting Numbers: [4, 0]
Generated Node #0,1,0: 77:[4, 0] Operation: 35-35=0
Exploring Operation: 35-4=31, Resulting Numbers: [35, 31]
Generated Node #0,1,1: 77:[35, 31] Operation: 35-4=31
Exploring Operation: 35/35=1, Resulting Numbers: [4, 1]
Generated Node #0,1,2: 77:[4, 1] Operation: 35/35=1
Exploring Operation: 35+35=70, Resulting Numbers: [4, 70]
Generated Node #0,1,3: 77:[4, 70] Operation: 35+35=70
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 77:[4, 1], Operations: ['84-49=35', '35/35=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[4, 0], Operations: ['84-49=35', '35-35=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 77:[4, 70], Operations: ['84-49=35', '35+35=70']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,77 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[35, 31], Operations: ['84-49=35', '35-4=31']
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 77:[35, 84, 53], Operations: ['49+4=53']
Exploring Operation: 53-35=18, Resulting Numbers: [84, 18]
Generated Node #0,2,0: 77:[84, 18] Operation: 53-35=18
Exploring Operation: 84-35=49, Resulting Numbers: [53, 49]
Generated Node #0,2,1: 77:[53, 49] Operation: 84-35=49
Exploring Operation: 35+53=88, Resulting Numbers: [84, 88]
Generated Node #0,2,2: 77:[84, 88] Operation: 35+53=88
Exploring Operation: 84-53=31, Resulting Numbers: [35, 31]
Generated Node #0,2,3: 77:[35, 31] Operation: 84-53=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[84, 18], Operations: ['49+4=53', '53-35=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 84*18=1512, Resulting Numbers: [1512]
1512,77 unequal: No Solution
Exploring Operation: 84+18=102, Resulting Numbers: [102]
102,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[84, 88], Operations: ['49+4=53', '35+53=88']
Exploring Operation: 84+88=172, Resulting Numbers: [172]
172,77 unequal: No Solution
Exploring Operation: 84*88=7392, Resulting Numbers: [7392]
7392,77 unequal: No Solution
Exploring Operation: 88-84=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[35, 31], Operations: ['49+4=53', '84-53=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,77 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,77 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[53, 49], Operations: ['49+4=53', '84-35=49']
Exploring Operation: 53*49=2597, Resulting Numbers: [2597]
2597,77 unequal: No Solution
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 53+49=102, Resulting Numbers: [102]
102,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 77:[4, 1], Operations: ['49+35=84', '84/84=1']
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[84, 80], Operations: ['49+35=84', '84-4=80']
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,77 unequal: No Solution
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,77 unequal: No Solution
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[84, 80], Operations: ['49+35=84', '84-4=80']
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,77 unequal: No Solution
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[4, 0], Operations: ['49+35=84', '84-84=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
13,
97,
58
] | 18 | [
"70-13=57",
"97-58=39",
"57-39=18"
] | Current State: 18:[70, 13, 97, 58], Operations: []
Exploring Operation: 70-13=57, Resulting Numbers: [97, 58, 57]
Generated Node #2: [97, 58, 57] from Operation: 70-13=57
Current State: 18:[97, 58, 57], Operations: ['70-13=57']
Exploring Operation: 97-58=39, Resulting Numbers: [57, 39]
Generated Node #3: [57, 39] from Operation: 97-58=39
Current State: 18:[57, 39], Operations: ['70-13=57', '97-58=39']
Exploring Operation: 57-39=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[70, 13, 97, 58], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [13, 58, 27]
Generated Node #0,0: 18:[13, 58, 27] Operation: 97-70=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[13, 58, 27], Operations: ['97-70=27']
Exploring Operation: 58-27=31, Resulting Numbers: [13, 31]
Generated Node #0,0,0: 18:[13, 31] Operation: 58-27=31
Moving to Node #0,0,0
Current State: 18:[13, 31], Operations: ['97-70=27', '58-27=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[70, 13, 97, 58], Operations: []
Exploring Operation: 97-70=27, Resulting Numbers: [13, 58, 27]
Generated Node #0,0: 18:[13, 58, 27] Operation: 97-70=27
Moving to Node #0,0
Current State: 18:[13, 58, 27], Operations: ['97-70=27']
Exploring Operation: 58-27=31, Resulting Numbers: [13, 31]
Generated Node #0,0,0: 18:[13, 31] Operation: 58-27=31
Moving to Node #0,0,0
Current State: 18:[13, 31], Operations: ['97-70=27', '58-27=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
7,
49,
25,
72
] | 41 | [
"7+49=56",
"25+72=97",
"97-56=41"
] | Current State: 41:[7, 49, 25, 72], Operations: []
Exploring Operation: 7+49=56, Resulting Numbers: [25, 72, 56]
Generated Node #2: [25, 72, 56] from Operation: 7+49=56
Current State: 41:[25, 72, 56], Operations: ['7+49=56']
Exploring Operation: 25+72=97, Resulting Numbers: [56, 97]
Generated Node #3: [56, 97] from Operation: 25+72=97
Current State: 41:[56, 97], Operations: ['7+49=56', '25+72=97']
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 49, 25, 72], Operations: []
Exploring Operation: 7+25=32, Resulting Numbers: [49, 72, 32]
Generated Node #0,0: 41:[49, 72, 32] Operation: 7+25=32
Exploring Operation: 72-7=65, Resulting Numbers: [49, 25, 65]
Generated Node #0,1: 41:[49, 25, 65] Operation: 72-7=65
Exploring Operation: 49-7=42, Resulting Numbers: [25, 72, 42]
Generated Node #0,2: 41:[25, 72, 42] Operation: 49-7=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[49, 72, 32], Operations: ['7+25=32']
Exploring Operation: 72-49=23, Resulting Numbers: [32, 23]
Generated Node #0,0,0: 41:[32, 23] Operation: 72-49=23
Exploring Operation: 72-32=40, Resulting Numbers: [49, 40]
Generated Node #0,0,1: 41:[49, 40] Operation: 72-32=40
Exploring Operation: 49-32=17, Resulting Numbers: [72, 17]
Generated Node #0,0,2: 41:[72, 17] Operation: 49-32=17
Moving to Node #0,0,1
Current State: 41:[49, 40], Operations: ['7+25=32', '72-32=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,41 unequal: No Solution
Moving to Node #0,0,0
Current State: 41:[32, 23], Operations: ['7+25=32', '72-49=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,41 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[72, 17], Operations: ['7+25=32', '49-32=17']
Exploring Operation: 72*17=1224, Resulting Numbers: [1224]
1224,41 unequal: No Solution
Exploring Operation: 72+17=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,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
Current State: 41:[49, 25, 65], Operations: ['72-7=65']
Exploring Operation: 49-25=24, Resulting Numbers: [65, 24]
Generated Node #0,1,0: 41:[65, 24] Operation: 49-25=24
Exploring Operation: 65-25=40, Resulting Numbers: [49, 40]
Generated Node #0,1,1: 41:[49, 40] Operation: 65-25=40
Exploring Operation: 65-49=16, Resulting Numbers: [25, 16]
Generated Node #0,1,2: 41:[25, 16] Operation: 65-49=16
Moving to Node #0,1,1
Current State: 41:[49, 40], Operations: ['72-7=65', '65-25=40']
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,41 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[65, 24], Operations: ['72-7=65', '49-25=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[7, 49, 25, 72], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [49, 25, 65]
Generated Node #0,1: 41:[49, 25, 65] Operation: 72-7=65
Moving to Node #0,1
Current State: 41:[49, 25, 65], Operations: ['72-7=65']
Exploring Operation: 49-25=24, Resulting Numbers: [65, 24]
Generated Node #0,1,0: 41:[65, 24] Operation: 49-25=24
Moving to Node #0,1,0
Current State: 41:[65, 24], Operations: ['72-7=65', '49-25=24']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
8,
23,
30,
82
] | 41 | [
"23-8=15",
"30/15=2",
"82/2=41"
] | Current State: 41:[8, 23, 30, 82], Operations: []
Exploring Operation: 23-8=15, Resulting Numbers: [30, 82, 15]
Generated Node #2: [30, 82, 15] from Operation: 23-8=15
Current State: 41:[30, 82, 15], Operations: ['23-8=15']
Exploring Operation: 30/15=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 30/15=2
Current State: 41:[82, 2], Operations: ['23-8=15', '30/15=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[8, 23, 30, 82], Operations: []
Exploring Operation: 8+23=31, Resulting Numbers: [30, 82, 31]
Generated Node #0,0: 41:[30, 82, 31] Operation: 8+23=31
Exploring Operation: 8+30=38, Resulting Numbers: [23, 82, 38]
Generated Node #0,1: 41:[23, 82, 38] Operation: 8+30=38
Moving to Node #0,0
Current State: 41:[30, 82, 31], Operations: ['8+23=31']
Exploring Operation: 82-30=52, Resulting Numbers: [31, 52]
Generated Node #0,0,0: 41:[31, 52] Operation: 82-30=52
Exploring Operation: 82-31=51, Resulting Numbers: [30, 51]
Generated Node #0,0,1: 41:[30, 51] Operation: 82-31=51
Moving to Node #0,1
Current State: 41:[23, 82, 38], Operations: ['8+30=38']
Exploring Operation: 82-23=59, Resulting Numbers: [38, 59]
Generated Node #0,1,0: 41:[38, 59] Operation: 82-23=59
Exploring Operation: 82-38=44, Resulting Numbers: [23, 44]
Generated Node #0,1,1: 41:[23, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[38, 59], Operations: ['8+30=38', '82-23=59']
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 38+59=97, Resulting Numbers: [97]
97,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,1
Current State: 41:[23, 44], Operations: ['8+30=38', '82-38=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Exploring Operation: 23+44=67, Resulting Numbers: [67]
67,41 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: 41:[31, 52], Operations: ['8+23=31', '82-30=52']
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,41 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[30, 51], Operations: ['8+23=31', '82-31=51']
Exploring Operation: 30+51=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 51-30=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
14,
24,
80,
88
] | 88 | [
"24+88=112",
"112/14=8",
"80+8=88"
] | Current State: 88:[14, 24, 80, 88], Operations: []
Exploring Operation: 24+88=112, Resulting Numbers: [14, 80, 112]
Generated Node #2: [14, 80, 112] from Operation: 24+88=112
Current State: 88:[14, 80, 112], Operations: ['24+88=112']
Exploring Operation: 112/14=8, Resulting Numbers: [80, 8]
Generated Node #3: [80, 8] from Operation: 112/14=8
Current State: 88:[80, 8], Operations: ['24+88=112', '112/14=8']
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[14, 24, 80, 88], Operations: []
Exploring Operation: 24-14=10, Resulting Numbers: [80, 88, 10]
Generated Node #0,0: 88:[80, 88, 10] Operation: 24-14=10
Exploring Operation: 14+80=94, Resulting Numbers: [24, 88, 94]
Generated Node #0,1: 88:[24, 88, 94] Operation: 14+80=94
Exploring Operation: 88-80=8, Resulting Numbers: [14, 24, 8]
Generated Node #0,2: 88:[14, 24, 8] Operation: 88-80=8
Moving to Node #0,2
Current State: 88:[14, 24, 8], Operations: ['88-80=8']
Exploring Operation: 14-8=6, Resulting Numbers: [24, 6]
Generated Node #0,2,0: 88:[24, 6] Operation: 14-8=6
Exploring Operation: 14+8=22, Resulting Numbers: [24, 22]
Generated Node #0,2,1: 88:[24, 22] Operation: 14+8=22
Exploring Operation: 24-14=10, Resulting Numbers: [8, 10]
Generated Node #0,2,2: 88:[8, 10] Operation: 24-14=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[8, 10], Operations: ['88-80=8', '24-14=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[24, 22], Operations: ['88-80=8', '14+8=22']
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 24*22=528, Resulting Numbers: [528]
528,88 unequal: No Solution
Exploring Operation: 24+22=46, Resulting Numbers: [46]
46,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[24, 6], Operations: ['88-80=8', '14-8=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,88 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: 88:[24, 88, 94], Operations: ['14+80=94']
Exploring Operation: 94-88=6, Resulting Numbers: [24, 6]
Generated Node #0,1,0: 88:[24, 6] Operation: 94-88=6
Exploring Operation: 94-24=70, Resulting Numbers: [88, 70]
Generated Node #0,1,1: 88:[88, 70] Operation: 94-24=70
Exploring Operation: 88-24=64, Resulting Numbers: [94, 64]
Generated Node #0,1,2: 88:[94, 64] Operation: 88-24=64
Moving to Node #0,0
Current State: 88:[80, 88, 10], Operations: ['24-14=10']
Exploring Operation: 80+10=90, Resulting Numbers: [88, 90]
Generated Node #0,0,0: 88:[88, 90] Operation: 80+10=90
Exploring Operation: 88-80=8, Resulting Numbers: [10, 8]
Generated Node #0,0,1: 88:[10, 8] Operation: 88-80=8
Exploring Operation: 80/10=8, Resulting Numbers: [88, 8]
Generated Node #0,0,2: 88:[88, 8] Operation: 80/10=8
Moving to Node #0,0,2
Current State: 88:[88, 8], Operations: ['24-14=10', '80/10=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,88 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[10, 8], Operations: ['24-14=10', '88-80=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[88, 90], Operations: ['24-14=10', '80+10=90']
Exploring Operation: 88*90=7920, Resulting Numbers: [7920]
7920,88 unequal: No Solution
Exploring Operation: 90-88=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 88+90=178, Resulting Numbers: [178]
178,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[24, 6], Operations: ['14+80=94', '94-88=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[88, 70], Operations: ['14+80=94', '94-24=70']
Exploring Operation: 88+70=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Exploring Operation: 88-70=18, Resulting Numbers: [18]
18,88 unequal: No Solution
Exploring Operation: 88*70=6160, Resulting Numbers: [6160]
6160,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[94, 64], Operations: ['14+80=94', '88-24=64']
Exploring Operation: 94+64=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 94*64=6016, Resulting Numbers: [6016]
6016,88 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
25,
38,
52,
36
] | 47 | [
"25+38=63",
"52-36=16",
"63-16=47"
] | Current State: 47:[25, 38, 52, 36], Operations: []
Exploring Operation: 25+38=63, Resulting Numbers: [52, 36, 63]
Generated Node #2: [52, 36, 63] from Operation: 25+38=63
Current State: 47:[52, 36, 63], Operations: ['25+38=63']
Exploring Operation: 52-36=16, Resulting Numbers: [63, 16]
Generated Node #3: [63, 16] from Operation: 52-36=16
Current State: 47:[63, 16], Operations: ['25+38=63', '52-36=16']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[25, 38, 52, 36], Operations: []
Exploring Operation: 25+36=61, Resulting Numbers: [38, 52, 61]
Generated Node #0,0: 47:[38, 52, 61] Operation: 25+36=61
Exploring Operation: 25+38=63, Resulting Numbers: [52, 36, 63]
Generated Node #0,1: 47:[52, 36, 63] Operation: 25+38=63
Exploring Operation: 52-25=27, Resulting Numbers: [38, 36, 27]
Generated Node #0,2: 47:[38, 36, 27] Operation: 52-25=27
Moving to Node #0,0
Current State: 47:[38, 52, 61], Operations: ['25+36=61']
Exploring Operation: 61-38=23, Resulting Numbers: [52, 23]
Generated Node #0,0,0: 47:[52, 23] Operation: 61-38=23
Exploring Operation: 52-38=14, Resulting Numbers: [61, 14]
Generated Node #0,0,1: 47:[61, 14] Operation: 52-38=14
Exploring Operation: 61-52=9, Resulting Numbers: [38, 9]
Generated Node #0,0,2: 47:[38, 9] Operation: 61-52=9
Moving to Node #0,1
Current State: 47:[52, 36, 63], Operations: ['25+38=63']
Exploring Operation: 63-36=27, Resulting Numbers: [52, 27]
Generated Node #0,1,0: 47:[52, 27] Operation: 63-36=27
Exploring Operation: 63-52=11, Resulting Numbers: [36, 11]
Generated Node #0,1,1: 47:[36, 11] Operation: 63-52=11
Exploring Operation: 52-36=16, Resulting Numbers: [63, 16]
Generated Node #0,1,2: 47:[63, 16] Operation: 52-36=16
Moving to Node #0,2
Current State: 47:[38, 36, 27], Operations: ['52-25=27']
Exploring Operation: 38+27=65, Resulting Numbers: [36, 65]
Generated Node #0,2,0: 47:[36, 65] Operation: 38+27=65
Exploring Operation: 38+36=74, Resulting Numbers: [27, 74]
Generated Node #0,2,1: 47:[27, 74] Operation: 38+36=74
Exploring Operation: 36+27=63, Resulting Numbers: [38, 63]
Generated Node #0,2,2: 47:[38, 63] Operation: 36+27=63
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[38, 63], Operations: ['52-25=27', '36+27=63']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 38*63=2394, Resulting Numbers: [2394]
2394,47 unequal: No Solution
Exploring Operation: 38+63=101, Resulting Numbers: [101]
101,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:[36, 65], Operations: ['52-25=27', '38+27=65']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 36+65=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 36*65=2340, Resulting Numbers: [2340]
2340,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:[27, 74], Operations: ['52-25=27', '38+36=74']
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,47 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[25, 38, 52, 36], Operations: []
Exploring Operation: 52-25=27, Resulting Numbers: [38, 36, 27]
Generated Node #0,2: 47:[38, 36, 27] Operation: 52-25=27
Moving to Node #0,2
Current State: 47:[38, 36, 27], Operations: ['52-25=27']
Exploring Operation: 38+36=74, Resulting Numbers: [27, 74]
Generated Node #0,2,1: 47:[27, 74] Operation: 38+36=74
Moving to Node #0,2,1
Current State: 47:[27, 74], Operations: ['52-25=27', '38+36=74']
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
40,
41,
53,
49
] | 51 | [
"53-49=4",
"40/4=10",
"41+10=51"
] | Current State: 51:[40, 41, 53, 49], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [40, 41, 4]
Generated Node #2: [40, 41, 4] from Operation: 53-49=4
Current State: 51:[40, 41, 4], Operations: ['53-49=4']
Exploring Operation: 40/4=10, Resulting Numbers: [41, 10]
Generated Node #3: [41, 10] from Operation: 40/4=10
Current State: 51:[41, 10], Operations: ['53-49=4', '40/4=10']
Exploring Operation: 41+10=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[40, 41, 53, 49], Operations: []
Exploring Operation: 41-40=1, Resulting Numbers: [53, 49, 1]
Generated Node #0,0: 51:[53, 49, 1] Operation: 41-40=1
Moving to Node #0,0
Current State: 51:[53, 49, 1], Operations: ['41-40=1']
Exploring Operation: 53-49=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 51:[1, 4] Operation: 53-49=4
Moving to Node #0,0,0
Current State: 51:[1, 4], Operations: ['41-40=1', '53-49=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
67,
16,
45
] | 55 | [
"67-41=26",
"45-16=29",
"26+29=55"
] | Current State: 55:[41, 67, 16, 45], Operations: []
Exploring Operation: 67-41=26, Resulting Numbers: [16, 45, 26]
Generated Node #2: [16, 45, 26] from Operation: 67-41=26
Current State: 55:[16, 45, 26], Operations: ['67-41=26']
Exploring Operation: 45-16=29, Resulting Numbers: [26, 29]
Generated Node #3: [26, 29] from Operation: 45-16=29
Current State: 55:[26, 29], Operations: ['67-41=26', '45-16=29']
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[41, 67, 16, 45], Operations: []
Exploring Operation: 41+16=57, Resulting Numbers: [67, 45, 57]
Generated Node #0,0: 55:[67, 45, 57] Operation: 41+16=57
Exploring Operation: 67-16=51, Resulting Numbers: [41, 45, 51]
Generated Node #0,1: 55:[41, 45, 51] Operation: 67-16=51
Exploring Operation: 45-41=4, Resulting Numbers: [67, 16, 4]
Generated Node #0,2: 55:[67, 16, 4] Operation: 45-41=4
Exploring Operation: 67-41=26, Resulting Numbers: [16, 45, 26]
Generated Node #0,3: 55:[16, 45, 26] Operation: 67-41=26
Moving to Node #0,2
Current State: 55:[67, 16, 4], Operations: ['45-41=4']
Exploring Operation: 67-4=63, Resulting Numbers: [16, 63]
Generated Node #0,2,0: 55:[16, 63] Operation: 67-4=63
Exploring Operation: 16-4=12, Resulting Numbers: [67, 12]
Generated Node #0,2,1: 55:[67, 12] Operation: 16-4=12
Exploring Operation: 67-16=51, Resulting Numbers: [4, 51]
Generated Node #0,2,2: 55:[4, 51] Operation: 67-16=51
Exploring Operation: 16/4=4, Resulting Numbers: [67, 4]
Generated Node #0,2,3: 55:[67, 4] Operation: 16/4=4
Moving to Node #0,0
Current State: 55:[67, 45, 57], Operations: ['41+16=57']
Exploring Operation: 57-45=12, Resulting Numbers: [67, 12]
Generated Node #0,0,0: 55:[67, 12] Operation: 57-45=12
Exploring Operation: 67-57=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 55:[45, 10] Operation: 67-57=10
Exploring Operation: 67+45=112, Resulting Numbers: [57, 112]
Generated Node #0,0,2: 55:[57, 112] Operation: 67+45=112
Exploring Operation: 67-45=22, Resulting Numbers: [57, 22]
Generated Node #0,0,3: 55:[57, 22] Operation: 67-45=22
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[45, 10], Operations: ['41+16=57', '67-57=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[41, 67, 16, 45], Operations: []
Exploring Operation: 41+16=57, Resulting Numbers: [67, 45, 57]
Generated Node #0,0: 55:[67, 45, 57] Operation: 41+16=57
Moving to Node #0,0
Current State: 55:[67, 45, 57], Operations: ['41+16=57']
Exploring Operation: 67-57=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 55:[45, 10] Operation: 67-57=10
Moving to Node #0,0,1
Current State: 55:[45, 10], Operations: ['41+16=57', '67-57=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
78,
5,
84,
1
] | 30 | [
"84-78=6",
"5*1=5",
"6*5=30"
] | Current State: 30:[78, 5, 84, 1], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [5, 1, 6]
Generated Node #2: [5, 1, 6] from Operation: 84-78=6
Current State: 30:[5, 1, 6], Operations: ['84-78=6']
Exploring Operation: 5*1=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 5*1=5
Current State: 30:[6, 5], Operations: ['84-78=6', '5*1=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[78, 5, 84, 1], Operations: []
Exploring Operation: 78-5=73, Resulting Numbers: [84, 1, 73]
Generated Node #0,0: 30:[84, 1, 73] Operation: 78-5=73
Exploring Operation: 84-78=6, Resulting Numbers: [5, 1, 6]
Generated Node #0,1: 30:[5, 1, 6] Operation: 84-78=6
Exploring Operation: 84-5=79, Resulting Numbers: [78, 1, 79]
Generated Node #0,2: 30:[78, 1, 79] Operation: 84-5=79
Moving to Node #0,1
Current State: 30:[5, 1, 6], Operations: ['84-78=6']
Exploring Operation: 5+1=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 30:[6, 6] Operation: 5+1=6
Exploring Operation: 5/1=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 30:[6, 5] Operation: 5/1=5
Exploring Operation: 5*1=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 30:[6, 5] Operation: 5*1=5
Moving to Node #0,0
Current State: 30:[84, 1, 73], Operations: ['78-5=73']
Exploring Operation: 84-1=83, Resulting Numbers: [73, 83]
Generated Node #0,0,0: 30:[73, 83] Operation: 84-1=83
Exploring Operation: 84-73=11, Resulting Numbers: [1, 11]
Generated Node #0,0,1: 30:[1, 11] Operation: 84-73=11
Exploring Operation: 73-1=72, Resulting Numbers: [84, 72]
Generated Node #0,0,2: 30:[84, 72] Operation: 73-1=72
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[1, 11], Operations: ['78-5=73', '84-73=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[73, 83], Operations: ['78-5=73', '84-1=83']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 73*83=6059, Resulting Numbers: [6059]
6059,30 unequal: No Solution
Exploring Operation: 73+83=156, Resulting Numbers: [156]
156,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[84, 72], Operations: ['78-5=73', '73-1=72']
Exploring Operation: 84*72=6048, Resulting Numbers: [6048]
6048,30 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 84+72=156, Resulting Numbers: [156]
156,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:[78, 1, 79], Operations: ['84-5=79']
Exploring Operation: 78-1=77, Resulting Numbers: [79, 77]
Generated Node #0,2,0: 30:[79, 77] Operation: 78-1=77
Exploring Operation: 79-78=1, Resulting Numbers: [1, 1]
Generated Node #0,2,1: 30:[1, 1] Operation: 79-78=1
Exploring Operation: 79-1=78, Resulting Numbers: [78, 78]
Generated Node #0,2,2: 30:[78, 78] Operation: 79-1=78
Moving to Node #0,1,0
Current State: 30:[6, 6], Operations: ['84-78=6', '5+1=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[6, 5], Operations: ['84-78=6', '5*1=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[78, 5, 84, 1], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [5, 1, 6]
Generated Node #0,1: 30:[5, 1, 6] Operation: 84-78=6
Moving to Node #0,1
Current State: 30:[5, 1, 6], Operations: ['84-78=6']
Exploring Operation: 5*1=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 30:[6, 5] Operation: 5*1=5
Moving to Node #0,1,2
Current State: 30:[6, 5], Operations: ['84-78=6', '5*1=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.974826 | hs_3 | sum_heuristic |
[
3,
40,
60,
12
] | 25 | [
"3*60=180",
"180/12=15",
"40-15=25"
] | Current State: 25:[3, 40, 60, 12], Operations: []
Exploring Operation: 3*60=180, Resulting Numbers: [40, 12, 180]
Generated Node #2: [40, 12, 180] from Operation: 3*60=180
Current State: 25:[40, 12, 180], Operations: ['3*60=180']
Exploring Operation: 180/12=15, Resulting Numbers: [40, 15]
Generated Node #3: [40, 15] from Operation: 180/12=15
Current State: 25:[40, 15], Operations: ['3*60=180', '180/12=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[3, 40, 60, 12], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [3, 40, 5]
Generated Node #0,0: 25:[3, 40, 5] Operation: 60/12=5
Exploring Operation: 60-40=20, Resulting Numbers: [3, 12, 20]
Generated Node #0,1: 25:[3, 12, 20] Operation: 60-40=20
Moving to Node #0,1
Current State: 25:[3, 12, 20], Operations: ['60-40=20']
Exploring Operation: 20-12=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 25:[3, 8] Operation: 20-12=8
Exploring Operation: 12/3=4, Resulting Numbers: [20, 4]
Generated Node #0,1,1: 25:[20, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[3, 8], Operations: ['60-40=20', '20-12=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,25 unequal: No Solution
No solution 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: 25:[20, 4], Operations: ['60-40=20', '12/3=4']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,25 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: 25:[3, 40, 5], Operations: ['60/12=5']
Exploring Operation: 40/5=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 25:[3, 8] Operation: 40/5=8
Exploring Operation: 40-3=37, Resulting Numbers: [5, 37]
Generated Node #0,0,1: 25:[5, 37] Operation: 40-3=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[3, 8], Operations: ['60/12=5', '40/5=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,25 unequal: No Solution
No 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: 25:[5, 37], Operations: ['60/12=5', '40-3=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,25 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 |
[
19,
6,
84,
42
] | 75 | [
"19+42=61",
"84/6=14",
"61+14=75"
] | Current State: 75:[19, 6, 84, 42], Operations: []
Exploring Operation: 19+42=61, Resulting Numbers: [6, 84, 61]
Generated Node #2: [6, 84, 61] from Operation: 19+42=61
Current State: 75:[6, 84, 61], Operations: ['19+42=61']
Exploring Operation: 84/6=14, Resulting Numbers: [61, 14]
Generated Node #3: [61, 14] from Operation: 84/6=14
Current State: 75:[61, 14], Operations: ['19+42=61', '84/6=14']
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[19, 6, 84, 42], Operations: []
Exploring Operation: 42-19=23, Resulting Numbers: [6, 84, 23]
Generated Node #0,0: 75:[6, 84, 23] Operation: 42-19=23
Exploring Operation: 84/42=2, Resulting Numbers: [19, 6, 2]
Generated Node #0,1: 75:[19, 6, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[19, 6, 2], Operations: ['84/42=2']
Exploring Operation: 19-6=13, Resulting Numbers: [2, 13]
Generated Node #0,1,0: 75:[2, 13] Operation: 19-6=13
Exploring Operation: 19+6=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 75:[2, 25] Operation: 19+6=25
Moving to Node #0,1,1
Current State: 75:[2, 25], Operations: ['84/42=2', '19+6=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[2, 13], Operations: ['84/42=2', '19-6=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,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,0
Current State: 75:[6, 84, 23], Operations: ['42-19=23']
Exploring Operation: 84-6=78, Resulting Numbers: [23, 78]
Generated Node #0,0,0: 75:[23, 78] Operation: 84-6=78
Exploring Operation: 84/6=14, Resulting Numbers: [23, 14]
Generated Node #0,0,1: 75:[23, 14] Operation: 84/6=14
Moving to Node #0,0,1
Current State: 75:[23, 14], Operations: ['42-19=23', '84/6=14']
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,75 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[23, 78], Operations: ['42-19=23', '84-6=78']
Exploring Operation: 23+78=101, Resulting Numbers: [101]
101,75 unequal: No Solution
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,75 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 |
[
38,
34,
19,
11
] | 57 | [
"38*34=1292",
"1292/19=68",
"68-11=57"
] | Current State: 57:[38, 34, 19, 11], Operations: []
Exploring Operation: 38*34=1292, Resulting Numbers: [19, 11, 1292]
Generated Node #2: [19, 11, 1292] from Operation: 38*34=1292
Current State: 57:[19, 11, 1292], Operations: ['38*34=1292']
Exploring Operation: 1292/19=68, Resulting Numbers: [11, 68]
Generated Node #3: [11, 68] from Operation: 1292/19=68
Current State: 57:[11, 68], Operations: ['38*34=1292', '1292/19=68']
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[38, 34, 19, 11], Operations: []
Exploring Operation: 38-34=4, Resulting Numbers: [19, 11, 4]
Generated Node #0,0: 57:[19, 11, 4] Operation: 38-34=4
Exploring Operation: 38+19=57, Resulting Numbers: [34, 11, 57]
Generated Node #0,1: 57:[34, 11, 57] Operation: 38+19=57
Exploring Operation: 38-19=19, Resulting Numbers: [34, 11, 19]
Generated Node #0,2: 57:[34, 11, 19] Operation: 38-19=19
Exploring Operation: 38+34=72, Resulting Numbers: [19, 11, 72]
Generated Node #0,3: 57:[19, 11, 72] Operation: 38+34=72
Moving to Node #0,0
Current State: 57:[19, 11, 4], Operations: ['38-34=4']
Exploring Operation: 11+4=15, Resulting Numbers: [19, 15]
Generated Node #0,0,0: 57:[19, 15] Operation: 11+4=15
Exploring Operation: 11-4=7, Resulting Numbers: [19, 7]
Generated Node #0,0,1: 57:[19, 7] Operation: 11-4=7
Exploring Operation: 19-11=8, Resulting Numbers: [4, 8]
Generated Node #0,0,2: 57:[4, 8] Operation: 19-11=8
Exploring Operation: 19+11=30, Resulting Numbers: [4, 30]
Generated Node #0,0,3: 57:[4, 30] Operation: 19+11=30
Moving to Node #0,2
Current State: 57:[34, 11, 19], Operations: ['38-19=19']
Exploring Operation: 34-19=15, Resulting Numbers: [11, 15]
Generated Node #0,2,0: 57:[11, 15] Operation: 34-19=15
Exploring Operation: 34-11=23, Resulting Numbers: [19, 23]
Generated Node #0,2,1: 57:[19, 23] Operation: 34-11=23
Exploring Operation: 34+11=45, Resulting Numbers: [19, 45]
Generated Node #0,2,2: 57:[19, 45] Operation: 34+11=45
Exploring Operation: 34+19=53, Resulting Numbers: [11, 53]
Generated Node #0,2,3: 57:[11, 53] Operation: 34+19=53
Moving to Node #0,1
Current State: 57:[34, 11, 57], Operations: ['38+19=57']
Exploring Operation: 34+11=45, Resulting Numbers: [57, 45]
Generated Node #0,1,0: 57:[57, 45] Operation: 34+11=45
Exploring Operation: 34-11=23, Resulting Numbers: [57, 23]
Generated Node #0,1,1: 57:[57, 23] Operation: 34-11=23
Exploring Operation: 11+57=68, Resulting Numbers: [34, 68]
Generated Node #0,1,2: 57:[34, 68] Operation: 11+57=68
Exploring Operation: 57-34=23, Resulting Numbers: [11, 23]
Generated Node #0,1,3: 57:[11, 23] Operation: 57-34=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[57, 23], Operations: ['38+19=57', '34-11=23']
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,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,1,0
Current State: 57:[57, 45], Operations: ['38+19=57', '34+11=45']
Exploring Operation: 57+45=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 57*45=2565, Resulting Numbers: [2565]
2565,57 unequal: No Solution
Exploring Operation: 57-45=12, Resulting Numbers: [12]
12,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,1,3
Current State: 57:[11, 23], Operations: ['38+19=57', '57-34=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,57 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,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,1,2
Current State: 57:[34, 68], Operations: ['38+19=57', '11+57=68']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 34+68=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 34*68=2312, Resulting Numbers: [2312]
2312,57 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: 57:[19, 11, 72], Operations: ['38+34=72']
Exploring Operation: 19+11=30, Resulting Numbers: [72, 30]
Generated Node #0,3,0: 57:[72, 30] Operation: 19+11=30
Exploring Operation: 72-19=53, Resulting Numbers: [11, 53]
Generated Node #0,3,1: 57:[11, 53] Operation: 72-19=53
Exploring Operation: 19-11=8, Resulting Numbers: [72, 8]
Generated Node #0,3,2: 57:[72, 8] Operation: 19-11=8
Exploring Operation: 72-11=61, Resulting Numbers: [19, 61]
Generated Node #0,3,3: 57:[19, 61] Operation: 72-11=61
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[19, 61], Operations: ['38+34=72', '72-11=61']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 19+61=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 19*61=1159, Resulting Numbers: [1159]
1159,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,3,1
Current State: 57:[11, 53], Operations: ['38+34=72', '72-19=53']
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,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,3,2
Current State: 57:[72, 8], Operations: ['38+34=72', '19-11=8']
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,57 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,57 unequal: No Solution
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,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,3,0
Current State: 57:[72, 30], Operations: ['38+34=72', '19+11=30']
Exploring Operation: 72+30=102, Resulting Numbers: [102]
102,57 unequal: No Solution
Exploring Operation: 72*30=2160, Resulting Numbers: [2160]
2160,57 unequal: No Solution
Exploring Operation: 72-30=42, Resulting Numbers: [42]
42,57 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: 57:[19, 15], Operations: ['38-34=4', '11+4=15']
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 19+15=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 19*15=285, Resulting Numbers: [285]
285,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[19, 7], Operations: ['38-34=4', '11-4=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[19, 23], Operations: ['38-19=19', '34-11=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 19*23=437, Resulting Numbers: [437]
437,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[4, 8], Operations: ['38-34=4', '19-11=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 4*8=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[11, 15], Operations: ['38-19=19', '34-19=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,57 unequal: No Solution
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[19, 45], Operations: ['38-19=19', '34+11=45']
Exploring Operation: 19+45=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 19*45=855, Resulting Numbers: [855]
855,57 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[11, 53], Operations: ['38-19=19', '34+19=53']
Exploring Operation: 11*53=583, Resulting Numbers: [583]
583,57 unequal: No Solution
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,57 unequal: No Solution
Exploring Operation: 11+53=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[4, 30], Operations: ['38-34=4', '19+11=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,57 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,57 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,57 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
23,
25,
81,
34
] | 20 | [
"81+34=115",
"115/23=5",
"25-5=20"
] | Current State: 20:[23, 25, 81, 34], Operations: []
Exploring Operation: 81+34=115, Resulting Numbers: [23, 25, 115]
Generated Node #2: [23, 25, 115] from Operation: 81+34=115
Current State: 20:[23, 25, 115], Operations: ['81+34=115']
Exploring Operation: 115/23=5, Resulting Numbers: [25, 5]
Generated Node #3: [25, 5] from Operation: 115/23=5
Current State: 20:[25, 5], Operations: ['81+34=115', '115/23=5']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[23, 25, 81, 34], Operations: []
Exploring Operation: 81-25=56, Resulting Numbers: [23, 34, 56]
Generated Node #0,0: 20:[23, 34, 56] Operation: 81-25=56
Exploring Operation: 81-34=47, Resulting Numbers: [23, 25, 47]
Generated Node #0,1: 20:[23, 25, 47] Operation: 81-34=47
Moving to Node #0,1
Current State: 20:[23, 25, 47], Operations: ['81-34=47']
Exploring Operation: 47-23=24, Resulting Numbers: [25, 24]
Generated Node #0,1,0: 20:[25, 24] Operation: 47-23=24
Exploring Operation: 47-25=22, Resulting Numbers: [23, 22]
Generated Node #0,1,1: 20:[23, 22] Operation: 47-25=22
Moving to Node #0,0
Current State: 20:[23, 34, 56], Operations: ['81-25=56']
Exploring Operation: 56-34=22, Resulting Numbers: [23, 22]
Generated Node #0,0,0: 20:[23, 22] Operation: 56-34=22
Exploring Operation: 56-23=33, Resulting Numbers: [34, 33]
Generated Node #0,0,1: 20:[34, 33] Operation: 56-23=33
Moving to Node #0,1,1
Current State: 20:[23, 22], Operations: ['81-34=47', '47-25=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[23, 22], Operations: ['81-25=56', '56-34=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[25, 24], Operations: ['81-34=47', '47-23=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,20 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[34, 33], Operations: ['81-25=56', '56-23=33']
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,20 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
24,
40,
19,
27
] | 19 | [
"24-19=5",
"40/5=8",
"27-8=19"
] | Current State: 19:[24, 40, 19, 27], Operations: []
Exploring Operation: 24-19=5, Resulting Numbers: [40, 27, 5]
Generated Node #2: [40, 27, 5] from Operation: 24-19=5
Current State: 19:[40, 27, 5], Operations: ['24-19=5']
Exploring Operation: 40/5=8, Resulting Numbers: [27, 8]
Generated Node #3: [27, 8] from Operation: 40/5=8
Current State: 19:[27, 8], Operations: ['24-19=5', '40/5=8']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[24, 40, 19, 27], Operations: []
Exploring Operation: 40-19=21, Resulting Numbers: [24, 27, 21]
Generated Node #0,0: 19:[24, 27, 21] Operation: 40-19=21
Exploring Operation: 40-27=13, Resulting Numbers: [24, 19, 13]
Generated Node #0,1: 19:[24, 19, 13] Operation: 40-27=13
Exploring Operation: 40-24=16, Resulting Numbers: [19, 27, 16]
Generated Node #0,2: 19:[19, 27, 16] Operation: 40-24=16
Exploring Operation: 27-24=3, Resulting Numbers: [40, 19, 3]
Generated Node #0,3: 19:[40, 19, 3] Operation: 27-24=3
Exploring Operation: 27-19=8, Resulting Numbers: [24, 40, 8]
Generated Node #0,4: 19:[24, 40, 8] Operation: 27-19=8
Moving to Node #0,1
Current State: 19:[24, 19, 13], Operations: ['40-27=13']
Exploring Operation: 24-19=5, Resulting Numbers: [13, 5]
Generated Node #0,1,0: 19:[13, 5] Operation: 24-19=5
Exploring Operation: 24-13=11, Resulting Numbers: [19, 11]
Generated Node #0,1,1: 19:[19, 11] Operation: 24-13=11
Exploring Operation: 19+13=32, Resulting Numbers: [24, 32]
Generated Node #0,1,2: 19:[24, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [24, 6]
Generated Node #0,1,3: 19:[24, 6] Operation: 19-13=6
Exploring Operation: 24+13=37, Resulting Numbers: [19, 37]
Generated Node #0,1,4: 19:[19, 37] Operation: 24+13=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[19, 11], Operations: ['40-27=13', '24-13=11']
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,19 unequal: No Solution
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[24, 32], Operations: ['40-27=13', '19+13=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,19 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,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,3
Current State: 19:[24, 6], Operations: ['40-27=13', '19-13=6']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 19:[19, 37], Operations: ['40-27=13', '24+13=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,19 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[13, 5], Operations: ['40-27=13', '24-19=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 13+5=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 19:[19, 27, 16], Operations: ['40-24=16']
Exploring Operation: 19+16=35, Resulting Numbers: [27, 35]
Generated Node #0,2,0: 19:[27, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [27, 3]
Generated Node #0,2,1: 19:[27, 3] Operation: 19-16=3
Exploring Operation: 27+16=43, Resulting Numbers: [19, 43]
Generated Node #0,2,2: 19:[19, 43] Operation: 27+16=43
Exploring Operation: 27-19=8, Resulting Numbers: [16, 8]
Generated Node #0,2,3: 19:[16, 8] Operation: 27-19=8
Exploring Operation: 27-16=11, Resulting Numbers: [19, 11]
Generated Node #0,2,4: 19:[19, 11] Operation: 27-16=11
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 19:[19, 11], Operations: ['40-24=16', '27-16=11']
Exploring Operation: 19+11=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 19*11=209, Resulting Numbers: [209]
209,19 unequal: No Solution
Exploring Operation: 19-11=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[16, 8], Operations: ['40-24=16', '27-19=8']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,19 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[27, 35], Operations: ['40-24=16', '19+16=35']
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,19 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,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,1
Current State: 19:[27, 3], Operations: ['40-24=16', '19-16=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,19 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[19, 43], Operations: ['40-24=16', '27+16=43']
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,19 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,19 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 19:[24, 27, 21], Operations: ['40-19=21']
Exploring Operation: 24+27=51, Resulting Numbers: [21, 51]
Generated Node #0,0,0: 19:[21, 51] Operation: 24+27=51
Exploring Operation: 24+21=45, Resulting Numbers: [27, 45]
Generated Node #0,0,1: 19:[27, 45] Operation: 24+21=45
Exploring Operation: 24-21=3, Resulting Numbers: [27, 3]
Generated Node #0,0,2: 19:[27, 3] Operation: 24-21=3
Exploring Operation: 27-24=3, Resulting Numbers: [21, 3]
Generated Node #0,0,3: 19:[21, 3] Operation: 27-24=3
Exploring Operation: 27-21=6, Resulting Numbers: [24, 6]
Generated Node #0,0,4: 19:[24, 6] Operation: 27-21=6
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[21, 3], Operations: ['40-19=21', '27-24=3']
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[24, 6], Operations: ['40-19=21', '27-21=6']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 24*6=144, Resulting Numbers: [144]
144,19 unequal: No Solution
Exploring Operation: 24+6=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[27, 3], Operations: ['40-19=21', '24-21=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,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:[21, 51], Operations: ['40-19=21', '24+27=51']
Exploring Operation: 21*51=1071, Resulting Numbers: [1071]
1071,19 unequal: No Solution
Exploring Operation: 51-21=30, Resulting Numbers: [30]
30,19 unequal: No Solution
Exploring Operation: 21+51=72, Resulting Numbers: [72]
72,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[27, 45], Operations: ['40-19=21', '24+21=45']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 27*45=1215, Resulting Numbers: [1215]
1215,19 unequal: No Solution
Exploring Operation: 27+45=72, Resulting Numbers: [72]
72,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:[40, 19, 3], Operations: ['27-24=3']
Exploring Operation: 40+3=43, Resulting Numbers: [19, 43]
Generated Node #0,3,0: 19:[19, 43] Operation: 40+3=43
Exploring Operation: 40-3=37, Resulting Numbers: [19, 37]
Generated Node #0,3,1: 19:[19, 37] Operation: 40-3=37
Exploring Operation: 40-19=21, Resulting Numbers: [3, 21]
Generated Node #0,3,2: 19:[3, 21] Operation: 40-19=21
Exploring Operation: 19-3=16, Resulting Numbers: [40, 16]
Generated Node #0,3,3: 19:[40, 16] Operation: 19-3=16
Exploring Operation: 19+3=22, Resulting Numbers: [40, 22]
Generated Node #0,3,4: 19:[40, 22] Operation: 19+3=22
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[19, 37], Operations: ['27-24=3', '40-3=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,19 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[3, 21], Operations: ['27-24=3', '40-19=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,19 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[19, 43], Operations: ['27-24=3', '40+3=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,19 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[40, 16], Operations: ['27-24=3', '19-3=16']
Exploring Operation: 40*16=640, Resulting Numbers: [640]
640,19 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 40+16=56, Resulting Numbers: [56]
56,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[40, 22], Operations: ['27-24=3', '19+3=22']
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 40*22=880, Resulting Numbers: [880]
880,19 unequal: No Solution
Exploring Operation: 40+22=62, Resulting Numbers: [62]
62,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 19:[24, 40, 8], Operations: ['27-19=8']
Exploring Operation: 24+8=32, Resulting Numbers: [40, 32]
Generated Node #0,4,0: 19:[40, 32] Operation: 24+8=32
Exploring Operation: 40/8=5, Resulting Numbers: [24, 5]
Generated Node #0,4,1: 19:[24, 5] Operation: 40/8=5
Exploring Operation: 40-8=32, Resulting Numbers: [24, 32]
Generated Node #0,4,2: 19:[24, 32] Operation: 40-8=32
Exploring Operation: 40-24=16, Resulting Numbers: [8, 16]
Generated Node #0,4,3: 19:[8, 16] Operation: 40-24=16
Exploring Operation: 24-8=16, Resulting Numbers: [40, 16]
Generated Node #0,4,4: 19:[40, 16] Operation: 24-8=16
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 19:[8, 16], Operations: ['27-19=8', '40-24=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 8*16=128, Resulting Numbers: [128]
128,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 19:[24, 32], Operations: ['27-19=8', '40-8=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,19 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 19:[24, 5], Operations: ['27-19=8', '40/8=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,19 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[24, 40, 19, 27], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [24, 40, 8]
Generated Node #0,4: 19:[24, 40, 8] Operation: 27-19=8
Moving to Node #0,4
Current State: 19:[24, 40, 8], Operations: ['27-19=8']
Exploring Operation: 40/8=5, Resulting Numbers: [24, 5]
Generated Node #0,4,1: 19:[24, 5] Operation: 40/8=5
Moving to Node #0,4,1
Current State: 19:[24, 5], Operations: ['27-19=8', '40/8=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.903646 | hs_5 | sum_heuristic |
[
57,
69,
26,
16
] | 22 | [
"69-57=12",
"26-16=10",
"12+10=22"
] | Current State: 22:[57, 69, 26, 16], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [26, 16, 12]
Generated Node #2: [26, 16, 12] from Operation: 69-57=12
Current State: 22:[26, 16, 12], Operations: ['69-57=12']
Exploring Operation: 26-16=10, Resulting Numbers: [12, 10]
Generated Node #3: [12, 10] from Operation: 26-16=10
Current State: 22:[12, 10], Operations: ['69-57=12', '26-16=10']
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[57, 69, 26, 16], Operations: []
Exploring Operation: 57-26=31, Resulting Numbers: [69, 16, 31]
Generated Node #0,0: 22:[69, 16, 31] Operation: 57-26=31
Exploring Operation: 69-57=12, Resulting Numbers: [26, 16, 12]
Generated Node #0,1: 22:[26, 16, 12] Operation: 69-57=12
Moving to Node #0,1
Current State: 22:[26, 16, 12], Operations: ['69-57=12']
Exploring Operation: 16-12=4, Resulting Numbers: [26, 4]
Generated Node #0,1,0: 22:[26, 4] Operation: 16-12=4
Exploring Operation: 26-16=10, Resulting Numbers: [12, 10]
Generated Node #0,1,1: 22:[12, 10] Operation: 26-16=10
Moving to Node #0,0
Current State: 22:[69, 16, 31], Operations: ['57-26=31']
Exploring Operation: 69-16=53, Resulting Numbers: [31, 53]
Generated Node #0,0,0: 22:[31, 53] Operation: 69-16=53
Exploring Operation: 69-31=38, Resulting Numbers: [16, 38]
Generated Node #0,0,1: 22:[16, 38] Operation: 69-31=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 22:[16, 38], Operations: ['57-26=31', '69-31=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[57, 69, 26, 16], Operations: []
Exploring Operation: 57-26=31, Resulting Numbers: [69, 16, 31]
Generated Node #0,0: 22:[69, 16, 31] Operation: 57-26=31
Moving to Node #0,0
Current State: 22:[69, 16, 31], Operations: ['57-26=31']
Exploring Operation: 69-31=38, Resulting Numbers: [16, 38]
Generated Node #0,0,1: 22:[16, 38] Operation: 69-31=38
Moving to Node #0,0,1
Current State: 22:[16, 38], Operations: ['57-26=31', '69-31=38']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
86,
12,
36,
48
] | 88 | [
"36-12=24",
"48/24=2",
"86+2=88"
] | Current State: 88:[86, 12, 36, 48], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [86, 48, 24]
Generated Node #2: [86, 48, 24] from Operation: 36-12=24
Current State: 88:[86, 48, 24], Operations: ['36-12=24']
Exploring Operation: 48/24=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 48/24=2
Current State: 88:[86, 2], Operations: ['36-12=24', '48/24=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[86, 12, 36, 48], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [86, 48, 24]
Generated Node #0,0: 88:[86, 48, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [86, 48, 3]
Generated Node #0,1: 88:[86, 48, 3] Operation: 36/12=3
Exploring Operation: 48-36=12, Resulting Numbers: [86, 12, 12]
Generated Node #0,2: 88:[86, 12, 12] Operation: 48-36=12
Exploring Operation: 36+48=84, Resulting Numbers: [86, 12, 84]
Generated Node #0,3: 88:[86, 12, 84] Operation: 36+48=84
Moving to Node #0,2
Current State: 88:[86, 12, 12], Operations: ['48-36=12']
Exploring Operation: 86+12=98, Resulting Numbers: [12, 98]
Generated Node #0,2,0: 88:[12, 98] Operation: 86+12=98
Exploring Operation: 12-12=0, Resulting Numbers: [86, 0]
Generated Node #0,2,1: 88:[86, 0] Operation: 12-12=0
Exploring Operation: 12+12=24, Resulting Numbers: [86, 24]
Generated Node #0,2,2: 88:[86, 24] Operation: 12+12=24
Exploring Operation: 12/12=1, Resulting Numbers: [86, 1]
Generated Node #0,2,3: 88:[86, 1] Operation: 12/12=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[86, 1], Operations: ['48-36=12', '12/12=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 86+1=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[86, 0], Operations: ['48-36=12', '12-12=0']
Exploring Operation: 86+0=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 86-0=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 86*0=0, Resulting Numbers: [0]
0,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[86, 24], Operations: ['48-36=12', '12+12=24']
Exploring Operation: 86+24=110, Resulting Numbers: [110]
110,88 unequal: No Solution
Exploring Operation: 86-24=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 86*24=2064, Resulting Numbers: [2064]
2064,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[12, 98], Operations: ['48-36=12', '86+12=98']
Exploring Operation: 12*98=1176, Resulting Numbers: [1176]
1176,88 unequal: No Solution
Exploring Operation: 98-12=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 12+98=110, Resulting Numbers: [110]
110,88 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: 88:[86, 12, 84], Operations: ['36+48=84']
Exploring Operation: 84/12=7, Resulting Numbers: [86, 7]
Generated Node #0,3,0: 88:[86, 7] Operation: 84/12=7
Exploring Operation: 12+84=96, Resulting Numbers: [86, 96]
Generated Node #0,3,1: 88:[86, 96] Operation: 12+84=96
Exploring Operation: 86+12=98, Resulting Numbers: [84, 98]
Generated Node #0,3,2: 88:[84, 98] Operation: 86+12=98
Exploring Operation: 86-84=2, Resulting Numbers: [12, 2]
Generated Node #0,3,3: 88:[12, 2] Operation: 86-84=2
Moving to Node #0,1
Current State: 88:[86, 48, 3], Operations: ['36/12=3']
Exploring Operation: 86+3=89, Resulting Numbers: [48, 89]
Generated Node #0,1,0: 88:[48, 89] Operation: 86+3=89
Exploring Operation: 86-48=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 88:[3, 38] Operation: 86-48=38
Exploring Operation: 48-3=45, Resulting Numbers: [86, 45]
Generated Node #0,1,2: 88:[86, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [86, 16]
Generated Node #0,1,3: 88:[86, 16] Operation: 48/3=16
Moving to Node #0,0
Current State: 88:[86, 48, 24], Operations: ['36-12=24']
Exploring Operation: 86-48=38, Resulting Numbers: [24, 38]
Generated Node #0,0,0: 88:[24, 38] Operation: 86-48=38
Exploring Operation: 48/24=2, Resulting Numbers: [86, 2]
Generated Node #0,0,1: 88:[86, 2] Operation: 48/24=2
Exploring Operation: 48-24=24, Resulting Numbers: [86, 24]
Generated Node #0,0,2: 88:[86, 24] Operation: 48-24=24
Exploring Operation: 48+24=72, Resulting Numbers: [86, 72]
Generated Node #0,0,3: 88:[86, 72] Operation: 48+24=72
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[86, 2], Operations: ['36-12=24', '48/24=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[86, 12, 36, 48], Operations: []
Exploring Operation: 36-12=24, Resulting Numbers: [86, 48, 24]
Generated Node #0,0: 88:[86, 48, 24] Operation: 36-12=24
Moving to Node #0,0
Current State: 88:[86, 48, 24], Operations: ['36-12=24']
Exploring Operation: 48/24=2, Resulting Numbers: [86, 2]
Generated Node #0,0,1: 88:[86, 2] Operation: 48/24=2
Moving to Node #0,0,1
Current State: 88:[86, 2], Operations: ['36-12=24', '48/24=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_4 | mult_heuristic |
[
90,
77,
73,
75
] | 28 | [
"77-75=2",
"90/2=45",
"73-45=28"
] | Current State: 28:[90, 77, 73, 75], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [90, 73, 2]
Generated Node #2: [90, 73, 2] from Operation: 77-75=2
Current State: 28:[90, 73, 2], Operations: ['77-75=2']
Exploring Operation: 90/2=45, Resulting Numbers: [73, 45]
Generated Node #3: [73, 45] from Operation: 90/2=45
Current State: 28:[73, 45], Operations: ['77-75=2', '90/2=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[90, 77, 73, 75], Operations: []
Exploring Operation: 90-75=15, Resulting Numbers: [77, 73, 15]
Generated Node #0,0: 28:[77, 73, 15] Operation: 90-75=15
Exploring Operation: 90-77=13, Resulting Numbers: [73, 75, 13]
Generated Node #0,1: 28:[73, 75, 13] Operation: 90-77=13
Exploring Operation: 90-73=17, Resulting Numbers: [77, 75, 17]
Generated Node #0,2: 28:[77, 75, 17] Operation: 90-73=17
Exploring Operation: 77-75=2, Resulting Numbers: [90, 73, 2]
Generated Node #0,3: 28:[90, 73, 2] Operation: 77-75=2
Moving to Node #0,1
Current State: 28:[73, 75, 13], Operations: ['90-77=13']
Exploring Operation: 75-13=62, Resulting Numbers: [73, 62]
Generated Node #0,1,0: 28:[73, 62] Operation: 75-13=62
Exploring Operation: 73+13=86, Resulting Numbers: [75, 86]
Generated Node #0,1,1: 28:[75, 86] Operation: 73+13=86
Exploring Operation: 73-13=60, Resulting Numbers: [75, 60]
Generated Node #0,1,2: 28:[75, 60] Operation: 73-13=60
Exploring Operation: 75-73=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 28:[13, 2] Operation: 75-73=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 28:[13, 2], Operations: ['90-77=13', '75-73=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution 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: 28:[73, 62], Operations: ['90-77=13', '75-13=62']
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,28 unequal: No Solution
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,28 unequal: No Solution
No solution 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: 28:[75, 60], Operations: ['90-77=13', '73-13=60']
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,28 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,28 unequal: No Solution
No solution 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: 28:[75, 86], Operations: ['90-77=13', '73+13=86']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 75+86=161, Resulting Numbers: [161]
161,28 unequal: No Solution
Exploring Operation: 75*86=6450, Resulting Numbers: [6450]
6450,28 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: 28:[77, 73, 15], Operations: ['90-75=15']
Exploring Operation: 73-15=58, Resulting Numbers: [77, 58]
Generated Node #0,0,0: 28:[77, 58] Operation: 73-15=58
Exploring Operation: 77-15=62, Resulting Numbers: [73, 62]
Generated Node #0,0,1: 28:[73, 62] Operation: 77-15=62
Exploring Operation: 77-73=4, Resulting Numbers: [15, 4]
Generated Node #0,0,2: 28:[15, 4] Operation: 77-73=4
Exploring Operation: 77+15=92, Resulting Numbers: [73, 92]
Generated Node #0,0,3: 28:[73, 92] Operation: 77+15=92
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[15, 4], Operations: ['90-75=15', '77-73=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,28 unequal: No Solution
No 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: 28:[77, 58], Operations: ['90-75=15', '73-15=58']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 77+58=135, Resulting Numbers: [135]
135,28 unequal: No Solution
Exploring Operation: 77*58=4466, Resulting Numbers: [4466]
4466,28 unequal: No Solution
No 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: 28:[73, 62], Operations: ['90-75=15', '77-15=62']
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 73*62=4526, Resulting Numbers: [4526]
4526,28 unequal: No Solution
Exploring Operation: 73+62=135, Resulting Numbers: [135]
135,28 unequal: No Solution
No 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: 28:[73, 92], Operations: ['90-75=15', '77+15=92']
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,28 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,28 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: 28:[77, 75, 17], Operations: ['90-73=17']
Exploring Operation: 75-17=58, Resulting Numbers: [77, 58]
Generated Node #0,2,0: 28:[77, 58] Operation: 75-17=58
Exploring Operation: 77-75=2, Resulting Numbers: [17, 2]
Generated Node #0,2,1: 28:[17, 2] Operation: 77-75=2
Exploring Operation: 77+17=94, Resulting Numbers: [75, 94]
Generated Node #0,2,2: 28:[75, 94] Operation: 77+17=94
Exploring Operation: 77-17=60, Resulting Numbers: [75, 60]
Generated Node #0,2,3: 28:[75, 60] Operation: 77-17=60
Moving to Node #0,3
Current State: 28:[90, 73, 2], Operations: ['77-75=2']
Exploring Operation: 90/2=45, Resulting Numbers: [73, 45]
Generated Node #0,3,0: 28:[73, 45] Operation: 90/2=45
Exploring Operation: 73-2=71, Resulting Numbers: [90, 71]
Generated Node #0,3,1: 28:[90, 71] Operation: 73-2=71
Exploring Operation: 90-2=88, Resulting Numbers: [73, 88]
Generated Node #0,3,2: 28:[73, 88] Operation: 90-2=88
Exploring Operation: 90-73=17, Resulting Numbers: [2, 17]
Generated Node #0,3,3: 28:[2, 17] Operation: 90-73=17
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 28:[2, 17], Operations: ['77-75=2', '90-73=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,28 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No 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: 28:[73, 45], Operations: ['77-75=2', '90/2=45']
Exploring Operation: 73+45=118, Resulting Numbers: [118]
118,28 unequal: No Solution
Exploring Operation: 73*45=3285, Resulting Numbers: [3285]
3285,28 unequal: No Solution
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[90, 77, 73, 75], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [90, 73, 2]
Generated Node #0,3: 28:[90, 73, 2] Operation: 77-75=2
Moving to Node #0,3
Current State: 28:[90, 73, 2], Operations: ['77-75=2']
Exploring Operation: 90/2=45, Resulting Numbers: [73, 45]
Generated Node #0,3,0: 28:[73, 45] Operation: 90/2=45
Moving to Node #0,3,0
Current State: 28:[73, 45], Operations: ['77-75=2', '90/2=45']
Exploring Operation: 73-45=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.953125 | hs_4 | sum_heuristic |
[
32,
22,
36,
12
] | 16 | [
"36-22=14",
"14-12=2",
"32/2=16"
] | Current State: 16:[32, 22, 36, 12], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [32, 12, 14]
Generated Node #2: [32, 12, 14] from Operation: 36-22=14
Current State: 16:[32, 12, 14], Operations: ['36-22=14']
Exploring Operation: 14-12=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 14-12=2
Current State: 16:[32, 2], Operations: ['36-22=14', '14-12=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[32, 22, 36, 12], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [22, 12, 4]
Generated Node #0,0: 16:[22, 12, 4] Operation: 36-32=4
Exploring Operation: 36/12=3, Resulting Numbers: [32, 22, 3]
Generated Node #0,1: 16:[32, 22, 3] Operation: 36/12=3
Exploring Operation: 32-12=20, Resulting Numbers: [22, 36, 20]
Generated Node #0,2: 16:[22, 36, 20] Operation: 32-12=20
Exploring Operation: 32-22=10, Resulting Numbers: [36, 12, 10]
Generated Node #0,3: 16:[36, 12, 10] Operation: 32-22=10
Exploring Operation: 36-22=14, Resulting Numbers: [32, 12, 14]
Generated Node #0,4: 16:[32, 12, 14] Operation: 36-22=14
Moving to Node #0,0
Current State: 16:[22, 12, 4], Operations: ['36-32=4']
Exploring Operation: 22-12=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 16:[4, 10] Operation: 22-12=10
Exploring Operation: 12/4=3, Resulting Numbers: [22, 3]
Generated Node #0,0,1: 16:[22, 3] Operation: 12/4=3
Exploring Operation: 12+4=16, Resulting Numbers: [22, 16]
Generated Node #0,0,2: 16:[22, 16] Operation: 12+4=16
Exploring Operation: 22-4=18, Resulting Numbers: [12, 18]
Generated Node #0,0,3: 16:[12, 18] Operation: 22-4=18
Exploring Operation: 12-4=8, Resulting Numbers: [22, 8]
Generated Node #0,0,4: 16:[22, 8] Operation: 12-4=8
Moving to Node #0,4
Current State: 16:[32, 12, 14], Operations: ['36-22=14']
Exploring Operation: 14-12=2, Resulting Numbers: [32, 2]
Generated Node #0,4,0: 16:[32, 2] Operation: 14-12=2
Exploring Operation: 12+14=26, Resulting Numbers: [32, 26]
Generated Node #0,4,1: 16:[32, 26] Operation: 12+14=26
Exploring Operation: 32-12=20, Resulting Numbers: [14, 20]
Generated Node #0,4,2: 16:[14, 20] Operation: 32-12=20
Exploring Operation: 32+12=44, Resulting Numbers: [14, 44]
Generated Node #0,4,3: 16:[14, 44] Operation: 32+12=44
Exploring Operation: 32-14=18, Resulting Numbers: [12, 18]
Generated Node #0,4,4: 16:[12, 18] Operation: 32-14=18
Moving to Node #0,1
Current State: 16:[32, 22, 3], Operations: ['36/12=3']
Exploring Operation: 32-3=29, Resulting Numbers: [22, 29]
Generated Node #0,1,0: 16:[22, 29] Operation: 32-3=29
Exploring Operation: 22-3=19, Resulting Numbers: [32, 19]
Generated Node #0,1,1: 16:[32, 19] Operation: 22-3=19
Exploring Operation: 32+3=35, Resulting Numbers: [22, 35]
Generated Node #0,1,2: 16:[22, 35] Operation: 32+3=35
Exploring Operation: 32-22=10, Resulting Numbers: [3, 10]
Generated Node #0,1,3: 16:[3, 10] Operation: 32-22=10
Exploring Operation: 22+3=25, Resulting Numbers: [32, 25]
Generated Node #0,1,4: 16:[32, 25] Operation: 22+3=25
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[3, 10], Operations: ['36/12=3', '32-22=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,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,1,0
Current State: 16:[22, 29], Operations: ['36/12=3', '32-3=29']
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,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,1,1
Current State: 16:[32, 19], Operations: ['36/12=3', '22-3=19']
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,16 unequal: No Solution
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,16 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,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,1,2
Current State: 16:[22, 35], Operations: ['36/12=3', '32+3=35']
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,16 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,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,1,4
Current State: 16:[32, 25], Operations: ['36/12=3', '22+3=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,16 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,16 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: 16:[36, 12, 10], Operations: ['32-22=10']
Exploring Operation: 36-10=26, Resulting Numbers: [12, 26]
Generated Node #0,3,0: 16:[12, 26] Operation: 36-10=26
Exploring Operation: 12-10=2, Resulting Numbers: [36, 2]
Generated Node #0,3,1: 16:[36, 2] Operation: 12-10=2
Exploring Operation: 12+10=22, Resulting Numbers: [36, 22]
Generated Node #0,3,2: 16:[36, 22] Operation: 12+10=22
Exploring Operation: 36/12=3, Resulting Numbers: [10, 3]
Generated Node #0,3,3: 16:[10, 3] Operation: 36/12=3
Exploring Operation: 36-12=24, Resulting Numbers: [10, 24]
Generated Node #0,3,4: 16:[10, 24] Operation: 36-12=24
Moving to Node #0,2
Current State: 16:[22, 36, 20], Operations: ['32-12=20']
Exploring Operation: 36-20=16, Resulting Numbers: [22, 16]
Generated Node #0,2,0: 16:[22, 16] Operation: 36-20=16
Exploring Operation: 22+36=58, Resulting Numbers: [20, 58]
Generated Node #0,2,1: 16:[20, 58] Operation: 22+36=58
Exploring Operation: 22-20=2, Resulting Numbers: [36, 2]
Generated Node #0,2,2: 16:[36, 2] Operation: 22-20=2
Exploring Operation: 36-22=14, Resulting Numbers: [20, 14]
Generated Node #0,2,3: 16:[20, 14] Operation: 36-22=14
Exploring Operation: 22+20=42, Resulting Numbers: [36, 42]
Generated Node #0,2,4: 16:[36, 42] Operation: 22+20=42
Moving to Node #0,0,0
Current State: 16:[4, 10], Operations: ['36-32=4', '22-12=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[10, 3], Operations: ['32-22=10', '36/12=3']
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[12, 18], Operations: ['36-32=4', '22-4=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[12, 18], Operations: ['36-22=14', '32-14=18']
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,16 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[14, 20], Operations: ['36-22=14', '32-12=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 14*20=280, Resulting Numbers: [280]
280,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[20, 14], Operations: ['32-12=20', '36-22=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,16 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[22, 16], Operations: ['36-32=4', '12+4=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[22, 8], Operations: ['36-32=4', '12-4=8']
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,16 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[22, 16], Operations: ['32-12=20', '36-20=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,16 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[22, 3], Operations: ['36-32=4', '12/4=3']
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,16 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,3,4
Current State: 16:[10, 24], Operations: ['32-22=10', '36-12=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,16 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[12, 26], Operations: ['32-22=10', '36-10=26']
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,16 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,16 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,4,0
Current State: 16:[32, 2], Operations: ['36-22=14', '14-12=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 32+2=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[32, 22, 36, 12], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [32, 12, 14]
Generated Node #0,4: 16:[32, 12, 14] Operation: 36-22=14
Moving to Node #0,4
Current State: 16:[32, 12, 14], Operations: ['36-22=14']
Exploring Operation: 14-12=2, Resulting Numbers: [32, 2]
Generated Node #0,4,0: 16:[32, 2] Operation: 14-12=2
Moving to Node #0,4,0
Current State: 16:[32, 2], Operations: ['36-22=14', '14-12=2']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 0.923611 | hs_5 | mult_heuristic |
[
14,
72,
74,
63
] | 97 | [
"14+72=86",
"74-63=11",
"86+11=97"
] | Current State: 97:[14, 72, 74, 63], Operations: []
Exploring Operation: 14+72=86, Resulting Numbers: [74, 63, 86]
Generated Node #2: [74, 63, 86] from Operation: 14+72=86
Current State: 97:[74, 63, 86], Operations: ['14+72=86']
Exploring Operation: 74-63=11, Resulting Numbers: [86, 11]
Generated Node #3: [86, 11] from Operation: 74-63=11
Current State: 97:[86, 11], Operations: ['14+72=86', '74-63=11']
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[14, 72, 74, 63], Operations: []
Exploring Operation: 72-14=58, Resulting Numbers: [74, 63, 58]
Generated Node #0,0: 97:[74, 63, 58] Operation: 72-14=58
Exploring Operation: 14+74=88, Resulting Numbers: [72, 63, 88]
Generated Node #0,1: 97:[72, 63, 88] Operation: 14+74=88
Exploring Operation: 14+72=86, Resulting Numbers: [74, 63, 86]
Generated Node #0,2: 97:[74, 63, 86] Operation: 14+72=86
Exploring Operation: 14+63=77, Resulting Numbers: [72, 74, 77]
Generated Node #0,3: 97:[72, 74, 77] Operation: 14+63=77
Moving to Node #0,1
Current State: 97:[72, 63, 88], Operations: ['14+74=88']
Exploring Operation: 72+63=135, Resulting Numbers: [88, 135]
Generated Node #0,1,0: 97:[88, 135] Operation: 72+63=135
Exploring Operation: 72-63=9, Resulting Numbers: [88, 9]
Generated Node #0,1,1: 97:[88, 9] Operation: 72-63=9
Exploring Operation: 63+88=151, Resulting Numbers: [72, 151]
Generated Node #0,1,2: 97:[72, 151] Operation: 63+88=151
Exploring Operation: 72+88=160, Resulting Numbers: [63, 160]
Generated Node #0,1,3: 97:[63, 160] Operation: 72+88=160
Moving to Node #0,3
Current State: 97:[72, 74, 77], Operations: ['14+63=77']
Exploring Operation: 72+74=146, Resulting Numbers: [77, 146]
Generated Node #0,3,0: 97:[77, 146] Operation: 72+74=146
Exploring Operation: 74-72=2, Resulting Numbers: [77, 2]
Generated Node #0,3,1: 97:[77, 2] Operation: 74-72=2
Exploring Operation: 74+77=151, Resulting Numbers: [72, 151]
Generated Node #0,3,2: 97:[72, 151] Operation: 74+77=151
Exploring Operation: 72+77=149, Resulting Numbers: [74, 149]
Generated Node #0,3,3: 97:[74, 149] Operation: 72+77=149
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[77, 146], Operations: ['14+63=77', '72+74=146']
Exploring Operation: 146-77=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 77+146=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 77*146=11242, Resulting Numbers: [11242]
11242,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[74, 149], Operations: ['14+63=77', '72+77=149']
Exploring Operation: 149-74=75, Resulting Numbers: [75]
75,97 unequal: No Solution
Exploring Operation: 74*149=11026, Resulting Numbers: [11026]
11026,97 unequal: No Solution
Exploring Operation: 74+149=223, Resulting Numbers: [223]
223,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[72, 151], Operations: ['14+63=77', '74+77=151']
Exploring Operation: 72+151=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 151-72=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 72*151=10872, Resulting Numbers: [10872]
10872,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[77, 2], Operations: ['14+63=77', '74-72=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,97 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,97 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: 97:[74, 63, 86], Operations: ['14+72=86']
Exploring Operation: 74-63=11, Resulting Numbers: [86, 11]
Generated Node #0,2,0: 97:[86, 11] Operation: 74-63=11
Exploring Operation: 63+86=149, Resulting Numbers: [74, 149]
Generated Node #0,2,1: 97:[74, 149] Operation: 63+86=149
Exploring Operation: 74+86=160, Resulting Numbers: [63, 160]
Generated Node #0,2,2: 97:[63, 160] Operation: 74+86=160
Exploring Operation: 74+63=137, Resulting Numbers: [86, 137]
Generated Node #0,2,3: 97:[86, 137] Operation: 74+63=137
Moving to Node #0,0
Current State: 97:[74, 63, 58], Operations: ['72-14=58']
Exploring Operation: 63+58=121, Resulting Numbers: [74, 121]
Generated Node #0,0,0: 97:[74, 121] Operation: 63+58=121
Exploring Operation: 74+58=132, Resulting Numbers: [63, 132]
Generated Node #0,0,1: 97:[63, 132] Operation: 74+58=132
Exploring Operation: 74+63=137, Resulting Numbers: [58, 137]
Generated Node #0,0,2: 97:[58, 137] Operation: 74+63=137
Exploring Operation: 74-58=16, Resulting Numbers: [63, 16]
Generated Node #0,0,3: 97:[63, 16] Operation: 74-58=16
Moving to Node #0,1,0
Current State: 97:[88, 135], Operations: ['14+74=88', '72+63=135']
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 88+135=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 88*135=11880, Resulting Numbers: [11880]
11880,97 unequal: No Solution
Moving to Node #0,0,0
Current State: 97:[74, 121], Operations: ['72-14=58', '63+58=121']
Exploring Operation: 74+121=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Exploring Operation: 121-74=47, Resulting Numbers: [47]
47,97 unequal: No Solution
Exploring Operation: 74*121=8954, Resulting Numbers: [8954]
8954,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[86, 137], Operations: ['14+72=86', '74+63=137']
Exploring Operation: 137-86=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 86+137=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 86*137=11782, Resulting Numbers: [11782]
11782,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[63, 132], Operations: ['72-14=58', '74+58=132']
Exploring Operation: 63*132=8316, Resulting Numbers: [8316]
8316,97 unequal: No Solution
Exploring Operation: 132-63=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 63+132=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[74, 149], Operations: ['14+72=86', '63+86=149']
Exploring Operation: 149-74=75, Resulting Numbers: [75]
75,97 unequal: No Solution
Exploring Operation: 74+149=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 74*149=11026, Resulting Numbers: [11026]
11026,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[72, 151], Operations: ['14+74=88', '63+88=151']
Exploring Operation: 72+151=223, Resulting Numbers: [223]
223,97 unequal: No Solution
Exploring Operation: 151-72=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 72*151=10872, Resulting Numbers: [10872]
10872,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[58, 137], Operations: ['72-14=58', '74+63=137']
Exploring Operation: 137-58=79, Resulting Numbers: [79]
79,97 unequal: No Solution
Exploring Operation: 58*137=7946, Resulting Numbers: [7946]
7946,97 unequal: No Solution
Exploring Operation: 58+137=195, Resulting Numbers: [195]
195,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[86, 11], Operations: ['14+72=86', '74-63=11']
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,97 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[14, 72, 74, 63], Operations: []
Exploring Operation: 14+72=86, Resulting Numbers: [74, 63, 86]
Generated Node #0,2: 97:[74, 63, 86] Operation: 14+72=86
Moving to Node #0,2
Current State: 97:[74, 63, 86], Operations: ['14+72=86']
Exploring Operation: 74-63=11, Resulting Numbers: [86, 11]
Generated Node #0,2,0: 97:[86, 11] Operation: 74-63=11
Moving to Node #0,2,0
Current State: 97:[86, 11], Operations: ['14+72=86', '74-63=11']
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.948785 | hs_4 | mult_heuristic |
[
94,
55,
11,
64
] | 74 | [
"94+55=149",
"11+64=75",
"149-75=74"
] | Current State: 74:[94, 55, 11, 64], Operations: []
Exploring Operation: 94+55=149, Resulting Numbers: [11, 64, 149]
Generated Node #2: [11, 64, 149] from Operation: 94+55=149
Current State: 74:[11, 64, 149], Operations: ['94+55=149']
Exploring Operation: 11+64=75, Resulting Numbers: [149, 75]
Generated Node #3: [149, 75] from Operation: 11+64=75
Current State: 74:[149, 75], Operations: ['94+55=149', '11+64=75']
Exploring Operation: 149-75=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[94, 55, 11, 64], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [94, 64, 5]
Generated Node #0,0: 74:[94, 64, 5] Operation: 55/11=5
Exploring Operation: 94-55=39, Resulting Numbers: [11, 64, 39]
Generated Node #0,1: 74:[11, 64, 39] Operation: 94-55=39
Exploring Operation: 94-64=30, Resulting Numbers: [55, 11, 30]
Generated Node #0,2: 74:[55, 11, 30] Operation: 94-64=30
Moving to Node #0,1
Current State: 74:[11, 64, 39], Operations: ['94-55=39']
Exploring Operation: 39-11=28, Resulting Numbers: [64, 28]
Generated Node #0,1,0: 74:[64, 28] Operation: 39-11=28
Exploring Operation: 64-11=53, Resulting Numbers: [39, 53]
Generated Node #0,1,1: 74:[39, 53] Operation: 64-11=53
Exploring Operation: 11+64=75, Resulting Numbers: [39, 75]
Generated Node #0,1,2: 74:[39, 75] Operation: 11+64=75
Moving to Node #0,0
Current State: 74:[94, 64, 5], Operations: ['55/11=5']
Exploring Operation: 94-5=89, Resulting Numbers: [64, 89]
Generated Node #0,0,0: 74:[64, 89] Operation: 94-5=89
Exploring Operation: 64+5=69, Resulting Numbers: [94, 69]
Generated Node #0,0,1: 74:[94, 69] Operation: 64+5=69
Exploring Operation: 94-64=30, Resulting Numbers: [5, 30]
Generated Node #0,0,2: 74:[5, 30] Operation: 94-64=30
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[5, 30], Operations: ['55/11=5', '94-64=30']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[64, 89], Operations: ['55/11=5', '94-5=89']
Exploring Operation: 64*89=5696, Resulting Numbers: [5696]
5696,74 unequal: No Solution
Exploring Operation: 64+89=153, Resulting Numbers: [153]
153,74 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[94, 69], Operations: ['55/11=5', '64+5=69']
Exploring Operation: 94*69=6486, Resulting Numbers: [6486]
6486,74 unequal: No Solution
Exploring Operation: 94-69=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 94+69=163, Resulting Numbers: [163]
163,74 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: 74:[55, 11, 30], Operations: ['94-64=30']
Exploring Operation: 55-11=44, Resulting Numbers: [30, 44]
Generated Node #0,2,0: 74:[30, 44] Operation: 55-11=44
Exploring Operation: 55+11=66, Resulting Numbers: [30, 66]
Generated Node #0,2,1: 74:[30, 66] Operation: 55+11=66
Exploring Operation: 55/11=5, Resulting Numbers: [30, 5]
Generated Node #0,2,2: 74:[30, 5] Operation: 55/11=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[30, 5], Operations: ['94-64=30', '55/11=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[30, 44], Operations: ['94-64=30', '55-11=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,74 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[94, 55, 11, 64], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [55, 11, 30]
Generated Node #0,2: 74:[55, 11, 30] Operation: 94-64=30
Moving to Node #0,2
Current State: 74:[55, 11, 30], Operations: ['94-64=30']
Exploring Operation: 55-11=44, Resulting Numbers: [30, 44]
Generated Node #0,2,0: 74:[30, 44] Operation: 55-11=44
Moving to Node #0,2,0
Current State: 74:[30, 44], Operations: ['94-64=30', '55-11=44']
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
57,
55,
40,
59
] | 47 | [
"59-55=4",
"40/4=10",
"57-10=47"
] | Current State: 47:[57, 55, 40, 59], Operations: []
Exploring Operation: 59-55=4, Resulting Numbers: [57, 40, 4]
Generated Node #2: [57, 40, 4] from Operation: 59-55=4
Current State: 47:[57, 40, 4], Operations: ['59-55=4']
Exploring Operation: 40/4=10, Resulting Numbers: [57, 10]
Generated Node #3: [57, 10] from Operation: 40/4=10
Current State: 47:[57, 10], Operations: ['59-55=4', '40/4=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[57, 55, 40, 59], Operations: []
Exploring Operation: 55-40=15, Resulting Numbers: [57, 59, 15]
Generated Node #0,0: 47:[57, 59, 15] Operation: 55-40=15
Exploring Operation: 59-40=19, Resulting Numbers: [57, 55, 19]
Generated Node #0,1: 47:[57, 55, 19] Operation: 59-40=19
Exploring Operation: 57-40=17, Resulting Numbers: [55, 59, 17]
Generated Node #0,2: 47:[55, 59, 17] Operation: 57-40=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[57, 55, 19], Operations: ['59-40=19']
Exploring Operation: 57+19=76, Resulting Numbers: [55, 76]
Generated Node #0,1,0: 47:[55, 76] Operation: 57+19=76
Exploring Operation: 55-19=36, Resulting Numbers: [57, 36]
Generated Node #0,1,1: 47:[57, 36] Operation: 55-19=36
Exploring Operation: 57-19=38, Resulting Numbers: [55, 38]
Generated Node #0,1,2: 47:[55, 38] Operation: 57-19=38
Moving to Node #0,1,2
Current State: 47:[55, 38], Operations: ['59-40=19', '57-19=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[57, 36], Operations: ['59-40=19', '55-19=36']
Exploring Operation: 57-36=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 57+36=93, Resulting Numbers: [93]
93,47 unequal: No Solution
Exploring Operation: 57*36=2052, Resulting Numbers: [2052]
2052,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[55, 76], Operations: ['59-40=19', '57+19=76']
Exploring Operation: 55+76=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 55*76=4180, Resulting Numbers: [4180]
4180,47 unequal: No Solution
Exploring Operation: 76-55=21, Resulting Numbers: [21]
21,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
Current State: 47:[55, 59, 17], Operations: ['57-40=17']
Exploring Operation: 55+17=72, Resulting Numbers: [59, 72]
Generated Node #0,2,0: 47:[59, 72] Operation: 55+17=72
Exploring Operation: 59-17=42, Resulting Numbers: [55, 42]
Generated Node #0,2,1: 47:[55, 42] Operation: 59-17=42
Exploring Operation: 55-17=38, Resulting Numbers: [59, 38]
Generated Node #0,2,2: 47:[59, 38] Operation: 55-17=38
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[55, 42], Operations: ['57-40=17', '59-17=42']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 55*42=2310, Resulting Numbers: [2310]
2310,47 unequal: No Solution
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[59, 38], Operations: ['57-40=17', '55-17=38']
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,47 unequal: No Solution
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,47 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[59, 72], Operations: ['57-40=17', '55+17=72']
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,47 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: 47:[57, 59, 15], Operations: ['55-40=15']
Exploring Operation: 57-15=42, Resulting Numbers: [59, 42]
Generated Node #0,0,0: 47:[59, 42] Operation: 57-15=42
Exploring Operation: 59-15=44, Resulting Numbers: [57, 44]
Generated Node #0,0,1: 47:[57, 44] Operation: 59-15=44
Exploring Operation: 57+15=72, Resulting Numbers: [59, 72]
Generated Node #0,0,2: 47:[59, 72] Operation: 57+15=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[57, 44], Operations: ['55-40=15', '59-15=44']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,47 unequal: No Solution
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[59, 42], Operations: ['55-40=15', '57-15=42']
Exploring Operation: 59*42=2478, Resulting Numbers: [2478]
2478,47 unequal: No Solution
Exploring Operation: 59-42=17, Resulting Numbers: [17]
17,47 unequal: No Solution
Exploring Operation: 59+42=101, Resulting Numbers: [101]
101,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[59, 72], Operations: ['55-40=15', '57+15=72']
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,47 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 |
[
93,
2,
48,
5
] | 18 | [
"93-48=45",
"2*45=90",
"90/5=18"
] | Current State: 18:[93, 2, 48, 5], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [2, 5, 45]
Generated Node #2: [2, 5, 45] from Operation: 93-48=45
Current State: 18:[2, 5, 45], Operations: ['93-48=45']
Exploring Operation: 2*45=90, Resulting Numbers: [5, 90]
Generated Node #3: [5, 90] from Operation: 2*45=90
Current State: 18:[5, 90], Operations: ['93-48=45', '2*45=90']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[93, 2, 48, 5], Operations: []
Exploring Operation: 48-5=43, Resulting Numbers: [93, 2, 43]
Generated Node #0,0: 18:[93, 2, 43] Operation: 48-5=43
Exploring Operation: 93-48=45, Resulting Numbers: [2, 5, 45]
Generated Node #0,1: 18:[2, 5, 45] Operation: 93-48=45
Exploring Operation: 93-5=88, Resulting Numbers: [2, 48, 88]
Generated Node #0,2: 18:[2, 48, 88] Operation: 93-5=88
Exploring Operation: 48/2=24, Resulting Numbers: [93, 5, 24]
Generated Node #0,3: 18:[93, 5, 24] Operation: 48/2=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[2, 5, 45], Operations: ['93-48=45']
Exploring Operation: 45-2=43, Resulting Numbers: [5, 43]
Generated Node #0,1,0: 18:[5, 43] Operation: 45-2=43
Exploring Operation: 5-2=3, Resulting Numbers: [45, 3]
Generated Node #0,1,1: 18:[45, 3] Operation: 5-2=3
Exploring Operation: 45-5=40, Resulting Numbers: [2, 40]
Generated Node #0,1,2: 18:[2, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [2, 9]
Generated Node #0,1,3: 18:[2, 9] Operation: 45/5=9
Moving to Node #0,1,3
Current State: 18:[2, 9], Operations: ['93-48=45', '45/5=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[93, 2, 48, 5], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [2, 5, 45]
Generated Node #0,1: 18:[2, 5, 45] Operation: 93-48=45
Moving to Node #0,1
Current State: 18:[2, 5, 45], Operations: ['93-48=45']
Exploring Operation: 45/5=9, Resulting Numbers: [2, 9]
Generated Node #0,1,3: 18:[2, 9] Operation: 45/5=9
Moving to Node #0,1,3
Current State: 18:[2, 9], Operations: ['93-48=45', '45/5=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
47,
35,
58,
31
] | 50 | [
"35+58=93",
"93/31=3",
"47+3=50"
] | Current State: 50:[47, 35, 58, 31], Operations: []
Exploring Operation: 35+58=93, Resulting Numbers: [47, 31, 93]
Generated Node #2: [47, 31, 93] from Operation: 35+58=93
Current State: 50:[47, 31, 93], Operations: ['35+58=93']
Exploring Operation: 93/31=3, Resulting Numbers: [47, 3]
Generated Node #3: [47, 3] from Operation: 93/31=3
Current State: 50:[47, 3], Operations: ['35+58=93', '93/31=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[47, 35, 58, 31], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [47, 31, 23]
Generated Node #0,0: 50:[47, 31, 23] Operation: 58-35=23
Exploring Operation: 35-31=4, Resulting Numbers: [47, 58, 4]
Generated Node #0,1: 50:[47, 58, 4] Operation: 35-31=4
Exploring Operation: 47-35=12, Resulting Numbers: [58, 31, 12]
Generated Node #0,2: 50:[58, 31, 12] Operation: 47-35=12
Exploring Operation: 58-31=27, Resulting Numbers: [47, 35, 27]
Generated Node #0,3: 50:[47, 35, 27] Operation: 58-31=27
Moving to Node #0,0
Current State: 50:[47, 31, 23], Operations: ['58-35=23']
Exploring Operation: 47-31=16, Resulting Numbers: [23, 16]
Generated Node #0,0,0: 50:[23, 16] Operation: 47-31=16
Exploring Operation: 31-23=8, Resulting Numbers: [47, 8]
Generated Node #0,0,1: 50:[47, 8] Operation: 31-23=8
Exploring Operation: 47-23=24, Resulting Numbers: [31, 24]
Generated Node #0,0,2: 50:[31, 24] Operation: 47-23=24
Exploring Operation: 31+23=54, Resulting Numbers: [47, 54]
Generated Node #0,0,3: 50:[47, 54] Operation: 31+23=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[47, 8], Operations: ['58-35=23', '31-23=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,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,0,2
Current State: 50:[31, 24], Operations: ['58-35=23', '47-23=24']
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,50 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,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,0,3
Current State: 50:[47, 54], Operations: ['58-35=23', '31+23=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,50 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,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,0,0
Current State: 50:[23, 16], Operations: ['58-35=23', '47-31=16']
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,50 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,50 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: 50:[47, 58, 4], Operations: ['35-31=4']
Exploring Operation: 47+4=51, Resulting Numbers: [58, 51]
Generated Node #0,1,0: 50:[58, 51] Operation: 47+4=51
Exploring Operation: 47-4=43, Resulting Numbers: [58, 43]
Generated Node #0,1,1: 50:[58, 43] Operation: 47-4=43
Exploring Operation: 58-4=54, Resulting Numbers: [47, 54]
Generated Node #0,1,2: 50:[47, 54] Operation: 58-4=54
Exploring Operation: 58-47=11, Resulting Numbers: [4, 11]
Generated Node #0,1,3: 50:[4, 11] Operation: 58-47=11
Moving to Node #0,3
Current State: 50:[47, 35, 27], Operations: ['58-31=27']
Exploring Operation: 35+27=62, Resulting Numbers: [47, 62]
Generated Node #0,3,0: 50:[47, 62] Operation: 35+27=62
Exploring Operation: 47-27=20, Resulting Numbers: [35, 20]
Generated Node #0,3,1: 50:[35, 20] Operation: 47-27=20
Exploring Operation: 47-35=12, Resulting Numbers: [27, 12]
Generated Node #0,3,2: 50:[27, 12] Operation: 47-35=12
Exploring Operation: 35-27=8, Resulting Numbers: [47, 8]
Generated Node #0,3,3: 50:[47, 8] Operation: 35-27=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[27, 12], Operations: ['58-31=27', '47-35=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[47, 8], Operations: ['58-31=27', '35-27=8']
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,50 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[47, 62], Operations: ['58-31=27', '35+27=62']
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,50 unequal: No Solution
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[35, 20], Operations: ['58-31=27', '47-27=20']
Exploring Operation: 35+20=55, Resulting Numbers: [55]
55,50 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 35*20=700, Resulting Numbers: [700]
700,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 50:[58, 31, 12], Operations: ['47-35=12']
Exploring Operation: 31+12=43, Resulting Numbers: [58, 43]
Generated Node #0,2,0: 50:[58, 43] Operation: 31+12=43
Exploring Operation: 58-12=46, Resulting Numbers: [31, 46]
Generated Node #0,2,1: 50:[31, 46] Operation: 58-12=46
Exploring Operation: 31-12=19, Resulting Numbers: [58, 19]
Generated Node #0,2,2: 50:[58, 19] Operation: 31-12=19
Exploring Operation: 58-31=27, Resulting Numbers: [12, 27]
Generated Node #0,2,3: 50:[12, 27] Operation: 58-31=27
Moving to Node #0,1,3
Current State: 50:[4, 11], Operations: ['35-31=4', '58-47=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[12, 27], Operations: ['47-35=12', '58-31=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[47, 54], Operations: ['35-31=4', '58-4=54']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 47*54=2538, Resulting Numbers: [2538]
2538,50 unequal: No Solution
Exploring Operation: 47+54=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[58, 51], Operations: ['35-31=4', '47+4=51']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,50 unequal: No Solution
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[31, 46], Operations: ['47-35=12', '58-12=46']
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[58, 19], Operations: ['47-35=12', '31-12=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,50 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[58, 43], Operations: ['35-31=4', '47-4=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,50 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[58, 43], Operations: ['47-35=12', '31+12=43']
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,50 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,50 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
2,
44,
50
] | 10 | [
"6-2=4",
"50-44=6",
"4+6=10"
] | Current State: 10:[6, 2, 44, 50], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [44, 50, 4]
Generated Node #2: [44, 50, 4] from Operation: 6-2=4
Current State: 10:[44, 50, 4], Operations: ['6-2=4']
Exploring Operation: 50-44=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 50-44=6
Current State: 10:[4, 6], Operations: ['6-2=4', '50-44=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[6, 2, 44, 50], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [6, 2, 6]
Generated Node #0,0: 10:[6, 2, 6] Operation: 50-44=6
Exploring Operation: 50/2=25, Resulting Numbers: [6, 44, 25]
Generated Node #0,1: 10:[6, 44, 25] Operation: 50/2=25
Exploring Operation: 44/2=22, Resulting Numbers: [6, 50, 22]
Generated Node #0,2: 10:[6, 50, 22] Operation: 44/2=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[6, 2, 6], Operations: ['50-44=6']
Exploring Operation: 6/6=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 10:[2, 1] Operation: 6/6=1
Exploring Operation: 6-2=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 10:[6, 4] Operation: 6-2=4
Exploring Operation: 6/2=3, Resulting Numbers: [6, 3]
Generated Node #0,0,2: 10:[6, 3] Operation: 6/2=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[2, 1], Operations: ['50-44=6', '6/6=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No 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: 10:[6, 4], Operations: ['50-44=6', '6-2=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[6, 2, 44, 50], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [6, 2, 6]
Generated Node #0,0: 10:[6, 2, 6] Operation: 50-44=6
Moving to Node #0,0
Current State: 10:[6, 2, 6], Operations: ['50-44=6']
Exploring Operation: 6-2=4, Resulting Numbers: [6, 4]
Generated Node #0,0,1: 10:[6, 4] Operation: 6-2=4
Moving to Node #0,0,1
Current State: 10:[6, 4], Operations: ['50-44=6', '6-2=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
85,
53,
50,
25
] | 30 | [
"85-53=32",
"50/25=2",
"32-2=30"
] | Current State: 30:[85, 53, 50, 25], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [50, 25, 32]
Generated Node #2: [50, 25, 32] from Operation: 85-53=32
Current State: 30:[50, 25, 32], Operations: ['85-53=32']
Exploring Operation: 50/25=2, Resulting Numbers: [32, 2]
Generated Node #3: [32, 2] from Operation: 50/25=2
Current State: 30:[32, 2], Operations: ['85-53=32', '50/25=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[85, 53, 50, 25], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [50, 25, 32]
Generated Node #0,0: 30:[50, 25, 32] Operation: 85-53=32
Moving to Node #0,0
Current State: 30:[50, 25, 32], Operations: ['85-53=32']
Exploring Operation: 50/25=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 30:[32, 2] Operation: 50/25=2
Moving to Node #0,0,0
Current State: 30:[32, 2], Operations: ['85-53=32', '50/25=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[85, 53, 50, 25], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [50, 25, 32]
Generated Node #0,0: 30:[50, 25, 32] Operation: 85-53=32
Moving to Node #0,0
Current State: 30:[50, 25, 32], Operations: ['85-53=32']
Exploring Operation: 50/25=2, Resulting Numbers: [32, 2]
Generated Node #0,0,0: 30:[32, 2] Operation: 50/25=2
Moving to Node #0,0,0
Current State: 30:[32, 2], Operations: ['85-53=32', '50/25=2']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
76,
89,
6,
4
] | 28 | [
"89-76=13",
"13-6=7",
"4*7=28"
] | Current State: 28:[76, 89, 6, 4], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [6, 4, 13]
Generated Node #2: [6, 4, 13] from Operation: 89-76=13
Current State: 28:[6, 4, 13], Operations: ['89-76=13']
Exploring Operation: 13-6=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 13-6=7
Current State: 28:[4, 7], Operations: ['89-76=13', '13-6=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[76, 89, 6, 4], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [89, 6, 19]
Generated Node #0,0: 28:[89, 6, 19] Operation: 76/4=19
Exploring Operation: 76-4=72, Resulting Numbers: [89, 6, 72]
Generated Node #0,1: 28:[89, 6, 72] Operation: 76-4=72
Exploring Operation: 89-76=13, Resulting Numbers: [6, 4, 13]
Generated Node #0,2: 28:[6, 4, 13] Operation: 89-76=13
Exploring Operation: 76-6=70, Resulting Numbers: [89, 4, 70]
Generated Node #0,3: 28:[89, 4, 70] Operation: 76-6=70
Exploring Operation: 89-6=83, Resulting Numbers: [76, 4, 83]
Generated Node #0,4: 28:[76, 4, 83] Operation: 89-6=83
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[6, 4, 13], Operations: ['89-76=13']
Exploring Operation: 13-6=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 28:[4, 7] Operation: 13-6=7
Exploring Operation: 4+13=17, Resulting Numbers: [6, 17]
Generated Node #0,2,1: 28:[6, 17] Operation: 4+13=17
Exploring Operation: 13-4=9, Resulting Numbers: [6, 9]
Generated Node #0,2,2: 28:[6, 9] Operation: 13-4=9
Exploring Operation: 6+4=10, Resulting Numbers: [13, 10]
Generated Node #0,2,3: 28:[13, 10] Operation: 6+4=10
Exploring Operation: 6-4=2, Resulting Numbers: [13, 2]
Generated Node #0,2,4: 28:[13, 2] Operation: 6-4=2
Moving to Node #0,2,0
Current State: 28:[4, 7], Operations: ['89-76=13', '13-6=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[76, 89, 6, 4], Operations: []
Exploring Operation: 89-76=13, Resulting Numbers: [6, 4, 13]
Generated Node #0,2: 28:[6, 4, 13] Operation: 89-76=13
Moving to Node #0,2
Current State: 28:[6, 4, 13], Operations: ['89-76=13']
Exploring Operation: 13-6=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 28:[4, 7] Operation: 13-6=7
Moving to Node #0,2,0
Current State: 28:[4, 7], Operations: ['89-76=13', '13-6=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
65,
57,
2,
46
] | 50 | [
"65-57=8",
"8/2=4",
"46+4=50"
] | Current State: 50:[65, 57, 2, 46], Operations: []
Exploring Operation: 65-57=8, Resulting Numbers: [2, 46, 8]
Generated Node #2: [2, 46, 8] from Operation: 65-57=8
Current State: 50:[2, 46, 8], Operations: ['65-57=8']
Exploring Operation: 8/2=4, Resulting Numbers: [46, 4]
Generated Node #3: [46, 4] from Operation: 8/2=4
Current State: 50:[46, 4], Operations: ['65-57=8', '8/2=4']
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[65, 57, 2, 46], Operations: []
Exploring Operation: 57-2=55, Resulting Numbers: [65, 46, 55]
Generated Node #0,0: 50:[65, 46, 55] Operation: 57-2=55
Exploring Operation: 57-46=11, Resulting Numbers: [65, 2, 11]
Generated Node #0,1: 50:[65, 2, 11] Operation: 57-46=11
Exploring Operation: 65-46=19, Resulting Numbers: [57, 2, 19]
Generated Node #0,2: 50:[57, 2, 19] Operation: 65-46=19
Exploring Operation: 65-57=8, Resulting Numbers: [2, 46, 8]
Generated Node #0,3: 50:[2, 46, 8] Operation: 65-57=8
Exploring Operation: 65-2=63, Resulting Numbers: [57, 46, 63]
Generated Node #0,4: 50:[57, 46, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[2, 46, 8], Operations: ['65-57=8']
Exploring Operation: 46/2=23, Resulting Numbers: [8, 23]
Generated Node #0,3,0: 50:[8, 23] Operation: 46/2=23
Exploring Operation: 2+46=48, Resulting Numbers: [8, 48]
Generated Node #0,3,1: 50:[8, 48] Operation: 2+46=48
Exploring Operation: 46+8=54, Resulting Numbers: [2, 54]
Generated Node #0,3,2: 50:[2, 54] Operation: 46+8=54
Exploring Operation: 2+8=10, Resulting Numbers: [46, 10]
Generated Node #0,3,3: 50:[46, 10] Operation: 2+8=10
Exploring Operation: 8-2=6, Resulting Numbers: [46, 6]
Generated Node #0,3,4: 50:[46, 6] Operation: 8-2=6
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[8, 23], Operations: ['65-57=8', '46/2=23']
Exploring Operation: 8*23=184, Resulting Numbers: [184]
184,50 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No 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: 50:[8, 48], Operations: ['65-57=8', '2+46=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,50 unequal: No Solution
No 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: 50:[2, 54], Operations: ['65-57=8', '46+8=54']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,50 unequal: No Solution
No 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: 50:[46, 10], Operations: ['65-57=8', '2+8=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,50 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 50:[46, 6], Operations: ['65-57=8', '8-2=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,50 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,50 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: 50:[57, 2, 19], Operations: ['65-46=19']
Exploring Operation: 19-2=17, Resulting Numbers: [57, 17]
Generated Node #0,2,0: 50:[57, 17] Operation: 19-2=17
Exploring Operation: 57-2=55, Resulting Numbers: [19, 55]
Generated Node #0,2,1: 50:[19, 55] Operation: 57-2=55
Exploring Operation: 2+19=21, Resulting Numbers: [57, 21]
Generated Node #0,2,2: 50:[57, 21] Operation: 2+19=21
Exploring Operation: 57-19=38, Resulting Numbers: [2, 38]
Generated Node #0,2,3: 50:[2, 38] Operation: 57-19=38
Exploring Operation: 57/19=3, Resulting Numbers: [2, 3]
Generated Node #0,2,4: 50:[2, 3] Operation: 57/19=3
Moving to Node #0,2,4
Current State: 50:[2, 3], Operations: ['65-46=19', '57/19=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[57, 21], Operations: ['65-46=19', '2+19=21']
Exploring Operation: 57+21=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 57*21=1197, Resulting Numbers: [1197]
1197,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[19, 55], Operations: ['65-46=19', '57-2=55']
Exploring Operation: 19+55=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 19*55=1045, Resulting Numbers: [1045]
1045,50 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[2, 38], Operations: ['65-46=19', '57-19=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Moving to Node #0,2,0
Current State: 50:[57, 17], Operations: ['65-46=19', '19-2=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,50 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[65, 2, 11], Operations: ['57-46=11']
Exploring Operation: 2+11=13, Resulting Numbers: [65, 13]
Generated Node #0,1,0: 50:[65, 13] Operation: 2+11=13
Exploring Operation: 65-2=63, Resulting Numbers: [11, 63]
Generated Node #0,1,1: 50:[11, 63] Operation: 65-2=63
Exploring Operation: 11-2=9, Resulting Numbers: [65, 9]
Generated Node #0,1,2: 50:[65, 9] Operation: 11-2=9
Exploring Operation: 65+2=67, Resulting Numbers: [11, 67]
Generated Node #0,1,3: 50:[11, 67] Operation: 65+2=67
Exploring Operation: 65-11=54, Resulting Numbers: [2, 54]
Generated Node #0,1,4: 50:[2, 54] Operation: 65-11=54
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 50:[2, 54], Operations: ['57-46=11', '65-11=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,50 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
No 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: 50:[11, 63], Operations: ['57-46=11', '65-2=63']
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,50 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,50 unequal: No Solution
No 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: 50:[65, 9], Operations: ['57-46=11', '11-2=9']
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,50 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,50 unequal: No Solution
No 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: 50:[65, 13], Operations: ['57-46=11', '2+11=13']
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,50 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No 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: 50:[11, 67], Operations: ['57-46=11', '65+2=67']
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,50 unequal: No Solution
Exploring Operation: 11*67=737, Resulting Numbers: [737]
737,50 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: 50:[65, 46, 55], Operations: ['57-2=55']
Exploring Operation: 55-46=9, Resulting Numbers: [65, 9]
Generated Node #0,0,0: 50:[65, 9] Operation: 55-46=9
Exploring Operation: 46+55=101, Resulting Numbers: [65, 101]
Generated Node #0,0,1: 50:[65, 101] Operation: 46+55=101
Exploring Operation: 65+46=111, Resulting Numbers: [55, 111]
Generated Node #0,0,2: 50:[55, 111] Operation: 65+46=111
Exploring Operation: 65-46=19, Resulting Numbers: [55, 19]
Generated Node #0,0,3: 50:[55, 19] Operation: 65-46=19
Exploring Operation: 65-55=10, Resulting Numbers: [46, 10]
Generated Node #0,0,4: 50:[46, 10] Operation: 65-55=10
Moving to Node #0,0,4
Current State: 50:[46, 10], Operations: ['57-2=55', '65-55=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,50 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[55, 19], Operations: ['57-2=55', '65-46=19']
Exploring Operation: 55+19=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 55-19=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 55*19=1045, Resulting Numbers: [1045]
1045,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[65, 9], Operations: ['57-2=55', '55-46=9']
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 65*9=585, Resulting Numbers: [585]
585,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[65, 101], Operations: ['57-2=55', '46+55=101']
Exploring Operation: 101-65=36, Resulting Numbers: [36]
36,50 unequal: No Solution
Exploring Operation: 65+101=166, Resulting Numbers: [166]
166,50 unequal: No Solution
Exploring Operation: 65*101=6565, Resulting Numbers: [6565]
6565,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[55, 111], Operations: ['57-2=55', '65+46=111']
Exploring Operation: 55*111=6105, Resulting Numbers: [6105]
6105,50 unequal: No Solution
Exploring Operation: 55+111=166, Resulting Numbers: [166]
166,50 unequal: No Solution
Exploring Operation: 111-55=56, Resulting Numbers: [56]
56,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
Current State: 50:[57, 46, 63], Operations: ['65-2=63']
Exploring Operation: 57+46=103, Resulting Numbers: [63, 103]
Generated Node #0,4,0: 50:[63, 103] Operation: 57+46=103
Exploring Operation: 63-46=17, Resulting Numbers: [57, 17]
Generated Node #0,4,1: 50:[57, 17] Operation: 63-46=17
Exploring Operation: 46+63=109, Resulting Numbers: [57, 109]
Generated Node #0,4,2: 50:[57, 109] Operation: 46+63=109
Exploring Operation: 63-57=6, Resulting Numbers: [46, 6]
Generated Node #0,4,3: 50:[46, 6] Operation: 63-57=6
Exploring Operation: 57-46=11, Resulting Numbers: [63, 11]
Generated Node #0,4,4: 50:[63, 11] Operation: 57-46=11
Moving to Node #0,4,3
Current State: 50:[46, 6], Operations: ['65-2=63', '63-57=6']
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,50 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[63, 11], Operations: ['65-2=63', '57-46=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,50 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[57, 17], Operations: ['65-2=63', '63-46=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 57+17=74, Resulting Numbers: [74]
74,50 unequal: No Solution
Exploring Operation: 57*17=969, Resulting Numbers: [969]
969,50 unequal: No Solution
Moving to Node #0,4,0
Current State: 50:[63, 103], Operations: ['65-2=63', '57+46=103']
Exploring Operation: 103-63=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 63*103=6489, Resulting Numbers: [6489]
6489,50 unequal: No Solution
Exploring Operation: 63+103=166, Resulting Numbers: [166]
166,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[57, 109], Operations: ['65-2=63', '46+63=109']
Exploring Operation: 109-57=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 57+109=166, Resulting Numbers: [166]
166,50 unequal: No Solution
Exploring Operation: 57*109=6213, Resulting Numbers: [6213]
6213,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
73,
76,
97,
43
] | 95 | [
"73+76=149",
"97-43=54",
"149-54=95"
] | Current State: 95:[73, 76, 97, 43], Operations: []
Exploring Operation: 73+76=149, Resulting Numbers: [97, 43, 149]
Generated Node #2: [97, 43, 149] from Operation: 73+76=149
Current State: 95:[97, 43, 149], Operations: ['73+76=149']
Exploring Operation: 97-43=54, Resulting Numbers: [149, 54]
Generated Node #3: [149, 54] from Operation: 97-43=54
Current State: 95:[149, 54], Operations: ['73+76=149', '97-43=54']
Exploring Operation: 149-54=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[73, 76, 97, 43], Operations: []
Exploring Operation: 73+43=116, Resulting Numbers: [76, 97, 116]
Generated Node #0,0: 95:[76, 97, 116] Operation: 73+43=116
Exploring Operation: 76-43=33, Resulting Numbers: [73, 97, 33]
Generated Node #0,1: 95:[73, 97, 33] Operation: 76-43=33
Exploring Operation: 97-73=24, Resulting Numbers: [76, 43, 24]
Generated Node #0,2: 95:[76, 43, 24] Operation: 97-73=24
Exploring Operation: 73-43=30, Resulting Numbers: [76, 97, 30]
Generated Node #0,3: 95:[76, 97, 30] Operation: 73-43=30
Exploring Operation: 76-73=3, Resulting Numbers: [97, 43, 3]
Generated Node #0,4: 95:[97, 43, 3] Operation: 76-73=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[97, 43, 3], Operations: ['76-73=3']
Exploring Operation: 97-3=94, Resulting Numbers: [43, 94]
Generated Node #0,4,0: 95:[43, 94] Operation: 97-3=94
Exploring Operation: 43-3=40, Resulting Numbers: [97, 40]
Generated Node #0,4,1: 95:[97, 40] Operation: 43-3=40
Exploring Operation: 43+3=46, Resulting Numbers: [97, 46]
Generated Node #0,4,2: 95:[97, 46] Operation: 43+3=46
Exploring Operation: 97+3=100, Resulting Numbers: [43, 100]
Generated Node #0,4,3: 95:[43, 100] Operation: 97+3=100
Exploring Operation: 43*3=129, Resulting Numbers: [97, 129]
Generated Node #0,4,4: 95:[97, 129] Operation: 43*3=129
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 95:[97, 40], Operations: ['76-73=3', '43-3=40']
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,95 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,95 unequal: No Solution
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 95:[43, 94], Operations: ['76-73=3', '97-3=94']
Exploring Operation: 94-43=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 43+94=137, Resulting Numbers: [137]
137,95 unequal: No Solution
Exploring Operation: 43*94=4042, Resulting Numbers: [4042]
4042,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 95:[97, 46], Operations: ['76-73=3', '43+3=46']
Exploring Operation: 97+46=143, Resulting Numbers: [143]
143,95 unequal: No Solution
Exploring Operation: 97*46=4462, Resulting Numbers: [4462]
4462,95 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 95:[43, 100], Operations: ['76-73=3', '97+3=100']
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,95 unequal: No Solution
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,95 unequal: No Solution
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 95:[97, 129], Operations: ['76-73=3', '43*3=129']
Exploring Operation: 129-97=32, Resulting Numbers: [32]
32,95 unequal: No Solution
Exploring Operation: 97+129=226, Resulting Numbers: [226]
226,95 unequal: No Solution
Exploring Operation: 97*129=12513, Resulting Numbers: [12513]
12513,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[76, 97, 30], Operations: ['73-43=30']
Exploring Operation: 76+30=106, Resulting Numbers: [97, 106]
Generated Node #0,3,0: 95:[97, 106] Operation: 76+30=106
Exploring Operation: 76-30=46, Resulting Numbers: [97, 46]
Generated Node #0,3,1: 95:[97, 46] Operation: 76-30=46
Exploring Operation: 97+30=127, Resulting Numbers: [76, 127]
Generated Node #0,3,2: 95:[76, 127] Operation: 97+30=127
Exploring Operation: 97-30=67, Resulting Numbers: [76, 67]
Generated Node #0,3,3: 95:[76, 67] Operation: 97-30=67
Exploring Operation: 97-76=21, Resulting Numbers: [30, 21]
Generated Node #0,3,4: 95:[30, 21] Operation: 97-76=21
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[97, 106], Operations: ['73-43=30', '76+30=106']
Exploring Operation: 97+106=203, Resulting Numbers: [203]
203,95 unequal: No Solution
Exploring Operation: 97*106=10282, Resulting Numbers: [10282]
10282,95 unequal: No Solution
Exploring Operation: 106-97=9, Resulting Numbers: [9]
9,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 95:[30, 21], Operations: ['73-43=30', '97-76=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 95:[97, 46], Operations: ['73-43=30', '76-30=46']
Exploring Operation: 97*46=4462, Resulting Numbers: [4462]
4462,95 unequal: No Solution
Exploring Operation: 97-46=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 97+46=143, Resulting Numbers: [143]
143,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 95:[76, 67], Operations: ['73-43=30', '97-30=67']
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,95 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 95:[76, 127], Operations: ['73-43=30', '97+30=127']
Exploring Operation: 76*127=9652, Resulting Numbers: [9652]
9652,95 unequal: No Solution
Exploring Operation: 76+127=203, Resulting Numbers: [203]
203,95 unequal: No Solution
Exploring Operation: 127-76=51, Resulting Numbers: [51]
51,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[73, 97, 33], Operations: ['76-43=33']
Exploring Operation: 97-33=64, Resulting Numbers: [73, 64]
Generated Node #0,1,0: 95:[73, 64] Operation: 97-33=64
Exploring Operation: 73-33=40, Resulting Numbers: [97, 40]
Generated Node #0,1,1: 95:[97, 40] Operation: 73-33=40
Exploring Operation: 73+33=106, Resulting Numbers: [97, 106]
Generated Node #0,1,2: 95:[97, 106] Operation: 73+33=106
Exploring Operation: 97-73=24, Resulting Numbers: [33, 24]
Generated Node #0,1,3: 95:[33, 24] Operation: 97-73=24
Exploring Operation: 97+33=130, Resulting Numbers: [73, 130]
Generated Node #0,1,4: 95:[73, 130] Operation: 97+33=130
Moving to Node #0,1,2
Current State: 95:[97, 106], Operations: ['76-43=33', '73+33=106']
Exploring Operation: 97+106=203, Resulting Numbers: [203]
203,95 unequal: No Solution
Exploring Operation: 97*106=10282, Resulting Numbers: [10282]
10282,95 unequal: No Solution
Exploring Operation: 106-97=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Moving to Node #0,1,3
Current State: 95:[33, 24], Operations: ['76-43=33', '97-73=24']
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,95 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[97, 40], Operations: ['76-43=33', '73-33=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,95 unequal: No Solution
Exploring Operation: 97*40=3880, Resulting Numbers: [3880]
3880,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[73, 64], Operations: ['76-43=33', '97-33=64']
Exploring Operation: 73*64=4672, Resulting Numbers: [4672]
4672,95 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,95 unequal: No Solution
Moving to Node #0,1,4
Current State: 95:[73, 130], Operations: ['76-43=33', '97+33=130']
Exploring Operation: 73*130=9490, Resulting Numbers: [9490]
9490,95 unequal: No Solution
Exploring Operation: 73+130=203, Resulting Numbers: [203]
203,95 unequal: No Solution
Exploring Operation: 130-73=57, Resulting Numbers: [57]
57,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,0
Current State: 95:[76, 97, 116], Operations: ['73+43=116']
Exploring Operation: 76+97=173, Resulting Numbers: [116, 173]
Generated Node #0,0,0: 95:[116, 173] Operation: 76+97=173
Exploring Operation: 97-76=21, Resulting Numbers: [116, 21]
Generated Node #0,0,1: 95:[116, 21] Operation: 97-76=21
Exploring Operation: 116-76=40, Resulting Numbers: [97, 40]
Generated Node #0,0,2: 95:[97, 40] Operation: 116-76=40
Exploring Operation: 76+116=192, Resulting Numbers: [97, 192]
Generated Node #0,0,3: 95:[97, 192] Operation: 76+116=192
Exploring Operation: 116-97=19, Resulting Numbers: [76, 19]
Generated Node #0,0,4: 95:[76, 19] Operation: 116-97=19
Moving to Node #0,0,4
Current State: 95:[76, 19], Operations: ['73+43=116', '116-97=19']
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,95 unequal: No Solution
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 76*19=1444, Resulting Numbers: [1444]
1444,95 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[73, 76, 97, 43], Operations: []
Exploring Operation: 73+43=116, Resulting Numbers: [76, 97, 116]
Generated Node #0,0: 95:[76, 97, 116] Operation: 73+43=116
Moving to Node #0,0
Current State: 95:[76, 97, 116], Operations: ['73+43=116']
Exploring Operation: 116-97=19, Resulting Numbers: [76, 19]
Generated Node #0,0,4: 95:[76, 19] Operation: 116-97=19
Moving to Node #0,0,4
Current State: 95:[76, 19], Operations: ['73+43=116', '116-97=19']
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.932292 | hs_5 | sum_heuristic |
[
70,
16,
74,
23
] | 92 | [
"74-70=4",
"16*23=368",
"368/4=92"
] | Current State: 92:[70, 16, 74, 23], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [16, 23, 4]
Generated Node #2: [16, 23, 4] from Operation: 74-70=4
Current State: 92:[16, 23, 4], Operations: ['74-70=4']
Exploring Operation: 16*23=368, Resulting Numbers: [4, 368]
Generated Node #3: [4, 368] from Operation: 16*23=368
Current State: 92:[4, 368], Operations: ['74-70=4', '16*23=368']
Exploring Operation: 368/4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[70, 16, 74, 23], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [16, 23, 4]
Generated Node #0,0: 92:[16, 23, 4] Operation: 74-70=4
Exploring Operation: 70+16=86, Resulting Numbers: [74, 23, 86]
Generated Node #0,1: 92:[74, 23, 86] Operation: 70+16=86
Exploring Operation: 16+74=90, Resulting Numbers: [70, 23, 90]
Generated Node #0,2: 92:[70, 23, 90] Operation: 16+74=90
Exploring Operation: 70-16=54, Resulting Numbers: [74, 23, 54]
Generated Node #0,3: 92:[74, 23, 54] Operation: 70-16=54
Moving to Node #0,0
Current State: 92:[16, 23, 4], Operations: ['74-70=4']
Exploring Operation: 23-16=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 92:[4, 7] Operation: 23-16=7
Exploring Operation: 16+4=20, Resulting Numbers: [23, 20]
Generated Node #0,0,1: 92:[23, 20] Operation: 16+4=20
Exploring Operation: 16/4=4, Resulting Numbers: [23, 4]
Generated Node #0,0,2: 92:[23, 4] Operation: 16/4=4
Exploring Operation: 16+23=39, Resulting Numbers: [4, 39]
Generated Node #0,0,3: 92:[4, 39] Operation: 16+23=39
Moving to Node #0,2
Current State: 92:[70, 23, 90], Operations: ['16+74=90']
Exploring Operation: 90-70=20, Resulting Numbers: [23, 20]
Generated Node #0,2,0: 92:[23, 20] Operation: 90-70=20
Exploring Operation: 23+90=113, Resulting Numbers: [70, 113]
Generated Node #0,2,1: 92:[70, 113] Operation: 23+90=113
Exploring Operation: 70-23=47, Resulting Numbers: [90, 47]
Generated Node #0,2,2: 92:[90, 47] Operation: 70-23=47
Exploring Operation: 70+23=93, Resulting Numbers: [90, 93]
Generated Node #0,2,3: 92:[90, 93] Operation: 70+23=93
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[23, 20], Operations: ['16+74=90', '90-70=20']
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,92 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[90, 47], Operations: ['16+74=90', '70-23=47']
Exploring Operation: 90*47=4230, Resulting Numbers: [4230]
4230,92 unequal: No Solution
Exploring Operation: 90+47=137, Resulting Numbers: [137]
137,92 unequal: No Solution
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[90, 93], Operations: ['16+74=90', '70+23=93']
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 90*93=8370, Resulting Numbers: [8370]
8370,92 unequal: No Solution
Exploring Operation: 90+93=183, Resulting Numbers: [183]
183,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[70, 113], Operations: ['16+74=90', '23+90=113']
Exploring Operation: 113-70=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 70+113=183, Resulting Numbers: [183]
183,92 unequal: No Solution
Exploring Operation: 70*113=7910, Resulting Numbers: [7910]
7910,92 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: 92:[74, 23, 86], Operations: ['70+16=86']
Exploring Operation: 74+23=97, Resulting Numbers: [86, 97]
Generated Node #0,1,0: 92:[86, 97] Operation: 74+23=97
Exploring Operation: 74-23=51, Resulting Numbers: [86, 51]
Generated Node #0,1,1: 92:[86, 51] Operation: 74-23=51
Exploring Operation: 86-74=12, Resulting Numbers: [23, 12]
Generated Node #0,1,2: 92:[23, 12] Operation: 86-74=12
Exploring Operation: 23+86=109, Resulting Numbers: [74, 109]
Generated Node #0,1,3: 92:[74, 109] Operation: 23+86=109
Moving to Node #0,3
Current State: 92:[74, 23, 54], Operations: ['70-16=54']
Exploring Operation: 74-23=51, Resulting Numbers: [54, 51]
Generated Node #0,3,0: 92:[54, 51] Operation: 74-23=51
Exploring Operation: 54-23=31, Resulting Numbers: [74, 31]
Generated Node #0,3,1: 92:[74, 31] Operation: 54-23=31
Exploring Operation: 74+23=97, Resulting Numbers: [54, 97]
Generated Node #0,3,2: 92:[54, 97] Operation: 74+23=97
Exploring Operation: 74-54=20, Resulting Numbers: [23, 20]
Generated Node #0,3,3: 92:[23, 20] Operation: 74-54=20
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 92:[23, 20], Operations: ['70-16=54', '74-54=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 92:[54, 51], Operations: ['70-16=54', '74-23=51']
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 92:[54, 97], Operations: ['70-16=54', '74+23=97']
Exploring Operation: 54*97=5238, Resulting Numbers: [5238]
5238,92 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,92 unequal: No Solution
Exploring Operation: 54+97=151, Resulting Numbers: [151]
151,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 92:[74, 31], Operations: ['70-16=54', '54-23=31']
Exploring Operation: 74*31=2294, Resulting Numbers: [2294]
2294,92 unequal: No Solution
Exploring Operation: 74+31=105, Resulting Numbers: [105]
105,92 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 92:[23, 4], Operations: ['74-70=4', '16/4=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[70, 16, 74, 23], Operations: []
Exploring Operation: 74-70=4, Resulting Numbers: [16, 23, 4]
Generated Node #0,0: 92:[16, 23, 4] Operation: 74-70=4
Moving to Node #0,0
Current State: 92:[16, 23, 4], Operations: ['74-70=4']
Exploring Operation: 16/4=4, Resulting Numbers: [23, 4]
Generated Node #0,0,2: 92:[23, 4] Operation: 16/4=4
Moving to Node #0,0,2
Current State: 92:[23, 4], Operations: ['74-70=4', '16/4=4']
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
86,
77,
40,
9
] | 58 | [
"86-77=9",
"40+9=49",
"9+49=58"
] | Current State: 58:[86, 77, 40, 9], Operations: []
Exploring Operation: 86-77=9, Resulting Numbers: [40, 9, 9]
Generated Node #2: [40, 9, 9] from Operation: 86-77=9
Current State: 58:[40, 9, 9], Operations: ['86-77=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,58 equal: Goal Reached
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[86, 77, 40, 9], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [77, 9, 46]
Generated Node #0,0: 58:[77, 9, 46] Operation: 86-40=46
Exploring Operation: 77-40=37, Resulting Numbers: [86, 9, 37]
Generated Node #0,1: 58:[86, 9, 37] Operation: 77-40=37
Exploring Operation: 86-77=9, Resulting Numbers: [40, 9, 9]
Generated Node #0,2: 58:[40, 9, 9] Operation: 86-77=9
Moving to Node #0,2
Current State: 58:[40, 9, 9], Operations: ['86-77=9']
Exploring Operation: 40-9=31, Resulting Numbers: [9, 31]
Generated Node #0,2,0: 58:[9, 31] Operation: 40-9=31
Exploring Operation: 9/9=1, Resulting Numbers: [40, 1]
Generated Node #0,2,1: 58:[40, 1] Operation: 9/9=1
Exploring Operation: 40-9=31, Resulting Numbers: [9, 31]
Generated Node #0,2,2: 58:[9, 31] Operation: 40-9=31
Moving to Node #0,0
Current State: 58:[77, 9, 46], Operations: ['86-40=46']
Exploring Operation: 77-46=31, Resulting Numbers: [9, 31]
Generated Node #0,0,0: 58:[9, 31] Operation: 77-46=31
Exploring Operation: 9+46=55, Resulting Numbers: [77, 55]
Generated Node #0,0,1: 58:[77, 55] Operation: 9+46=55
Exploring Operation: 77-9=68, Resulting Numbers: [46, 68]
Generated Node #0,0,2: 58:[46, 68] Operation: 77-9=68
Moving to Node #0,1
Current State: 58:[86, 9, 37], Operations: ['77-40=37']
Exploring Operation: 86-37=49, Resulting Numbers: [9, 49]
Generated Node #0,1,0: 58:[9, 49] Operation: 86-37=49
Exploring Operation: 86-9=77, Resulting Numbers: [37, 77]
Generated Node #0,1,1: 58:[37, 77] Operation: 86-9=77
Exploring Operation: 37-9=28, Resulting Numbers: [86, 28]
Generated Node #0,1,2: 58:[86, 28] Operation: 37-9=28
Moving to Node #0,2,0
Current State: 58:[9, 31], Operations: ['86-77=9', '40-9=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,58 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[9, 31], Operations: ['86-77=9', '40-9=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,58 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[9, 31], Operations: ['86-40=46', '77-46=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 9+31=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 9*31=279, Resulting Numbers: [279]
279,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[40, 1], Operations: ['86-77=9', '9/9=1']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[9, 49], Operations: ['77-40=37', '86-37=49']
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[86, 77, 40, 9], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [86, 9, 37]
Generated Node #0,1: 58:[86, 9, 37] Operation: 77-40=37
Moving to Node #0,1
Current State: 58:[86, 9, 37], Operations: ['77-40=37']
Exploring Operation: 86-37=49, Resulting Numbers: [9, 49]
Generated Node #0,1,0: 58:[9, 49] Operation: 86-37=49
Moving to Node #0,1,0
Current State: 58:[9, 49], Operations: ['77-40=37', '86-37=49']
Exploring Operation: 9+49=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
88,
42,
35,
3
] | 55 | [
"88+42=130",
"35+130=165",
"165/3=55"
] | Current State: 55:[88, 42, 35, 3], Operations: []
Exploring Operation: 88+42=130, Resulting Numbers: [35, 3, 130]
Generated Node #2: [35, 3, 130] from Operation: 88+42=130
Current State: 55:[35, 3, 130], Operations: ['88+42=130']
Exploring Operation: 35+130=165, Resulting Numbers: [3, 165]
Generated Node #3: [3, 165] from Operation: 35+130=165
Current State: 55:[3, 165], Operations: ['88+42=130', '35+130=165']
Exploring Operation: 165/3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[88, 42, 35, 3], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [88, 3, 7]
Generated Node #0,0: 55:[88, 3, 7] Operation: 42-35=7
Exploring Operation: 42/3=14, Resulting Numbers: [88, 35, 14]
Generated Node #0,1: 55:[88, 35, 14] Operation: 42/3=14
Exploring Operation: 88-42=46, Resulting Numbers: [35, 3, 46]
Generated Node #0,2: 55:[35, 3, 46] Operation: 88-42=46
Exploring Operation: 88-35=53, Resulting Numbers: [42, 3, 53]
Generated Node #0,3: 55:[42, 3, 53] Operation: 88-35=53
Exploring Operation: 42+35=77, Resulting Numbers: [88, 3, 77]
Generated Node #0,4: 55:[88, 3, 77] Operation: 42+35=77
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[42, 3, 53], Operations: ['88-35=53']
Exploring Operation: 42+3=45, Resulting Numbers: [53, 45]
Generated Node #0,3,0: 55:[53, 45] Operation: 42+3=45
Exploring Operation: 3+53=56, Resulting Numbers: [42, 56]
Generated Node #0,3,1: 55:[42, 56] Operation: 3+53=56
Exploring Operation: 42-3=39, Resulting Numbers: [53, 39]
Generated Node #0,3,2: 55:[53, 39] Operation: 42-3=39
Exploring Operation: 53-42=11, Resulting Numbers: [3, 11]
Generated Node #0,3,3: 55:[3, 11] Operation: 53-42=11
Exploring Operation: 42/3=14, Resulting Numbers: [53, 14]
Generated Node #0,3,4: 55:[53, 14] Operation: 42/3=14
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 55:[3, 11], Operations: ['88-35=53', '53-42=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 55:[53, 14], Operations: ['88-35=53', '42/3=14']
Exploring Operation: 53*14=742, Resulting Numbers: [742]
742,55 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,55 unequal: No Solution
No 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: 55:[53, 45], Operations: ['88-35=53', '42+3=45']
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,55 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,55 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,55 unequal: No Solution
No 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: 55:[42, 56], Operations: ['88-35=53', '3+53=56']
Exploring Operation: 42*56=2352, Resulting Numbers: [2352]
2352,55 unequal: No Solution
Exploring Operation: 42+56=98, Resulting Numbers: [98]
98,55 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No 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: 55:[53, 39], Operations: ['88-35=53', '42-3=39']
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,55 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,55 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: 55:[35, 3, 46], Operations: ['88-42=46']
Exploring Operation: 35+3=38, Resulting Numbers: [46, 38]
Generated Node #0,2,0: 55:[46, 38] Operation: 35+3=38
Exploring Operation: 3+46=49, Resulting Numbers: [35, 49]
Generated Node #0,2,1: 55:[35, 49] Operation: 3+46=49
Exploring Operation: 35-3=32, Resulting Numbers: [46, 32]
Generated Node #0,2,2: 55:[46, 32] Operation: 35-3=32
Exploring Operation: 46-35=11, Resulting Numbers: [3, 11]
Generated Node #0,2,3: 55:[3, 11] Operation: 46-35=11
Exploring Operation: 35+46=81, Resulting Numbers: [3, 81]
Generated Node #0,2,4: 55:[3, 81] Operation: 35+46=81
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 55:[3, 11], Operations: ['88-42=46', '46-35=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No 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: 55:[46, 38], Operations: ['88-42=46', '35+3=38']
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 46*38=1748, Resulting Numbers: [1748]
1748,55 unequal: No Solution
No 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: 55:[35, 49], Operations: ['88-42=46', '3+46=49']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 55:[3, 81], Operations: ['88-42=46', '35+46=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 3*81=243, Resulting Numbers: [243]
243,55 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,55 unequal: No Solution
No 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: 55:[46, 32], Operations: ['88-42=46', '35-3=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,55 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: 55:[88, 3, 7], Operations: ['42-35=7']
Exploring Operation: 88+3=91, Resulting Numbers: [7, 91]
Generated Node #0,0,0: 55:[7, 91] Operation: 88+3=91
Exploring Operation: 7-3=4, Resulting Numbers: [88, 4]
Generated Node #0,0,1: 55:[88, 4] Operation: 7-3=4
Exploring Operation: 88-3=85, Resulting Numbers: [7, 85]
Generated Node #0,0,2: 55:[7, 85] Operation: 88-3=85
Exploring Operation: 3+7=10, Resulting Numbers: [88, 10]
Generated Node #0,0,3: 55:[88, 10] Operation: 3+7=10
Exploring Operation: 88-7=81, Resulting Numbers: [3, 81]
Generated Node #0,0,4: 55:[3, 81] Operation: 88-7=81
Moving to Node #0,0,4
Current State: 55:[3, 81], Operations: ['42-35=7', '88-7=81']
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 3*81=243, Resulting Numbers: [243]
243,55 unequal: No Solution
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[7, 85], Operations: ['42-35=7', '88-3=85']
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,55 unequal: No Solution
Exploring Operation: 7+85=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[88, 4], Operations: ['42-35=7', '7-3=4']
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,55 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[88, 10], Operations: ['42-35=7', '3+7=10']
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,55 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,55 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[7, 91], Operations: ['42-35=7', '88+3=91']
Exploring Operation: 7*91=637, Resulting Numbers: [637]
637,55 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 7+91=98, Resulting Numbers: [98]
98,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
Current State: 55:[88, 35, 14], Operations: ['42/3=14']
Exploring Operation: 88-35=53, Resulting Numbers: [14, 53]
Generated Node #0,1,0: 55:[14, 53] Operation: 88-35=53
Exploring Operation: 35-14=21, Resulting Numbers: [88, 21]
Generated Node #0,1,1: 55:[88, 21] Operation: 35-14=21
Exploring Operation: 88-14=74, Resulting Numbers: [35, 74]
Generated Node #0,1,2: 55:[35, 74] Operation: 88-14=74
Exploring Operation: 88+14=102, Resulting Numbers: [35, 102]
Generated Node #0,1,3: 55:[35, 102] Operation: 88+14=102
Exploring Operation: 35+14=49, Resulting Numbers: [88, 49]
Generated Node #0,1,4: 55:[88, 49] Operation: 35+14=49
Moving to Node #0,1,0
Current State: 55:[14, 53], Operations: ['42/3=14', '88-35=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,55 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[88, 49], Operations: ['42/3=14', '35+14=49']
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,55 unequal: No Solution
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[35, 74], Operations: ['42/3=14', '88-14=74']
Exploring Operation: 35+74=109, Resulting Numbers: [109]
109,55 unequal: No Solution
Exploring Operation: 74-35=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 35*74=2590, Resulting Numbers: [2590]
2590,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[88, 21], Operations: ['42/3=14', '35-14=21']
Exploring Operation: 88-21=67, Resulting Numbers: [67]
67,55 unequal: No Solution
Exploring Operation: 88*21=1848, Resulting Numbers: [1848]
1848,55 unequal: No Solution
Exploring Operation: 88+21=109, Resulting Numbers: [109]
109,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[35, 102], Operations: ['42/3=14', '88+14=102']
Exploring Operation: 35*102=3570, Resulting Numbers: [3570]
3570,55 unequal: No Solution
Exploring Operation: 35+102=137, Resulting Numbers: [137]
137,55 unequal: No Solution
Exploring Operation: 102-35=67, Resulting Numbers: [67]
67,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,4
Current State: 55:[88, 3, 77], Operations: ['42+35=77']
Exploring Operation: 88-77=11, Resulting Numbers: [3, 11]
Generated Node #0,4,0: 55:[3, 11] Operation: 88-77=11
Exploring Operation: 88-3=85, Resulting Numbers: [77, 85]
Generated Node #0,4,1: 55:[77, 85] Operation: 88-3=85
Exploring Operation: 77-3=74, Resulting Numbers: [88, 74]
Generated Node #0,4,2: 55:[88, 74] Operation: 77-3=74
Exploring Operation: 88+3=91, Resulting Numbers: [77, 91]
Generated Node #0,4,3: 55:[77, 91] Operation: 88+3=91
Exploring Operation: 3+77=80, Resulting Numbers: [88, 80]
Generated Node #0,4,4: 55:[88, 80] Operation: 3+77=80
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 55:[3, 11], Operations: ['42+35=77', '88-77=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
No 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: 55:[77, 85], Operations: ['42+35=77', '88-3=85']
Exploring Operation: 77*85=6545, Resulting Numbers: [6545]
6545,55 unequal: No Solution
Exploring Operation: 85-77=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 77+85=162, Resulting Numbers: [162]
162,55 unequal: No Solution
No 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: 55:[88, 74], Operations: ['42+35=77', '77-3=74']
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 88+74=162, Resulting Numbers: [162]
162,55 unequal: No Solution
Exploring Operation: 88*74=6512, Resulting Numbers: [6512]
6512,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 55:[77, 91], Operations: ['42+35=77', '88+3=91']
Exploring Operation: 77+91=168, Resulting Numbers: [168]
168,55 unequal: No Solution
Exploring Operation: 91-77=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 77*91=7007, Resulting Numbers: [7007]
7007,55 unequal: No Solution
No 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: 55:[88, 80], Operations: ['42+35=77', '3+77=80']
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 88*80=7040, Resulting Numbers: [7040]
7040,55 unequal: No Solution
Exploring Operation: 88+80=168, Resulting Numbers: [168]
168,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
10,
88,
22,
45
] | 56 | [
"88+22=110",
"110/10=11",
"45+11=56"
] | Current State: 56:[10, 88, 22, 45], Operations: []
Exploring Operation: 88+22=110, Resulting Numbers: [10, 45, 110]
Generated Node #2: [10, 45, 110] from Operation: 88+22=110
Current State: 56:[10, 45, 110], Operations: ['88+22=110']
Exploring Operation: 110/10=11, Resulting Numbers: [45, 11]
Generated Node #3: [45, 11] from Operation: 110/10=11
Current State: 56:[45, 11], Operations: ['88+22=110', '110/10=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[10, 88, 22, 45], Operations: []
Exploring Operation: 88-45=43, Resulting Numbers: [10, 22, 43]
Generated Node #0,0: 56:[10, 22, 43] Operation: 88-45=43
Exploring Operation: 88/22=4, Resulting Numbers: [10, 45, 4]
Generated Node #0,1: 56:[10, 45, 4] Operation: 88/22=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[10, 45, 4], Operations: ['88/22=4']
Exploring Operation: 10+45=55, Resulting Numbers: [4, 55]
Generated Node #0,1,0: 56:[4, 55] Operation: 10+45=55
Exploring Operation: 45-10=35, Resulting Numbers: [4, 35]
Generated Node #0,1,1: 56:[4, 35] Operation: 45-10=35
Moving to Node #0,1,0
Current State: 56:[4, 55], Operations: ['88/22=4', '10+45=55']
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,56 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[4, 35], Operations: ['88/22=4', '45-10=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[10, 22, 43], Operations: ['88-45=43']
Exploring Operation: 43-22=21, Resulting Numbers: [10, 21]
Generated Node #0,0,0: 56:[10, 21] Operation: 43-22=21
Exploring Operation: 10+43=53, Resulting Numbers: [22, 53]
Generated Node #0,0,1: 56:[22, 53] Operation: 10+43=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[10, 21], Operations: ['88-45=43', '43-22=21']
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[22, 53], Operations: ['88-45=43', '10+43=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,56 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
29,
10,
43
] | 36 | [
"10-8=2",
"29+43=72",
"72/2=36"
] | Current State: 36:[8, 29, 10, 43], Operations: []
Exploring Operation: 10-8=2, Resulting Numbers: [29, 43, 2]
Generated Node #2: [29, 43, 2] from Operation: 10-8=2
Current State: 36:[29, 43, 2], Operations: ['10-8=2']
Exploring Operation: 29+43=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 29+43=72
Current State: 36:[2, 72], Operations: ['10-8=2', '29+43=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[8, 29, 10, 43], Operations: []
Exploring Operation: 43-29=14, Resulting Numbers: [8, 10, 14]
Generated Node #0,0: 36:[8, 10, 14] Operation: 43-29=14
Exploring Operation: 43-8=35, Resulting Numbers: [29, 10, 35]
Generated Node #0,1: 36:[29, 10, 35] Operation: 43-8=35
Exploring Operation: 8+29=37, Resulting Numbers: [10, 43, 37]
Generated Node #0,2: 36:[10, 43, 37] Operation: 8+29=37
Moving to Node #0,0
Current State: 36:[8, 10, 14], Operations: ['43-29=14']
Exploring Operation: 14-10=4, Resulting Numbers: [8, 4]
Generated Node #0,0,0: 36:[8, 4] Operation: 14-10=4
Exploring Operation: 8+10=18, Resulting Numbers: [14, 18]
Generated Node #0,0,1: 36:[14, 18] Operation: 8+10=18
Exploring Operation: 14-8=6, Resulting Numbers: [10, 6]
Generated Node #0,0,2: 36:[10, 6] Operation: 14-8=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[8, 4], Operations: ['43-29=14', '14-10=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[10, 6], Operations: ['43-29=14', '14-8=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[14, 18], Operations: ['43-29=14', '8+10=18']
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,36 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 36:[29, 10, 35], Operations: ['43-8=35']
Exploring Operation: 29+10=39, Resulting Numbers: [35, 39]
Generated Node #0,1,0: 36:[35, 39] Operation: 29+10=39
Exploring Operation: 35-29=6, Resulting Numbers: [10, 6]
Generated Node #0,1,1: 36:[10, 6] Operation: 35-29=6
Exploring Operation: 29-10=19, Resulting Numbers: [35, 19]
Generated Node #0,1,2: 36:[35, 19] Operation: 29-10=19
Moving to Node #0,2
Current State: 36:[10, 43, 37], Operations: ['8+29=37']
Exploring Operation: 43-37=6, Resulting Numbers: [10, 6]
Generated Node #0,2,0: 36:[10, 6] Operation: 43-37=6
Exploring Operation: 37-10=27, Resulting Numbers: [43, 27]
Generated Node #0,2,1: 36:[43, 27] Operation: 37-10=27
Exploring Operation: 43-10=33, Resulting Numbers: [37, 33]
Generated Node #0,2,2: 36:[37, 33] Operation: 43-10=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 36:[10, 6], Operations: ['8+29=37', '43-37=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[37, 33], Operations: ['8+29=37', '43-10=33']
Exploring Operation: 37*33=1221, Resulting Numbers: [1221]
1221,36 unequal: No Solution
Exploring Operation: 37+33=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 36:[43, 27], Operations: ['8+29=37', '37-10=27']
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,36 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,36 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: 36:[10, 6], Operations: ['43-8=35', '35-29=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[35, 19], Operations: ['43-8=35', '29-10=19']
Exploring Operation: 35+19=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 35-19=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 35*19=665, Resulting Numbers: [665]
665,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[35, 39], Operations: ['43-8=35', '29+10=39']
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,36 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
8,
25,
26,
47
] | 32 | [
"25+26=51",
"51-47=4",
"8*4=32"
] | Current State: 32:[8, 25, 26, 47], Operations: []
Exploring Operation: 25+26=51, Resulting Numbers: [8, 47, 51]
Generated Node #2: [8, 47, 51] from Operation: 25+26=51
Current State: 32:[8, 47, 51], Operations: ['25+26=51']
Exploring Operation: 51-47=4, Resulting Numbers: [8, 4]
Generated Node #3: [8, 4] from Operation: 51-47=4
Current State: 32:[8, 4], Operations: ['25+26=51', '51-47=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[8, 25, 26, 47], Operations: []
Exploring Operation: 47-25=22, Resulting Numbers: [8, 26, 22]
Generated Node #0,0: 32:[8, 26, 22] Operation: 47-25=22
Exploring Operation: 47-26=21, Resulting Numbers: [8, 25, 21]
Generated Node #0,1: 32:[8, 25, 21] Operation: 47-26=21
Moving to Node #0,0
Current State: 32:[8, 26, 22], Operations: ['47-25=22']
Exploring Operation: 8+26=34, Resulting Numbers: [22, 34]
Generated Node #0,0,0: 32:[22, 34] Operation: 8+26=34
Exploring Operation: 26-22=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 32:[8, 4] Operation: 26-22=4
Moving to Node #0,1
Current State: 32:[8, 25, 21], Operations: ['47-26=21']
Exploring Operation: 25-21=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 32:[8, 4] Operation: 25-21=4
Exploring Operation: 8+25=33, Resulting Numbers: [21, 33]
Generated Node #0,1,1: 32:[21, 33] Operation: 8+25=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[8, 4], Operations: ['47-26=21', '25-21=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[8, 25, 26, 47], Operations: []
Exploring Operation: 47-26=21, Resulting Numbers: [8, 25, 21]
Generated Node #0,1: 32:[8, 25, 21] Operation: 47-26=21
Moving to Node #0,1
Current State: 32:[8, 25, 21], Operations: ['47-26=21']
Exploring Operation: 25-21=4, Resulting Numbers: [8, 4]
Generated Node #0,1,0: 32:[8, 4] Operation: 25-21=4
Moving to Node #0,1,0
Current State: 32:[8, 4], Operations: ['47-26=21', '25-21=4']
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
30,
49,
94,
46
] | 34 | [
"30*49=1470",
"94+1470=1564",
"1564/46=34"
] | Current State: 34:[30, 49, 94, 46], Operations: []
Exploring Operation: 30*49=1470, Resulting Numbers: [94, 46, 1470]
Generated Node #2: [94, 46, 1470] from Operation: 30*49=1470
Current State: 34:[94, 46, 1470], Operations: ['30*49=1470']
Exploring Operation: 94+1470=1564, Resulting Numbers: [46, 1564]
Generated Node #3: [46, 1564] from Operation: 94+1470=1564
Current State: 34:[46, 1564], Operations: ['30*49=1470', '94+1470=1564']
Exploring Operation: 1564/46=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[30, 49, 94, 46], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [30, 49, 48]
Generated Node #0,0: 34:[30, 49, 48] Operation: 94-46=48
Exploring Operation: 94-49=45, Resulting Numbers: [30, 46, 45]
Generated Node #0,1: 34:[30, 46, 45] Operation: 94-49=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[30, 46, 45], Operations: ['94-49=45']
Exploring Operation: 46-30=16, Resulting Numbers: [45, 16]
Generated Node #0,1,0: 34:[45, 16] Operation: 46-30=16
Exploring Operation: 46-45=1, Resulting Numbers: [30, 1]
Generated Node #0,1,1: 34:[30, 1] Operation: 46-45=1
Moving to Node #0,1,1
Current State: 34:[30, 1], Operations: ['94-49=45', '46-45=1']
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[45, 16], Operations: ['94-49=45', '46-30=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 45+16=61, Resulting Numbers: [61]
61,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[30, 49, 48], Operations: ['94-46=48']
Exploring Operation: 49-30=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 34:[48, 19] Operation: 49-30=19
Exploring Operation: 49-48=1, Resulting Numbers: [30, 1]
Generated Node #0,0,1: 34:[30, 1] Operation: 49-48=1
Moving to Node #0,0,1
Current State: 34:[30, 1], Operations: ['94-46=48', '49-48=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[48, 19], Operations: ['94-46=48', '49-30=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
40,
24,
72
] | 56 | [
"40-24=16",
"8*16=128",
"128-72=56"
] | Current State: 56:[8, 40, 24, 72], Operations: []
Exploring Operation: 40-24=16, Resulting Numbers: [8, 72, 16]
Generated Node #2: [8, 72, 16] from Operation: 40-24=16
Current State: 56:[8, 72, 16], Operations: ['40-24=16']
Exploring Operation: 8*16=128, Resulting Numbers: [72, 128]
Generated Node #3: [72, 128] from Operation: 8*16=128
Current State: 56:[72, 128], Operations: ['40-24=16', '8*16=128']
Exploring Operation: 128-72=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[8, 40, 24, 72], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [8, 40, 3]
Generated Node #0,0: 56:[8, 40, 3] Operation: 72/24=3
Exploring Operation: 72-40=32, Resulting Numbers: [8, 24, 32]
Generated Node #0,1: 56:[8, 24, 32] Operation: 72-40=32
Exploring Operation: 72/8=9, Resulting Numbers: [40, 24, 9]
Generated Node #0,2: 56:[40, 24, 9] Operation: 72/8=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[8, 24, 32], Operations: ['72-40=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 56:[8, 8] Operation: 32-24=8
Exploring Operation: 24+32=56, Resulting Numbers: [8, 56]
Generated Node #0,1,1: 56:[8, 56] Operation: 24+32=56
Exploring Operation: 32/8=4, Resulting Numbers: [24, 4]
Generated Node #0,1,2: 56:[24, 4] Operation: 32/8=4
Moving to Node #0,1,0
Current State: 56:[8, 8], Operations: ['72-40=32', '32-24=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[8, 56], Operations: ['72-40=32', '24+32=56']
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,56 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Moving to Node #0,1,2
Current State: 56:[24, 4], Operations: ['72-40=32', '32/8=4']
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 24+4=28, Resulting Numbers: [28]
28,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[8, 40, 3], Operations: ['72/24=3']
Exploring Operation: 40-8=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 56:[3, 32] Operation: 40-8=32
Exploring Operation: 8+40=48, Resulting Numbers: [3, 48]
Generated Node #0,0,1: 56:[3, 48] Operation: 8+40=48
Exploring Operation: 40/8=5, Resulting Numbers: [3, 5]
Generated Node #0,0,2: 56:[3, 5] Operation: 40/8=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[3, 5], Operations: ['72/24=3', '40/8=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[3, 32], Operations: ['72/24=3', '40-8=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,56 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,56 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[3, 48], Operations: ['72/24=3', '8+40=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,56 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[40, 24, 9], Operations: ['72/8=9']
Exploring Operation: 40-24=16, Resulting Numbers: [9, 16]
Generated Node #0,2,0: 56:[9, 16] Operation: 40-24=16
Exploring Operation: 40-9=31, Resulting Numbers: [24, 31]
Generated Node #0,2,1: 56:[24, 31] Operation: 40-9=31
Exploring Operation: 40+24=64, Resulting Numbers: [9, 64]
Generated Node #0,2,2: 56:[9, 64] Operation: 40+24=64
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[9, 16], Operations: ['72/8=9', '40-24=16']
Exploring Operation: 9+16=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 9*16=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[24, 31], Operations: ['72/8=9', '40-9=31']
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,56 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 56:[9, 64], Operations: ['72/8=9', '40+24=64']
Exploring Operation: 9+64=73, Resulting Numbers: [73]
73,56 unequal: No Solution
Exploring Operation: 9*64=576, Resulting Numbers: [576]
576,56 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
78,
52,
64,
25
] | 26 | [
"64-25=39",
"78/39=2",
"52/2=26"
] | Current State: 26:[78, 52, 64, 25], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [78, 52, 39]
Generated Node #2: [78, 52, 39] from Operation: 64-25=39
Current State: 26:[78, 52, 39], Operations: ['64-25=39']
Exploring Operation: 78/39=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 78/39=2
Current State: 26:[52, 2], Operations: ['64-25=39', '78/39=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[78, 52, 64, 25], Operations: []
Exploring Operation: 78-25=53, Resulting Numbers: [52, 64, 53]
Generated Node #0,0: 26:[52, 64, 53] Operation: 78-25=53
Exploring Operation: 64-52=12, Resulting Numbers: [78, 25, 12]
Generated Node #0,1: 26:[78, 25, 12] Operation: 64-52=12
Exploring Operation: 78-52=26, Resulting Numbers: [64, 25, 26]
Generated Node #0,2: 26:[64, 25, 26] Operation: 78-52=26
Exploring Operation: 78-64=14, Resulting Numbers: [52, 25, 14]
Generated Node #0,3: 26:[52, 25, 14] Operation: 78-64=14
Moving to Node #0,3
Current State: 26:[52, 25, 14], Operations: ['78-64=14']
Exploring Operation: 52-25=27, Resulting Numbers: [14, 27]
Generated Node #0,3,0: 26:[14, 27] Operation: 52-25=27
Exploring Operation: 25+14=39, Resulting Numbers: [52, 39]
Generated Node #0,3,1: 26:[52, 39] Operation: 25+14=39
Exploring Operation: 52-14=38, Resulting Numbers: [25, 38]
Generated Node #0,3,2: 26:[25, 38] Operation: 52-14=38
Exploring Operation: 25-14=11, Resulting Numbers: [52, 11]
Generated Node #0,3,3: 26:[52, 11] Operation: 25-14=11
Moving to Node #0,2
Current State: 26:[64, 25, 26], Operations: ['78-52=26']
Exploring Operation: 64+25=89, Resulting Numbers: [26, 89]
Generated Node #0,2,0: 26:[26, 89] Operation: 64+25=89
Exploring Operation: 64-26=38, Resulting Numbers: [25, 38]
Generated Node #0,2,1: 26:[25, 38] Operation: 64-26=38
Exploring Operation: 26-25=1, Resulting Numbers: [64, 1]
Generated Node #0,2,2: 26:[64, 1] Operation: 26-25=1
Exploring Operation: 64-25=39, Resulting Numbers: [26, 39]
Generated Node #0,2,3: 26:[26, 39] Operation: 64-25=39
Moving to Node #0,1
Current State: 26:[78, 25, 12], Operations: ['64-52=12']
Exploring Operation: 78-12=66, Resulting Numbers: [25, 66]
Generated Node #0,1,0: 26:[25, 66] Operation: 78-12=66
Exploring Operation: 25-12=13, Resulting Numbers: [78, 13]
Generated Node #0,1,1: 26:[78, 13] Operation: 25-12=13
Exploring Operation: 25+12=37, Resulting Numbers: [78, 37]
Generated Node #0,1,2: 26:[78, 37] Operation: 25+12=37
Exploring Operation: 78-25=53, Resulting Numbers: [12, 53]
Generated Node #0,1,3: 26:[12, 53] Operation: 78-25=53
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[12, 53], Operations: ['64-52=12', '78-25=53']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 12+53=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 12*53=636, Resulting Numbers: [636]
636,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[25, 66], Operations: ['64-52=12', '78-12=66']
Exploring Operation: 25*66=1650, Resulting Numbers: [1650]
1650,26 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 25+66=91, Resulting Numbers: [91]
91,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[78, 13], Operations: ['64-52=12', '25-12=13']
Exploring Operation: 78/13=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 78+13=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Exploring Operation: 78-13=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 78*13=1014, Resulting Numbers: [1014]
1014,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[78, 37], Operations: ['64-52=12', '25+12=37']
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 78*37=2886, Resulting Numbers: [2886]
2886,26 unequal: No Solution
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[52, 64, 53], Operations: ['78-25=53']
Exploring Operation: 52+64=116, Resulting Numbers: [53, 116]
Generated Node #0,0,0: 26:[53, 116] Operation: 52+64=116
Exploring Operation: 53-52=1, Resulting Numbers: [64, 1]
Generated Node #0,0,1: 26:[64, 1] Operation: 53-52=1
Exploring Operation: 64-52=12, Resulting Numbers: [53, 12]
Generated Node #0,0,2: 26:[53, 12] Operation: 64-52=12
Exploring Operation: 64-53=11, Resulting Numbers: [52, 11]
Generated Node #0,0,3: 26:[52, 11] Operation: 64-53=11
Moving to Node #0,3,0
Current State: 26:[14, 27], Operations: ['78-64=14', '52-25=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,26 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,2,3
Current State: 26:[26, 39], Operations: ['78-52=26', '64-25=39']
Exploring Operation: 26+39=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 26*39=1014, Resulting Numbers: [1014]
1014,26 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[25, 38], Operations: ['78-64=14', '52-14=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[25, 38], Operations: ['78-52=26', '64-26=38']
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[52, 11], Operations: ['78-64=14', '25-14=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,26 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Moving to Node #0,0,3
Current State: 26:[52, 11], Operations: ['78-25=53', '64-53=11']
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,26 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[53, 12], Operations: ['78-25=53', '64-52=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[64, 1], Operations: ['78-52=26', '26-25=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Moving to Node #0,0,1
Current State: 26:[64, 1], Operations: ['78-25=53', '53-52=1']
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,26 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[52, 39], Operations: ['78-64=14', '25+14=39']
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 52*39=2028, Resulting Numbers: [2028]
2028,26 unequal: No Solution
Exploring Operation: 52+39=91, Resulting Numbers: [91]
91,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[26, 89], Operations: ['78-52=26', '64+25=89']
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,26 unequal: No Solution
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,26 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[53, 116], Operations: ['78-25=53', '52+64=116']
Exploring Operation: 53+116=169, Resulting Numbers: [169]
169,26 unequal: No Solution
Exploring Operation: 53*116=6148, Resulting Numbers: [6148]
6148,26 unequal: No Solution
Exploring Operation: 116-53=63, Resulting Numbers: [63]
63,26 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
28,
66,
6,
51
] | 54 | [
"28-6=22",
"66/22=3",
"51+3=54"
] | Current State: 54:[28, 66, 6, 51], Operations: []
Exploring Operation: 28-6=22, Resulting Numbers: [66, 51, 22]
Generated Node #2: [66, 51, 22] from Operation: 28-6=22
Current State: 54:[66, 51, 22], Operations: ['28-6=22']
Exploring Operation: 66/22=3, Resulting Numbers: [51, 3]
Generated Node #3: [51, 3] from Operation: 66/22=3
Current State: 54:[51, 3], Operations: ['28-6=22', '66/22=3']
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[28, 66, 6, 51], Operations: []
Exploring Operation: 66-51=15, Resulting Numbers: [28, 6, 15]
Generated Node #0,0: 54:[28, 6, 15] Operation: 66-51=15
Exploring Operation: 66-28=38, Resulting Numbers: [6, 51, 38]
Generated Node #0,1: 54:[6, 51, 38] Operation: 66-28=38
Exploring Operation: 66/6=11, Resulting Numbers: [28, 51, 11]
Generated Node #0,2: 54:[28, 51, 11] Operation: 66/6=11
Exploring Operation: 51-28=23, Resulting Numbers: [66, 6, 23]
Generated Node #0,3: 54:[66, 6, 23] Operation: 51-28=23
Exploring Operation: 66-6=60, Resulting Numbers: [28, 51, 60]
Generated Node #0,4: 54:[28, 51, 60] Operation: 66-6=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[28, 6, 15], Operations: ['66-51=15']
Exploring Operation: 28-15=13, Resulting Numbers: [6, 13]
Generated Node #0,0,0: 54:[6, 13] Operation: 28-15=13
Exploring Operation: 15-6=9, Resulting Numbers: [28, 9]
Generated Node #0,0,1: 54:[28, 9] Operation: 15-6=9
Exploring Operation: 6+15=21, Resulting Numbers: [28, 21]
Generated Node #0,0,2: 54:[28, 21] Operation: 6+15=21
Exploring Operation: 28+6=34, Resulting Numbers: [15, 34]
Generated Node #0,0,3: 54:[15, 34] Operation: 28+6=34
Exploring Operation: 28-6=22, Resulting Numbers: [15, 22]
Generated Node #0,0,4: 54:[15, 22] Operation: 28-6=22
Moving to Node #0,0,1
Current State: 54:[28, 9], Operations: ['66-51=15', '15-6=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,54 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[28, 21], Operations: ['66-51=15', '6+15=21']
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,54 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[6, 13], Operations: ['66-51=15', '28-15=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Moving to Node #0,0,4
Current State: 54:[15, 22], Operations: ['66-51=15', '28-6=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,54 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[15, 34], Operations: ['66-51=15', '28+6=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,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,2
Current State: 54:[28, 51, 11], Operations: ['66/6=11']
Exploring Operation: 51-28=23, Resulting Numbers: [11, 23]
Generated Node #0,2,0: 54:[11, 23] Operation: 51-28=23
Exploring Operation: 28+11=39, Resulting Numbers: [51, 39]
Generated Node #0,2,1: 54:[51, 39] Operation: 28+11=39
Exploring Operation: 51-11=40, Resulting Numbers: [28, 40]
Generated Node #0,2,2: 54:[28, 40] Operation: 51-11=40
Exploring Operation: 51+11=62, Resulting Numbers: [28, 62]
Generated Node #0,2,3: 54:[28, 62] Operation: 51+11=62
Exploring Operation: 28-11=17, Resulting Numbers: [51, 17]
Generated Node #0,2,4: 54:[51, 17] Operation: 28-11=17
Moving to Node #0,2,4
Current State: 54:[51, 17], Operations: ['66/6=11', '28-11=17']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,54 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Moving to Node #0,2,0
Current State: 54:[11, 23], Operations: ['66/6=11', '51-28=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,54 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Moving to Node #0,2,3
Current State: 54:[28, 62], Operations: ['66/6=11', '51+11=62']
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,54 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Moving to Node #0,2,2
Current State: 54:[28, 40], Operations: ['66/6=11', '51-11=40']
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,54 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,54 unequal: No Solution
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,2,1
Current State: 54:[51, 39], Operations: ['66/6=11', '28+11=39']
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,54 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,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,4
Current State: 54:[28, 51, 60], Operations: ['66-6=60']
Exploring Operation: 28+60=88, Resulting Numbers: [51, 88]
Generated Node #0,4,0: 54:[51, 88] Operation: 28+60=88
Exploring Operation: 60-28=32, Resulting Numbers: [51, 32]
Generated Node #0,4,1: 54:[51, 32] Operation: 60-28=32
Exploring Operation: 60-51=9, Resulting Numbers: [28, 9]
Generated Node #0,4,2: 54:[28, 9] Operation: 60-51=9
Exploring Operation: 28+51=79, Resulting Numbers: [60, 79]
Generated Node #0,4,3: 54:[60, 79] Operation: 28+51=79
Exploring Operation: 51-28=23, Resulting Numbers: [60, 23]
Generated Node #0,4,4: 54:[60, 23] Operation: 51-28=23
Moving to Node #0,4,2
Current State: 54:[28, 9], Operations: ['66-6=60', '60-51=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,54 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,4,1
Current State: 54:[51, 32], Operations: ['66-6=60', '60-28=32']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,54 unequal: No Solution
Moving to Node #0,4,4
Current State: 54:[60, 23], Operations: ['66-6=60', '51-28=23']
Exploring Operation: 60+23=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 60*23=1380, Resulting Numbers: [1380]
1380,54 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,4,3
Current State: 54:[60, 79], Operations: ['66-6=60', '28+51=79']
Exploring Operation: 60*79=4740, Resulting Numbers: [4740]
4740,54 unequal: No Solution
Exploring Operation: 79-60=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 60+79=139, Resulting Numbers: [139]
139,54 unequal: No Solution
Moving to Node #0,4,0
Current State: 54:[51, 88], Operations: ['66-6=60', '28+60=88']
Exploring Operation: 51*88=4488, Resulting Numbers: [4488]
4488,54 unequal: No Solution
Exploring Operation: 51+88=139, Resulting Numbers: [139]
139,54 unequal: No Solution
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,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:[6, 51, 38], Operations: ['66-28=38']
Exploring Operation: 6+51=57, Resulting Numbers: [38, 57]
Generated Node #0,1,0: 54:[38, 57] Operation: 6+51=57
Exploring Operation: 6+38=44, Resulting Numbers: [51, 44]
Generated Node #0,1,1: 54:[51, 44] Operation: 6+38=44
Exploring Operation: 51-6=45, Resulting Numbers: [38, 45]
Generated Node #0,1,2: 54:[38, 45] Operation: 51-6=45
Exploring Operation: 38-6=32, Resulting Numbers: [51, 32]
Generated Node #0,1,3: 54:[51, 32] Operation: 38-6=32
Exploring Operation: 51-38=13, Resulting Numbers: [6, 13]
Generated Node #0,1,4: 54:[6, 13] Operation: 51-38=13
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 54:[6, 13], Operations: ['66-28=38', '51-38=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,54 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,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:[51, 32], Operations: ['66-28=38', '38-6=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,54 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,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,1
Current State: 54:[51, 44], Operations: ['66-28=38', '6+38=44']
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,54 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[38, 57], Operations: ['66-28=38', '6+51=57']
Exploring Operation: 38*57=2166, Resulting Numbers: [2166]
2166,54 unequal: No Solution
Exploring Operation: 38+57=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 57-38=19, Resulting Numbers: [19]
19,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:[38, 45], Operations: ['66-28=38', '51-6=45']
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,54 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,54 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,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,3
Current State: 54:[66, 6, 23], Operations: ['51-28=23']
Exploring Operation: 23-6=17, Resulting Numbers: [66, 17]
Generated Node #0,3,0: 54:[66, 17] Operation: 23-6=17
Exploring Operation: 66/6=11, Resulting Numbers: [23, 11]
Generated Node #0,3,1: 54:[23, 11] Operation: 66/6=11
Exploring Operation: 6+23=29, Resulting Numbers: [66, 29]
Generated Node #0,3,2: 54:[66, 29] Operation: 6+23=29
Exploring Operation: 66-6=60, Resulting Numbers: [23, 60]
Generated Node #0,3,3: 54:[23, 60] Operation: 66-6=60
Exploring Operation: 66-23=43, Resulting Numbers: [6, 43]
Generated Node #0,3,4: 54:[6, 43] Operation: 66-23=43
Moving to Node #0,3,1
Current State: 54:[23, 11], Operations: ['51-28=23', '66/6=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,54 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[23, 60], Operations: ['51-28=23', '66-6=60']
Exploring Operation: 23*60=1380, Resulting Numbers: [1380]
1380,54 unequal: No Solution
Exploring Operation: 23+60=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 60-23=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,3,4
Current State: 54:[6, 43], Operations: ['51-28=23', '66-23=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,54 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[66, 17], Operations: ['51-28=23', '23-6=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,54 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,54 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[66, 29], Operations: ['51-28=23', '6+23=29']
Exploring Operation: 66+29=95, Resulting Numbers: [95]
95,54 unequal: No Solution
Exploring Operation: 66*29=1914, Resulting Numbers: [1914]
1914,54 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,54 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 |
[
64,
34,
68,
78
] | 25 | [
"68/34=2",
"78/2=39",
"64-39=25"
] | Current State: 25:[64, 34, 68, 78], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [64, 78, 2]
Generated Node #2: [64, 78, 2] from Operation: 68/34=2
Current State: 25:[64, 78, 2], Operations: ['68/34=2']
Exploring Operation: 78/2=39, Resulting Numbers: [64, 39]
Generated Node #3: [64, 39] from Operation: 78/2=39
Current State: 25:[64, 39], Operations: ['68/34=2', '78/2=39']
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[64, 34, 68, 78], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [34, 78, 4]
Generated Node #0,0: 25:[34, 78, 4] Operation: 68-64=4
Exploring Operation: 78-64=14, Resulting Numbers: [34, 68, 14]
Generated Node #0,1: 25:[34, 68, 14] Operation: 78-64=14
Exploring Operation: 64-34=30, Resulting Numbers: [68, 78, 30]
Generated Node #0,2: 25:[68, 78, 30] Operation: 64-34=30
Exploring Operation: 78-68=10, Resulting Numbers: [64, 34, 10]
Generated Node #0,3: 25:[64, 34, 10] Operation: 78-68=10
Exploring Operation: 68/34=2, Resulting Numbers: [64, 78, 2]
Generated Node #0,4: 25:[64, 78, 2] Operation: 68/34=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[64, 34, 10], Operations: ['78-68=10']
Exploring Operation: 34+10=44, Resulting Numbers: [64, 44]
Generated Node #0,3,0: 25:[64, 44] Operation: 34+10=44
Exploring Operation: 64+10=74, Resulting Numbers: [34, 74]
Generated Node #0,3,1: 25:[34, 74] Operation: 64+10=74
Exploring Operation: 64-10=54, Resulting Numbers: [34, 54]
Generated Node #0,3,2: 25:[34, 54] Operation: 64-10=54
Exploring Operation: 34-10=24, Resulting Numbers: [64, 24]
Generated Node #0,3,3: 25:[64, 24] Operation: 34-10=24
Exploring Operation: 64-34=30, Resulting Numbers: [10, 30]
Generated Node #0,3,4: 25:[10, 30] Operation: 64-34=30
Moving to Node #0,3,4
Current State: 25:[10, 30], Operations: ['78-68=10', '64-34=30']
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[34, 54], Operations: ['78-68=10', '64-10=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,25 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[64, 24], Operations: ['78-68=10', '34-10=24']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[64, 44], Operations: ['78-68=10', '34+10=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 64*44=2816, Resulting Numbers: [2816]
2816,25 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[34, 74], Operations: ['78-68=10', '64+10=74']
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 34*74=2516, Resulting Numbers: [2516]
2516,25 unequal: No Solution
Exploring Operation: 34+74=108, Resulting Numbers: [108]
108,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[34, 68, 14], Operations: ['78-64=14']
Exploring Operation: 68-34=34, Resulting Numbers: [14, 34]
Generated Node #0,1,0: 25:[14, 34] Operation: 68-34=34
Exploring Operation: 34+14=48, Resulting Numbers: [68, 48]
Generated Node #0,1,1: 25:[68, 48] Operation: 34+14=48
Exploring Operation: 68/34=2, Resulting Numbers: [14, 2]
Generated Node #0,1,2: 25:[14, 2] Operation: 68/34=2
Exploring Operation: 34-14=20, Resulting Numbers: [68, 20]
Generated Node #0,1,3: 25:[68, 20] Operation: 34-14=20
Exploring Operation: 68-14=54, Resulting Numbers: [34, 54]
Generated Node #0,1,4: 25:[34, 54] Operation: 68-14=54
Moving to Node #0,1,2
Current State: 25:[14, 2], Operations: ['78-64=14', '68/34=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[14, 34], Operations: ['78-64=14', '68-34=34']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,25 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[34, 54], Operations: ['78-64=14', '68-14=54']
Exploring Operation: 34*54=1836, Resulting Numbers: [1836]
1836,25 unequal: No Solution
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[68, 20], Operations: ['78-64=14', '34-14=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,25 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[68, 48], Operations: ['78-64=14', '34+14=48']
Exploring Operation: 68*48=3264, Resulting Numbers: [3264]
3264,25 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Exploring Operation: 68+48=116, Resulting Numbers: [116]
116,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[34, 78, 4], Operations: ['68-64=4']
Exploring Operation: 34+4=38, Resulting Numbers: [78, 38]
Generated Node #0,0,0: 25:[78, 38] Operation: 34+4=38
Exploring Operation: 34-4=30, Resulting Numbers: [78, 30]
Generated Node #0,0,1: 25:[78, 30] Operation: 34-4=30
Exploring Operation: 78-34=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 25:[4, 44] Operation: 78-34=44
Exploring Operation: 78+4=82, Resulting Numbers: [34, 82]
Generated Node #0,0,3: 25:[34, 82] Operation: 78+4=82
Exploring Operation: 78-4=74, Resulting Numbers: [34, 74]
Generated Node #0,0,4: 25:[34, 74] Operation: 78-4=74
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 25:[4, 44], Operations: ['68-64=4', '78-34=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,25 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[78, 30], Operations: ['68-64=4', '34-4=30']
Exploring Operation: 78*30=2340, Resulting Numbers: [2340]
2340,25 unequal: No Solution
Exploring Operation: 78+30=108, Resulting Numbers: [108]
108,25 unequal: No Solution
Exploring Operation: 78-30=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 25:[34, 74], Operations: ['68-64=4', '78-4=74']
Exploring Operation: 34*74=2516, Resulting Numbers: [2516]
2516,25 unequal: No Solution
Exploring Operation: 34+74=108, Resulting Numbers: [108]
108,25 unequal: No Solution
Exploring Operation: 74-34=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 25:[78, 38], Operations: ['68-64=4', '34+4=38']
Exploring Operation: 78*38=2964, Resulting Numbers: [2964]
2964,25 unequal: No Solution
Exploring Operation: 78-38=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 78+38=116, Resulting Numbers: [116]
116,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 25:[34, 82], Operations: ['68-64=4', '78+4=82']
Exploring Operation: 34*82=2788, Resulting Numbers: [2788]
2788,25 unequal: No Solution
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 34+82=116, Resulting Numbers: [116]
116,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[64, 78, 2], Operations: ['68/34=2']
Exploring Operation: 64/2=32, Resulting Numbers: [78, 32]
Generated Node #0,4,0: 25:[78, 32] Operation: 64/2=32
Exploring Operation: 64-2=62, Resulting Numbers: [78, 62]
Generated Node #0,4,1: 25:[78, 62] Operation: 64-2=62
Exploring Operation: 78-64=14, Resulting Numbers: [2, 14]
Generated Node #0,4,2: 25:[2, 14] Operation: 78-64=14
Exploring Operation: 78-2=76, Resulting Numbers: [64, 76]
Generated Node #0,4,3: 25:[64, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [64, 39]
Generated Node #0,4,4: 25:[64, 39] Operation: 78/2=39
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 25:[2, 14], Operations: ['68/34=2', '78-64=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,25 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[64, 39], Operations: ['68/34=2', '78/2=39']
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,25 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[64, 34, 68, 78], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [64, 78, 2]
Generated Node #0,4: 25:[64, 78, 2] Operation: 68/34=2
Moving to Node #0,4
Current State: 25:[64, 78, 2], Operations: ['68/34=2']
Exploring Operation: 78/2=39, Resulting Numbers: [64, 39]
Generated Node #0,4,4: 25:[64, 39] Operation: 78/2=39
Moving to Node #0,4,4
Current State: 25:[64, 39], Operations: ['68/34=2', '78/2=39']
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.927951 | hs_5 | mult_heuristic |
[
30,
78,
6,
79
] | 36 | [
"30+6=36",
"79-78=1",
"36*1=36"
] | Current State: 36:[30, 78, 6, 79], Operations: []
Exploring Operation: 30+6=36, Resulting Numbers: [78, 79, 36]
Generated Node #2: [78, 79, 36] from Operation: 30+6=36
Current State: 36:[78, 79, 36], Operations: ['30+6=36']
Exploring Operation: 79-78=1, Resulting Numbers: [36, 1]
Generated Node #3: [36, 1] from Operation: 79-78=1
Current State: 36:[36, 1], Operations: ['30+6=36', '79-78=1']
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[30, 78, 6, 79], Operations: []
Exploring Operation: 78-30=48, Resulting Numbers: [6, 79, 48]
Generated Node #0,0: 36:[6, 79, 48] Operation: 78-30=48
Exploring Operation: 79-30=49, Resulting Numbers: [78, 6, 49]
Generated Node #0,1: 36:[78, 6, 49] Operation: 79-30=49
Exploring Operation: 79-78=1, Resulting Numbers: [30, 6, 1]
Generated Node #0,2: 36:[30, 6, 1] Operation: 79-78=1
Exploring Operation: 78/6=13, Resulting Numbers: [30, 79, 13]
Generated Node #0,3: 36:[30, 79, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[30, 6, 1], Operations: ['79-78=1']
Exploring Operation: 30+1=31, Resulting Numbers: [6, 31]
Generated Node #0,2,0: 36:[6, 31] Operation: 30+1=31
Exploring Operation: 30*1=30, Resulting Numbers: [6, 30]
Generated Node #0,2,1: 36:[6, 30] Operation: 30*1=30
Exploring Operation: 30/6=5, Resulting Numbers: [1, 5]
Generated Node #0,2,2: 36:[1, 5] Operation: 30/6=5
Exploring Operation: 30+6=36, Resulting Numbers: [1, 36]
Generated Node #0,2,3: 36:[1, 36] Operation: 30+6=36
Moving to Node #0,2,3
Current State: 36:[1, 36], Operations: ['79-78=1', '30+6=36']
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,36 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[30, 78, 6, 79], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [30, 6, 1]
Generated Node #0,2: 36:[30, 6, 1] Operation: 79-78=1
Moving to Node #0,2
Current State: 36:[30, 6, 1], Operations: ['79-78=1']
Exploring Operation: 30+6=36, Resulting Numbers: [1, 36]
Generated Node #0,2,3: 36:[1, 36] Operation: 30+6=36
Moving to Node #0,2,3
Current State: 36:[1, 36], Operations: ['79-78=1', '30+6=36']
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
52,
16,
10,
98
] | 52 | [
"52-16=36",
"98-10=88",
"88-36=52"
] | Current State: 52:[52, 16, 10, 98], Operations: []
Exploring Operation: 52-16=36, Resulting Numbers: [10, 98, 36]
Generated Node #2: [10, 98, 36] from Operation: 52-16=36
Current State: 52:[10, 98, 36], Operations: ['52-16=36']
Exploring Operation: 98-10=88, Resulting Numbers: [36, 88]
Generated Node #3: [36, 88] from Operation: 98-10=88
Current State: 52:[36, 88], Operations: ['52-16=36', '98-10=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[52, 16, 10, 98], Operations: []
Exploring Operation: 98-16=82, Resulting Numbers: [52, 10, 82]
Generated Node #0,0: 52:[52, 10, 82] Operation: 98-16=82
Exploring Operation: 16+10=26, Resulting Numbers: [52, 98, 26]
Generated Node #0,1: 52:[52, 98, 26] Operation: 16+10=26
Exploring Operation: 98-10=88, Resulting Numbers: [52, 16, 88]
Generated Node #0,2: 52:[52, 16, 88] Operation: 98-10=88
Exploring Operation: 98-52=46, Resulting Numbers: [16, 10, 46]
Generated Node #0,3: 52:[16, 10, 46] Operation: 98-52=46
Moving to Node #0,3
Current State: 52:[16, 10, 46], Operations: ['98-52=46']
Exploring Operation: 16+10=26, Resulting Numbers: [46, 26]
Generated Node #0,3,0: 52:[46, 26] Operation: 16+10=26
Exploring Operation: 46-16=30, Resulting Numbers: [10, 30]
Generated Node #0,3,1: 52:[10, 30] Operation: 46-16=30
Exploring Operation: 10+46=56, Resulting Numbers: [16, 56]
Generated Node #0,3,2: 52:[16, 56] Operation: 10+46=56
Exploring Operation: 16-10=6, Resulting Numbers: [46, 6]
Generated Node #0,3,3: 52:[46, 6] Operation: 16-10=6
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 52:[46, 26], Operations: ['98-52=46', '16+10=26']
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,52 unequal: No Solution
Exploring Operation: 46*26=1196, Resulting Numbers: [1196]
1196,52 unequal: No Solution
Exploring Operation: 46+26=72, Resulting Numbers: [72]
72,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 52:[10, 30], Operations: ['98-52=46', '46-16=30']
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 10*30=300, Resulting Numbers: [300]
300,52 unequal: No Solution
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 52:[16, 56], Operations: ['98-52=46', '10+46=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,52 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 52:[46, 6], Operations: ['98-52=46', '16-10=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 46*6=276, Resulting Numbers: [276]
276,52 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[52, 16, 10, 98], Operations: []
Exploring Operation: 98-52=46, Resulting Numbers: [16, 10, 46]
Generated Node #0,3: 52:[16, 10, 46] Operation: 98-52=46
Moving to Node #0,3
Current State: 52:[16, 10, 46], Operations: ['98-52=46']
Exploring Operation: 16-10=6, Resulting Numbers: [46, 6]
Generated Node #0,3,3: 52:[46, 6] Operation: 16-10=6
Moving to Node #0,3,3
Current State: 52:[46, 6], Operations: ['98-52=46', '16-10=6']
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
91,
7,
2,
4
] | 18 | [
"91/7=13",
"13-4=9",
"2*9=18"
] | Current State: 18:[91, 7, 2, 4], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [2, 4, 13]
Generated Node #2: [2, 4, 13] from Operation: 91/7=13
Current State: 18:[2, 4, 13], Operations: ['91/7=13']
Exploring Operation: 13-4=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 13-4=9
Current State: 18:[2, 9], Operations: ['91/7=13', '13-4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[91, 7, 2, 4], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [2, 4, 13]
Generated Node #0,0: 18:[2, 4, 13] Operation: 91/7=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[2, 4, 13], Operations: ['91/7=13']
Exploring Operation: 13-4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 13-4=9
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['91/7=13', '13-4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[91, 7, 2, 4], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [2, 4, 13]
Generated Node #0,0: 18:[2, 4, 13] Operation: 91/7=13
Moving to Node #0,0
Current State: 18:[2, 4, 13], Operations: ['91/7=13']
Exploring Operation: 13-4=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 18:[2, 9] Operation: 13-4=9
Moving to Node #0,0,0
Current State: 18:[2, 9], Operations: ['91/7=13', '13-4=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
89,
16,
13,
2
] | 95 | [
"16-13=3",
"2*3=6",
"89+6=95"
] | Current State: 95:[89, 16, 13, 2], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [89, 2, 3]
Generated Node #2: [89, 2, 3] from Operation: 16-13=3
Current State: 95:[89, 2, 3], Operations: ['16-13=3']
Exploring Operation: 2*3=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 2*3=6
Current State: 95:[89, 6], Operations: ['16-13=3', '2*3=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[89, 16, 13, 2], Operations: []
Exploring Operation: 89+2=91, Resulting Numbers: [16, 13, 91]
Generated Node #0,0: 95:[16, 13, 91] Operation: 89+2=91
Exploring Operation: 16-13=3, Resulting Numbers: [89, 2, 3]
Generated Node #0,1: 95:[89, 2, 3] Operation: 16-13=3
Exploring Operation: 89+13=102, Resulting Numbers: [16, 2, 102]
Generated Node #0,2: 95:[16, 2, 102] Operation: 89+13=102
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[89, 2, 3], Operations: ['16-13=3']
Exploring Operation: 2+3=5, Resulting Numbers: [89, 5]
Generated Node #0,1,0: 95:[89, 5] Operation: 2+3=5
Exploring Operation: 89+3=92, Resulting Numbers: [2, 92]
Generated Node #0,1,1: 95:[2, 92] Operation: 89+3=92
Exploring Operation: 89+2=91, Resulting Numbers: [3, 91]
Generated Node #0,1,2: 95:[3, 91] Operation: 89+2=91
Moving to Node #0,1,0
Current State: 95:[89, 5], Operations: ['16-13=3', '2+3=5']
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,95 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[2, 92], Operations: ['16-13=3', '89+3=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,95 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,95 unequal: No Solution
Moving to Node #0,1,2
Current State: 95:[3, 91], Operations: ['16-13=3', '89+2=91']
Exploring Operation: 3*91=273, Resulting Numbers: [273]
273,95 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 3+91=94, Resulting Numbers: [94]
94,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,0
Current State: 95:[16, 13, 91], Operations: ['89+2=91']
Exploring Operation: 16-13=3, Resulting Numbers: [91, 3]
Generated Node #0,0,0: 95:[91, 3] Operation: 16-13=3
Exploring Operation: 91/13=7, Resulting Numbers: [16, 7]
Generated Node #0,0,1: 95:[16, 7] Operation: 91/13=7
Exploring Operation: 13+91=104, Resulting Numbers: [16, 104]
Generated Node #0,0,2: 95:[16, 104] Operation: 13+91=104
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[16, 7], Operations: ['89+2=91', '91/13=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[91, 3], Operations: ['89+2=91', '16-13=3']
Exploring Operation: 91*3=273, Resulting Numbers: [273]
273,95 unequal: No Solution
Exploring Operation: 91-3=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 91+3=94, Resulting Numbers: [94]
94,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[16, 104], Operations: ['89+2=91', '13+91=104']
Exploring Operation: 104-16=88, Resulting Numbers: [88]
88,95 unequal: No Solution
Exploring Operation: 16*104=1664, Resulting Numbers: [1664]
1664,95 unequal: No Solution
Exploring Operation: 16+104=120, Resulting Numbers: [120]
120,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[16, 2, 102], Operations: ['89+13=102']
Exploring Operation: 16/2=8, Resulting Numbers: [102, 8]
Generated Node #0,2,0: 95:[102, 8] Operation: 16/2=8
Exploring Operation: 16+2=18, Resulting Numbers: [102, 18]
Generated Node #0,2,1: 95:[102, 18] Operation: 16+2=18
Exploring Operation: 102-2=100, Resulting Numbers: [16, 100]
Generated Node #0,2,2: 95:[16, 100] Operation: 102-2=100
Moving to Node #0,2,1
Current State: 95:[102, 18], Operations: ['89+13=102', '16+2=18']
Exploring Operation: 102+18=120, Resulting Numbers: [120]
120,95 unequal: No Solution
Exploring Operation: 102*18=1836, Resulting Numbers: [1836]
1836,95 unequal: No Solution
Exploring Operation: 102-18=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[16, 100], Operations: ['89+13=102', '102-2=100']
Exploring Operation: 100-16=84, Resulting Numbers: [84]
84,95 unequal: No Solution
Exploring Operation: 16*100=1600, Resulting Numbers: [1600]
1600,95 unequal: No Solution
Exploring Operation: 16+100=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[102, 8], Operations: ['89+13=102', '16/2=8']
Exploring Operation: 102*8=816, Resulting Numbers: [816]
816,95 unequal: No Solution
Exploring Operation: 102+8=110, Resulting Numbers: [110]
110,95 unequal: No Solution
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,95 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 |
[
3,
32,
15,
2
] | 29 | [
"3*15=45",
"32/2=16",
"45-16=29"
] | Current State: 29:[3, 32, 15, 2], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [32, 2, 45]
Generated Node #2: [32, 2, 45] from Operation: 3*15=45
Current State: 29:[32, 2, 45], Operations: ['3*15=45']
Exploring Operation: 32/2=16, Resulting Numbers: [45, 16]
Generated Node #3: [45, 16] from Operation: 32/2=16
Current State: 29:[45, 16], Operations: ['3*15=45', '32/2=16']
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 32, 15, 2], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [3, 32, 30]
Generated Node #0,0: 29:[3, 32, 30] Operation: 15*2=30
Exploring Operation: 3*2=6, Resulting Numbers: [32, 15, 6]
Generated Node #0,1: 29:[32, 15, 6] Operation: 3*2=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[3, 32, 30], Operations: ['15*2=30']
Exploring Operation: 30-3=27, Resulting Numbers: [32, 27]
Generated Node #0,0,0: 29:[32, 27] Operation: 30-3=27
Exploring Operation: 32-3=29, Resulting Numbers: [30, 29]
Generated Node #0,0,1: 29:[30, 29] Operation: 32-3=29
Moving to Node #0,0,1
Current State: 29:[30, 29], Operations: ['15*2=30', '32-3=29']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,29 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[32, 27], Operations: ['15*2=30', '30-3=27']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,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,1
Current State: 29:[32, 15, 6], Operations: ['3*2=6']
Exploring Operation: 32-6=26, Resulting Numbers: [15, 26]
Generated Node #0,1,0: 29:[15, 26] Operation: 32-6=26
Exploring Operation: 15+6=21, Resulting Numbers: [32, 21]
Generated Node #0,1,1: 29:[32, 21] Operation: 15+6=21
Moving to Node #0,1,1
Current State: 29:[32, 21], Operations: ['3*2=6', '15+6=21']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[15, 26], Operations: ['3*2=6', '32-6=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,29 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 |
[
64,
34,
53,
11
] | 12 | [
"64-34=30",
"53-11=42",
"42-30=12"
] | Current State: 12:[64, 34, 53, 11], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [53, 11, 30]
Generated Node #2: [53, 11, 30] from Operation: 64-34=30
Current State: 12:[53, 11, 30], Operations: ['64-34=30']
Exploring Operation: 53-11=42, Resulting Numbers: [30, 42]
Generated Node #3: [30, 42] from Operation: 53-11=42
Current State: 12:[30, 42], Operations: ['64-34=30', '53-11=42']
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[64, 34, 53, 11], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [34, 11, 11]
Generated Node #0,0: 12:[34, 11, 11] Operation: 64-53=11
Moving to Node #0,0
Current State: 12:[34, 11, 11], Operations: ['64-53=11']
Exploring Operation: 34-11=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 12:[11, 23] Operation: 34-11=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[11, 23], Operations: ['64-53=11', '34-11=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[64, 34, 53, 11], Operations: []
Exploring Operation: 64-53=11, Resulting Numbers: [34, 11, 11]
Generated Node #0,0: 12:[34, 11, 11] Operation: 64-53=11
Moving to Node #0,0
Current State: 12:[34, 11, 11], Operations: ['64-53=11']
Exploring Operation: 34-11=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 12:[11, 23] Operation: 34-11=23
Moving to Node #0,0,0
Current State: 12:[11, 23], Operations: ['64-53=11', '34-11=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
56,
77,
5,
48
] | 61 | [
"77*48=3696",
"3696/56=66",
"66-5=61"
] | Current State: 61:[56, 77, 5, 48], Operations: []
Exploring Operation: 77*48=3696, Resulting Numbers: [56, 5, 3696]
Generated Node #2: [56, 5, 3696] from Operation: 77*48=3696
Current State: 61:[56, 5, 3696], Operations: ['77*48=3696']
Exploring Operation: 3696/56=66, Resulting Numbers: [5, 66]
Generated Node #3: [5, 66] from Operation: 3696/56=66
Current State: 61:[5, 66], Operations: ['77*48=3696', '3696/56=66']
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[56, 77, 5, 48], Operations: []
Exploring Operation: 56-5=51, Resulting Numbers: [77, 48, 51]
Generated Node #0,0: 61:[77, 48, 51] Operation: 56-5=51
Exploring Operation: 77-5=72, Resulting Numbers: [56, 48, 72]
Generated Node #0,1: 61:[56, 48, 72] Operation: 77-5=72
Exploring Operation: 77+5=82, Resulting Numbers: [56, 48, 82]
Generated Node #0,2: 61:[56, 48, 82] Operation: 77+5=82
Exploring Operation: 5+48=53, Resulting Numbers: [56, 77, 53]
Generated Node #0,3: 61:[56, 77, 53] Operation: 5+48=53
Exploring Operation: 56+5=61, Resulting Numbers: [77, 48, 61]
Generated Node #0,4: 61:[77, 48, 61] Operation: 56+5=61
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[56, 48, 72], Operations: ['77-5=72']
Exploring Operation: 56+48=104, Resulting Numbers: [72, 104]
Generated Node #0,1,0: 61:[72, 104] Operation: 56+48=104
Exploring Operation: 72-56=16, Resulting Numbers: [48, 16]
Generated Node #0,1,1: 61:[48, 16] Operation: 72-56=16
Exploring Operation: 48+72=120, Resulting Numbers: [56, 120]
Generated Node #0,1,2: 61:[56, 120] Operation: 48+72=120
Exploring Operation: 56-48=8, Resulting Numbers: [72, 8]
Generated Node #0,1,3: 61:[72, 8] Operation: 56-48=8
Exploring Operation: 72-48=24, Resulting Numbers: [56, 24]
Generated Node #0,1,4: 61:[56, 24] Operation: 72-48=24
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 61:[56, 24], Operations: ['77-5=72', '72-48=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,61 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,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,0
Current State: 61:[72, 104], Operations: ['77-5=72', '56+48=104']
Exploring Operation: 104-72=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 72*104=7488, Resulting Numbers: [7488]
7488,61 unequal: No Solution
Exploring Operation: 72+104=176, Resulting Numbers: [176]
176,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:[48, 16], Operations: ['77-5=72', '72-56=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,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:[56, 120], Operations: ['77-5=72', '48+72=120']
Exploring Operation: 56*120=6720, Resulting Numbers: [6720]
6720,61 unequal: No Solution
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 56+120=176, Resulting Numbers: [176]
176,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,3
Current State: 61:[72, 8], Operations: ['77-5=72', '56-48=8']
Exploring Operation: 72-8=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 72+8=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 72*8=576, Resulting Numbers: [576]
576,61 unequal: No Solution
Exploring Operation: 72/8=9, Resulting Numbers: [9]
9,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,3
Current State: 61:[56, 77, 53], Operations: ['5+48=53']
Exploring Operation: 77-56=21, Resulting Numbers: [53, 21]
Generated Node #0,3,0: 61:[53, 21] Operation: 77-56=21
Exploring Operation: 56-53=3, Resulting Numbers: [77, 3]
Generated Node #0,3,1: 61:[77, 3] Operation: 56-53=3
Exploring Operation: 77-53=24, Resulting Numbers: [56, 24]
Generated Node #0,3,2: 61:[56, 24] Operation: 77-53=24
Exploring Operation: 77+53=130, Resulting Numbers: [56, 130]
Generated Node #0,3,3: 61:[56, 130] Operation: 77+53=130
Exploring Operation: 56+53=109, Resulting Numbers: [77, 109]
Generated Node #0,3,4: 61:[77, 109] Operation: 56+53=109
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[56, 24], Operations: ['5+48=53', '77-53=24']
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,61 unequal: No Solution
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,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,3,0
Current State: 61:[53, 21], Operations: ['5+48=53', '77-56=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,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,3,4
Current State: 61:[77, 109], Operations: ['5+48=53', '56+53=109']
Exploring Operation: 109-77=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 77*109=8393, Resulting Numbers: [8393]
8393,61 unequal: No Solution
Exploring Operation: 77+109=186, Resulting Numbers: [186]
186,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,3,1
Current State: 61:[77, 3], Operations: ['5+48=53', '56-53=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,61 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,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,3,3
Current State: 61:[56, 130], Operations: ['5+48=53', '77+53=130']
Exploring Operation: 56+130=186, Resulting Numbers: [186]
186,61 unequal: No Solution
Exploring Operation: 56*130=7280, Resulting Numbers: [7280]
7280,61 unequal: No Solution
Exploring Operation: 130-56=74, Resulting Numbers: [74]
74,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,4
Current State: 61:[77, 48, 61], Operations: ['56+5=61']
Exploring Operation: 48+61=109, Resulting Numbers: [77, 109]
Generated Node #0,4,0: 61:[77, 109] Operation: 48+61=109
Exploring Operation: 61-48=13, Resulting Numbers: [77, 13]
Generated Node #0,4,1: 61:[77, 13] Operation: 61-48=13
Exploring Operation: 77-61=16, Resulting Numbers: [48, 16]
Generated Node #0,4,2: 61:[48, 16] Operation: 77-61=16
Exploring Operation: 77-48=29, Resulting Numbers: [61, 29]
Generated Node #0,4,3: 61:[61, 29] Operation: 77-48=29
Exploring Operation: 77+48=125, Resulting Numbers: [61, 125]
Generated Node #0,4,4: 61:[61, 125] Operation: 77+48=125
Moving to Node #0,4,3
Current State: 61:[61, 29], Operations: ['56+5=61', '77-48=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,61 unequal: No Solution
Moving to Node #0,4,2
Current State: 61:[48, 16], Operations: ['56+5=61', '77-61=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,61 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,61 unequal: No Solution
Moving to Node #0,4,0
Current State: 61:[77, 109], Operations: ['56+5=61', '48+61=109']
Exploring Operation: 77+109=186, Resulting Numbers: [186]
186,61 unequal: No Solution
Exploring Operation: 77*109=8393, Resulting Numbers: [8393]
8393,61 unequal: No Solution
Exploring Operation: 109-77=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Moving to Node #0,4,1
Current State: 61:[77, 13], Operations: ['56+5=61', '61-48=13']
Exploring Operation: 77+13=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 77*13=1001, Resulting Numbers: [1001]
1001,61 unequal: No Solution
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Moving to Node #0,4,4
Current State: 61:[61, 125], Operations: ['56+5=61', '77+48=125']
Exploring Operation: 61+125=186, Resulting Numbers: [186]
186,61 unequal: No Solution
Exploring Operation: 125-61=64, Resulting Numbers: [64]
64,61 unequal: No Solution
Exploring Operation: 61*125=7625, Resulting Numbers: [7625]
7625,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[77, 48, 51], Operations: ['56-5=51']
Exploring Operation: 51-48=3, Resulting Numbers: [77, 3]
Generated Node #0,0,0: 61:[77, 3] Operation: 51-48=3
Exploring Operation: 77-51=26, Resulting Numbers: [48, 26]
Generated Node #0,0,1: 61:[48, 26] Operation: 77-51=26
Exploring Operation: 48+51=99, Resulting Numbers: [77, 99]
Generated Node #0,0,2: 61:[77, 99] Operation: 48+51=99
Exploring Operation: 77-48=29, Resulting Numbers: [51, 29]
Generated Node #0,0,3: 61:[51, 29] Operation: 77-48=29
Exploring Operation: 77+48=125, Resulting Numbers: [51, 125]
Generated Node #0,0,4: 61:[51, 125] Operation: 77+48=125
Moving to Node #0,0,3
Current State: 61:[51, 29], Operations: ['56-5=51', '77-48=29']
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[48, 26], Operations: ['56-5=51', '77-51=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,61 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[77, 99], Operations: ['56-5=51', '48+51=99']
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 77+99=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Exploring Operation: 77*99=7623, Resulting Numbers: [7623]
7623,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[77, 3], Operations: ['56-5=51', '51-48=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,61 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,61 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Moving to Node #0,0,4
Current State: 61:[51, 125], Operations: ['56-5=51', '77+48=125']
Exploring Operation: 51+125=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Exploring Operation: 125-51=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 51*125=6375, Resulting Numbers: [6375]
6375,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,2
Current State: 61:[56, 48, 82], Operations: ['77+5=82']
Exploring Operation: 56-48=8, Resulting Numbers: [82, 8]
Generated Node #0,2,0: 61:[82, 8] Operation: 56-48=8
Exploring Operation: 48+82=130, Resulting Numbers: [56, 130]
Generated Node #0,2,1: 61:[56, 130] Operation: 48+82=130
Exploring Operation: 82-48=34, Resulting Numbers: [56, 34]
Generated Node #0,2,2: 61:[56, 34] Operation: 82-48=34
Exploring Operation: 56+48=104, Resulting Numbers: [82, 104]
Generated Node #0,2,3: 61:[82, 104] Operation: 56+48=104
Exploring Operation: 82-56=26, Resulting Numbers: [48, 26]
Generated Node #0,2,4: 61:[48, 26] Operation: 82-56=26
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[56, 34], Operations: ['77+5=82', '82-48=34']
Exploring Operation: 56-34=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 56*34=1904, Resulting Numbers: [1904]
1904,61 unequal: No Solution
Exploring Operation: 56+34=90, Resulting Numbers: [90]
90,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,2,4
Current State: 61:[48, 26], Operations: ['77+5=82', '82-56=26']
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 48+26=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 48*26=1248, Resulting Numbers: [1248]
1248,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,2,3
Current State: 61:[82, 104], Operations: ['77+5=82', '56+48=104']
Exploring Operation: 104-82=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 82+104=186, Resulting Numbers: [186]
186,61 unequal: No Solution
Exploring Operation: 82*104=8528, Resulting Numbers: [8528]
8528,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,2,0
Current State: 61:[82, 8], Operations: ['77+5=82', '56-48=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 82*8=656, Resulting Numbers: [656]
656,61 unequal: No Solution
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,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,2,1
Current State: 61:[56, 130], Operations: ['77+5=82', '48+82=130']
Exploring Operation: 56*130=7280, Resulting Numbers: [7280]
7280,61 unequal: No Solution
Exploring Operation: 130-56=74, Resulting Numbers: [74]
74,61 unequal: No Solution
Exploring Operation: 56+130=186, Resulting Numbers: [186]
186,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
37,
29,
59
] | 81 | [
"31-29=2",
"59*2=118",
"118-37=81"
] | Current State: 81:[31, 37, 29, 59], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [37, 59, 2]
Generated Node #2: [37, 59, 2] from Operation: 31-29=2
Current State: 81:[37, 59, 2], Operations: ['31-29=2']
Exploring Operation: 59*2=118, Resulting Numbers: [37, 118]
Generated Node #3: [37, 118] from Operation: 59*2=118
Current State: 81:[37, 118], Operations: ['31-29=2', '59*2=118']
Exploring Operation: 118-37=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[31, 37, 29, 59], Operations: []
Exploring Operation: 59-37=22, Resulting Numbers: [31, 29, 22]
Generated Node #0,0: 81:[31, 29, 22] Operation: 59-37=22
Exploring Operation: 59-31=28, Resulting Numbers: [37, 29, 28]
Generated Node #0,1: 81:[37, 29, 28] Operation: 59-31=28
Exploring Operation: 59-29=30, Resulting Numbers: [31, 37, 30]
Generated Node #0,2: 81:[31, 37, 30] Operation: 59-29=30
Exploring Operation: 31+59=90, Resulting Numbers: [37, 29, 90]
Generated Node #0,3: 81:[37, 29, 90] Operation: 31+59=90
Exploring Operation: 37+59=96, Resulting Numbers: [31, 29, 96]
Generated Node #0,4: 81:[31, 29, 96] Operation: 37+59=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[31, 29, 22], Operations: ['59-37=22']
Exploring Operation: 31-22=9, Resulting Numbers: [29, 9]
Generated Node #0,0,0: 81:[29, 9] Operation: 31-22=9
Exploring Operation: 31+29=60, Resulting Numbers: [22, 60]
Generated Node #0,0,1: 81:[22, 60] Operation: 31+29=60
Exploring Operation: 29-22=7, Resulting Numbers: [31, 7]
Generated Node #0,0,2: 81:[31, 7] Operation: 29-22=7
Exploring Operation: 31-29=2, Resulting Numbers: [22, 2]
Generated Node #0,0,3: 81:[22, 2] Operation: 31-29=2
Exploring Operation: 31+22=53, Resulting Numbers: [29, 53]
Generated Node #0,0,4: 81:[29, 53] Operation: 31+22=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[29, 9], Operations: ['59-37=22', '31-22=9']
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,81 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[31, 7], Operations: ['59-37=22', '29-22=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 81:[22, 2], Operations: ['59-37=22', '31-29=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[22, 60], Operations: ['59-37=22', '31+29=60']
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,81 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 81:[29, 53], Operations: ['59-37=22', '31+22=53']
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[37, 29, 28], Operations: ['59-31=28']
Exploring Operation: 37+28=65, Resulting Numbers: [29, 65]
Generated Node #0,1,0: 81:[29, 65] Operation: 37+28=65
Exploring Operation: 37-28=9, Resulting Numbers: [29, 9]
Generated Node #0,1,1: 81:[29, 9] Operation: 37-28=9
Exploring Operation: 37+29=66, Resulting Numbers: [28, 66]
Generated Node #0,1,2: 81:[28, 66] Operation: 37+29=66
Exploring Operation: 29-28=1, Resulting Numbers: [37, 1]
Generated Node #0,1,3: 81:[37, 1] Operation: 29-28=1
Exploring Operation: 37-29=8, Resulting Numbers: [28, 8]
Generated Node #0,1,4: 81:[28, 8] Operation: 37-29=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[29, 9], Operations: ['59-31=28', '37-28=9']
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 29*9=261, Resulting Numbers: [261]
261,81 unequal: No Solution
Exploring Operation: 29+9=38, Resulting Numbers: [38]
38,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 81:[28, 8], Operations: ['59-31=28', '37-29=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,81 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 81:[37, 1], Operations: ['59-31=28', '29-28=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[28, 66], Operations: ['59-31=28', '37+29=66']
Exploring Operation: 66-28=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 28*66=1848, Resulting Numbers: [1848]
1848,81 unequal: No Solution
Exploring Operation: 28+66=94, Resulting Numbers: [94]
94,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[29, 65], Operations: ['59-31=28', '37+28=65']
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,81 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[31, 37, 30], Operations: ['59-29=30']
Exploring Operation: 37-31=6, Resulting Numbers: [30, 6]
Generated Node #0,2,0: 81:[30, 6] Operation: 37-31=6
Exploring Operation: 37-30=7, Resulting Numbers: [31, 7]
Generated Node #0,2,1: 81:[31, 7] Operation: 37-30=7
Exploring Operation: 31-30=1, Resulting Numbers: [37, 1]
Generated Node #0,2,2: 81:[37, 1] Operation: 31-30=1
Exploring Operation: 31+37=68, Resulting Numbers: [30, 68]
Generated Node #0,2,3: 81:[30, 68] Operation: 31+37=68
Exploring Operation: 37+30=67, Resulting Numbers: [31, 67]
Generated Node #0,2,4: 81:[31, 67] Operation: 37+30=67
Moving to Node #0,2,0
Current State: 81:[30, 6], Operations: ['59-29=30', '37-31=6']
Exploring Operation: 30*6=180, Resulting Numbers: [180]
180,81 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 30+6=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[31, 7], Operations: ['59-29=30', '37-30=7']
Exploring Operation: 31+7=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 31*7=217, Resulting Numbers: [217]
217,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[37, 1], Operations: ['59-29=30', '31-30=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[30, 68], Operations: ['59-29=30', '31+37=68']
Exploring Operation: 30+68=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 30*68=2040, Resulting Numbers: [2040]
2040,81 unequal: No Solution
Exploring Operation: 68-30=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Moving to Node #0,2,4
Current State: 81:[31, 67], Operations: ['59-29=30', '37+30=67']
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,81 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,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,3
Current State: 81:[37, 29, 90], Operations: ['31+59=90']
Exploring Operation: 37+29=66, Resulting Numbers: [90, 66]
Generated Node #0,3,0: 81:[90, 66] Operation: 37+29=66
Exploring Operation: 37-29=8, Resulting Numbers: [90, 8]
Generated Node #0,3,1: 81:[90, 8] Operation: 37-29=8
Exploring Operation: 37+90=127, Resulting Numbers: [29, 127]
Generated Node #0,3,2: 81:[29, 127] Operation: 37+90=127
Exploring Operation: 90-37=53, Resulting Numbers: [29, 53]
Generated Node #0,3,3: 81:[29, 53] Operation: 90-37=53
Exploring Operation: 90-29=61, Resulting Numbers: [37, 61]
Generated Node #0,3,4: 81:[37, 61] Operation: 90-29=61
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 81:[90, 8], Operations: ['31+59=90', '37-29=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,81 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 81:[90, 66], Operations: ['31+59=90', '37+29=66']
Exploring Operation: 90+66=156, Resulting Numbers: [156]
156,81 unequal: No Solution
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 90*66=5940, Resulting Numbers: [5940]
5940,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 81:[29, 53], Operations: ['31+59=90', '90-37=53']
Exploring Operation: 29*53=1537, Resulting Numbers: [1537]
1537,81 unequal: No Solution
Exploring Operation: 53-29=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 29+53=82, Resulting Numbers: [82]
82,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 81:[37, 61], Operations: ['31+59=90', '90-29=61']
Exploring Operation: 37*61=2257, Resulting Numbers: [2257]
2257,81 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 37+61=98, Resulting Numbers: [98]
98,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 81:[29, 127], Operations: ['31+59=90', '37+90=127']
Exploring Operation: 29*127=3683, Resulting Numbers: [3683]
3683,81 unequal: No Solution
Exploring Operation: 29+127=156, Resulting Numbers: [156]
156,81 unequal: No Solution
Exploring Operation: 127-29=98, Resulting Numbers: [98]
98,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 81:[31, 29, 96], Operations: ['37+59=96']
Exploring Operation: 31-29=2, Resulting Numbers: [96, 2]
Generated Node #0,4,0: 81:[96, 2] Operation: 31-29=2
Exploring Operation: 96-31=65, Resulting Numbers: [29, 65]
Generated Node #0,4,1: 81:[29, 65] Operation: 96-31=65
Exploring Operation: 31+96=127, Resulting Numbers: [29, 127]
Generated Node #0,4,2: 81:[29, 127] Operation: 31+96=127
Exploring Operation: 96-29=67, Resulting Numbers: [31, 67]
Generated Node #0,4,3: 81:[31, 67] Operation: 96-29=67
Exploring Operation: 31+29=60, Resulting Numbers: [96, 60]
Generated Node #0,4,4: 81:[96, 60] Operation: 31+29=60
Moving to Node #0,4,0
Current State: 81:[96, 2], Operations: ['37+59=96', '31-29=2']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,81 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Moving to Node #0,4,3
Current State: 81:[31, 67], Operations: ['37+59=96', '96-29=67']
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,81 unequal: No Solution
Moving to Node #0,4,1
Current State: 81:[29, 65], Operations: ['37+59=96', '96-31=65']
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,81 unequal: No Solution
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Moving to Node #0,4,4
Current State: 81:[96, 60], Operations: ['37+59=96', '31+29=60']
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,81 unequal: No Solution
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,81 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Moving to Node #0,4,2
Current State: 81:[29, 127], Operations: ['37+59=96', '31+96=127']
Exploring Operation: 29+127=156, Resulting Numbers: [156]
156,81 unequal: No Solution
Exploring Operation: 127-29=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 29*127=3683, Resulting Numbers: [3683]
3683,81 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 |
[
17,
24,
27,
17
] | 27 | [
"17-17=0",
"24*0=0",
"27+0=27"
] | Current State: 27:[17, 24, 27, 17], Operations: []
Exploring Operation: 17-17=0, Resulting Numbers: [24, 27, 0]
Generated Node #2: [24, 27, 0] from Operation: 17-17=0
Current State: 27:[24, 27, 0], Operations: ['17-17=0']
Exploring Operation: 24*0=0, Resulting Numbers: [27, 0]
Generated Node #3: [27, 0] from Operation: 24*0=0
Current State: 27:[27, 0], Operations: ['17-17=0', '24*0=0']
Exploring Operation: 27+0=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[17, 24, 27, 17], Operations: []
Exploring Operation: 17/17=1, Resulting Numbers: [24, 27, 1]
Generated Node #0,0: 27:[24, 27, 1] Operation: 17/17=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[24, 27, 1], Operations: ['17/17=1']
Exploring Operation: 27-24=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 27:[1, 3] Operation: 27-24=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[1, 3], Operations: ['17/17=1', '27-24=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
98,
52,
70
] | 82 | [
"2+98=100",
"70-52=18",
"100-18=82"
] | Current State: 82:[2, 98, 52, 70], Operations: []
Exploring Operation: 2+98=100, Resulting Numbers: [52, 70, 100]
Generated Node #2: [52, 70, 100] from Operation: 2+98=100
Current State: 82:[52, 70, 100], Operations: ['2+98=100']
Exploring Operation: 70-52=18, Resulting Numbers: [100, 18]
Generated Node #3: [100, 18] from Operation: 70-52=18
Current State: 82:[100, 18], Operations: ['2+98=100', '70-52=18']
Exploring Operation: 100-18=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[2, 98, 52, 70], Operations: []
Exploring Operation: 70-52=18, Resulting Numbers: [2, 98, 18]
Generated Node #0,0: 82:[2, 98, 18] Operation: 70-52=18
Exploring Operation: 98/2=49, Resulting Numbers: [52, 70, 49]
Generated Node #0,1: 82:[52, 70, 49] Operation: 98/2=49
Exploring Operation: 98-52=46, Resulting Numbers: [2, 70, 46]
Generated Node #0,2: 82:[2, 70, 46] Operation: 98-52=46
Exploring Operation: 98-70=28, Resulting Numbers: [2, 52, 28]
Generated Node #0,3: 82:[2, 52, 28] Operation: 98-70=28
Exploring Operation: 70/2=35, Resulting Numbers: [98, 52, 35]
Generated Node #0,4: 82:[98, 52, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[2, 70, 46], Operations: ['98-52=46']
Exploring Operation: 70/2=35, Resulting Numbers: [46, 35]
Generated Node #0,2,0: 82:[46, 35] Operation: 70/2=35
Exploring Operation: 46-2=44, Resulting Numbers: [70, 44]
Generated Node #0,2,1: 82:[70, 44] Operation: 46-2=44
Exploring Operation: 70-2=68, Resulting Numbers: [46, 68]
Generated Node #0,2,2: 82:[46, 68] Operation: 70-2=68
Exploring Operation: 70-46=24, Resulting Numbers: [2, 24]
Generated Node #0,2,3: 82:[2, 24] Operation: 70-46=24
Exploring Operation: 2+70=72, Resulting Numbers: [46, 72]
Generated Node #0,2,4: 82:[46, 72] Operation: 2+70=72
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 82:[46, 35], Operations: ['98-52=46', '70/2=35']
Exploring Operation: 46*35=1610, Resulting Numbers: [1610]
1610,82 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,82 unequal: No Solution
Exploring Operation: 46+35=81, Resulting Numbers: [81]
81,82 unequal: No Solution
No 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: 82:[70, 44], Operations: ['98-52=46', '46-2=44']
Exploring Operation: 70+44=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 70*44=3080, Resulting Numbers: [3080]
3080,82 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 82:[46, 72], Operations: ['98-52=46', '2+70=72']
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,82 unequal: No Solution
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,82 unequal: No Solution
No 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: 82:[2, 24], Operations: ['98-52=46', '70-46=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,82 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,82 unequal: No Solution
Exploring Operation: 2+24=26, Resulting Numbers: [26]
26,82 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,82 unequal: No Solution
No 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: 82:[46, 68], Operations: ['98-52=46', '70-2=68']
Exploring Operation: 46+68=114, Resulting Numbers: [114]
114,82 unequal: No Solution
Exploring Operation: 46*68=3128, Resulting Numbers: [3128]
3128,82 unequal: No Solution
Exploring Operation: 68-46=22, Resulting Numbers: [22]
22,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 82:[2, 52, 28], Operations: ['98-70=28']
Exploring Operation: 52-2=50, Resulting Numbers: [28, 50]
Generated Node #0,3,0: 82:[28, 50] Operation: 52-2=50
Exploring Operation: 2+28=30, Resulting Numbers: [52, 30]
Generated Node #0,3,1: 82:[52, 30] Operation: 2+28=30
Exploring Operation: 52+28=80, Resulting Numbers: [2, 80]
Generated Node #0,3,2: 82:[2, 80] Operation: 52+28=80
Exploring Operation: 52-28=24, Resulting Numbers: [2, 24]
Generated Node #0,3,3: 82:[2, 24] Operation: 52-28=24
Exploring Operation: 28/2=14, Resulting Numbers: [52, 14]
Generated Node #0,3,4: 82:[52, 14] Operation: 28/2=14
Moving to Node #0,3,2
Current State: 82:[2, 80], Operations: ['98-70=28', '52+28=80']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,82 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,82 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,82 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[2, 98, 52, 70], Operations: []
Exploring Operation: 98-70=28, Resulting Numbers: [2, 52, 28]
Generated Node #0,3: 82:[2, 52, 28] Operation: 98-70=28
Moving to Node #0,3
Current State: 82:[2, 52, 28], Operations: ['98-70=28']
Exploring Operation: 52+28=80, Resulting Numbers: [2, 80]
Generated Node #0,3,2: 82:[2, 80] Operation: 52+28=80
Moving to Node #0,3,2
Current State: 82:[2, 80], Operations: ['98-70=28', '52+28=80']
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
37,
69,
2,
74
] | 58 | [
"69-37=32",
"32/2=16",
"74-16=58"
] | Current State: 58:[37, 69, 2, 74], Operations: []
Exploring Operation: 69-37=32, Resulting Numbers: [2, 74, 32]
Generated Node #2: [2, 74, 32] from Operation: 69-37=32
Current State: 58:[2, 74, 32], Operations: ['69-37=32']
Exploring Operation: 32/2=16, Resulting Numbers: [74, 16]
Generated Node #3: [74, 16] from Operation: 32/2=16
Current State: 58:[74, 16], Operations: ['69-37=32', '32/2=16']
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[37, 69, 2, 74], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [37, 2, 5]
Generated Node #0,0: 58:[37, 2, 5] Operation: 74-69=5
Exploring Operation: 74/37=2, Resulting Numbers: [69, 2, 2]
Generated Node #0,1: 58:[69, 2, 2] Operation: 74/37=2
Exploring Operation: 69-37=32, Resulting Numbers: [2, 74, 32]
Generated Node #0,2: 58:[2, 74, 32] Operation: 69-37=32
Moving to Node #0,0
Current State: 58:[37, 2, 5], Operations: ['74-69=5']
Exploring Operation: 37-2=35, Resulting Numbers: [5, 35]
Generated Node #0,0,0: 58:[5, 35] Operation: 37-2=35
Exploring Operation: 5-2=3, Resulting Numbers: [37, 3]
Generated Node #0,0,1: 58:[37, 3] Operation: 5-2=3
Exploring Operation: 37-5=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 58:[2, 32] Operation: 37-5=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[2, 32], Operations: ['74-69=5', '37-5=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[5, 35], Operations: ['74-69=5', '37-2=35']
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[37, 3], Operations: ['74-69=5', '5-2=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,58 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,58 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,58 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: 58:[69, 2, 2], Operations: ['74/37=2']
Exploring Operation: 69-2=67, Resulting Numbers: [2, 67]
Generated Node #0,1,0: 58:[2, 67] Operation: 69-2=67
Exploring Operation: 69-2=67, Resulting Numbers: [2, 67]
Generated Node #0,1,1: 58:[2, 67] Operation: 69-2=67
Exploring Operation: 2/2=1, Resulting Numbers: [69, 1]
Generated Node #0,1,2: 58:[69, 1] Operation: 2/2=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[2, 67], Operations: ['74/37=2', '69-2=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[2, 67], Operations: ['74/37=2', '69-2=67']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,58 unequal: No Solution
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[69, 1], Operations: ['74/37=2', '2/2=1']
Exploring Operation: 69-1=68, Resulting Numbers: [68]
68,58 unequal: No Solution
Exploring Operation: 69/1=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 69*1=69, Resulting Numbers: [69]
69,58 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: 58:[2, 74, 32], Operations: ['69-37=32']
Exploring Operation: 74/2=37, Resulting Numbers: [32, 37]
Generated Node #0,2,0: 58:[32, 37] Operation: 74/2=37
Exploring Operation: 74-32=42, Resulting Numbers: [2, 42]
Generated Node #0,2,1: 58:[2, 42] Operation: 74-32=42
Exploring Operation: 74-2=72, Resulting Numbers: [32, 72]
Generated Node #0,2,2: 58:[32, 72] Operation: 74-2=72
Moving to Node #0,2,0
Current State: 58:[32, 37], Operations: ['69-37=32', '74/2=37']
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[2, 42], Operations: ['69-37=32', '74-32=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[32, 72], Operations: ['69-37=32', '74-2=72']
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,58 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,58 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
39,
33,
69,
67
] | 70 | [
"39+33=72",
"69-67=2",
"72-2=70"
] | Current State: 70:[39, 33, 69, 67], Operations: []
Exploring Operation: 39+33=72, Resulting Numbers: [69, 67, 72]
Generated Node #2: [69, 67, 72] from Operation: 39+33=72
Current State: 70:[69, 67, 72], Operations: ['39+33=72']
Exploring Operation: 69-67=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 69-67=2
Current State: 70:[72, 2], Operations: ['39+33=72', '69-67=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[39, 33, 69, 67], Operations: []
Exploring Operation: 39-33=6, Resulting Numbers: [69, 67, 6]
Generated Node #0,0: 70:[69, 67, 6] Operation: 39-33=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[69, 67, 6], Operations: ['39-33=6']
Exploring Operation: 69-67=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 70:[6, 2] Operation: 69-67=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[6, 2], Operations: ['39-33=6', '69-67=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
7,
3,
80
] | 16 | [
"80-75=5",
"7*3=21",
"21-5=16"
] | Current State: 16:[75, 7, 3, 80], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [7, 3, 5]
Generated Node #2: [7, 3, 5] from Operation: 80-75=5
Current State: 16:[7, 3, 5], Operations: ['80-75=5']
Exploring Operation: 7*3=21, Resulting Numbers: [5, 21]
Generated Node #3: [5, 21] from Operation: 7*3=21
Current State: 16:[5, 21], Operations: ['80-75=5', '7*3=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[75, 7, 3, 80], Operations: []
Exploring Operation: 80-7=73, Resulting Numbers: [75, 3, 73]
Generated Node #0,0: 16:[75, 3, 73] Operation: 80-7=73
Exploring Operation: 80-75=5, Resulting Numbers: [7, 3, 5]
Generated Node #0,1: 16:[7, 3, 5] Operation: 80-75=5
Exploring Operation: 75/3=25, Resulting Numbers: [7, 80, 25]
Generated Node #0,2: 16:[7, 80, 25] Operation: 75/3=25
Exploring Operation: 75-7=68, Resulting Numbers: [3, 80, 68]
Generated Node #0,3: 16:[3, 80, 68] Operation: 75-7=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[7, 3, 5], Operations: ['80-75=5']
Exploring Operation: 5-3=2, Resulting Numbers: [7, 2]
Generated Node #0,1,0: 16:[7, 2] Operation: 5-3=2
Exploring Operation: 3+5=8, Resulting Numbers: [7, 8]
Generated Node #0,1,1: 16:[7, 8] Operation: 3+5=8
Exploring Operation: 7-5=2, Resulting Numbers: [3, 2]
Generated Node #0,1,2: 16:[3, 2] Operation: 7-5=2
Exploring Operation: 7-3=4, Resulting Numbers: [5, 4]
Generated Node #0,1,3: 16:[5, 4] Operation: 7-3=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[7, 2], Operations: ['80-75=5', '5-3=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[7, 8], Operations: ['80-75=5', '3+5=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 16:[3, 2], Operations: ['80-75=5', '7-5=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 16:[5, 4], Operations: ['80-75=5', '7-3=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[7, 80, 25], Operations: ['75/3=25']
Exploring Operation: 80-7=73, Resulting Numbers: [25, 73]
Generated Node #0,2,0: 16:[25, 73] Operation: 80-7=73
Exploring Operation: 7+80=87, Resulting Numbers: [25, 87]
Generated Node #0,2,1: 16:[25, 87] Operation: 7+80=87
Exploring Operation: 25-7=18, Resulting Numbers: [80, 18]
Generated Node #0,2,2: 16:[80, 18] Operation: 25-7=18
Exploring Operation: 80-25=55, Resulting Numbers: [7, 55]
Generated Node #0,2,3: 16:[7, 55] Operation: 80-25=55
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 16:[7, 55], Operations: ['75/3=25', '80-25=55']
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 7+55=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 7*55=385, Resulting Numbers: [385]
385,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 16:[25, 73], Operations: ['75/3=25', '80-7=73']
Exploring Operation: 25+73=98, Resulting Numbers: [98]
98,16 unequal: No Solution
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 25*73=1825, Resulting Numbers: [1825]
1825,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 16:[80, 18], Operations: ['75/3=25', '25-7=18']
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,16 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 16:[25, 87], Operations: ['75/3=25', '7+80=87']
Exploring Operation: 25*87=2175, Resulting Numbers: [2175]
2175,16 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 25+87=112, Resulting Numbers: [112]
112,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[75, 3, 73], Operations: ['80-7=73']
Exploring Operation: 75-73=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 16:[3, 2] Operation: 75-73=2
Exploring Operation: 75-3=72, Resulting Numbers: [73, 72]
Generated Node #0,0,1: 16:[73, 72] Operation: 75-3=72
Exploring Operation: 73-3=70, Resulting Numbers: [75, 70]
Generated Node #0,0,2: 16:[75, 70] Operation: 73-3=70
Exploring Operation: 75/3=25, Resulting Numbers: [73, 25]
Generated Node #0,0,3: 16:[73, 25] Operation: 75/3=25
Moving to Node #0,0,0
Current State: 16:[3, 2], Operations: ['80-7=73', '75-73=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[73, 25], Operations: ['80-7=73', '75/3=25']
Exploring Operation: 73-25=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 73+25=98, Resulting Numbers: [98]
98,16 unequal: No Solution
Exploring Operation: 73*25=1825, Resulting Numbers: [1825]
1825,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[75, 70], Operations: ['80-7=73', '73-3=70']
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,16 unequal: No Solution
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,16 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[73, 72], Operations: ['80-7=73', '75-3=72']
Exploring Operation: 73*72=5256, Resulting Numbers: [5256]
5256,16 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 73+72=145, Resulting Numbers: [145]
145,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,3
Current State: 16:[3, 80, 68], Operations: ['75-7=68']
Exploring Operation: 80-3=77, Resulting Numbers: [68, 77]
Generated Node #0,3,0: 16:[68, 77] Operation: 80-3=77
Exploring Operation: 68-3=65, Resulting Numbers: [80, 65]
Generated Node #0,3,1: 16:[80, 65] Operation: 68-3=65
Exploring Operation: 3+80=83, Resulting Numbers: [68, 83]
Generated Node #0,3,2: 16:[68, 83] Operation: 3+80=83
Exploring Operation: 80-68=12, Resulting Numbers: [3, 12]
Generated Node #0,3,3: 16:[3, 12] Operation: 80-68=12
Moving to Node #0,3,3
Current State: 16:[3, 12], Operations: ['75-7=68', '80-68=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[80, 65], Operations: ['75-7=68', '68-3=65']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 80*65=5200, Resulting Numbers: [5200]
5200,16 unequal: No Solution
Exploring Operation: 80+65=145, Resulting Numbers: [145]
145,16 unequal: No Solution
Moving to Node #0,3,0
Current State: 16:[68, 77], Operations: ['75-7=68', '80-3=77']
Exploring Operation: 68*77=5236, Resulting Numbers: [5236]
5236,16 unequal: No Solution
Exploring Operation: 77-68=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 68+77=145, Resulting Numbers: [145]
145,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[68, 83], Operations: ['75-7=68', '3+80=83']
Exploring Operation: 68+83=151, Resulting Numbers: [151]
151,16 unequal: No Solution
Exploring Operation: 83-68=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 68*83=5644, Resulting Numbers: [5644]
5644,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
71,
77,
72,
18
] | 15 | [
"77-71=6",
"72+18=90",
"90/6=15"
] | Current State: 15:[71, 77, 72, 18], Operations: []
Exploring Operation: 77-71=6, Resulting Numbers: [72, 18, 6]
Generated Node #2: [72, 18, 6] from Operation: 77-71=6
Current State: 15:[72, 18, 6], Operations: ['77-71=6']
Exploring Operation: 72+18=90, Resulting Numbers: [6, 90]
Generated Node #3: [6, 90] from Operation: 72+18=90
Current State: 15:[6, 90], Operations: ['77-71=6', '72+18=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[71, 77, 72, 18], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [71, 18, 5]
Generated Node #0,0: 15:[71, 18, 5] Operation: 77-72=5
Exploring Operation: 72-71=1, Resulting Numbers: [77, 18, 1]
Generated Node #0,1: 15:[77, 18, 1] Operation: 72-71=1
Exploring Operation: 77-71=6, Resulting Numbers: [72, 18, 6]
Generated Node #0,2: 15:[72, 18, 6] Operation: 77-71=6
Exploring Operation: 72/18=4, Resulting Numbers: [71, 77, 4]
Generated Node #0,3: 15:[71, 77, 4] Operation: 72/18=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[71, 18, 5], Operations: ['77-72=5']
Exploring Operation: 71+5=76, Resulting Numbers: [18, 76]
Generated Node #0,0,0: 15:[18, 76] Operation: 71+5=76
Exploring Operation: 71-5=66, Resulting Numbers: [18, 66]
Generated Node #0,0,1: 15:[18, 66] Operation: 71-5=66
Exploring Operation: 18-5=13, Resulting Numbers: [71, 13]
Generated Node #0,0,2: 15:[71, 13] Operation: 18-5=13
Exploring Operation: 71-18=53, Resulting Numbers: [5, 53]
Generated Node #0,0,3: 15:[5, 53] Operation: 71-18=53
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 15:[5, 53], Operations: ['77-72=5', '71-18=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,15 unequal: No Solution
No 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: 15:[18, 66], Operations: ['77-72=5', '71-5=66']
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,15 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,15 unequal: No Solution
No 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: 15:[71, 13], Operations: ['77-72=5', '18-5=13']
Exploring Operation: 71*13=923, Resulting Numbers: [923]
923,15 unequal: No Solution
Exploring Operation: 71+13=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,15 unequal: No Solution
No 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: 15:[18, 76], Operations: ['77-72=5', '71+5=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,15 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,15 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: 15:[72, 18, 6], Operations: ['77-71=6']
Exploring Operation: 72-18=54, Resulting Numbers: [6, 54]
Generated Node #0,2,0: 15:[6, 54] Operation: 72-18=54
Exploring Operation: 72/18=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 15:[6, 4] Operation: 72/18=4
Exploring Operation: 72/6=12, Resulting Numbers: [18, 12]
Generated Node #0,2,2: 15:[18, 12] Operation: 72/6=12
Exploring Operation: 72-6=66, Resulting Numbers: [18, 66]
Generated Node #0,2,3: 15:[18, 66] Operation: 72-6=66
Moving to Node #0,2,1
Current State: 15:[6, 4], Operations: ['77-71=6', '72/18=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[18, 12], Operations: ['77-71=6', '72/6=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,15 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[6, 54], Operations: ['77-71=6', '72-18=54']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,15 unequal: No Solution
Exploring Operation: 6*54=324, Resulting Numbers: [324]
324,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[18, 66], Operations: ['77-71=6', '72-6=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,15 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,15 unequal: No Solution
No solution 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: 15:[77, 18, 1], Operations: ['72-71=1']
Exploring Operation: 77*1=77, Resulting Numbers: [18, 77]
Generated Node #0,1,0: 15:[18, 77] Operation: 77*1=77
Exploring Operation: 77-1=76, Resulting Numbers: [18, 76]
Generated Node #0,1,1: 15:[18, 76] Operation: 77-1=76
Exploring Operation: 77-18=59, Resulting Numbers: [1, 59]
Generated Node #0,1,2: 15:[1, 59] Operation: 77-18=59
Exploring Operation: 18-1=17, Resulting Numbers: [77, 17]
Generated Node #0,1,3: 15:[77, 17] Operation: 18-1=17
Moving to Node #0,1,2
Current State: 15:[1, 59], Operations: ['72-71=1', '77-18=59']
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Exploring Operation: 1+59=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[77, 17], Operations: ['72-71=1', '18-1=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,15 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[18, 76], Operations: ['72-71=1', '77-1=76']
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[18, 77], Operations: ['72-71=1', '77*1=77']
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,15 unequal: No Solution
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,15 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,15 unequal: No Solution
No 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: 15:[71, 77, 4], Operations: ['72/18=4']
Exploring Operation: 71+4=75, Resulting Numbers: [77, 75]
Generated Node #0,3,0: 15:[77, 75] Operation: 71+4=75
Exploring Operation: 77-71=6, Resulting Numbers: [4, 6]
Generated Node #0,3,1: 15:[4, 6] Operation: 77-71=6
Exploring Operation: 71-4=67, Resulting Numbers: [77, 67]
Generated Node #0,3,2: 15:[77, 67] Operation: 71-4=67
Exploring Operation: 77-4=73, Resulting Numbers: [71, 73]
Generated Node #0,3,3: 15:[71, 73] Operation: 77-4=73
Moving to Node #0,3,1
Current State: 15:[4, 6], Operations: ['72/18=4', '77-71=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[71, 73], Operations: ['72/18=4', '77-4=73']
Exploring Operation: 71+73=144, Resulting Numbers: [144]
144,15 unequal: No Solution
Exploring Operation: 73-71=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 71*73=5183, Resulting Numbers: [5183]
5183,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[77, 67], Operations: ['72/18=4', '71-4=67']
Exploring Operation: 77-67=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Exploring Operation: 77*67=5159, Resulting Numbers: [5159]
5159,15 unequal: No Solution
Exploring Operation: 77+67=144, Resulting Numbers: [144]
144,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[77, 75], Operations: ['72/18=4', '71+4=75']
Exploring Operation: 77*75=5775, Resulting Numbers: [5775]
5775,15 unequal: No Solution
Exploring Operation: 77+75=152, Resulting Numbers: [152]
152,15 unequal: No Solution
Exploring Operation: 77-75=2, Resulting Numbers: [2]
2,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
10,
93,
38,
53
] | 62 | [
"10*93=930",
"53-38=15",
"930/15=62"
] | Current State: 62:[10, 93, 38, 53], Operations: []
Exploring Operation: 10*93=930, Resulting Numbers: [38, 53, 930]
Generated Node #2: [38, 53, 930] from Operation: 10*93=930
Current State: 62:[38, 53, 930], Operations: ['10*93=930']
Exploring Operation: 53-38=15, Resulting Numbers: [930, 15]
Generated Node #3: [930, 15] from Operation: 53-38=15
Current State: 62:[930, 15], Operations: ['10*93=930', '53-38=15']
Exploring Operation: 930/15=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[10, 93, 38, 53], Operations: []
Exploring Operation: 93-38=55, Resulting Numbers: [10, 53, 55]
Generated Node #0,0: 62:[10, 53, 55] Operation: 93-38=55
Exploring Operation: 93-53=40, Resulting Numbers: [10, 38, 40]
Generated Node #0,1: 62:[10, 38, 40] Operation: 93-53=40
Exploring Operation: 93-10=83, Resulting Numbers: [38, 53, 83]
Generated Node #0,2: 62:[38, 53, 83] Operation: 93-10=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[10, 53, 55], Operations: ['93-38=55']
Exploring Operation: 10+55=65, Resulting Numbers: [53, 65]
Generated Node #0,0,0: 62:[53, 65] Operation: 10+55=65
Exploring Operation: 55-53=2, Resulting Numbers: [10, 2]
Generated Node #0,0,1: 62:[10, 2] Operation: 55-53=2
Exploring Operation: 10+53=63, Resulting Numbers: [55, 63]
Generated Node #0,0,2: 62:[55, 63] Operation: 10+53=63
Moving to Node #0,0,1
Current State: 62:[10, 2], Operations: ['93-38=55', '55-53=2']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[55, 63], Operations: ['93-38=55', '10+53=63']
Exploring Operation: 55+63=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Exploring Operation: 63-55=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 55*63=3465, Resulting Numbers: [3465]
3465,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[53, 65], Operations: ['93-38=55', '10+55=65']
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,62 unequal: No Solution
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[10, 38, 40], Operations: ['93-53=40']
Exploring Operation: 40-38=2, Resulting Numbers: [10, 2]
Generated Node #0,1,0: 62:[10, 2] Operation: 40-38=2
Exploring Operation: 40-10=30, Resulting Numbers: [38, 30]
Generated Node #0,1,1: 62:[38, 30] Operation: 40-10=30
Exploring Operation: 40/10=4, Resulting Numbers: [38, 4]
Generated Node #0,1,2: 62:[38, 4] Operation: 40/10=4
Moving to Node #0,1,0
Current State: 62:[10, 2], Operations: ['93-53=40', '40-38=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[38, 30], Operations: ['93-53=40', '40-10=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,62 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[38, 4], Operations: ['93-53=40', '40/10=4']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,62 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 62:[38, 53, 83], Operations: ['93-10=83']
Exploring Operation: 83-38=45, Resulting Numbers: [53, 45]
Generated Node #0,2,0: 62:[53, 45] Operation: 83-38=45
Exploring Operation: 53-38=15, Resulting Numbers: [83, 15]
Generated Node #0,2,1: 62:[83, 15] Operation: 53-38=15
Exploring Operation: 83-53=30, Resulting Numbers: [38, 30]
Generated Node #0,2,2: 62:[38, 30] Operation: 83-53=30
Moving to Node #0,2,2
Current State: 62:[38, 30], Operations: ['93-10=83', '83-53=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,62 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[53, 45], Operations: ['93-10=83', '83-38=45']
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,62 unequal: No Solution
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[83, 15], Operations: ['93-10=83', '53-38=15']
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,62 unequal: No Solution
Exploring Operation: 83-15=68, Resulting Numbers: [68]
68,62 unequal: No Solution
Exploring Operation: 83*15=1245, Resulting Numbers: [1245]
1245,62 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.