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 |
|---|---|---|---|---|---|---|---|---|
[
62,
12,
16,
39
] | 19 | [
"62+12=74",
"16+39=55",
"74-55=19"
] | Current State: 19:[62, 12, 16, 39], Operations: []
Exploring Operation: 62+12=74, Resulting Numbers: [16, 39, 74]
Generated Node #2: [16, 39, 74] from Operation: 62+12=74
Current State: 19:[16, 39, 74], Operations: ['62+12=74']
Exploring Operation: 16+39=55, Resulting Numbers: [74, 55]
Generated Node #3: [74, 55] from Operation: 16+39=55
Current State: 19:[74, 55], Operations: ['62+12=74', '16+39=55']
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[62, 12, 16, 39], Operations: []
Exploring Operation: 39-12=27, Resulting Numbers: [62, 16, 27]
Generated Node #0,0: 19:[62, 16, 27] Operation: 39-12=27
Exploring Operation: 62-16=46, Resulting Numbers: [12, 39, 46]
Generated Node #0,1: 19:[12, 39, 46] Operation: 62-16=46
Exploring Operation: 39-16=23, Resulting Numbers: [62, 12, 23]
Generated Node #0,2: 19:[62, 12, 23] Operation: 39-16=23
Exploring Operation: 62-39=23, Resulting Numbers: [12, 16, 23]
Generated Node #0,3: 19:[12, 16, 23] Operation: 62-39=23
Exploring Operation: 62-12=50, Resulting Numbers: [16, 39, 50]
Generated Node #0,4: 19:[16, 39, 50] Operation: 62-12=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[12, 16, 23], Operations: ['62-39=23']
Exploring Operation: 23-12=11, Resulting Numbers: [16, 11]
Generated Node #0,3,0: 19:[16, 11] Operation: 23-12=11
Exploring Operation: 23-16=7, Resulting Numbers: [12, 7]
Generated Node #0,3,1: 19:[12, 7] Operation: 23-16=7
Exploring Operation: 12+16=28, Resulting Numbers: [23, 28]
Generated Node #0,3,2: 19:[23, 28] Operation: 12+16=28
Exploring Operation: 16-12=4, Resulting Numbers: [23, 4]
Generated Node #0,3,3: 19:[23, 4] Operation: 16-12=4
Exploring Operation: 12+23=35, Resulting Numbers: [16, 35]
Generated Node #0,3,4: 19:[16, 35] Operation: 12+23=35
Moving to Node #0,3,0
Current State: 19:[16, 11], Operations: ['62-39=23', '23-12=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,19 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,3,2
Current State: 19:[23, 28], Operations: ['62-39=23', '12+16=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,19 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,19 unequal: No Solution
Moving to Node #0,3,1
Current State: 19:[12, 7], Operations: ['62-39=23', '23-16=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[62, 12, 16, 39], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [12, 16, 23]
Generated Node #0,3: 19:[12, 16, 23] Operation: 62-39=23
Moving to Node #0,3
Current State: 19:[12, 16, 23], Operations: ['62-39=23']
Exploring Operation: 23-16=7, Resulting Numbers: [12, 7]
Generated Node #0,3,1: 19:[12, 7] Operation: 23-16=7
Moving to Node #0,3,1
Current State: 19:[12, 7], Operations: ['62-39=23', '23-16=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
35,
64,
43,
72
] | 55 | [
"43-35=8",
"72/8=9",
"64-9=55"
] | Current State: 55:[35, 64, 43, 72], Operations: []
Exploring Operation: 43-35=8, Resulting Numbers: [64, 72, 8]
Generated Node #2: [64, 72, 8] from Operation: 43-35=8
Current State: 55:[64, 72, 8], Operations: ['43-35=8']
Exploring Operation: 72/8=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 72/8=9
Current State: 55:[64, 9], Operations: ['43-35=8', '72/8=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[35, 64, 43, 72], Operations: []
Exploring Operation: 43-35=8, Resulting Numbers: [64, 72, 8]
Generated Node #0,0: 55:[64, 72, 8] Operation: 43-35=8
Exploring Operation: 72-64=8, Resulting Numbers: [35, 43, 8]
Generated Node #0,1: 55:[35, 43, 8] Operation: 72-64=8
Moving to Node #0,0
Current State: 55:[64, 72, 8], Operations: ['43-35=8']
Exploring Operation: 72-64=8, Resulting Numbers: [8, 8]
Generated Node #0,0,0: 55:[8, 8] Operation: 72-64=8
Exploring Operation: 72/8=9, Resulting Numbers: [64, 9]
Generated Node #0,0,1: 55:[64, 9] Operation: 72/8=9
Moving to Node #0,1
Current State: 55:[35, 43, 8], Operations: ['72-64=8']
Exploring Operation: 43-35=8, Resulting Numbers: [8, 8]
Generated Node #0,1,0: 55:[8, 8] Operation: 43-35=8
Exploring Operation: 35+8=43, Resulting Numbers: [43, 43]
Generated Node #0,1,1: 55:[43, 43] Operation: 35+8=43
Moving to Node #0,0,0
Current State: 55:[8, 8], Operations: ['43-35=8', '72-64=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[8, 8], Operations: ['72-64=8', '43-35=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[64, 9], Operations: ['43-35=8', '72/8=9']
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,55 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[35, 64, 43, 72], Operations: []
Exploring Operation: 43-35=8, Resulting Numbers: [64, 72, 8]
Generated Node #0,0: 55:[64, 72, 8] Operation: 43-35=8
Moving to Node #0,0
Current State: 55:[64, 72, 8], Operations: ['43-35=8']
Exploring Operation: 72/8=9, Resulting Numbers: [64, 9]
Generated Node #0,0,1: 55:[64, 9] Operation: 72/8=9
Moving to Node #0,0,1
Current State: 55:[64, 9], Operations: ['43-35=8', '72/8=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
19,
56,
38,
14
] | 89 | [
"56-19=37",
"38+14=52",
"37+52=89"
] | Current State: 89:[19, 56, 38, 14], Operations: []
Exploring Operation: 56-19=37, Resulting Numbers: [38, 14, 37]
Generated Node #2: [38, 14, 37] from Operation: 56-19=37
Current State: 89:[38, 14, 37], Operations: ['56-19=37']
Exploring Operation: 38+14=52, Resulting Numbers: [37, 52]
Generated Node #3: [37, 52] from Operation: 38+14=52
Current State: 89:[37, 52], Operations: ['56-19=37', '38+14=52']
Exploring Operation: 37+52=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[19, 56, 38, 14], Operations: []
Exploring Operation: 19+38=57, Resulting Numbers: [56, 14, 57]
Generated Node #0,0: 89:[56, 14, 57] Operation: 19+38=57
Exploring Operation: 19+56=75, Resulting Numbers: [38, 14, 75]
Generated Node #0,1: 89:[38, 14, 75] Operation: 19+56=75
Moving to Node #0,0
Current State: 89:[56, 14, 57], Operations: ['19+38=57']
Exploring Operation: 56+14=70, Resulting Numbers: [57, 70]
Generated Node #0,0,0: 89:[57, 70] Operation: 56+14=70
Exploring Operation: 14+57=71, Resulting Numbers: [56, 71]
Generated Node #0,0,1: 89:[56, 71] Operation: 14+57=71
Moving to Node #0,1
Current State: 89:[38, 14, 75], Operations: ['19+56=75']
Exploring Operation: 14+75=89, Resulting Numbers: [38, 89]
Generated Node #0,1,0: 89:[38, 89] Operation: 14+75=89
Exploring Operation: 38+14=52, Resulting Numbers: [75, 52]
Generated Node #0,1,1: 89:[75, 52] Operation: 38+14=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[38, 89], Operations: ['19+56=75', '14+75=89']
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,89 unequal: No Solution
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,89 unequal: No Solution
No solution 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: 89:[75, 52], Operations: ['19+56=75', '38+14=52']
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,89 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: 89:[57, 70], Operations: ['19+38=57', '56+14=70']
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[56, 71], Operations: ['19+38=57', '14+57=71']
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,89 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
44,
69,
72,
54
] | 95 | [
"44+69=113",
"72-54=18",
"113-18=95"
] | Current State: 95:[44, 69, 72, 54], Operations: []
Exploring Operation: 44+69=113, Resulting Numbers: [72, 54, 113]
Generated Node #2: [72, 54, 113] from Operation: 44+69=113
Current State: 95:[72, 54, 113], Operations: ['44+69=113']
Exploring Operation: 72-54=18, Resulting Numbers: [113, 18]
Generated Node #3: [113, 18] from Operation: 72-54=18
Current State: 95:[113, 18], Operations: ['44+69=113', '72-54=18']
Exploring Operation: 113-18=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[44, 69, 72, 54], Operations: []
Exploring Operation: 54-44=10, Resulting Numbers: [69, 72, 10]
Generated Node #0,0: 95:[69, 72, 10] Operation: 54-44=10
Exploring Operation: 44+54=98, Resulting Numbers: [69, 72, 98]
Generated Node #0,1: 95:[69, 72, 98] Operation: 44+54=98
Exploring Operation: 69-54=15, Resulting Numbers: [44, 72, 15]
Generated Node #0,2: 95:[44, 72, 15] Operation: 69-54=15
Exploring Operation: 72-54=18, Resulting Numbers: [44, 69, 18]
Generated Node #0,3: 95:[44, 69, 18] Operation: 72-54=18
Moving to Node #0,1
Current State: 95:[69, 72, 98], Operations: ['44+54=98']
Exploring Operation: 98-72=26, Resulting Numbers: [69, 26]
Generated Node #0,1,0: 95:[69, 26] Operation: 98-72=26
Exploring Operation: 69+72=141, Resulting Numbers: [98, 141]
Generated Node #0,1,1: 95:[98, 141] Operation: 69+72=141
Exploring Operation: 98-69=29, Resulting Numbers: [72, 29]
Generated Node #0,1,2: 95:[72, 29] Operation: 98-69=29
Exploring Operation: 72-69=3, Resulting Numbers: [98, 3]
Generated Node #0,1,3: 95:[98, 3] Operation: 72-69=3
Moving to Node #0,3
Current State: 95:[44, 69, 18], Operations: ['72-54=18']
Exploring Operation: 44-18=26, Resulting Numbers: [69, 26]
Generated Node #0,3,0: 95:[69, 26] Operation: 44-18=26
Exploring Operation: 44+69=113, Resulting Numbers: [18, 113]
Generated Node #0,3,1: 95:[18, 113] Operation: 44+69=113
Exploring Operation: 69+18=87, Resulting Numbers: [44, 87]
Generated Node #0,3,2: 95:[44, 87] Operation: 69+18=87
Exploring Operation: 69-44=25, Resulting Numbers: [18, 25]
Generated Node #0,3,3: 95:[18, 25] Operation: 69-44=25
Moving to Node #0,2
Current State: 95:[44, 72, 15], Operations: ['69-54=15']
Exploring Operation: 44-15=29, Resulting Numbers: [72, 29]
Generated Node #0,2,0: 95:[72, 29] Operation: 44-15=29
Exploring Operation: 72+15=87, Resulting Numbers: [44, 87]
Generated Node #0,2,1: 95:[44, 87] Operation: 72+15=87
Exploring Operation: 72-44=28, Resulting Numbers: [15, 28]
Generated Node #0,2,2: 95:[15, 28] Operation: 72-44=28
Exploring Operation: 44+72=116, Resulting Numbers: [15, 116]
Generated Node #0,2,3: 95:[15, 116] Operation: 44+72=116
Moving to Node #0,0
Current State: 95:[69, 72, 10], Operations: ['54-44=10']
Exploring Operation: 72-69=3, Resulting Numbers: [10, 3]
Generated Node #0,0,0: 95:[10, 3] Operation: 72-69=3
Exploring Operation: 72+10=82, Resulting Numbers: [69, 82]
Generated Node #0,0,1: 95:[69, 82] Operation: 72+10=82
Exploring Operation: 69+10=79, Resulting Numbers: [72, 79]
Generated Node #0,0,2: 95:[72, 79] Operation: 69+10=79
Exploring Operation: 69+72=141, Resulting Numbers: [10, 141]
Generated Node #0,0,3: 95:[10, 141] Operation: 69+72=141
Moving to Node #0,1,3
Current State: 95:[98, 3], Operations: ['44+54=98', '72-69=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[44, 69, 72, 54], Operations: []
Exploring Operation: 44+54=98, Resulting Numbers: [69, 72, 98]
Generated Node #0,1: 95:[69, 72, 98] Operation: 44+54=98
Moving to Node #0,1
Current State: 95:[69, 72, 98], Operations: ['44+54=98']
Exploring Operation: 72-69=3, Resulting Numbers: [98, 3]
Generated Node #0,1,3: 95:[98, 3] Operation: 72-69=3
Moving to Node #0,1,3
Current State: 95:[98, 3], Operations: ['44+54=98', '72-69=3']
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.978299 | hs_4 | sum_heuristic |
[
62,
82,
31,
58
] | 34 | [
"62/31=2",
"58*2=116",
"116-82=34"
] | Current State: 34:[62, 82, 31, 58], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [82, 58, 2]
Generated Node #2: [82, 58, 2] from Operation: 62/31=2
Current State: 34:[82, 58, 2], Operations: ['62/31=2']
Exploring Operation: 58*2=116, Resulting Numbers: [82, 116]
Generated Node #3: [82, 116] from Operation: 58*2=116
Current State: 34:[82, 116], Operations: ['62/31=2', '58*2=116']
Exploring Operation: 116-82=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[62, 82, 31, 58], Operations: []
Exploring Operation: 82-58=24, Resulting Numbers: [62, 31, 24]
Generated Node #0,0: 34:[62, 31, 24] Operation: 82-58=24
Exploring Operation: 82-62=20, Resulting Numbers: [31, 58, 20]
Generated Node #0,1: 34:[31, 58, 20] Operation: 82-62=20
Moving to Node #0,1
Current State: 34:[31, 58, 20], Operations: ['82-62=20']
Exploring Operation: 58-20=38, Resulting Numbers: [31, 38]
Generated Node #0,1,0: 34:[31, 38] Operation: 58-20=38
Exploring Operation: 58-31=27, Resulting Numbers: [20, 27]
Generated Node #0,1,1: 34:[20, 27] Operation: 58-31=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[31, 38], Operations: ['82-62=20', '58-20=38']
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[20, 27], Operations: ['82-62=20', '58-31=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[62, 31, 24], Operations: ['82-58=24']
Exploring Operation: 62-24=38, Resulting Numbers: [31, 38]
Generated Node #0,0,0: 34:[31, 38] Operation: 62-24=38
Exploring Operation: 62/31=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 34:[24, 2] Operation: 62/31=2
Moving to Node #0,0,0
Current State: 34:[31, 38], Operations: ['82-58=24', '62-24=38']
Exploring Operation: 31+38=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[24, 2], Operations: ['82-58=24', '62/31=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
37,
10,
3
] | 100 | [
"37-10=27",
"3*27=81",
"19+81=100"
] | Current State: 100:[19, 37, 10, 3], Operations: []
Exploring Operation: 37-10=27, Resulting Numbers: [19, 3, 27]
Generated Node #2: [19, 3, 27] from Operation: 37-10=27
Current State: 100:[19, 3, 27], Operations: ['37-10=27']
Exploring Operation: 3*27=81, Resulting Numbers: [19, 81]
Generated Node #3: [19, 81] from Operation: 3*27=81
Current State: 100:[19, 81], Operations: ['37-10=27', '3*27=81']
Exploring Operation: 19+81=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[19, 37, 10, 3], Operations: []
Exploring Operation: 37-10=27, Resulting Numbers: [19, 3, 27]
Generated Node #0,0: 100:[19, 3, 27] Operation: 37-10=27
Exploring Operation: 19+37=56, Resulting Numbers: [10, 3, 56]
Generated Node #0,1: 100:[10, 3, 56] Operation: 19+37=56
Exploring Operation: 37-19=18, Resulting Numbers: [10, 3, 18]
Generated Node #0,2: 100:[10, 3, 18] Operation: 37-19=18
Exploring Operation: 37+10=47, Resulting Numbers: [19, 3, 47]
Generated Node #0,3: 100:[19, 3, 47] Operation: 37+10=47
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[10, 3, 18], Operations: ['37-19=18']
Exploring Operation: 3+18=21, Resulting Numbers: [10, 21]
Generated Node #0,2,0: 100:[10, 21] Operation: 3+18=21
Exploring Operation: 10-3=7, Resulting Numbers: [18, 7]
Generated Node #0,2,1: 100:[18, 7] Operation: 10-3=7
Exploring Operation: 18/3=6, Resulting Numbers: [10, 6]
Generated Node #0,2,2: 100:[10, 6] Operation: 18/3=6
Exploring Operation: 18-10=8, Resulting Numbers: [3, 8]
Generated Node #0,2,3: 100:[3, 8] Operation: 18-10=8
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 100:[10, 21], Operations: ['37-19=18', '3+18=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,100 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,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:[10, 6], Operations: ['37-19=18', '18/3=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,100 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,100 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,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:[3, 8], Operations: ['37-19=18', '18-10=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,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:[18, 7], Operations: ['37-19=18', '10-3=7']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 18*7=126, Resulting Numbers: [126]
126,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:[19, 3, 27], Operations: ['37-10=27']
Exploring Operation: 27-19=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 100:[3, 8] Operation: 27-19=8
Exploring Operation: 27-3=24, Resulting Numbers: [19, 24]
Generated Node #0,0,1: 100:[19, 24] Operation: 27-3=24
Exploring Operation: 27/3=9, Resulting Numbers: [19, 9]
Generated Node #0,0,2: 100:[19, 9] Operation: 27/3=9
Exploring Operation: 19+3=22, Resulting Numbers: [27, 22]
Generated Node #0,0,3: 100:[27, 22] Operation: 19+3=22
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 100:[19, 24], Operations: ['37-10=27', '27-3=24']
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,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:[19, 9], Operations: ['37-10=27', '27/3=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,100 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,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:[3, 8], Operations: ['37-10=27', '27-19=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,100 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 100:[27, 22], Operations: ['37-10=27', '19+3=22']
Exploring Operation: 27*22=594, Resulting Numbers: [594]
594,100 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 27+22=49, Resulting Numbers: [49]
49,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,3
Current State: 100:[19, 3, 47], Operations: ['37+10=47']
Exploring Operation: 47-19=28, Resulting Numbers: [3, 28]
Generated Node #0,3,0: 100:[3, 28] Operation: 47-19=28
Exploring Operation: 19+3=22, Resulting Numbers: [47, 22]
Generated Node #0,3,1: 100:[47, 22] Operation: 19+3=22
Exploring Operation: 3+47=50, Resulting Numbers: [19, 50]
Generated Node #0,3,2: 100:[19, 50] Operation: 3+47=50
Exploring Operation: 19-3=16, Resulting Numbers: [47, 16]
Generated Node #0,3,3: 100:[47, 16] Operation: 19-3=16
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 100:[19, 50], Operations: ['37+10=47', '3+47=50']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,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:[3, 28], Operations: ['37+10=47', '47-19=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,100 unequal: No Solution
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,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:[47, 22], Operations: ['37+10=47', '19+3=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,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:[47, 16], Operations: ['37+10=47', '19-3=16']
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,100 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,100 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[10, 3, 56], Operations: ['19+37=56']
Exploring Operation: 56-3=53, Resulting Numbers: [10, 53]
Generated Node #0,1,0: 100:[10, 53] Operation: 56-3=53
Exploring Operation: 56-10=46, Resulting Numbers: [3, 46]
Generated Node #0,1,1: 100:[3, 46] Operation: 56-10=46
Exploring Operation: 10+3=13, Resulting Numbers: [56, 13]
Generated Node #0,1,2: 100:[56, 13] Operation: 10+3=13
Exploring Operation: 10-3=7, Resulting Numbers: [56, 7]
Generated Node #0,1,3: 100:[56, 7] Operation: 10-3=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 100:[10, 53], Operations: ['19+37=56', '56-3=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,100 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 100:[3, 46], Operations: ['19+37=56', '56-10=46']
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,100 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 100:[56, 7], Operations: ['19+37=56', '10-3=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,100 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,100 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,100 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 100:[56, 13], Operations: ['19+37=56', '10+3=13']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,100 unequal: No Solution
Exploring Operation: 56+13=69, Resulting Numbers: [69]
69,100 unequal: No Solution
Exploring Operation: 56*13=728, Resulting Numbers: [728]
728,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 | sum_heuristic |
[
25,
92,
57,
32
] | 42 | [
"92-25=67",
"57-32=25",
"67-25=42"
] | Current State: 42:[25, 92, 57, 32], Operations: []
Exploring Operation: 92-25=67, Resulting Numbers: [57, 32, 67]
Generated Node #2: [57, 32, 67] from Operation: 92-25=67
Current State: 42:[57, 32, 67], Operations: ['92-25=67']
Exploring Operation: 57-32=25, Resulting Numbers: [67, 25]
Generated Node #3: [67, 25] from Operation: 57-32=25
Current State: 42:[67, 25], Operations: ['92-25=67', '57-32=25']
Exploring Operation: 67-25=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[25, 92, 57, 32], Operations: []
Exploring Operation: 57-32=25, Resulting Numbers: [25, 92, 25]
Generated Node #0,0: 42:[25, 92, 25] Operation: 57-32=25
Exploring Operation: 92-57=35, Resulting Numbers: [25, 32, 35]
Generated Node #0,1: 42:[25, 32, 35] Operation: 92-57=35
Exploring Operation: 32-25=7, Resulting Numbers: [92, 57, 7]
Generated Node #0,2: 42:[92, 57, 7] Operation: 32-25=7
Exploring Operation: 92-25=67, Resulting Numbers: [57, 32, 67]
Generated Node #0,3: 42:[57, 32, 67] Operation: 92-25=67
Exploring Operation: 92-32=60, Resulting Numbers: [25, 57, 60]
Generated Node #0,4: 42:[25, 57, 60] Operation: 92-32=60
Moving to Node #0,1
Current State: 42:[25, 32, 35], Operations: ['92-57=35']
Exploring Operation: 32-25=7, Resulting Numbers: [35, 7]
Generated Node #0,1,0: 42:[35, 7] Operation: 32-25=7
Exploring Operation: 35-25=10, Resulting Numbers: [32, 10]
Generated Node #0,1,1: 42:[32, 10] Operation: 35-25=10
Exploring Operation: 35-32=3, Resulting Numbers: [25, 3]
Generated Node #0,1,2: 42:[25, 3] Operation: 35-32=3
Exploring Operation: 25+35=60, Resulting Numbers: [32, 60]
Generated Node #0,1,3: 42:[32, 60] Operation: 25+35=60
Exploring Operation: 25+32=57, Resulting Numbers: [35, 57]
Generated Node #0,1,4: 42:[35, 57] Operation: 25+32=57
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[25, 3], Operations: ['92-57=35', '35-32=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,42 unequal: No Solution
No solution 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: 42:[35, 7], Operations: ['92-57=35', '32-25=7']
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,42 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[25, 92, 57, 32], Operations: []
Exploring Operation: 92-57=35, Resulting Numbers: [25, 32, 35]
Generated Node #0,1: 42:[25, 32, 35] Operation: 92-57=35
Moving to Node #0,1
Current State: 42:[25, 32, 35], Operations: ['92-57=35']
Exploring Operation: 32-25=7, Resulting Numbers: [35, 7]
Generated Node #0,1,0: 42:[35, 7] Operation: 32-25=7
Moving to Node #0,1,0
Current State: 42:[35, 7], Operations: ['92-57=35', '32-25=7']
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
71,
46,
87,
42
] | 70 | [
"71-46=25",
"87-42=45",
"25+45=70"
] | Current State: 70:[71, 46, 87, 42], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [87, 42, 25]
Generated Node #2: [87, 42, 25] from Operation: 71-46=25
Current State: 70:[87, 42, 25], Operations: ['71-46=25']
Exploring Operation: 87-42=45, Resulting Numbers: [25, 45]
Generated Node #3: [25, 45] from Operation: 87-42=45
Current State: 70:[25, 45], Operations: ['71-46=25', '87-42=45']
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[71, 46, 87, 42], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [71, 87, 4]
Generated Node #0,0: 70:[71, 87, 4] Operation: 46-42=4
Exploring Operation: 87-42=45, Resulting Numbers: [71, 46, 45]
Generated Node #0,1: 70:[71, 46, 45] Operation: 87-42=45
Exploring Operation: 87-46=41, Resulting Numbers: [71, 42, 41]
Generated Node #0,2: 70:[71, 42, 41] Operation: 87-46=41
Exploring Operation: 87-71=16, Resulting Numbers: [46, 42, 16]
Generated Node #0,3: 70:[46, 42, 16] Operation: 87-71=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[71, 42, 41], Operations: ['87-46=41']
Exploring Operation: 42+41=83, Resulting Numbers: [71, 83]
Generated Node #0,2,0: 70:[71, 83] Operation: 42+41=83
Exploring Operation: 71-42=29, Resulting Numbers: [41, 29]
Generated Node #0,2,1: 70:[41, 29] Operation: 71-42=29
Exploring Operation: 71-41=30, Resulting Numbers: [42, 30]
Generated Node #0,2,2: 70:[42, 30] Operation: 71-41=30
Exploring Operation: 42-41=1, Resulting Numbers: [71, 1]
Generated Node #0,2,3: 70:[71, 1] Operation: 42-41=1
Moving to Node #0,2,3
Current State: 70:[71, 1], Operations: ['87-46=41', '42-41=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[71, 46, 87, 42], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [71, 42, 41]
Generated Node #0,2: 70:[71, 42, 41] Operation: 87-46=41
Moving to Node #0,2
Current State: 70:[71, 42, 41], Operations: ['87-46=41']
Exploring Operation: 42-41=1, Resulting Numbers: [71, 1]
Generated Node #0,2,3: 70:[71, 1] Operation: 42-41=1
Moving to Node #0,2,3
Current State: 70:[71, 1], Operations: ['87-46=41', '42-41=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
28,
41,
5,
77
] | 99 | [
"41-5=36",
"77*36=2772",
"2772/28=99"
] | Current State: 99:[28, 41, 5, 77], Operations: []
Exploring Operation: 41-5=36, Resulting Numbers: [28, 77, 36]
Generated Node #2: [28, 77, 36] from Operation: 41-5=36
Current State: 99:[28, 77, 36], Operations: ['41-5=36']
Exploring Operation: 77*36=2772, Resulting Numbers: [28, 2772]
Generated Node #3: [28, 2772] from Operation: 77*36=2772
Current State: 99:[28, 2772], Operations: ['41-5=36', '77*36=2772']
Exploring Operation: 2772/28=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[28, 41, 5, 77], Operations: []
Exploring Operation: 28+77=105, Resulting Numbers: [41, 5, 105]
Generated Node #0,0: 99:[41, 5, 105] Operation: 28+77=105
Exploring Operation: 77-28=49, Resulting Numbers: [41, 5, 49]
Generated Node #0,1: 99:[41, 5, 49] Operation: 77-28=49
Exploring Operation: 41-28=13, Resulting Numbers: [5, 77, 13]
Generated Node #0,2: 99:[5, 77, 13] Operation: 41-28=13
Exploring Operation: 77-41=36, Resulting Numbers: [28, 5, 36]
Generated Node #0,3: 99:[28, 5, 36] Operation: 77-41=36
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[28, 5, 36], Operations: ['77-41=36']
Exploring Operation: 36-28=8, Resulting Numbers: [5, 8]
Generated Node #0,3,0: 99:[5, 8] Operation: 36-28=8
Exploring Operation: 36-5=31, Resulting Numbers: [28, 31]
Generated Node #0,3,1: 99:[28, 31] Operation: 36-5=31
Exploring Operation: 28+5=33, Resulting Numbers: [36, 33]
Generated Node #0,3,2: 99:[36, 33] Operation: 28+5=33
Exploring Operation: 28-5=23, Resulting Numbers: [36, 23]
Generated Node #0,3,3: 99:[36, 23] Operation: 28-5=23
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[5, 8], Operations: ['77-41=36', '36-28=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 99:[36, 33], Operations: ['77-41=36', '28+5=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,99 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 99:[28, 31], Operations: ['77-41=36', '36-5=31']
Exploring Operation: 31-28=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 28+31=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 28*31=868, Resulting Numbers: [868]
868,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 99:[36, 23], Operations: ['77-41=36', '28-5=23']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,99 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,99 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[41, 5, 105], Operations: ['28+77=105']
Exploring Operation: 41+5=46, Resulting Numbers: [105, 46]
Generated Node #0,0,0: 99:[105, 46] Operation: 41+5=46
Exploring Operation: 105-5=100, Resulting Numbers: [41, 100]
Generated Node #0,0,1: 99:[41, 100] Operation: 105-5=100
Exploring Operation: 41-5=36, Resulting Numbers: [105, 36]
Generated Node #0,0,2: 99:[105, 36] Operation: 41-5=36
Exploring Operation: 105/5=21, Resulting Numbers: [41, 21]
Generated Node #0,0,3: 99:[41, 21] Operation: 105/5=21
Moving to Node #0,0,1
Current State: 99:[41, 100], Operations: ['28+77=105', '105-5=100']
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,99 unequal: No Solution
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,99 unequal: No Solution
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[105, 36], Operations: ['28+77=105', '41-5=36']
Exploring Operation: 105*36=3780, Resulting Numbers: [3780]
3780,99 unequal: No Solution
Exploring Operation: 105-36=69, Resulting Numbers: [69]
69,99 unequal: No Solution
Exploring Operation: 105+36=141, Resulting Numbers: [141]
141,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[41, 21], Operations: ['28+77=105', '105/5=21']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 41*21=861, Resulting Numbers: [861]
861,99 unequal: No Solution
Exploring Operation: 41+21=62, Resulting Numbers: [62]
62,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[105, 46], Operations: ['28+77=105', '41+5=46']
Exploring Operation: 105*46=4830, Resulting Numbers: [4830]
4830,99 unequal: No Solution
Exploring Operation: 105+46=151, Resulting Numbers: [151]
151,99 unequal: No Solution
Exploring Operation: 105-46=59, Resulting Numbers: [59]
59,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[41, 5, 49], Operations: ['77-28=49']
Exploring Operation: 41+49=90, Resulting Numbers: [5, 90]
Generated Node #0,1,0: 99:[5, 90] Operation: 41+49=90
Exploring Operation: 41-5=36, Resulting Numbers: [49, 36]
Generated Node #0,1,1: 99:[49, 36] Operation: 41-5=36
Exploring Operation: 49-41=8, Resulting Numbers: [5, 8]
Generated Node #0,1,2: 99:[5, 8] Operation: 49-41=8
Exploring Operation: 49-5=44, Resulting Numbers: [41, 44]
Generated Node #0,1,3: 99:[41, 44] Operation: 49-5=44
Moving to Node #0,1,2
Current State: 99:[5, 8], Operations: ['77-28=49', '49-41=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[5, 90], Operations: ['77-28=49', '41+49=90']
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[41, 44], Operations: ['77-28=49', '49-5=44']
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,99 unequal: No Solution
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[49, 36], Operations: ['77-28=49', '41-5=36']
Exploring Operation: 49-36=13, Resulting Numbers: [13]
13,99 unequal: No Solution
Exploring Operation: 49*36=1764, Resulting Numbers: [1764]
1764,99 unequal: No Solution
Exploring Operation: 49+36=85, Resulting Numbers: [85]
85,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[5, 77, 13], Operations: ['41-28=13']
Exploring Operation: 77-5=72, Resulting Numbers: [13, 72]
Generated Node #0,2,0: 99:[13, 72] Operation: 77-5=72
Exploring Operation: 77+13=90, Resulting Numbers: [5, 90]
Generated Node #0,2,1: 99:[5, 90] Operation: 77+13=90
Exploring Operation: 13-5=8, Resulting Numbers: [77, 8]
Generated Node #0,2,2: 99:[77, 8] Operation: 13-5=8
Exploring Operation: 5+77=82, Resulting Numbers: [13, 82]
Generated Node #0,2,3: 99:[13, 82] Operation: 5+77=82
Moving to Node #0,2,1
Current State: 99:[5, 90], Operations: ['41-28=13', '77+13=90']
Exploring Operation: 5*90=450, Resulting Numbers: [450]
450,99 unequal: No Solution
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,99 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 5+90=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[13, 82], Operations: ['41-28=13', '5+77=82']
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,99 unequal: No Solution
Exploring Operation: 13*82=1066, Resulting Numbers: [1066]
1066,99 unequal: No Solution
Exploring Operation: 13+82=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[77, 8], Operations: ['41-28=13', '13-5=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,99 unequal: No Solution
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,99 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Moving to Node #0,2,0
Current State: 99:[13, 72], Operations: ['41-28=13', '77-5=72']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,99 unequal: No Solution
Exploring Operation: 13+72=85, Resulting Numbers: [85]
85,99 unequal: No Solution
Exploring Operation: 13*72=936, Resulting Numbers: [936]
936,99 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 |
[
77,
1,
54,
48
] | 70 | [
"77-1=76",
"54-48=6",
"76-6=70"
] | Current State: 70:[77, 1, 54, 48], Operations: []
Exploring Operation: 77-1=76, Resulting Numbers: [54, 48, 76]
Generated Node #2: [54, 48, 76] from Operation: 77-1=76
Current State: 70:[54, 48, 76], Operations: ['77-1=76']
Exploring Operation: 54-48=6, Resulting Numbers: [76, 6]
Generated Node #3: [76, 6] from Operation: 54-48=6
Current State: 70:[76, 6], Operations: ['77-1=76', '54-48=6']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[77, 1, 54, 48], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [77, 1, 6]
Generated Node #0,0: 70:[77, 1, 6] Operation: 54-48=6
Exploring Operation: 77-54=23, Resulting Numbers: [1, 48, 23]
Generated Node #0,1: 70:[1, 48, 23] Operation: 77-54=23
Moving to Node #0,0
Current State: 70:[77, 1, 6], Operations: ['54-48=6']
Exploring Operation: 77-6=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 70:[1, 71] Operation: 77-6=71
Exploring Operation: 77-1=76, Resulting Numbers: [6, 76]
Generated Node #0,0,1: 70:[6, 76] Operation: 77-1=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[1, 71], Operations: ['54-48=6', '77-6=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[77, 1, 54, 48], Operations: []
Exploring Operation: 54-48=6, Resulting Numbers: [77, 1, 6]
Generated Node #0,0: 70:[77, 1, 6] Operation: 54-48=6
Moving to Node #0,0
Current State: 70:[77, 1, 6], Operations: ['54-48=6']
Exploring Operation: 77-6=71, Resulting Numbers: [1, 71]
Generated Node #0,0,0: 70:[1, 71] Operation: 77-6=71
Moving to Node #0,0,0
Current State: 70:[1, 71], Operations: ['54-48=6', '77-6=71']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
3,
47,
69,
43
] | 18 | [
"47-3=44",
"69-43=26",
"44-26=18"
] | Current State: 18:[3, 47, 69, 43], Operations: []
Exploring Operation: 47-3=44, Resulting Numbers: [69, 43, 44]
Generated Node #2: [69, 43, 44] from Operation: 47-3=44
Current State: 18:[69, 43, 44], Operations: ['47-3=44']
Exploring Operation: 69-43=26, Resulting Numbers: [44, 26]
Generated Node #3: [44, 26] from Operation: 69-43=26
Current State: 18:[44, 26], Operations: ['47-3=44', '69-43=26']
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[3, 47, 69, 43], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [3, 43, 22]
Generated Node #0,0: 18:[3, 43, 22] Operation: 69-47=22
Exploring Operation: 69-43=26, Resulting Numbers: [3, 47, 26]
Generated Node #0,1: 18:[3, 47, 26] Operation: 69-43=26
Exploring Operation: 47-43=4, Resulting Numbers: [3, 69, 4]
Generated Node #0,2: 18:[3, 69, 4] Operation: 47-43=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[3, 43, 22], Operations: ['69-47=22']
Exploring Operation: 22-3=19, Resulting Numbers: [43, 19]
Generated Node #0,0,0: 18:[43, 19] Operation: 22-3=19
Exploring Operation: 43-3=40, Resulting Numbers: [22, 40]
Generated Node #0,0,1: 18:[22, 40] Operation: 43-3=40
Exploring Operation: 43-22=21, Resulting Numbers: [3, 21]
Generated Node #0,0,2: 18:[3, 21] Operation: 43-22=21
Moving to Node #0,0,2
Current State: 18:[3, 21], Operations: ['69-47=22', '43-22=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[3, 47, 69, 43], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [3, 43, 22]
Generated Node #0,0: 18:[3, 43, 22] Operation: 69-47=22
Moving to Node #0,0
Current State: 18:[3, 43, 22], Operations: ['69-47=22']
Exploring Operation: 43-22=21, Resulting Numbers: [3, 21]
Generated Node #0,0,2: 18:[3, 21] Operation: 43-22=21
Moving to Node #0,0,2
Current State: 18:[3, 21], Operations: ['69-47=22', '43-22=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
11,
33,
26,
72
] | 68 | [
"33-11=22",
"72-26=46",
"22+46=68"
] | Current State: 68:[11, 33, 26, 72], Operations: []
Exploring Operation: 33-11=22, Resulting Numbers: [26, 72, 22]
Generated Node #2: [26, 72, 22] from Operation: 33-11=22
Current State: 68:[26, 72, 22], Operations: ['33-11=22']
Exploring Operation: 72-26=46, Resulting Numbers: [22, 46]
Generated Node #3: [22, 46] from Operation: 72-26=46
Current State: 68:[22, 46], Operations: ['33-11=22', '72-26=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[11, 33, 26, 72], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [33, 72, 15]
Generated Node #0,0: 68:[33, 72, 15] Operation: 26-11=15
Exploring Operation: 33-26=7, Resulting Numbers: [11, 72, 7]
Generated Node #0,1: 68:[11, 72, 7] Operation: 33-26=7
Exploring Operation: 72-11=61, Resulting Numbers: [33, 26, 61]
Generated Node #0,2: 68:[33, 26, 61] Operation: 72-11=61
Exploring Operation: 33/11=3, Resulting Numbers: [26, 72, 3]
Generated Node #0,3: 68:[26, 72, 3] Operation: 33/11=3
Exploring Operation: 11+26=37, Resulting Numbers: [33, 72, 37]
Generated Node #0,4: 68:[33, 72, 37] Operation: 11+26=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[33, 72, 15], Operations: ['26-11=15']
Exploring Operation: 72-15=57, Resulting Numbers: [33, 57]
Generated Node #0,0,0: 68:[33, 57] Operation: 72-15=57
Exploring Operation: 33+15=48, Resulting Numbers: [72, 48]
Generated Node #0,0,1: 68:[72, 48] Operation: 33+15=48
Exploring Operation: 72-33=39, Resulting Numbers: [15, 39]
Generated Node #0,0,2: 68:[15, 39] Operation: 72-33=39
Exploring Operation: 72+15=87, Resulting Numbers: [33, 87]
Generated Node #0,0,3: 68:[33, 87] Operation: 72+15=87
Exploring Operation: 33-15=18, Resulting Numbers: [72, 18]
Generated Node #0,0,4: 68:[72, 18] Operation: 33-15=18
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 68:[72, 18], Operations: ['26-11=15', '33-15=18']
Exploring Operation: 72/18=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 72+18=90, Resulting Numbers: [90]
90,68 unequal: No Solution
Exploring Operation: 72-18=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 72*18=1296, Resulting Numbers: [1296]
1296,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[15, 39], Operations: ['26-11=15', '72-33=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,68 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[33, 57], Operations: ['26-11=15', '72-15=57']
Exploring Operation: 33*57=1881, Resulting Numbers: [1881]
1881,68 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[72, 48], Operations: ['26-11=15', '33+15=48']
Exploring Operation: 72-48=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 72+48=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 72*48=3456, Resulting Numbers: [3456]
3456,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 68:[33, 87], Operations: ['26-11=15', '72+15=87']
Exploring Operation: 33+87=120, Resulting Numbers: [120]
120,68 unequal: No Solution
Exploring Operation: 33*87=2871, Resulting Numbers: [2871]
2871,68 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 68:[33, 72, 37], Operations: ['11+26=37']
Exploring Operation: 72-33=39, Resulting Numbers: [37, 39]
Generated Node #0,4,0: 68:[37, 39] Operation: 72-33=39
Exploring Operation: 33+72=105, Resulting Numbers: [37, 105]
Generated Node #0,4,1: 68:[37, 105] Operation: 33+72=105
Exploring Operation: 33+37=70, Resulting Numbers: [72, 70]
Generated Node #0,4,2: 68:[72, 70] Operation: 33+37=70
Exploring Operation: 37-33=4, Resulting Numbers: [72, 4]
Generated Node #0,4,3: 68:[72, 4] Operation: 37-33=4
Exploring Operation: 72-37=35, Resulting Numbers: [33, 35]
Generated Node #0,4,4: 68:[33, 35] Operation: 72-37=35
Moving to Node #0,4,4
Current State: 68:[33, 35], Operations: ['11+26=37', '72-37=35']
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[11, 33, 26, 72], Operations: []
Exploring Operation: 11+26=37, Resulting Numbers: [33, 72, 37]
Generated Node #0,4: 68:[33, 72, 37] Operation: 11+26=37
Moving to Node #0,4
Current State: 68:[33, 72, 37], Operations: ['11+26=37']
Exploring Operation: 72-37=35, Resulting Numbers: [33, 35]
Generated Node #0,4,4: 68:[33, 35] Operation: 72-37=35
Moving to Node #0,4,4
Current State: 68:[33, 35], Operations: ['11+26=37', '72-37=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
10,
75,
30,
57
] | 38 | [
"75-10=65",
"57-30=27",
"65-27=38"
] | Current State: 38:[10, 75, 30, 57], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [30, 57, 65]
Generated Node #2: [30, 57, 65] from Operation: 75-10=65
Current State: 38:[30, 57, 65], Operations: ['75-10=65']
Exploring Operation: 57-30=27, Resulting Numbers: [65, 27]
Generated Node #3: [65, 27] from Operation: 57-30=27
Current State: 38:[65, 27], Operations: ['75-10=65', '57-30=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[10, 75, 30, 57], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [10, 30, 18]
Generated Node #0,0: 38:[10, 30, 18] Operation: 75-57=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[10, 30, 18], Operations: ['75-57=18']
Exploring Operation: 30-10=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 38:[18, 20] Operation: 30-10=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 38:[18, 20], Operations: ['75-57=18', '30-10=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[10, 75, 30, 57], Operations: []
Exploring Operation: 75-57=18, Resulting Numbers: [10, 30, 18]
Generated Node #0,0: 38:[10, 30, 18] Operation: 75-57=18
Moving to Node #0,0
Current State: 38:[10, 30, 18], Operations: ['75-57=18']
Exploring Operation: 30-10=20, Resulting Numbers: [18, 20]
Generated Node #0,0,0: 38:[18, 20] Operation: 30-10=20
Moving to Node #0,0,0
Current State: 38:[18, 20], Operations: ['75-57=18', '30-10=20']
Exploring Operation: 18+20=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
62,
98,
60,
69
] | 27 | [
"98-62=36",
"69-60=9",
"36-9=27"
] | Current State: 27:[62, 98, 60, 69], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [60, 69, 36]
Generated Node #2: [60, 69, 36] from Operation: 98-62=36
Current State: 27:[60, 69, 36], Operations: ['98-62=36']
Exploring Operation: 69-60=9, Resulting Numbers: [36, 9]
Generated Node #3: [36, 9] from Operation: 69-60=9
Current State: 27:[36, 9], Operations: ['98-62=36', '69-60=9']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[62, 98, 60, 69], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [60, 69, 36]
Generated Node #0,0: 27:[60, 69, 36] Operation: 98-62=36
Exploring Operation: 98-69=29, Resulting Numbers: [62, 60, 29]
Generated Node #0,1: 27:[62, 60, 29] Operation: 98-69=29
Moving to Node #0,1
Current State: 27:[62, 60, 29], Operations: ['98-69=29']
Exploring Operation: 62-60=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 27:[29, 2] Operation: 62-60=2
Exploring Operation: 62-29=33, Resulting Numbers: [60, 33]
Generated Node #0,1,1: 27:[60, 33] Operation: 62-29=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[29, 2], Operations: ['98-69=29', '62-60=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[62, 98, 60, 69], Operations: []
Exploring Operation: 98-69=29, Resulting Numbers: [62, 60, 29]
Generated Node #0,1: 27:[62, 60, 29] Operation: 98-69=29
Moving to Node #0,1
Current State: 27:[62, 60, 29], Operations: ['98-69=29']
Exploring Operation: 62-60=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 27:[29, 2] Operation: 62-60=2
Moving to Node #0,1,0
Current State: 27:[29, 2], Operations: ['98-69=29', '62-60=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
3,
78,
86,
55
] | 57 | [
"78/3=26",
"86-55=31",
"26+31=57"
] | Current State: 57:[3, 78, 86, 55], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [86, 55, 26]
Generated Node #2: [86, 55, 26] from Operation: 78/3=26
Current State: 57:[86, 55, 26], Operations: ['78/3=26']
Exploring Operation: 86-55=31, Resulting Numbers: [26, 31]
Generated Node #3: [26, 31] from Operation: 86-55=31
Current State: 57:[26, 31], Operations: ['78/3=26', '86-55=31']
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[3, 78, 86, 55], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [3, 55, 8]
Generated Node #0,0: 57:[3, 55, 8] Operation: 86-78=8
Moving to Node #0,0
Current State: 57:[3, 55, 8], Operations: ['86-78=8']
Exploring Operation: 8-3=5, Resulting Numbers: [55, 5]
Generated Node #0,0,0: 57:[55, 5] Operation: 8-3=5
Moving to Node #0,0,0
Current State: 57:[55, 5], Operations: ['86-78=8', '8-3=5']
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,57 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
32,
52,
64
] | 67 | [
"32*52=1664",
"1664/64=26",
"93-26=67"
] | Current State: 67:[93, 32, 52, 64], Operations: []
Exploring Operation: 32*52=1664, Resulting Numbers: [93, 64, 1664]
Generated Node #2: [93, 64, 1664] from Operation: 32*52=1664
Current State: 67:[93, 64, 1664], Operations: ['32*52=1664']
Exploring Operation: 1664/64=26, Resulting Numbers: [93, 26]
Generated Node #3: [93, 26] from Operation: 1664/64=26
Current State: 67:[93, 26], Operations: ['32*52=1664', '1664/64=26']
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[93, 32, 52, 64], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [32, 64, 41]
Generated Node #0,0: 67:[32, 64, 41] Operation: 93-52=41
Exploring Operation: 93-32=61, Resulting Numbers: [52, 64, 61]
Generated Node #0,1: 67:[52, 64, 61] Operation: 93-32=61
Exploring Operation: 32+52=84, Resulting Numbers: [93, 64, 84]
Generated Node #0,2: 67:[93, 64, 84] Operation: 32+52=84
Exploring Operation: 93+32=125, Resulting Numbers: [52, 64, 125]
Generated Node #0,3: 67:[52, 64, 125] Operation: 93+32=125
Exploring Operation: 32+64=96, Resulting Numbers: [93, 52, 96]
Generated Node #0,4: 67:[93, 52, 96] Operation: 32+64=96
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[52, 64, 61], Operations: ['93-32=61']
Exploring Operation: 64-52=12, Resulting Numbers: [61, 12]
Generated Node #0,1,0: 67:[61, 12] Operation: 64-52=12
Exploring Operation: 52+61=113, Resulting Numbers: [64, 113]
Generated Node #0,1,1: 67:[64, 113] Operation: 52+61=113
Exploring Operation: 52+64=116, Resulting Numbers: [61, 116]
Generated Node #0,1,2: 67:[61, 116] Operation: 52+64=116
Exploring Operation: 61-52=9, Resulting Numbers: [64, 9]
Generated Node #0,1,3: 67:[64, 9] Operation: 61-52=9
Exploring Operation: 64+61=125, Resulting Numbers: [52, 125]
Generated Node #0,1,4: 67:[52, 125] Operation: 64+61=125
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[64, 113], Operations: ['93-32=61', '52+61=113']
Exploring Operation: 113-64=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 64+113=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 64*113=7232, Resulting Numbers: [7232]
7232,67 unequal: No Solution
No 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: 67:[61, 116], Operations: ['93-32=61', '52+64=116']
Exploring Operation: 61+116=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 116-61=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 61*116=7076, Resulting Numbers: [7076]
7076,67 unequal: No Solution
No 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: 67:[61, 12], Operations: ['93-32=61', '64-52=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 61*12=732, Resulting Numbers: [732]
732,67 unequal: No Solution
No 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: 67:[64, 9], Operations: ['93-32=61', '61-52=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,67 unequal: No Solution
No 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: 67:[52, 125], Operations: ['93-32=61', '64+61=125']
Exploring Operation: 125-52=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 52+125=177, Resulting Numbers: [177]
177,67 unequal: No Solution
Exploring Operation: 52*125=6500, Resulting Numbers: [6500]
6500,67 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: 67:[93, 64, 84], Operations: ['32+52=84']
Exploring Operation: 64+84=148, Resulting Numbers: [93, 148]
Generated Node #0,2,0: 67:[93, 148] Operation: 64+84=148
Exploring Operation: 84-64=20, Resulting Numbers: [93, 20]
Generated Node #0,2,1: 67:[93, 20] Operation: 84-64=20
Exploring Operation: 93+64=157, Resulting Numbers: [84, 157]
Generated Node #0,2,2: 67:[84, 157] Operation: 93+64=157
Exploring Operation: 93-64=29, Resulting Numbers: [84, 29]
Generated Node #0,2,3: 67:[84, 29] Operation: 93-64=29
Exploring Operation: 93-84=9, Resulting Numbers: [64, 9]
Generated Node #0,2,4: 67:[64, 9] Operation: 93-84=9
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[84, 29], Operations: ['32+52=84', '93-64=29']
Exploring Operation: 84*29=2436, Resulting Numbers: [2436]
2436,67 unequal: No Solution
Exploring Operation: 84+29=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 84-29=55, Resulting Numbers: [55]
55,67 unequal: No Solution
No 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: 67:[64, 9], Operations: ['32+52=84', '93-84=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,67 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,67 unequal: No Solution
No 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: 67:[93, 20], Operations: ['32+52=84', '84-64=20']
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,67 unequal: No Solution
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,67 unequal: No Solution
No 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: 67:[93, 148], Operations: ['32+52=84', '64+84=148']
Exploring Operation: 148-93=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 93*148=13764, Resulting Numbers: [13764]
13764,67 unequal: No Solution
Exploring Operation: 93+148=241, Resulting Numbers: [241]
241,67 unequal: No Solution
No 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: 67:[84, 157], Operations: ['32+52=84', '93+64=157']
Exploring Operation: 157-84=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 84*157=13188, Resulting Numbers: [13188]
13188,67 unequal: No Solution
Exploring Operation: 84+157=241, Resulting Numbers: [241]
241,67 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: 67:[32, 64, 41], Operations: ['93-52=41']
Exploring Operation: 32+64=96, Resulting Numbers: [41, 96]
Generated Node #0,0,0: 67:[41, 96] Operation: 32+64=96
Exploring Operation: 64+41=105, Resulting Numbers: [32, 105]
Generated Node #0,0,1: 67:[32, 105] Operation: 64+41=105
Exploring Operation: 32+41=73, Resulting Numbers: [64, 73]
Generated Node #0,0,2: 67:[64, 73] Operation: 32+41=73
Exploring Operation: 64-32=32, Resulting Numbers: [41, 32]
Generated Node #0,0,3: 67:[41, 32] Operation: 64-32=32
Exploring Operation: 41-32=9, Resulting Numbers: [64, 9]
Generated Node #0,0,4: 67:[64, 9] Operation: 41-32=9
Moving to Node #0,0,2
Current State: 67:[64, 73], Operations: ['93-52=41', '32+41=73']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[41, 96], Operations: ['93-52=41', '32+64=96']
Exploring Operation: 41+96=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 41*96=3936, Resulting Numbers: [3936]
3936,67 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[41, 32], Operations: ['93-52=41', '64-32=32']
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,67 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[64, 9], Operations: ['93-52=41', '41-32=9']
Exploring Operation: 64*9=576, Resulting Numbers: [576]
576,67 unequal: No Solution
Exploring Operation: 64+9=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[32, 105], Operations: ['93-52=41', '64+41=105']
Exploring Operation: 32+105=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 105-32=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 32*105=3360, Resulting Numbers: [3360]
3360,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 67:[93, 52, 96], Operations: ['32+64=96']
Exploring Operation: 93-52=41, Resulting Numbers: [96, 41]
Generated Node #0,4,0: 67:[96, 41] Operation: 93-52=41
Exploring Operation: 52+96=148, Resulting Numbers: [93, 148]
Generated Node #0,4,1: 67:[93, 148] Operation: 52+96=148
Exploring Operation: 96-52=44, Resulting Numbers: [93, 44]
Generated Node #0,4,2: 67:[93, 44] Operation: 96-52=44
Exploring Operation: 96-93=3, Resulting Numbers: [52, 3]
Generated Node #0,4,3: 67:[52, 3] Operation: 96-93=3
Exploring Operation: 93+52=145, Resulting Numbers: [96, 145]
Generated Node #0,4,4: 67:[96, 145] Operation: 93+52=145
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 67:[93, 44], Operations: ['32+64=96', '96-52=44']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,67 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,67 unequal: No Solution
No 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: 67:[96, 41], Operations: ['32+64=96', '93-52=41']
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,67 unequal: No Solution
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,67 unequal: No Solution
No 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: 67:[52, 3], Operations: ['32+64=96', '96-93=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,67 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,67 unequal: No Solution
No 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: 67:[93, 148], Operations: ['32+64=96', '52+96=148']
Exploring Operation: 93+148=241, Resulting Numbers: [241]
241,67 unequal: No Solution
Exploring Operation: 148-93=55, Resulting Numbers: [55]
55,67 unequal: No Solution
Exploring Operation: 93*148=13764, Resulting Numbers: [13764]
13764,67 unequal: No Solution
No 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: 67:[96, 145], Operations: ['32+64=96', '93+52=145']
Exploring Operation: 96+145=241, Resulting Numbers: [241]
241,67 unequal: No Solution
Exploring Operation: 145-96=49, Resulting Numbers: [49]
49,67 unequal: No Solution
Exploring Operation: 96*145=13920, Resulting Numbers: [13920]
13920,67 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: 67:[52, 64, 125], Operations: ['93+32=125']
Exploring Operation: 52+64=116, Resulting Numbers: [125, 116]
Generated Node #0,3,0: 67:[125, 116] Operation: 52+64=116
Exploring Operation: 125-52=73, Resulting Numbers: [64, 73]
Generated Node #0,3,1: 67:[64, 73] Operation: 125-52=73
Exploring Operation: 52+125=177, Resulting Numbers: [64, 177]
Generated Node #0,3,2: 67:[64, 177] Operation: 52+125=177
Exploring Operation: 125-64=61, Resulting Numbers: [52, 61]
Generated Node #0,3,3: 67:[52, 61] Operation: 125-64=61
Exploring Operation: 64-52=12, Resulting Numbers: [125, 12]
Generated Node #0,3,4: 67:[125, 12] Operation: 64-52=12
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[64, 73], Operations: ['93+32=125', '125-52=73']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,67 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,67 unequal: No Solution
No 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: 67:[52, 61], Operations: ['93+32=125', '125-64=61']
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,67 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,67 unequal: No Solution
No 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: 67:[125, 116], Operations: ['93+32=125', '52+64=116']
Exploring Operation: 125-116=9, Resulting Numbers: [9]
9,67 unequal: No Solution
Exploring Operation: 125*116=14500, Resulting Numbers: [14500]
14500,67 unequal: No Solution
Exploring Operation: 125+116=241, Resulting Numbers: [241]
241,67 unequal: No Solution
No 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: 67:[64, 177], Operations: ['93+32=125', '52+125=177']
Exploring Operation: 177-64=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 64*177=11328, Resulting Numbers: [11328]
11328,67 unequal: No Solution
Exploring Operation: 64+177=241, Resulting Numbers: [241]
241,67 unequal: No Solution
No 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: 67:[125, 12], Operations: ['93+32=125', '64-52=12']
Exploring Operation: 125-12=113, Resulting Numbers: [113]
113,67 unequal: No Solution
Exploring Operation: 125*12=1500, Resulting Numbers: [1500]
1500,67 unequal: No Solution
Exploring Operation: 125+12=137, Resulting Numbers: [137]
137,67 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 |
[
50,
23,
7,
65
] | 56 | [
"50+23=73",
"73-65=8",
"7*8=56"
] | Current State: 56:[50, 23, 7, 65], Operations: []
Exploring Operation: 50+23=73, Resulting Numbers: [7, 65, 73]
Generated Node #2: [7, 65, 73] from Operation: 50+23=73
Current State: 56:[7, 65, 73], Operations: ['50+23=73']
Exploring Operation: 73-65=8, Resulting Numbers: [7, 8]
Generated Node #3: [7, 8] from Operation: 73-65=8
Current State: 56:[7, 8], Operations: ['50+23=73', '73-65=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[50, 23, 7, 65], Operations: []
Exploring Operation: 50+7=57, Resulting Numbers: [23, 65, 57]
Generated Node #0,0: 56:[23, 65, 57] Operation: 50+7=57
Exploring Operation: 50-23=27, Resulting Numbers: [7, 65, 27]
Generated Node #0,1: 56:[7, 65, 27] Operation: 50-23=27
Exploring Operation: 65-7=58, Resulting Numbers: [50, 23, 58]
Generated Node #0,2: 56:[50, 23, 58] Operation: 65-7=58
Exploring Operation: 65-50=15, Resulting Numbers: [23, 7, 15]
Generated Node #0,3: 56:[23, 7, 15] Operation: 65-50=15
Moving to Node #0,3
Current State: 56:[23, 7, 15], Operations: ['65-50=15']
Exploring Operation: 23+7=30, Resulting Numbers: [15, 30]
Generated Node #0,3,0: 56:[15, 30] Operation: 23+7=30
Exploring Operation: 15-7=8, Resulting Numbers: [23, 8]
Generated Node #0,3,1: 56:[23, 8] Operation: 15-7=8
Exploring Operation: 23-7=16, Resulting Numbers: [15, 16]
Generated Node #0,3,2: 56:[15, 16] Operation: 23-7=16
Exploring Operation: 23-15=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 56:[7, 8] Operation: 23-15=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[7, 8], Operations: ['65-50=15', '23-15=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,56 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[50, 23, 7, 65], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [23, 7, 15]
Generated Node #0,3: 56:[23, 7, 15] Operation: 65-50=15
Moving to Node #0,3
Current State: 56:[23, 7, 15], Operations: ['65-50=15']
Exploring Operation: 23-15=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 56:[7, 8] Operation: 23-15=8
Moving to Node #0,3,3
Current State: 56:[7, 8], Operations: ['65-50=15', '23-15=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
72,
85,
41,
48
] | 29 | [
"72*48=3456",
"85*41=3485",
"3485-3456=29"
] | Current State: 29:[72, 85, 41, 48], Operations: []
Exploring Operation: 72*48=3456, Resulting Numbers: [85, 41, 3456]
Generated Node #2: [85, 41, 3456] from Operation: 72*48=3456
Current State: 29:[85, 41, 3456], Operations: ['72*48=3456']
Exploring Operation: 85*41=3485, Resulting Numbers: [3456, 3485]
Generated Node #3: [3456, 3485] from Operation: 85*41=3485
Current State: 29:[3456, 3485], Operations: ['72*48=3456', '85*41=3485']
Exploring Operation: 3485-3456=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[72, 85, 41, 48], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [85, 48, 31]
Generated Node #0,0: 29:[85, 48, 31] Operation: 72-41=31
Exploring Operation: 85-72=13, Resulting Numbers: [41, 48, 13]
Generated Node #0,1: 29:[41, 48, 13] Operation: 85-72=13
Exploring Operation: 72-48=24, Resulting Numbers: [85, 41, 24]
Generated Node #0,2: 29:[85, 41, 24] Operation: 72-48=24
Exploring Operation: 85-48=37, Resulting Numbers: [72, 41, 37]
Generated Node #0,3: 29:[72, 41, 37] Operation: 85-48=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[41, 48, 13], Operations: ['85-72=13']
Exploring Operation: 48-41=7, Resulting Numbers: [13, 7]
Generated Node #0,1,0: 29:[13, 7] Operation: 48-41=7
Exploring Operation: 48-13=35, Resulting Numbers: [41, 35]
Generated Node #0,1,1: 29:[41, 35] Operation: 48-13=35
Exploring Operation: 41+13=54, Resulting Numbers: [48, 54]
Generated Node #0,1,2: 29:[48, 54] Operation: 41+13=54
Exploring Operation: 41-13=28, Resulting Numbers: [48, 28]
Generated Node #0,1,3: 29:[48, 28] Operation: 41-13=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[41, 35], Operations: ['85-72=13', '48-13=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
No 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: 29:[48, 28], Operations: ['85-72=13', '41-13=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,29 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,29 unequal: No Solution
No 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: 29:[13, 7], Operations: ['85-72=13', '48-41=7']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,29 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No 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: 29:[48, 54], Operations: ['85-72=13', '41+13=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[72, 41, 37], Operations: ['85-48=37']
Exploring Operation: 72-37=35, Resulting Numbers: [41, 35]
Generated Node #0,3,0: 29:[41, 35] Operation: 72-37=35
Exploring Operation: 72+41=113, Resulting Numbers: [37, 113]
Generated Node #0,3,1: 29:[37, 113] Operation: 72+41=113
Exploring Operation: 72-41=31, Resulting Numbers: [37, 31]
Generated Node #0,3,2: 29:[37, 31] Operation: 72-41=31
Exploring Operation: 41-37=4, Resulting Numbers: [72, 4]
Generated Node #0,3,3: 29:[72, 4] Operation: 41-37=4
Moving to Node #0,3,2
Current State: 29:[37, 31], Operations: ['85-48=37', '72-41=31']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,29 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[41, 35], Operations: ['85-48=37', '72-37=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,29 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[72, 4], Operations: ['85-48=37', '41-37=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 72*4=288, Resulting Numbers: [288]
288,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[37, 113], Operations: ['85-48=37', '72+41=113']
Exploring Operation: 37+113=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 113-37=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 37*113=4181, Resulting Numbers: [4181]
4181,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[85, 41, 24], Operations: ['72-48=24']
Exploring Operation: 41-24=17, Resulting Numbers: [85, 17]
Generated Node #0,2,0: 29:[85, 17] Operation: 41-24=17
Exploring Operation: 85-24=61, Resulting Numbers: [41, 61]
Generated Node #0,2,1: 29:[41, 61] Operation: 85-24=61
Exploring Operation: 85+24=109, Resulting Numbers: [41, 109]
Generated Node #0,2,2: 29:[41, 109] Operation: 85+24=109
Exploring Operation: 85-41=44, Resulting Numbers: [24, 44]
Generated Node #0,2,3: 29:[24, 44] Operation: 85-41=44
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 29:[24, 44], Operations: ['72-48=24', '85-41=44']
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,29 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No 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: 29:[41, 61], Operations: ['72-48=24', '85-24=61']
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,29 unequal: No Solution
No 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: 29:[85, 17], Operations: ['72-48=24', '41-24=17']
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,29 unequal: No Solution
No 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: 29:[41, 109], Operations: ['72-48=24', '85+24=109']
Exploring Operation: 41*109=4469, Resulting Numbers: [4469]
4469,29 unequal: No Solution
Exploring Operation: 41+109=150, Resulting Numbers: [150]
150,29 unequal: No Solution
Exploring Operation: 109-41=68, Resulting Numbers: [68]
68,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[85, 48, 31], Operations: ['72-41=31']
Exploring Operation: 85+48=133, Resulting Numbers: [31, 133]
Generated Node #0,0,0: 29:[31, 133] Operation: 85+48=133
Exploring Operation: 85-31=54, Resulting Numbers: [48, 54]
Generated Node #0,0,1: 29:[48, 54] Operation: 85-31=54
Exploring Operation: 48-31=17, Resulting Numbers: [85, 17]
Generated Node #0,0,2: 29:[85, 17] Operation: 48-31=17
Exploring Operation: 85-48=37, Resulting Numbers: [31, 37]
Generated Node #0,0,3: 29:[31, 37] Operation: 85-48=37
Moving to Node #0,0,3
Current State: 29:[31, 37], Operations: ['72-41=31', '85-48=37']
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,29 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[48, 54], Operations: ['72-41=31', '85-31=54']
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,29 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[85, 17], Operations: ['72-41=31', '48-31=17']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 85*17=1445, Resulting Numbers: [1445]
1445,29 unequal: No Solution
Exploring Operation: 85+17=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 85/17=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[31, 133], Operations: ['72-41=31', '85+48=133']
Exploring Operation: 31*133=4123, Resulting Numbers: [4123]
4123,29 unequal: No Solution
Exploring Operation: 133-31=102, Resulting Numbers: [102]
102,29 unequal: No Solution
Exploring Operation: 31+133=164, Resulting Numbers: [164]
164,29 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 |
[
85,
73,
26,
55
] | 93 | [
"85-73=12",
"26+55=81",
"12+81=93"
] | Current State: 93:[85, 73, 26, 55], Operations: []
Exploring Operation: 85-73=12, Resulting Numbers: [26, 55, 12]
Generated Node #2: [26, 55, 12] from Operation: 85-73=12
Current State: 93:[26, 55, 12], Operations: ['85-73=12']
Exploring Operation: 26+55=81, Resulting Numbers: [12, 81]
Generated Node #3: [12, 81] from Operation: 26+55=81
Current State: 93:[12, 81], Operations: ['85-73=12', '26+55=81']
Exploring Operation: 12+81=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[85, 73, 26, 55], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [73, 26, 30]
Generated Node #0,0: 93:[73, 26, 30] Operation: 85-55=30
Exploring Operation: 73-55=18, Resulting Numbers: [85, 26, 18]
Generated Node #0,1: 93:[85, 26, 18] Operation: 73-55=18
Exploring Operation: 55-26=29, Resulting Numbers: [85, 73, 29]
Generated Node #0,2: 93:[85, 73, 29] Operation: 55-26=29
Exploring Operation: 85-73=12, Resulting Numbers: [26, 55, 12]
Generated Node #0,3: 93:[26, 55, 12] Operation: 85-73=12
Moving to Node #0,0
Current State: 93:[73, 26, 30], Operations: ['85-55=30']
Exploring Operation: 73+26=99, Resulting Numbers: [30, 99]
Generated Node #0,0,0: 93:[30, 99] Operation: 73+26=99
Exploring Operation: 73-30=43, Resulting Numbers: [26, 43]
Generated Node #0,0,1: 93:[26, 43] Operation: 73-30=43
Exploring Operation: 73+30=103, Resulting Numbers: [26, 103]
Generated Node #0,0,2: 93:[26, 103] Operation: 73+30=103
Exploring Operation: 73-26=47, Resulting Numbers: [30, 47]
Generated Node #0,0,3: 93:[30, 47] Operation: 73-26=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[30, 99], Operations: ['85-55=30', '73+26=99']
Exploring Operation: 30*99=2970, Resulting Numbers: [2970]
2970,93 unequal: No Solution
Exploring Operation: 30+99=129, Resulting Numbers: [129]
129,93 unequal: No Solution
Exploring Operation: 99-30=69, Resulting Numbers: [69]
69,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[26, 103], Operations: ['85-55=30', '73+30=103']
Exploring Operation: 26*103=2678, Resulting Numbers: [2678]
2678,93 unequal: No Solution
Exploring Operation: 103-26=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 26+103=129, Resulting Numbers: [129]
129,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[26, 43], Operations: ['85-55=30', '73-30=43']
Exploring Operation: 26+43=69, Resulting Numbers: [69]
69,93 unequal: No Solution
Exploring Operation: 26*43=1118, Resulting Numbers: [1118]
1118,93 unequal: No Solution
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 93:[30, 47], Operations: ['85-55=30', '73-26=47']
Exploring Operation: 30*47=1410, Resulting Numbers: [1410]
1410,93 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 30+47=77, Resulting Numbers: [77]
77,93 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: 93:[85, 26, 18], Operations: ['73-55=18']
Exploring Operation: 85+18=103, Resulting Numbers: [26, 103]
Generated Node #0,1,0: 93:[26, 103] Operation: 85+18=103
Exploring Operation: 85+26=111, Resulting Numbers: [18, 111]
Generated Node #0,1,1: 93:[18, 111] Operation: 85+26=111
Exploring Operation: 26-18=8, Resulting Numbers: [85, 8]
Generated Node #0,1,2: 93:[85, 8] Operation: 26-18=8
Exploring Operation: 26+18=44, Resulting Numbers: [85, 44]
Generated Node #0,1,3: 93:[85, 44] Operation: 26+18=44
Moving to Node #0,2
Current State: 93:[85, 73, 29], Operations: ['55-26=29']
Exploring Operation: 73+29=102, Resulting Numbers: [85, 102]
Generated Node #0,2,0: 93:[85, 102] Operation: 73+29=102
Exploring Operation: 85+29=114, Resulting Numbers: [73, 114]
Generated Node #0,2,1: 93:[73, 114] Operation: 85+29=114
Exploring Operation: 85-73=12, Resulting Numbers: [29, 12]
Generated Node #0,2,2: 93:[29, 12] Operation: 85-73=12
Exploring Operation: 73-29=44, Resulting Numbers: [85, 44]
Generated Node #0,2,3: 93:[85, 44] Operation: 73-29=44
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[29, 12], Operations: ['55-26=29', '85-73=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[85, 102], Operations: ['55-26=29', '73+29=102']
Exploring Operation: 85*102=8670, Resulting Numbers: [8670]
8670,93 unequal: No Solution
Exploring Operation: 102-85=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 85+102=187, Resulting Numbers: [187]
187,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 93:[85, 44], Operations: ['55-26=29', '73-29=44']
Exploring Operation: 85+44=129, Resulting Numbers: [129]
129,93 unequal: No Solution
Exploring Operation: 85*44=3740, Resulting Numbers: [3740]
3740,93 unequal: No Solution
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[73, 114], Operations: ['55-26=29', '85+29=114']
Exploring Operation: 73*114=8322, Resulting Numbers: [8322]
8322,93 unequal: No Solution
Exploring Operation: 73+114=187, Resulting Numbers: [187]
187,93 unequal: No Solution
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,93 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: 93:[26, 55, 12], Operations: ['85-73=12']
Exploring Operation: 55-12=43, Resulting Numbers: [26, 43]
Generated Node #0,3,0: 93:[26, 43] Operation: 55-12=43
Exploring Operation: 26+12=38, Resulting Numbers: [55, 38]
Generated Node #0,3,1: 93:[55, 38] Operation: 26+12=38
Exploring Operation: 26+55=81, Resulting Numbers: [12, 81]
Generated Node #0,3,2: 93:[12, 81] Operation: 26+55=81
Exploring Operation: 55-26=29, Resulting Numbers: [12, 29]
Generated Node #0,3,3: 93:[12, 29] Operation: 55-26=29
Moving to Node #0,3,3
Current State: 93:[12, 29], Operations: ['85-73=12', '55-26=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,93 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[85, 8], Operations: ['73-55=18', '26-18=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[85, 73, 26, 55], Operations: []
Exploring Operation: 73-55=18, Resulting Numbers: [85, 26, 18]
Generated Node #0,1: 93:[85, 26, 18] Operation: 73-55=18
Moving to Node #0,1
Current State: 93:[85, 26, 18], Operations: ['73-55=18']
Exploring Operation: 26-18=8, Resulting Numbers: [85, 8]
Generated Node #0,1,2: 93:[85, 8] Operation: 26-18=8
Moving to Node #0,1,2
Current State: 93:[85, 8], Operations: ['73-55=18', '26-18=8']
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.954861 | hs_4 | sum_heuristic |
[
2,
2,
94,
36
] | 65 | [
"94/2=47",
"36/2=18",
"47+18=65"
] | Current State: 65:[2, 2, 94, 36], Operations: []
Exploring Operation: 94/2=47, Resulting Numbers: [36, 47]
Generated Node #2: [36, 47] from Operation: 94/2=47
Current State: 65:[36, 47], Operations: ['94/2=47']
Exploring Operation: 36/2=18, Resulting Numbers: [47, 18]
Generated Node #3: [47, 18] from Operation: 36/2=18
Current State: 65:[47, 18], Operations: ['94/2=47', '36/2=18']
Exploring Operation: 47+18=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 2, 94, 36], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [2, 94, 18]
Generated Node #0,0: 65:[2, 94, 18] Operation: 36/2=18
Exploring Operation: 94-36=58, Resulting Numbers: [2, 2, 58]
Generated Node #0,1: 65:[2, 2, 58] Operation: 94-36=58
Exploring Operation: 2*36=72, Resulting Numbers: [2, 94, 72]
Generated Node #0,2: 65:[2, 94, 72] Operation: 2*36=72
Exploring Operation: 36/2=18, Resulting Numbers: [2, 94, 18]
Generated Node #0,3: 65:[2, 94, 18] Operation: 36/2=18
Moving to Node #0,1
Current State: 65:[2, 2, 58], Operations: ['94-36=58']
Exploring Operation: 2+2=4, Resulting Numbers: [58, 4]
Generated Node #0,1,0: 65:[58, 4] Operation: 2+2=4
Exploring Operation: 2+58=60, Resulting Numbers: [2, 60]
Generated Node #0,1,1: 65:[2, 60] Operation: 2+58=60
Exploring Operation: 2*2=4, Resulting Numbers: [58, 4]
Generated Node #0,1,2: 65:[58, 4] Operation: 2*2=4
Exploring Operation: 2+58=60, Resulting Numbers: [2, 60]
Generated Node #0,1,3: 65:[2, 60] Operation: 2+58=60
Moving to Node #0,3
Current State: 65:[2, 94, 18], Operations: ['36/2=18']
Exploring Operation: 94-18=76, Resulting Numbers: [2, 76]
Generated Node #0,3,0: 65:[2, 76] Operation: 94-18=76
Exploring Operation: 18-2=16, Resulting Numbers: [94, 16]
Generated Node #0,3,1: 65:[94, 16] Operation: 18-2=16
Exploring Operation: 94/2=47, Resulting Numbers: [18, 47]
Generated Node #0,3,2: 65:[18, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [18, 92]
Generated Node #0,3,3: 65:[18, 92] Operation: 94-2=92
Moving to Node #0,0
Current State: 65:[2, 94, 18], Operations: ['36/2=18']
Exploring Operation: 94/2=47, Resulting Numbers: [18, 47]
Generated Node #0,0,0: 65:[18, 47] Operation: 94/2=47
Exploring Operation: 94-2=92, Resulting Numbers: [18, 92]
Generated Node #0,0,1: 65:[18, 92] Operation: 94-2=92
Exploring Operation: 94-18=76, Resulting Numbers: [2, 76]
Generated Node #0,0,2: 65:[2, 76] Operation: 94-18=76
Exploring Operation: 18-2=16, Resulting Numbers: [94, 16]
Generated Node #0,0,3: 65:[94, 16] Operation: 18-2=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[2, 76], Operations: ['36/2=18', '94-18=76']
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,65 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,65 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,65 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[18, 47], Operations: ['36/2=18', '94/2=47']
Exploring Operation: 18*47=846, Resulting Numbers: [846]
846,65 unequal: No Solution
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,65 unequal: No Solution
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[2, 2, 94, 36], Operations: []
Exploring Operation: 36/2=18, Resulting Numbers: [2, 94, 18]
Generated Node #0,0: 65:[2, 94, 18] Operation: 36/2=18
Moving to Node #0,0
Current State: 65:[2, 94, 18], Operations: ['36/2=18']
Exploring Operation: 94/2=47, Resulting Numbers: [18, 47]
Generated Node #0,0,0: 65:[18, 47] Operation: 94/2=47
Moving to Node #0,0,0
Current State: 65:[18, 47], Operations: ['36/2=18', '94/2=47']
Exploring Operation: 18+47=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_4 | mult_heuristic |
[
49,
26,
26,
50
] | 53 | [
"49-26=23",
"26+50=76",
"76-23=53"
] | Current State: 53:[49, 26, 26, 50], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [50, 23]
Generated Node #2: [50, 23] from Operation: 49-26=23
Current State: 53:[50, 23], Operations: ['49-26=23']
Exploring Operation: 26+50=76, Resulting Numbers: [23, 76]
Generated Node #3: [23, 76] from Operation: 26+50=76
Current State: 53:[23, 76], Operations: ['49-26=23', '26+50=76']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[49, 26, 26, 50], Operations: []
Exploring Operation: 49+26=75, Resulting Numbers: [26, 50, 75]
Generated Node #0,0: 53:[26, 50, 75] Operation: 49+26=75
Exploring Operation: 49+26=75, Resulting Numbers: [26, 50, 75]
Generated Node #0,1: 53:[26, 50, 75] Operation: 49+26=75
Exploring Operation: 26+26=52, Resulting Numbers: [49, 50, 52]
Generated Node #0,2: 53:[49, 50, 52] Operation: 26+26=52
Moving to Node #0,2
Current State: 53:[49, 50, 52], Operations: ['26+26=52']
Exploring Operation: 49+52=101, Resulting Numbers: [50, 101]
Generated Node #0,2,0: 53:[50, 101] Operation: 49+52=101
Exploring Operation: 50-49=1, Resulting Numbers: [52, 1]
Generated Node #0,2,1: 53:[52, 1] Operation: 50-49=1
Exploring Operation: 49+50=99, Resulting Numbers: [52, 99]
Generated Node #0,2,2: 53:[52, 99] Operation: 49+50=99
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[52, 99], Operations: ['26+26=52', '49+50=99']
Exploring Operation: 52+99=151, Resulting Numbers: [151]
151,53 unequal: No Solution
Exploring Operation: 99-52=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 52*99=5148, Resulting Numbers: [5148]
5148,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[50, 101], Operations: ['26+26=52', '49+52=101']
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,53 unequal: No Solution
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,53 unequal: No Solution
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[52, 1], Operations: ['26+26=52', '50-49=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[49, 26, 26, 50], Operations: []
Exploring Operation: 26+26=52, Resulting Numbers: [49, 50, 52]
Generated Node #0,2: 53:[49, 50, 52] Operation: 26+26=52
Moving to Node #0,2
Current State: 53:[49, 50, 52], Operations: ['26+26=52']
Exploring Operation: 50-49=1, Resulting Numbers: [52, 1]
Generated Node #0,2,1: 53:[52, 1] Operation: 50-49=1
Moving to Node #0,2,1
Current State: 53:[52, 1], Operations: ['26+26=52', '50-49=1']
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
22,
65,
29,
55
] | 55 | [
"22*65=1430",
"55-29=26",
"1430/26=55"
] | Current State: 55:[22, 65, 29, 55], Operations: []
Exploring Operation: 22*65=1430, Resulting Numbers: [29, 55, 1430]
Generated Node #2: [29, 55, 1430] from Operation: 22*65=1430
Current State: 55:[29, 55, 1430], Operations: ['22*65=1430']
Exploring Operation: 55-29=26, Resulting Numbers: [1430, 26]
Generated Node #3: [1430, 26] from Operation: 55-29=26
Current State: 55:[1430, 26], Operations: ['22*65=1430', '55-29=26']
Exploring Operation: 1430/26=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 65, 29, 55], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [65, 55, 7]
Generated Node #0,0: 55:[65, 55, 7] Operation: 29-22=7
Exploring Operation: 22+29=51, Resulting Numbers: [65, 55, 51]
Generated Node #0,1: 55:[65, 55, 51] Operation: 22+29=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[65, 55, 7], Operations: ['29-22=7']
Exploring Operation: 65-55=10, Resulting Numbers: [7, 10]
Generated Node #0,0,0: 55:[7, 10] Operation: 65-55=10
Exploring Operation: 65-7=58, Resulting Numbers: [55, 58]
Generated Node #0,0,1: 55:[55, 58] Operation: 65-7=58
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[7, 10], Operations: ['29-22=7', '65-55=10']
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,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,0,1
Current State: 55:[55, 58], Operations: ['29-22=7', '65-7=58']
Exploring Operation: 55+58=113, Resulting Numbers: [113]
113,55 unequal: No Solution
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,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,1
Current State: 55:[65, 55, 51], Operations: ['22+29=51']
Exploring Operation: 65-51=14, Resulting Numbers: [55, 14]
Generated Node #0,1,0: 55:[55, 14] Operation: 65-51=14
Exploring Operation: 65-55=10, Resulting Numbers: [51, 10]
Generated Node #0,1,1: 55:[51, 10] Operation: 65-55=10
Moving to Node #0,1,0
Current State: 55:[55, 14], Operations: ['22+29=51', '65-51=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 55-14=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[51, 10], Operations: ['22+29=51', '65-55=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Exploring Operation: 51+10=61, Resulting Numbers: [61]
61,55 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 |
[
47,
24,
60,
82
] | 45 | [
"47-24=23",
"82-60=22",
"23+22=45"
] | Current State: 45:[47, 24, 60, 82], Operations: []
Exploring Operation: 47-24=23, Resulting Numbers: [60, 82, 23]
Generated Node #2: [60, 82, 23] from Operation: 47-24=23
Current State: 45:[60, 82, 23], Operations: ['47-24=23']
Exploring Operation: 82-60=22, Resulting Numbers: [23, 22]
Generated Node #3: [23, 22] from Operation: 82-60=22
Current State: 45:[23, 22], Operations: ['47-24=23', '82-60=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[47, 24, 60, 82], Operations: []
Exploring Operation: 82-24=58, Resulting Numbers: [47, 60, 58]
Generated Node #0,0: 45:[47, 60, 58] Operation: 82-24=58
Exploring Operation: 60-47=13, Resulting Numbers: [24, 82, 13]
Generated Node #0,1: 45:[24, 82, 13] Operation: 60-47=13
Exploring Operation: 82-47=35, Resulting Numbers: [24, 60, 35]
Generated Node #0,2: 45:[24, 60, 35] Operation: 82-47=35
Exploring Operation: 82-60=22, Resulting Numbers: [47, 24, 22]
Generated Node #0,3: 45:[47, 24, 22] Operation: 82-60=22
Start Sub Search at level 1: Moving to Node #0,3
Current State: 45:[47, 24, 22], Operations: ['82-60=22']
Exploring Operation: 47-24=23, Resulting Numbers: [22, 23]
Generated Node #0,3,0: 45:[22, 23] Operation: 47-24=23
Exploring Operation: 47-22=25, Resulting Numbers: [24, 25]
Generated Node #0,3,1: 45:[24, 25] Operation: 47-22=25
Exploring Operation: 24+22=46, Resulting Numbers: [47, 46]
Generated Node #0,3,2: 45:[47, 46] Operation: 24+22=46
Exploring Operation: 24-22=2, Resulting Numbers: [47, 2]
Generated Node #0,3,3: 45:[47, 2] Operation: 24-22=2
Moving to Node #0,3,2
Current State: 45:[47, 46], Operations: ['82-60=22', '24+22=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 47*46=2162, Resulting Numbers: [2162]
2162,45 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[47, 2], Operations: ['82-60=22', '24-22=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,45 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[47, 24, 60, 82], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [47, 24, 22]
Generated Node #0,3: 45:[47, 24, 22] Operation: 82-60=22
Moving to Node #0,3
Current State: 45:[47, 24, 22], Operations: ['82-60=22']
Exploring Operation: 24-22=2, Resulting Numbers: [47, 2]
Generated Node #0,3,3: 45:[47, 2] Operation: 24-22=2
Moving to Node #0,3,3
Current State: 45:[47, 2], Operations: ['82-60=22', '24-22=2']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
80,
32,
37,
75
] | 95 | [
"37-32=5",
"75/5=15",
"80+15=95"
] | Current State: 95:[80, 32, 37, 75], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [80, 75, 5]
Generated Node #2: [80, 75, 5] from Operation: 37-32=5
Current State: 95:[80, 75, 5], Operations: ['37-32=5']
Exploring Operation: 75/5=15, Resulting Numbers: [80, 15]
Generated Node #3: [80, 15] from Operation: 75/5=15
Current State: 95:[80, 15], Operations: ['37-32=5', '75/5=15']
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[80, 32, 37, 75], Operations: []
Exploring Operation: 32+75=107, Resulting Numbers: [80, 37, 107]
Generated Node #0,0: 95:[80, 37, 107] Operation: 32+75=107
Exploring Operation: 80-75=5, Resulting Numbers: [32, 37, 5]
Generated Node #0,1: 95:[32, 37, 5] Operation: 80-75=5
Exploring Operation: 37-32=5, Resulting Numbers: [80, 75, 5]
Generated Node #0,2: 95:[80, 75, 5] Operation: 37-32=5
Moving to Node #0,1
Current State: 95:[32, 37, 5], Operations: ['80-75=5']
Exploring Operation: 37-32=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 95:[5, 5] Operation: 37-32=5
Exploring Operation: 32+37=69, Resulting Numbers: [5, 69]
Generated Node #0,1,1: 95:[5, 69] Operation: 32+37=69
Exploring Operation: 32-5=27, Resulting Numbers: [37, 27]
Generated Node #0,1,2: 95:[37, 27] Operation: 32-5=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[5, 5], Operations: ['80-75=5', '37-32=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[5, 69], Operations: ['80-75=5', '32+37=69']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 5*69=345, Resulting Numbers: [345]
345,95 unequal: No Solution
Exploring Operation: 5+69=74, Resulting Numbers: [74]
74,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[37, 27], Operations: ['80-75=5', '32-5=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,95 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,95 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,95 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: 95:[80, 75, 5], Operations: ['37-32=5']
Exploring Operation: 80-75=5, Resulting Numbers: [5, 5]
Generated Node #0,2,0: 95:[5, 5] Operation: 80-75=5
Exploring Operation: 75/5=15, Resulting Numbers: [80, 15]
Generated Node #0,2,1: 95:[80, 15] Operation: 75/5=15
Exploring Operation: 80/5=16, Resulting Numbers: [75, 16]
Generated Node #0,2,2: 95:[75, 16] Operation: 80/5=16
Moving to Node #0,0
Current State: 95:[80, 37, 107], Operations: ['32+75=107']
Exploring Operation: 80-37=43, Resulting Numbers: [107, 43]
Generated Node #0,0,0: 95:[107, 43] Operation: 80-37=43
Exploring Operation: 80+37=117, Resulting Numbers: [107, 117]
Generated Node #0,0,1: 95:[107, 117] Operation: 80+37=117
Exploring Operation: 107-80=27, Resulting Numbers: [37, 27]
Generated Node #0,0,2: 95:[37, 27] Operation: 107-80=27
Moving to Node #0,2,0
Current State: 95:[5, 5], Operations: ['37-32=5', '80-75=5']
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,95 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[80, 15], Operations: ['37-32=5', '75/5=15']
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,95 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,95 unequal: No Solution
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[80, 32, 37, 75], Operations: []
Exploring Operation: 37-32=5, Resulting Numbers: [80, 75, 5]
Generated Node #0,2: 95:[80, 75, 5] Operation: 37-32=5
Moving to Node #0,2
Current State: 95:[80, 75, 5], Operations: ['37-32=5']
Exploring Operation: 75/5=15, Resulting Numbers: [80, 15]
Generated Node #0,2,1: 95:[80, 15] Operation: 75/5=15
Moving to Node #0,2,1
Current State: 95:[80, 15], Operations: ['37-32=5', '75/5=15']
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
31,
73,
92,
5
] | 39 | [
"31*92=2852",
"2852-5=2847",
"2847/73=39"
] | Current State: 39:[31, 73, 92, 5], Operations: []
Exploring Operation: 31*92=2852, Resulting Numbers: [73, 5, 2852]
Generated Node #2: [73, 5, 2852] from Operation: 31*92=2852
Current State: 39:[73, 5, 2852], Operations: ['31*92=2852']
Exploring Operation: 2852-5=2847, Resulting Numbers: [73, 2847]
Generated Node #3: [73, 2847] from Operation: 2852-5=2847
Current State: 39:[73, 2847], Operations: ['31*92=2852', '2852-5=2847']
Exploring Operation: 2847/73=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[31, 73, 92, 5], Operations: []
Exploring Operation: 92-31=61, Resulting Numbers: [73, 5, 61]
Generated Node #0,0: 39:[73, 5, 61] Operation: 92-31=61
Exploring Operation: 73-5=68, Resulting Numbers: [31, 92, 68]
Generated Node #0,1: 39:[31, 92, 68] Operation: 73-5=68
Exploring Operation: 31+5=36, Resulting Numbers: [73, 92, 36]
Generated Node #0,2: 39:[73, 92, 36] Operation: 31+5=36
Exploring Operation: 92-73=19, Resulting Numbers: [31, 5, 19]
Generated Node #0,3: 39:[31, 5, 19] Operation: 92-73=19
Exploring Operation: 73-31=42, Resulting Numbers: [92, 5, 42]
Generated Node #0,4: 39:[92, 5, 42] Operation: 73-31=42
Moving to Node #0,3
Current State: 39:[31, 5, 19], Operations: ['92-73=19']
Exploring Operation: 31-5=26, Resulting Numbers: [19, 26]
Generated Node #0,3,0: 39:[19, 26] Operation: 31-5=26
Exploring Operation: 31+5=36, Resulting Numbers: [19, 36]
Generated Node #0,3,1: 39:[19, 36] Operation: 31+5=36
Exploring Operation: 19-5=14, Resulting Numbers: [31, 14]
Generated Node #0,3,2: 39:[31, 14] Operation: 19-5=14
Exploring Operation: 31+19=50, Resulting Numbers: [5, 50]
Generated Node #0,3,3: 39:[5, 50] Operation: 31+19=50
Exploring Operation: 31-19=12, Resulting Numbers: [5, 12]
Generated Node #0,3,4: 39:[5, 12] Operation: 31-19=12
Moving to Node #0,4
Current State: 39:[92, 5, 42], Operations: ['73-31=42']
Exploring Operation: 92-42=50, Resulting Numbers: [5, 50]
Generated Node #0,4,0: 39:[5, 50] Operation: 92-42=50
Exploring Operation: 92+5=97, Resulting Numbers: [42, 97]
Generated Node #0,4,1: 39:[42, 97] Operation: 92+5=97
Exploring Operation: 42-5=37, Resulting Numbers: [92, 37]
Generated Node #0,4,2: 39:[92, 37] Operation: 42-5=37
Exploring Operation: 5+42=47, Resulting Numbers: [92, 47]
Generated Node #0,4,3: 39:[92, 47] Operation: 5+42=47
Exploring Operation: 92-5=87, Resulting Numbers: [42, 87]
Generated Node #0,4,4: 39:[42, 87] Operation: 92-5=87
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 39:[5, 50], Operations: ['73-31=42', '92-42=50']
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,39 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,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,4,4
Current State: 39:[42, 87], Operations: ['73-31=42', '92-5=87']
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,39 unequal: No Solution
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,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,4,2
Current State: 39:[92, 37], Operations: ['73-31=42', '42-5=37']
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,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,4,1
Current State: 39:[42, 97], Operations: ['73-31=42', '92+5=97']
Exploring Operation: 42+97=139, Resulting Numbers: [139]
139,39 unequal: No Solution
Exploring Operation: 97-42=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 42*97=4074, Resulting Numbers: [4074]
4074,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,4,3
Current State: 39:[92, 47], Operations: ['73-31=42', '5+42=47']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 92+47=139, Resulting Numbers: [139]
139,39 unequal: No Solution
Exploring Operation: 92*47=4324, Resulting Numbers: [4324]
4324,39 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: 39:[73, 5, 61], Operations: ['92-31=61']
Exploring Operation: 73-61=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 39:[5, 12] Operation: 73-61=12
Exploring Operation: 73+5=78, Resulting Numbers: [61, 78]
Generated Node #0,0,1: 39:[61, 78] Operation: 73+5=78
Exploring Operation: 61-5=56, Resulting Numbers: [73, 56]
Generated Node #0,0,2: 39:[73, 56] Operation: 61-5=56
Exploring Operation: 5+61=66, Resulting Numbers: [73, 66]
Generated Node #0,0,3: 39:[73, 66] Operation: 5+61=66
Exploring Operation: 73-5=68, Resulting Numbers: [61, 68]
Generated Node #0,0,4: 39:[61, 68] Operation: 73-5=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[5, 12], Operations: ['92-31=61', '73-61=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,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,0,2
Current State: 39:[73, 56], Operations: ['92-31=61', '61-5=56']
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,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,0,4
Current State: 39:[61, 68], Operations: ['92-31=61', '73-5=68']
Exploring Operation: 61+68=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 61*68=4148, Resulting Numbers: [4148]
4148,39 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,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,0,1
Current State: 39:[61, 78], Operations: ['92-31=61', '73+5=78']
Exploring Operation: 61+78=139, Resulting Numbers: [139]
139,39 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 61*78=4758, Resulting Numbers: [4758]
4758,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,0,3
Current State: 39:[73, 66], Operations: ['92-31=61', '5+61=66']
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,39 unequal: No Solution
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,39 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,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:[31, 92, 68], Operations: ['73-5=68']
Exploring Operation: 31+68=99, Resulting Numbers: [92, 99]
Generated Node #0,1,0: 39:[92, 99] Operation: 31+68=99
Exploring Operation: 31+92=123, Resulting Numbers: [68, 123]
Generated Node #0,1,1: 39:[68, 123] Operation: 31+92=123
Exploring Operation: 92-31=61, Resulting Numbers: [68, 61]
Generated Node #0,1,2: 39:[68, 61] Operation: 92-31=61
Exploring Operation: 68-31=37, Resulting Numbers: [92, 37]
Generated Node #0,1,3: 39:[92, 37] Operation: 68-31=37
Exploring Operation: 92-68=24, Resulting Numbers: [31, 24]
Generated Node #0,1,4: 39:[31, 24] Operation: 92-68=24
Moving to Node #0,2
Current State: 39:[73, 92, 36], Operations: ['31+5=36']
Exploring Operation: 73-36=37, Resulting Numbers: [92, 37]
Generated Node #0,2,0: 39:[92, 37] Operation: 73-36=37
Exploring Operation: 92+36=128, Resulting Numbers: [73, 128]
Generated Node #0,2,1: 39:[73, 128] Operation: 92+36=128
Exploring Operation: 92-36=56, Resulting Numbers: [73, 56]
Generated Node #0,2,2: 39:[73, 56] Operation: 92-36=56
Exploring Operation: 73+36=109, Resulting Numbers: [92, 109]
Generated Node #0,2,3: 39:[92, 109] Operation: 73+36=109
Exploring Operation: 92-73=19, Resulting Numbers: [36, 19]
Generated Node #0,2,4: 39:[36, 19] Operation: 92-73=19
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 39:[36, 19], Operations: ['31+5=36', '92-73=19']
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,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:[73, 56], Operations: ['31+5=36', '92-36=56']
Exploring Operation: 73*56=4088, Resulting Numbers: [4088]
4088,39 unequal: No Solution
Exploring Operation: 73-56=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 73+56=129, Resulting Numbers: [129]
129,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:[92, 37], Operations: ['31+5=36', '73-36=37']
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,39 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,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,1
Current State: 39:[73, 128], Operations: ['31+5=36', '92+36=128']
Exploring Operation: 128-73=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 73*128=9344, Resulting Numbers: [9344]
9344,39 unequal: No Solution
Exploring Operation: 73+128=201, Resulting Numbers: [201]
201,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,3
Current State: 39:[92, 109], Operations: ['31+5=36', '73+36=109']
Exploring Operation: 92*109=10028, Resulting Numbers: [10028]
10028,39 unequal: No Solution
Exploring Operation: 109-92=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 92+109=201, Resulting Numbers: [201]
201,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 39:[5, 12], Operations: ['92-73=19', '31-19=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,39 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[31, 14], Operations: ['92-73=19', '19-5=14']
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,39 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Moving to Node #0,3,1
Current State: 39:[19, 36], Operations: ['92-73=19', '31+5=36']
Exploring Operation: 19+36=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 19*36=684, Resulting Numbers: [684]
684,39 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[5, 50], Operations: ['92-73=19', '31+19=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,39 unequal: No Solution
Moving to Node #0,1,4
Current State: 39:[31, 24], Operations: ['73-5=68', '92-68=24']
Exploring Operation: 31+24=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 31*24=744, Resulting Numbers: [744]
744,39 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[19, 26], Operations: ['92-73=19', '31-5=26']
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,39 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,39 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Moving to Node #0,1,2
Current State: 39:[68, 61], Operations: ['73-5=68', '92-31=61']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,39 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Moving to Node #0,1,3
Current State: 39:[92, 37], Operations: ['73-5=68', '68-31=37']
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 92+37=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 92*37=3404, Resulting Numbers: [3404]
3404,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[68, 123], Operations: ['73-5=68', '31+92=123']
Exploring Operation: 68+123=191, Resulting Numbers: [191]
191,39 unequal: No Solution
Exploring Operation: 123-68=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 68*123=8364, Resulting Numbers: [8364]
8364,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[92, 99], Operations: ['73-5=68', '31+68=99']
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 92*99=9108, Resulting Numbers: [9108]
9108,39 unequal: No Solution
Exploring Operation: 92+99=191, Resulting Numbers: [191]
191,39 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
8,
84,
60,
17
] | 21 | [
"8+60=68",
"84*17=1428",
"1428/68=21"
] | Current State: 21:[8, 84, 60, 17], Operations: []
Exploring Operation: 8+60=68, Resulting Numbers: [84, 17, 68]
Generated Node #2: [84, 17, 68] from Operation: 8+60=68
Current State: 21:[84, 17, 68], Operations: ['8+60=68']
Exploring Operation: 84*17=1428, Resulting Numbers: [68, 1428]
Generated Node #3: [68, 1428] from Operation: 84*17=1428
Current State: 21:[68, 1428], Operations: ['8+60=68', '84*17=1428']
Exploring Operation: 1428/68=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[8, 84, 60, 17], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [8, 17, 24]
Generated Node #0,0: 21:[8, 17, 24] Operation: 84-60=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[8, 17, 24], Operations: ['84-60=24']
Exploring Operation: 24-17=7, Resulting Numbers: [8, 7]
Generated Node #0,0,0: 21:[8, 7] Operation: 24-17=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[8, 7], Operations: ['84-60=24', '24-17=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,21 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 |
[
97,
22,
59,
92
] | 32 | [
"97+22=119",
"59+92=151",
"151-119=32"
] | Current State: 32:[97, 22, 59, 92], Operations: []
Exploring Operation: 97+22=119, Resulting Numbers: [59, 92, 119]
Generated Node #2: [59, 92, 119] from Operation: 97+22=119
Current State: 32:[59, 92, 119], Operations: ['97+22=119']
Exploring Operation: 59+92=151, Resulting Numbers: [119, 151]
Generated Node #3: [119, 151] from Operation: 59+92=151
Current State: 32:[119, 151], Operations: ['97+22=119', '59+92=151']
Exploring Operation: 151-119=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[97, 22, 59, 92], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [22, 59, 5]
Generated Node #0,0: 32:[22, 59, 5] Operation: 97-92=5
Exploring Operation: 97-59=38, Resulting Numbers: [22, 92, 38]
Generated Node #0,1: 32:[22, 92, 38] Operation: 97-59=38
Moving to Node #0,0
Current State: 32:[22, 59, 5], Operations: ['97-92=5']
Exploring Operation: 59-22=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 32:[5, 37] Operation: 59-22=37
Exploring Operation: 22-5=17, Resulting Numbers: [59, 17]
Generated Node #0,0,1: 32:[59, 17] Operation: 22-5=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[5, 37], Operations: ['97-92=5', '59-22=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[97, 22, 59, 92], Operations: []
Exploring Operation: 97-92=5, Resulting Numbers: [22, 59, 5]
Generated Node #0,0: 32:[22, 59, 5] Operation: 97-92=5
Moving to Node #0,0
Current State: 32:[22, 59, 5], Operations: ['97-92=5']
Exploring Operation: 59-22=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 32:[5, 37] Operation: 59-22=37
Moving to Node #0,0,0
Current State: 32:[5, 37], Operations: ['97-92=5', '59-22=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
48,
45,
45,
15
] | 33 | [
"48+45=93",
"45+15=60",
"93-60=33"
] | Current State: 33:[48, 45, 45, 15], Operations: []
Exploring Operation: 48+45=93, Resulting Numbers: [15, 93]
Generated Node #2: [15, 93] from Operation: 48+45=93
Current State: 33:[15, 93], Operations: ['48+45=93']
Exploring Operation: 45+15=60, Resulting Numbers: [93, 60]
Generated Node #3: [93, 60] from Operation: 45+15=60
Current State: 33:[93, 60], Operations: ['48+45=93', '45+15=60']
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[48, 45, 45, 15], Operations: []
Exploring Operation: 45/45=1, Resulting Numbers: [48, 15, 1]
Generated Node #0,0: 33:[48, 15, 1] Operation: 45/45=1
Exploring Operation: 48-45=3, Resulting Numbers: [45, 15, 3]
Generated Node #0,1: 33:[45, 15, 3] Operation: 48-45=3
Exploring Operation: 48-45=3, Resulting Numbers: [45, 15, 3]
Generated Node #0,2: 33:[45, 15, 3] Operation: 48-45=3
Exploring Operation: 45-45=0, Resulting Numbers: [48, 15, 0]
Generated Node #0,3: 33:[48, 15, 0] Operation: 45-45=0
Moving to Node #0,1
Current State: 33:[45, 15, 3], Operations: ['48-45=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15, 15]
Generated Node #0,1,0: 33:[15, 15] Operation: 45/3=15
Exploring Operation: 45/15=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 33:[3, 3] Operation: 45/15=3
Exploring Operation: 45-3=42, Resulting Numbers: [15, 42]
Generated Node #0,1,2: 33:[15, 42] Operation: 45-3=42
Exploring Operation: 45-15=30, Resulting Numbers: [3, 30]
Generated Node #0,1,3: 33:[3, 30] Operation: 45-15=30
Moving to Node #0,2
Current State: 33:[45, 15, 3], Operations: ['48-45=3']
Exploring Operation: 45-3=42, Resulting Numbers: [15, 42]
Generated Node #0,2,0: 33:[15, 42] Operation: 45-3=42
Exploring Operation: 45/15=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 33:[3, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [3, 30]
Generated Node #0,2,2: 33:[3, 30] Operation: 45-15=30
Exploring Operation: 45/3=15, Resulting Numbers: [15, 15]
Generated Node #0,2,3: 33:[15, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[3, 3], Operations: ['48-45=3', '45/15=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,33 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[3, 30], Operations: ['48-45=3', '45-15=30']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,33 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[48, 45, 45, 15], Operations: []
Exploring Operation: 48-45=3, Resulting Numbers: [45, 15, 3]
Generated Node #0,2: 33:[45, 15, 3] Operation: 48-45=3
Moving to Node #0,2
Current State: 33:[45, 15, 3], Operations: ['48-45=3']
Exploring Operation: 45-15=30, Resulting Numbers: [3, 30]
Generated Node #0,2,2: 33:[3, 30] Operation: 45-15=30
Moving to Node #0,2,2
Current State: 33:[3, 30], Operations: ['48-45=3', '45-15=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
13,
47,
39,
2
] | 23 | [
"13+47=60",
"39-2=37",
"60-37=23"
] | Current State: 23:[13, 47, 39, 2], Operations: []
Exploring Operation: 13+47=60, Resulting Numbers: [39, 2, 60]
Generated Node #2: [39, 2, 60] from Operation: 13+47=60
Current State: 23:[39, 2, 60], Operations: ['13+47=60']
Exploring Operation: 39-2=37, Resulting Numbers: [60, 37]
Generated Node #3: [60, 37] from Operation: 39-2=37
Current State: 23:[60, 37], Operations: ['13+47=60', '39-2=37']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[13, 47, 39, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [47, 39, 26]
Generated Node #0,0: 23:[47, 39, 26] Operation: 13*2=26
Exploring Operation: 47-39=8, Resulting Numbers: [13, 2, 8]
Generated Node #0,1: 23:[13, 2, 8] Operation: 47-39=8
Moving to Node #0,0
Current State: 23:[47, 39, 26], Operations: ['13*2=26']
Exploring Operation: 47-39=8, Resulting Numbers: [26, 8]
Generated Node #0,0,0: 23:[26, 8] Operation: 47-39=8
Exploring Operation: 47-26=21, Resulting Numbers: [39, 21]
Generated Node #0,0,1: 23:[39, 21] Operation: 47-26=21
Moving to Node #0,1
Current State: 23:[13, 2, 8], Operations: ['47-39=8']
Exploring Operation: 2*8=16, Resulting Numbers: [13, 16]
Generated Node #0,1,0: 23:[13, 16] Operation: 2*8=16
Exploring Operation: 13*2=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 23:[8, 26] Operation: 13*2=26
Moving to Node #0,1,0
Current State: 23:[13, 16], Operations: ['47-39=8', '2*8=16']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[26, 8], Operations: ['13*2=26', '47-39=8']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 26+8=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[39, 21], Operations: ['13*2=26', '47-26=21']
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[8, 26], Operations: ['47-39=8', '13*2=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,23 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
37,
1,
6
] | 63 | [
"20+37=57",
"1*6=6",
"57+6=63"
] | Current State: 63:[20, 37, 1, 6], Operations: []
Exploring Operation: 20+37=57, Resulting Numbers: [1, 6, 57]
Generated Node #2: [1, 6, 57] from Operation: 20+37=57
Current State: 63:[1, 6, 57], Operations: ['20+37=57']
Exploring Operation: 1*6=6, Resulting Numbers: [57, 6]
Generated Node #3: [57, 6] from Operation: 1*6=6
Current State: 63:[57, 6], Operations: ['20+37=57', '1*6=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[20, 37, 1, 6], Operations: []
Exploring Operation: 37-20=17, Resulting Numbers: [1, 6, 17]
Generated Node #0,0: 63:[1, 6, 17] Operation: 37-20=17
Exploring Operation: 20+37=57, Resulting Numbers: [1, 6, 57]
Generated Node #0,1: 63:[1, 6, 57] Operation: 20+37=57
Moving to Node #0,0
Current State: 63:[1, 6, 17], Operations: ['37-20=17']
Exploring Operation: 1+6=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 63:[17, 7] Operation: 1+6=7
Exploring Operation: 1+17=18, Resulting Numbers: [6, 18]
Generated Node #0,0,1: 63:[6, 18] Operation: 1+17=18
Moving to Node #0,1
Current State: 63:[1, 6, 57], Operations: ['20+37=57']
Exploring Operation: 1+6=7, Resulting Numbers: [57, 7]
Generated Node #0,1,0: 63:[57, 7] Operation: 1+6=7
Exploring Operation: 6+57=63, Resulting Numbers: [1, 63]
Generated Node #0,1,1: 63:[1, 63] Operation: 6+57=63
Moving to Node #0,1,1
Current State: 63:[1, 63], Operations: ['20+37=57', '6+57=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[20, 37, 1, 6], Operations: []
Exploring Operation: 20+37=57, Resulting Numbers: [1, 6, 57]
Generated Node #0,1: 63:[1, 6, 57] Operation: 20+37=57
Moving to Node #0,1
Current State: 63:[1, 6, 57], Operations: ['20+37=57']
Exploring Operation: 6+57=63, Resulting Numbers: [1, 63]
Generated Node #0,1,1: 63:[1, 63] Operation: 6+57=63
Moving to Node #0,1,1
Current State: 63:[1, 63], Operations: ['20+37=57', '6+57=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
12,
96,
18,
48
] | 38 | [
"96/12=8",
"48-18=30",
"8+30=38"
] | Current State: 38:[12, 96, 18, 48], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [18, 48, 8]
Generated Node #2: [18, 48, 8] from Operation: 96/12=8
Current State: 38:[18, 48, 8], Operations: ['96/12=8']
Exploring Operation: 48-18=30, Resulting Numbers: [8, 30]
Generated Node #3: [8, 30] from Operation: 48-18=30
Current State: 38:[8, 30], Operations: ['96/12=8', '48-18=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[12, 96, 18, 48], Operations: []
Exploring Operation: 96-48=48, Resulting Numbers: [12, 18, 48]
Generated Node #0,0: 38:[12, 18, 48] Operation: 96-48=48
Exploring Operation: 96/12=8, Resulting Numbers: [18, 48, 8]
Generated Node #0,1: 38:[18, 48, 8] Operation: 96/12=8
Exploring Operation: 96/48=2, Resulting Numbers: [12, 18, 2]
Generated Node #0,2: 38:[12, 18, 2] Operation: 96/48=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[12, 18, 2], Operations: ['96/48=2']
Exploring Operation: 18-12=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 38:[2, 6] Operation: 18-12=6
Exploring Operation: 12+2=14, Resulting Numbers: [18, 14]
Generated Node #0,2,1: 38:[18, 14] Operation: 12+2=14
Exploring Operation: 12/2=6, Resulting Numbers: [18, 6]
Generated Node #0,2,2: 38:[18, 6] Operation: 12/2=6
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 38:[2, 6], Operations: ['96/48=2', '18-12=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,38 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 38:[18, 6], Operations: ['96/48=2', '12/2=6']
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 38:[18, 14], Operations: ['96/48=2', '12+2=14']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,38 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[18, 48, 8], Operations: ['96/12=8']
Exploring Operation: 48-18=30, Resulting Numbers: [8, 30]
Generated Node #0,1,0: 38:[8, 30] Operation: 48-18=30
Exploring Operation: 48-8=40, Resulting Numbers: [18, 40]
Generated Node #0,1,1: 38:[18, 40] Operation: 48-8=40
Exploring Operation: 48/8=6, Resulting Numbers: [18, 6]
Generated Node #0,1,2: 38:[18, 6] Operation: 48/8=6
Moving to Node #0,1,1
Current State: 38:[18, 40], Operations: ['96/12=8', '48-8=40']
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,38 unequal: No Solution
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[18, 6], Operations: ['96/12=8', '48/8=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[8, 30], Operations: ['96/12=8', '48-18=30']
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,38 unequal: No Solution
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[12, 96, 18, 48], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [18, 48, 8]
Generated Node #0,1: 38:[18, 48, 8] Operation: 96/12=8
Moving to Node #0,1
Current State: 38:[18, 48, 8], Operations: ['96/12=8']
Exploring Operation: 48-18=30, Resulting Numbers: [8, 30]
Generated Node #0,1,0: 38:[8, 30] Operation: 48-18=30
Moving to Node #0,1,0
Current State: 38:[8, 30], Operations: ['96/12=8', '48-18=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
56,
17,
84,
28
] | 18 | [
"84-56=28",
"28/28=1",
"17+1=18"
] | Current State: 18:[56, 17, 84, 28], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [17, 28, 28]
Generated Node #2: [17, 28, 28] from Operation: 84-56=28
Current State: 18:[17, 28, 28], Operations: ['84-56=28']
Exploring Operation: 28/28=1, Resulting Numbers: [17, 1]
Generated Node #3: [17, 1] from Operation: 28/28=1
Current State: 18:[17, 1], Operations: ['84-56=28', '28/28=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[56, 17, 84, 28], Operations: []
Exploring Operation: 84/28=3, Resulting Numbers: [56, 17, 3]
Generated Node #0,0: 18:[56, 17, 3] Operation: 84/28=3
Exploring Operation: 84-56=28, Resulting Numbers: [17, 28, 28]
Generated Node #0,1: 18:[17, 28, 28] Operation: 84-56=28
Moving to Node #0,1
Current State: 18:[17, 28, 28], Operations: ['84-56=28']
Exploring Operation: 28/28=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 18:[17, 1] Operation: 28/28=1
Exploring Operation: 28-28=0, Resulting Numbers: [17, 0]
Generated Node #0,1,1: 18:[17, 0] Operation: 28-28=0
Moving to Node #0,0
Current State: 18:[56, 17, 3], Operations: ['84/28=3']
Exploring Operation: 56-3=53, Resulting Numbers: [17, 53]
Generated Node #0,0,0: 18:[17, 53] Operation: 56-3=53
Exploring Operation: 56-17=39, Resulting Numbers: [3, 39]
Generated Node #0,0,1: 18:[3, 39] Operation: 56-17=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[3, 39], Operations: ['84/28=3', '56-17=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[17, 53], Operations: ['84/28=3', '56-3=53']
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 18:[17, 1], Operations: ['84-56=28', '28/28=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[56, 17, 84, 28], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [17, 28, 28]
Generated Node #0,1: 18:[17, 28, 28] Operation: 84-56=28
Moving to Node #0,1
Current State: 18:[17, 28, 28], Operations: ['84-56=28']
Exploring Operation: 28/28=1, Resulting Numbers: [17, 1]
Generated Node #0,1,0: 18:[17, 1] Operation: 28/28=1
Moving to Node #0,1,0
Current State: 18:[17, 1], Operations: ['84-56=28', '28/28=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
3,
80,
58,
2
] | 96 | [
"80-3=77",
"2*77=154",
"154-58=96"
] | Current State: 96:[3, 80, 58, 2], Operations: []
Exploring Operation: 80-3=77, Resulting Numbers: [58, 2, 77]
Generated Node #2: [58, 2, 77] from Operation: 80-3=77
Current State: 96:[58, 2, 77], Operations: ['80-3=77']
Exploring Operation: 2*77=154, Resulting Numbers: [58, 154]
Generated Node #3: [58, 154] from Operation: 2*77=154
Current State: 96:[58, 154], Operations: ['80-3=77', '2*77=154']
Exploring Operation: 154-58=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[3, 80, 58, 2], Operations: []
Exploring Operation: 58-3=55, Resulting Numbers: [80, 2, 55]
Generated Node #0,0: 96:[80, 2, 55] Operation: 58-3=55
Exploring Operation: 80/2=40, Resulting Numbers: [3, 58, 40]
Generated Node #0,1: 96:[3, 58, 40] Operation: 80/2=40
Exploring Operation: 58/2=29, Resulting Numbers: [3, 80, 29]
Generated Node #0,2: 96:[3, 80, 29] Operation: 58/2=29
Exploring Operation: 3+80=83, Resulting Numbers: [58, 2, 83]
Generated Node #0,3: 96:[58, 2, 83] Operation: 3+80=83
Exploring Operation: 80-58=22, Resulting Numbers: [3, 2, 22]
Generated Node #0,4: 96:[3, 2, 22] Operation: 80-58=22
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[3, 2, 22], Operations: ['80-58=22']
Exploring Operation: 3*2=6, Resulting Numbers: [22, 6]
Generated Node #0,4,0: 96:[22, 6] Operation: 3*2=6
Exploring Operation: 3+22=25, Resulting Numbers: [2, 25]
Generated Node #0,4,1: 96:[2, 25] Operation: 3+22=25
Exploring Operation: 22/2=11, Resulting Numbers: [3, 11]
Generated Node #0,4,2: 96:[3, 11] Operation: 22/2=11
Exploring Operation: 3+2=5, Resulting Numbers: [22, 5]
Generated Node #0,4,3: 96:[22, 5] Operation: 3+2=5
Exploring Operation: 2+22=24, Resulting Numbers: [3, 24]
Generated Node #0,4,4: 96:[3, 24] Operation: 2+22=24
Moving to Node #0,4,4
Current State: 96:[3, 24], Operations: ['80-58=22', '2+22=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 3*24=72, Resulting Numbers: [72]
72,96 unequal: No Solution
Moving to Node #0,4,2
Current State: 96:[3, 11], Operations: ['80-58=22', '22/2=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Moving to Node #0,4,1
Current State: 96:[2, 25], Operations: ['80-58=22', '3+22=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Moving to Node #0,4,0
Current State: 96:[22, 6], Operations: ['80-58=22', '3*2=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,96 unequal: No Solution
Moving to Node #0,4,3
Current State: 96:[22, 5], Operations: ['80-58=22', '3+2=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,96 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[3, 58, 40], Operations: ['80/2=40']
Exploring Operation: 40-3=37, Resulting Numbers: [58, 37]
Generated Node #0,1,0: 96:[58, 37] Operation: 40-3=37
Exploring Operation: 58-3=55, Resulting Numbers: [40, 55]
Generated Node #0,1,1: 96:[40, 55] Operation: 58-3=55
Exploring Operation: 58+40=98, Resulting Numbers: [3, 98]
Generated Node #0,1,2: 96:[3, 98] Operation: 58+40=98
Exploring Operation: 3+40=43, Resulting Numbers: [58, 43]
Generated Node #0,1,3: 96:[58, 43] Operation: 3+40=43
Exploring Operation: 58-40=18, Resulting Numbers: [3, 18]
Generated Node #0,1,4: 96:[3, 18] Operation: 58-40=18
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[3, 98], Operations: ['80/2=40', '58+40=98']
Exploring Operation: 3*98=294, Resulting Numbers: [294]
294,96 unequal: No Solution
Exploring Operation: 98-3=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 3+98=101, Resulting Numbers: [101]
101,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 96:[3, 18], Operations: ['80/2=40', '58-40=18']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,96 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[58, 37], Operations: ['80/2=40', '40-3=37']
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,96 unequal: No Solution
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[40, 55], Operations: ['80/2=40', '58-3=55']
Exploring Operation: 40*55=2200, Resulting Numbers: [2200]
2200,96 unequal: No Solution
Exploring Operation: 40+55=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[58, 43], Operations: ['80/2=40', '3+40=43']
Exploring Operation: 58+43=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,96 unequal: No Solution
Exploring Operation: 58*43=2494, Resulting Numbers: [2494]
2494,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[3, 80, 29], Operations: ['58/2=29']
Exploring Operation: 3+29=32, Resulting Numbers: [80, 32]
Generated Node #0,2,0: 96:[80, 32] Operation: 3+29=32
Exploring Operation: 3+80=83, Resulting Numbers: [29, 83]
Generated Node #0,2,1: 96:[29, 83] Operation: 3+80=83
Exploring Operation: 29-3=26, Resulting Numbers: [80, 26]
Generated Node #0,2,2: 96:[80, 26] Operation: 29-3=26
Exploring Operation: 80+29=109, Resulting Numbers: [3, 109]
Generated Node #0,2,3: 96:[3, 109] Operation: 80+29=109
Exploring Operation: 80-29=51, Resulting Numbers: [3, 51]
Generated Node #0,2,4: 96:[3, 51] Operation: 80-29=51
Moving to Node #0,2,4
Current State: 96:[3, 51], Operations: ['58/2=29', '80-29=51']
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,96 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[3, 109], Operations: ['58/2=29', '80+29=109']
Exploring Operation: 109-3=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 3+109=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Exploring Operation: 3*109=327, Resulting Numbers: [327]
327,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[80, 32], Operations: ['58/2=29', '3+29=32']
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,96 unequal: No Solution
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[29, 83], Operations: ['58/2=29', '3+80=83']
Exploring Operation: 29*83=2407, Resulting Numbers: [2407]
2407,96 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 29+83=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[80, 26], Operations: ['58/2=29', '29-3=26']
Exploring Operation: 80+26=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 80*26=2080, Resulting Numbers: [2080]
2080,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[80, 2, 55], Operations: ['58-3=55']
Exploring Operation: 80-2=78, Resulting Numbers: [55, 78]
Generated Node #0,0,0: 96:[55, 78] Operation: 80-2=78
Exploring Operation: 80/2=40, Resulting Numbers: [55, 40]
Generated Node #0,0,1: 96:[55, 40] Operation: 80/2=40
Exploring Operation: 55-2=53, Resulting Numbers: [80, 53]
Generated Node #0,0,2: 96:[80, 53] Operation: 55-2=53
Exploring Operation: 80-55=25, Resulting Numbers: [2, 25]
Generated Node #0,0,3: 96:[2, 25] Operation: 80-55=25
Exploring Operation: 80+2=82, Resulting Numbers: [55, 82]
Generated Node #0,0,4: 96:[55, 82] Operation: 80+2=82
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[2, 25], Operations: ['58-3=55', '80-55=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[55, 40], Operations: ['58-3=55', '80/2=40']
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,96 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,96 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[80, 53], Operations: ['58-3=55', '55-2=53']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,96 unequal: No Solution
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 96:[55, 82], Operations: ['58-3=55', '80+2=82']
Exploring Operation: 55*82=4510, Resulting Numbers: [4510]
4510,96 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 55+82=137, Resulting Numbers: [137]
137,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[55, 78], Operations: ['58-3=55', '80-2=78']
Exploring Operation: 55*78=4290, Resulting Numbers: [4290]
4290,96 unequal: No Solution
Exploring Operation: 55+78=133, Resulting Numbers: [133]
133,96 unequal: No Solution
Exploring Operation: 78-55=23, Resulting Numbers: [23]
23,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[58, 2, 83], Operations: ['3+80=83']
Exploring Operation: 58-2=56, Resulting Numbers: [83, 56]
Generated Node #0,3,0: 96:[83, 56] Operation: 58-2=56
Exploring Operation: 58+2=60, Resulting Numbers: [83, 60]
Generated Node #0,3,1: 96:[83, 60] Operation: 58+2=60
Exploring Operation: 58/2=29, Resulting Numbers: [83, 29]
Generated Node #0,3,2: 96:[83, 29] Operation: 58/2=29
Exploring Operation: 83-58=25, Resulting Numbers: [2, 25]
Generated Node #0,3,3: 96:[2, 25] Operation: 83-58=25
Exploring Operation: 2+83=85, Resulting Numbers: [58, 85]
Generated Node #0,3,4: 96:[58, 85] Operation: 2+83=85
Moving to Node #0,3,3
Current State: 96:[2, 25], Operations: ['3+80=83', '83-58=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[83, 29], Operations: ['3+80=83', '58/2=29']
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,96 unequal: No Solution
Exploring Operation: 83*29=2407, Resulting Numbers: [2407]
2407,96 unequal: No Solution
Moving to Node #0,3,0
Current State: 96:[83, 56], Operations: ['3+80=83', '58-2=56']
Exploring Operation: 83-56=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 83+56=139, Resulting Numbers: [139]
139,96 unequal: No Solution
Exploring Operation: 83*56=4648, Resulting Numbers: [4648]
4648,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[58, 85], Operations: ['3+80=83', '2+83=85']
Exploring Operation: 58+85=143, Resulting Numbers: [143]
143,96 unequal: No Solution
Exploring Operation: 58*85=4930, Resulting Numbers: [4930]
4930,96 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[83, 60], Operations: ['3+80=83', '58+2=60']
Exploring Operation: 83-60=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 83+60=143, Resulting Numbers: [143]
143,96 unequal: No Solution
Exploring Operation: 83*60=4980, Resulting Numbers: [4980]
4980,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
51,
74,
92,
81
] | 85 | [
"74-51=23",
"92/23=4",
"81+4=85"
] | Current State: 85:[51, 74, 92, 81], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [92, 81, 23]
Generated Node #2: [92, 81, 23] from Operation: 74-51=23
Current State: 85:[92, 81, 23], Operations: ['74-51=23']
Exploring Operation: 92/23=4, Resulting Numbers: [81, 4]
Generated Node #3: [81, 4] from Operation: 92/23=4
Current State: 85:[81, 4], Operations: ['74-51=23', '92/23=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[51, 74, 92, 81], Operations: []
Exploring Operation: 81-51=30, Resulting Numbers: [74, 92, 30]
Generated Node #0,0: 85:[74, 92, 30] Operation: 81-51=30
Exploring Operation: 74-51=23, Resulting Numbers: [92, 81, 23]
Generated Node #0,1: 85:[92, 81, 23] Operation: 74-51=23
Moving to Node #0,1
Current State: 85:[92, 81, 23], Operations: ['74-51=23']
Exploring Operation: 92/23=4, Resulting Numbers: [81, 4]
Generated Node #0,1,0: 85:[81, 4] Operation: 92/23=4
Exploring Operation: 92-81=11, Resulting Numbers: [23, 11]
Generated Node #0,1,1: 85:[23, 11] Operation: 92-81=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[81, 4], Operations: ['74-51=23', '92/23=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[51, 74, 92, 81], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [92, 81, 23]
Generated Node #0,1: 85:[92, 81, 23] Operation: 74-51=23
Moving to Node #0,1
Current State: 85:[92, 81, 23], Operations: ['74-51=23']
Exploring Operation: 92/23=4, Resulting Numbers: [81, 4]
Generated Node #0,1,0: 85:[81, 4] Operation: 92/23=4
Moving to Node #0,1,0
Current State: 85:[81, 4], Operations: ['74-51=23', '92/23=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
19,
11,
96,
9
] | 16 | [
"19+96=115",
"11*9=99",
"115-99=16"
] | Current State: 16:[19, 11, 96, 9], Operations: []
Exploring Operation: 19+96=115, Resulting Numbers: [11, 9, 115]
Generated Node #2: [11, 9, 115] from Operation: 19+96=115
Current State: 16:[11, 9, 115], Operations: ['19+96=115']
Exploring Operation: 11*9=99, Resulting Numbers: [115, 99]
Generated Node #3: [115, 99] from Operation: 11*9=99
Current State: 16:[115, 99], Operations: ['19+96=115', '11*9=99']
Exploring Operation: 115-99=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[19, 11, 96, 9], Operations: []
Exploring Operation: 96-11=85, Resulting Numbers: [19, 9, 85]
Generated Node #0,0: 16:[19, 9, 85] Operation: 96-11=85
Exploring Operation: 96-19=77, Resulting Numbers: [11, 9, 77]
Generated Node #0,1: 16:[11, 9, 77] Operation: 96-19=77
Exploring Operation: 96-9=87, Resulting Numbers: [19, 11, 87]
Generated Node #0,2: 16:[19, 11, 87] Operation: 96-9=87
Moving to Node #0,1
Current State: 16:[11, 9, 77], Operations: ['96-19=77']
Exploring Operation: 77-9=68, Resulting Numbers: [11, 68]
Generated Node #0,1,0: 16:[11, 68] Operation: 77-9=68
Exploring Operation: 77-11=66, Resulting Numbers: [9, 66]
Generated Node #0,1,1: 16:[9, 66] Operation: 77-11=66
Exploring Operation: 77/11=7, Resulting Numbers: [9, 7]
Generated Node #0,1,2: 16:[9, 7] Operation: 77/11=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[9, 7], Operations: ['96-19=77', '77/11=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[19, 11, 96, 9], Operations: []
Exploring Operation: 96-19=77, Resulting Numbers: [11, 9, 77]
Generated Node #0,1: 16:[11, 9, 77] Operation: 96-19=77
Moving to Node #0,1
Current State: 16:[11, 9, 77], Operations: ['96-19=77']
Exploring Operation: 77/11=7, Resulting Numbers: [9, 7]
Generated Node #0,1,2: 16:[9, 7] Operation: 77/11=7
Moving to Node #0,1,2
Current State: 16:[9, 7], Operations: ['96-19=77', '77/11=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
51,
50,
59,
22
] | 38 | [
"51-50=1",
"59-22=37",
"1+37=38"
] | Current State: 38:[51, 50, 59, 22], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [59, 22, 1]
Generated Node #2: [59, 22, 1] from Operation: 51-50=1
Current State: 38:[59, 22, 1], Operations: ['51-50=1']
Exploring Operation: 59-22=37, Resulting Numbers: [1, 37]
Generated Node #3: [1, 37] from Operation: 59-22=37
Current State: 38:[1, 37], Operations: ['51-50=1', '59-22=37']
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[51, 50, 59, 22], Operations: []
Exploring Operation: 51-50=1, Resulting Numbers: [59, 22, 1]
Generated Node #0,0: 38:[59, 22, 1] Operation: 51-50=1
Exploring Operation: 59-51=8, Resulting Numbers: [50, 22, 8]
Generated Node #0,1: 38:[50, 22, 8] Operation: 59-51=8
Exploring Operation: 59-50=9, Resulting Numbers: [51, 22, 9]
Generated Node #0,2: 38:[51, 22, 9] Operation: 59-50=9
Exploring Operation: 51-22=29, Resulting Numbers: [50, 59, 29]
Generated Node #0,3: 38:[50, 59, 29] Operation: 51-22=29
Exploring Operation: 59-22=37, Resulting Numbers: [51, 50, 37]
Generated Node #0,4: 38:[51, 50, 37] Operation: 59-22=37
Moving to Node #0,1
Current State: 38:[50, 22, 8], Operations: ['59-51=8']
Exploring Operation: 50-8=42, Resulting Numbers: [22, 42]
Generated Node #0,1,0: 38:[22, 42] Operation: 50-8=42
Exploring Operation: 50-22=28, Resulting Numbers: [8, 28]
Generated Node #0,1,1: 38:[8, 28] Operation: 50-22=28
Exploring Operation: 50+8=58, Resulting Numbers: [22, 58]
Generated Node #0,1,2: 38:[22, 58] Operation: 50+8=58
Exploring Operation: 22+8=30, Resulting Numbers: [50, 30]
Generated Node #0,1,3: 38:[50, 30] Operation: 22+8=30
Exploring Operation: 22-8=14, Resulting Numbers: [50, 14]
Generated Node #0,1,4: 38:[50, 14] Operation: 22-8=14
Moving to Node #0,2
Current State: 38:[51, 22, 9], Operations: ['59-50=9']
Exploring Operation: 51-9=42, Resulting Numbers: [22, 42]
Generated Node #0,2,0: 38:[22, 42] Operation: 51-9=42
Exploring Operation: 51+9=60, Resulting Numbers: [22, 60]
Generated Node #0,2,1: 38:[22, 60] Operation: 51+9=60
Exploring Operation: 22-9=13, Resulting Numbers: [51, 13]
Generated Node #0,2,2: 38:[51, 13] Operation: 22-9=13
Exploring Operation: 22+9=31, Resulting Numbers: [51, 31]
Generated Node #0,2,3: 38:[51, 31] Operation: 22+9=31
Exploring Operation: 51-22=29, Resulting Numbers: [9, 29]
Generated Node #0,2,4: 38:[9, 29] Operation: 51-22=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[22, 42], Operations: ['59-50=9', '51-9=42']
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,38 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,38 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 38:[9, 29], Operations: ['59-50=9', '51-22=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[51, 50, 59, 22], Operations: []
Exploring Operation: 59-50=9, Resulting Numbers: [51, 22, 9]
Generated Node #0,2: 38:[51, 22, 9] Operation: 59-50=9
Moving to Node #0,2
Current State: 38:[51, 22, 9], Operations: ['59-50=9']
Exploring Operation: 51-22=29, Resulting Numbers: [9, 29]
Generated Node #0,2,4: 38:[9, 29] Operation: 51-22=29
Moving to Node #0,2,4
Current State: 38:[9, 29], Operations: ['59-50=9', '51-22=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
50,
43,
81,
2
] | 26 | [
"81-43=38",
"2*38=76",
"76-50=26"
] | Current State: 26:[50, 43, 81, 2], Operations: []
Exploring Operation: 81-43=38, Resulting Numbers: [50, 2, 38]
Generated Node #2: [50, 2, 38] from Operation: 81-43=38
Current State: 26:[50, 2, 38], Operations: ['81-43=38']
Exploring Operation: 2*38=76, Resulting Numbers: [50, 76]
Generated Node #3: [50, 76] from Operation: 2*38=76
Current State: 26:[50, 76], Operations: ['81-43=38', '2*38=76']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[50, 43, 81, 2], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [81, 2, 7]
Generated Node #0,0: 26:[81, 2, 7] Operation: 50-43=7
Exploring Operation: 50/2=25, Resulting Numbers: [43, 81, 25]
Generated Node #0,1: 26:[43, 81, 25] Operation: 50/2=25
Exploring Operation: 81-50=31, Resulting Numbers: [43, 2, 31]
Generated Node #0,2: 26:[43, 2, 31] Operation: 81-50=31
Exploring Operation: 81-43=38, Resulting Numbers: [50, 2, 38]
Generated Node #0,3: 26:[50, 2, 38] Operation: 81-43=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[43, 2, 31], Operations: ['81-50=31']
Exploring Operation: 43-31=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 26:[2, 12] Operation: 43-31=12
Exploring Operation: 43+2=45, Resulting Numbers: [31, 45]
Generated Node #0,2,1: 26:[31, 45] Operation: 43+2=45
Exploring Operation: 43-2=41, Resulting Numbers: [31, 41]
Generated Node #0,2,2: 26:[31, 41] Operation: 43-2=41
Exploring Operation: 31-2=29, Resulting Numbers: [43, 29]
Generated Node #0,2,3: 26:[43, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[2, 12], Operations: ['81-50=31', '43-31=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
No 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: 26:[31, 41], Operations: ['81-50=31', '43-2=41']
Exploring Operation: 31*41=1271, Resulting Numbers: [1271]
1271,26 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 31+41=72, Resulting Numbers: [72]
72,26 unequal: No Solution
No 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: 26:[43, 29], Operations: ['81-50=31', '31-2=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,26 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,26 unequal: No Solution
No 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: 26:[31, 45], Operations: ['81-50=31', '43+2=45']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,26 unequal: No Solution
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,26 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: 26:[50, 2, 38], Operations: ['81-43=38']
Exploring Operation: 50-38=12, Resulting Numbers: [2, 12]
Generated Node #0,3,0: 26:[2, 12] Operation: 50-38=12
Exploring Operation: 50-2=48, Resulting Numbers: [38, 48]
Generated Node #0,3,1: 26:[38, 48] Operation: 50-2=48
Exploring Operation: 38/2=19, Resulting Numbers: [50, 19]
Generated Node #0,3,2: 26:[50, 19] Operation: 38/2=19
Exploring Operation: 50/2=25, Resulting Numbers: [38, 25]
Generated Node #0,3,3: 26:[38, 25] Operation: 50/2=25
Moving to Node #0,3,0
Current State: 26:[2, 12], Operations: ['81-43=38', '50-38=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,26 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,26 unequal: No Solution
Moving to Node #0,3,3
Current State: 26:[38, 25], Operations: ['81-43=38', '50/2=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,26 unequal: No Solution
Moving to Node #0,3,2
Current State: 26:[50, 19], Operations: ['81-43=38', '38/2=19']
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,26 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,26 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,26 unequal: No Solution
Moving to Node #0,3,1
Current State: 26:[38, 48], Operations: ['81-43=38', '50-2=48']
Exploring Operation: 38*48=1824, Resulting Numbers: [1824]
1824,26 unequal: No Solution
Exploring Operation: 38+48=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,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,0
Current State: 26:[81, 2, 7], Operations: ['50-43=7']
Exploring Operation: 81-7=74, Resulting Numbers: [2, 74]
Generated Node #0,0,0: 26:[2, 74] Operation: 81-7=74
Exploring Operation: 81-2=79, Resulting Numbers: [7, 79]
Generated Node #0,0,1: 26:[7, 79] Operation: 81-2=79
Exploring Operation: 2*7=14, Resulting Numbers: [81, 14]
Generated Node #0,0,2: 26:[81, 14] Operation: 2*7=14
Exploring Operation: 7-2=5, Resulting Numbers: [81, 5]
Generated Node #0,0,3: 26:[81, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[2, 74], Operations: ['50-43=7', '81-7=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 2+74=76, Resulting Numbers: [76]
76,26 unequal: No Solution
Exploring Operation: 2*74=148, Resulting Numbers: [148]
148,26 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,26 unequal: No Solution
No 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: 26:[81, 14], Operations: ['50-43=7', '2*7=14']
Exploring Operation: 81*14=1134, Resulting Numbers: [1134]
1134,26 unequal: No Solution
Exploring Operation: 81+14=95, Resulting Numbers: [95]
95,26 unequal: No Solution
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,26 unequal: No Solution
No 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: 26:[7, 79], Operations: ['50-43=7', '81-2=79']
Exploring Operation: 7+79=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 79-7=72, Resulting Numbers: [72]
72,26 unequal: No Solution
Exploring Operation: 7*79=553, Resulting Numbers: [553]
553,26 unequal: No Solution
No 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: 26:[81, 5], Operations: ['50-43=7', '7-2=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,26 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,26 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,26 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: 26:[43, 81, 25], Operations: ['50/2=25']
Exploring Operation: 43-25=18, Resulting Numbers: [81, 18]
Generated Node #0,1,0: 26:[81, 18] Operation: 43-25=18
Exploring Operation: 81-25=56, Resulting Numbers: [43, 56]
Generated Node #0,1,1: 26:[43, 56] Operation: 81-25=56
Exploring Operation: 43+25=68, Resulting Numbers: [81, 68]
Generated Node #0,1,2: 26:[81, 68] Operation: 43+25=68
Exploring Operation: 81-43=38, Resulting Numbers: [25, 38]
Generated Node #0,1,3: 26:[25, 38] Operation: 81-43=38
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 26:[25, 38], Operations: ['50/2=25', '81-43=38']
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,26 unequal: No Solution
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
No 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: 26:[43, 56], Operations: ['50/2=25', '81-25=56']
Exploring Operation: 43*56=2408, Resulting Numbers: [2408]
2408,26 unequal: No Solution
Exploring Operation: 56-43=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 43+56=99, Resulting Numbers: [99]
99,26 unequal: No Solution
No 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: 26:[81, 18], Operations: ['50/2=25', '43-25=18']
Exploring Operation: 81*18=1458, Resulting Numbers: [1458]
1458,26 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,26 unequal: No Solution
Exploring Operation: 81+18=99, Resulting Numbers: [99]
99,26 unequal: No Solution
No 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: 26:[81, 68], Operations: ['50/2=25', '43+25=68']
Exploring Operation: 81-68=13, Resulting Numbers: [13]
13,26 unequal: No Solution
Exploring Operation: 81*68=5508, Resulting Numbers: [5508]
5508,26 unequal: No Solution
Exploring Operation: 81+68=149, Resulting Numbers: [149]
149,26 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 |
[
8,
30,
58,
60
] | 71 | [
"30+58=88",
"88/8=11",
"60+11=71"
] | Current State: 71:[8, 30, 58, 60], Operations: []
Exploring Operation: 30+58=88, Resulting Numbers: [8, 60, 88]
Generated Node #2: [8, 60, 88] from Operation: 30+58=88
Current State: 71:[8, 60, 88], Operations: ['30+58=88']
Exploring Operation: 88/8=11, Resulting Numbers: [60, 11]
Generated Node #3: [60, 11] from Operation: 88/8=11
Current State: 71:[60, 11], Operations: ['30+58=88', '88/8=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[8, 30, 58, 60], Operations: []
Exploring Operation: 8+30=38, Resulting Numbers: [58, 60, 38]
Generated Node #0,0: 71:[58, 60, 38] Operation: 8+30=38
Exploring Operation: 8+58=66, Resulting Numbers: [30, 60, 66]
Generated Node #0,1: 71:[30, 60, 66] Operation: 8+58=66
Moving to Node #0,0
Current State: 71:[58, 60, 38], Operations: ['8+30=38']
Exploring Operation: 58+38=96, Resulting Numbers: [60, 96]
Generated Node #0,0,0: 71:[60, 96] Operation: 58+38=96
Exploring Operation: 60+38=98, Resulting Numbers: [58, 98]
Generated Node #0,0,1: 71:[58, 98] Operation: 60+38=98
Moving to Node #0,1
Current State: 71:[30, 60, 66], Operations: ['8+58=66']
Exploring Operation: 30+60=90, Resulting Numbers: [66, 90]
Generated Node #0,1,0: 71:[66, 90] Operation: 30+60=90
Exploring Operation: 30+66=96, Resulting Numbers: [60, 96]
Generated Node #0,1,1: 71:[60, 96] Operation: 30+66=96
Moving to Node #0,1,0
Current State: 71:[66, 90], Operations: ['8+58=66', '30+60=90']
Exploring Operation: 90-66=24, Resulting Numbers: [24]
24,71 unequal: No Solution
Exploring Operation: 66+90=156, Resulting Numbers: [156]
156,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[60, 96], Operations: ['8+30=38', '58+38=96']
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 60+96=156, Resulting Numbers: [156]
156,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[60, 96], Operations: ['8+58=66', '30+66=96']
Exploring Operation: 60+96=156, Resulting Numbers: [156]
156,71 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[58, 98], Operations: ['8+30=38', '60+38=98']
Exploring Operation: 58+98=156, Resulting Numbers: [156]
156,71 unequal: No Solution
Exploring Operation: 98-58=40, Resulting Numbers: [40]
40,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
27,
96,
73
] | 88 | [
"38+27=65",
"96-73=23",
"65+23=88"
] | Current State: 88:[38, 27, 96, 73], Operations: []
Exploring Operation: 38+27=65, Resulting Numbers: [96, 73, 65]
Generated Node #2: [96, 73, 65] from Operation: 38+27=65
Current State: 88:[96, 73, 65], Operations: ['38+27=65']
Exploring Operation: 96-73=23, Resulting Numbers: [65, 23]
Generated Node #3: [65, 23] from Operation: 96-73=23
Current State: 88:[65, 23], Operations: ['38+27=65', '96-73=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[38, 27, 96, 73], Operations: []
Exploring Operation: 38-27=11, Resulting Numbers: [96, 73, 11]
Generated Node #0,0: 88:[96, 73, 11] Operation: 38-27=11
Exploring Operation: 73-38=35, Resulting Numbers: [27, 96, 35]
Generated Node #0,1: 88:[27, 96, 35] Operation: 73-38=35
Exploring Operation: 96-73=23, Resulting Numbers: [38, 27, 23]
Generated Node #0,2: 88:[38, 27, 23] Operation: 96-73=23
Exploring Operation: 73-27=46, Resulting Numbers: [38, 96, 46]
Generated Node #0,3: 88:[38, 96, 46] Operation: 73-27=46
Moving to Node #0,2
Current State: 88:[38, 27, 23], Operations: ['96-73=23']
Exploring Operation: 38-27=11, Resulting Numbers: [23, 11]
Generated Node #0,2,0: 88:[23, 11] Operation: 38-27=11
Exploring Operation: 27-23=4, Resulting Numbers: [38, 4]
Generated Node #0,2,1: 88:[38, 4] Operation: 27-23=4
Exploring Operation: 27+23=50, Resulting Numbers: [38, 50]
Generated Node #0,2,2: 88:[38, 50] Operation: 27+23=50
Exploring Operation: 38-23=15, Resulting Numbers: [27, 15]
Generated Node #0,2,3: 88:[27, 15] Operation: 38-23=15
Moving to Node #0,3
Current State: 88:[38, 96, 46], Operations: ['73-27=46']
Exploring Operation: 46-38=8, Resulting Numbers: [96, 8]
Generated Node #0,3,0: 88:[96, 8] Operation: 46-38=8
Exploring Operation: 38+46=84, Resulting Numbers: [96, 84]
Generated Node #0,3,1: 88:[96, 84] Operation: 38+46=84
Exploring Operation: 96-46=50, Resulting Numbers: [38, 50]
Generated Node #0,3,2: 88:[38, 50] Operation: 96-46=50
Exploring Operation: 96-38=58, Resulting Numbers: [46, 58]
Generated Node #0,3,3: 88:[46, 58] Operation: 96-38=58
Moving to Node #0,1
Current State: 88:[27, 96, 35], Operations: ['73-38=35']
Exploring Operation: 96-35=61, Resulting Numbers: [27, 61]
Generated Node #0,1,0: 88:[27, 61] Operation: 96-35=61
Exploring Operation: 27+35=62, Resulting Numbers: [96, 62]
Generated Node #0,1,1: 88:[96, 62] Operation: 27+35=62
Exploring Operation: 35-27=8, Resulting Numbers: [96, 8]
Generated Node #0,1,2: 88:[96, 8] Operation: 35-27=8
Exploring Operation: 96-27=69, Resulting Numbers: [35, 69]
Generated Node #0,1,3: 88:[35, 69] Operation: 96-27=69
Moving to Node #0,0
Current State: 88:[96, 73, 11], Operations: ['38-27=11']
Exploring Operation: 96-73=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 88:[11, 23] Operation: 96-73=23
Exploring Operation: 73+11=84, Resulting Numbers: [96, 84]
Generated Node #0,0,1: 88:[96, 84] Operation: 73+11=84
Exploring Operation: 96-11=85, Resulting Numbers: [73, 85]
Generated Node #0,0,2: 88:[73, 85] Operation: 96-11=85
Exploring Operation: 73-11=62, Resulting Numbers: [96, 62]
Generated Node #0,0,3: 88:[96, 62] Operation: 73-11=62
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[11, 23], Operations: ['38-27=11', '96-73=23']
Exploring Operation: 11*23=253, Resulting Numbers: [253]
253,88 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[96, 84], Operations: ['38-27=11', '73+11=84']
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,88 unequal: No Solution
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[73, 85], Operations: ['38-27=11', '96-11=85']
Exploring Operation: 85-73=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 73*85=6205, Resulting Numbers: [6205]
6205,88 unequal: No Solution
Exploring Operation: 73+85=158, Resulting Numbers: [158]
158,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[96, 62], Operations: ['38-27=11', '73-11=62']
Exploring Operation: 96+62=158, Resulting Numbers: [158]
158,88 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 96*62=5952, Resulting Numbers: [5952]
5952,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 88:[23, 11], Operations: ['96-73=23', '38-27=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,88 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,88 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[38, 4], Operations: ['96-73=23', '27-23=4']
Exploring Operation: 38*4=152, Resulting Numbers: [152]
152,88 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 38+4=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[96, 8], Operations: ['73-27=46', '46-38=8']
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[38, 27, 96, 73], Operations: []
Exploring Operation: 73-27=46, Resulting Numbers: [38, 96, 46]
Generated Node #0,3: 88:[38, 96, 46] Operation: 73-27=46
Moving to Node #0,3
Current State: 88:[38, 96, 46], Operations: ['73-27=46']
Exploring Operation: 46-38=8, Resulting Numbers: [96, 8]
Generated Node #0,3,0: 88:[96, 8] Operation: 46-38=8
Moving to Node #0,3,0
Current State: 88:[96, 8], Operations: ['73-27=46', '46-38=8']
Exploring Operation: 96-8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
38,
80,
7,
2
] | 85 | [
"38+7=45",
"80/2=40",
"45+40=85"
] | Current State: 85:[38, 80, 7, 2], Operations: []
Exploring Operation: 38+7=45, Resulting Numbers: [80, 2, 45]
Generated Node #2: [80, 2, 45] from Operation: 38+7=45
Current State: 85:[80, 2, 45], Operations: ['38+7=45']
Exploring Operation: 80/2=40, Resulting Numbers: [45, 40]
Generated Node #3: [45, 40] from Operation: 80/2=40
Current State: 85:[45, 40], Operations: ['38+7=45', '80/2=40']
Exploring Operation: 45+40=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[38, 80, 7, 2], Operations: []
Exploring Operation: 38-7=31, Resulting Numbers: [80, 2, 31]
Generated Node #0,0: 85:[80, 2, 31] Operation: 38-7=31
Exploring Operation: 38*2=76, Resulting Numbers: [80, 7, 76]
Generated Node #0,1: 85:[80, 7, 76] Operation: 38*2=76
Exploring Operation: 80+7=87, Resulting Numbers: [38, 2, 87]
Generated Node #0,2: 85:[38, 2, 87] Operation: 80+7=87
Exploring Operation: 38/2=19, Resulting Numbers: [80, 7, 19]
Generated Node #0,3: 85:[80, 7, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [80, 7, 36]
Generated Node #0,4: 85:[80, 7, 36] Operation: 38-2=36
Moving to Node #0,3
Current State: 85:[80, 7, 19], Operations: ['38/2=19']
Exploring Operation: 80+19=99, Resulting Numbers: [7, 99]
Generated Node #0,3,0: 85:[7, 99] Operation: 80+19=99
Exploring Operation: 19-7=12, Resulting Numbers: [80, 12]
Generated Node #0,3,1: 85:[80, 12] Operation: 19-7=12
Exploring Operation: 80+7=87, Resulting Numbers: [19, 87]
Generated Node #0,3,2: 85:[19, 87] Operation: 80+7=87
Exploring Operation: 7+19=26, Resulting Numbers: [80, 26]
Generated Node #0,3,3: 85:[80, 26] Operation: 7+19=26
Exploring Operation: 80-7=73, Resulting Numbers: [19, 73]
Generated Node #0,3,4: 85:[19, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[19, 87], Operations: ['38/2=19', '80+7=87']
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 19*87=1653, Resulting Numbers: [1653]
1653,85 unequal: No Solution
Exploring Operation: 19+87=106, Resulting Numbers: [106]
106,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[80, 12], Operations: ['38/2=19', '19-7=12']
Exploring Operation: 80*12=960, Resulting Numbers: [960]
960,85 unequal: No Solution
Exploring Operation: 80+12=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 80-12=68, Resulting Numbers: [68]
68,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[80, 26], Operations: ['38/2=19', '7+19=26']
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 80+26=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 80*26=2080, Resulting Numbers: [2080]
2080,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 85:[19, 73], Operations: ['38/2=19', '80-7=73']
Exploring Operation: 19*73=1387, Resulting Numbers: [1387]
1387,85 unequal: No Solution
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,85 unequal: No Solution
Exploring Operation: 19+73=92, Resulting Numbers: [92]
92,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[7, 99], Operations: ['38/2=19', '80+19=99']
Exploring Operation: 7+99=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,85 unequal: No Solution
Exploring Operation: 7*99=693, Resulting Numbers: [693]
693,85 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: 85:[80, 7, 76], Operations: ['38*2=76']
Exploring Operation: 80+7=87, Resulting Numbers: [76, 87]
Generated Node #0,1,0: 85:[76, 87] Operation: 80+7=87
Exploring Operation: 76-7=69, Resulting Numbers: [80, 69]
Generated Node #0,1,1: 85:[80, 69] Operation: 76-7=69
Exploring Operation: 80-76=4, Resulting Numbers: [7, 4]
Generated Node #0,1,2: 85:[7, 4] Operation: 80-76=4
Exploring Operation: 7+76=83, Resulting Numbers: [80, 83]
Generated Node #0,1,3: 85:[80, 83] Operation: 7+76=83
Exploring Operation: 80-7=73, Resulting Numbers: [76, 73]
Generated Node #0,1,4: 85:[76, 73] Operation: 80-7=73
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[7, 4], Operations: ['38*2=76', '80-76=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[80, 83], Operations: ['38*2=76', '7+76=83']
Exploring Operation: 80*83=6640, Resulting Numbers: [6640]
6640,85 unequal: No Solution
Exploring Operation: 83-80=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 80+83=163, Resulting Numbers: [163]
163,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[76, 87], Operations: ['38*2=76', '80+7=87']
Exploring Operation: 76+87=163, Resulting Numbers: [163]
163,85 unequal: No Solution
Exploring Operation: 76*87=6612, Resulting Numbers: [6612]
6612,85 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[80, 69], Operations: ['38*2=76', '76-7=69']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,85 unequal: No Solution
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 85:[76, 73], Operations: ['38*2=76', '80-7=73']
Exploring Operation: 76*73=5548, Resulting Numbers: [5548]
5548,85 unequal: No Solution
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 76+73=149, Resulting Numbers: [149]
149,85 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: 85:[80, 2, 31], Operations: ['38-7=31']
Exploring Operation: 2*31=62, Resulting Numbers: [80, 62]
Generated Node #0,0,0: 85:[80, 62] Operation: 2*31=62
Exploring Operation: 2+31=33, Resulting Numbers: [80, 33]
Generated Node #0,0,1: 85:[80, 33] Operation: 2+31=33
Exploring Operation: 80-2=78, Resulting Numbers: [31, 78]
Generated Node #0,0,2: 85:[31, 78] Operation: 80-2=78
Exploring Operation: 80+2=82, Resulting Numbers: [31, 82]
Generated Node #0,0,3: 85:[31, 82] Operation: 80+2=82
Exploring Operation: 31-2=29, Resulting Numbers: [80, 29]
Generated Node #0,0,4: 85:[80, 29] Operation: 31-2=29
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[31, 82], Operations: ['38-7=31', '80+2=82']
Exploring Operation: 31*82=2542, Resulting Numbers: [2542]
2542,85 unequal: No Solution
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 31+82=113, Resulting Numbers: [113]
113,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 85:[80, 29], Operations: ['38-7=31', '31-2=29']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,85 unequal: No Solution
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[80, 33], Operations: ['38-7=31', '2+31=33']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,85 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[31, 78], Operations: ['38-7=31', '80-2=78']
Exploring Operation: 31*78=2418, Resulting Numbers: [2418]
2418,85 unequal: No Solution
Exploring Operation: 31+78=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 78-31=47, Resulting Numbers: [47]
47,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[80, 62], Operations: ['38-7=31', '2*31=62']
Exploring Operation: 80-62=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,85 unequal: No Solution
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,85 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: 85:[38, 2, 87], Operations: ['80+7=87']
Exploring Operation: 38-2=36, Resulting Numbers: [87, 36]
Generated Node #0,2,0: 85:[87, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [87, 19]
Generated Node #0,2,1: 85:[87, 19] Operation: 38/2=19
Exploring Operation: 87-2=85, Resulting Numbers: [38, 85]
Generated Node #0,2,2: 85:[38, 85] Operation: 87-2=85
Exploring Operation: 38+2=40, Resulting Numbers: [87, 40]
Generated Node #0,2,3: 85:[87, 40] Operation: 38+2=40
Exploring Operation: 38*2=76, Resulting Numbers: [87, 76]
Generated Node #0,2,4: 85:[87, 76] Operation: 38*2=76
Moving to Node #0,4
Current State: 85:[80, 7, 36], Operations: ['38-2=36']
Exploring Operation: 7+36=43, Resulting Numbers: [80, 43]
Generated Node #0,4,0: 85:[80, 43] Operation: 7+36=43
Exploring Operation: 36-7=29, Resulting Numbers: [80, 29]
Generated Node #0,4,1: 85:[80, 29] Operation: 36-7=29
Exploring Operation: 80-7=73, Resulting Numbers: [36, 73]
Generated Node #0,4,2: 85:[36, 73] Operation: 80-7=73
Exploring Operation: 80-36=44, Resulting Numbers: [7, 44]
Generated Node #0,4,3: 85:[7, 44] Operation: 80-36=44
Exploring Operation: 80+7=87, Resulting Numbers: [36, 87]
Generated Node #0,4,4: 85:[36, 87] Operation: 80+7=87
Moving to Node #0,2,1
Current State: 85:[87, 19], Operations: ['80+7=87', '38/2=19']
Exploring Operation: 87+19=106, Resulting Numbers: [106]
106,85 unequal: No Solution
Exploring Operation: 87-19=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 87*19=1653, Resulting Numbers: [1653]
1653,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[87, 76], Operations: ['80+7=87', '38*2=76']
Exploring Operation: 87*76=6612, Resulting Numbers: [6612]
6612,85 unequal: No Solution
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,85 unequal: No Solution
Exploring Operation: 87+76=163, Resulting Numbers: [163]
163,85 unequal: No Solution
Moving to Node #0,4,1
Current State: 85:[80, 29], Operations: ['38-2=36', '36-7=29']
Exploring Operation: 80*29=2320, Resulting Numbers: [2320]
2320,85 unequal: No Solution
Exploring Operation: 80+29=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Moving to Node #0,4,4
Current State: 85:[36, 87], Operations: ['38-2=36', '80+7=87']
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,85 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[87, 36], Operations: ['80+7=87', '38-2=36']
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,85 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[38, 85], Operations: ['80+7=87', '87-2=85']
Exploring Operation: 38*85=3230, Resulting Numbers: [3230]
3230,85 unequal: No Solution
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[87, 40], Operations: ['80+7=87', '38+2=40']
Exploring Operation: 87+40=127, Resulting Numbers: [127]
127,85 unequal: No Solution
Exploring Operation: 87-40=47, Resulting Numbers: [47]
47,85 unequal: No Solution
Exploring Operation: 87*40=3480, Resulting Numbers: [3480]
3480,85 unequal: No Solution
Moving to Node #0,4,3
Current State: 85:[7, 44], Operations: ['38-2=36', '80-36=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,85 unequal: No Solution
Moving to Node #0,4,0
Current State: 85:[80, 43], Operations: ['38-2=36', '7+36=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 80+43=123, Resulting Numbers: [123]
123,85 unequal: No Solution
Exploring Operation: 80*43=3440, Resulting Numbers: [3440]
3440,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[36, 73], Operations: ['38-2=36', '80-7=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,85 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,85 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,85 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
37,
55,
5,
56
] | 32 | [
"37-5=32",
"56-55=1",
"32*1=32"
] | Current State: 32:[37, 55, 5, 56], Operations: []
Exploring Operation: 37-5=32, Resulting Numbers: [55, 56, 32]
Generated Node #2: [55, 56, 32] from Operation: 37-5=32
Current State: 32:[55, 56, 32], Operations: ['37-5=32']
Exploring Operation: 56-55=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 56-55=1
Current State: 32:[32, 1], Operations: ['37-5=32', '56-55=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[37, 55, 5, 56], Operations: []
Exploring Operation: 56-55=1, Resulting Numbers: [37, 5, 1]
Generated Node #0,0: 32:[37, 5, 1] Operation: 56-55=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[37, 5, 1], Operations: ['56-55=1']
Exploring Operation: 37-5=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 32:[1, 32] Operation: 37-5=32
Moving to Node #0,0,0
Current State: 32:[1, 32], Operations: ['56-55=1', '37-5=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[37, 55, 5, 56], Operations: []
Exploring Operation: 56-55=1, Resulting Numbers: [37, 5, 1]
Generated Node #0,0: 32:[37, 5, 1] Operation: 56-55=1
Moving to Node #0,0
Current State: 32:[37, 5, 1], Operations: ['56-55=1']
Exploring Operation: 37-5=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 32:[1, 32] Operation: 37-5=32
Moving to Node #0,0,0
Current State: 32:[1, 32], Operations: ['56-55=1', '37-5=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
77,
3,
67,
89
] | 82 | [
"77-3=74",
"67+89=156",
"156-74=82"
] | Current State: 82:[77, 3, 67, 89], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [67, 89, 74]
Generated Node #2: [67, 89, 74] from Operation: 77-3=74
Current State: 82:[67, 89, 74], Operations: ['77-3=74']
Exploring Operation: 67+89=156, Resulting Numbers: [74, 156]
Generated Node #3: [74, 156] from Operation: 67+89=156
Current State: 82:[74, 156], Operations: ['77-3=74', '67+89=156']
Exploring Operation: 156-74=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[77, 3, 67, 89], Operations: []
Exploring Operation: 77+3=80, Resulting Numbers: [67, 89, 80]
Generated Node #0,0: 82:[67, 89, 80] Operation: 77+3=80
Exploring Operation: 77-67=10, Resulting Numbers: [3, 89, 10]
Generated Node #0,1: 82:[3, 89, 10] Operation: 77-67=10
Moving to Node #0,1
Current State: 82:[3, 89, 10], Operations: ['77-67=10']
Exploring Operation: 89-3=86, Resulting Numbers: [10, 86]
Generated Node #0,1,0: 82:[10, 86] Operation: 89-3=86
Exploring Operation: 89-10=79, Resulting Numbers: [3, 79]
Generated Node #0,1,1: 82:[3, 79] Operation: 89-10=79
Moving to Node #0,0
Current State: 82:[67, 89, 80], Operations: ['77+3=80']
Exploring Operation: 80-67=13, Resulting Numbers: [89, 13]
Generated Node #0,0,0: 82:[89, 13] Operation: 80-67=13
Exploring Operation: 89-67=22, Resulting Numbers: [80, 22]
Generated Node #0,0,1: 82:[80, 22] Operation: 89-67=22
Moving to Node #0,1,1
Current State: 82:[3, 79], Operations: ['77-67=10', '89-10=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[77, 3, 67, 89], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [3, 89, 10]
Generated Node #0,1: 82:[3, 89, 10] Operation: 77-67=10
Moving to Node #0,1
Current State: 82:[3, 89, 10], Operations: ['77-67=10']
Exploring Operation: 89-10=79, Resulting Numbers: [3, 79]
Generated Node #0,1,1: 82:[3, 79] Operation: 89-10=79
Moving to Node #0,1,1
Current State: 82:[3, 79], Operations: ['77-67=10', '89-10=79']
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
8,
44,
7,
30
] | 88 | [
"8+7=15",
"44*30=1320",
"1320/15=88"
] | Current State: 88:[8, 44, 7, 30], Operations: []
Exploring Operation: 8+7=15, Resulting Numbers: [44, 30, 15]
Generated Node #2: [44, 30, 15] from Operation: 8+7=15
Current State: 88:[44, 30, 15], Operations: ['8+7=15']
Exploring Operation: 44*30=1320, Resulting Numbers: [15, 1320]
Generated Node #3: [15, 1320] from Operation: 44*30=1320
Current State: 88:[15, 1320], Operations: ['8+7=15', '44*30=1320']
Exploring Operation: 1320/15=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[8, 44, 7, 30], Operations: []
Exploring Operation: 44-30=14, Resulting Numbers: [8, 7, 14]
Generated Node #0,0: 88:[8, 7, 14] Operation: 44-30=14
Exploring Operation: 30-7=23, Resulting Numbers: [8, 44, 23]
Generated Node #0,1: 88:[8, 44, 23] Operation: 30-7=23
Exploring Operation: 30-8=22, Resulting Numbers: [44, 7, 22]
Generated Node #0,2: 88:[44, 7, 22] Operation: 30-8=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[8, 44, 23], Operations: ['30-7=23']
Exploring Operation: 44-23=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 88:[8, 21] Operation: 44-23=21
Exploring Operation: 8+44=52, Resulting Numbers: [23, 52]
Generated Node #0,1,1: 88:[23, 52] Operation: 8+44=52
Exploring Operation: 23-8=15, Resulting Numbers: [44, 15]
Generated Node #0,1,2: 88:[44, 15] Operation: 23-8=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[8, 21], Operations: ['30-7=23', '44-23=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[44, 15], Operations: ['30-7=23', '23-8=15']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[23, 52], Operations: ['30-7=23', '8+44=52']
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[44, 7, 22], Operations: ['30-8=22']
Exploring Operation: 44-22=22, Resulting Numbers: [7, 22]
Generated Node #0,2,0: 88:[7, 22] Operation: 44-22=22
Exploring Operation: 44/22=2, Resulting Numbers: [7, 2]
Generated Node #0,2,1: 88:[7, 2] Operation: 44/22=2
Exploring Operation: 22-7=15, Resulting Numbers: [44, 15]
Generated Node #0,2,2: 88:[44, 15] Operation: 22-7=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 88:[7, 22], Operations: ['30-8=22', '44-22=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,88 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[7, 2], Operations: ['30-8=22', '44/22=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 88:[44, 15], Operations: ['30-8=22', '22-7=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[8, 7, 14], Operations: ['44-30=14']
Exploring Operation: 8+14=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 88:[7, 22] Operation: 8+14=22
Exploring Operation: 7+14=21, Resulting Numbers: [8, 21]
Generated Node #0,0,1: 88:[8, 21] Operation: 7+14=21
Exploring Operation: 14/7=2, Resulting Numbers: [8, 2]
Generated Node #0,0,2: 88:[8, 2] Operation: 14/7=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 88:[8, 2], Operations: ['44-30=14', '14/7=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[7, 22], Operations: ['44-30=14', '8+14=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,88 unequal: No Solution
Exploring Operation: 7*22=154, Resulting Numbers: [154]
154,88 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[8, 21], Operations: ['44-30=14', '7+14=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,88 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
88,
38,
71,
75
] | 20 | [
"88+38=126",
"71+75=146",
"146-126=20"
] | Current State: 20:[88, 38, 71, 75], Operations: []
Exploring Operation: 88+38=126, Resulting Numbers: [71, 75, 126]
Generated Node #2: [71, 75, 126] from Operation: 88+38=126
Current State: 20:[71, 75, 126], Operations: ['88+38=126']
Exploring Operation: 71+75=146, Resulting Numbers: [126, 146]
Generated Node #3: [126, 146] from Operation: 71+75=146
Current State: 20:[126, 146], Operations: ['88+38=126', '71+75=146']
Exploring Operation: 146-126=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[88, 38, 71, 75], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [38, 71, 13]
Generated Node #0,0: 20:[38, 71, 13] Operation: 88-75=13
Exploring Operation: 88-71=17, Resulting Numbers: [38, 75, 17]
Generated Node #0,1: 20:[38, 75, 17] Operation: 88-71=17
Exploring Operation: 75-71=4, Resulting Numbers: [88, 38, 4]
Generated Node #0,2: 20:[88, 38, 4] Operation: 75-71=4
Moving to Node #0,0
Current State: 20:[38, 71, 13], Operations: ['88-75=13']
Exploring Operation: 71-38=33, Resulting Numbers: [13, 33]
Generated Node #0,0,0: 20:[13, 33] Operation: 71-38=33
Exploring Operation: 71-13=58, Resulting Numbers: [38, 58]
Generated Node #0,0,1: 20:[38, 58] Operation: 71-13=58
Exploring Operation: 38-13=25, Resulting Numbers: [71, 25]
Generated Node #0,0,2: 20:[71, 25] Operation: 38-13=25
Moving to Node #0,1
Current State: 20:[38, 75, 17], Operations: ['88-71=17']
Exploring Operation: 75-38=37, Resulting Numbers: [17, 37]
Generated Node #0,1,0: 20:[17, 37] Operation: 75-38=37
Exploring Operation: 75-17=58, Resulting Numbers: [38, 58]
Generated Node #0,1,1: 20:[38, 58] Operation: 75-17=58
Exploring Operation: 38-17=21, Resulting Numbers: [75, 21]
Generated Node #0,1,2: 20:[75, 21] Operation: 38-17=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[17, 37], Operations: ['88-71=17', '75-38=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[88, 38, 71, 75], Operations: []
Exploring Operation: 88-71=17, Resulting Numbers: [38, 75, 17]
Generated Node #0,1: 20:[38, 75, 17] Operation: 88-71=17
Moving to Node #0,1
Current State: 20:[38, 75, 17], Operations: ['88-71=17']
Exploring Operation: 75-38=37, Resulting Numbers: [17, 37]
Generated Node #0,1,0: 20:[17, 37] Operation: 75-38=37
Moving to Node #0,1,0
Current State: 20:[17, 37], Operations: ['88-71=17', '75-38=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
41,
30,
74,
69
] | 23 | [
"41+30=71",
"74-71=3",
"69/3=23"
] | Current State: 23:[41, 30, 74, 69], Operations: []
Exploring Operation: 41+30=71, Resulting Numbers: [74, 69, 71]
Generated Node #2: [74, 69, 71] from Operation: 41+30=71
Current State: 23:[74, 69, 71], Operations: ['41+30=71']
Exploring Operation: 74-71=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 74-71=3
Current State: 23:[69, 3], Operations: ['41+30=71', '74-71=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[41, 30, 74, 69], Operations: []
Exploring Operation: 69-30=39, Resulting Numbers: [41, 74, 39]
Generated Node #0,0: 23:[41, 74, 39] Operation: 69-30=39
Exploring Operation: 69-41=28, Resulting Numbers: [30, 74, 28]
Generated Node #0,1: 23:[30, 74, 28] Operation: 69-41=28
Exploring Operation: 74-69=5, Resulting Numbers: [41, 30, 5]
Generated Node #0,2: 23:[41, 30, 5] Operation: 74-69=5
Exploring Operation: 74-41=33, Resulting Numbers: [30, 69, 33]
Generated Node #0,3: 23:[30, 69, 33] Operation: 74-41=33
Exploring Operation: 74-30=44, Resulting Numbers: [41, 69, 44]
Generated Node #0,4: 23:[41, 69, 44] Operation: 74-30=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[41, 30, 5], Operations: ['74-69=5']
Exploring Operation: 30+5=35, Resulting Numbers: [41, 35]
Generated Node #0,2,0: 23:[41, 35] Operation: 30+5=35
Exploring Operation: 30-5=25, Resulting Numbers: [41, 25]
Generated Node #0,2,1: 23:[41, 25] Operation: 30-5=25
Exploring Operation: 41-5=36, Resulting Numbers: [30, 36]
Generated Node #0,2,2: 23:[30, 36] Operation: 41-5=36
Exploring Operation: 41+5=46, Resulting Numbers: [30, 46]
Generated Node #0,2,3: 23:[30, 46] Operation: 41+5=46
Exploring Operation: 41-30=11, Resulting Numbers: [5, 11]
Generated Node #0,2,4: 23:[5, 11] Operation: 41-30=11
Moving to Node #0,2,1
Current State: 23:[41, 25], Operations: ['74-69=5', '30-5=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[30, 36], Operations: ['74-69=5', '41-5=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[41, 35], Operations: ['74-69=5', '30+5=35']
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,23 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[30, 46], Operations: ['74-69=5', '41+5=46']
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[5, 11], Operations: ['74-69=5', '41-30=11']
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[30, 74, 28], Operations: ['69-41=28']
Exploring Operation: 74-30=44, Resulting Numbers: [28, 44]
Generated Node #0,1,0: 23:[28, 44] Operation: 74-30=44
Exploring Operation: 30+28=58, Resulting Numbers: [74, 58]
Generated Node #0,1,1: 23:[74, 58] Operation: 30+28=58
Exploring Operation: 30+74=104, Resulting Numbers: [28, 104]
Generated Node #0,1,2: 23:[28, 104] Operation: 30+74=104
Exploring Operation: 74-28=46, Resulting Numbers: [30, 46]
Generated Node #0,1,3: 23:[30, 46] Operation: 74-28=46
Exploring Operation: 30-28=2, Resulting Numbers: [74, 2]
Generated Node #0,1,4: 23:[74, 2] Operation: 30-28=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[28, 44], Operations: ['69-41=28', '74-30=44']
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,23 unequal: No Solution
No 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: 23:[30, 46], Operations: ['69-41=28', '74-28=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,23 unequal: No Solution
No 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: 23:[74, 2], Operations: ['69-41=28', '30-28=2']
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,23 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,23 unequal: No Solution
No 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: 23:[74, 58], Operations: ['69-41=28', '30+28=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,23 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,23 unequal: No Solution
No 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: 23:[28, 104], Operations: ['69-41=28', '30+74=104']
Exploring Operation: 28*104=2912, Resulting Numbers: [2912]
2912,23 unequal: No Solution
Exploring Operation: 104-28=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 28+104=132, Resulting Numbers: [132]
132,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[30, 69, 33], Operations: ['74-41=33']
Exploring Operation: 69-30=39, Resulting Numbers: [33, 39]
Generated Node #0,3,0: 23:[33, 39] Operation: 69-30=39
Exploring Operation: 33-30=3, Resulting Numbers: [69, 3]
Generated Node #0,3,1: 23:[69, 3] Operation: 33-30=3
Exploring Operation: 69-33=36, Resulting Numbers: [30, 36]
Generated Node #0,3,2: 23:[30, 36] Operation: 69-33=36
Exploring Operation: 30+33=63, Resulting Numbers: [69, 63]
Generated Node #0,3,3: 23:[69, 63] Operation: 30+33=63
Exploring Operation: 30+69=99, Resulting Numbers: [33, 99]
Generated Node #0,3,4: 23:[33, 99] Operation: 30+69=99
Moving to Node #0,3,2
Current State: 23:[30, 36], Operations: ['74-41=33', '69-33=36']
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[33, 39], Operations: ['74-41=33', '69-30=39']
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,23 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[69, 3], Operations: ['74-41=33', '33-30=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[41, 30, 74, 69], Operations: []
Exploring Operation: 74-41=33, Resulting Numbers: [30, 69, 33]
Generated Node #0,3: 23:[30, 69, 33] Operation: 74-41=33
Moving to Node #0,3
Current State: 23:[30, 69, 33], Operations: ['74-41=33']
Exploring Operation: 33-30=3, Resulting Numbers: [69, 3]
Generated Node #0,3,1: 23:[69, 3] Operation: 33-30=3
Moving to Node #0,3,1
Current State: 23:[69, 3], Operations: ['74-41=33', '33-30=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_5 | sum_heuristic |
[
12,
61,
15,
93
] | 84 | [
"61*15=915",
"93+915=1008",
"1008/12=84"
] | Current State: 84:[12, 61, 15, 93], Operations: []
Exploring Operation: 61*15=915, Resulting Numbers: [12, 93, 915]
Generated Node #2: [12, 93, 915] from Operation: 61*15=915
Current State: 84:[12, 93, 915], Operations: ['61*15=915']
Exploring Operation: 93+915=1008, Resulting Numbers: [12, 1008]
Generated Node #3: [12, 1008] from Operation: 93+915=1008
Current State: 84:[12, 1008], Operations: ['61*15=915', '93+915=1008']
Exploring Operation: 1008/12=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[12, 61, 15, 93], Operations: []
Exploring Operation: 61-15=46, Resulting Numbers: [12, 93, 46]
Generated Node #0,0: 84:[12, 93, 46] Operation: 61-15=46
Exploring Operation: 93-61=32, Resulting Numbers: [12, 15, 32]
Generated Node #0,1: 84:[12, 15, 32] Operation: 93-61=32
Exploring Operation: 61-12=49, Resulting Numbers: [15, 93, 49]
Generated Node #0,2: 84:[15, 93, 49] Operation: 61-12=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[12, 15, 32], Operations: ['93-61=32']
Exploring Operation: 12+32=44, Resulting Numbers: [15, 44]
Generated Node #0,1,0: 84:[15, 44] Operation: 12+32=44
Exploring Operation: 32-15=17, Resulting Numbers: [12, 17]
Generated Node #0,1,1: 84:[12, 17] Operation: 32-15=17
Exploring Operation: 32-12=20, Resulting Numbers: [15, 20]
Generated Node #0,1,2: 84:[15, 20] Operation: 32-12=20
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 84:[15, 20], Operations: ['93-61=32', '32-12=20']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,84 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 84:[15, 44], Operations: ['93-61=32', '12+32=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 84:[12, 17], Operations: ['93-61=32', '32-15=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[12, 93, 46], Operations: ['61-15=46']
Exploring Operation: 46-12=34, Resulting Numbers: [93, 34]
Generated Node #0,0,0: 84:[93, 34] Operation: 46-12=34
Exploring Operation: 93-46=47, Resulting Numbers: [12, 47]
Generated Node #0,0,1: 84:[12, 47] Operation: 93-46=47
Exploring Operation: 93-12=81, Resulting Numbers: [46, 81]
Generated Node #0,0,2: 84:[46, 81] Operation: 93-12=81
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[12, 47], Operations: ['61-15=46', '93-46=47']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,84 unequal: No Solution
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 84:[46, 81], Operations: ['61-15=46', '93-12=81']
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 46+81=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 46*81=3726, Resulting Numbers: [3726]
3726,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[93, 34], Operations: ['61-15=46', '46-12=34']
Exploring Operation: 93+34=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 93*34=3162, Resulting Numbers: [3162]
3162,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[15, 93, 49], Operations: ['61-12=49']
Exploring Operation: 93-15=78, Resulting Numbers: [49, 78]
Generated Node #0,2,0: 84:[49, 78] Operation: 93-15=78
Exploring Operation: 93-49=44, Resulting Numbers: [15, 44]
Generated Node #0,2,1: 84:[15, 44] Operation: 93-49=44
Exploring Operation: 49-15=34, Resulting Numbers: [93, 34]
Generated Node #0,2,2: 84:[93, 34] Operation: 49-15=34
Moving to Node #0,2,1
Current State: 84:[15, 44], Operations: ['61-12=49', '93-49=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,84 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Moving to Node #0,2,0
Current State: 84:[49, 78], Operations: ['61-12=49', '93-15=78']
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,84 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,84 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[93, 34], Operations: ['61-12=49', '49-15=34']
Exploring Operation: 93*34=3162, Resulting Numbers: [3162]
3162,84 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 93+34=127, Resulting Numbers: [127]
127,84 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 |
[
45,
36,
22,
13
] | 45 | [
"36-22=14",
"14-13=1",
"45*1=45"
] | Current State: 45:[45, 36, 22, 13], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [45, 13, 14]
Generated Node #2: [45, 13, 14] from Operation: 36-22=14
Current State: 45:[45, 13, 14], Operations: ['36-22=14']
Exploring Operation: 14-13=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 14-13=1
Current State: 45:[45, 1], Operations: ['36-22=14', '14-13=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[45, 36, 22, 13], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [22, 13, 9]
Generated Node #0,0: 45:[22, 13, 9] Operation: 45-36=9
Exploring Operation: 36-22=14, Resulting Numbers: [45, 13, 14]
Generated Node #0,1: 45:[45, 13, 14] Operation: 36-22=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[45, 13, 14], Operations: ['36-22=14']
Exploring Operation: 13+14=27, Resulting Numbers: [45, 27]
Generated Node #0,1,0: 45:[45, 27] Operation: 13+14=27
Exploring Operation: 14-13=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 45:[45, 1] Operation: 14-13=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 45:[45, 1], Operations: ['36-22=14', '14-13=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[45, 36, 22, 13], Operations: []
Exploring Operation: 36-22=14, Resulting Numbers: [45, 13, 14]
Generated Node #0,1: 45:[45, 13, 14] Operation: 36-22=14
Moving to Node #0,1
Current State: 45:[45, 13, 14], Operations: ['36-22=14']
Exploring Operation: 14-13=1, Resulting Numbers: [45, 1]
Generated Node #0,1,1: 45:[45, 1] Operation: 14-13=1
Moving to Node #0,1,1
Current State: 45:[45, 1], Operations: ['36-22=14', '14-13=1']
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
89,
31,
65,
62
] | 61 | [
"89-31=58",
"65-62=3",
"58+3=61"
] | Current State: 61:[89, 31, 65, 62], Operations: []
Exploring Operation: 89-31=58, Resulting Numbers: [65, 62, 58]
Generated Node #2: [65, 62, 58] from Operation: 89-31=58
Current State: 61:[65, 62, 58], Operations: ['89-31=58']
Exploring Operation: 65-62=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 65-62=3
Current State: 61:[58, 3], Operations: ['89-31=58', '65-62=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[89, 31, 65, 62], Operations: []
Exploring Operation: 31+65=96, Resulting Numbers: [89, 62, 96]
Generated Node #0,0: 61:[89, 62, 96] Operation: 31+65=96
Exploring Operation: 89+31=120, Resulting Numbers: [65, 62, 120]
Generated Node #0,1: 61:[65, 62, 120] Operation: 89+31=120
Exploring Operation: 89-31=58, Resulting Numbers: [65, 62, 58]
Generated Node #0,2: 61:[65, 62, 58] Operation: 89-31=58
Exploring Operation: 65-31=34, Resulting Numbers: [89, 62, 34]
Generated Node #0,3: 61:[89, 62, 34] Operation: 65-31=34
Exploring Operation: 62-31=31, Resulting Numbers: [89, 65, 31]
Generated Node #0,4: 61:[89, 65, 31] Operation: 62-31=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[65, 62, 58], Operations: ['89-31=58']
Exploring Operation: 65-58=7, Resulting Numbers: [62, 7]
Generated Node #0,2,0: 61:[62, 7] Operation: 65-58=7
Exploring Operation: 65-62=3, Resulting Numbers: [58, 3]
Generated Node #0,2,1: 61:[58, 3] Operation: 65-62=3
Exploring Operation: 62-58=4, Resulting Numbers: [65, 4]
Generated Node #0,2,2: 61:[65, 4] Operation: 62-58=4
Exploring Operation: 62+58=120, Resulting Numbers: [65, 120]
Generated Node #0,2,3: 61:[65, 120] Operation: 62+58=120
Exploring Operation: 65+58=123, Resulting Numbers: [62, 123]
Generated Node #0,2,4: 61:[62, 123] Operation: 65+58=123
Moving to Node #0,2,0
Current State: 61:[62, 7], Operations: ['89-31=58', '65-58=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,61 unequal: No Solution
Exploring Operation: 62*7=434, Resulting Numbers: [434]
434,61 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[65, 4], Operations: ['89-31=58', '62-58=4']
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,61 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[89, 31, 65, 62], Operations: []
Exploring Operation: 89-31=58, Resulting Numbers: [65, 62, 58]
Generated Node #0,2: 61:[65, 62, 58] Operation: 89-31=58
Moving to Node #0,2
Current State: 61:[65, 62, 58], Operations: ['89-31=58']
Exploring Operation: 62-58=4, Resulting Numbers: [65, 4]
Generated Node #0,2,2: 61:[65, 4] Operation: 62-58=4
Moving to Node #0,2,2
Current State: 61:[65, 4], Operations: ['89-31=58', '62-58=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
16,
22,
90,
68
] | 56 | [
"16*90=1440",
"22*68=1496",
"1496-1440=56"
] | Current State: 56:[16, 22, 90, 68], Operations: []
Exploring Operation: 16*90=1440, Resulting Numbers: [22, 68, 1440]
Generated Node #2: [22, 68, 1440] from Operation: 16*90=1440
Current State: 56:[22, 68, 1440], Operations: ['16*90=1440']
Exploring Operation: 22*68=1496, Resulting Numbers: [1440, 1496]
Generated Node #3: [1440, 1496] from Operation: 22*68=1496
Current State: 56:[1440, 1496], Operations: ['16*90=1440', '22*68=1496']
Exploring Operation: 1496-1440=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[16, 22, 90, 68], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [16, 22, 22]
Generated Node #0,0: 56:[16, 22, 22] Operation: 90-68=22
Exploring Operation: 90-22=68, Resulting Numbers: [16, 68, 68]
Generated Node #0,1: 56:[16, 68, 68] Operation: 90-22=68
Exploring Operation: 90-16=74, Resulting Numbers: [22, 68, 74]
Generated Node #0,2: 56:[22, 68, 74] Operation: 90-16=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[16, 22, 22], Operations: ['90-68=22']
Exploring Operation: 22-22=0, Resulting Numbers: [16, 0]
Generated Node #0,0,0: 56:[16, 0] Operation: 22-22=0
Exploring Operation: 22/22=1, Resulting Numbers: [16, 1]
Generated Node #0,0,1: 56:[16, 1] Operation: 22/22=1
Exploring Operation: 22-16=6, Resulting Numbers: [22, 6]
Generated Node #0,0,2: 56:[22, 6] Operation: 22-16=6
Moving to Node #0,0,1
Current State: 56:[16, 1], Operations: ['90-68=22', '22/22=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[16, 0], Operations: ['90-68=22', '22-22=0']
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[22, 6], Operations: ['90-68=22', '22-16=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 22-6=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,1
Current State: 56:[16, 68, 68], Operations: ['90-22=68']
Exploring Operation: 68-68=0, Resulting Numbers: [16, 0]
Generated Node #0,1,0: 56:[16, 0] Operation: 68-68=0
Exploring Operation: 68/68=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 56:[16, 1] Operation: 68/68=1
Exploring Operation: 68-16=52, Resulting Numbers: [68, 52]
Generated Node #0,1,2: 56:[68, 52] Operation: 68-16=52
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[16, 1], Operations: ['90-22=68', '68/68=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 16-1=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,1,0
Current State: 56:[16, 0], Operations: ['90-22=68', '68-68=0']
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,56 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[68, 52], Operations: ['90-22=68', '68-16=52']
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,56 unequal: No Solution
Exploring Operation: 68-52=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:[22, 68, 74], Operations: ['90-16=74']
Exploring Operation: 68-22=46, Resulting Numbers: [74, 46]
Generated Node #0,2,0: 56:[74, 46] Operation: 68-22=46
Exploring Operation: 74-68=6, Resulting Numbers: [22, 6]
Generated Node #0,2,1: 56:[22, 6] Operation: 74-68=6
Exploring Operation: 74-22=52, Resulting Numbers: [68, 52]
Generated Node #0,2,2: 56:[68, 52] Operation: 74-22=52
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 56:[22, 6], Operations: ['90-16=74', '74-68=6']
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,56 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,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:[68, 52], Operations: ['90-16=74', '74-22=52']
Exploring Operation: 68+52=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 68*52=3536, Resulting Numbers: [3536]
3536,56 unequal: No Solution
Exploring Operation: 68-52=16, Resulting Numbers: [16]
16,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:[74, 46], Operations: ['90-16=74', '68-22=46']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,56 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,56 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,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 | mult_heuristic |
[
38,
6,
60,
51
] | 23 | [
"38-6=32",
"60-51=9",
"32-9=23"
] | Current State: 23:[38, 6, 60, 51], Operations: []
Exploring Operation: 38-6=32, Resulting Numbers: [60, 51, 32]
Generated Node #2: [60, 51, 32] from Operation: 38-6=32
Current State: 23:[60, 51, 32], Operations: ['38-6=32']
Exploring Operation: 60-51=9, Resulting Numbers: [32, 9]
Generated Node #3: [32, 9] from Operation: 60-51=9
Current State: 23:[32, 9], Operations: ['38-6=32', '60-51=9']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[38, 6, 60, 51], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [6, 51, 22]
Generated Node #0,0: 23:[6, 51, 22] Operation: 60-38=22
Exploring Operation: 60-51=9, Resulting Numbers: [38, 6, 9]
Generated Node #0,1: 23:[38, 6, 9] Operation: 60-51=9
Exploring Operation: 60/6=10, Resulting Numbers: [38, 51, 10]
Generated Node #0,2: 23:[38, 51, 10] Operation: 60/6=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[6, 51, 22], Operations: ['60-38=22']
Exploring Operation: 6+22=28, Resulting Numbers: [51, 28]
Generated Node #0,0,0: 23:[51, 28] Operation: 6+22=28
Exploring Operation: 51-6=45, Resulting Numbers: [22, 45]
Generated Node #0,0,1: 23:[22, 45] Operation: 51-6=45
Exploring Operation: 51-22=29, Resulting Numbers: [6, 29]
Generated Node #0,0,2: 23:[6, 29] Operation: 51-22=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[22, 45], Operations: ['60-38=22', '51-6=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[38, 6, 60, 51], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [6, 51, 22]
Generated Node #0,0: 23:[6, 51, 22] Operation: 60-38=22
Moving to Node #0,0
Current State: 23:[6, 51, 22], Operations: ['60-38=22']
Exploring Operation: 51-6=45, Resulting Numbers: [22, 45]
Generated Node #0,0,1: 23:[22, 45] Operation: 51-6=45
Moving to Node #0,0,1
Current State: 23:[22, 45], Operations: ['60-38=22', '51-6=45']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
9,
19,
54,
22
] | 92 | [
"54/9=6",
"19*6=114",
"114-22=92"
] | Current State: 92:[9, 19, 54, 22], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [19, 22, 6]
Generated Node #2: [19, 22, 6] from Operation: 54/9=6
Current State: 92:[19, 22, 6], Operations: ['54/9=6']
Exploring Operation: 19*6=114, Resulting Numbers: [22, 114]
Generated Node #3: [22, 114] from Operation: 19*6=114
Current State: 92:[22, 114], Operations: ['54/9=6', '19*6=114']
Exploring Operation: 114-22=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[9, 19, 54, 22], Operations: []
Exploring Operation: 54-9=45, Resulting Numbers: [19, 22, 45]
Generated Node #0,0: 92:[19, 22, 45] Operation: 54-9=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[19, 22, 45], Operations: ['54-9=45']
Exploring Operation: 22-19=3, Resulting Numbers: [45, 3]
Generated Node #0,0,0: 92:[45, 3] Operation: 22-19=3
Moving to Node #0,0,0
Current State: 92:[45, 3], Operations: ['54-9=45', '22-19=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
8,
96,
32,
37
] | 13 | [
"8*96=768",
"768/32=24",
"37-24=13"
] | Current State: 13:[8, 96, 32, 37], Operations: []
Exploring Operation: 8*96=768, Resulting Numbers: [32, 37, 768]
Generated Node #2: [32, 37, 768] from Operation: 8*96=768
Current State: 13:[32, 37, 768], Operations: ['8*96=768']
Exploring Operation: 768/32=24, Resulting Numbers: [37, 24]
Generated Node #3: [37, 24] from Operation: 768/32=24
Current State: 13:[37, 24], Operations: ['8*96=768', '768/32=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[8, 96, 32, 37], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [32, 37, 12]
Generated Node #0,0: 13:[32, 37, 12] Operation: 96/8=12
Exploring Operation: 96-37=59, Resulting Numbers: [8, 32, 59]
Generated Node #0,1: 13:[8, 32, 59] Operation: 96-37=59
Exploring Operation: 96/32=3, Resulting Numbers: [8, 37, 3]
Generated Node #0,2: 13:[8, 37, 3] Operation: 96/32=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[8, 37, 3], Operations: ['96/32=3']
Exploring Operation: 37-3=34, Resulting Numbers: [8, 34]
Generated Node #0,2,0: 13:[8, 34] Operation: 37-3=34
Exploring Operation: 8+3=11, Resulting Numbers: [37, 11]
Generated Node #0,2,1: 13:[37, 11] Operation: 8+3=11
Exploring Operation: 37-8=29, Resulting Numbers: [3, 29]
Generated Node #0,2,2: 13:[3, 29] Operation: 37-8=29
Moving to Node #0,2,0
Current State: 13:[8, 34], Operations: ['96/32=3', '37-3=34']
Exploring Operation: 8+34=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 8*34=272, Resulting Numbers: [272]
272,13 unequal: No Solution
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[37, 11], Operations: ['96/32=3', '8+3=11']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 37*11=407, Resulting Numbers: [407]
407,13 unequal: No Solution
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[3, 29], Operations: ['96/32=3', '37-8=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,13 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,13 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[32, 37, 12], Operations: ['96/8=12']
Exploring Operation: 37-12=25, Resulting Numbers: [32, 25]
Generated Node #0,0,0: 13:[32, 25] Operation: 37-12=25
Exploring Operation: 37-32=5, Resulting Numbers: [12, 5]
Generated Node #0,0,1: 13:[12, 5] Operation: 37-32=5
Exploring Operation: 32-12=20, Resulting Numbers: [37, 20]
Generated Node #0,0,2: 13:[37, 20] Operation: 32-12=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[12, 5], Operations: ['96/8=12', '37-32=5']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,13 unequal: No Solution
No 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: 13:[32, 25], Operations: ['96/8=12', '37-12=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,13 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,13 unequal: No Solution
No 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: 13:[37, 20], Operations: ['96/8=12', '32-12=20']
Exploring Operation: 37*20=740, Resulting Numbers: [740]
740,13 unequal: No Solution
Exploring Operation: 37+20=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[8, 32, 59], Operations: ['96-37=59']
Exploring Operation: 59-32=27, Resulting Numbers: [8, 27]
Generated Node #0,1,0: 13:[8, 27] Operation: 59-32=27
Exploring Operation: 32-8=24, Resulting Numbers: [59, 24]
Generated Node #0,1,1: 13:[59, 24] Operation: 32-8=24
Exploring Operation: 32/8=4, Resulting Numbers: [59, 4]
Generated Node #0,1,2: 13:[59, 4] Operation: 32/8=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[8, 27], Operations: ['96-37=59', '59-32=27']
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,13 unequal: No Solution
No 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: 13:[59, 4], Operations: ['96-37=59', '32/8=4']
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,13 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,13 unequal: No Solution
No 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: 13:[59, 24], Operations: ['96-37=59', '32-8=24']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,13 unequal: No Solution
Exploring Operation: 59*24=1416, Resulting Numbers: [1416]
1416,13 unequal: No Solution
Exploring Operation: 59+24=83, Resulting Numbers: [83]
83,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_3 | sum_heuristic |
[
69,
63,
45,
3
] | 43 | [
"69-63=6",
"6/3=2",
"45-2=43"
] | Current State: 43:[69, 63, 45, 3], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [45, 3, 6]
Generated Node #2: [45, 3, 6] from Operation: 69-63=6
Current State: 43:[45, 3, 6], Operations: ['69-63=6']
Exploring Operation: 6/3=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 6/3=2
Current State: 43:[45, 2], Operations: ['69-63=6', '6/3=2']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[69, 63, 45, 3], Operations: []
Exploring Operation: 69-3=66, Resulting Numbers: [63, 45, 66]
Generated Node #0,0: 43:[63, 45, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [63, 45, 23]
Generated Node #0,1: 43:[63, 45, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[63, 45, 23], Operations: ['69/3=23']
Exploring Operation: 63-23=40, Resulting Numbers: [45, 40]
Generated Node #0,1,0: 43:[45, 40] Operation: 63-23=40
Exploring Operation: 45-23=22, Resulting Numbers: [63, 22]
Generated Node #0,1,1: 43:[63, 22] Operation: 45-23=22
Moving to Node #0,1,0
Current State: 43:[45, 40], Operations: ['69/3=23', '63-23=40']
Exploring Operation: 45-40=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 45+40=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[63, 22], Operations: ['69/3=23', '45-23=22']
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,43 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[63, 45, 66], Operations: ['69-3=66']
Exploring Operation: 66-45=21, Resulting Numbers: [63, 21]
Generated Node #0,0,0: 43:[63, 21] Operation: 66-45=21
Exploring Operation: 66-63=3, Resulting Numbers: [45, 3]
Generated Node #0,0,1: 43:[45, 3] Operation: 66-63=3
Moving to Node #0,0,0
Current State: 43:[63, 21], Operations: ['69-3=66', '66-45=21']
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[45, 3], Operations: ['69-3=66', '66-63=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
17,
10,
21,
38
] | 10 | [
"17+10=27",
"38-21=17",
"27-17=10"
] | Current State: 10:[17, 10, 21, 38], Operations: []
Exploring Operation: 17+10=27, Resulting Numbers: [21, 38, 27]
Generated Node #2: [21, 38, 27] from Operation: 17+10=27
Current State: 10:[21, 38, 27], Operations: ['17+10=27']
Exploring Operation: 38-21=17, Resulting Numbers: [27, 17]
Generated Node #3: [27, 17] from Operation: 38-21=17
Current State: 10:[27, 17], Operations: ['17+10=27', '38-21=17']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[17, 10, 21, 38], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [17, 10, 17]
Generated Node #0,0: 10:[17, 10, 17] Operation: 38-21=17
Exploring Operation: 38-17=21, Resulting Numbers: [10, 21, 21]
Generated Node #0,1: 10:[10, 21, 21] Operation: 38-17=21
Exploring Operation: 21-17=4, Resulting Numbers: [10, 38, 4]
Generated Node #0,2: 10:[10, 38, 4] Operation: 21-17=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[17, 10, 17], Operations: ['38-21=17']
Exploring Operation: 17-17=0, Resulting Numbers: [10, 0]
Generated Node #0,0,0: 10:[10, 0] Operation: 17-17=0
Exploring Operation: 17/17=1, Resulting Numbers: [10, 1]
Generated Node #0,0,1: 10:[10, 1] Operation: 17/17=1
Exploring Operation: 17-10=7, Resulting Numbers: [17, 7]
Generated Node #0,0,2: 10:[17, 7] Operation: 17-10=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[10, 1], Operations: ['38-21=17', '17/17=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[17, 10, 21, 38], Operations: []
Exploring Operation: 38-21=17, Resulting Numbers: [17, 10, 17]
Generated Node #0,0: 10:[17, 10, 17] Operation: 38-21=17
Moving to Node #0,0
Current State: 10:[17, 10, 17], Operations: ['38-21=17']
Exploring Operation: 17/17=1, Resulting Numbers: [10, 1]
Generated Node #0,0,1: 10:[10, 1] Operation: 17/17=1
Moving to Node #0,0,1
Current State: 10:[10, 1], Operations: ['38-21=17', '17/17=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
91,
2,
31,
33
] | 95 | [
"91+2=93",
"33-31=2",
"93+2=95"
] | Current State: 95:[91, 2, 31, 33], Operations: []
Exploring Operation: 91+2=93, Resulting Numbers: [31, 33, 93]
Generated Node #2: [31, 33, 93] from Operation: 91+2=93
Current State: 95:[31, 33, 93], Operations: ['91+2=93']
Exploring Operation: 33-31=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 33-31=2
Current State: 95:[93, 2], Operations: ['91+2=93', '33-31=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[91, 2, 31, 33], Operations: []
Exploring Operation: 91+2=93, Resulting Numbers: [31, 33, 93]
Generated Node #0,0: 95:[31, 33, 93] Operation: 91+2=93
Exploring Operation: 33-31=2, Resulting Numbers: [91, 2, 2]
Generated Node #0,1: 95:[91, 2, 2] Operation: 33-31=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[91, 2, 2], Operations: ['33-31=2']
Exploring Operation: 91+2=93, Resulting Numbers: [2, 93]
Generated Node #0,1,0: 95:[2, 93] Operation: 91+2=93
Exploring Operation: 91+2=93, Resulting Numbers: [2, 93]
Generated Node #0,1,1: 95:[2, 93] Operation: 91+2=93
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 95:[2, 93], Operations: ['33-31=2', '91+2=93']
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[91, 2, 31, 33], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [91, 2, 2]
Generated Node #0,1: 95:[91, 2, 2] Operation: 33-31=2
Moving to Node #0,1
Current State: 95:[91, 2, 2], Operations: ['33-31=2']
Exploring Operation: 91+2=93, Resulting Numbers: [2, 93]
Generated Node #0,1,0: 95:[2, 93] Operation: 91+2=93
Moving to Node #0,1,0
Current State: 95:[2, 93], Operations: ['33-31=2', '91+2=93']
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
5,
24,
96,
61
] | 17 | [
"96-61=35",
"35/5=7",
"24-7=17"
] | Current State: 17:[5, 24, 96, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [5, 24, 35]
Generated Node #2: [5, 24, 35] from Operation: 96-61=35
Current State: 17:[5, 24, 35], Operations: ['96-61=35']
Exploring Operation: 35/5=7, Resulting Numbers: [24, 7]
Generated Node #3: [24, 7] from Operation: 35/5=7
Current State: 17:[24, 7], Operations: ['96-61=35', '35/5=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 24, 96, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [5, 24, 35]
Generated Node #0,0: 17:[5, 24, 35] Operation: 96-61=35
Exploring Operation: 96-24=72, Resulting Numbers: [5, 61, 72]
Generated Node #0,1: 17:[5, 61, 72] Operation: 96-24=72
Exploring Operation: 96/24=4, Resulting Numbers: [5, 61, 4]
Generated Node #0,2: 17:[5, 61, 4] Operation: 96/24=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[5, 24, 35], Operations: ['96-61=35']
Exploring Operation: 35/5=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 17:[24, 7] Operation: 35/5=7
Exploring Operation: 24-5=19, Resulting Numbers: [35, 19]
Generated Node #0,0,1: 17:[35, 19] Operation: 24-5=19
Exploring Operation: 35-24=11, Resulting Numbers: [5, 11]
Generated Node #0,0,2: 17:[5, 11] Operation: 35-24=11
Moving to Node #0,0,0
Current State: 17:[24, 7], Operations: ['96-61=35', '35/5=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,17 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[5, 24, 96, 61], Operations: []
Exploring Operation: 96-61=35, Resulting Numbers: [5, 24, 35]
Generated Node #0,0: 17:[5, 24, 35] Operation: 96-61=35
Moving to Node #0,0
Current State: 17:[5, 24, 35], Operations: ['96-61=35']
Exploring Operation: 35/5=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 17:[24, 7] Operation: 35/5=7
Moving to Node #0,0,0
Current State: 17:[24, 7], Operations: ['96-61=35', '35/5=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
66,
14,
79,
60
] | 99 | [
"66+14=80",
"79-60=19",
"80+19=99"
] | Current State: 99:[66, 14, 79, 60], Operations: []
Exploring Operation: 66+14=80, Resulting Numbers: [79, 60, 80]
Generated Node #2: [79, 60, 80] from Operation: 66+14=80
Current State: 99:[79, 60, 80], Operations: ['66+14=80']
Exploring Operation: 79-60=19, Resulting Numbers: [80, 19]
Generated Node #3: [80, 19] from Operation: 79-60=19
Current State: 99:[80, 19], Operations: ['66+14=80', '79-60=19']
Exploring Operation: 80+19=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[66, 14, 79, 60], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [14, 79, 6]
Generated Node #0,0: 99:[14, 79, 6] Operation: 66-60=6
Exploring Operation: 79-66=13, Resulting Numbers: [14, 60, 13]
Generated Node #0,1: 99:[14, 60, 13] Operation: 79-66=13
Moving to Node #0,0
Current State: 99:[14, 79, 6], Operations: ['66-60=6']
Exploring Operation: 79+6=85, Resulting Numbers: [14, 85]
Generated Node #0,0,0: 99:[14, 85] Operation: 79+6=85
Exploring Operation: 14+79=93, Resulting Numbers: [6, 93]
Generated Node #0,0,1: 99:[6, 93] Operation: 14+79=93
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[6, 93], Operations: ['66-60=6', '14+79=93']
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[66, 14, 79, 60], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [14, 79, 6]
Generated Node #0,0: 99:[14, 79, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 99:[14, 79, 6], Operations: ['66-60=6']
Exploring Operation: 14+79=93, Resulting Numbers: [6, 93]
Generated Node #0,0,1: 99:[6, 93] Operation: 14+79=93
Moving to Node #0,0,1
Current State: 99:[6, 93], Operations: ['66-60=6', '14+79=93']
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
27,
2,
92,
43
] | 60 | [
"43-27=16",
"2*16=32",
"92-32=60"
] | Current State: 60:[27, 2, 92, 43], Operations: []
Exploring Operation: 43-27=16, Resulting Numbers: [2, 92, 16]
Generated Node #2: [2, 92, 16] from Operation: 43-27=16
Current State: 60:[2, 92, 16], Operations: ['43-27=16']
Exploring Operation: 2*16=32, Resulting Numbers: [92, 32]
Generated Node #3: [92, 32] from Operation: 2*16=32
Current State: 60:[92, 32], Operations: ['43-27=16', '2*16=32']
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[27, 2, 92, 43], Operations: []
Exploring Operation: 92-27=65, Resulting Numbers: [2, 43, 65]
Generated Node #0,0: 60:[2, 43, 65] Operation: 92-27=65
Exploring Operation: 92-43=49, Resulting Numbers: [27, 2, 49]
Generated Node #0,1: 60:[27, 2, 49] Operation: 92-43=49
Exploring Operation: 92/2=46, Resulting Numbers: [27, 43, 46]
Generated Node #0,2: 60:[27, 43, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[27, 2, 49], Operations: ['92-43=49']
Exploring Operation: 27+2=29, Resulting Numbers: [49, 29]
Generated Node #0,1,0: 60:[49, 29] Operation: 27+2=29
Exploring Operation: 49-27=22, Resulting Numbers: [2, 22]
Generated Node #0,1,1: 60:[2, 22] Operation: 49-27=22
Exploring Operation: 2+49=51, Resulting Numbers: [27, 51]
Generated Node #0,1,2: 60:[27, 51] Operation: 2+49=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[2, 22], Operations: ['92-43=49', '49-27=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[49, 29], Operations: ['92-43=49', '27+2=29']
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,60 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 60:[27, 51], Operations: ['92-43=49', '2+49=51']
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,60 unequal: No Solution
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[2, 43, 65], Operations: ['92-27=65']
Exploring Operation: 65-43=22, Resulting Numbers: [2, 22]
Generated Node #0,0,0: 60:[2, 22] Operation: 65-43=22
Exploring Operation: 43-2=41, Resulting Numbers: [65, 41]
Generated Node #0,0,1: 60:[65, 41] Operation: 43-2=41
Exploring Operation: 65-2=63, Resulting Numbers: [43, 63]
Generated Node #0,0,2: 60:[43, 63] Operation: 65-2=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[2, 22], Operations: ['92-27=65', '65-43=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 60:[65, 41], Operations: ['92-27=65', '43-2=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,60 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[43, 63], Operations: ['92-27=65', '65-2=63']
Exploring Operation: 63-43=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 43+63=106, Resulting Numbers: [106]
106,60 unequal: No Solution
Exploring Operation: 43*63=2709, Resulting Numbers: [2709]
2709,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[27, 43, 46], Operations: ['92/2=46']
Exploring Operation: 46-27=19, Resulting Numbers: [43, 19]
Generated Node #0,2,0: 60:[43, 19] Operation: 46-27=19
Exploring Operation: 43-27=16, Resulting Numbers: [46, 16]
Generated Node #0,2,1: 60:[46, 16] Operation: 43-27=16
Exploring Operation: 46-43=3, Resulting Numbers: [27, 3]
Generated Node #0,2,2: 60:[27, 3] Operation: 46-43=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[27, 3], Operations: ['92/2=46', '46-43=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 60:[43, 19], Operations: ['92/2=46', '46-27=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[46, 16], Operations: ['92/2=46', '43-27=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,60 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
5,
39,
9,
41
] | 23 | [
"41-39=2",
"9*2=18",
"5+18=23"
] | Current State: 23:[5, 39, 9, 41], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [5, 9, 2]
Generated Node #2: [5, 9, 2] from Operation: 41-39=2
Current State: 23:[5, 9, 2], Operations: ['41-39=2']
Exploring Operation: 9*2=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 9*2=18
Current State: 23:[5, 18], Operations: ['41-39=2', '9*2=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[5, 39, 9, 41], Operations: []
Exploring Operation: 41-9=32, Resulting Numbers: [5, 39, 32]
Generated Node #0,0: 23:[5, 39, 32] Operation: 41-9=32
Exploring Operation: 39-5=34, Resulting Numbers: [9, 41, 34]
Generated Node #0,1: 23:[9, 41, 34] Operation: 39-5=34
Exploring Operation: 5+9=14, Resulting Numbers: [39, 41, 14]
Generated Node #0,2: 23:[39, 41, 14] Operation: 5+9=14
Exploring Operation: 41-5=36, Resulting Numbers: [39, 9, 36]
Generated Node #0,3: 23:[39, 9, 36] Operation: 41-5=36
Exploring Operation: 39-9=30, Resulting Numbers: [5, 41, 30]
Generated Node #0,4: 23:[5, 41, 30] Operation: 39-9=30
Moving to Node #0,0
Current State: 23:[5, 39, 32], Operations: ['41-9=32']
Exploring Operation: 5+32=37, Resulting Numbers: [39, 37]
Generated Node #0,0,0: 23:[39, 37] Operation: 5+32=37
Exploring Operation: 32-5=27, Resulting Numbers: [39, 27]
Generated Node #0,0,1: 23:[39, 27] Operation: 32-5=27
Exploring Operation: 5+39=44, Resulting Numbers: [32, 44]
Generated Node #0,0,2: 23:[32, 44] Operation: 5+39=44
Exploring Operation: 39-32=7, Resulting Numbers: [5, 7]
Generated Node #0,0,3: 23:[5, 7] Operation: 39-32=7
Exploring Operation: 39-5=34, Resulting Numbers: [32, 34]
Generated Node #0,0,4: 23:[32, 34] Operation: 39-5=34
Moving to Node #0,2
Current State: 23:[39, 41, 14], Operations: ['5+9=14']
Exploring Operation: 41-39=2, Resulting Numbers: [14, 2]
Generated Node #0,2,0: 23:[14, 2] Operation: 41-39=2
Exploring Operation: 39-14=25, Resulting Numbers: [41, 25]
Generated Node #0,2,1: 23:[41, 25] Operation: 39-14=25
Exploring Operation: 41+14=55, Resulting Numbers: [39, 55]
Generated Node #0,2,2: 23:[39, 55] Operation: 41+14=55
Exploring Operation: 41-14=27, Resulting Numbers: [39, 27]
Generated Node #0,2,3: 23:[39, 27] Operation: 41-14=27
Exploring Operation: 39+14=53, Resulting Numbers: [41, 53]
Generated Node #0,2,4: 23:[41, 53] Operation: 39+14=53
Moving to Node #0,4
Current State: 23:[5, 41, 30], Operations: ['39-9=30']
Exploring Operation: 41-30=11, Resulting Numbers: [5, 11]
Generated Node #0,4,0: 23:[5, 11] Operation: 41-30=11
Exploring Operation: 5+41=46, Resulting Numbers: [30, 46]
Generated Node #0,4,1: 23:[30, 46] Operation: 5+41=46
Exploring Operation: 5+30=35, Resulting Numbers: [41, 35]
Generated Node #0,4,2: 23:[41, 35] Operation: 5+30=35
Exploring Operation: 30-5=25, Resulting Numbers: [41, 25]
Generated Node #0,4,3: 23:[41, 25] Operation: 30-5=25
Exploring Operation: 41-5=36, Resulting Numbers: [30, 36]
Generated Node #0,4,4: 23:[30, 36] Operation: 41-5=36
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 23:[41, 25], Operations: ['39-9=30', '30-5=25']
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,23 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 23:[30, 36], Operations: ['39-9=30', '41-5=36']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 23:[5, 11], Operations: ['39-9=30', '41-30=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,23 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 23:[30, 46], Operations: ['39-9=30', '5+41=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,23 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 23:[41, 35], Operations: ['39-9=30', '5+30=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,23 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,23 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: 23:[9, 41, 34], Operations: ['39-5=34']
Exploring Operation: 34-9=25, Resulting Numbers: [41, 25]
Generated Node #0,1,0: 23:[41, 25] Operation: 34-9=25
Exploring Operation: 9+41=50, Resulting Numbers: [34, 50]
Generated Node #0,1,1: 23:[34, 50] Operation: 9+41=50
Exploring Operation: 9+34=43, Resulting Numbers: [41, 43]
Generated Node #0,1,2: 23:[41, 43] Operation: 9+34=43
Exploring Operation: 41-9=32, Resulting Numbers: [34, 32]
Generated Node #0,1,3: 23:[34, 32] Operation: 41-9=32
Exploring Operation: 41-34=7, Resulting Numbers: [9, 7]
Generated Node #0,1,4: 23:[9, 7] Operation: 41-34=7
Moving to Node #0,3
Current State: 23:[39, 9, 36], Operations: ['41-5=36']
Exploring Operation: 39-9=30, Resulting Numbers: [36, 30]
Generated Node #0,3,0: 23:[36, 30] Operation: 39-9=30
Exploring Operation: 39-36=3, Resulting Numbers: [9, 3]
Generated Node #0,3,1: 23:[9, 3] Operation: 39-36=3
Exploring Operation: 36/9=4, Resulting Numbers: [39, 4]
Generated Node #0,3,2: 23:[39, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [39, 27]
Generated Node #0,3,3: 23:[39, 27] Operation: 36-9=27
Exploring Operation: 39+9=48, Resulting Numbers: [36, 48]
Generated Node #0,3,4: 23:[36, 48] Operation: 39+9=48
Moving to Node #0,0,1
Current State: 23:[39, 27], Operations: ['41-9=32', '32-5=27']
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,23 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[41, 25], Operations: ['5+9=14', '39-14=25']
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[39, 27], Operations: ['5+9=14', '41-14=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,23 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[34, 32], Operations: ['39-5=34', '41-9=32']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,23 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[32, 34], Operations: ['41-9=32', '39-5=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[41, 25], Operations: ['39-5=34', '34-9=25']
Exploring Operation: 41+25=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 41*25=1025, Resulting Numbers: [1025]
1025,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[36, 30], Operations: ['41-5=36', '39-9=30']
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,23 unequal: No Solution
Moving to Node #0,3,3
Current State: 23:[39, 27], Operations: ['41-5=36', '36-9=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,23 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,23 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[9, 7], Operations: ['39-5=34', '41-34=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[39, 37], Operations: ['41-9=32', '5+32=37']
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[32, 44], Operations: ['41-9=32', '5+39=44']
Exploring Operation: 32*44=1408, Resulting Numbers: [1408]
1408,23 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,23 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,2,0
Current State: 23:[14, 2], Operations: ['5+9=14', '41-39=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[5, 7], Operations: ['41-9=32', '39-32=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[9, 3], Operations: ['41-5=36', '39-36=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[39, 4], Operations: ['41-5=36', '36/9=4']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,23 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[41, 43], Operations: ['39-5=34', '9+34=43']
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,23 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Moving to Node #0,3,4
Current State: 23:[36, 48], Operations: ['41-5=36', '39+9=48']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,23 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[34, 50], Operations: ['39-5=34', '9+41=50']
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,23 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,23 unequal: No Solution
Moving to Node #0,2,4
Current State: 23:[41, 53], Operations: ['5+9=14', '39+14=53']
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,23 unequal: No Solution
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[39, 55], Operations: ['5+9=14', '41+14=55']
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,23 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,23 unequal: No Solution
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,23 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
9,
70,
55,
55
] | 61 | [
"70-9=61",
"55-55=0",
"61+0=61"
] | Current State: 61:[9, 70, 55, 55], Operations: []
Exploring Operation: 70-9=61, Resulting Numbers: [55, 55, 61]
Generated Node #2: [55, 55, 61] from Operation: 70-9=61
Current State: 61:[55, 55, 61], Operations: ['70-9=61']
Exploring Operation: 55-55=0, Resulting Numbers: [61, 0]
Generated Node #3: [61, 0] from Operation: 55-55=0
Current State: 61:[61, 0], Operations: ['70-9=61', '55-55=0']
Exploring Operation: 61+0=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[9, 70, 55, 55], Operations: []
Exploring Operation: 9+55=64, Resulting Numbers: [70, 55, 64]
Generated Node #0,0: 61:[70, 55, 64] Operation: 9+55=64
Exploring Operation: 70-9=61, Resulting Numbers: [55, 55, 61]
Generated Node #0,1: 61:[55, 55, 61] Operation: 70-9=61
Exploring Operation: 9+55=64, Resulting Numbers: [70, 55, 64]
Generated Node #0,2: 61:[70, 55, 64] Operation: 9+55=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[55, 55, 61], Operations: ['70-9=61']
Exploring Operation: 55/55=1, Resulting Numbers: [61, 1]
Generated Node #0,1,0: 61:[61, 1] Operation: 55/55=1
Exploring Operation: 55-55=0, Resulting Numbers: [61, 0]
Generated Node #0,1,1: 61:[61, 0] Operation: 55-55=0
Exploring Operation: 55+55=110, Resulting Numbers: [61, 110]
Generated Node #0,1,2: 61:[61, 110] Operation: 55+55=110
Moving to Node #0,1,2
Current State: 61:[61, 110], Operations: ['70-9=61', '55+55=110']
Exploring Operation: 110-61=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 61*110=6710, Resulting Numbers: [6710]
6710,61 unequal: No Solution
Exploring Operation: 61+110=171, Resulting Numbers: [171]
171,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[61, 1], Operations: ['70-9=61', '55/55=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[9, 70, 55, 55], Operations: []
Exploring Operation: 70-9=61, Resulting Numbers: [55, 55, 61]
Generated Node #0,1: 61:[55, 55, 61] Operation: 70-9=61
Moving to Node #0,1
Current State: 61:[55, 55, 61], Operations: ['70-9=61']
Exploring Operation: 55/55=1, Resulting Numbers: [61, 1]
Generated Node #0,1,0: 61:[61, 1] Operation: 55/55=1
Moving to Node #0,1,0
Current State: 61:[61, 1], Operations: ['70-9=61', '55/55=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
19,
78,
28,
23
] | 92 | [
"19+78=97",
"28-23=5",
"97-5=92"
] | Current State: 92:[19, 78, 28, 23], Operations: []
Exploring Operation: 19+78=97, Resulting Numbers: [28, 23, 97]
Generated Node #2: [28, 23, 97] from Operation: 19+78=97
Current State: 92:[28, 23, 97], Operations: ['19+78=97']
Exploring Operation: 28-23=5, Resulting Numbers: [97, 5]
Generated Node #3: [97, 5] from Operation: 28-23=5
Current State: 92:[97, 5], Operations: ['19+78=97', '28-23=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[19, 78, 28, 23], Operations: []
Exploring Operation: 78-28=50, Resulting Numbers: [19, 23, 50]
Generated Node #0,0: 92:[19, 23, 50] Operation: 78-28=50
Exploring Operation: 19+28=47, Resulting Numbers: [78, 23, 47]
Generated Node #0,1: 92:[78, 23, 47] Operation: 19+28=47
Exploring Operation: 19+78=97, Resulting Numbers: [28, 23, 97]
Generated Node #0,2: 92:[28, 23, 97] Operation: 19+78=97
Moving to Node #0,0
Current State: 92:[19, 23, 50], Operations: ['78-28=50']
Exploring Operation: 50-19=31, Resulting Numbers: [23, 31]
Generated Node #0,0,0: 92:[23, 31] Operation: 50-19=31
Exploring Operation: 19+23=42, Resulting Numbers: [50, 42]
Generated Node #0,0,1: 92:[50, 42] Operation: 19+23=42
Exploring Operation: 23-19=4, Resulting Numbers: [50, 4]
Generated Node #0,0,2: 92:[50, 4] Operation: 23-19=4
Moving to Node #0,2
Current State: 92:[28, 23, 97], Operations: ['19+78=97']
Exploring Operation: 28+23=51, Resulting Numbers: [97, 51]
Generated Node #0,2,0: 92:[97, 51] Operation: 28+23=51
Exploring Operation: 28-23=5, Resulting Numbers: [97, 5]
Generated Node #0,2,1: 92:[97, 5] Operation: 28-23=5
Exploring Operation: 97-28=69, Resulting Numbers: [23, 69]
Generated Node #0,2,2: 92:[23, 69] Operation: 97-28=69
Moving to Node #0,1
Current State: 92:[78, 23, 47], Operations: ['19+28=47']
Exploring Operation: 78+23=101, Resulting Numbers: [47, 101]
Generated Node #0,1,0: 92:[47, 101] Operation: 78+23=101
Exploring Operation: 78-47=31, Resulting Numbers: [23, 31]
Generated Node #0,1,1: 92:[23, 31] Operation: 78-47=31
Exploring Operation: 78-23=55, Resulting Numbers: [47, 55]
Generated Node #0,1,2: 92:[47, 55] Operation: 78-23=55
Moving to Node #0,0,2
Current State: 92:[50, 4], Operations: ['78-28=50', '23-19=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,92 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,92 unequal: No Solution
Moving to Node #0,2,1
Current State: 92:[97, 5], Operations: ['19+78=97', '28-23=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[19, 78, 28, 23], Operations: []
Exploring Operation: 19+78=97, Resulting Numbers: [28, 23, 97]
Generated Node #0,2: 92:[28, 23, 97] Operation: 19+78=97
Moving to Node #0,2
Current State: 92:[28, 23, 97], Operations: ['19+78=97']
Exploring Operation: 28-23=5, Resulting Numbers: [97, 5]
Generated Node #0,2,1: 92:[97, 5] Operation: 28-23=5
Moving to Node #0,2,1
Current State: 92:[97, 5], Operations: ['19+78=97', '28-23=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 0.982639 | hs_3 | sum_heuristic |
[
45,
84,
5,
40
] | 67 | [
"45+40=85",
"85/5=17",
"84-17=67"
] | Current State: 67:[45, 84, 5, 40], Operations: []
Exploring Operation: 45+40=85, Resulting Numbers: [84, 5, 85]
Generated Node #2: [84, 5, 85] from Operation: 45+40=85
Current State: 67:[84, 5, 85], Operations: ['45+40=85']
Exploring Operation: 85/5=17, Resulting Numbers: [84, 17]
Generated Node #3: [84, 17] from Operation: 85/5=17
Current State: 67:[84, 17], Operations: ['45+40=85', '85/5=17']
Exploring Operation: 84-17=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[45, 84, 5, 40], Operations: []
Exploring Operation: 84-5=79, Resulting Numbers: [45, 40, 79]
Generated Node #0,0: 67:[45, 40, 79] Operation: 84-5=79
Exploring Operation: 45-5=40, Resulting Numbers: [84, 40, 40]
Generated Node #0,1: 67:[84, 40, 40] Operation: 45-5=40
Exploring Operation: 45+5=50, Resulting Numbers: [84, 40, 50]
Generated Node #0,2: 67:[84, 40, 50] Operation: 45+5=50
Exploring Operation: 84+5=89, Resulting Numbers: [45, 40, 89]
Generated Node #0,3: 67:[45, 40, 89] Operation: 84+5=89
Exploring Operation: 5+40=45, Resulting Numbers: [45, 84, 45]
Generated Node #0,4: 67:[45, 84, 45] Operation: 5+40=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[45, 40, 79], Operations: ['84-5=79']
Exploring Operation: 40+79=119, Resulting Numbers: [45, 119]
Generated Node #0,0,0: 67:[45, 119] Operation: 40+79=119
Exploring Operation: 79-40=39, Resulting Numbers: [45, 39]
Generated Node #0,0,1: 67:[45, 39] Operation: 79-40=39
Exploring Operation: 79-45=34, Resulting Numbers: [40, 34]
Generated Node #0,0,2: 67:[40, 34] Operation: 79-45=34
Exploring Operation: 45+40=85, Resulting Numbers: [79, 85]
Generated Node #0,0,3: 67:[79, 85] Operation: 45+40=85
Exploring Operation: 45-40=5, Resulting Numbers: [79, 5]
Generated Node #0,0,4: 67:[79, 5] Operation: 45-40=5
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[79, 85], Operations: ['84-5=79', '45+40=85']
Exploring Operation: 79+85=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 79*85=6715, Resulting Numbers: [6715]
6715,67 unequal: No Solution
Exploring Operation: 85-79=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No 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: 67:[45, 39], Operations: ['84-5=79', '79-40=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,67 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No 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: 67:[40, 34], Operations: ['84-5=79', '79-45=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,67 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,67 unequal: No Solution
No 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: 67:[45, 119], Operations: ['84-5=79', '40+79=119']
Exploring Operation: 45+119=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 45*119=5355, Resulting Numbers: [5355]
5355,67 unequal: No Solution
Exploring Operation: 119-45=74, Resulting Numbers: [74]
74,67 unequal: No Solution
No 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: 67:[79, 5], Operations: ['84-5=79', '45-40=5']
Exploring Operation: 79*5=395, Resulting Numbers: [395]
395,67 unequal: No Solution
Exploring Operation: 79+5=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,67 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: 67:[84, 40, 50], Operations: ['45+5=50']
Exploring Operation: 40+50=90, Resulting Numbers: [84, 90]
Generated Node #0,2,0: 67:[84, 90] Operation: 40+50=90
Exploring Operation: 50-40=10, Resulting Numbers: [84, 10]
Generated Node #0,2,1: 67:[84, 10] Operation: 50-40=10
Exploring Operation: 84-40=44, Resulting Numbers: [50, 44]
Generated Node #0,2,2: 67:[50, 44] Operation: 84-40=44
Exploring Operation: 84+40=124, Resulting Numbers: [50, 124]
Generated Node #0,2,3: 67:[50, 124] Operation: 84+40=124
Exploring Operation: 84-50=34, Resulting Numbers: [40, 34]
Generated Node #0,2,4: 67:[40, 34] Operation: 84-50=34
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[84, 90], Operations: ['45+5=50', '40+50=90']
Exploring Operation: 84*90=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
Exploring Operation: 84+90=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No 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: 67:[50, 44], Operations: ['45+5=50', '84-40=44']
Exploring Operation: 50*44=2200, Resulting Numbers: [2200]
2200,67 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,67 unequal: No Solution
No 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: 67:[40, 34], Operations: ['45+5=50', '84-50=34']
Exploring Operation: 40*34=1360, Resulting Numbers: [1360]
1360,67 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,67 unequal: No Solution
No 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: 67:[84, 10], Operations: ['45+5=50', '50-40=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,67 unequal: No Solution
No 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: 67:[50, 124], Operations: ['45+5=50', '84+40=124']
Exploring Operation: 124-50=74, Resulting Numbers: [74]
74,67 unequal: No Solution
Exploring Operation: 50*124=6200, Resulting Numbers: [6200]
6200,67 unequal: No Solution
Exploring Operation: 50+124=174, Resulting Numbers: [174]
174,67 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: 67:[45, 84, 45], Operations: ['5+40=45']
Exploring Operation: 45/45=1, Resulting Numbers: [84, 1]
Generated Node #0,4,0: 67:[84, 1] Operation: 45/45=1
Exploring Operation: 45+45=90, Resulting Numbers: [84, 90]
Generated Node #0,4,1: 67:[84, 90] Operation: 45+45=90
Exploring Operation: 84-45=39, Resulting Numbers: [45, 39]
Generated Node #0,4,2: 67:[45, 39] Operation: 84-45=39
Exploring Operation: 84-45=39, Resulting Numbers: [45, 39]
Generated Node #0,4,3: 67:[45, 39] Operation: 84-45=39
Exploring Operation: 45+84=129, Resulting Numbers: [45, 129]
Generated Node #0,4,4: 67:[45, 129] Operation: 45+84=129
Moving to Node #0,4,1
Current State: 67:[84, 90], Operations: ['5+40=45', '45+45=90']
Exploring Operation: 84+90=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 90-84=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 84*90=7560, Resulting Numbers: [7560]
7560,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[45, 39], Operations: ['5+40=45', '84-45=39']
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,67 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[45, 39], Operations: ['5+40=45', '84-45=39']
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,67 unequal: No Solution
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[84, 1], Operations: ['5+40=45', '45/45=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[45, 129], Operations: ['5+40=45', '45+84=129']
Exploring Operation: 45+129=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 129-45=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 45*129=5805, Resulting Numbers: [5805]
5805,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[84, 40, 40], Operations: ['45-5=40']
Exploring Operation: 40/40=1, Resulting Numbers: [84, 1]
Generated Node #0,1,0: 67:[84, 1] Operation: 40/40=1
Exploring Operation: 84-40=44, Resulting Numbers: [40, 44]
Generated Node #0,1,1: 67:[40, 44] Operation: 84-40=44
Exploring Operation: 84+40=124, Resulting Numbers: [40, 124]
Generated Node #0,1,2: 67:[40, 124] Operation: 84+40=124
Exploring Operation: 40+40=80, Resulting Numbers: [84, 80]
Generated Node #0,1,3: 67:[84, 80] Operation: 40+40=80
Exploring Operation: 84-40=44, Resulting Numbers: [40, 44]
Generated Node #0,1,4: 67:[40, 44] Operation: 84-40=44
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[84, 80], Operations: ['45-5=40', '40+40=80']
Exploring Operation: 84*80=6720, Resulting Numbers: [6720]
6720,67 unequal: No Solution
Exploring Operation: 84-80=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 84+80=164, Resulting Numbers: [164]
164,67 unequal: No Solution
No 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: 67:[40, 44], Operations: ['45-5=40', '84-40=44']
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,67 unequal: No Solution
No 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: 67:[40, 44], Operations: ['45-5=40', '84-40=44']
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,67 unequal: No Solution
No 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: 67:[84, 1], Operations: ['45-5=40', '40/40=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,67 unequal: No Solution
Exploring Operation: 84+1=85, Resulting Numbers: [85]
85,67 unequal: No Solution
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,67 unequal: No Solution
No 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: 67:[40, 124], Operations: ['45-5=40', '84+40=124']
Exploring Operation: 40*124=4960, Resulting Numbers: [4960]
4960,67 unequal: No Solution
Exploring Operation: 40+124=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 124-40=84, Resulting Numbers: [84]
84,67 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: 67:[45, 40, 89], Operations: ['84+5=89']
Exploring Operation: 45-40=5, Resulting Numbers: [89, 5]
Generated Node #0,3,0: 67:[89, 5] Operation: 45-40=5
Exploring Operation: 40+89=129, Resulting Numbers: [45, 129]
Generated Node #0,3,1: 67:[45, 129] Operation: 40+89=129
Exploring Operation: 89-40=49, Resulting Numbers: [45, 49]
Generated Node #0,3,2: 67:[45, 49] Operation: 89-40=49
Exploring Operation: 45+40=85, Resulting Numbers: [89, 85]
Generated Node #0,3,3: 67:[89, 85] Operation: 45+40=85
Exploring Operation: 89-45=44, Resulting Numbers: [40, 44]
Generated Node #0,3,4: 67:[40, 44] Operation: 89-45=44
Moving to Node #0,3,2
Current State: 67:[45, 49], Operations: ['84+5=89', '89-40=49']
Exploring Operation: 45*49=2205, Resulting Numbers: [2205]
2205,67 unequal: No Solution
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[89, 85], Operations: ['84+5=89', '45+40=85']
Exploring Operation: 89-85=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Exploring Operation: 89+85=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 89*85=7565, Resulting Numbers: [7565]
7565,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[40, 44], Operations: ['84+5=89', '89-45=44']
Exploring Operation: 40*44=1760, Resulting Numbers: [1760]
1760,67 unequal: No Solution
Exploring Operation: 40+44=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[89, 5], Operations: ['84+5=89', '45-40=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,67 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,67 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[45, 129], Operations: ['84+5=89', '40+89=129']
Exploring Operation: 129-45=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 45+129=174, Resulting Numbers: [174]
174,67 unequal: No Solution
Exploring Operation: 45*129=5805, Resulting Numbers: [5805]
5805,67 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 |
[
96,
86,
18,
2
] | 62 | [
"86-18=68",
"68/2=34",
"96-34=62"
] | Current State: 62:[96, 86, 18, 2], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [96, 2, 68]
Generated Node #2: [96, 2, 68] from Operation: 86-18=68
Current State: 62:[96, 2, 68], Operations: ['86-18=68']
Exploring Operation: 68/2=34, Resulting Numbers: [96, 34]
Generated Node #3: [96, 34] from Operation: 68/2=34
Current State: 62:[96, 34], Operations: ['86-18=68', '68/2=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[96, 86, 18, 2], Operations: []
Exploring Operation: 96/2=48, Resulting Numbers: [86, 18, 48]
Generated Node #0,0: 62:[86, 18, 48] Operation: 96/2=48
Exploring Operation: 96-86=10, Resulting Numbers: [18, 2, 10]
Generated Node #0,1: 62:[18, 2, 10] Operation: 96-86=10
Exploring Operation: 96-18=78, Resulting Numbers: [86, 2, 78]
Generated Node #0,2: 62:[86, 2, 78] Operation: 96-18=78
Exploring Operation: 86-18=68, Resulting Numbers: [96, 2, 68]
Generated Node #0,3: 62:[96, 2, 68] Operation: 86-18=68
Moving to Node #0,1
Current State: 62:[18, 2, 10], Operations: ['96-86=10']
Exploring Operation: 18+10=28, Resulting Numbers: [2, 28]
Generated Node #0,1,0: 62:[2, 28] Operation: 18+10=28
Exploring Operation: 18-10=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 62:[2, 8] Operation: 18-10=8
Exploring Operation: 18*2=36, Resulting Numbers: [10, 36]
Generated Node #0,1,2: 62:[10, 36] Operation: 18*2=36
Exploring Operation: 18/2=9, Resulting Numbers: [10, 9]
Generated Node #0,1,3: 62:[10, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[2, 28], Operations: ['96-86=10', '18+10=28']
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,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,1
Current State: 62:[2, 8], Operations: ['96-86=10', '18-10=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,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,2
Current State: 62:[10, 36], Operations: ['96-86=10', '18*2=36']
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,62 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,62 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,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,3
Current State: 62:[10, 9], Operations: ['96-86=10', '18/2=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,62 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: 62:[96, 2, 68], Operations: ['86-18=68']
Exploring Operation: 96-2=94, Resulting Numbers: [68, 94]
Generated Node #0,3,0: 62:[68, 94] Operation: 96-2=94
Exploring Operation: 96-68=28, Resulting Numbers: [2, 28]
Generated Node #0,3,1: 62:[2, 28] Operation: 96-68=28
Exploring Operation: 96/2=48, Resulting Numbers: [68, 48]
Generated Node #0,3,2: 62:[68, 48] Operation: 96/2=48
Exploring Operation: 68/2=34, Resulting Numbers: [96, 34]
Generated Node #0,3,3: 62:[96, 34] Operation: 68/2=34
Moving to Node #0,2
Current State: 62:[86, 2, 78], Operations: ['96-18=78']
Exploring Operation: 78/2=39, Resulting Numbers: [86, 39]
Generated Node #0,2,0: 62:[86, 39] Operation: 78/2=39
Exploring Operation: 86-2=84, Resulting Numbers: [78, 84]
Generated Node #0,2,1: 62:[78, 84] Operation: 86-2=84
Exploring Operation: 86-78=8, Resulting Numbers: [2, 8]
Generated Node #0,2,2: 62:[2, 8] Operation: 86-78=8
Exploring Operation: 86/2=43, Resulting Numbers: [78, 43]
Generated Node #0,2,3: 62:[78, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[2, 8], Operations: ['96-18=78', '86-78=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,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:[78, 43], Operations: ['96-18=78', '86/2=43']
Exploring Operation: 78*43=3354, Resulting Numbers: [3354]
3354,62 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 78+43=121, Resulting Numbers: [121]
121,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,0
Current State: 62:[86, 39], Operations: ['96-18=78', '78/2=39']
Exploring Operation: 86*39=3354, Resulting Numbers: [3354]
3354,62 unequal: No Solution
Exploring Operation: 86-39=47, Resulting Numbers: [47]
47,62 unequal: No Solution
Exploring Operation: 86+39=125, Resulting Numbers: [125]
125,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:[78, 84], Operations: ['96-18=78', '86-2=84']
Exploring Operation: 78+84=162, Resulting Numbers: [162]
162,62 unequal: No Solution
Exploring Operation: 78*84=6552, Resulting Numbers: [6552]
6552,62 unequal: No Solution
Exploring Operation: 84-78=6, Resulting Numbers: [6]
6,62 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: 62:[86, 18, 48], Operations: ['96/2=48']
Exploring Operation: 86-18=68, Resulting Numbers: [48, 68]
Generated Node #0,0,0: 62:[48, 68] Operation: 86-18=68
Exploring Operation: 86-48=38, Resulting Numbers: [18, 38]
Generated Node #0,0,1: 62:[18, 38] Operation: 86-48=38
Exploring Operation: 18+48=66, Resulting Numbers: [86, 66]
Generated Node #0,0,2: 62:[86, 66] Operation: 18+48=66
Exploring Operation: 48-18=30, Resulting Numbers: [86, 30]
Generated Node #0,0,3: 62:[86, 30] Operation: 48-18=30
Moving to Node #0,3,1
Current State: 62:[2, 28], Operations: ['86-18=68', '96-68=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[18, 38], Operations: ['96/2=48', '86-48=38']
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,62 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[68, 48], Operations: ['86-18=68', '96/2=48']
Exploring Operation: 68+48=116, Resulting Numbers: [116]
116,62 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 68*48=3264, Resulting Numbers: [3264]
3264,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[48, 68], Operations: ['96/2=48', '86-18=68']
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,62 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[86, 30], Operations: ['96/2=48', '48-18=30']
Exploring Operation: 86+30=116, Resulting Numbers: [116]
116,62 unequal: No Solution
Exploring Operation: 86*30=2580, Resulting Numbers: [2580]
2580,62 unequal: No Solution
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[86, 66], Operations: ['96/2=48', '18+48=66']
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,62 unequal: No Solution
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,62 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[96, 34], Operations: ['86-18=68', '68/2=34']
Exploring Operation: 96+34=130, Resulting Numbers: [130]
130,62 unequal: No Solution
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[96, 86, 18, 2], Operations: []
Exploring Operation: 86-18=68, Resulting Numbers: [96, 2, 68]
Generated Node #0,3: 62:[96, 2, 68] Operation: 86-18=68
Moving to Node #0,3
Current State: 62:[96, 2, 68], Operations: ['86-18=68']
Exploring Operation: 68/2=34, Resulting Numbers: [96, 34]
Generated Node #0,3,3: 62:[96, 34] Operation: 68/2=34
Moving to Node #0,3,3
Current State: 62:[96, 34], Operations: ['86-18=68', '68/2=34']
Exploring Operation: 96-34=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.9375 | hs_4 | mult_heuristic |
[
2,
38,
10,
63
] | 93 | [
"2+38=40",
"63-10=53",
"40+53=93"
] | Current State: 93:[2, 38, 10, 63], Operations: []
Exploring Operation: 2+38=40, Resulting Numbers: [10, 63, 40]
Generated Node #2: [10, 63, 40] from Operation: 2+38=40
Current State: 93:[10, 63, 40], Operations: ['2+38=40']
Exploring Operation: 63-10=53, Resulting Numbers: [40, 53]
Generated Node #3: [40, 53] from Operation: 63-10=53
Current State: 93:[40, 53], Operations: ['2+38=40', '63-10=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[2, 38, 10, 63], Operations: []
Exploring Operation: 10+63=73, Resulting Numbers: [2, 38, 73]
Generated Node #0,0: 93:[2, 38, 73] Operation: 10+63=73
Exploring Operation: 38-10=28, Resulting Numbers: [2, 63, 28]
Generated Node #0,1: 93:[2, 63, 28] Operation: 38-10=28
Exploring Operation: 63-38=25, Resulting Numbers: [2, 10, 25]
Generated Node #0,2: 93:[2, 10, 25] Operation: 63-38=25
Exploring Operation: 38+63=101, Resulting Numbers: [2, 10, 101]
Generated Node #0,3: 93:[2, 10, 101] Operation: 38+63=101
Exploring Operation: 63-10=53, Resulting Numbers: [2, 38, 53]
Generated Node #0,4: 93:[2, 38, 53] Operation: 63-10=53
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[2, 10, 25], Operations: ['63-38=25']
Exploring Operation: 10/2=5, Resulting Numbers: [25, 5]
Generated Node #0,2,0: 93:[25, 5] Operation: 10/2=5
Exploring Operation: 10-2=8, Resulting Numbers: [25, 8]
Generated Node #0,2,1: 93:[25, 8] Operation: 10-2=8
Exploring Operation: 2+25=27, Resulting Numbers: [10, 27]
Generated Node #0,2,2: 93:[10, 27] Operation: 2+25=27
Exploring Operation: 10+25=35, Resulting Numbers: [2, 35]
Generated Node #0,2,3: 93:[2, 35] Operation: 10+25=35
Exploring Operation: 25-10=15, Resulting Numbers: [2, 15]
Generated Node #0,2,4: 93:[2, 15] Operation: 25-10=15
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 93:[2, 35], Operations: ['63-38=25', '10+25=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,93 unequal: No Solution
No 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: 93:[25, 5], Operations: ['63-38=25', '10/2=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,93 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,93 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No 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: 93:[25, 8], Operations: ['63-38=25', '10-2=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,93 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,93 unequal: No Solution
No 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: 93:[10, 27], Operations: ['63-38=25', '2+25=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,93 unequal: No Solution
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,93 unequal: No Solution
No 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: 93:[2, 15], Operations: ['63-38=25', '25-10=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,93 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,93 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: 93:[2, 10, 101], Operations: ['38+63=101']
Exploring Operation: 10-2=8, Resulting Numbers: [101, 8]
Generated Node #0,3,0: 93:[101, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [101, 12]
Generated Node #0,3,1: 93:[101, 12] Operation: 2+10=12
Exploring Operation: 101-10=91, Resulting Numbers: [2, 91]
Generated Node #0,3,2: 93:[2, 91] Operation: 101-10=91
Exploring Operation: 10/2=5, Resulting Numbers: [101, 5]
Generated Node #0,3,3: 93:[101, 5] Operation: 10/2=5
Exploring Operation: 101-2=99, Resulting Numbers: [10, 99]
Generated Node #0,3,4: 93:[10, 99] Operation: 101-2=99
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[2, 91], Operations: ['38+63=101', '101-10=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,93 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,93 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[2, 38, 10, 63], Operations: []
Exploring Operation: 38+63=101, Resulting Numbers: [2, 10, 101]
Generated Node #0,3: 93:[2, 10, 101] Operation: 38+63=101
Moving to Node #0,3
Current State: 93:[2, 10, 101], Operations: ['38+63=101']
Exploring Operation: 101-10=91, Resulting Numbers: [2, 91]
Generated Node #0,3,2: 93:[2, 91] Operation: 101-10=91
Moving to Node #0,3,2
Current State: 93:[2, 91], Operations: ['38+63=101', '101-10=91']
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
82,
69,
15,
69
] | 67 | [
"82+69=151",
"15+69=84",
"151-84=67"
] | Current State: 67:[82, 69, 15, 69], Operations: []
Exploring Operation: 82+69=151, Resulting Numbers: [15, 151]
Generated Node #2: [15, 151] from Operation: 82+69=151
Current State: 67:[15, 151], Operations: ['82+69=151']
Exploring Operation: 15+69=84, Resulting Numbers: [151, 84]
Generated Node #3: [151, 84] from Operation: 15+69=84
Current State: 67:[151, 84], Operations: ['82+69=151', '15+69=84']
Exploring Operation: 151-84=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[82, 69, 15, 69], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [69, 69, 67]
Generated Node #0,0: 67:[69, 69, 67] Operation: 82-15=67
Exploring Operation: 69-15=54, Resulting Numbers: [82, 69, 54]
Generated Node #0,1: 67:[82, 69, 54] Operation: 69-15=54
Exploring Operation: 69-15=54, Resulting Numbers: [82, 69, 54]
Generated Node #0,2: 67:[82, 69, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[69, 69, 67], Operations: ['82-15=67']
Exploring Operation: 69-67=2, Resulting Numbers: [69, 2]
Generated Node #0,0,0: 67:[69, 2] Operation: 69-67=2
Exploring Operation: 69/69=1, Resulting Numbers: [67, 1]
Generated Node #0,0,1: 67:[67, 1] Operation: 69/69=1
Exploring Operation: 69-69=0, Resulting Numbers: [67, 0]
Generated Node #0,0,2: 67:[67, 0] Operation: 69-69=0
Moving to Node #0,0,1
Current State: 67:[67, 1], Operations: ['82-15=67', '69/69=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[82, 69, 15, 69], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [69, 69, 67]
Generated Node #0,0: 67:[69, 69, 67] Operation: 82-15=67
Moving to Node #0,0
Current State: 67:[69, 69, 67], Operations: ['82-15=67']
Exploring Operation: 69/69=1, Resulting Numbers: [67, 1]
Generated Node #0,0,1: 67:[67, 1] Operation: 69/69=1
Moving to Node #0,0,1
Current State: 67:[67, 1], Operations: ['82-15=67', '69/69=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
84,
70,
41,
15
] | 23 | [
"84*15=1260",
"1260/70=18",
"41-18=23"
] | Current State: 23:[84, 70, 41, 15], Operations: []
Exploring Operation: 84*15=1260, Resulting Numbers: [70, 41, 1260]
Generated Node #2: [70, 41, 1260] from Operation: 84*15=1260
Current State: 23:[70, 41, 1260], Operations: ['84*15=1260']
Exploring Operation: 1260/70=18, Resulting Numbers: [41, 18]
Generated Node #3: [41, 18] from Operation: 1260/70=18
Current State: 23:[41, 18], Operations: ['84*15=1260', '1260/70=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[84, 70, 41, 15], Operations: []
Exploring Operation: 70-15=55, Resulting Numbers: [84, 41, 55]
Generated Node #0,0: 23:[84, 41, 55] Operation: 70-15=55
Exploring Operation: 70-41=29, Resulting Numbers: [84, 15, 29]
Generated Node #0,1: 23:[84, 15, 29] Operation: 70-41=29
Exploring Operation: 84-70=14, Resulting Numbers: [41, 15, 14]
Generated Node #0,2: 23:[41, 15, 14] Operation: 84-70=14
Exploring Operation: 84-41=43, Resulting Numbers: [70, 15, 43]
Generated Node #0,3: 23:[70, 15, 43] Operation: 84-41=43
Exploring Operation: 84-15=69, Resulting Numbers: [70, 41, 69]
Generated Node #0,4: 23:[70, 41, 69] Operation: 84-15=69
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[41, 15, 14], Operations: ['84-70=14']
Exploring Operation: 15-14=1, Resulting Numbers: [41, 1]
Generated Node #0,2,0: 23:[41, 1] Operation: 15-14=1
Exploring Operation: 41+14=55, Resulting Numbers: [15, 55]
Generated Node #0,2,1: 23:[15, 55] Operation: 41+14=55
Exploring Operation: 15+14=29, Resulting Numbers: [41, 29]
Generated Node #0,2,2: 23:[41, 29] Operation: 15+14=29
Exploring Operation: 41-14=27, Resulting Numbers: [15, 27]
Generated Node #0,2,3: 23:[15, 27] Operation: 41-14=27
Exploring Operation: 41-15=26, Resulting Numbers: [14, 26]
Generated Node #0,2,4: 23:[14, 26] Operation: 41-15=26
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 23:[15, 27], Operations: ['84-70=14', '41-14=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,23 unequal: No Solution
No 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: 23:[14, 26], Operations: ['84-70=14', '41-15=26']
Exploring Operation: 26-14=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 14+26=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 14*26=364, Resulting Numbers: [364]
364,23 unequal: No Solution
No 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: 23:[41, 29], Operations: ['84-70=14', '15+14=29']
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,23 unequal: No Solution
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,23 unequal: No Solution
No 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: 23:[41, 1], Operations: ['84-70=14', '15-14=1']
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,23 unequal: No Solution
No 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: 23:[15, 55], Operations: ['84-70=14', '41+14=55']
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,23 unequal: No Solution
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[84, 15, 29], Operations: ['70-41=29']
Exploring Operation: 84-15=69, Resulting Numbers: [29, 69]
Generated Node #0,1,0: 23:[29, 69] Operation: 84-15=69
Exploring Operation: 29-15=14, Resulting Numbers: [84, 14]
Generated Node #0,1,1: 23:[84, 14] Operation: 29-15=14
Exploring Operation: 84+15=99, Resulting Numbers: [29, 99]
Generated Node #0,1,2: 23:[29, 99] Operation: 84+15=99
Exploring Operation: 84-29=55, Resulting Numbers: [15, 55]
Generated Node #0,1,3: 23:[15, 55] Operation: 84-29=55
Exploring Operation: 15+29=44, Resulting Numbers: [84, 44]
Generated Node #0,1,4: 23:[84, 44] Operation: 15+29=44
Moving to Node #0,1,3
Current State: 23:[15, 55], Operations: ['70-41=29', '84-29=55']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 15*55=825, Resulting Numbers: [825]
825,23 unequal: No Solution
Exploring Operation: 15+55=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[29, 69], Operations: ['70-41=29', '84-15=69']
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[84, 14], Operations: ['70-41=29', '29-15=14']
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,23 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[29, 99], Operations: ['70-41=29', '84+15=99']
Exploring Operation: 29*99=2871, Resulting Numbers: [2871]
2871,23 unequal: No Solution
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 29+99=128, Resulting Numbers: [128]
128,23 unequal: No Solution
Moving to Node #0,1,4
Current State: 23:[84, 44], Operations: ['70-41=29', '15+29=44']
Exploring Operation: 84+44=128, Resulting Numbers: [128]
128,23 unequal: No Solution
Exploring Operation: 84*44=3696, Resulting Numbers: [3696]
3696,23 unequal: No Solution
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[70, 15, 43], Operations: ['84-41=43']
Exploring Operation: 43-15=28, Resulting Numbers: [70, 28]
Generated Node #0,3,0: 23:[70, 28] Operation: 43-15=28
Exploring Operation: 70-15=55, Resulting Numbers: [43, 55]
Generated Node #0,3,1: 23:[43, 55] Operation: 70-15=55
Exploring Operation: 15+43=58, Resulting Numbers: [70, 58]
Generated Node #0,3,2: 23:[70, 58] Operation: 15+43=58
Exploring Operation: 70-43=27, Resulting Numbers: [15, 27]
Generated Node #0,3,3: 23:[15, 27] Operation: 70-43=27
Exploring Operation: 70+15=85, Resulting Numbers: [43, 85]
Generated Node #0,3,4: 23:[43, 85] Operation: 70+15=85
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 23:[15, 27], Operations: ['84-41=43', '70-43=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 15*27=405, Resulting Numbers: [405]
405,23 unequal: No Solution
Exploring Operation: 15+27=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No 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: 23:[70, 28], Operations: ['84-41=43', '43-15=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,23 unequal: No Solution
No 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: 23:[43, 55], Operations: ['84-41=43', '70-15=55']
Exploring Operation: 43*55=2365, Resulting Numbers: [2365]
2365,23 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 43+55=98, Resulting Numbers: [98]
98,23 unequal: No Solution
No 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: 23:[70, 58], Operations: ['84-41=43', '15+43=58']
Exploring Operation: 70*58=4060, Resulting Numbers: [4060]
4060,23 unequal: No Solution
Exploring Operation: 70+58=128, Resulting Numbers: [128]
128,23 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,23 unequal: No Solution
No 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: 23:[43, 85], Operations: ['84-41=43', '70+15=85']
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 43+85=128, Resulting Numbers: [128]
128,23 unequal: No Solution
Exploring Operation: 43*85=3655, Resulting Numbers: [3655]
3655,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[84, 41, 55], Operations: ['70-15=55']
Exploring Operation: 84-55=29, Resulting Numbers: [41, 29]
Generated Node #0,0,0: 23:[41, 29] Operation: 84-55=29
Exploring Operation: 55-41=14, Resulting Numbers: [84, 14]
Generated Node #0,0,1: 23:[84, 14] Operation: 55-41=14
Exploring Operation: 84-41=43, Resulting Numbers: [55, 43]
Generated Node #0,0,2: 23:[55, 43] Operation: 84-41=43
Exploring Operation: 84+41=125, Resulting Numbers: [55, 125]
Generated Node #0,0,3: 23:[55, 125] Operation: 84+41=125
Exploring Operation: 84+55=139, Resulting Numbers: [41, 139]
Generated Node #0,0,4: 23:[41, 139] Operation: 84+55=139
Moving to Node #0,0,0
Current State: 23:[41, 29], Operations: ['70-15=55', '84-55=29']
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[55, 43], Operations: ['70-15=55', '84-41=43']
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,23 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[84, 14], Operations: ['70-15=55', '55-41=14']
Exploring Operation: 84+14=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 84*14=1176, Resulting Numbers: [1176]
1176,23 unequal: No Solution
Exploring Operation: 84/14=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 84-14=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[55, 125], Operations: ['70-15=55', '84+41=125']
Exploring Operation: 55+125=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 125-55=70, Resulting Numbers: [70]
70,23 unequal: No Solution
Exploring Operation: 55*125=6875, Resulting Numbers: [6875]
6875,23 unequal: No Solution
Moving to Node #0,0,4
Current State: 23:[41, 139], Operations: ['70-15=55', '84+55=139']
Exploring Operation: 139-41=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 41*139=5699, Resulting Numbers: [5699]
5699,23 unequal: No Solution
Exploring Operation: 41+139=180, Resulting Numbers: [180]
180,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[70, 41, 69], Operations: ['84-15=69']
Exploring Operation: 69-41=28, Resulting Numbers: [70, 28]
Generated Node #0,4,0: 23:[70, 28] Operation: 69-41=28
Exploring Operation: 70-69=1, Resulting Numbers: [41, 1]
Generated Node #0,4,1: 23:[41, 1] Operation: 70-69=1
Exploring Operation: 70+41=111, Resulting Numbers: [69, 111]
Generated Node #0,4,2: 23:[69, 111] Operation: 70+41=111
Exploring Operation: 70+69=139, Resulting Numbers: [41, 139]
Generated Node #0,4,3: 23:[41, 139] Operation: 70+69=139
Exploring Operation: 70-41=29, Resulting Numbers: [69, 29]
Generated Node #0,4,4: 23:[69, 29] Operation: 70-41=29
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 23:[41, 1], Operations: ['84-15=69', '70-69=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 41+1=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No 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: 23:[70, 28], Operations: ['84-15=69', '69-41=28']
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,23 unequal: No Solution
No 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: 23:[69, 29], Operations: ['84-15=69', '70-41=29']
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,23 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,23 unequal: No Solution
No 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: 23:[69, 111], Operations: ['84-15=69', '70+41=111']
Exploring Operation: 69+111=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 69*111=7659, Resulting Numbers: [7659]
7659,23 unequal: No Solution
Exploring Operation: 111-69=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No 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: 23:[41, 139], Operations: ['84-15=69', '70+69=139']
Exploring Operation: 41*139=5699, Resulting Numbers: [5699]
5699,23 unequal: No Solution
Exploring Operation: 139-41=98, Resulting Numbers: [98]
98,23 unequal: No Solution
Exploring Operation: 41+139=180, Resulting Numbers: [180]
180,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
80,
82,
74,
1
] | 72 | [
"82-80=2",
"74*1=74",
"74-2=72"
] | Current State: 72:[80, 82, 74, 1], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [74, 1, 2]
Generated Node #2: [74, 1, 2] from Operation: 82-80=2
Current State: 72:[74, 1, 2], Operations: ['82-80=2']
Exploring Operation: 74*1=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 74*1=74
Current State: 72:[2, 74], Operations: ['82-80=2', '74*1=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[80, 82, 74, 1], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [74, 1, 2]
Generated Node #0,0: 72:[74, 1, 2] Operation: 82-80=2
Exploring Operation: 82-74=8, Resulting Numbers: [80, 1, 8]
Generated Node #0,1: 72:[80, 1, 8] Operation: 82-74=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[74, 1, 2], Operations: ['82-80=2']
Exploring Operation: 74-1=73, Resulting Numbers: [2, 73]
Generated Node #0,0,0: 72:[2, 73] Operation: 74-1=73
Exploring Operation: 74-2=72, Resulting Numbers: [1, 72]
Generated Node #0,0,1: 72:[1, 72] Operation: 74-2=72
Moving to Node #0,0,0
Current State: 72:[2, 73], Operations: ['82-80=2', '74-1=73']
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[1, 72], Operations: ['82-80=2', '74-2=72']
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[80, 82, 74, 1], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [74, 1, 2]
Generated Node #0,0: 72:[74, 1, 2] Operation: 82-80=2
Moving to Node #0,0
Current State: 72:[74, 1, 2], Operations: ['82-80=2']
Exploring Operation: 74-2=72, Resulting Numbers: [1, 72]
Generated Node #0,0,1: 72:[1, 72] Operation: 74-2=72
Moving to Node #0,0,1
Current State: 72:[1, 72], Operations: ['82-80=2', '74-2=72']
Exploring Operation: 1*72=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
59,
75,
23,
18
] | 46 | [
"75-59=16",
"18-16=2",
"23*2=46"
] | Current State: 46:[59, 75, 23, 18], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [23, 18, 16]
Generated Node #2: [23, 18, 16] from Operation: 75-59=16
Current State: 46:[23, 18, 16], Operations: ['75-59=16']
Exploring Operation: 18-16=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 18-16=2
Current State: 46:[23, 2], Operations: ['75-59=16', '18-16=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[59, 75, 23, 18], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [59, 23, 57]
Generated Node #0,0: 46:[59, 23, 57] Operation: 75-18=57
Exploring Operation: 59-18=41, Resulting Numbers: [75, 23, 41]
Generated Node #0,1: 46:[75, 23, 41] Operation: 59-18=41
Exploring Operation: 75-23=52, Resulting Numbers: [59, 18, 52]
Generated Node #0,2: 46:[59, 18, 52] Operation: 75-23=52
Exploring Operation: 75-59=16, Resulting Numbers: [23, 18, 16]
Generated Node #0,3: 46:[23, 18, 16] Operation: 75-59=16
Moving to Node #0,3
Current State: 46:[23, 18, 16], Operations: ['75-59=16']
Exploring Operation: 18-16=2, Resulting Numbers: [23, 2]
Generated Node #0,3,0: 46:[23, 2] Operation: 18-16=2
Exploring Operation: 18+16=34, Resulting Numbers: [23, 34]
Generated Node #0,3,1: 46:[23, 34] Operation: 18+16=34
Exploring Operation: 23-18=5, Resulting Numbers: [16, 5]
Generated Node #0,3,2: 46:[16, 5] Operation: 23-18=5
Exploring Operation: 23-16=7, Resulting Numbers: [18, 7]
Generated Node #0,3,3: 46:[18, 7] Operation: 23-16=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[23, 2], Operations: ['75-59=16', '18-16=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,46 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[59, 75, 23, 18], Operations: []
Exploring Operation: 75-59=16, Resulting Numbers: [23, 18, 16]
Generated Node #0,3: 46:[23, 18, 16] Operation: 75-59=16
Moving to Node #0,3
Current State: 46:[23, 18, 16], Operations: ['75-59=16']
Exploring Operation: 18-16=2, Resulting Numbers: [23, 2]
Generated Node #0,3,0: 46:[23, 2] Operation: 18-16=2
Moving to Node #0,3,0
Current State: 46:[23, 2], Operations: ['75-59=16', '18-16=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
83,
73,
94,
11
] | 72 | [
"94-83=11",
"11/11=1",
"73-1=72"
] | Current State: 72:[83, 73, 94, 11], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [73, 11, 11]
Generated Node #2: [73, 11, 11] from Operation: 94-83=11
Current State: 72:[73, 11, 11], Operations: ['94-83=11']
Exploring Operation: 11/11=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 11/11=1
Current State: 72:[73, 1], Operations: ['94-83=11', '11/11=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[83, 73, 94, 11], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [73, 11, 11]
Generated Node #0,0: 72:[73, 11, 11] Operation: 94-83=11
Exploring Operation: 94-73=21, Resulting Numbers: [83, 11, 21]
Generated Node #0,1: 72:[83, 11, 21] Operation: 94-73=21
Moving to Node #0,0
Current State: 72:[73, 11, 11], Operations: ['94-83=11']
Exploring Operation: 11+11=22, Resulting Numbers: [73, 22]
Generated Node #0,0,0: 72:[73, 22] Operation: 11+11=22
Exploring Operation: 11/11=1, Resulting Numbers: [73, 1]
Generated Node #0,0,1: 72:[73, 1] Operation: 11/11=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[73, 1], Operations: ['94-83=11', '11/11=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[83, 73, 94, 11], Operations: []
Exploring Operation: 94-83=11, Resulting Numbers: [73, 11, 11]
Generated Node #0,0: 72:[73, 11, 11] Operation: 94-83=11
Moving to Node #0,0
Current State: 72:[73, 11, 11], Operations: ['94-83=11']
Exploring Operation: 11/11=1, Resulting Numbers: [73, 1]
Generated Node #0,0,1: 72:[73, 1] Operation: 11/11=1
Moving to Node #0,0,1
Current State: 72:[73, 1], Operations: ['94-83=11', '11/11=1']
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
27,
1,
37,
88
] | 97 | [
"27+1=28",
"37+88=125",
"125-28=97"
] | Current State: 97:[27, 1, 37, 88], Operations: []
Exploring Operation: 27+1=28, Resulting Numbers: [37, 88, 28]
Generated Node #2: [37, 88, 28] from Operation: 27+1=28
Current State: 97:[37, 88, 28], Operations: ['27+1=28']
Exploring Operation: 37+88=125, Resulting Numbers: [28, 125]
Generated Node #3: [28, 125] from Operation: 37+88=125
Current State: 97:[28, 125], Operations: ['27+1=28', '37+88=125']
Exploring Operation: 125-28=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[27, 1, 37, 88], Operations: []
Exploring Operation: 27+1=28, Resulting Numbers: [37, 88, 28]
Generated Node #0,0: 97:[37, 88, 28] Operation: 27+1=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[37, 88, 28], Operations: ['27+1=28']
Exploring Operation: 37+28=65, Resulting Numbers: [88, 65]
Generated Node #0,0,0: 97:[88, 65] Operation: 37+28=65
Moving to Node #0,0,0
Current State: 97:[88, 65], Operations: ['27+1=28', '37+28=65']
Exploring Operation: 88+65=153, Resulting Numbers: [153]
153,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
82,
89,
24,
43
] | 74 | [
"89-82=7",
"24+43=67",
"7+67=74"
] | Current State: 74:[82, 89, 24, 43], Operations: []
Exploring Operation: 89-82=7, Resulting Numbers: [24, 43, 7]
Generated Node #2: [24, 43, 7] from Operation: 89-82=7
Current State: 74:[24, 43, 7], Operations: ['89-82=7']
Exploring Operation: 24+43=67, Resulting Numbers: [7, 67]
Generated Node #3: [7, 67] from Operation: 24+43=67
Current State: 74:[7, 67], Operations: ['89-82=7', '24+43=67']
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[82, 89, 24, 43], Operations: []
Exploring Operation: 89-24=65, Resulting Numbers: [82, 43, 65]
Generated Node #0,0: 74:[82, 43, 65] Operation: 89-24=65
Exploring Operation: 89-82=7, Resulting Numbers: [24, 43, 7]
Generated Node #0,1: 74:[24, 43, 7] Operation: 89-82=7
Exploring Operation: 82-43=39, Resulting Numbers: [89, 24, 39]
Generated Node #0,2: 74:[89, 24, 39] Operation: 82-43=39
Moving to Node #0,0
Current State: 74:[82, 43, 65], Operations: ['89-24=65']
Exploring Operation: 65-43=22, Resulting Numbers: [82, 22]
Generated Node #0,0,0: 74:[82, 22] Operation: 65-43=22
Exploring Operation: 82-43=39, Resulting Numbers: [65, 39]
Generated Node #0,0,1: 74:[65, 39] Operation: 82-43=39
Exploring Operation: 82-65=17, Resulting Numbers: [43, 17]
Generated Node #0,0,2: 74:[43, 17] Operation: 82-65=17
Moving to Node #0,1
Current State: 74:[24, 43, 7], Operations: ['89-82=7']
Exploring Operation: 24+7=31, Resulting Numbers: [43, 31]
Generated Node #0,1,0: 74:[43, 31] Operation: 24+7=31
Exploring Operation: 43-7=36, Resulting Numbers: [24, 36]
Generated Node #0,1,1: 74:[24, 36] Operation: 43-7=36
Exploring Operation: 24+43=67, Resulting Numbers: [7, 67]
Generated Node #0,1,2: 74:[7, 67] Operation: 24+43=67
Moving to Node #0,2
Current State: 74:[89, 24, 39], Operations: ['82-43=39']
Exploring Operation: 89-39=50, Resulting Numbers: [24, 50]
Generated Node #0,2,0: 74:[24, 50] Operation: 89-39=50
Exploring Operation: 24+39=63, Resulting Numbers: [89, 63]
Generated Node #0,2,1: 74:[89, 63] Operation: 24+39=63
Exploring Operation: 89-24=65, Resulting Numbers: [39, 65]
Generated Node #0,2,2: 74:[39, 65] Operation: 89-24=65
Moving to Node #0,0,1
Current State: 74:[65, 39], Operations: ['89-24=65', '82-43=39']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,74 unequal: No Solution
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[39, 65], Operations: ['82-43=39', '89-24=65']
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,74 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[43, 31], Operations: ['89-82=7', '24+7=31']
Exploring Operation: 43*31=1333, Resulting Numbers: [1333]
1333,74 unequal: No Solution
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,74 unequal: No Solution
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[82, 89, 24, 43], Operations: []
Exploring Operation: 89-82=7, Resulting Numbers: [24, 43, 7]
Generated Node #0,1: 74:[24, 43, 7] Operation: 89-82=7
Moving to Node #0,1
Current State: 74:[24, 43, 7], Operations: ['89-82=7']
Exploring Operation: 24+7=31, Resulting Numbers: [43, 31]
Generated Node #0,1,0: 74:[43, 31] Operation: 24+7=31
Moving to Node #0,1,0
Current State: 74:[43, 31], Operations: ['89-82=7', '24+7=31']
Exploring Operation: 43+31=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 0.978299 | hs_3 | sum_heuristic |
[
9,
8,
88,
20
] | 10 | [
"88/8=11",
"11-9=2",
"20/2=10"
] | Current State: 10:[9, 8, 88, 20], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [9, 20, 11]
Generated Node #2: [9, 20, 11] from Operation: 88/8=11
Current State: 10:[9, 20, 11], Operations: ['88/8=11']
Exploring Operation: 11-9=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 11-9=2
Current State: 10:[20, 2], Operations: ['88/8=11', '11-9=2']
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[9, 8, 88, 20], Operations: []
Exploring Operation: 88/8=11, Resulting Numbers: [9, 20, 11]
Generated Node #0,0: 10:[9, 20, 11] Operation: 88/8=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[9, 20, 11], Operations: ['88/8=11']
Exploring Operation: 20-9=11, Resulting Numbers: [11, 11]
Generated Node #0,0,0: 10:[11, 11] Operation: 20-9=11
Moving to Node #0,0,0
Current State: 10:[11, 11], Operations: ['88/8=11', '20-9=11']
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,10 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 |
[
46,
72,
66,
63
] | 98 | [
"46+66=112",
"63*112=7056",
"7056/72=98"
] | Current State: 98:[46, 72, 66, 63], Operations: []
Exploring Operation: 46+66=112, Resulting Numbers: [72, 63, 112]
Generated Node #2: [72, 63, 112] from Operation: 46+66=112
Current State: 98:[72, 63, 112], Operations: ['46+66=112']
Exploring Operation: 63*112=7056, Resulting Numbers: [72, 7056]
Generated Node #3: [72, 7056] from Operation: 63*112=7056
Current State: 98:[72, 7056], Operations: ['46+66=112', '63*112=7056']
Exploring Operation: 7056/72=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[46, 72, 66, 63], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [46, 66, 9]
Generated Node #0,0: 98:[46, 66, 9] Operation: 72-63=9
Exploring Operation: 72-66=6, Resulting Numbers: [46, 63, 6]
Generated Node #0,1: 98:[46, 63, 6] Operation: 72-66=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[46, 63, 6], Operations: ['72-66=6']
Exploring Operation: 63-6=57, Resulting Numbers: [46, 57]
Generated Node #0,1,0: 98:[46, 57] Operation: 63-6=57
Exploring Operation: 63-46=17, Resulting Numbers: [6, 17]
Generated Node #0,1,1: 98:[6, 17] Operation: 63-46=17
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[6, 17], Operations: ['72-66=6', '63-46=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,98 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[46, 57], Operations: ['72-66=6', '63-6=57']
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[46, 66, 9], Operations: ['72-63=9']
Exploring Operation: 66-9=57, Resulting Numbers: [46, 57]
Generated Node #0,0,0: 98:[46, 57] Operation: 66-9=57
Exploring Operation: 66-46=20, Resulting Numbers: [9, 20]
Generated Node #0,0,1: 98:[9, 20] Operation: 66-46=20
Moving to Node #0,0,1
Current State: 98:[9, 20], Operations: ['72-63=9', '66-46=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[46, 57], Operations: ['72-63=9', '66-9=57']
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,98 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,98 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 |
[
31,
70,
24,
84
] | 66 | [
"31+24=55",
"84*55=4620",
"4620/70=66"
] | Current State: 66:[31, 70, 24, 84], Operations: []
Exploring Operation: 31+24=55, Resulting Numbers: [70, 84, 55]
Generated Node #2: [70, 84, 55] from Operation: 31+24=55
Current State: 66:[70, 84, 55], Operations: ['31+24=55']
Exploring Operation: 84*55=4620, Resulting Numbers: [70, 4620]
Generated Node #3: [70, 4620] from Operation: 84*55=4620
Current State: 66:[70, 4620], Operations: ['31+24=55', '84*55=4620']
Exploring Operation: 4620/70=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[31, 70, 24, 84], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [31, 24, 14]
Generated Node #0,0: 66:[31, 24, 14] Operation: 84-70=14
Exploring Operation: 84-24=60, Resulting Numbers: [31, 70, 60]
Generated Node #0,1: 66:[31, 70, 60] Operation: 84-24=60
Moving to Node #0,0
Current State: 66:[31, 24, 14], Operations: ['84-70=14']
Exploring Operation: 24-14=10, Resulting Numbers: [31, 10]
Generated Node #0,0,0: 66:[31, 10] Operation: 24-14=10
Exploring Operation: 31-24=7, Resulting Numbers: [14, 7]
Generated Node #0,0,1: 66:[14, 7] Operation: 31-24=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[31, 10], Operations: ['84-70=14', '24-14=10']
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[14, 7], Operations: ['84-70=14', '31-24=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[31, 70, 60], Operations: ['84-24=60']
Exploring Operation: 70-60=10, Resulting Numbers: [31, 10]
Generated Node #0,1,0: 66:[31, 10] Operation: 70-60=10
Exploring Operation: 60-31=29, Resulting Numbers: [70, 29]
Generated Node #0,1,1: 66:[70, 29] Operation: 60-31=29
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[31, 10], Operations: ['84-24=60', '70-60=10']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 31+10=41, Resulting Numbers: [41]
41,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[70, 29], Operations: ['84-24=60', '60-31=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,66 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,66 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 |
[
52,
85,
34,
96
] | 95 | [
"85-52=33",
"96-34=62",
"33+62=95"
] | Current State: 95:[52, 85, 34, 96], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [34, 96, 33]
Generated Node #2: [34, 96, 33] from Operation: 85-52=33
Current State: 95:[34, 96, 33], Operations: ['85-52=33']
Exploring Operation: 96-34=62, Resulting Numbers: [33, 62]
Generated Node #3: [33, 62] from Operation: 96-34=62
Current State: 95:[33, 62], Operations: ['85-52=33', '96-34=62']
Exploring Operation: 33+62=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[52, 85, 34, 96], Operations: []
Exploring Operation: 52-34=18, Resulting Numbers: [85, 96, 18]
Generated Node #0,0: 95:[85, 96, 18] Operation: 52-34=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[85, 96, 18], Operations: ['52-34=18']
Exploring Operation: 96-85=11, Resulting Numbers: [18, 11]
Generated Node #0,0,0: 95:[18, 11] Operation: 96-85=11
Moving to Node #0,0,0
Current State: 95:[18, 11], Operations: ['52-34=18', '96-85=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,95 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 |
[
64,
24,
28,
4
] | 22 | [
"28+4=32",
"64/32=2",
"24-2=22"
] | Current State: 22:[64, 24, 28, 4], Operations: []
Exploring Operation: 28+4=32, Resulting Numbers: [64, 24, 32]
Generated Node #2: [64, 24, 32] from Operation: 28+4=32
Current State: 22:[64, 24, 32], Operations: ['28+4=32']
Exploring Operation: 64/32=2, Resulting Numbers: [24, 2]
Generated Node #3: [24, 2] from Operation: 64/32=2
Current State: 22:[24, 2], Operations: ['28+4=32', '64/32=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[64, 24, 28, 4], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [24, 4, 36]
Generated Node #0,0: 22:[24, 4, 36] Operation: 64-28=36
Exploring Operation: 64/4=16, Resulting Numbers: [24, 28, 16]
Generated Node #0,1: 22:[24, 28, 16] Operation: 64/4=16
Exploring Operation: 64-24=40, Resulting Numbers: [28, 4, 40]
Generated Node #0,2: 22:[28, 4, 40] Operation: 64-24=40
Exploring Operation: 64-4=60, Resulting Numbers: [24, 28, 60]
Generated Node #0,3: 22:[24, 28, 60] Operation: 64-4=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[24, 28, 16], Operations: ['64/4=16']
Exploring Operation: 28-16=12, Resulting Numbers: [24, 12]
Generated Node #0,1,0: 22:[24, 12] Operation: 28-16=12
Exploring Operation: 24-16=8, Resulting Numbers: [28, 8]
Generated Node #0,1,1: 22:[28, 8] Operation: 24-16=8
Exploring Operation: 24+16=40, Resulting Numbers: [28, 40]
Generated Node #0,1,2: 22:[28, 40] Operation: 24+16=40
Exploring Operation: 28-24=4, Resulting Numbers: [16, 4]
Generated Node #0,1,3: 22:[16, 4] Operation: 28-24=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 22:[24, 12], Operations: ['64/4=16', '28-16=12']
Exploring Operation: 24*12=288, Resulting Numbers: [288]
288,22 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,22 unequal: No Solution
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 22:[16, 4], Operations: ['64/4=16', '28-24=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 22:[28, 8], Operations: ['64/4=16', '24-16=8']
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,22 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 22:[28, 40], Operations: ['64/4=16', '24+16=40']
Exploring Operation: 40-28=12, Resulting Numbers: [12]
12,22 unequal: No Solution
Exploring Operation: 28*40=1120, Resulting Numbers: [1120]
1120,22 unequal: No Solution
Exploring Operation: 28+40=68, Resulting Numbers: [68]
68,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[24, 4, 36], Operations: ['64-28=36']
Exploring Operation: 36-4=32, Resulting Numbers: [24, 32]
Generated Node #0,0,0: 22:[24, 32] Operation: 36-4=32
Exploring Operation: 36/4=9, Resulting Numbers: [24, 9]
Generated Node #0,0,1: 22:[24, 9] Operation: 36/4=9
Exploring Operation: 24-4=20, Resulting Numbers: [36, 20]
Generated Node #0,0,2: 22:[36, 20] Operation: 24-4=20
Exploring Operation: 36-24=12, Resulting Numbers: [4, 12]
Generated Node #0,0,3: 22:[4, 12] Operation: 36-24=12
Moving to Node #0,0,3
Current State: 22:[4, 12], Operations: ['64-28=36', '36-24=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,22 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Moving to Node #0,0,1
Current State: 22:[24, 9], Operations: ['64-28=36', '36/4=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,22 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[24, 32], Operations: ['64-28=36', '36-4=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,22 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[36, 20], Operations: ['64-28=36', '24-4=20']
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,22 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[28, 4, 40], Operations: ['64-24=40']
Exploring Operation: 28-4=24, Resulting Numbers: [40, 24]
Generated Node #0,2,0: 22:[40, 24] Operation: 28-4=24
Exploring Operation: 40/4=10, Resulting Numbers: [28, 10]
Generated Node #0,2,1: 22:[28, 10] Operation: 40/4=10
Exploring Operation: 40-28=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 22:[4, 12] Operation: 40-28=12
Exploring Operation: 40-4=36, Resulting Numbers: [28, 36]
Generated Node #0,2,3: 22:[28, 36] Operation: 40-4=36
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[4, 12], Operations: ['64-24=40', '40-28=12']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,22 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[28, 10], Operations: ['64-24=40', '40/4=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,22 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[40, 24], Operations: ['64-24=40', '28-4=24']
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,22 unequal: No Solution
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[28, 36], Operations: ['64-24=40', '40-4=36']
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,22 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[24, 28, 60], Operations: ['64-4=60']
Exploring Operation: 28-24=4, Resulting Numbers: [60, 4]
Generated Node #0,3,0: 22:[60, 4] Operation: 28-24=4
Exploring Operation: 24+28=52, Resulting Numbers: [60, 52]
Generated Node #0,3,1: 22:[60, 52] Operation: 24+28=52
Exploring Operation: 60-24=36, Resulting Numbers: [28, 36]
Generated Node #0,3,2: 22:[28, 36] Operation: 60-24=36
Exploring Operation: 60-28=32, Resulting Numbers: [24, 32]
Generated Node #0,3,3: 22:[24, 32] Operation: 60-28=32
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 22:[24, 32], Operations: ['64-4=60', '60-28=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 22:[28, 36], Operations: ['64-4=60', '60-24=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 22:[60, 4], Operations: ['64-4=60', '28-24=4']
Exploring Operation: 60+4=64, Resulting Numbers: [64]
64,22 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,22 unequal: No Solution
Exploring Operation: 60*4=240, Resulting Numbers: [240]
240,22 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 22:[60, 52], Operations: ['64-4=60', '24+28=52']
Exploring Operation: 60+52=112, Resulting Numbers: [112]
112,22 unequal: No Solution
Exploring Operation: 60-52=8, Resulting Numbers: [8]
8,22 unequal: No Solution
Exploring Operation: 60*52=3120, Resulting Numbers: [3120]
3120,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
54,
12,
50,
92
] | 76 | [
"54+12=66",
"50+92=142",
"142-66=76"
] | Current State: 76:[54, 12, 50, 92], Operations: []
Exploring Operation: 54+12=66, Resulting Numbers: [50, 92, 66]
Generated Node #2: [50, 92, 66] from Operation: 54+12=66
Current State: 76:[50, 92, 66], Operations: ['54+12=66']
Exploring Operation: 50+92=142, Resulting Numbers: [66, 142]
Generated Node #3: [66, 142] from Operation: 50+92=142
Current State: 76:[66, 142], Operations: ['54+12=66', '50+92=142']
Exploring Operation: 142-66=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[54, 12, 50, 92], Operations: []
Exploring Operation: 54-12=42, Resulting Numbers: [50, 92, 42]
Generated Node #0,0: 76:[50, 92, 42] Operation: 54-12=42
Exploring Operation: 50-12=38, Resulting Numbers: [54, 92, 38]
Generated Node #0,1: 76:[54, 92, 38] Operation: 50-12=38
Exploring Operation: 92-50=42, Resulting Numbers: [54, 12, 42]
Generated Node #0,2: 76:[54, 12, 42] Operation: 92-50=42
Exploring Operation: 54-50=4, Resulting Numbers: [12, 92, 4]
Generated Node #0,3: 76:[12, 92, 4] Operation: 54-50=4
Exploring Operation: 92-54=38, Resulting Numbers: [12, 50, 38]
Generated Node #0,4: 76:[12, 50, 38] Operation: 92-54=38
Moving to Node #0,4
Current State: 76:[12, 50, 38], Operations: ['92-54=38']
Exploring Operation: 38-12=26, Resulting Numbers: [50, 26]
Generated Node #0,4,0: 76:[50, 26] Operation: 38-12=26
Exploring Operation: 12+50=62, Resulting Numbers: [38, 62]
Generated Node #0,4,1: 76:[38, 62] Operation: 12+50=62
Exploring Operation: 50+38=88, Resulting Numbers: [12, 88]
Generated Node #0,4,2: 76:[12, 88] Operation: 50+38=88
Exploring Operation: 50-38=12, Resulting Numbers: [12, 12]
Generated Node #0,4,3: 76:[12, 12] Operation: 50-38=12
Exploring Operation: 50-12=38, Resulting Numbers: [38, 38]
Generated Node #0,4,4: 76:[38, 38] Operation: 50-12=38
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 76:[38, 38], Operations: ['92-54=38', '50-12=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[54, 12, 50, 92], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [12, 50, 38]
Generated Node #0,4: 76:[12, 50, 38] Operation: 92-54=38
Moving to Node #0,4
Current State: 76:[12, 50, 38], Operations: ['92-54=38']
Exploring Operation: 50-12=38, Resulting Numbers: [38, 38]
Generated Node #0,4,4: 76:[38, 38] Operation: 50-12=38
Moving to Node #0,4,4
Current State: 76:[38, 38], Operations: ['92-54=38', '50-12=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
72,
70,
5,
6
] | 52 | [
"72-6=66",
"70/5=14",
"66-14=52"
] | Current State: 52:[72, 70, 5, 6], Operations: []
Exploring Operation: 72-6=66, Resulting Numbers: [70, 5, 66]
Generated Node #2: [70, 5, 66] from Operation: 72-6=66
Current State: 52:[70, 5, 66], Operations: ['72-6=66']
Exploring Operation: 70/5=14, Resulting Numbers: [66, 14]
Generated Node #3: [66, 14] from Operation: 70/5=14
Current State: 52:[66, 14], Operations: ['72-6=66', '70/5=14']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[72, 70, 5, 6], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [72, 6, 14]
Generated Node #0,0: 52:[72, 6, 14] Operation: 70/5=14
Exploring Operation: 72-70=2, Resulting Numbers: [5, 6, 2]
Generated Node #0,1: 52:[5, 6, 2] Operation: 72-70=2
Exploring Operation: 72/6=12, Resulting Numbers: [70, 5, 12]
Generated Node #0,2: 52:[70, 5, 12] Operation: 72/6=12
Moving to Node #0,1
Current State: 52:[5, 6, 2], Operations: ['72-70=2']
Exploring Operation: 5+6=11, Resulting Numbers: [2, 11]
Generated Node #0,1,0: 52:[2, 11] Operation: 5+6=11
Exploring Operation: 6-2=4, Resulting Numbers: [5, 4]
Generated Node #0,1,1: 52:[5, 4] Operation: 6-2=4
Exploring Operation: 6-5=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 52:[2, 1] Operation: 6-5=1
Moving to Node #0,2
Current State: 52:[70, 5, 12], Operations: ['72/6=12']
Exploring Operation: 70-12=58, Resulting Numbers: [5, 58]
Generated Node #0,2,0: 52:[5, 58] Operation: 70-12=58
Exploring Operation: 70-5=65, Resulting Numbers: [12, 65]
Generated Node #0,2,1: 52:[12, 65] Operation: 70-5=65
Exploring Operation: 70/5=14, Resulting Numbers: [12, 14]
Generated Node #0,2,2: 52:[12, 14] Operation: 70/5=14
Moving to Node #0,0
Current State: 52:[72, 6, 14], Operations: ['70/5=14']
Exploring Operation: 72-6=66, Resulting Numbers: [14, 66]
Generated Node #0,0,0: 52:[14, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [14, 12]
Generated Node #0,0,1: 52:[14, 12] Operation: 72/6=12
Exploring Operation: 72-14=58, Resulting Numbers: [6, 58]
Generated Node #0,0,2: 52:[6, 58] Operation: 72-14=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[14, 12], Operations: ['70/5=14', '72/6=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,52 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,52 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[6, 58], Operations: ['70/5=14', '72-14=58']
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,52 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[72, 70, 5, 6], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [72, 6, 14]
Generated Node #0,0: 52:[72, 6, 14] Operation: 70/5=14
Moving to Node #0,0
Current State: 52:[72, 6, 14], Operations: ['70/5=14']
Exploring Operation: 72-14=58, Resulting Numbers: [6, 58]
Generated Node #0,0,2: 52:[6, 58] Operation: 72-14=58
Moving to Node #0,0,2
Current State: 52:[6, 58], Operations: ['70/5=14', '72-14=58']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_3 | mult_heuristic |
[
28,
18,
51,
13
] | 84 | [
"28+18=46",
"51-13=38",
"46+38=84"
] | Current State: 84:[28, 18, 51, 13], Operations: []
Exploring Operation: 28+18=46, Resulting Numbers: [51, 13, 46]
Generated Node #2: [51, 13, 46] from Operation: 28+18=46
Current State: 84:[51, 13, 46], Operations: ['28+18=46']
Exploring Operation: 51-13=38, Resulting Numbers: [46, 38]
Generated Node #3: [46, 38] from Operation: 51-13=38
Current State: 84:[46, 38], Operations: ['28+18=46', '51-13=38']
Exploring Operation: 46+38=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[28, 18, 51, 13], Operations: []
Exploring Operation: 51-28=23, Resulting Numbers: [18, 13, 23]
Generated Node #0,0: 84:[18, 13, 23] Operation: 51-28=23
Moving to Node #0,0
Current State: 84:[18, 13, 23], Operations: ['51-28=23']
Exploring Operation: 18+23=41, Resulting Numbers: [13, 41]
Generated Node #0,0,0: 84:[13, 41] Operation: 18+23=41
Moving to Node #0,0,0
Current State: 84:[13, 41], Operations: ['51-28=23', '18+23=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,84 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
23,
39,
57
] | 52 | [
"57-23=34",
"57-39=18",
"34+18=52"
] | Current State: 52:[57, 23, 39, 57], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [39, 34]
Generated Node #2: [39, 34] from Operation: 57-23=34
Current State: 52:[39, 34], Operations: ['57-23=34']
Exploring Operation: 57-39=18, Resulting Numbers: [34, 18]
Generated Node #3: [34, 18] from Operation: 57-39=18
Current State: 52:[34, 18], Operations: ['57-23=34', '57-39=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[57, 23, 39, 57], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [23, 57, 18]
Generated Node #0,0: 52:[23, 57, 18] Operation: 57-39=18
Exploring Operation: 39-23=16, Resulting Numbers: [57, 57, 16]
Generated Node #0,1: 52:[57, 57, 16] Operation: 39-23=16
Moving to Node #0,0
Current State: 52:[23, 57, 18], Operations: ['57-39=18']
Exploring Operation: 57-23=34, Resulting Numbers: [18, 34]
Generated Node #0,0,0: 52:[18, 34] Operation: 57-23=34
Exploring Operation: 23-18=5, Resulting Numbers: [57, 5]
Generated Node #0,0,1: 52:[57, 5] Operation: 23-18=5
Moving to Node #0,1
Current State: 52:[57, 57, 16], Operations: ['39-23=16']
Exploring Operation: 57/57=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 52:[16, 1] Operation: 57/57=1
Exploring Operation: 57-57=0, Resulting Numbers: [16, 0]
Generated Node #0,1,1: 52:[16, 0] Operation: 57-57=0
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[16, 1], Operations: ['39-23=16', '57/57=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[16, 0], Operations: ['39-23=16', '57-57=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,52 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,52 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: 52:[57, 5], Operations: ['57-39=18', '23-18=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[57, 23, 39, 57], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [23, 57, 18]
Generated Node #0,0: 52:[23, 57, 18] Operation: 57-39=18
Moving to Node #0,0
Current State: 52:[23, 57, 18], Operations: ['57-39=18']
Exploring Operation: 23-18=5, Resulting Numbers: [57, 5]
Generated Node #0,0,1: 52:[57, 5] Operation: 23-18=5
Moving to Node #0,0,1
Current State: 52:[57, 5], Operations: ['57-39=18', '23-18=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
5,
33,
22,
24
] | 79 | [
"33-22=11",
"5*11=55",
"24+55=79"
] | Current State: 79:[5, 33, 22, 24], Operations: []
Exploring Operation: 33-22=11, Resulting Numbers: [5, 24, 11]
Generated Node #2: [5, 24, 11] from Operation: 33-22=11
Current State: 79:[5, 24, 11], Operations: ['33-22=11']
Exploring Operation: 5*11=55, Resulting Numbers: [24, 55]
Generated Node #3: [24, 55] from Operation: 5*11=55
Current State: 79:[24, 55], Operations: ['33-22=11', '5*11=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[5, 33, 22, 24], Operations: []
Exploring Operation: 5*22=110, Resulting Numbers: [33, 24, 110]
Generated Node #0,0: 79:[33, 24, 110] Operation: 5*22=110
Exploring Operation: 5*24=120, Resulting Numbers: [33, 22, 120]
Generated Node #0,1: 79:[33, 22, 120] Operation: 5*24=120
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[33, 24, 110], Operations: ['5*22=110']
Exploring Operation: 33+24=57, Resulting Numbers: [110, 57]
Generated Node #0,0,0: 79:[110, 57] Operation: 33+24=57
Exploring Operation: 110-24=86, Resulting Numbers: [33, 86]
Generated Node #0,0,1: 79:[33, 86] Operation: 110-24=86
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[110, 57], Operations: ['5*22=110', '33+24=57']
Exploring Operation: 110-57=53, Resulting Numbers: [53]
53,79 unequal: No Solution
Exploring Operation: 110+57=167, Resulting Numbers: [167]
167,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[33, 86], Operations: ['5*22=110', '110-24=86']
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,79 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[33, 22, 120], Operations: ['5*24=120']
Exploring Operation: 33+22=55, Resulting Numbers: [120, 55]
Generated Node #0,1,0: 79:[120, 55] Operation: 33+22=55
Exploring Operation: 120-33=87, Resulting Numbers: [22, 87]
Generated Node #0,1,1: 79:[22, 87] Operation: 120-33=87
Moving to Node #0,1,0
Current State: 79:[120, 55], Operations: ['5*24=120', '33+22=55']
Exploring Operation: 120+55=175, Resulting Numbers: [175]
175,79 unequal: No Solution
Exploring Operation: 120-55=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[22, 87], Operations: ['5*24=120', '120-33=87']
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,79 unequal: No Solution
Exploring Operation: 22+87=109, Resulting Numbers: [109]
109,79 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 |
[
16,
58,
53,
81
] | 46 | [
"16+58=74",
"81-53=28",
"74-28=46"
] | Current State: 46:[16, 58, 53, 81], Operations: []
Exploring Operation: 16+58=74, Resulting Numbers: [53, 81, 74]
Generated Node #2: [53, 81, 74] from Operation: 16+58=74
Current State: 46:[53, 81, 74], Operations: ['16+58=74']
Exploring Operation: 81-53=28, Resulting Numbers: [74, 28]
Generated Node #3: [74, 28] from Operation: 81-53=28
Current State: 46:[74, 28], Operations: ['16+58=74', '81-53=28']
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[16, 58, 53, 81], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [16, 81, 5]
Generated Node #0,0: 46:[16, 81, 5] Operation: 58-53=5
Exploring Operation: 58-16=42, Resulting Numbers: [53, 81, 42]
Generated Node #0,1: 46:[53, 81, 42] Operation: 58-16=42
Exploring Operation: 81-53=28, Resulting Numbers: [16, 58, 28]
Generated Node #0,2: 46:[16, 58, 28] Operation: 81-53=28
Exploring Operation: 81-58=23, Resulting Numbers: [16, 53, 23]
Generated Node #0,3: 46:[16, 53, 23] Operation: 81-58=23
Exploring Operation: 81-16=65, Resulting Numbers: [58, 53, 65]
Generated Node #0,4: 46:[58, 53, 65] Operation: 81-16=65
Moving to Node #0,3
Current State: 46:[16, 53, 23], Operations: ['81-58=23']
Exploring Operation: 23-16=7, Resulting Numbers: [53, 7]
Generated Node #0,3,0: 46:[53, 7] Operation: 23-16=7
Exploring Operation: 16+23=39, Resulting Numbers: [53, 39]
Generated Node #0,3,1: 46:[53, 39] Operation: 16+23=39
Exploring Operation: 53-16=37, Resulting Numbers: [23, 37]
Generated Node #0,3,2: 46:[23, 37] Operation: 53-16=37
Exploring Operation: 53-23=30, Resulting Numbers: [16, 30]
Generated Node #0,3,3: 46:[16, 30] Operation: 53-23=30
Exploring Operation: 16+53=69, Resulting Numbers: [23, 69]
Generated Node #0,3,4: 46:[23, 69] Operation: 16+53=69
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[23, 37], Operations: ['81-58=23', '53-16=37']
Exploring Operation: 37-23=14, Resulting Numbers: [14]
14,46 unequal: No Solution
Exploring Operation: 23+37=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 23*37=851, Resulting Numbers: [851]
851,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,3,0
Current State: 46:[53, 7], Operations: ['81-58=23', '23-16=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,46 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[16, 58, 53, 81], Operations: []
Exploring Operation: 81-58=23, Resulting Numbers: [16, 53, 23]
Generated Node #0,3: 46:[16, 53, 23] Operation: 81-58=23
Moving to Node #0,3
Current State: 46:[16, 53, 23], Operations: ['81-58=23']
Exploring Operation: 23-16=7, Resulting Numbers: [53, 7]
Generated Node #0,3,0: 46:[53, 7] Operation: 23-16=7
Moving to Node #0,3,0
Current State: 46:[53, 7], Operations: ['81-58=23', '23-16=7']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
9,
35,
34,
2
] | 61 | [
"9+35=44",
"34/2=17",
"44+17=61"
] | Current State: 61:[9, 35, 34, 2], Operations: []
Exploring Operation: 9+35=44, Resulting Numbers: [34, 2, 44]
Generated Node #2: [34, 2, 44] from Operation: 9+35=44
Current State: 61:[34, 2, 44], Operations: ['9+35=44']
Exploring Operation: 34/2=17, Resulting Numbers: [44, 17]
Generated Node #3: [44, 17] from Operation: 34/2=17
Current State: 61:[44, 17], Operations: ['9+35=44', '34/2=17']
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[9, 35, 34, 2], Operations: []
Exploring Operation: 34*2=68, Resulting Numbers: [9, 35, 68]
Generated Node #0,0: 61:[9, 35, 68] Operation: 34*2=68
Exploring Operation: 35*2=70, Resulting Numbers: [9, 34, 70]
Generated Node #0,1: 61:[9, 34, 70] Operation: 35*2=70
Moving to Node #0,0
Current State: 61:[9, 35, 68], Operations: ['34*2=68']
Exploring Operation: 68-9=59, Resulting Numbers: [35, 59]
Generated Node #0,0,0: 61:[35, 59] Operation: 68-9=59
Exploring Operation: 9+35=44, Resulting Numbers: [68, 44]
Generated Node #0,0,1: 61:[68, 44] Operation: 9+35=44
Moving to Node #0,1
Current State: 61:[9, 34, 70], Operations: ['35*2=70']
Exploring Operation: 9+34=43, Resulting Numbers: [70, 43]
Generated Node #0,1,0: 61:[70, 43] Operation: 9+34=43
Exploring Operation: 70-9=61, Resulting Numbers: [34, 61]
Generated Node #0,1,1: 61:[34, 61] Operation: 70-9=61
Moving to Node #0,0,1
Current State: 61:[68, 44], Operations: ['34*2=68', '9+35=44']
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[70, 43], Operations: ['35*2=70', '9+34=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[34, 61], Operations: ['35*2=70', '70-9=61']
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,61 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[35, 59], Operations: ['34*2=68', '68-9=59']
Exploring Operation: 35+59=94, Resulting Numbers: [94]
94,61 unequal: No Solution
Exploring Operation: 59-35=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
82,
74,
17
] | 71 | [
"74-65=9",
"17*9=153",
"153-82=71"
] | Current State: 71:[65, 82, 74, 17], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [82, 17, 9]
Generated Node #2: [82, 17, 9] from Operation: 74-65=9
Current State: 71:[82, 17, 9], Operations: ['74-65=9']
Exploring Operation: 17*9=153, Resulting Numbers: [82, 153]
Generated Node #3: [82, 153] from Operation: 17*9=153
Current State: 71:[82, 153], Operations: ['74-65=9', '17*9=153']
Exploring Operation: 153-82=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[65, 82, 74, 17], Operations: []
Exploring Operation: 65+17=82, Resulting Numbers: [82, 74, 82]
Generated Node #0,0: 71:[82, 74, 82] Operation: 65+17=82
Exploring Operation: 82-17=65, Resulting Numbers: [65, 74, 65]
Generated Node #0,1: 71:[65, 74, 65] Operation: 82-17=65
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[65, 74, 65], Operations: ['82-17=65']
Exploring Operation: 65+65=130, Resulting Numbers: [74, 130]
Generated Node #0,1,0: 71:[74, 130] Operation: 65+65=130
Exploring Operation: 74-65=9, Resulting Numbers: [65, 9]
Generated Node #0,1,1: 71:[65, 9] Operation: 74-65=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[74, 130], Operations: ['82-17=65', '65+65=130']
Exploring Operation: 74+130=204, Resulting Numbers: [204]
204,71 unequal: No Solution
Exploring Operation: 130-74=56, Resulting Numbers: [56]
56,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[65, 9], Operations: ['82-17=65', '74-65=9']
Exploring Operation: 65+9=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 65-9=56, Resulting Numbers: [56]
56,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[82, 74, 82], Operations: ['65+17=82']
Exploring Operation: 82/82=1, Resulting Numbers: [74, 1]
Generated Node #0,0,0: 71:[74, 1] Operation: 82/82=1
Exploring Operation: 82-74=8, Resulting Numbers: [82, 8]
Generated Node #0,0,1: 71:[82, 8] Operation: 82-74=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[74, 1], Operations: ['65+17=82', '82/82=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[82, 8], Operations: ['65+17=82', '82-74=8']
Exploring Operation: 82-8=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
10,
55,
88,
55
] | 78 | [
"10+55=65",
"88+55=143",
"143-65=78"
] | Current State: 78:[10, 55, 88, 55], Operations: []
Exploring Operation: 10+55=65, Resulting Numbers: [88, 65]
Generated Node #2: [88, 65] from Operation: 10+55=65
Current State: 78:[88, 65], Operations: ['10+55=65']
Exploring Operation: 88+55=143, Resulting Numbers: [65, 143]
Generated Node #3: [65, 143] from Operation: 88+55=143
Current State: 78:[65, 143], Operations: ['10+55=65', '88+55=143']
Exploring Operation: 143-65=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[10, 55, 88, 55], Operations: []
Exploring Operation: 55-55=0, Resulting Numbers: [10, 88, 0]
Generated Node #0,0: 78:[10, 88, 0] Operation: 55-55=0
Exploring Operation: 55/55=1, Resulting Numbers: [10, 88, 1]
Generated Node #0,1: 78:[10, 88, 1] Operation: 55/55=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[10, 88, 1], Operations: ['55/55=1']
Exploring Operation: 88-10=78, Resulting Numbers: [1, 78]
Generated Node #0,1,0: 78:[1, 78] Operation: 88-10=78
Exploring Operation: 10+1=11, Resulting Numbers: [88, 11]
Generated Node #0,1,1: 78:[88, 11] Operation: 10+1=11
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 78:[1, 78], Operations: ['55/55=1', '88-10=78']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[10, 55, 88, 55], Operations: []
Exploring Operation: 55/55=1, Resulting Numbers: [10, 88, 1]
Generated Node #0,1: 78:[10, 88, 1] Operation: 55/55=1
Moving to Node #0,1
Current State: 78:[10, 88, 1], Operations: ['55/55=1']
Exploring Operation: 88-10=78, Resulting Numbers: [1, 78]
Generated Node #0,1,0: 78:[1, 78] Operation: 88-10=78
Moving to Node #0,1,0
Current State: 78:[1, 78], Operations: ['55/55=1', '88-10=78']
Exploring Operation: 78/1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
14,
43,
6,
21
] | 42 | [
"14+43=57",
"21-6=15",
"57-15=42"
] | Current State: 42:[14, 43, 6, 21], Operations: []
Exploring Operation: 14+43=57, Resulting Numbers: [6, 21, 57]
Generated Node #2: [6, 21, 57] from Operation: 14+43=57
Current State: 42:[6, 21, 57], Operations: ['14+43=57']
Exploring Operation: 21-6=15, Resulting Numbers: [57, 15]
Generated Node #3: [57, 15] from Operation: 21-6=15
Current State: 42:[57, 15], Operations: ['14+43=57', '21-6=15']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[14, 43, 6, 21], Operations: []
Exploring Operation: 14+6=20, Resulting Numbers: [43, 21, 20]
Generated Node #0,0: 42:[43, 21, 20] Operation: 14+6=20
Exploring Operation: 21-14=7, Resulting Numbers: [43, 6, 7]
Generated Node #0,1: 42:[43, 6, 7] Operation: 21-14=7
Exploring Operation: 43-21=22, Resulting Numbers: [14, 6, 22]
Generated Node #0,2: 42:[14, 6, 22] Operation: 43-21=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[43, 6, 7], Operations: ['21-14=7']
Exploring Operation: 6+7=13, Resulting Numbers: [43, 13]
Generated Node #0,1,0: 42:[43, 13] Operation: 6+7=13
Exploring Operation: 6*7=42, Resulting Numbers: [43, 42]
Generated Node #0,1,1: 42:[43, 42] Operation: 6*7=42
Exploring Operation: 7-6=1, Resulting Numbers: [43, 1]
Generated Node #0,1,2: 42:[43, 1] Operation: 7-6=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[43, 42], Operations: ['21-14=7', '6*7=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,42 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,42 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,42 unequal: No Solution
No 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: 42:[43, 13], Operations: ['21-14=7', '6+7=13']
Exploring Operation: 43*13=559, Resulting Numbers: [559]
559,42 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,42 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,42 unequal: No Solution
No 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: 42:[43, 1], Operations: ['21-14=7', '7-6=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,42 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[14, 43, 6, 21], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [43, 6, 7]
Generated Node #0,1: 42:[43, 6, 7] Operation: 21-14=7
Moving to Node #0,1
Current State: 42:[43, 6, 7], Operations: ['21-14=7']
Exploring Operation: 7-6=1, Resulting Numbers: [43, 1]
Generated Node #0,1,2: 42:[43, 1] Operation: 7-6=1
Moving to Node #0,1,2
Current State: 42:[43, 1], Operations: ['21-14=7', '7-6=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
83,
49,
89,
90
] | 82 | [
"90-83=7",
"49/7=7",
"89-7=82"
] | Current State: 82:[83, 49, 89, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [49, 89, 7]
Generated Node #2: [49, 89, 7] from Operation: 90-83=7
Current State: 82:[49, 89, 7], Operations: ['90-83=7']
Exploring Operation: 49/7=7, Resulting Numbers: [89, 7]
Generated Node #3: [89, 7] from Operation: 49/7=7
Current State: 82:[89, 7], Operations: ['90-83=7', '49/7=7']
Exploring Operation: 89-7=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[83, 49, 89, 90], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [83, 89, 41]
Generated Node #0,0: 82:[83, 89, 41] Operation: 90-49=41
Exploring Operation: 90-89=1, Resulting Numbers: [83, 49, 1]
Generated Node #0,1: 82:[83, 49, 1] Operation: 90-89=1
Exploring Operation: 89-49=40, Resulting Numbers: [83, 90, 40]
Generated Node #0,2: 82:[83, 90, 40] Operation: 89-49=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[83, 89, 41], Operations: ['90-49=41']
Exploring Operation: 83-41=42, Resulting Numbers: [89, 42]
Generated Node #0,0,0: 82:[89, 42] Operation: 83-41=42
Exploring Operation: 89-83=6, Resulting Numbers: [41, 6]
Generated Node #0,0,1: 82:[41, 6] Operation: 89-83=6
Exploring Operation: 89-41=48, Resulting Numbers: [83, 48]
Generated Node #0,0,2: 82:[83, 48] Operation: 89-41=48
Moving to Node #0,0,1
Current State: 82:[41, 6], Operations: ['90-49=41', '89-83=6']
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,82 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[89, 42], Operations: ['90-49=41', '83-41=42']
Exploring Operation: 89*42=3738, Resulting Numbers: [3738]
3738,82 unequal: No Solution
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 89+42=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[83, 48], Operations: ['90-49=41', '89-41=48']
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[83, 49, 1], Operations: ['90-89=1']
Exploring Operation: 83-1=82, Resulting Numbers: [49, 82]
Generated Node #0,1,0: 82:[49, 82] Operation: 83-1=82
Exploring Operation: 49-1=48, Resulting Numbers: [83, 48]
Generated Node #0,1,1: 82:[83, 48] Operation: 49-1=48
Exploring Operation: 83-49=34, Resulting Numbers: [1, 34]
Generated Node #0,1,2: 82:[1, 34] Operation: 83-49=34
Moving to Node #0,1,0
Current State: 82:[49, 82], Operations: ['90-89=1', '83-1=82']
Exploring Operation: 49+82=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 49*82=4018, Resulting Numbers: [4018]
4018,82 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[83, 48], Operations: ['90-89=1', '49-1=48']
Exploring Operation: 83*48=3984, Resulting Numbers: [3984]
3984,82 unequal: No Solution
Exploring Operation: 83+48=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,82 unequal: No Solution
Moving to Node #0,1,2
Current State: 82:[1, 34], Operations: ['90-89=1', '83-49=34']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,82 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[83, 90, 40], Operations: ['89-49=40']
Exploring Operation: 90-40=50, Resulting Numbers: [83, 50]
Generated Node #0,2,0: 82:[83, 50] Operation: 90-40=50
Exploring Operation: 90-83=7, Resulting Numbers: [40, 7]
Generated Node #0,2,1: 82:[40, 7] Operation: 90-83=7
Exploring Operation: 83-40=43, Resulting Numbers: [90, 43]
Generated Node #0,2,2: 82:[90, 43] Operation: 83-40=43
Moving to Node #0,2,1
Current State: 82:[40, 7], Operations: ['89-49=40', '90-83=7']
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,82 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Moving to Node #0,2,0
Current State: 82:[83, 50], Operations: ['89-49=40', '90-40=50']
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,82 unequal: No Solution
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[90, 43], Operations: ['89-49=40', '83-40=43']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,82 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,82 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 |
[
39,
2,
8,
12
] | 71 | [
"39+8=47",
"2*12=24",
"47+24=71"
] | Current State: 71:[39, 2, 8, 12], Operations: []
Exploring Operation: 39+8=47, Resulting Numbers: [2, 12, 47]
Generated Node #2: [2, 12, 47] from Operation: 39+8=47
Current State: 71:[2, 12, 47], Operations: ['39+8=47']
Exploring Operation: 2*12=24, Resulting Numbers: [47, 24]
Generated Node #3: [47, 24] from Operation: 2*12=24
Current State: 71:[47, 24], Operations: ['39+8=47', '2*12=24']
Exploring Operation: 47+24=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[39, 2, 8, 12], Operations: []
Exploring Operation: 39+2=41, Resulting Numbers: [8, 12, 41]
Generated Node #0,0: 71:[8, 12, 41] Operation: 39+2=41
Exploring Operation: 8*12=96, Resulting Numbers: [39, 2, 96]
Generated Node #0,1: 71:[39, 2, 96] Operation: 8*12=96
Exploring Operation: 2*12=24, Resulting Numbers: [39, 8, 24]
Generated Node #0,2: 71:[39, 8, 24] Operation: 2*12=24
Exploring Operation: 2*8=16, Resulting Numbers: [39, 12, 16]
Generated Node #0,3: 71:[39, 12, 16] Operation: 2*8=16
Exploring Operation: 39*2=78, Resulting Numbers: [8, 12, 78]
Generated Node #0,4: 71:[8, 12, 78] Operation: 39*2=78
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[39, 2, 96], Operations: ['8*12=96']
Exploring Operation: 96-2=94, Resulting Numbers: [39, 94]
Generated Node #0,1,0: 71:[39, 94] Operation: 96-2=94
Exploring Operation: 39*2=78, Resulting Numbers: [96, 78]
Generated Node #0,1,1: 71:[96, 78] Operation: 39*2=78
Exploring Operation: 39-2=37, Resulting Numbers: [96, 37]
Generated Node #0,1,2: 71:[96, 37] Operation: 39-2=37
Exploring Operation: 96/2=48, Resulting Numbers: [39, 48]
Generated Node #0,1,3: 71:[39, 48] Operation: 96/2=48
Exploring Operation: 39+2=41, Resulting Numbers: [96, 41]
Generated Node #0,1,4: 71:[96, 41] Operation: 39+2=41
Moving to Node #0,1,1
Current State: 71:[96, 78], Operations: ['8*12=96', '39*2=78']
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 96+78=174, Resulting Numbers: [174]
174,71 unequal: No Solution
Exploring Operation: 96*78=7488, Resulting Numbers: [7488]
7488,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[39, 48], Operations: ['8*12=96', '96/2=48']
Exploring Operation: 39*48=1872, Resulting Numbers: [1872]
1872,71 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,71 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[39, 94], Operations: ['8*12=96', '96-2=94']
Exploring Operation: 39+94=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 39*94=3666, Resulting Numbers: [3666]
3666,71 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[96, 41], Operations: ['8*12=96', '39+2=41']
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,71 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[96, 37], Operations: ['8*12=96', '39-2=37']
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 96*37=3552, Resulting Numbers: [3552]
3552,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
Current State: 71:[8, 12, 78], Operations: ['39*2=78']
Exploring Operation: 78-12=66, Resulting Numbers: [8, 66]
Generated Node #0,4,0: 71:[8, 66] Operation: 78-12=66
Exploring Operation: 12-8=4, Resulting Numbers: [78, 4]
Generated Node #0,4,1: 71:[78, 4] Operation: 12-8=4
Exploring Operation: 8*12=96, Resulting Numbers: [78, 96]
Generated Node #0,4,2: 71:[78, 96] Operation: 8*12=96
Exploring Operation: 78-8=70, Resulting Numbers: [12, 70]
Generated Node #0,4,3: 71:[12, 70] Operation: 78-8=70
Exploring Operation: 8+12=20, Resulting Numbers: [78, 20]
Generated Node #0,4,4: 71:[78, 20] Operation: 8+12=20
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 71:[78, 96], Operations: ['39*2=78', '8*12=96']
Exploring Operation: 96-78=18, Resulting Numbers: [18]
18,71 unequal: No Solution
Exploring Operation: 78+96=174, Resulting Numbers: [174]
174,71 unequal: No Solution
Exploring Operation: 78*96=7488, Resulting Numbers: [7488]
7488,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 71:[78, 20], Operations: ['39*2=78', '8+12=20']
Exploring Operation: 78+20=98, Resulting Numbers: [98]
98,71 unequal: No Solution
Exploring Operation: 78*20=1560, Resulting Numbers: [1560]
1560,71 unequal: No Solution
Exploring Operation: 78-20=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 71:[12, 70], Operations: ['39*2=78', '78-8=70']
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,71 unequal: No Solution
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,71 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 71:[8, 66], Operations: ['39*2=78', '78-12=66']
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,71 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 71:[78, 4], Operations: ['39*2=78', '12-8=4']
Exploring Operation: 78*4=312, Resulting Numbers: [312]
312,71 unequal: No Solution
Exploring Operation: 78-4=74, Resulting Numbers: [74]
74,71 unequal: No Solution
Exploring Operation: 78+4=82, Resulting Numbers: [82]
82,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[39, 8, 24], Operations: ['2*12=24']
Exploring Operation: 24-8=16, Resulting Numbers: [39, 16]
Generated Node #0,2,0: 71:[39, 16] Operation: 24-8=16
Exploring Operation: 8+24=32, Resulting Numbers: [39, 32]
Generated Node #0,2,1: 71:[39, 32] Operation: 8+24=32
Exploring Operation: 39+8=47, Resulting Numbers: [24, 47]
Generated Node #0,2,2: 71:[24, 47] Operation: 39+8=47
Exploring Operation: 39+24=63, Resulting Numbers: [8, 63]
Generated Node #0,2,3: 71:[8, 63] Operation: 39+24=63
Exploring Operation: 39-8=31, Resulting Numbers: [24, 31]
Generated Node #0,2,4: 71:[24, 31] Operation: 39-8=31
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 71:[39, 32], Operations: ['2*12=24', '8+24=32']
Exploring Operation: 39*32=1248, Resulting Numbers: [1248]
1248,71 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,71 unequal: No Solution
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[39, 2, 8, 12], Operations: []
Exploring Operation: 2*12=24, Resulting Numbers: [39, 8, 24]
Generated Node #0,2: 71:[39, 8, 24] Operation: 2*12=24
Moving to Node #0,2
Current State: 71:[39, 8, 24], Operations: ['2*12=24']
Exploring Operation: 8+24=32, Resulting Numbers: [39, 32]
Generated Node #0,2,1: 71:[39, 32] Operation: 8+24=32
Moving to Node #0,2,1
Current State: 71:[39, 32], Operations: ['2*12=24', '8+24=32']
Exploring Operation: 39+32=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
88,
7,
9,
34
] | 59 | [
"88+34=122",
"7*9=63",
"122-63=59"
] | Current State: 59:[88, 7, 9, 34], Operations: []
Exploring Operation: 88+34=122, Resulting Numbers: [7, 9, 122]
Generated Node #2: [7, 9, 122] from Operation: 88+34=122
Current State: 59:[7, 9, 122], Operations: ['88+34=122']
Exploring Operation: 7*9=63, Resulting Numbers: [122, 63]
Generated Node #3: [122, 63] from Operation: 7*9=63
Current State: 59:[122, 63], Operations: ['88+34=122', '7*9=63']
Exploring Operation: 122-63=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[88, 7, 9, 34], Operations: []
Exploring Operation: 7*9=63, Resulting Numbers: [88, 34, 63]
Generated Node #0,0: 59:[88, 34, 63] Operation: 7*9=63
Moving to Node #0,0
Current State: 59:[88, 34, 63], Operations: ['7*9=63']
Exploring Operation: 88-34=54, Resulting Numbers: [63, 54]
Generated Node #0,0,0: 59:[63, 54] Operation: 88-34=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[63, 54], Operations: ['7*9=63', '88-34=54']
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
41,
19,
19,
31
] | 10 | [
"41+19=60",
"19+31=50",
"60-50=10"
] | Current State: 10:[41, 19, 19, 31], Operations: []
Exploring Operation: 41+19=60, Resulting Numbers: [31, 60]
Generated Node #2: [31, 60] from Operation: 41+19=60
Current State: 10:[31, 60], Operations: ['41+19=60']
Exploring Operation: 19+31=50, Resulting Numbers: [60, 50]
Generated Node #3: [60, 50] from Operation: 19+31=50
Current State: 10:[60, 50], Operations: ['41+19=60', '19+31=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[41, 19, 19, 31], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [19, 31, 22]
Generated Node #0,0: 10:[19, 31, 22] Operation: 41-19=22
Exploring Operation: 31-19=12, Resulting Numbers: [41, 19, 12]
Generated Node #0,1: 10:[41, 19, 12] Operation: 31-19=12
Exploring Operation: 41-31=10, Resulting Numbers: [19, 19, 10]
Generated Node #0,2: 10:[19, 19, 10] Operation: 41-31=10
Exploring Operation: 31-19=12, Resulting Numbers: [41, 19, 12]
Generated Node #0,3: 10:[41, 19, 12] Operation: 31-19=12
Exploring Operation: 41-19=22, Resulting Numbers: [19, 31, 22]
Generated Node #0,4: 10:[19, 31, 22] Operation: 41-19=22
Moving to Node #0,2
Current State: 10:[19, 19, 10], Operations: ['41-31=10']
Exploring Operation: 19/19=1, Resulting Numbers: [10, 1]
Generated Node #0,2,0: 10:[10, 1] Operation: 19/19=1
Exploring Operation: 19-19=0, Resulting Numbers: [10, 0]
Generated Node #0,2,1: 10:[10, 0] Operation: 19-19=0
Exploring Operation: 19+19=38, Resulting Numbers: [10, 38]
Generated Node #0,2,2: 10:[10, 38] Operation: 19+19=38
Exploring Operation: 19-10=9, Resulting Numbers: [19, 9]
Generated Node #0,2,3: 10:[19, 9] Operation: 19-10=9
Exploring Operation: 19-10=9, Resulting Numbers: [19, 9]
Generated Node #0,2,4: 10:[19, 9] Operation: 19-10=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[10, 1], Operations: ['41-31=10', '19/19=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[41, 19, 19, 31], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [19, 19, 10]
Generated Node #0,2: 10:[19, 19, 10] Operation: 41-31=10
Moving to Node #0,2
Current State: 10:[19, 19, 10], Operations: ['41-31=10']
Exploring Operation: 19/19=1, Resulting Numbers: [10, 1]
Generated Node #0,2,0: 10:[10, 1] Operation: 19/19=1
Moving to Node #0,2,0
Current State: 10:[10, 1], Operations: ['41-31=10', '19/19=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
85,
4,
5,
4
] | 33 | [
"85/5=17",
"4*4=16",
"17+16=33"
] | Current State: 33:[85, 4, 5, 4], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [4, 4, 17]
Generated Node #2: [4, 4, 17] from Operation: 85/5=17
Current State: 33:[4, 4, 17], Operations: ['85/5=17']
Exploring Operation: 4*4=16, Resulting Numbers: [17, 16]
Generated Node #3: [17, 16] from Operation: 4*4=16
Current State: 33:[17, 16], Operations: ['85/5=17', '4*4=16']
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[85, 4, 5, 4], Operations: []
Exploring Operation: 85-5=80, Resulting Numbers: [4, 4, 80]
Generated Node #0,0: 33:[4, 4, 80] Operation: 85-5=80
Exploring Operation: 85-4=81, Resulting Numbers: [5, 4, 81]
Generated Node #0,1: 33:[5, 4, 81] Operation: 85-4=81
Exploring Operation: 85/5=17, Resulting Numbers: [4, 4, 17]
Generated Node #0,2: 33:[4, 4, 17] Operation: 85/5=17
Exploring Operation: 85-4=81, Resulting Numbers: [4, 5, 81]
Generated Node #0,3: 33:[4, 5, 81] Operation: 85-4=81
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[4, 4, 17], Operations: ['85/5=17']
Exploring Operation: 17-4=13, Resulting Numbers: [4, 13]
Generated Node #0,2,0: 33:[4, 13] Operation: 17-4=13
Exploring Operation: 17-4=13, Resulting Numbers: [4, 13]
Generated Node #0,2,1: 33:[4, 13] Operation: 17-4=13
Exploring Operation: 4/4=1, Resulting Numbers: [17, 1]
Generated Node #0,2,2: 33:[17, 1] Operation: 4/4=1
Exploring Operation: 4+4=8, Resulting Numbers: [17, 8]
Generated Node #0,2,3: 33:[17, 8] Operation: 4+4=8
Moving to Node #0,2,0
Current State: 33:[4, 13], Operations: ['85/5=17', '17-4=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[4, 13], Operations: ['85/5=17', '17-4=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[17, 1], Operations: ['85/5=17', '4/4=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,33 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[17, 8], Operations: ['85/5=17', '4+4=8']
Exploring Operation: 17*8=136, Resulting Numbers: [136]
136,33 unequal: No Solution
Exploring Operation: 17+8=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[4, 4, 80], Operations: ['85-5=80']
Exploring Operation: 80/4=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 33:[4, 20] Operation: 80/4=20
Exploring Operation: 80/4=20, Resulting Numbers: [4, 20]
Generated Node #0,0,1: 33:[4, 20] Operation: 80/4=20
Exploring Operation: 80-4=76, Resulting Numbers: [4, 76]
Generated Node #0,0,2: 33:[4, 76] Operation: 80-4=76
Exploring Operation: 80-4=76, Resulting Numbers: [4, 76]
Generated Node #0,0,3: 33:[4, 76] Operation: 80-4=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[4, 20], Operations: ['85-5=80', '80/4=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,33 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,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,0,1
Current State: 33:[4, 20], Operations: ['85-5=80', '80/4=20']
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,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,0,2
Current State: 33:[4, 76], Operations: ['85-5=80', '80-4=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,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,0,3
Current State: 33:[4, 76], Operations: ['85-5=80', '80-4=76']
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,33 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[5, 4, 81], Operations: ['85-4=81']
Exploring Operation: 81-4=77, Resulting Numbers: [5, 77]
Generated Node #0,1,0: 33:[5, 77] Operation: 81-4=77
Exploring Operation: 5-4=1, Resulting Numbers: [81, 1]
Generated Node #0,1,1: 33:[81, 1] Operation: 5-4=1
Exploring Operation: 81-5=76, Resulting Numbers: [4, 76]
Generated Node #0,1,2: 33:[4, 76] Operation: 81-5=76
Exploring Operation: 5+4=9, Resulting Numbers: [81, 9]
Generated Node #0,1,3: 33:[81, 9] Operation: 5+4=9
Moving to Node #0,1,2
Current State: 33:[4, 76], Operations: ['85-4=81', '81-5=76']
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,33 unequal: No Solution
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[5, 77], Operations: ['85-4=81', '81-4=77']
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 5*77=385, Resulting Numbers: [385]
385,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[81, 9], Operations: ['85-4=81', '5+4=9']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,33 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[81, 1], Operations: ['85-4=81', '5-4=1']
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[4, 5, 81], Operations: ['85-4=81']
Exploring Operation: 5-4=1, Resulting Numbers: [81, 1]
Generated Node #0,3,0: 33:[81, 1] Operation: 5-4=1
Exploring Operation: 81-5=76, Resulting Numbers: [4, 76]
Generated Node #0,3,1: 33:[4, 76] Operation: 81-5=76
Exploring Operation: 81-4=77, Resulting Numbers: [5, 77]
Generated Node #0,3,2: 33:[5, 77] Operation: 81-4=77
Exploring Operation: 4+5=9, Resulting Numbers: [81, 9]
Generated Node #0,3,3: 33:[81, 9] Operation: 4+5=9
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[4, 76], Operations: ['85-4=81', '81-5=76']
Exploring Operation: 76-4=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 4*76=304, Resulting Numbers: [304]
304,33 unequal: No Solution
Exploring Operation: 4+76=80, Resulting Numbers: [80]
80,33 unequal: No Solution
Exploring Operation: 76/4=19, Resulting Numbers: [19]
19,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[5, 77], Operations: ['85-4=81', '81-4=77']
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 5*77=385, Resulting Numbers: [385]
385,33 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[81, 1], Operations: ['85-4=81', '5-4=1']
Exploring Operation: 81+1=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 81/1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 81-1=80, Resulting Numbers: [80]
80,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[81, 9], Operations: ['85-4=81', '4+5=9']
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,33 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
62,
93,
31,
26
] | 23 | [
"62-31=31",
"93/31=3",
"26-3=23"
] | Current State: 23:[62, 93, 31, 26], Operations: []
Exploring Operation: 62-31=31, Resulting Numbers: [93, 26, 31]
Generated Node #2: [93, 26, 31] from Operation: 62-31=31
Current State: 23:[93, 26, 31], Operations: ['62-31=31']
Exploring Operation: 93/31=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 93/31=3
Current State: 23:[26, 3], Operations: ['62-31=31', '93/31=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[62, 93, 31, 26], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [62, 26, 3]
Generated Node #0,0: 23:[62, 26, 3] Operation: 93/31=3
Exploring Operation: 93-62=31, Resulting Numbers: [31, 26, 31]
Generated Node #0,1: 23:[31, 26, 31] Operation: 93-62=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[31, 26, 31], Operations: ['93-62=31']
Exploring Operation: 31/31=1, Resulting Numbers: [26, 1]
Generated Node #0,1,0: 23:[26, 1] Operation: 31/31=1
Exploring Operation: 31-26=5, Resulting Numbers: [31, 5]
Generated Node #0,1,1: 23:[31, 5] Operation: 31-26=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[26, 1], Operations: ['93-62=31', '31/31=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,23 unequal: No Solution
No 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: 23:[31, 5], Operations: ['93-62=31', '31-26=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Exploring Operation: 31+5=36, Resulting Numbers: [36]
36,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[62, 26, 3], Operations: ['93/31=3']
Exploring Operation: 62-26=36, Resulting Numbers: [3, 36]
Generated Node #0,0,0: 23:[3, 36] Operation: 62-26=36
Exploring Operation: 62-3=59, Resulting Numbers: [26, 59]
Generated Node #0,0,1: 23:[26, 59] Operation: 62-3=59
Moving to Node #0,0,0
Current State: 23:[3, 36], Operations: ['93/31=3', '62-26=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,23 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[26, 59], Operations: ['93/31=3', '62-3=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,23 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 |
[
9,
62,
67,
17
] | 68 | [
"9+62=71",
"71-67=4",
"17*4=68"
] | Current State: 68:[9, 62, 67, 17], Operations: []
Exploring Operation: 9+62=71, Resulting Numbers: [67, 17, 71]
Generated Node #2: [67, 17, 71] from Operation: 9+62=71
Current State: 68:[67, 17, 71], Operations: ['9+62=71']
Exploring Operation: 71-67=4, Resulting Numbers: [17, 4]
Generated Node #3: [17, 4] from Operation: 71-67=4
Current State: 68:[17, 4], Operations: ['9+62=71', '71-67=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[9, 62, 67, 17], Operations: []
Exploring Operation: 9+62=71, Resulting Numbers: [67, 17, 71]
Generated Node #0,0: 68:[67, 17, 71] Operation: 9+62=71
Moving to Node #0,0
Current State: 68:[67, 17, 71], Operations: ['9+62=71']
Exploring Operation: 71-67=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 68:[17, 4] Operation: 71-67=4
Moving to Node #0,0,0
Current State: 68:[17, 4], Operations: ['9+62=71', '71-67=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[9, 62, 67, 17], Operations: []
Exploring Operation: 9+62=71, Resulting Numbers: [67, 17, 71]
Generated Node #0,0: 68:[67, 17, 71] Operation: 9+62=71
Moving to Node #0,0
Current State: 68:[67, 17, 71], Operations: ['9+62=71']
Exploring Operation: 71-67=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 68:[17, 4] Operation: 71-67=4
Moving to Node #0,0,0
Current State: 68:[17, 4], Operations: ['9+62=71', '71-67=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
75,
26,
69,
34
] | 10 | [
"75-69=6",
"26+34=60",
"60/6=10"
] | Current State: 10:[75, 26, 69, 34], Operations: []
Exploring Operation: 75-69=6, Resulting Numbers: [26, 34, 6]
Generated Node #2: [26, 34, 6] from Operation: 75-69=6
Current State: 10:[26, 34, 6], Operations: ['75-69=6']
Exploring Operation: 26+34=60, Resulting Numbers: [6, 60]
Generated Node #3: [6, 60] from Operation: 26+34=60
Current State: 10:[6, 60], Operations: ['75-69=6', '26+34=60']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[75, 26, 69, 34], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [26, 69, 41]
Generated Node #0,0: 10:[26, 69, 41] Operation: 75-34=41
Exploring Operation: 75-26=49, Resulting Numbers: [69, 34, 49]
Generated Node #0,1: 10:[69, 34, 49] Operation: 75-26=49
Exploring Operation: 69-34=35, Resulting Numbers: [75, 26, 35]
Generated Node #0,2: 10:[75, 26, 35] Operation: 69-34=35
Exploring Operation: 75-69=6, Resulting Numbers: [26, 34, 6]
Generated Node #0,3: 10:[26, 34, 6] Operation: 75-69=6
Exploring Operation: 69-26=43, Resulting Numbers: [75, 34, 43]
Generated Node #0,4: 10:[75, 34, 43] Operation: 69-26=43
Moving to Node #0,3
Current State: 10:[26, 34, 6], Operations: ['75-69=6']
Exploring Operation: 26+6=32, Resulting Numbers: [34, 32]
Generated Node #0,3,0: 10:[34, 32] Operation: 26+6=32
Exploring Operation: 26-6=20, Resulting Numbers: [34, 20]
Generated Node #0,3,1: 10:[34, 20] Operation: 26-6=20
Exploring Operation: 34+6=40, Resulting Numbers: [26, 40]
Generated Node #0,3,2: 10:[26, 40] Operation: 34+6=40
Exploring Operation: 34-6=28, Resulting Numbers: [26, 28]
Generated Node #0,3,3: 10:[26, 28] Operation: 34-6=28
Exploring Operation: 34-26=8, Resulting Numbers: [6, 8]
Generated Node #0,3,4: 10:[6, 8] Operation: 34-26=8
Moving to Node #0,2
Current State: 10:[75, 26, 35], Operations: ['69-34=35']
Exploring Operation: 75-26=49, Resulting Numbers: [35, 49]
Generated Node #0,2,0: 10:[35, 49] Operation: 75-26=49
Exploring Operation: 75+35=110, Resulting Numbers: [26, 110]
Generated Node #0,2,1: 10:[26, 110] Operation: 75+35=110
Exploring Operation: 75-35=40, Resulting Numbers: [26, 40]
Generated Node #0,2,2: 10:[26, 40] Operation: 75-35=40
Exploring Operation: 35-26=9, Resulting Numbers: [75, 9]
Generated Node #0,2,3: 10:[75, 9] Operation: 35-26=9
Exploring Operation: 75+26=101, Resulting Numbers: [35, 101]
Generated Node #0,2,4: 10:[35, 101] Operation: 75+26=101
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[26, 40], Operations: ['69-34=35', '75-35=40']
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,10 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[35, 49], Operations: ['69-34=35', '75-26=49']
Exploring Operation: 35*49=1715, Resulting Numbers: [1715]
1715,10 unequal: No Solution
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 35+49=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[75, 9], Operations: ['69-34=35', '35-26=9']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[26, 110], Operations: ['69-34=35', '75+35=110']
Exploring Operation: 110-26=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 26*110=2860, Resulting Numbers: [2860]
2860,10 unequal: No Solution
Exploring Operation: 26+110=136, Resulting Numbers: [136]
136,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 10:[35, 101], Operations: ['69-34=35', '75+26=101']
Exploring Operation: 35+101=136, Resulting Numbers: [136]
136,10 unequal: No Solution
Exploring Operation: 35*101=3535, Resulting Numbers: [3535]
3535,10 unequal: No Solution
Exploring Operation: 101-35=66, Resulting Numbers: [66]
66,10 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: 10:[26, 69, 41], Operations: ['75-34=41']
Exploring Operation: 69-41=28, Resulting Numbers: [26, 28]
Generated Node #0,0,0: 10:[26, 28] Operation: 69-41=28
Exploring Operation: 41-26=15, Resulting Numbers: [69, 15]
Generated Node #0,0,1: 10:[69, 15] Operation: 41-26=15
Exploring Operation: 69-26=43, Resulting Numbers: [41, 43]
Generated Node #0,0,2: 10:[41, 43] Operation: 69-26=43
Exploring Operation: 26+41=67, Resulting Numbers: [69, 67]
Generated Node #0,0,3: 10:[69, 67] Operation: 26+41=67
Exploring Operation: 26+69=95, Resulting Numbers: [41, 95]
Generated Node #0,0,4: 10:[41, 95] Operation: 26+69=95
Moving to Node #0,1
Current State: 10:[69, 34, 49], Operations: ['75-26=49']
Exploring Operation: 49-34=15, Resulting Numbers: [69, 15]
Generated Node #0,1,0: 10:[69, 15] Operation: 49-34=15
Exploring Operation: 69-34=35, Resulting Numbers: [49, 35]
Generated Node #0,1,1: 10:[49, 35] Operation: 69-34=35
Exploring Operation: 69+49=118, Resulting Numbers: [34, 118]
Generated Node #0,1,2: 10:[34, 118] Operation: 69+49=118
Exploring Operation: 69+34=103, Resulting Numbers: [49, 103]
Generated Node #0,1,3: 10:[49, 103] Operation: 69+34=103
Exploring Operation: 69-49=20, Resulting Numbers: [34, 20]
Generated Node #0,1,4: 10:[34, 20] Operation: 69-49=20
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 10:[34, 20], Operations: ['75-26=49', '69-49=20']
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,10 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[69, 15], Operations: ['75-26=49', '49-34=15']
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,10 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[49, 35], Operations: ['75-26=49', '69-34=35']
Exploring Operation: 49-35=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 49*35=1715, Resulting Numbers: [1715]
1715,10 unequal: No Solution
Exploring Operation: 49+35=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[34, 118], Operations: ['75-26=49', '69+49=118']
Exploring Operation: 34+118=152, Resulting Numbers: [152]
152,10 unequal: No Solution
Exploring Operation: 118-34=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 34*118=4012, Resulting Numbers: [4012]
4012,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[49, 103], Operations: ['75-26=49', '69+34=103']
Exploring Operation: 49+103=152, Resulting Numbers: [152]
152,10 unequal: No Solution
Exploring Operation: 49*103=5047, Resulting Numbers: [5047]
5047,10 unequal: No Solution
Exploring Operation: 103-49=54, Resulting Numbers: [54]
54,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 10:[75, 34, 43], Operations: ['69-26=43']
Exploring Operation: 75-43=32, Resulting Numbers: [34, 32]
Generated Node #0,4,0: 10:[34, 32] Operation: 75-43=32
Exploring Operation: 75+43=118, Resulting Numbers: [34, 118]
Generated Node #0,4,1: 10:[34, 118] Operation: 75+43=118
Exploring Operation: 75+34=109, Resulting Numbers: [43, 109]
Generated Node #0,4,2: 10:[43, 109] Operation: 75+34=109
Exploring Operation: 75-34=41, Resulting Numbers: [43, 41]
Generated Node #0,4,3: 10:[43, 41] Operation: 75-34=41
Exploring Operation: 43-34=9, Resulting Numbers: [75, 9]
Generated Node #0,4,4: 10:[75, 9] Operation: 43-34=9
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 10:[34, 32], Operations: ['69-26=43', '75-43=32']
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,10 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 10:[43, 41], Operations: ['69-26=43', '75-34=41']
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,10 unequal: No Solution
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[75, 9], Operations: ['69-26=43', '43-34=9']
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 75*9=675, Resulting Numbers: [675]
675,10 unequal: No Solution
Exploring Operation: 75+9=84, Resulting Numbers: [84]
84,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 10:[34, 118], Operations: ['69-26=43', '75+43=118']
Exploring Operation: 34*118=4012, Resulting Numbers: [4012]
4012,10 unequal: No Solution
Exploring Operation: 118-34=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 34+118=152, Resulting Numbers: [152]
152,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 10:[43, 109], Operations: ['69-26=43', '75+34=109']
Exploring Operation: 109-43=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 43*109=4687, Resulting Numbers: [4687]
4687,10 unequal: No Solution
Exploring Operation: 43+109=152, Resulting Numbers: [152]
152,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,4
Current State: 10:[6, 8], Operations: ['75-69=6', '34-26=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[26, 28], Operations: ['75-69=6', '34-6=28']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[26, 28], Operations: ['75-34=41', '69-41=28']
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 26*28=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Exploring Operation: 26+28=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[34, 20], Operations: ['75-69=6', '26-6=20']
Exploring Operation: 34+20=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 34*20=680, Resulting Numbers: [680]
680,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[26, 40], Operations: ['75-69=6', '34+6=40']
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[34, 32], Operations: ['75-69=6', '26+6=32']
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,10 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,10 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[69, 15], Operations: ['75-34=41', '41-26=15']
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[41, 43], Operations: ['75-34=41', '69-26=43']
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,10 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,10 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[69, 67], Operations: ['75-34=41', '26+41=67']
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,10 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[41, 95], Operations: ['75-34=41', '26+69=95']
Exploring Operation: 41*95=3895, Resulting Numbers: [3895]
3895,10 unequal: No Solution
Exploring Operation: 41+95=136, Resulting Numbers: [136]
136,10 unequal: No Solution
Exploring Operation: 95-41=54, Resulting Numbers: [54]
54,10 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
14,
45,
15,
51
] | 34 | [
"51-14=37",
"45/15=3",
"37-3=34"
] | Current State: 34:[14, 45, 15, 51], Operations: []
Exploring Operation: 51-14=37, Resulting Numbers: [45, 15, 37]
Generated Node #2: [45, 15, 37] from Operation: 51-14=37
Current State: 34:[45, 15, 37], Operations: ['51-14=37']
Exploring Operation: 45/15=3, Resulting Numbers: [37, 3]
Generated Node #3: [37, 3] from Operation: 45/15=3
Current State: 34:[37, 3], Operations: ['51-14=37', '45/15=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[14, 45, 15, 51], Operations: []
Exploring Operation: 51-45=6, Resulting Numbers: [14, 15, 6]
Generated Node #0,0: 34:[14, 15, 6] Operation: 51-45=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[14, 15, 6], Operations: ['51-45=6']
Exploring Operation: 15-14=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 34:[6, 1] Operation: 15-14=1
Moving to Node #0,0,0
Current State: 34:[6, 1], Operations: ['51-45=6', '15-14=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,34 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 |
[
68,
17,
91,
77
] | 71 | [
"68+17=85",
"91-77=14",
"85-14=71"
] | Current State: 71:[68, 17, 91, 77], Operations: []
Exploring Operation: 68+17=85, Resulting Numbers: [91, 77, 85]
Generated Node #2: [91, 77, 85] from Operation: 68+17=85
Current State: 71:[91, 77, 85], Operations: ['68+17=85']
Exploring Operation: 91-77=14, Resulting Numbers: [85, 14]
Generated Node #3: [85, 14] from Operation: 91-77=14
Current State: 71:[85, 14], Operations: ['68+17=85', '91-77=14']
Exploring Operation: 85-14=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[68, 17, 91, 77], Operations: []
Exploring Operation: 77-17=60, Resulting Numbers: [68, 91, 60]
Generated Node #0,0: 71:[68, 91, 60] Operation: 77-17=60
Exploring Operation: 91-17=74, Resulting Numbers: [68, 77, 74]
Generated Node #0,1: 71:[68, 77, 74] Operation: 91-17=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[68, 77, 74], Operations: ['91-17=74']
Exploring Operation: 77-68=9, Resulting Numbers: [74, 9]
Generated Node #0,1,0: 71:[74, 9] Operation: 77-68=9
Exploring Operation: 74-68=6, Resulting Numbers: [77, 6]
Generated Node #0,1,1: 71:[77, 6] Operation: 74-68=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 71:[74, 9], Operations: ['91-17=74', '77-68=9']
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[77, 6], Operations: ['91-17=74', '74-68=6']
Exploring Operation: 77+6=83, Resulting Numbers: [83]
83,71 unequal: No Solution
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[68, 17, 91, 77], Operations: []
Exploring Operation: 91-17=74, Resulting Numbers: [68, 77, 74]
Generated Node #0,1: 71:[68, 77, 74] Operation: 91-17=74
Moving to Node #0,1
Current State: 71:[68, 77, 74], Operations: ['91-17=74']
Exploring Operation: 74-68=6, Resulting Numbers: [77, 6]
Generated Node #0,1,1: 71:[77, 6] Operation: 74-68=6
Moving to Node #0,1,1
Current State: 71:[77, 6], Operations: ['91-17=74', '74-68=6']
Exploring Operation: 77-6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
65,
12,
44,
14
] | 61 | [
"12+44=56",
"56/14=4",
"65-4=61"
] | Current State: 61:[65, 12, 44, 14], Operations: []
Exploring Operation: 12+44=56, Resulting Numbers: [65, 14, 56]
Generated Node #2: [65, 14, 56] from Operation: 12+44=56
Current State: 61:[65, 14, 56], Operations: ['12+44=56']
Exploring Operation: 56/14=4, Resulting Numbers: [65, 4]
Generated Node #3: [65, 4] from Operation: 56/14=4
Current State: 61:[65, 4], Operations: ['12+44=56', '56/14=4']
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[65, 12, 44, 14], Operations: []
Exploring Operation: 44+14=58, Resulting Numbers: [65, 12, 58]
Generated Node #0,0: 61:[65, 12, 58] Operation: 44+14=58
Exploring Operation: 12+14=26, Resulting Numbers: [65, 44, 26]
Generated Node #0,1: 61:[65, 44, 26] Operation: 12+14=26
Exploring Operation: 12+44=56, Resulting Numbers: [65, 14, 56]
Generated Node #0,2: 61:[65, 14, 56] Operation: 12+44=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[65, 12, 58], Operations: ['44+14=58']
Exploring Operation: 65+12=77, Resulting Numbers: [58, 77]
Generated Node #0,0,0: 61:[58, 77] Operation: 65+12=77
Exploring Operation: 65-12=53, Resulting Numbers: [58, 53]
Generated Node #0,0,1: 61:[58, 53] Operation: 65-12=53
Exploring Operation: 12+58=70, Resulting Numbers: [65, 70]
Generated Node #0,0,2: 61:[65, 70] Operation: 12+58=70
Moving to Node #0,0,1
Current State: 61:[58, 53], Operations: ['44+14=58', '65-12=53']
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,61 unequal: No Solution
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,61 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[65, 70], Operations: ['44+14=58', '12+58=70']
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,61 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[58, 77], Operations: ['44+14=58', '65+12=77']
Exploring Operation: 77-58=19, Resulting Numbers: [19]
19,61 unequal: No Solution
Exploring Operation: 58*77=4466, Resulting Numbers: [4466]
4466,61 unequal: No Solution
Exploring Operation: 58+77=135, Resulting Numbers: [135]
135,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[65, 44, 26], Operations: ['12+14=26']
Exploring Operation: 65-26=39, Resulting Numbers: [44, 39]
Generated Node #0,1,0: 61:[44, 39] Operation: 65-26=39
Exploring Operation: 44+26=70, Resulting Numbers: [65, 70]
Generated Node #0,1,1: 61:[65, 70] Operation: 44+26=70
Exploring Operation: 65+26=91, Resulting Numbers: [44, 91]
Generated Node #0,1,2: 61:[44, 91] Operation: 65+26=91
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[65, 70], Operations: ['12+14=26', '44+26=70']
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,61 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,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:[44, 39], Operations: ['12+14=26', '65-26=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,61 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,61 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,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:[44, 91], Operations: ['12+14=26', '65+26=91']
Exploring Operation: 44*91=4004, Resulting Numbers: [4004]
4004,61 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 44+91=135, Resulting Numbers: [135]
135,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[65, 14, 56], Operations: ['12+44=56']
Exploring Operation: 65+14=79, Resulting Numbers: [56, 79]
Generated Node #0,2,0: 61:[56, 79] Operation: 65+14=79
Exploring Operation: 14+56=70, Resulting Numbers: [65, 70]
Generated Node #0,2,1: 61:[65, 70] Operation: 14+56=70
Exploring Operation: 65-14=51, Resulting Numbers: [56, 51]
Generated Node #0,2,2: 61:[56, 51] Operation: 65-14=51
Moving to Node #0,2,1
Current State: 61:[65, 70], Operations: ['12+44=56', '14+56=70']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,61 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[56, 51], Operations: ['12+44=56', '65-14=51']
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,61 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,61 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[56, 79], Operations: ['12+44=56', '65+14=79']
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,61 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,61 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
75,
51,
10,
5
] | 68 | [
"75+10=85",
"85/5=17",
"51+17=68"
] | Current State: 68:[75, 51, 10, 5], Operations: []
Exploring Operation: 75+10=85, Resulting Numbers: [51, 5, 85]
Generated Node #2: [51, 5, 85] from Operation: 75+10=85
Current State: 68:[51, 5, 85], Operations: ['75+10=85']
Exploring Operation: 85/5=17, Resulting Numbers: [51, 17]
Generated Node #3: [51, 17] from Operation: 85/5=17
Current State: 68:[51, 17], Operations: ['75+10=85', '85/5=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[75, 51, 10, 5], Operations: []
Exploring Operation: 51+10=61, Resulting Numbers: [75, 5, 61]
Generated Node #0,0: 68:[75, 5, 61] Operation: 51+10=61
Exploring Operation: 75-51=24, Resulting Numbers: [10, 5, 24]
Generated Node #0,1: 68:[10, 5, 24] Operation: 75-51=24
Exploring Operation: 51-10=41, Resulting Numbers: [75, 5, 41]
Generated Node #0,2: 68:[75, 5, 41] Operation: 51-10=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[10, 5, 24], Operations: ['75-51=24']
Exploring Operation: 24-10=14, Resulting Numbers: [5, 14]
Generated Node #0,1,0: 68:[5, 14] Operation: 24-10=14
Exploring Operation: 10+24=34, Resulting Numbers: [5, 34]
Generated Node #0,1,1: 68:[5, 34] Operation: 10+24=34
Exploring Operation: 10/5=2, Resulting Numbers: [24, 2]
Generated Node #0,1,2: 68:[24, 2] Operation: 10/5=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[5, 34], Operations: ['75-51=24', '10+24=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[5, 14], Operations: ['75-51=24', '24-10=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[24, 2], Operations: ['75-51=24', '10/5=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,68 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[75, 5, 61], Operations: ['51+10=61']
Exploring Operation: 75-5=70, Resulting Numbers: [61, 70]
Generated Node #0,0,0: 68:[61, 70] Operation: 75-5=70
Exploring Operation: 75/5=15, Resulting Numbers: [61, 15]
Generated Node #0,0,1: 68:[61, 15] Operation: 75/5=15
Exploring Operation: 75-61=14, Resulting Numbers: [5, 14]
Generated Node #0,0,2: 68:[5, 14] Operation: 75-61=14
Moving to Node #0,0,2
Current State: 68:[5, 14], Operations: ['51+10=61', '75-61=14']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[61, 70], Operations: ['51+10=61', '75-5=70']
Exploring Operation: 70-61=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 61+70=131, Resulting Numbers: [131]
131,68 unequal: No Solution
Exploring Operation: 61*70=4270, Resulting Numbers: [4270]
4270,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[61, 15], Operations: ['51+10=61', '75/5=15']
Exploring Operation: 61*15=915, Resulting Numbers: [915]
915,68 unequal: No Solution
Exploring Operation: 61+15=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 61-15=46, Resulting Numbers: [46]
46,68 unequal: No Solution
No 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: 68:[75, 5, 41], Operations: ['51-10=41']
Exploring Operation: 75-41=34, Resulting Numbers: [5, 34]
Generated Node #0,2,0: 68:[5, 34] Operation: 75-41=34
Exploring Operation: 75/5=15, Resulting Numbers: [41, 15]
Generated Node #0,2,1: 68:[41, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [41, 70]
Generated Node #0,2,2: 68:[41, 70] Operation: 75-5=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 68:[5, 34], Operations: ['51-10=41', '75-41=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,68 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 5*34=170, Resulting Numbers: [170]
170,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 68:[41, 15], Operations: ['51-10=41', '75/5=15']
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,68 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 68:[41, 70], Operations: ['51-10=41', '75-5=70']
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,68 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,68 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
76,
26,
37,
36
] | 29 | [
"76+26=102",
"37+36=73",
"102-73=29"
] | Current State: 29:[76, 26, 37, 36], Operations: []
Exploring Operation: 76+26=102, Resulting Numbers: [37, 36, 102]
Generated Node #2: [37, 36, 102] from Operation: 76+26=102
Current State: 29:[37, 36, 102], Operations: ['76+26=102']
Exploring Operation: 37+36=73, Resulting Numbers: [102, 73]
Generated Node #3: [102, 73] from Operation: 37+36=73
Current State: 29:[102, 73], Operations: ['76+26=102', '37+36=73']
Exploring Operation: 102-73=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[76, 26, 37, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [26, 37, 40]
Generated Node #0,0: 29:[26, 37, 40] Operation: 76-36=40
Exploring Operation: 76-37=39, Resulting Numbers: [26, 36, 39]
Generated Node #0,1: 29:[26, 36, 39] Operation: 76-37=39
Exploring Operation: 76-26=50, Resulting Numbers: [37, 36, 50]
Generated Node #0,2: 29:[37, 36, 50] Operation: 76-26=50
Moving to Node #0,1
Current State: 29:[26, 36, 39], Operations: ['76-37=39']
Exploring Operation: 36-26=10, Resulting Numbers: [39, 10]
Generated Node #0,1,0: 29:[39, 10] Operation: 36-26=10
Exploring Operation: 39-36=3, Resulting Numbers: [26, 3]
Generated Node #0,1,1: 29:[26, 3] Operation: 39-36=3
Exploring Operation: 39-26=13, Resulting Numbers: [36, 13]
Generated Node #0,1,2: 29:[36, 13] Operation: 39-26=13
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[36, 13], Operations: ['76-37=39', '39-26=13']
Exploring Operation: 36*13=468, Resulting Numbers: [468]
468,29 unequal: No Solution
Exploring Operation: 36+13=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 36-13=23, Resulting Numbers: [23]
23,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,0
Current State: 29:[39, 10], Operations: ['76-37=39', '36-26=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[76, 26, 37, 36], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [26, 36, 39]
Generated Node #0,1: 29:[26, 36, 39] Operation: 76-37=39
Moving to Node #0,1
Current State: 29:[26, 36, 39], Operations: ['76-37=39']
Exploring Operation: 36-26=10, Resulting Numbers: [39, 10]
Generated Node #0,1,0: 29:[39, 10] Operation: 36-26=10
Moving to Node #0,1,0
Current State: 29:[39, 10], Operations: ['76-37=39', '36-26=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
10,
31,
68,
48
] | 75 | [
"10+31=41",
"68+48=116",
"116-41=75"
] | Current State: 75:[10, 31, 68, 48], Operations: []
Exploring Operation: 10+31=41, Resulting Numbers: [68, 48, 41]
Generated Node #2: [68, 48, 41] from Operation: 10+31=41
Current State: 75:[68, 48, 41], Operations: ['10+31=41']
Exploring Operation: 68+48=116, Resulting Numbers: [41, 116]
Generated Node #3: [41, 116] from Operation: 68+48=116
Current State: 75:[41, 116], Operations: ['10+31=41', '68+48=116']
Exploring Operation: 116-41=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[10, 31, 68, 48], Operations: []
Exploring Operation: 48-31=17, Resulting Numbers: [10, 68, 17]
Generated Node #0,0: 75:[10, 68, 17] Operation: 48-31=17
Exploring Operation: 31+48=79, Resulting Numbers: [10, 68, 79]
Generated Node #0,1: 75:[10, 68, 79] Operation: 31+48=79
Exploring Operation: 68-48=20, Resulting Numbers: [10, 31, 20]
Generated Node #0,2: 75:[10, 31, 20] Operation: 68-48=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[10, 68, 17], Operations: ['48-31=17']
Exploring Operation: 68/17=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 75:[10, 4] Operation: 68/17=4
Exploring Operation: 10+17=27, Resulting Numbers: [68, 27]
Generated Node #0,0,1: 75:[68, 27] Operation: 10+17=27
Exploring Operation: 10+68=78, Resulting Numbers: [17, 78]
Generated Node #0,0,2: 75:[17, 78] Operation: 10+68=78
Moving to Node #0,0,2
Current State: 75:[17, 78], Operations: ['48-31=17', '10+68=78']
Exploring Operation: 17*78=1326, Resulting Numbers: [1326]
1326,75 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,75 unequal: No Solution
Exploring Operation: 17+78=95, Resulting Numbers: [95]
95,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[10, 4], Operations: ['48-31=17', '68/17=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[68, 27], Operations: ['48-31=17', '10+17=27']
Exploring Operation: 68*27=1836, Resulting Numbers: [1836]
1836,75 unequal: No Solution
Exploring Operation: 68-27=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 68+27=95, Resulting Numbers: [95]
95,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[10, 68, 79], Operations: ['31+48=79']
Exploring Operation: 79-68=11, Resulting Numbers: [10, 11]
Generated Node #0,1,0: 75:[10, 11] Operation: 79-68=11
Exploring Operation: 10+68=78, Resulting Numbers: [79, 78]
Generated Node #0,1,1: 75:[79, 78] Operation: 10+68=78
Exploring Operation: 79-10=69, Resulting Numbers: [68, 69]
Generated Node #0,1,2: 75:[68, 69] Operation: 79-10=69
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[79, 78], Operations: ['31+48=79', '10+68=78']
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,75 unequal: No Solution
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,75 unequal: No Solution
No 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: 75:[10, 11], Operations: ['31+48=79', '79-68=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,75 unequal: No Solution
No 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: 75:[68, 69], Operations: ['31+48=79', '79-10=69']
Exploring Operation: 68+69=137, Resulting Numbers: [137]
137,75 unequal: No Solution
Exploring Operation: 69-68=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 68*69=4692, Resulting Numbers: [4692]
4692,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[10, 31, 20], Operations: ['68-48=20']
Exploring Operation: 20/10=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 75:[31, 2] Operation: 20/10=2
Exploring Operation: 31-10=21, Resulting Numbers: [20, 21]
Generated Node #0,2,1: 75:[20, 21] Operation: 31-10=21
Exploring Operation: 31-20=11, Resulting Numbers: [10, 11]
Generated Node #0,2,2: 75:[10, 11] Operation: 31-20=11
Moving to Node #0,2,0
Current State: 75:[31, 2], Operations: ['68-48=20', '20/10=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,75 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,75 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[20, 21], Operations: ['68-48=20', '31-10=21']
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,75 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,75 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[10, 11], Operations: ['68-48=20', '31-20=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,75 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.