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 |
|---|---|---|---|---|---|---|---|---|
[
12,
34,
11,
66
] | 31 | [
"12+34=46",
"11+66=77",
"77-46=31"
] | Current State: 31:[12, 34, 11, 66], Operations: []
Exploring Operation: 12+34=46, Resulting Numbers: [11, 66, 46]
Generated Node #2: [11, 66, 46] from Operation: 12+34=46
Current State: 31:[11, 66, 46], Operations: ['12+34=46']
Exploring Operation: 11+66=77, Resulting Numbers: [46, 77]
Generated Node #3: [46, 77] from Operation: 11+66=77
Current State: 31:[46, 77], Operations: ['12+34=46', '11+66=77']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 34, 11, 66], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [12, 11, 32]
Generated Node #0,0: 31:[12, 11, 32] Operation: 66-34=32
Exploring Operation: 66/11=6, Resulting Numbers: [12, 34, 6]
Generated Node #0,1: 31:[12, 34, 6] Operation: 66/11=6
Exploring Operation: 12+11=23, Resulting Numbers: [34, 66, 23]
Generated Node #0,2: 31:[34, 66, 23] Operation: 12+11=23
Exploring Operation: 66-12=54, Resulting Numbers: [34, 11, 54]
Generated Node #0,3: 31:[34, 11, 54] Operation: 66-12=54
Exploring Operation: 66-11=55, Resulting Numbers: [12, 34, 55]
Generated Node #0,4: 31:[12, 34, 55] Operation: 66-11=55
Moving to Node #0,0
Current State: 31:[12, 11, 32], Operations: ['66-34=32']
Exploring Operation: 32-12=20, Resulting Numbers: [11, 20]
Generated Node #0,0,0: 31:[11, 20] Operation: 32-12=20
Exploring Operation: 12+11=23, Resulting Numbers: [32, 23]
Generated Node #0,0,1: 31:[32, 23] Operation: 12+11=23
Exploring Operation: 12-11=1, Resulting Numbers: [32, 1]
Generated Node #0,0,2: 31:[32, 1] Operation: 12-11=1
Exploring Operation: 32-11=21, Resulting Numbers: [12, 21]
Generated Node #0,0,3: 31:[12, 21] Operation: 32-11=21
Exploring Operation: 11+32=43, Resulting Numbers: [12, 43]
Generated Node #0,0,4: 31:[12, 43] Operation: 11+32=43
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[32, 23], Operations: ['66-34=32', '12+11=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,31 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 31:[12, 21], Operations: ['66-34=32', '32-11=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,31 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,31 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[11, 20], Operations: ['66-34=32', '32-12=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[12, 34, 11, 66], Operations: []
Exploring Operation: 66-34=32, Resulting Numbers: [12, 11, 32]
Generated Node #0,0: 31:[12, 11, 32] Operation: 66-34=32
Moving to Node #0,0
Current State: 31:[12, 11, 32], Operations: ['66-34=32']
Exploring Operation: 32-12=20, Resulting Numbers: [11, 20]
Generated Node #0,0,0: 31:[11, 20] Operation: 32-12=20
Moving to Node #0,0,0
Current State: 31:[11, 20], Operations: ['66-34=32', '32-12=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
13,
32,
34,
28
] | 39 | [
"13+32=45",
"34-28=6",
"45-6=39"
] | Current State: 39:[13, 32, 34, 28], Operations: []
Exploring Operation: 13+32=45, Resulting Numbers: [34, 28, 45]
Generated Node #2: [34, 28, 45] from Operation: 13+32=45
Current State: 39:[34, 28, 45], Operations: ['13+32=45']
Exploring Operation: 34-28=6, Resulting Numbers: [45, 6]
Generated Node #3: [45, 6] from Operation: 34-28=6
Current State: 39:[45, 6], Operations: ['13+32=45', '34-28=6']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[13, 32, 34, 28], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [13, 34, 4]
Generated Node #0,0: 39:[13, 34, 4] Operation: 32-28=4
Exploring Operation: 34-28=6, Resulting Numbers: [13, 32, 6]
Generated Node #0,1: 39:[13, 32, 6] Operation: 34-28=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[13, 34, 4], Operations: ['32-28=4']
Exploring Operation: 34+4=38, Resulting Numbers: [13, 38]
Generated Node #0,0,0: 39:[13, 38] Operation: 34+4=38
Exploring Operation: 13+34=47, Resulting Numbers: [4, 47]
Generated Node #0,0,1: 39:[4, 47] Operation: 13+34=47
Moving to Node #0,0,0
Current State: 39:[13, 38], Operations: ['32-28=4', '34+4=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[4, 47], Operations: ['32-28=4', '13+34=47']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 4+47=51, Resulting Numbers: [51]
51,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[13, 32, 6], Operations: ['34-28=6']
Exploring Operation: 13+32=45, Resulting Numbers: [6, 45]
Generated Node #0,1,0: 39:[6, 45] Operation: 13+32=45
Exploring Operation: 32+6=38, Resulting Numbers: [13, 38]
Generated Node #0,1,1: 39:[13, 38] Operation: 32+6=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 39:[13, 38], Operations: ['34-28=6', '32+6=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[6, 45], Operations: ['34-28=6', '13+32=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,39 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[13, 32, 34, 28], Operations: []
Exploring Operation: 34-28=6, Resulting Numbers: [13, 32, 6]
Generated Node #0,1: 39:[13, 32, 6] Operation: 34-28=6
Moving to Node #0,1
Current State: 39:[13, 32, 6], Operations: ['34-28=6']
Exploring Operation: 13+32=45, Resulting Numbers: [6, 45]
Generated Node #0,1,0: 39:[6, 45] Operation: 13+32=45
Moving to Node #0,1,0
Current State: 39:[6, 45], Operations: ['34-28=6', '13+32=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
7,
56,
42,
76
] | 55 | [
"7+56=63",
"42+76=118",
"118-63=55"
] | Current State: 55:[7, 56, 42, 76], Operations: []
Exploring Operation: 7+56=63, Resulting Numbers: [42, 76, 63]
Generated Node #2: [42, 76, 63] from Operation: 7+56=63
Current State: 55:[42, 76, 63], Operations: ['7+56=63']
Exploring Operation: 42+76=118, Resulting Numbers: [63, 118]
Generated Node #3: [63, 118] from Operation: 42+76=118
Current State: 55:[63, 118], Operations: ['7+56=63', '42+76=118']
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[7, 56, 42, 76], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [7, 42, 20]
Generated Node #0,0: 55:[7, 42, 20] Operation: 76-56=20
Exploring Operation: 76-42=34, Resulting Numbers: [7, 56, 34]
Generated Node #0,1: 55:[7, 56, 34] Operation: 76-42=34
Exploring Operation: 42/7=6, Resulting Numbers: [56, 76, 6]
Generated Node #0,2: 55:[56, 76, 6] Operation: 42/7=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[56, 76, 6], Operations: ['42/7=6']
Exploring Operation: 76-6=70, Resulting Numbers: [56, 70]
Generated Node #0,2,0: 55:[56, 70] Operation: 76-6=70
Exploring Operation: 76-56=20, Resulting Numbers: [6, 20]
Generated Node #0,2,1: 55:[6, 20] Operation: 76-56=20
Exploring Operation: 56-6=50, Resulting Numbers: [76, 50]
Generated Node #0,2,2: 55:[76, 50] Operation: 56-6=50
Moving to Node #0,2,1
Current State: 55:[6, 20], Operations: ['42/7=6', '76-56=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[56, 70], Operations: ['42/7=6', '76-6=70']
Exploring Operation: 56+70=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 56*70=3920, Resulting Numbers: [3920]
3920,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[76, 50], Operations: ['42/7=6', '56-6=50']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,55 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,55 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[7, 42, 20], Operations: ['76-56=20']
Exploring Operation: 42+20=62, Resulting Numbers: [7, 62]
Generated Node #0,0,0: 55:[7, 62] Operation: 42+20=62
Exploring Operation: 42/7=6, Resulting Numbers: [20, 6]
Generated Node #0,0,1: 55:[20, 6] Operation: 42/7=6
Exploring Operation: 42-20=22, Resulting Numbers: [7, 22]
Generated Node #0,0,2: 55:[7, 22] Operation: 42-20=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[7, 62], Operations: ['76-56=20', '42+20=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[7, 56, 42, 76], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [7, 42, 20]
Generated Node #0,0: 55:[7, 42, 20] Operation: 76-56=20
Moving to Node #0,0
Current State: 55:[7, 42, 20], Operations: ['76-56=20']
Exploring Operation: 42+20=62, Resulting Numbers: [7, 62]
Generated Node #0,0,0: 55:[7, 62] Operation: 42+20=62
Moving to Node #0,0,0
Current State: 55:[7, 62], Operations: ['76-56=20', '42+20=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
43,
14,
6,
24
] | 87 | [
"43+14=57",
"6+24=30",
"57+30=87"
] | Current State: 87:[43, 14, 6, 24], Operations: []
Exploring Operation: 43+14=57, Resulting Numbers: [6, 24, 57]
Generated Node #2: [6, 24, 57] from Operation: 43+14=57
Current State: 87:[6, 24, 57], Operations: ['43+14=57']
Exploring Operation: 6+24=30, Resulting Numbers: [57, 30]
Generated Node #3: [57, 30] from Operation: 6+24=30
Current State: 87:[57, 30], Operations: ['43+14=57', '6+24=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[43, 14, 6, 24], Operations: []
Exploring Operation: 14*6=84, Resulting Numbers: [43, 24, 84]
Generated Node #0,0: 87:[43, 24, 84] Operation: 14*6=84
Exploring Operation: 43-14=29, Resulting Numbers: [6, 24, 29]
Generated Node #0,1: 87:[6, 24, 29] Operation: 43-14=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[6, 24, 29], Operations: ['43-14=29']
Exploring Operation: 24/6=4, Resulting Numbers: [29, 4]
Generated Node #0,1,0: 87:[29, 4] Operation: 24/6=4
Exploring Operation: 6+24=30, Resulting Numbers: [29, 30]
Generated Node #0,1,1: 87:[29, 30] Operation: 6+24=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[29, 4], Operations: ['43-14=29', '24/6=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,87 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,87 unequal: No Solution
No 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: 87:[29, 30], Operations: ['43-14=29', '6+24=30']
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,87 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,87 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: 87:[43, 24, 84], Operations: ['14*6=84']
Exploring Operation: 84-43=41, Resulting Numbers: [24, 41]
Generated Node #0,0,0: 87:[24, 41] Operation: 84-43=41
Exploring Operation: 43-24=19, Resulting Numbers: [84, 19]
Generated Node #0,0,1: 87:[84, 19] Operation: 43-24=19
Moving to Node #0,0,1
Current State: 87:[84, 19], Operations: ['14*6=84', '43-24=19']
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[24, 41], Operations: ['14*6=84', '84-43=41']
Exploring Operation: 24+41=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,87 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 |
[
86,
47,
32,
21
] | 59 | [
"86*32=2752",
"21+2752=2773",
"2773/47=59"
] | Current State: 59:[86, 47, 32, 21], Operations: []
Exploring Operation: 86*32=2752, Resulting Numbers: [47, 21, 2752]
Generated Node #2: [47, 21, 2752] from Operation: 86*32=2752
Current State: 59:[47, 21, 2752], Operations: ['86*32=2752']
Exploring Operation: 21+2752=2773, Resulting Numbers: [47, 2773]
Generated Node #3: [47, 2773] from Operation: 21+2752=2773
Current State: 59:[47, 2773], Operations: ['86*32=2752', '21+2752=2773']
Exploring Operation: 2773/47=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[86, 47, 32, 21], Operations: []
Exploring Operation: 86-21=65, Resulting Numbers: [47, 32, 65]
Generated Node #0,0: 59:[47, 32, 65] Operation: 86-21=65
Exploring Operation: 86-47=39, Resulting Numbers: [32, 21, 39]
Generated Node #0,1: 59:[32, 21, 39] Operation: 86-47=39
Exploring Operation: 47+21=68, Resulting Numbers: [86, 32, 68]
Generated Node #0,2: 59:[86, 32, 68] Operation: 47+21=68
Exploring Operation: 32+21=53, Resulting Numbers: [86, 47, 53]
Generated Node #0,3: 59:[86, 47, 53] Operation: 32+21=53
Exploring Operation: 86-32=54, Resulting Numbers: [47, 21, 54]
Generated Node #0,4: 59:[47, 21, 54] Operation: 86-32=54
Moving to Node #0,0
Current State: 59:[47, 32, 65], Operations: ['86-21=65']
Exploring Operation: 65-32=33, Resulting Numbers: [47, 33]
Generated Node #0,0,0: 59:[47, 33] Operation: 65-32=33
Exploring Operation: 65-47=18, Resulting Numbers: [32, 18]
Generated Node #0,0,1: 59:[32, 18] Operation: 65-47=18
Exploring Operation: 47-32=15, Resulting Numbers: [65, 15]
Generated Node #0,0,2: 59:[65, 15] Operation: 47-32=15
Exploring Operation: 32+65=97, Resulting Numbers: [47, 97]
Generated Node #0,0,3: 59:[47, 97] Operation: 32+65=97
Exploring Operation: 47+32=79, Resulting Numbers: [65, 79]
Generated Node #0,0,4: 59:[65, 79] Operation: 47+32=79
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 59:[65, 79], Operations: ['86-21=65', '47+32=79']
Exploring Operation: 65*79=5135, Resulting Numbers: [5135]
5135,59 unequal: No Solution
Exploring Operation: 79-65=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 65+79=144, Resulting Numbers: [144]
144,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[47, 33], Operations: ['86-21=65', '65-32=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,59 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[65, 15], Operations: ['86-21=65', '47-32=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,59 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 59:[47, 97], Operations: ['86-21=65', '32+65=97']
Exploring Operation: 47+97=144, Resulting Numbers: [144]
144,59 unequal: No Solution
Exploring Operation: 47*97=4559, Resulting Numbers: [4559]
4559,59 unequal: No Solution
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[32, 18], Operations: ['86-21=65', '65-47=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,59 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,59 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: 59:[86, 47, 53], Operations: ['32+21=53']
Exploring Operation: 86-53=33, Resulting Numbers: [47, 33]
Generated Node #0,3,0: 59:[47, 33] Operation: 86-53=33
Exploring Operation: 47+53=100, Resulting Numbers: [86, 100]
Generated Node #0,3,1: 59:[86, 100] Operation: 47+53=100
Exploring Operation: 53-47=6, Resulting Numbers: [86, 6]
Generated Node #0,3,2: 59:[86, 6] Operation: 53-47=6
Exploring Operation: 86+47=133, Resulting Numbers: [53, 133]
Generated Node #0,3,3: 59:[53, 133] Operation: 86+47=133
Exploring Operation: 86-47=39, Resulting Numbers: [53, 39]
Generated Node #0,3,4: 59:[53, 39] Operation: 86-47=39
Moving to Node #0,4
Current State: 59:[47, 21, 54], Operations: ['86-32=54']
Exploring Operation: 47+54=101, Resulting Numbers: [21, 101]
Generated Node #0,4,0: 59:[21, 101] Operation: 47+54=101
Exploring Operation: 47+21=68, Resulting Numbers: [54, 68]
Generated Node #0,4,1: 59:[54, 68] Operation: 47+21=68
Exploring Operation: 21+54=75, Resulting Numbers: [47, 75]
Generated Node #0,4,2: 59:[47, 75] Operation: 21+54=75
Exploring Operation: 54-21=33, Resulting Numbers: [47, 33]
Generated Node #0,4,3: 59:[47, 33] Operation: 54-21=33
Exploring Operation: 47-21=26, Resulting Numbers: [54, 26]
Generated Node #0,4,4: 59:[54, 26] Operation: 47-21=26
Moving to Node #0,2
Current State: 59:[86, 32, 68], Operations: ['47+21=68']
Exploring Operation: 86+32=118, Resulting Numbers: [68, 118]
Generated Node #0,2,0: 59:[68, 118] Operation: 86+32=118
Exploring Operation: 86-68=18, Resulting Numbers: [32, 18]
Generated Node #0,2,1: 59:[32, 18] Operation: 86-68=18
Exploring Operation: 68-32=36, Resulting Numbers: [86, 36]
Generated Node #0,2,2: 59:[86, 36] Operation: 68-32=36
Exploring Operation: 32+68=100, Resulting Numbers: [86, 100]
Generated Node #0,2,3: 59:[86, 100] Operation: 32+68=100
Exploring Operation: 86-32=54, Resulting Numbers: [68, 54]
Generated Node #0,2,4: 59:[68, 54] Operation: 86-32=54
Moving to Node #0,1
Current State: 59:[32, 21, 39], Operations: ['86-47=39']
Exploring Operation: 21+39=60, Resulting Numbers: [32, 60]
Generated Node #0,1,0: 59:[32, 60] Operation: 21+39=60
Exploring Operation: 32-21=11, Resulting Numbers: [39, 11]
Generated Node #0,1,1: 59:[39, 11] Operation: 32-21=11
Exploring Operation: 32+39=71, Resulting Numbers: [21, 71]
Generated Node #0,1,2: 59:[21, 71] Operation: 32+39=71
Exploring Operation: 39-21=18, Resulting Numbers: [32, 18]
Generated Node #0,1,3: 59:[32, 18] Operation: 39-21=18
Exploring Operation: 32+21=53, Resulting Numbers: [39, 53]
Generated Node #0,1,4: 59:[39, 53] Operation: 32+21=53
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 59:[39, 53], Operations: ['86-47=39', '32+21=53']
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,59 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[32, 60], Operations: ['86-47=39', '21+39=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,59 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[21, 71], Operations: ['86-47=39', '32+39=71']
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 21*71=1491, Resulting Numbers: [1491]
1491,59 unequal: No Solution
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[39, 11], Operations: ['86-47=39', '32-21=11']
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 59:[32, 18], Operations: ['86-47=39', '39-21=18']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 59:[54, 68], Operations: ['86-32=54', '47+21=68']
Exploring Operation: 54+68=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 54*68=3672, Resulting Numbers: [3672]
3672,59 unequal: No Solution
Moving to Node #0,2,4
Current State: 59:[68, 54], Operations: ['47+21=68', '86-32=54']
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,59 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[53, 39], Operations: ['32+21=53', '86-47=39']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[47, 75], Operations: ['86-32=54', '21+54=75']
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,59 unequal: No Solution
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[47, 33], Operations: ['32+21=53', '86-53=33']
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,59 unequal: No Solution
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[47, 33], Operations: ['86-32=54', '54-21=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,59 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[54, 26], Operations: ['86-32=54', '47-21=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,59 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[86, 36], Operations: ['47+21=68', '68-32=36']
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,59 unequal: No Solution
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[32, 18], Operations: ['47+21=68', '86-68=18']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[86, 100], Operations: ['32+21=53', '47+53=100']
Exploring Operation: 100-86=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 86+100=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 86*100=8600, Resulting Numbers: [8600]
8600,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[86, 100], Operations: ['47+21=68', '32+68=100']
Exploring Operation: 86+100=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 86*100=8600, Resulting Numbers: [8600]
8600,59 unequal: No Solution
Exploring Operation: 100-86=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[68, 118], Operations: ['47+21=68', '86+32=118']
Exploring Operation: 68+118=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 118-68=50, Resulting Numbers: [50]
50,59 unequal: No Solution
Exploring Operation: 68*118=8024, Resulting Numbers: [8024]
8024,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[86, 6], Operations: ['32+21=53', '53-47=6']
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,59 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[53, 133], Operations: ['32+21=53', '86+47=133']
Exploring Operation: 53+133=186, Resulting Numbers: [186]
186,59 unequal: No Solution
Exploring Operation: 53*133=7049, Resulting Numbers: [7049]
7049,59 unequal: No Solution
Exploring Operation: 133-53=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[21, 101], Operations: ['86-32=54', '47+54=101']
Exploring Operation: 21+101=122, Resulting Numbers: [122]
122,59 unequal: No Solution
Exploring Operation: 101-21=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 21*101=2121, Resulting Numbers: [2121]
2121,59 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
52,
70,
85,
68
] | 66 | [
"85-52=33",
"70-68=2",
"33*2=66"
] | Current State: 66:[52, 70, 85, 68], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [70, 68, 33]
Generated Node #2: [70, 68, 33] from Operation: 85-52=33
Current State: 66:[70, 68, 33], Operations: ['85-52=33']
Exploring Operation: 70-68=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 70-68=2
Current State: 66:[33, 2], Operations: ['85-52=33', '70-68=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[52, 70, 85, 68], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [70, 68, 33]
Generated Node #0,0: 66:[70, 68, 33] Operation: 85-52=33
Exploring Operation: 85-68=17, Resulting Numbers: [52, 70, 17]
Generated Node #0,1: 66:[52, 70, 17] Operation: 85-68=17
Exploring Operation: 85-70=15, Resulting Numbers: [52, 68, 15]
Generated Node #0,2: 66:[52, 68, 15] Operation: 85-70=15
Exploring Operation: 70-52=18, Resulting Numbers: [85, 68, 18]
Generated Node #0,3: 66:[85, 68, 18] Operation: 70-52=18
Moving to Node #0,0
Current State: 66:[70, 68, 33], Operations: ['85-52=33']
Exploring Operation: 70-33=37, Resulting Numbers: [68, 37]
Generated Node #0,0,0: 66:[68, 37] Operation: 70-33=37
Exploring Operation: 68-33=35, Resulting Numbers: [70, 35]
Generated Node #0,0,1: 66:[70, 35] Operation: 68-33=35
Exploring Operation: 70+33=103, Resulting Numbers: [68, 103]
Generated Node #0,0,2: 66:[68, 103] Operation: 70+33=103
Exploring Operation: 70-68=2, Resulting Numbers: [33, 2]
Generated Node #0,0,3: 66:[33, 2] Operation: 70-68=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[33, 2], Operations: ['85-52=33', '70-68=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[52, 70, 85, 68], Operations: []
Exploring Operation: 85-52=33, Resulting Numbers: [70, 68, 33]
Generated Node #0,0: 66:[70, 68, 33] Operation: 85-52=33
Moving to Node #0,0
Current State: 66:[70, 68, 33], Operations: ['85-52=33']
Exploring Operation: 70-68=2, Resulting Numbers: [33, 2]
Generated Node #0,0,3: 66:[33, 2] Operation: 70-68=2
Moving to Node #0,0,3
Current State: 66:[33, 2], Operations: ['85-52=33', '70-68=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
78,
36,
3,
70
] | 96 | [
"78+36=114",
"3*70=210",
"210-114=96"
] | Current State: 96:[78, 36, 3, 70], Operations: []
Exploring Operation: 78+36=114, Resulting Numbers: [3, 70, 114]
Generated Node #2: [3, 70, 114] from Operation: 78+36=114
Current State: 96:[3, 70, 114], Operations: ['78+36=114']
Exploring Operation: 3*70=210, Resulting Numbers: [114, 210]
Generated Node #3: [114, 210] from Operation: 3*70=210
Current State: 96:[114, 210], Operations: ['78+36=114', '3*70=210']
Exploring Operation: 210-114=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[78, 36, 3, 70], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [36, 3, 8]
Generated Node #0,0: 96:[36, 3, 8] Operation: 78-70=8
Exploring Operation: 70-36=34, Resulting Numbers: [78, 3, 34]
Generated Node #0,1: 96:[78, 3, 34] Operation: 70-36=34
Moving to Node #0,0
Current State: 96:[36, 3, 8], Operations: ['78-70=8']
Exploring Operation: 36/3=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [8, 33]
Generated Node #0,0,1: 96:[8, 33] Operation: 36-3=33
Moving to Node #0,1
Current State: 96:[78, 3, 34], Operations: ['70-36=34']
Exploring Operation: 78-34=44, Resulting Numbers: [3, 44]
Generated Node #0,1,0: 96:[3, 44] Operation: 78-34=44
Exploring Operation: 78/3=26, Resulting Numbers: [34, 26]
Generated Node #0,1,1: 96:[34, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[3, 44], Operations: ['70-36=34', '78-34=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,96 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,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,1
Current State: 96:[34, 26], Operations: ['70-36=34', '78/3=26']
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,96 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: 96:[8, 12], Operations: ['78-70=8', '36/3=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[78, 36, 3, 70], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [36, 3, 8]
Generated Node #0,0: 96:[36, 3, 8] Operation: 78-70=8
Moving to Node #0,0
Current State: 96:[36, 3, 8], Operations: ['78-70=8']
Exploring Operation: 36/3=12, Resulting Numbers: [8, 12]
Generated Node #0,0,0: 96:[8, 12] Operation: 36/3=12
Moving to Node #0,0,0
Current State: 96:[8, 12], Operations: ['78-70=8', '36/3=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
13,
3,
35,
40
] | 21 | [
"13+3=16",
"40-35=5",
"16+5=21"
] | Current State: 21:[13, 3, 35, 40], Operations: []
Exploring Operation: 13+3=16, Resulting Numbers: [35, 40, 16]
Generated Node #2: [35, 40, 16] from Operation: 13+3=16
Current State: 21:[35, 40, 16], Operations: ['13+3=16']
Exploring Operation: 40-35=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 40-35=5
Current State: 21:[16, 5], Operations: ['13+3=16', '40-35=5']
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[13, 3, 35, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [13, 3, 5]
Generated Node #0,0: 21:[13, 3, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[13, 3, 5], Operations: ['40-35=5']
Exploring Operation: 13-5=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 21:[3, 8] Operation: 13-5=8
Moving to Node #0,0,0
Current State: 21:[3, 8], Operations: ['40-35=5', '13-5=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,21 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 |
[
15,
39,
16,
71
] | 79 | [
"39-15=24",
"71-16=55",
"24+55=79"
] | Current State: 79:[15, 39, 16, 71], Operations: []
Exploring Operation: 39-15=24, Resulting Numbers: [16, 71, 24]
Generated Node #2: [16, 71, 24] from Operation: 39-15=24
Current State: 79:[16, 71, 24], Operations: ['39-15=24']
Exploring Operation: 71-16=55, Resulting Numbers: [24, 55]
Generated Node #3: [24, 55] from Operation: 71-16=55
Current State: 79:[24, 55], Operations: ['39-15=24', '71-16=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[15, 39, 16, 71], Operations: []
Exploring Operation: 39+16=55, Resulting Numbers: [15, 71, 55]
Generated Node #0,0: 79:[15, 71, 55] Operation: 39+16=55
Exploring Operation: 15+16=31, Resulting Numbers: [39, 71, 31]
Generated Node #0,1: 79:[39, 71, 31] Operation: 15+16=31
Exploring Operation: 15+39=54, Resulting Numbers: [16, 71, 54]
Generated Node #0,2: 79:[16, 71, 54] Operation: 15+39=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[15, 71, 55], Operations: ['39+16=55']
Exploring Operation: 15+55=70, Resulting Numbers: [71, 70]
Generated Node #0,0,0: 79:[71, 70] Operation: 15+55=70
Exploring Operation: 15+71=86, Resulting Numbers: [55, 86]
Generated Node #0,0,1: 79:[55, 86] Operation: 15+71=86
Exploring Operation: 71-15=56, Resulting Numbers: [55, 56]
Generated Node #0,0,2: 79:[55, 56] Operation: 71-15=56
Moving to Node #0,0,0
Current State: 79:[71, 70], Operations: ['39+16=55', '15+55=70']
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,79 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[55, 86], Operations: ['39+16=55', '15+71=86']
Exploring Operation: 55*86=4730, Resulting Numbers: [4730]
4730,79 unequal: No Solution
Exploring Operation: 86-55=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 55+86=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[55, 56], Operations: ['39+16=55', '71-15=56']
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,79 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[39, 71, 31], Operations: ['15+16=31']
Exploring Operation: 39+71=110, Resulting Numbers: [31, 110]
Generated Node #0,1,0: 79:[31, 110] Operation: 39+71=110
Exploring Operation: 71+31=102, Resulting Numbers: [39, 102]
Generated Node #0,1,1: 79:[39, 102] Operation: 71+31=102
Exploring Operation: 39+31=70, Resulting Numbers: [71, 70]
Generated Node #0,1,2: 79:[71, 70] Operation: 39+31=70
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[71, 70], Operations: ['15+16=31', '39+31=70']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,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,1,1
Current State: 79:[39, 102], Operations: ['15+16=31', '71+31=102']
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,79 unequal: No Solution
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,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,1,0
Current State: 79:[31, 110], Operations: ['15+16=31', '39+71=110']
Exploring Operation: 31*110=3410, Resulting Numbers: [3410]
3410,79 unequal: No Solution
Exploring Operation: 31+110=141, Resulting Numbers: [141]
141,79 unequal: No Solution
Exploring Operation: 110-31=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[15, 39, 16, 71], Operations: []
Exploring Operation: 15+16=31, Resulting Numbers: [39, 71, 31]
Generated Node #0,1: 79:[39, 71, 31] Operation: 15+16=31
Moving to Node #0,1
Current State: 79:[39, 71, 31], Operations: ['15+16=31']
Exploring Operation: 39+71=110, Resulting Numbers: [31, 110]
Generated Node #0,1,0: 79:[31, 110] Operation: 39+71=110
Moving to Node #0,1,0
Current State: 79:[31, 110], Operations: ['15+16=31', '39+71=110']
Exploring Operation: 110-31=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_3 | sum_heuristic |
[
39,
3,
27,
46
] | 31 | [
"39+3=42",
"27+46=73",
"73-42=31"
] | Current State: 31:[39, 3, 27, 46], Operations: []
Exploring Operation: 39+3=42, Resulting Numbers: [27, 46, 42]
Generated Node #2: [27, 46, 42] from Operation: 39+3=42
Current State: 31:[27, 46, 42], Operations: ['39+3=42']
Exploring Operation: 27+46=73, Resulting Numbers: [42, 73]
Generated Node #3: [42, 73] from Operation: 27+46=73
Current State: 31:[42, 73], Operations: ['39+3=42', '27+46=73']
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[39, 3, 27, 46], Operations: []
Exploring Operation: 27-3=24, Resulting Numbers: [39, 46, 24]
Generated Node #0,0: 31:[39, 46, 24] Operation: 27-3=24
Exploring Operation: 46-3=43, Resulting Numbers: [39, 27, 43]
Generated Node #0,1: 31:[39, 27, 43] Operation: 46-3=43
Exploring Operation: 39+3=42, Resulting Numbers: [27, 46, 42]
Generated Node #0,2: 31:[27, 46, 42] Operation: 39+3=42
Exploring Operation: 39-3=36, Resulting Numbers: [27, 46, 36]
Generated Node #0,3: 31:[27, 46, 36] Operation: 39-3=36
Exploring Operation: 3+27=30, Resulting Numbers: [39, 46, 30]
Generated Node #0,4: 31:[39, 46, 30] Operation: 3+27=30
Moving to Node #0,1
Current State: 31:[39, 27, 43], Operations: ['46-3=43']
Exploring Operation: 43-27=16, Resulting Numbers: [39, 16]
Generated Node #0,1,0: 31:[39, 16] Operation: 43-27=16
Exploring Operation: 39+27=66, Resulting Numbers: [43, 66]
Generated Node #0,1,1: 31:[43, 66] Operation: 39+27=66
Exploring Operation: 43-39=4, Resulting Numbers: [27, 4]
Generated Node #0,1,2: 31:[27, 4] Operation: 43-39=4
Exploring Operation: 39-27=12, Resulting Numbers: [43, 12]
Generated Node #0,1,3: 31:[43, 12] Operation: 39-27=12
Exploring Operation: 27+43=70, Resulting Numbers: [39, 70]
Generated Node #0,1,4: 31:[39, 70] Operation: 27+43=70
Moving to Node #0,4
Current State: 31:[39, 46, 30], Operations: ['3+27=30']
Exploring Operation: 46+30=76, Resulting Numbers: [39, 76]
Generated Node #0,4,0: 31:[39, 76] Operation: 46+30=76
Exploring Operation: 46-30=16, Resulting Numbers: [39, 16]
Generated Node #0,4,1: 31:[39, 16] Operation: 46-30=16
Exploring Operation: 46-39=7, Resulting Numbers: [30, 7]
Generated Node #0,4,2: 31:[30, 7] Operation: 46-39=7
Exploring Operation: 39-30=9, Resulting Numbers: [46, 9]
Generated Node #0,4,3: 31:[46, 9] Operation: 39-30=9
Exploring Operation: 39+30=69, Resulting Numbers: [46, 69]
Generated Node #0,4,4: 31:[46, 69] Operation: 39+30=69
Moving to Node #0,3
Current State: 31:[27, 46, 36], Operations: ['39-3=36']
Exploring Operation: 36-27=9, Resulting Numbers: [46, 9]
Generated Node #0,3,0: 31:[46, 9] Operation: 36-27=9
Exploring Operation: 27+46=73, Resulting Numbers: [36, 73]
Generated Node #0,3,1: 31:[36, 73] Operation: 27+46=73
Exploring Operation: 46-27=19, Resulting Numbers: [36, 19]
Generated Node #0,3,2: 31:[36, 19] Operation: 46-27=19
Exploring Operation: 27+36=63, Resulting Numbers: [46, 63]
Generated Node #0,3,3: 31:[46, 63] Operation: 27+36=63
Exploring Operation: 46-36=10, Resulting Numbers: [27, 10]
Generated Node #0,3,4: 31:[27, 10] Operation: 46-36=10
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[36, 19], Operations: ['39-3=36', '46-27=19']
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,31 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 31:[27, 10], Operations: ['39-3=36', '46-36=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[46, 9], Operations: ['39-3=36', '36-27=9']
Exploring Operation: 46*9=414, Resulting Numbers: [414]
414,31 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 46+9=55, Resulting Numbers: [55]
55,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[36, 73], Operations: ['39-3=36', '27+46=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,31 unequal: No Solution
Exploring Operation: 36*73=2628, Resulting Numbers: [2628]
2628,31 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[46, 63], Operations: ['39-3=36', '27+36=63']
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,31 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,31 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,31 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: 31:[39, 46, 24], Operations: ['27-3=24']
Exploring Operation: 39+24=63, Resulting Numbers: [46, 63]
Generated Node #0,0,0: 31:[46, 63] Operation: 39+24=63
Exploring Operation: 46+24=70, Resulting Numbers: [39, 70]
Generated Node #0,0,1: 31:[39, 70] Operation: 46+24=70
Exploring Operation: 39-24=15, Resulting Numbers: [46, 15]
Generated Node #0,0,2: 31:[46, 15] Operation: 39-24=15
Exploring Operation: 46-24=22, Resulting Numbers: [39, 22]
Generated Node #0,0,3: 31:[39, 22] Operation: 46-24=22
Exploring Operation: 46-39=7, Resulting Numbers: [24, 7]
Generated Node #0,0,4: 31:[24, 7] Operation: 46-39=7
Moving to Node #0,2
Current State: 31:[27, 46, 42], Operations: ['39+3=42']
Exploring Operation: 27+42=69, Resulting Numbers: [46, 69]
Generated Node #0,2,0: 31:[46, 69] Operation: 27+42=69
Exploring Operation: 46-27=19, Resulting Numbers: [42, 19]
Generated Node #0,2,1: 31:[42, 19] Operation: 46-27=19
Exploring Operation: 27+46=73, Resulting Numbers: [42, 73]
Generated Node #0,2,2: 31:[42, 73] Operation: 27+46=73
Exploring Operation: 42-27=15, Resulting Numbers: [46, 15]
Generated Node #0,2,3: 31:[46, 15] Operation: 42-27=15
Exploring Operation: 46-42=4, Resulting Numbers: [27, 4]
Generated Node #0,2,4: 31:[27, 4] Operation: 46-42=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[42, 19], Operations: ['39+3=42', '46-27=19']
Exploring Operation: 42*19=798, Resulting Numbers: [798]
798,31 unequal: No Solution
Exploring Operation: 42+19=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 31:[46, 15], Operations: ['39+3=42', '42-27=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[39, 3, 27, 46], Operations: []
Exploring Operation: 39+3=42, Resulting Numbers: [27, 46, 42]
Generated Node #0,2: 31:[27, 46, 42] Operation: 39+3=42
Moving to Node #0,2
Current State: 31:[27, 46, 42], Operations: ['39+3=42']
Exploring Operation: 42-27=15, Resulting Numbers: [46, 15]
Generated Node #0,2,3: 31:[46, 15] Operation: 42-27=15
Moving to Node #0,2,3
Current State: 31:[46, 15], Operations: ['39+3=42', '42-27=15']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | mult_heuristic |
[
13,
56,
52,
4
] | 64 | [
"52/13=4",
"56+4=60",
"4+60=64"
] | Current State: 64:[13, 56, 52, 4], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [56, 4, 4]
Generated Node #2: [56, 4, 4] from Operation: 52/13=4
Current State: 64:[56, 4, 4], Operations: ['52/13=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,64 equal: Goal Reached
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[13, 56, 52, 4], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [56, 4, 4]
Generated Node #0,0: 64:[56, 4, 4] Operation: 52/13=4
Exploring Operation: 13+52=65, Resulting Numbers: [56, 4, 65]
Generated Node #0,1: 64:[56, 4, 65] Operation: 13+52=65
Exploring Operation: 52/4=13, Resulting Numbers: [13, 56, 13]
Generated Node #0,2: 64:[13, 56, 13] Operation: 52/4=13
Exploring Operation: 52-13=39, Resulting Numbers: [56, 4, 39]
Generated Node #0,3: 64:[56, 4, 39] Operation: 52-13=39
Exploring Operation: 56-52=4, Resulting Numbers: [13, 4, 4]
Generated Node #0,4: 64:[13, 4, 4] Operation: 56-52=4
Moving to Node #0,4
Current State: 64:[13, 4, 4], Operations: ['56-52=4']
Exploring Operation: 13+4=17, Resulting Numbers: [4, 17]
Generated Node #0,4,0: 64:[4, 17] Operation: 13+4=17
Exploring Operation: 4+4=8, Resulting Numbers: [13, 8]
Generated Node #0,4,1: 64:[13, 8] Operation: 4+4=8
Exploring Operation: 13-4=9, Resulting Numbers: [4, 9]
Generated Node #0,4,2: 64:[4, 9] Operation: 13-4=9
Exploring Operation: 13+4=17, Resulting Numbers: [4, 17]
Generated Node #0,4,3: 64:[4, 17] Operation: 13+4=17
Exploring Operation: 13-4=9, Resulting Numbers: [4, 9]
Generated Node #0,4,4: 64:[4, 9] Operation: 13-4=9
Moving to Node #0,0
Current State: 64:[56, 4, 4], Operations: ['52/13=4']
Exploring Operation: 56/4=14, Resulting Numbers: [4, 14]
Generated Node #0,0,0: 64:[4, 14] Operation: 56/4=14
Exploring Operation: 56+4=60, Resulting Numbers: [4, 60]
Generated Node #0,0,1: 64:[4, 60] Operation: 56+4=60
Exploring Operation: 56+4=60, Resulting Numbers: [4, 60]
Generated Node #0,0,2: 64:[4, 60] Operation: 56+4=60
Exploring Operation: 56/4=14, Resulting Numbers: [4, 14]
Generated Node #0,0,3: 64:[4, 14] Operation: 56/4=14
Exploring Operation: 4+4=8, Resulting Numbers: [56, 8]
Generated Node #0,0,4: 64:[56, 8] Operation: 4+4=8
Moving to Node #0,1
Current State: 64:[56, 4, 65], Operations: ['13+52=65']
Exploring Operation: 65-4=61, Resulting Numbers: [56, 61]
Generated Node #0,1,0: 64:[56, 61] Operation: 65-4=61
Exploring Operation: 56+4=60, Resulting Numbers: [65, 60]
Generated Node #0,1,1: 64:[65, 60] Operation: 56+4=60
Exploring Operation: 56/4=14, Resulting Numbers: [65, 14]
Generated Node #0,1,2: 64:[65, 14] Operation: 56/4=14
Exploring Operation: 65-56=9, Resulting Numbers: [4, 9]
Generated Node #0,1,3: 64:[4, 9] Operation: 65-56=9
Exploring Operation: 56-4=52, Resulting Numbers: [65, 52]
Generated Node #0,1,4: 64:[65, 52] Operation: 56-4=52
Moving to Node #0,2
Current State: 64:[13, 56, 13], Operations: ['52/4=13']
Exploring Operation: 13-13=0, Resulting Numbers: [56, 0]
Generated Node #0,2,0: 64:[56, 0] Operation: 13-13=0
Exploring Operation: 56-13=43, Resulting Numbers: [13, 43]
Generated Node #0,2,1: 64:[13, 43] Operation: 56-13=43
Exploring Operation: 56+13=69, Resulting Numbers: [13, 69]
Generated Node #0,2,2: 64:[13, 69] Operation: 56+13=69
Exploring Operation: 13+56=69, Resulting Numbers: [13, 69]
Generated Node #0,2,3: 64:[13, 69] Operation: 13+56=69
Exploring Operation: 13/13=1, Resulting Numbers: [56, 1]
Generated Node #0,2,4: 64:[56, 1] Operation: 13/13=1
Moving to Node #0,3
Current State: 64:[56, 4, 39], Operations: ['52-13=39']
Exploring Operation: 39-4=35, Resulting Numbers: [56, 35]
Generated Node #0,3,0: 64:[56, 35] Operation: 39-4=35
Exploring Operation: 56-4=52, Resulting Numbers: [39, 52]
Generated Node #0,3,1: 64:[39, 52] Operation: 56-4=52
Exploring Operation: 56+4=60, Resulting Numbers: [39, 60]
Generated Node #0,3,2: 64:[39, 60] Operation: 56+4=60
Exploring Operation: 56-39=17, Resulting Numbers: [4, 17]
Generated Node #0,3,3: 64:[4, 17] Operation: 56-39=17
Exploring Operation: 56/4=14, Resulting Numbers: [39, 14]
Generated Node #0,3,4: 64:[39, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 64:[4, 17], Operations: ['52-13=39', '56-39=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 64:[39, 14], Operations: ['52-13=39', '56/4=14']
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[56, 35], Operations: ['52-13=39', '39-4=35']
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,64 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 64:[39, 60], Operations: ['52-13=39', '56+4=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,64 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 64:[39, 52], Operations: ['52-13=39', '56-4=52']
Exploring Operation: 39*52=2028, Resulting Numbers: [2028]
2028,64 unequal: No Solution
Exploring Operation: 39+52=91, Resulting Numbers: [91]
91,64 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,0
Current State: 64:[4, 17], Operations: ['56-52=4', '13+4=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[4, 17], Operations: ['56-52=4', '13+4=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,64 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[4, 9], Operations: ['56-52=4', '13-4=9']
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[4, 9], Operations: ['13+52=65', '65-56=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[4, 9], Operations: ['56-52=4', '13-4=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[4, 14], Operations: ['52/13=4', '56/4=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[4, 14], Operations: ['52/13=4', '56/4=14']
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[65, 14], Operations: ['13+52=65', '56/4=14']
Exploring Operation: 65+14=79, Resulting Numbers: [79]
79,64 unequal: No Solution
Exploring Operation: 65*14=910, Resulting Numbers: [910]
910,64 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[13, 8], Operations: ['56-52=4', '4+4=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[4, 60], Operations: ['52/13=4', '56+4=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,64 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,64 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[13, 56, 52, 4], Operations: []
Exploring Operation: 52/13=4, Resulting Numbers: [56, 4, 4]
Generated Node #0,0: 64:[56, 4, 4] Operation: 52/13=4
Moving to Node #0,0
Current State: 64:[56, 4, 4], Operations: ['52/13=4']
Exploring Operation: 56+4=60, Resulting Numbers: [4, 60]
Generated Node #0,0,2: 64:[4, 60] Operation: 56+4=60
Moving to Node #0,0,2
Current State: 64:[4, 60], Operations: ['52/13=4', '56+4=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.930556 | hs_5 | sum_heuristic |
[
34,
5,
72,
26
] | 72 | [
"34*5=170",
"72+26=98",
"170-98=72"
] | Current State: 72:[34, 5, 72, 26], Operations: []
Exploring Operation: 34*5=170, Resulting Numbers: [72, 26, 170]
Generated Node #2: [72, 26, 170] from Operation: 34*5=170
Current State: 72:[72, 26, 170], Operations: ['34*5=170']
Exploring Operation: 72+26=98, Resulting Numbers: [170, 98]
Generated Node #3: [170, 98] from Operation: 72+26=98
Current State: 72:[170, 98], Operations: ['34*5=170', '72+26=98']
Exploring Operation: 170-98=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[34, 5, 72, 26], Operations: []
Exploring Operation: 34+5=39, Resulting Numbers: [72, 26, 39]
Generated Node #0,0: 72:[72, 26, 39] Operation: 34+5=39
Exploring Operation: 34-26=8, Resulting Numbers: [5, 72, 8]
Generated Node #0,1: 72:[5, 72, 8] Operation: 34-26=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[5, 72, 8], Operations: ['34-26=8']
Exploring Operation: 8-5=3, Resulting Numbers: [72, 3]
Generated Node #0,1,0: 72:[72, 3] Operation: 8-5=3
Exploring Operation: 5+8=13, Resulting Numbers: [72, 13]
Generated Node #0,1,1: 72:[72, 13] Operation: 5+8=13
Moving to Node #0,1,0
Current State: 72:[72, 3], Operations: ['34-26=8', '8-5=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,72 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[72, 13], Operations: ['34-26=8', '5+8=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[72, 26, 39], Operations: ['34+5=39']
Exploring Operation: 39-26=13, Resulting Numbers: [72, 13]
Generated Node #0,0,0: 72:[72, 13] Operation: 39-26=13
Exploring Operation: 72-39=33, Resulting Numbers: [26, 33]
Generated Node #0,0,1: 72:[26, 33] Operation: 72-39=33
Moving to Node #0,0,0
Current State: 72:[72, 13], Operations: ['34+5=39', '39-26=13']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[26, 33], Operations: ['34+5=39', '72-39=33']
Exploring Operation: 26+33=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 33-26=7, Resulting Numbers: [7]
7,72 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 |
[
62,
98,
95,
39
] | 26 | [
"62+98=160",
"95+39=134",
"160-134=26"
] | Current State: 26:[62, 98, 95, 39], Operations: []
Exploring Operation: 62+98=160, Resulting Numbers: [95, 39, 160]
Generated Node #2: [95, 39, 160] from Operation: 62+98=160
Current State: 26:[95, 39, 160], Operations: ['62+98=160']
Exploring Operation: 95+39=134, Resulting Numbers: [160, 134]
Generated Node #3: [160, 134] from Operation: 95+39=134
Current State: 26:[160, 134], Operations: ['62+98=160', '95+39=134']
Exploring Operation: 160-134=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[62, 98, 95, 39], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [62, 39, 3]
Generated Node #0,0: 26:[62, 39, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 26:[62, 39, 3], Operations: ['98-95=3']
Exploring Operation: 62-39=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 26:[3, 23] Operation: 62-39=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[3, 23], Operations: ['98-95=3', '62-39=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[62, 98, 95, 39], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [62, 39, 3]
Generated Node #0,0: 26:[62, 39, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 26:[62, 39, 3], Operations: ['98-95=3']
Exploring Operation: 62-39=23, Resulting Numbers: [3, 23]
Generated Node #0,0,0: 26:[3, 23] Operation: 62-39=23
Moving to Node #0,0,0
Current State: 26:[3, 23], Operations: ['98-95=3', '62-39=23']
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
67,
63,
18,
17
] | 24 | [
"67+17=84",
"18*84=1512",
"1512/63=24"
] | Current State: 24:[67, 63, 18, 17], Operations: []
Exploring Operation: 67+17=84, Resulting Numbers: [63, 18, 84]
Generated Node #2: [63, 18, 84] from Operation: 67+17=84
Current State: 24:[63, 18, 84], Operations: ['67+17=84']
Exploring Operation: 18*84=1512, Resulting Numbers: [63, 1512]
Generated Node #3: [63, 1512] from Operation: 18*84=1512
Current State: 24:[63, 1512], Operations: ['67+17=84', '18*84=1512']
Exploring Operation: 1512/63=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[67, 63, 18, 17], Operations: []
Exploring Operation: 67-17=50, Resulting Numbers: [63, 18, 50]
Generated Node #0,0: 24:[63, 18, 50] Operation: 67-17=50
Exploring Operation: 67-63=4, Resulting Numbers: [18, 17, 4]
Generated Node #0,1: 24:[18, 17, 4] Operation: 67-63=4
Exploring Operation: 63-17=46, Resulting Numbers: [67, 18, 46]
Generated Node #0,2: 24:[67, 18, 46] Operation: 63-17=46
Exploring Operation: 63-18=45, Resulting Numbers: [67, 17, 45]
Generated Node #0,3: 24:[67, 17, 45] Operation: 63-18=45
Exploring Operation: 67-18=49, Resulting Numbers: [63, 17, 49]
Generated Node #0,4: 24:[63, 17, 49] Operation: 67-18=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[18, 17, 4], Operations: ['67-63=4']
Exploring Operation: 18-4=14, Resulting Numbers: [17, 14]
Generated Node #0,1,0: 24:[17, 14] Operation: 18-4=14
Exploring Operation: 17-4=13, Resulting Numbers: [18, 13]
Generated Node #0,1,1: 24:[18, 13] Operation: 17-4=13
Exploring Operation: 18-17=1, Resulting Numbers: [4, 1]
Generated Node #0,1,2: 24:[4, 1] Operation: 18-17=1
Exploring Operation: 18+4=22, Resulting Numbers: [17, 22]
Generated Node #0,1,3: 24:[17, 22] Operation: 18+4=22
Exploring Operation: 17+4=21, Resulting Numbers: [18, 21]
Generated Node #0,1,4: 24:[18, 21] Operation: 17+4=21
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 24:[4, 1], Operations: ['67-63=4', '18-17=1']
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No 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: 24:[17, 14], Operations: ['67-63=4', '18-4=14']
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,24 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No 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: 24:[18, 13], Operations: ['67-63=4', '17-4=13']
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,24 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,24 unequal: No Solution
No 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: 24:[17, 22], Operations: ['67-63=4', '18+4=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,24 unequal: No Solution
No 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: 24:[18, 21], Operations: ['67-63=4', '17+4=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,24 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,24 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: 24:[67, 17, 45], Operations: ['63-18=45']
Exploring Operation: 67+17=84, Resulting Numbers: [45, 84]
Generated Node #0,3,0: 24:[45, 84] Operation: 67+17=84
Exploring Operation: 45-17=28, Resulting Numbers: [67, 28]
Generated Node #0,3,1: 24:[67, 28] Operation: 45-17=28
Exploring Operation: 17+45=62, Resulting Numbers: [67, 62]
Generated Node #0,3,2: 24:[67, 62] Operation: 17+45=62
Exploring Operation: 67-17=50, Resulting Numbers: [45, 50]
Generated Node #0,3,3: 24:[45, 50] Operation: 67-17=50
Exploring Operation: 67-45=22, Resulting Numbers: [17, 22]
Generated Node #0,3,4: 24:[17, 22] Operation: 67-45=22
Moving to Node #0,3,4
Current State: 24:[17, 22], Operations: ['63-18=45', '67-45=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[45, 50], Operations: ['63-18=45', '67-17=50']
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[67, 28], Operations: ['63-18=45', '45-17=28']
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,24 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[45, 84], Operations: ['63-18=45', '67+17=84']
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,24 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,24 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[67, 62], Operations: ['63-18=45', '17+45=62']
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,24 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 24:[63, 17, 49], Operations: ['67-18=49']
Exploring Operation: 63+17=80, Resulting Numbers: [49, 80]
Generated Node #0,4,0: 24:[49, 80] Operation: 63+17=80
Exploring Operation: 63-17=46, Resulting Numbers: [49, 46]
Generated Node #0,4,1: 24:[49, 46] Operation: 63-17=46
Exploring Operation: 17+49=66, Resulting Numbers: [63, 66]
Generated Node #0,4,2: 24:[63, 66] Operation: 17+49=66
Exploring Operation: 49-17=32, Resulting Numbers: [63, 32]
Generated Node #0,4,3: 24:[63, 32] Operation: 49-17=32
Exploring Operation: 63-49=14, Resulting Numbers: [17, 14]
Generated Node #0,4,4: 24:[17, 14] Operation: 63-49=14
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 24:[17, 14], Operations: ['67-18=49', '63-49=14']
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 17*14=238, Resulting Numbers: [238]
238,24 unequal: No Solution
Exploring Operation: 17+14=31, Resulting Numbers: [31]
31,24 unequal: No Solution
No 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: 24:[49, 46], Operations: ['67-18=49', '63-17=46']
Exploring Operation: 49+46=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 49*46=2254, Resulting Numbers: [2254]
2254,24 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No 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: 24:[63, 32], Operations: ['67-18=49', '49-17=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,24 unequal: No Solution
No 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: 24:[49, 80], Operations: ['67-18=49', '63+17=80']
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,24 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,24 unequal: No Solution
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,24 unequal: No Solution
No 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: 24:[63, 66], Operations: ['67-18=49', '17+49=66']
Exploring Operation: 63*66=4158, Resulting Numbers: [4158]
4158,24 unequal: No Solution
Exploring Operation: 63+66=129, Resulting Numbers: [129]
129,24 unequal: No Solution
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,24 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: 24:[63, 18, 50], Operations: ['67-17=50']
Exploring Operation: 18+50=68, Resulting Numbers: [63, 68]
Generated Node #0,0,0: 24:[63, 68] Operation: 18+50=68
Exploring Operation: 50-18=32, Resulting Numbers: [63, 32]
Generated Node #0,0,1: 24:[63, 32] Operation: 50-18=32
Exploring Operation: 63+18=81, Resulting Numbers: [50, 81]
Generated Node #0,0,2: 24:[50, 81] Operation: 63+18=81
Exploring Operation: 63-18=45, Resulting Numbers: [50, 45]
Generated Node #0,0,3: 24:[50, 45] Operation: 63-18=45
Exploring Operation: 63-50=13, Resulting Numbers: [18, 13]
Generated Node #0,0,4: 24:[18, 13] Operation: 63-50=13
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 24:[18, 13], Operations: ['67-17=50', '63-50=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,24 unequal: No Solution
No 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: 24:[63, 32], Operations: ['67-17=50', '50-18=32']
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,24 unequal: No Solution
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,24 unequal: No Solution
No 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: 24:[50, 45], Operations: ['67-17=50', '63-18=45']
Exploring Operation: 50+45=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 50*45=2250, Resulting Numbers: [2250]
2250,24 unequal: No Solution
No 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: 24:[63, 68], Operations: ['67-17=50', '18+50=68']
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,24 unequal: No Solution
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,24 unequal: No Solution
No 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: 24:[50, 81], Operations: ['67-17=50', '63+18=81']
Exploring Operation: 50+81=131, Resulting Numbers: [131]
131,24 unequal: No Solution
Exploring Operation: 50*81=4050, Resulting Numbers: [4050]
4050,24 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,24 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: 24:[67, 18, 46], Operations: ['63-17=46']
Exploring Operation: 46-18=28, Resulting Numbers: [67, 28]
Generated Node #0,2,0: 24:[67, 28] Operation: 46-18=28
Exploring Operation: 18+46=64, Resulting Numbers: [67, 64]
Generated Node #0,2,1: 24:[67, 64] Operation: 18+46=64
Exploring Operation: 67-46=21, Resulting Numbers: [18, 21]
Generated Node #0,2,2: 24:[18, 21] Operation: 67-46=21
Exploring Operation: 67-18=49, Resulting Numbers: [46, 49]
Generated Node #0,2,3: 24:[46, 49] Operation: 67-18=49
Exploring Operation: 67+18=85, Resulting Numbers: [46, 85]
Generated Node #0,2,4: 24:[46, 85] Operation: 67+18=85
Moving to Node #0,2,2
Current State: 24:[18, 21], Operations: ['63-17=46', '67-46=21']
Exploring Operation: 18*21=378, Resulting Numbers: [378]
378,24 unequal: No Solution
Exploring Operation: 18+21=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[46, 49], Operations: ['63-17=46', '67-18=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Exploring Operation: 46*49=2254, Resulting Numbers: [2254]
2254,24 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[67, 28], Operations: ['63-17=46', '46-18=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,24 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[67, 64], Operations: ['63-17=46', '18+46=64']
Exploring Operation: 67*64=4288, Resulting Numbers: [4288]
4288,24 unequal: No Solution
Exploring Operation: 67+64=131, Resulting Numbers: [131]
131,24 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,2,4
Current State: 24:[46, 85], Operations: ['63-17=46', '67+18=85']
Exploring Operation: 46*85=3910, Resulting Numbers: [3910]
3910,24 unequal: No Solution
Exploring Operation: 85-46=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Exploring Operation: 46+85=131, Resulting Numbers: [131]
131,24 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 |
[
56,
42,
16,
37
] | 49 | [
"42*16=672",
"672/56=12",
"37+12=49"
] | Current State: 49:[56, 42, 16, 37], Operations: []
Exploring Operation: 42*16=672, Resulting Numbers: [56, 37, 672]
Generated Node #2: [56, 37, 672] from Operation: 42*16=672
Current State: 49:[56, 37, 672], Operations: ['42*16=672']
Exploring Operation: 672/56=12, Resulting Numbers: [37, 12]
Generated Node #3: [37, 12] from Operation: 672/56=12
Current State: 49:[37, 12], Operations: ['42*16=672', '672/56=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[56, 42, 16, 37], Operations: []
Exploring Operation: 16+37=53, Resulting Numbers: [56, 42, 53]
Generated Node #0,0: 49:[56, 42, 53] Operation: 16+37=53
Exploring Operation: 42-37=5, Resulting Numbers: [56, 16, 5]
Generated Node #0,1: 49:[56, 16, 5] Operation: 42-37=5
Moving to Node #0,0
Current State: 49:[56, 42, 53], Operations: ['16+37=53']
Exploring Operation: 56-42=14, Resulting Numbers: [53, 14]
Generated Node #0,0,0: 49:[53, 14] Operation: 56-42=14
Exploring Operation: 56-53=3, Resulting Numbers: [42, 3]
Generated Node #0,0,1: 49:[42, 3] Operation: 56-53=3
Moving to Node #0,1
Current State: 49:[56, 16, 5], Operations: ['42-37=5']
Exploring Operation: 56-5=51, Resulting Numbers: [16, 51]
Generated Node #0,1,0: 49:[16, 51] Operation: 56-5=51
Exploring Operation: 56-16=40, Resulting Numbers: [5, 40]
Generated Node #0,1,1: 49:[5, 40] Operation: 56-16=40
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[16, 51], Operations: ['42-37=5', '56-5=51']
Exploring Operation: 16+51=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[5, 40], Operations: ['42-37=5', '56-16=40']
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,49 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,49 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: 49:[53, 14], Operations: ['16+37=53', '56-42=14']
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 53+14=67, Resulting Numbers: [67]
67,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[42, 3], Operations: ['16+37=53', '56-53=3']
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,49 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,49 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
21,
34,
29,
1
] | 83 | [
"21+34=55",
"29-1=28",
"55+28=83"
] | Current State: 83:[21, 34, 29, 1], Operations: []
Exploring Operation: 21+34=55, Resulting Numbers: [29, 1, 55]
Generated Node #2: [29, 1, 55] from Operation: 21+34=55
Current State: 83:[29, 1, 55], Operations: ['21+34=55']
Exploring Operation: 29-1=28, Resulting Numbers: [55, 28]
Generated Node #3: [55, 28] from Operation: 29-1=28
Current State: 83:[55, 28], Operations: ['21+34=55', '29-1=28']
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[21, 34, 29, 1], Operations: []
Exploring Operation: 21+29=50, Resulting Numbers: [34, 1, 50]
Generated Node #0,0: 83:[34, 1, 50] Operation: 21+29=50
Exploring Operation: 34+1=35, Resulting Numbers: [21, 29, 35]
Generated Node #0,1: 83:[21, 29, 35] Operation: 34+1=35
Exploring Operation: 21+1=22, Resulting Numbers: [34, 29, 22]
Generated Node #0,2: 83:[34, 29, 22] Operation: 21+1=22
Exploring Operation: 34+29=63, Resulting Numbers: [21, 1, 63]
Generated Node #0,3: 83:[21, 1, 63] Operation: 34+29=63
Exploring Operation: 21+34=55, Resulting Numbers: [29, 1, 55]
Generated Node #0,4: 83:[29, 1, 55] Operation: 21+34=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[34, 1, 50], Operations: ['21+29=50']
Exploring Operation: 1+50=51, Resulting Numbers: [34, 51]
Generated Node #0,0,0: 83:[34, 51] Operation: 1+50=51
Exploring Operation: 34+1=35, Resulting Numbers: [50, 35]
Generated Node #0,0,1: 83:[50, 35] Operation: 34+1=35
Exploring Operation: 34/1=34, Resulting Numbers: [50, 34]
Generated Node #0,0,2: 83:[50, 34] Operation: 34/1=34
Exploring Operation: 34*1=34, Resulting Numbers: [50, 34]
Generated Node #0,0,3: 83:[50, 34] Operation: 34*1=34
Exploring Operation: 1*50=50, Resulting Numbers: [34, 50]
Generated Node #0,0,4: 83:[34, 50] Operation: 1*50=50
Moving to Node #0,0,0
Current State: 83:[34, 51], Operations: ['21+29=50', '1+50=51']
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,83 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[50, 35], Operations: ['21+29=50', '34+1=35']
Exploring Operation: 50+35=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 50*35=1750, Resulting Numbers: [1750]
1750,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[50, 34], Operations: ['21+29=50', '34/1=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[50, 34], Operations: ['21+29=50', '34*1=34']
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[34, 50], Operations: ['21+29=50', '1*50=50']
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,83 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[21, 29, 35], Operations: ['34+1=35']
Exploring Operation: 21+35=56, Resulting Numbers: [29, 56]
Generated Node #0,1,0: 83:[29, 56] Operation: 21+35=56
Exploring Operation: 29+35=64, Resulting Numbers: [21, 64]
Generated Node #0,1,1: 83:[21, 64] Operation: 29+35=64
Exploring Operation: 29-21=8, Resulting Numbers: [35, 8]
Generated Node #0,1,2: 83:[35, 8] Operation: 29-21=8
Exploring Operation: 35-21=14, Resulting Numbers: [29, 14]
Generated Node #0,1,3: 83:[29, 14] Operation: 35-21=14
Exploring Operation: 21+29=50, Resulting Numbers: [35, 50]
Generated Node #0,1,4: 83:[35, 50] Operation: 21+29=50
Moving to Node #0,1,0
Current State: 83:[29, 56], Operations: ['34+1=35', '21+35=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,83 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[35, 50], Operations: ['34+1=35', '21+29=50']
Exploring Operation: 35+50=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 35*50=1750, Resulting Numbers: [1750]
1750,83 unequal: No Solution
Exploring Operation: 50-35=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[21, 64], Operations: ['34+1=35', '29+35=64']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[35, 8], Operations: ['34+1=35', '29-21=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,83 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[29, 14], Operations: ['34+1=35', '35-21=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[34, 29, 22], Operations: ['21+1=22']
Exploring Operation: 34+29=63, Resulting Numbers: [22, 63]
Generated Node #0,2,0: 83:[22, 63] Operation: 34+29=63
Exploring Operation: 29-22=7, Resulting Numbers: [34, 7]
Generated Node #0,2,1: 83:[34, 7] Operation: 29-22=7
Exploring Operation: 29+22=51, Resulting Numbers: [34, 51]
Generated Node #0,2,2: 83:[34, 51] Operation: 29+22=51
Exploring Operation: 34+22=56, Resulting Numbers: [29, 56]
Generated Node #0,2,3: 83:[29, 56] Operation: 34+22=56
Exploring Operation: 34-22=12, Resulting Numbers: [29, 12]
Generated Node #0,2,4: 83:[29, 12] Operation: 34-22=12
Moving to Node #0,2,0
Current State: 83:[22, 63], Operations: ['21+1=22', '34+29=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,83 unequal: No Solution
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[29, 56], Operations: ['21+1=22', '34+22=56']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,83 unequal: No Solution
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[34, 51], Operations: ['21+1=22', '29+22=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,83 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[34, 7], Operations: ['21+1=22', '29-22=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,83 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[29, 12], Operations: ['21+1=22', '34-22=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,83 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[21, 1, 63], Operations: ['34+29=63']
Exploring Operation: 21+1=22, Resulting Numbers: [63, 22]
Generated Node #0,3,0: 83:[63, 22] Operation: 21+1=22
Exploring Operation: 21/1=21, Resulting Numbers: [63, 21]
Generated Node #0,3,1: 83:[63, 21] Operation: 21/1=21
Exploring Operation: 21*1=21, Resulting Numbers: [63, 21]
Generated Node #0,3,2: 83:[63, 21] Operation: 21*1=21
Exploring Operation: 1+63=64, Resulting Numbers: [21, 64]
Generated Node #0,3,3: 83:[21, 64] Operation: 1+63=64
Exploring Operation: 1*63=63, Resulting Numbers: [21, 63]
Generated Node #0,3,4: 83:[21, 63] Operation: 1*63=63
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 83:[63, 22], Operations: ['34+29=63', '21+1=22']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 63+22=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 63*22=1386, Resulting Numbers: [1386]
1386,83 unequal: No Solution
No 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: 83:[21, 64], Operations: ['34+29=63', '1+63=64']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,83 unequal: No Solution
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,83 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,83 unequal: No Solution
No 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: 83:[63, 21], Operations: ['34+29=63', '21/1=21']
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,83 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,83 unequal: No Solution
No 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: 83:[63, 21], Operations: ['34+29=63', '21*1=21']
Exploring Operation: 63*21=1323, Resulting Numbers: [1323]
1323,83 unequal: No Solution
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,83 unequal: No Solution
No 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: 83:[21, 63], Operations: ['34+29=63', '1*63=63']
Exploring Operation: 63/21=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 21+63=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 21*63=1323, Resulting Numbers: [1323]
1323,83 unequal: No Solution
Exploring Operation: 63-21=42, Resulting Numbers: [42]
42,83 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: 83:[29, 1, 55], Operations: ['21+34=55']
Exploring Operation: 1+55=56, Resulting Numbers: [29, 56]
Generated Node #0,4,0: 83:[29, 56] Operation: 1+55=56
Exploring Operation: 29/1=29, Resulting Numbers: [55, 29]
Generated Node #0,4,1: 83:[55, 29] Operation: 29/1=29
Exploring Operation: 29+1=30, Resulting Numbers: [55, 30]
Generated Node #0,4,2: 83:[55, 30] Operation: 29+1=30
Exploring Operation: 1*55=55, Resulting Numbers: [29, 55]
Generated Node #0,4,3: 83:[29, 55] Operation: 1*55=55
Exploring Operation: 29*1=29, Resulting Numbers: [55, 29]
Generated Node #0,4,4: 83:[55, 29] Operation: 29*1=29
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 83:[29, 56], Operations: ['21+34=55', '1+55=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,83 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,83 unequal: No Solution
No 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: 83:[55, 30], Operations: ['21+34=55', '29+1=30']
Exploring Operation: 55+30=85, Resulting Numbers: [85]
85,83 unequal: No Solution
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,83 unequal: No Solution
Exploring Operation: 55*30=1650, Resulting Numbers: [1650]
1650,83 unequal: No Solution
No 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: 83:[55, 29], Operations: ['21+34=55', '29/1=29']
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,83 unequal: No Solution
No 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: 83:[29, 55], Operations: ['21+34=55', '1*55=55']
Exploring Operation: 29+55=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 29*55=1595, Resulting Numbers: [1595]
1595,83 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No 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: 83:[55, 29], Operations: ['21+34=55', '29*1=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,83 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,83 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,83 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 |
[
9,
21,
22,
97
] | 89 | [
"9+21=30",
"22+97=119",
"119-30=89"
] | Current State: 89:[9, 21, 22, 97], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [22, 97, 30]
Generated Node #2: [22, 97, 30] from Operation: 9+21=30
Current State: 89:[22, 97, 30], Operations: ['9+21=30']
Exploring Operation: 22+97=119, Resulting Numbers: [30, 119]
Generated Node #3: [30, 119] from Operation: 22+97=119
Current State: 89:[30, 119], Operations: ['9+21=30', '22+97=119']
Exploring Operation: 119-30=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[9, 21, 22, 97], Operations: []
Exploring Operation: 9+22=31, Resulting Numbers: [21, 97, 31]
Generated Node #0,0: 89:[21, 97, 31] Operation: 9+22=31
Exploring Operation: 21+22=43, Resulting Numbers: [9, 97, 43]
Generated Node #0,1: 89:[9, 97, 43] Operation: 21+22=43
Exploring Operation: 9+21=30, Resulting Numbers: [22, 97, 30]
Generated Node #0,2: 89:[22, 97, 30] Operation: 9+21=30
Moving to Node #0,0
Current State: 89:[21, 97, 31], Operations: ['9+22=31']
Exploring Operation: 21+31=52, Resulting Numbers: [97, 52]
Generated Node #0,0,0: 89:[97, 52] Operation: 21+31=52
Exploring Operation: 97-21=76, Resulting Numbers: [31, 76]
Generated Node #0,0,1: 89:[31, 76] Operation: 97-21=76
Exploring Operation: 21+97=118, Resulting Numbers: [31, 118]
Generated Node #0,0,2: 89:[31, 118] Operation: 21+97=118
Moving to Node #0,1
Current State: 89:[9, 97, 43], Operations: ['21+22=43']
Exploring Operation: 9+43=52, Resulting Numbers: [97, 52]
Generated Node #0,1,0: 89:[97, 52] Operation: 9+43=52
Exploring Operation: 9+97=106, Resulting Numbers: [43, 106]
Generated Node #0,1,1: 89:[43, 106] Operation: 9+97=106
Exploring Operation: 97-9=88, Resulting Numbers: [43, 88]
Generated Node #0,1,2: 89:[43, 88] Operation: 97-9=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[97, 52], Operations: ['21+22=43', '9+43=52']
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,89 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,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,2
Current State: 89:[43, 88], Operations: ['21+22=43', '97-9=88']
Exploring Operation: 43+88=131, Resulting Numbers: [131]
131,89 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 43*88=3784, Resulting Numbers: [3784]
3784,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:[43, 106], Operations: ['21+22=43', '9+97=106']
Exploring Operation: 43*106=4558, Resulting Numbers: [4558]
4558,89 unequal: No Solution
Exploring Operation: 106-43=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Exploring Operation: 43+106=149, Resulting Numbers: [149]
149,89 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: 89:[22, 97, 30], Operations: ['9+21=30']
Exploring Operation: 22+30=52, Resulting Numbers: [97, 52]
Generated Node #0,2,0: 89:[97, 52] Operation: 22+30=52
Exploring Operation: 97-22=75, Resulting Numbers: [30, 75]
Generated Node #0,2,1: 89:[30, 75] Operation: 97-22=75
Exploring Operation: 22+97=119, Resulting Numbers: [30, 119]
Generated Node #0,2,2: 89:[30, 119] Operation: 22+97=119
Moving to Node #0,0,0
Current State: 89:[97, 52], Operations: ['9+22=31', '21+31=52']
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,89 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[97, 52], Operations: ['9+21=30', '22+30=52']
Exploring Operation: 97*52=5044, Resulting Numbers: [5044]
5044,89 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[31, 76], Operations: ['9+22=31', '97-21=76']
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[30, 75], Operations: ['9+21=30', '97-22=75']
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,89 unequal: No Solution
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[31, 118], Operations: ['9+22=31', '21+97=118']
Exploring Operation: 31*118=3658, Resulting Numbers: [3658]
3658,89 unequal: No Solution
Exploring Operation: 118-31=87, Resulting Numbers: [87]
87,89 unequal: No Solution
Exploring Operation: 31+118=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[30, 119], Operations: ['9+21=30', '22+97=119']
Exploring Operation: 30+119=149, Resulting Numbers: [149]
149,89 unequal: No Solution
Exploring Operation: 119-30=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[9, 21, 22, 97], Operations: []
Exploring Operation: 9+21=30, Resulting Numbers: [22, 97, 30]
Generated Node #0,2: 89:[22, 97, 30] Operation: 9+21=30
Moving to Node #0,2
Current State: 89:[22, 97, 30], Operations: ['9+21=30']
Exploring Operation: 22+97=119, Resulting Numbers: [30, 119]
Generated Node #0,2,2: 89:[30, 119] Operation: 22+97=119
Moving to Node #0,2,2
Current State: 89:[30, 119], Operations: ['9+21=30', '22+97=119']
Exploring Operation: 119-30=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
39,
70,
28,
26
] | 28 | [
"39*28=1092",
"1092/26=42",
"70-42=28"
] | Current State: 28:[39, 70, 28, 26], Operations: []
Exploring Operation: 39*28=1092, Resulting Numbers: [70, 26, 1092]
Generated Node #2: [70, 26, 1092] from Operation: 39*28=1092
Current State: 28:[70, 26, 1092], Operations: ['39*28=1092']
Exploring Operation: 1092/26=42, Resulting Numbers: [70, 42]
Generated Node #3: [70, 42] from Operation: 1092/26=42
Current State: 28:[70, 42], Operations: ['39*28=1092', '1092/26=42']
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[39, 70, 28, 26], Operations: []
Exploring Operation: 70-39=31, Resulting Numbers: [28, 26, 31]
Generated Node #0,0: 28:[28, 26, 31] Operation: 70-39=31
Exploring Operation: 70-28=42, Resulting Numbers: [39, 26, 42]
Generated Node #0,1: 28:[39, 26, 42] Operation: 70-28=42
Moving to Node #0,0
Current State: 28:[28, 26, 31], Operations: ['70-39=31']
Exploring Operation: 31-26=5, Resulting Numbers: [28, 5]
Generated Node #0,0,0: 28:[28, 5] Operation: 31-26=5
Exploring Operation: 28-26=2, Resulting Numbers: [31, 2]
Generated Node #0,0,1: 28:[31, 2] Operation: 28-26=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[28, 5], Operations: ['70-39=31', '31-26=5']
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[31, 2], Operations: ['70-39=31', '28-26=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,28 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: 28:[39, 26, 42], Operations: ['70-28=42']
Exploring Operation: 42-39=3, Resulting Numbers: [26, 3]
Generated Node #0,1,0: 28:[26, 3] Operation: 42-39=3
Exploring Operation: 42-26=16, Resulting Numbers: [39, 16]
Generated Node #0,1,1: 28:[39, 16] Operation: 42-26=16
Moving to Node #0,1,0
Current State: 28:[26, 3], Operations: ['70-28=42', '42-39=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,28 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[39, 16], Operations: ['70-28=42', '42-26=16']
Exploring Operation: 39+16=55, Resulting Numbers: [55]
55,28 unequal: No Solution
Exploring Operation: 39-16=23, Resulting Numbers: [23]
23,28 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
11,
7,
1,
78
] | 22 | [
"78-1=77",
"77/7=11",
"11+11=22"
] | Current State: 22:[11, 7, 1, 78], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [11, 7, 77]
Generated Node #2: [11, 7, 77] from Operation: 78-1=77
Current State: 22:[11, 7, 77], Operations: ['78-1=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11, 11]
Generated Node #3: [11, 11] from Operation: 77/7=11
Current State: 22:[11, 11], Operations: ['78-1=77', '77/7=11']
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[11, 7, 1, 78], Operations: []
Exploring Operation: 78-11=67, Resulting Numbers: [7, 1, 67]
Generated Node #0,0: 22:[7, 1, 67] Operation: 78-11=67
Exploring Operation: 78-7=71, Resulting Numbers: [11, 1, 71]
Generated Node #0,1: 22:[11, 1, 71] Operation: 78-7=71
Exploring Operation: 11-7=4, Resulting Numbers: [1, 78, 4]
Generated Node #0,2: 22:[1, 78, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[7, 1, 67], Operations: ['78-11=67']
Exploring Operation: 67-7=60, Resulting Numbers: [1, 60]
Generated Node #0,0,0: 22:[1, 60] Operation: 67-7=60
Exploring Operation: 7+1=8, Resulting Numbers: [67, 8]
Generated Node #0,0,1: 22:[67, 8] Operation: 7+1=8
Exploring Operation: 67-1=66, Resulting Numbers: [7, 66]
Generated Node #0,0,2: 22:[7, 66] Operation: 67-1=66
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[1, 60], Operations: ['78-11=67', '67-7=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,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,0,1
Current State: 22:[67, 8], Operations: ['78-11=67', '7+1=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,22 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,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,0,2
Current State: 22:[7, 66], Operations: ['78-11=67', '67-1=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,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,1
Current State: 22:[11, 1, 71], Operations: ['78-7=71']
Exploring Operation: 71-1=70, Resulting Numbers: [11, 70]
Generated Node #0,1,0: 22:[11, 70] Operation: 71-1=70
Exploring Operation: 71-11=60, Resulting Numbers: [1, 60]
Generated Node #0,1,1: 22:[1, 60] Operation: 71-11=60
Exploring Operation: 11*1=11, Resulting Numbers: [71, 11]
Generated Node #0,1,2: 22:[71, 11] Operation: 11*1=11
Moving to Node #0,1,1
Current State: 22:[1, 60], Operations: ['78-7=71', '71-11=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[11, 70], Operations: ['78-7=71', '71-1=70']
Exploring Operation: 11*70=770, Resulting Numbers: [770]
770,22 unequal: No Solution
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[71, 11], Operations: ['78-7=71', '11*1=11']
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,22 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,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:[1, 78, 4], Operations: ['11-7=4']
Exploring Operation: 78-4=74, Resulting Numbers: [1, 74]
Generated Node #0,2,0: 22:[1, 74] Operation: 78-4=74
Exploring Operation: 78-1=77, Resulting Numbers: [4, 77]
Generated Node #0,2,1: 22:[4, 77] Operation: 78-1=77
Exploring Operation: 4-1=3, Resulting Numbers: [78, 3]
Generated Node #0,2,2: 22:[78, 3] Operation: 4-1=3
Moving to Node #0,2,0
Current State: 22:[1, 74], Operations: ['11-7=4', '78-4=74']
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Moving to Node #0,2,1
Current State: 22:[4, 77], Operations: ['11-7=4', '78-1=77']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,22 unequal: No Solution
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,22 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Moving to Node #0,2,2
Current State: 22:[78, 3], Operations: ['11-7=4', '4-1=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,22 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,22 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 |
[
99,
75,
58,
16
] | 87 | [
"99-75=24",
"58*24=1392",
"1392/16=87"
] | Current State: 87:[99, 75, 58, 16], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [58, 16, 24]
Generated Node #2: [58, 16, 24] from Operation: 99-75=24
Current State: 87:[58, 16, 24], Operations: ['99-75=24']
Exploring Operation: 58*24=1392, Resulting Numbers: [16, 1392]
Generated Node #3: [16, 1392] from Operation: 58*24=1392
Current State: 87:[16, 1392], Operations: ['99-75=24', '58*24=1392']
Exploring Operation: 1392/16=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[99, 75, 58, 16], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [75, 16, 41]
Generated Node #0,0: 87:[75, 16, 41] Operation: 99-58=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[75, 16, 41], Operations: ['99-58=41']
Exploring Operation: 75+16=91, Resulting Numbers: [41, 91]
Generated Node #0,0,0: 87:[41, 91] Operation: 75+16=91
Moving to Node #0,0,0
Current State: 87:[41, 91], Operations: ['99-58=41', '75+16=91']
Exploring Operation: 91-41=50, Resulting Numbers: [50]
50,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
75,
70,
26
] | 41 | [
"10+75=85",
"70-26=44",
"85-44=41"
] | Current State: 41:[10, 75, 70, 26], Operations: []
Exploring Operation: 10+75=85, Resulting Numbers: [70, 26, 85]
Generated Node #2: [70, 26, 85] from Operation: 10+75=85
Current State: 41:[70, 26, 85], Operations: ['10+75=85']
Exploring Operation: 70-26=44, Resulting Numbers: [85, 44]
Generated Node #3: [85, 44] from Operation: 70-26=44
Current State: 41:[85, 44], Operations: ['10+75=85', '70-26=44']
Exploring Operation: 85-44=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[10, 75, 70, 26], Operations: []
Exploring Operation: 75-10=65, Resulting Numbers: [70, 26, 65]
Generated Node #0,0: 41:[70, 26, 65] Operation: 75-10=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[70, 26, 65], Operations: ['75-10=65']
Exploring Operation: 70-26=44, Resulting Numbers: [65, 44]
Generated Node #0,0,0: 41:[65, 44] Operation: 70-26=44
Moving to Node #0,0,0
Current State: 41:[65, 44], Operations: ['75-10=65', '70-26=44']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,41 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 |
[
15,
10,
58,
37
] | 46 | [
"15+10=25",
"58-37=21",
"25+21=46"
] | Current State: 46:[15, 10, 58, 37], Operations: []
Exploring Operation: 15+10=25, Resulting Numbers: [58, 37, 25]
Generated Node #2: [58, 37, 25] from Operation: 15+10=25
Current State: 46:[58, 37, 25], Operations: ['15+10=25']
Exploring Operation: 58-37=21, Resulting Numbers: [25, 21]
Generated Node #3: [25, 21] from Operation: 58-37=21
Current State: 46:[25, 21], Operations: ['15+10=25', '58-37=21']
Exploring Operation: 25+21=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[15, 10, 58, 37], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [15, 10, 21]
Generated Node #0,0: 46:[15, 10, 21] Operation: 58-37=21
Moving to Node #0,0
Current State: 46:[15, 10, 21], Operations: ['58-37=21']
Exploring Operation: 15+10=25, Resulting Numbers: [21, 25]
Generated Node #0,0,0: 46:[21, 25] Operation: 15+10=25
Moving to Node #0,0,0
Current State: 46:[21, 25], Operations: ['58-37=21', '15+10=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[15, 10, 58, 37], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [15, 10, 21]
Generated Node #0,0: 46:[15, 10, 21] Operation: 58-37=21
Moving to Node #0,0
Current State: 46:[15, 10, 21], Operations: ['58-37=21']
Exploring Operation: 15+10=25, Resulting Numbers: [21, 25]
Generated Node #0,0,0: 46:[21, 25] Operation: 15+10=25
Moving to Node #0,0,0
Current State: 46:[21, 25], Operations: ['58-37=21', '15+10=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
84,
96,
46,
43
] | 15 | [
"96-84=12",
"46-43=3",
"12+3=15"
] | Current State: 15:[84, 96, 46, 43], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [46, 43, 12]
Generated Node #2: [46, 43, 12] from Operation: 96-84=12
Current State: 15:[46, 43, 12], Operations: ['96-84=12']
Exploring Operation: 46-43=3, Resulting Numbers: [12, 3]
Generated Node #3: [12, 3] from Operation: 46-43=3
Current State: 15:[12, 3], Operations: ['96-84=12', '46-43=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[84, 96, 46, 43], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [46, 43, 12]
Generated Node #0,0: 15:[46, 43, 12] Operation: 96-84=12
Exploring Operation: 84-46=38, Resulting Numbers: [96, 43, 38]
Generated Node #0,1: 15:[96, 43, 38] Operation: 84-46=38
Exploring Operation: 96-46=50, Resulting Numbers: [84, 43, 50]
Generated Node #0,2: 15:[84, 43, 50] Operation: 96-46=50
Exploring Operation: 84-43=41, Resulting Numbers: [96, 46, 41]
Generated Node #0,3: 15:[96, 46, 41] Operation: 84-43=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[46, 43, 12], Operations: ['96-84=12']
Exploring Operation: 46-12=34, Resulting Numbers: [43, 34]
Generated Node #0,0,0: 15:[43, 34] Operation: 46-12=34
Exploring Operation: 46-43=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 15:[12, 3] Operation: 46-43=3
Exploring Operation: 46+12=58, Resulting Numbers: [43, 58]
Generated Node #0,0,2: 15:[43, 58] Operation: 46+12=58
Exploring Operation: 43-12=31, Resulting Numbers: [46, 31]
Generated Node #0,0,3: 15:[46, 31] Operation: 43-12=31
Moving to Node #0,0,1
Current State: 15:[12, 3], Operations: ['96-84=12', '46-43=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[84, 96, 46, 43], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [46, 43, 12]
Generated Node #0,0: 15:[46, 43, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 15:[46, 43, 12], Operations: ['96-84=12']
Exploring Operation: 46-43=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 15:[12, 3] Operation: 46-43=3
Moving to Node #0,0,1
Current State: 15:[12, 3], Operations: ['96-84=12', '46-43=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
13,
14,
71,
17
] | 65 | [
"14+71=85",
"13*85=1105",
"1105/17=65"
] | Current State: 65:[13, 14, 71, 17], Operations: []
Exploring Operation: 14+71=85, Resulting Numbers: [13, 17, 85]
Generated Node #2: [13, 17, 85] from Operation: 14+71=85
Current State: 65:[13, 17, 85], Operations: ['14+71=85']
Exploring Operation: 13*85=1105, Resulting Numbers: [17, 1105]
Generated Node #3: [17, 1105] from Operation: 13*85=1105
Current State: 65:[17, 1105], Operations: ['14+71=85', '13*85=1105']
Exploring Operation: 1105/17=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[13, 14, 71, 17], Operations: []
Exploring Operation: 71-13=58, Resulting Numbers: [14, 17, 58]
Generated Node #0,0: 65:[14, 17, 58] Operation: 71-13=58
Exploring Operation: 71-17=54, Resulting Numbers: [13, 14, 54]
Generated Node #0,1: 65:[13, 14, 54] Operation: 71-17=54
Exploring Operation: 71-14=57, Resulting Numbers: [13, 17, 57]
Generated Node #0,2: 65:[13, 17, 57] Operation: 71-14=57
Exploring Operation: 17-14=3, Resulting Numbers: [13, 71, 3]
Generated Node #0,3: 65:[13, 71, 3] Operation: 17-14=3
Exploring Operation: 17-13=4, Resulting Numbers: [14, 71, 4]
Generated Node #0,4: 65:[14, 71, 4] Operation: 17-13=4
Moving to Node #0,3
Current State: 65:[13, 71, 3], Operations: ['17-14=3']
Exploring Operation: 13+3=16, Resulting Numbers: [71, 16]
Generated Node #0,3,0: 65:[71, 16] Operation: 13+3=16
Exploring Operation: 71-3=68, Resulting Numbers: [13, 68]
Generated Node #0,3,1: 65:[13, 68] Operation: 71-3=68
Exploring Operation: 71-13=58, Resulting Numbers: [3, 58]
Generated Node #0,3,2: 65:[3, 58] Operation: 71-13=58
Exploring Operation: 71+3=74, Resulting Numbers: [13, 74]
Generated Node #0,3,3: 65:[13, 74] Operation: 71+3=74
Exploring Operation: 13-3=10, Resulting Numbers: [71, 10]
Generated Node #0,3,4: 65:[71, 10] Operation: 13-3=10
Moving to Node #0,4
Current State: 65:[14, 71, 4], Operations: ['17-13=4']
Exploring Operation: 71+4=75, Resulting Numbers: [14, 75]
Generated Node #0,4,0: 65:[14, 75] Operation: 71+4=75
Exploring Operation: 71-4=67, Resulting Numbers: [14, 67]
Generated Node #0,4,1: 65:[14, 67] Operation: 71-4=67
Exploring Operation: 71-14=57, Resulting Numbers: [4, 57]
Generated Node #0,4,2: 65:[4, 57] Operation: 71-14=57
Exploring Operation: 14+4=18, Resulting Numbers: [71, 18]
Generated Node #0,4,3: 65:[71, 18] Operation: 14+4=18
Exploring Operation: 14-4=10, Resulting Numbers: [71, 10]
Generated Node #0,4,4: 65:[71, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 65:[14, 67], Operations: ['17-13=4', '71-4=67']
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,65 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 65:[4, 57], Operations: ['17-13=4', '71-14=57']
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,65 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 65:[71, 10], Operations: ['17-13=4', '14-4=10']
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,65 unequal: No Solution
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 65:[14, 75], Operations: ['17-13=4', '71+4=75']
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 65:[71, 18], Operations: ['17-13=4', '14+4=18']
Exploring Operation: 71-18=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 71*18=1278, Resulting Numbers: [1278]
1278,65 unequal: No Solution
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,65 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: 65:[14, 17, 58], Operations: ['71-13=58']
Exploring Operation: 17-14=3, Resulting Numbers: [58, 3]
Generated Node #0,0,0: 65:[58, 3] Operation: 17-14=3
Exploring Operation: 14+17=31, Resulting Numbers: [58, 31]
Generated Node #0,0,1: 65:[58, 31] Operation: 14+17=31
Exploring Operation: 14+58=72, Resulting Numbers: [17, 72]
Generated Node #0,0,2: 65:[17, 72] Operation: 14+58=72
Exploring Operation: 17+58=75, Resulting Numbers: [14, 75]
Generated Node #0,0,3: 65:[14, 75] Operation: 17+58=75
Exploring Operation: 58-14=44, Resulting Numbers: [17, 44]
Generated Node #0,0,4: 65:[17, 44] Operation: 58-14=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[58, 3], Operations: ['71-13=58', '17-14=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,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,2
Current State: 65:[17, 72], Operations: ['71-13=58', '14+58=72']
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 17*72=1224, Resulting Numbers: [1224]
1224,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,3
Current State: 65:[14, 75], Operations: ['71-13=58', '17+58=75']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 14*75=1050, Resulting Numbers: [1050]
1050,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,1
Current State: 65:[58, 31], Operations: ['71-13=58', '14+17=31']
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,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,4
Current State: 65:[17, 44], Operations: ['71-13=58', '58-14=44']
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,65 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,65 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: 65:[13, 14, 54], Operations: ['71-17=54']
Exploring Operation: 14+54=68, Resulting Numbers: [13, 68]
Generated Node #0,1,0: 65:[13, 68] Operation: 14+54=68
Exploring Operation: 13+54=67, Resulting Numbers: [14, 67]
Generated Node #0,1,1: 65:[14, 67] Operation: 13+54=67
Exploring Operation: 14-13=1, Resulting Numbers: [54, 1]
Generated Node #0,1,2: 65:[54, 1] Operation: 14-13=1
Exploring Operation: 54-13=41, Resulting Numbers: [14, 41]
Generated Node #0,1,3: 65:[14, 41] Operation: 54-13=41
Exploring Operation: 13+14=27, Resulting Numbers: [54, 27]
Generated Node #0,1,4: 65:[54, 27] Operation: 13+14=27
Moving to Node #0,2
Current State: 65:[13, 17, 57], Operations: ['71-14=57']
Exploring Operation: 13+57=70, Resulting Numbers: [17, 70]
Generated Node #0,2,0: 65:[17, 70] Operation: 13+57=70
Exploring Operation: 13+17=30, Resulting Numbers: [57, 30]
Generated Node #0,2,1: 65:[57, 30] Operation: 13+17=30
Exploring Operation: 57-13=44, Resulting Numbers: [17, 44]
Generated Node #0,2,2: 65:[17, 44] Operation: 57-13=44
Exploring Operation: 17+57=74, Resulting Numbers: [13, 74]
Generated Node #0,2,3: 65:[13, 74] Operation: 17+57=74
Exploring Operation: 17-13=4, Resulting Numbers: [57, 4]
Generated Node #0,2,4: 65:[57, 4] Operation: 17-13=4
Moving to Node #0,3,1
Current State: 65:[13, 68], Operations: ['17-14=3', '71-3=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[13, 68], Operations: ['71-17=54', '14+54=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,65 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[14, 67], Operations: ['71-17=54', '13+54=67']
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,65 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[3, 58], Operations: ['17-14=3', '71-13=58']
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,65 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Moving to Node #0,2,4
Current State: 65:[57, 4], Operations: ['71-14=57', '17-13=4']
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,65 unequal: No Solution
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[13, 74], Operations: ['71-14=57', '17+57=74']
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,65 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[17, 70], Operations: ['71-14=57', '13+57=70']
Exploring Operation: 17*70=1190, Resulting Numbers: [1190]
1190,65 unequal: No Solution
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 70-17=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[71, 16], Operations: ['17-14=3', '13+3=16']
Exploring Operation: 71-16=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 71+16=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Exploring Operation: 71*16=1136, Resulting Numbers: [1136]
1136,65 unequal: No Solution
Moving to Node #0,3,4
Current State: 65:[71, 10], Operations: ['17-14=3', '13-3=10']
Exploring Operation: 71+10=81, Resulting Numbers: [81]
81,65 unequal: No Solution
Exploring Operation: 71*10=710, Resulting Numbers: [710]
710,65 unequal: No Solution
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Moving to Node #0,3,3
Current State: 65:[13, 74], Operations: ['17-14=3', '71+3=74']
Exploring Operation: 13*74=962, Resulting Numbers: [962]
962,65 unequal: No Solution
Exploring Operation: 74-13=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Exploring Operation: 13+74=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[54, 1], Operations: ['71-17=54', '14-13=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[57, 30], Operations: ['71-14=57', '13+17=30']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,65 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[17, 44], Operations: ['71-14=57', '57-13=44']
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 17*44=748, Resulting Numbers: [748]
748,65 unequal: No Solution
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,65 unequal: No Solution
Moving to Node #0,1,3
Current State: 65:[14, 41], Operations: ['71-17=54', '54-13=41']
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 14+41=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 14*41=574, Resulting Numbers: [574]
574,65 unequal: No Solution
Moving to Node #0,1,4
Current State: 65:[54, 27], Operations: ['71-17=54', '13+14=27']
Exploring Operation: 54/27=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 54*27=1458, Resulting Numbers: [1458]
1458,65 unequal: No Solution
Exploring Operation: 54-27=27, Resulting Numbers: [27]
27,65 unequal: No Solution
Exploring Operation: 54+27=81, Resulting Numbers: [81]
81,65 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
54,
54,
62,
99
] | 62 | [
"54-54=0",
"99*0=0",
"62+0=62"
] | Current State: 62:[54, 54, 62, 99], Operations: []
Exploring Operation: 54-54=0, Resulting Numbers: [62, 99, 0]
Generated Node #2: [62, 99, 0] from Operation: 54-54=0
Current State: 62:[62, 99, 0], Operations: ['54-54=0']
Exploring Operation: 99*0=0, Resulting Numbers: [62, 0]
Generated Node #3: [62, 0] from Operation: 99*0=0
Current State: 62:[62, 0], Operations: ['54-54=0', '99*0=0']
Exploring Operation: 62+0=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[54, 54, 62, 99], Operations: []
Exploring Operation: 99-62=37, Resulting Numbers: [54, 54, 37]
Generated Node #0,0: 62:[54, 54, 37] Operation: 99-62=37
Exploring Operation: 99-54=45, Resulting Numbers: [54, 62, 45]
Generated Node #0,1: 62:[54, 62, 45] Operation: 99-54=45
Exploring Operation: 54/54=1, Resulting Numbers: [62, 99, 1]
Generated Node #0,2: 62:[62, 99, 1] Operation: 54/54=1
Exploring Operation: 99-54=45, Resulting Numbers: [54, 62, 45]
Generated Node #0,3: 62:[54, 62, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[54, 54, 37], Operations: ['99-62=37']
Exploring Operation: 54/54=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 62:[37, 1] Operation: 54/54=1
Exploring Operation: 54-54=0, Resulting Numbers: [37, 0]
Generated Node #0,0,1: 62:[37, 0] Operation: 54-54=0
Exploring Operation: 54-37=17, Resulting Numbers: [54, 17]
Generated Node #0,0,2: 62:[54, 17] Operation: 54-37=17
Exploring Operation: 54-37=17, Resulting Numbers: [54, 17]
Generated Node #0,0,3: 62:[54, 17] Operation: 54-37=17
Moving to Node #0,0,0
Current State: 62:[37, 1], Operations: ['99-62=37', '54/54=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 37+1=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[37, 0], Operations: ['99-62=37', '54-54=0']
Exploring Operation: 37+0=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 37*0=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 37-0=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[54, 17], Operations: ['99-62=37', '54-37=17']
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,62 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[54, 17], Operations: ['99-62=37', '54-37=17']
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,62 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[54, 62, 45], Operations: ['99-54=45']
Exploring Operation: 62-45=17, Resulting Numbers: [54, 17]
Generated Node #0,1,0: 62:[54, 17] Operation: 62-45=17
Exploring Operation: 54+45=99, Resulting Numbers: [62, 99]
Generated Node #0,1,1: 62:[62, 99] Operation: 54+45=99
Exploring Operation: 54-45=9, Resulting Numbers: [62, 9]
Generated Node #0,1,2: 62:[62, 9] Operation: 54-45=9
Exploring Operation: 62-54=8, Resulting Numbers: [45, 8]
Generated Node #0,1,3: 62:[45, 8] Operation: 62-54=8
Moving to Node #0,1,2
Current State: 62:[62, 9], Operations: ['99-54=45', '54-45=9']
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[45, 8], Operations: ['99-54=45', '62-54=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,62 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[54, 17], Operations: ['99-54=45', '62-45=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[62, 99], Operations: ['99-54=45', '54+45=99']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,62 unequal: No Solution
Exploring Operation: 62*99=6138, Resulting Numbers: [6138]
6138,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,3
Current State: 62:[54, 62, 45], Operations: ['99-54=45']
Exploring Operation: 54-45=9, Resulting Numbers: [62, 9]
Generated Node #0,3,0: 62:[62, 9] Operation: 54-45=9
Exploring Operation: 54+45=99, Resulting Numbers: [62, 99]
Generated Node #0,3,1: 62:[62, 99] Operation: 54+45=99
Exploring Operation: 62-45=17, Resulting Numbers: [54, 17]
Generated Node #0,3,2: 62:[54, 17] Operation: 62-45=17
Exploring Operation: 62-54=8, Resulting Numbers: [45, 8]
Generated Node #0,3,3: 62:[45, 8] Operation: 62-54=8
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 62:[62, 9], Operations: ['99-54=45', '54-45=9']
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,62 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,62 unequal: No Solution
No 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: 62:[45, 8], Operations: ['99-54=45', '62-54=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,62 unequal: No Solution
No 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: 62:[54, 17], Operations: ['99-54=45', '62-45=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 54*17=918, Resulting Numbers: [918]
918,62 unequal: No Solution
No 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: 62:[62, 99], Operations: ['99-54=45', '54+45=99']
Exploring Operation: 62*99=6138, Resulting Numbers: [6138]
6138,62 unequal: No Solution
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 62+99=161, Resulting Numbers: [161]
161,62 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: 62:[62, 99, 1], Operations: ['54/54=1']
Exploring Operation: 62/1=62, Resulting Numbers: [99, 62]
Generated Node #0,2,0: 62:[99, 62] Operation: 62/1=62
Exploring Operation: 99-1=98, Resulting Numbers: [62, 98]
Generated Node #0,2,1: 62:[62, 98] Operation: 99-1=98
Exploring Operation: 62*1=62, Resulting Numbers: [99, 62]
Generated Node #0,2,2: 62:[99, 62] Operation: 62*1=62
Exploring Operation: 99-62=37, Resulting Numbers: [1, 37]
Generated Node #0,2,3: 62:[1, 37] Operation: 99-62=37
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 62:[1, 37], Operations: ['54/54=1', '99-62=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,62 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,62 unequal: No Solution
No 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: 62:[62, 98], Operations: ['54/54=1', '99-1=98']
Exploring Operation: 62*98=6076, Resulting Numbers: [6076]
6076,62 unequal: No Solution
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 62+98=160, Resulting Numbers: [160]
160,62 unequal: No Solution
No 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: 62:[99, 62], Operations: ['54/54=1', '62/1=62']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 99*62=6138, Resulting Numbers: [6138]
6138,62 unequal: No Solution
Exploring Operation: 99+62=161, Resulting Numbers: [161]
161,62 unequal: No Solution
No 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: 62:[99, 62], Operations: ['54/54=1', '62*1=62']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 99+62=161, Resulting Numbers: [161]
161,62 unequal: No Solution
Exploring Operation: 99*62=6138, Resulting Numbers: [6138]
6138,62 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 |
[
72,
7,
56,
53
] | 68 | [
"72-7=65",
"56-53=3",
"65+3=68"
] | Current State: 68:[72, 7, 56, 53], Operations: []
Exploring Operation: 72-7=65, Resulting Numbers: [56, 53, 65]
Generated Node #2: [56, 53, 65] from Operation: 72-7=65
Current State: 68:[56, 53, 65], Operations: ['72-7=65']
Exploring Operation: 56-53=3, Resulting Numbers: [65, 3]
Generated Node #3: [65, 3] from Operation: 56-53=3
Current State: 68:[65, 3], Operations: ['72-7=65', '56-53=3']
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[72, 7, 56, 53], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [7, 56, 19]
Generated Node #0,0: 68:[7, 56, 19] Operation: 72-53=19
Exploring Operation: 56-53=3, Resulting Numbers: [72, 7, 3]
Generated Node #0,1: 68:[72, 7, 3] Operation: 56-53=3
Moving to Node #0,1
Current State: 68:[72, 7, 3], Operations: ['56-53=3']
Exploring Operation: 72-3=69, Resulting Numbers: [7, 69]
Generated Node #0,1,0: 68:[7, 69] Operation: 72-3=69
Exploring Operation: 72-7=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 68:[3, 65] Operation: 72-7=65
Moving to Node #0,0
Current State: 68:[7, 56, 19], Operations: ['72-53=19']
Exploring Operation: 56-19=37, Resulting Numbers: [7, 37]
Generated Node #0,0,0: 68:[7, 37] Operation: 56-19=37
Exploring Operation: 56/7=8, Resulting Numbers: [19, 8]
Generated Node #0,0,1: 68:[19, 8] Operation: 56/7=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[7, 37], Operations: ['72-53=19', '56-19=37']
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,68 unequal: No Solution
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,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,0,1
Current State: 68:[19, 8], Operations: ['72-53=19', '56/7=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,68 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: 68:[7, 69], Operations: ['56-53=3', '72-3=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[3, 65], Operations: ['56-53=3', '72-7=65']
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[72, 7, 56, 53], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [72, 7, 3]
Generated Node #0,1: 68:[72, 7, 3] Operation: 56-53=3
Moving to Node #0,1
Current State: 68:[72, 7, 3], Operations: ['56-53=3']
Exploring Operation: 72-7=65, Resulting Numbers: [3, 65]
Generated Node #0,1,1: 68:[3, 65] Operation: 72-7=65
Moving to Node #0,1,1
Current State: 68:[3, 65], Operations: ['56-53=3', '72-7=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
57,
77,
86,
74
] | 87 | [
"86-57=29",
"77-74=3",
"29*3=87"
] | Current State: 87:[57, 77, 86, 74], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [77, 74, 29]
Generated Node #2: [77, 74, 29] from Operation: 86-57=29
Current State: 87:[77, 74, 29], Operations: ['86-57=29']
Exploring Operation: 77-74=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 77-74=3
Current State: 87:[29, 3], Operations: ['86-57=29', '77-74=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[57, 77, 86, 74], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [77, 74, 29]
Generated Node #0,0: 87:[77, 74, 29] Operation: 86-57=29
Exploring Operation: 77-57=20, Resulting Numbers: [86, 74, 20]
Generated Node #0,1: 87:[86, 74, 20] Operation: 77-57=20
Moving to Node #0,0
Current State: 87:[77, 74, 29], Operations: ['86-57=29']
Exploring Operation: 77-74=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 87:[29, 3] Operation: 77-74=3
Exploring Operation: 74+29=103, Resulting Numbers: [77, 103]
Generated Node #0,0,1: 87:[77, 103] Operation: 74+29=103
Moving to Node #0,1
Current State: 87:[86, 74, 20], Operations: ['77-57=20']
Exploring Operation: 74+20=94, Resulting Numbers: [86, 94]
Generated Node #0,1,0: 87:[86, 94] Operation: 74+20=94
Exploring Operation: 86-74=12, Resulting Numbers: [20, 12]
Generated Node #0,1,1: 87:[20, 12] Operation: 86-74=12
Moving to Node #0,0,0
Current State: 87:[29, 3], Operations: ['86-57=29', '77-74=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[57, 77, 86, 74], Operations: []
Exploring Operation: 86-57=29, Resulting Numbers: [77, 74, 29]
Generated Node #0,0: 87:[77, 74, 29] Operation: 86-57=29
Moving to Node #0,0
Current State: 87:[77, 74, 29], Operations: ['86-57=29']
Exploring Operation: 77-74=3, Resulting Numbers: [29, 3]
Generated Node #0,0,0: 87:[29, 3] Operation: 77-74=3
Moving to Node #0,0,0
Current State: 87:[29, 3], Operations: ['86-57=29', '77-74=3']
Exploring Operation: 29*3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
16,
40,
38,
42
] | 92 | [
"42-40=2",
"38*2=76",
"16+76=92"
] | Current State: 92:[16, 40, 38, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [16, 38, 2]
Generated Node #2: [16, 38, 2] from Operation: 42-40=2
Current State: 92:[16, 38, 2], Operations: ['42-40=2']
Exploring Operation: 38*2=76, Resulting Numbers: [16, 76]
Generated Node #3: [16, 76] from Operation: 38*2=76
Current State: 92:[16, 76], Operations: ['42-40=2', '38*2=76']
Exploring Operation: 16+76=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[16, 40, 38, 42], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [40, 42, 22]
Generated Node #0,0: 92:[40, 42, 22] Operation: 38-16=22
Moving to Node #0,0
Current State: 92:[40, 42, 22], Operations: ['38-16=22']
Exploring Operation: 42-40=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 92:[22, 2] Operation: 42-40=2
Moving to Node #0,0,0
Current State: 92:[22, 2], Operations: ['38-16=22', '42-40=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
93,
63,
96,
7
] | 84 | [
"96-93=3",
"7*3=21",
"63+21=84"
] | Current State: 84:[93, 63, 96, 7], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [63, 7, 3]
Generated Node #2: [63, 7, 3] from Operation: 96-93=3
Current State: 84:[63, 7, 3], Operations: ['96-93=3']
Exploring Operation: 7*3=21, Resulting Numbers: [63, 21]
Generated Node #3: [63, 21] from Operation: 7*3=21
Current State: 84:[63, 21], Operations: ['96-93=3', '7*3=21']
Exploring Operation: 63+21=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[93, 63, 96, 7], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [96, 7, 30]
Generated Node #0,0: 84:[96, 7, 30] Operation: 93-63=30
Exploring Operation: 93-7=86, Resulting Numbers: [63, 96, 86]
Generated Node #0,1: 84:[63, 96, 86] Operation: 93-7=86
Exploring Operation: 96-93=3, Resulting Numbers: [63, 7, 3]
Generated Node #0,2: 84:[63, 7, 3] Operation: 96-93=3
Exploring Operation: 96-63=33, Resulting Numbers: [93, 7, 33]
Generated Node #0,3: 84:[93, 7, 33] Operation: 96-63=33
Exploring Operation: 63/7=9, Resulting Numbers: [93, 96, 9]
Generated Node #0,4: 84:[93, 96, 9] Operation: 63/7=9
Moving to Node #0,0
Current State: 84:[96, 7, 30], Operations: ['93-63=30']
Exploring Operation: 96-7=89, Resulting Numbers: [30, 89]
Generated Node #0,0,0: 84:[30, 89] Operation: 96-7=89
Exploring Operation: 7+30=37, Resulting Numbers: [96, 37]
Generated Node #0,0,1: 84:[96, 37] Operation: 7+30=37
Exploring Operation: 96-30=66, Resulting Numbers: [7, 66]
Generated Node #0,0,2: 84:[7, 66] Operation: 96-30=66
Exploring Operation: 30-7=23, Resulting Numbers: [96, 23]
Generated Node #0,0,3: 84:[96, 23] Operation: 30-7=23
Exploring Operation: 96+7=103, Resulting Numbers: [30, 103]
Generated Node #0,0,4: 84:[30, 103] Operation: 96+7=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[30, 89], Operations: ['93-63=30', '96-7=89']
Exploring Operation: 30*89=2670, Resulting Numbers: [2670]
2670,84 unequal: No Solution
Exploring Operation: 30+89=119, Resulting Numbers: [119]
119,84 unequal: No Solution
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[96, 23], Operations: ['93-63=30', '30-7=23']
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,84 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[96, 37], Operations: ['93-63=30', '7+30=37']
Exploring Operation: 96*37=3552, Resulting Numbers: [3552]
3552,84 unequal: No Solution
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 84:[7, 66], Operations: ['93-63=30', '96-30=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,84 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 84:[30, 103], Operations: ['93-63=30', '96+7=103']
Exploring Operation: 30*103=3090, Resulting Numbers: [3090]
3090,84 unequal: No Solution
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 30+103=133, Resulting Numbers: [133]
133,84 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: 84:[93, 7, 33], Operations: ['96-63=33']
Exploring Operation: 93+7=100, Resulting Numbers: [33, 100]
Generated Node #0,3,0: 84:[33, 100] Operation: 93+7=100
Exploring Operation: 93-33=60, Resulting Numbers: [7, 60]
Generated Node #0,3,1: 84:[7, 60] Operation: 93-33=60
Exploring Operation: 33-7=26, Resulting Numbers: [93, 26]
Generated Node #0,3,2: 84:[93, 26] Operation: 33-7=26
Exploring Operation: 93-7=86, Resulting Numbers: [33, 86]
Generated Node #0,3,3: 84:[33, 86] Operation: 93-7=86
Exploring Operation: 7+33=40, Resulting Numbers: [93, 40]
Generated Node #0,3,4: 84:[93, 40] Operation: 7+33=40
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 84:[33, 86], Operations: ['96-63=33', '93-7=86']
Exploring Operation: 33*86=2838, Resulting Numbers: [2838]
2838,84 unequal: No Solution
Exploring Operation: 33+86=119, Resulting Numbers: [119]
119,84 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[93, 26], Operations: ['96-63=33', '33-7=26']
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 93+26=119, Resulting Numbers: [119]
119,84 unequal: No Solution
Exploring Operation: 93*26=2418, Resulting Numbers: [2418]
2418,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 84:[93, 40], Operations: ['96-63=33', '7+33=40']
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 84:[7, 60], Operations: ['96-63=33', '93-33=60']
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,84 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 84:[33, 100], Operations: ['96-63=33', '93+7=100']
Exploring Operation: 100-33=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 33*100=3300, Resulting Numbers: [3300]
3300,84 unequal: No Solution
Exploring Operation: 33+100=133, Resulting Numbers: [133]
133,84 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: 84:[63, 7, 3], Operations: ['96-93=3']
Exploring Operation: 63+7=70, Resulting Numbers: [3, 70]
Generated Node #0,2,0: 84:[3, 70] Operation: 63+7=70
Exploring Operation: 63/7=9, Resulting Numbers: [3, 9]
Generated Node #0,2,1: 84:[3, 9] Operation: 63/7=9
Exploring Operation: 63+3=66, Resulting Numbers: [7, 66]
Generated Node #0,2,2: 84:[7, 66] Operation: 63+3=66
Exploring Operation: 63/3=21, Resulting Numbers: [7, 21]
Generated Node #0,2,3: 84:[7, 21] Operation: 63/3=21
Exploring Operation: 63-7=56, Resulting Numbers: [3, 56]
Generated Node #0,2,4: 84:[3, 56] Operation: 63-7=56
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 84:[7, 21], Operations: ['96-93=3', '63/3=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,84 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 84:[3, 9], Operations: ['96-93=3', '63/7=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[3, 70], Operations: ['96-93=3', '63+7=70']
Exploring Operation: 3+70=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,84 unequal: No Solution
Exploring Operation: 3*70=210, Resulting Numbers: [210]
210,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 84:[3, 56], Operations: ['96-93=3', '63-7=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,84 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 84:[7, 66], Operations: ['96-93=3', '63+3=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,84 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,84 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: 84:[93, 96, 9], Operations: ['63/7=9']
Exploring Operation: 96-93=3, Resulting Numbers: [9, 3]
Generated Node #0,4,0: 84:[9, 3] Operation: 96-93=3
Exploring Operation: 96-9=87, Resulting Numbers: [93, 87]
Generated Node #0,4,1: 84:[93, 87] Operation: 96-9=87
Exploring Operation: 96+9=105, Resulting Numbers: [93, 105]
Generated Node #0,4,2: 84:[93, 105] Operation: 96+9=105
Exploring Operation: 93+9=102, Resulting Numbers: [96, 102]
Generated Node #0,4,3: 84:[96, 102] Operation: 93+9=102
Exploring Operation: 93-9=84, Resulting Numbers: [96, 84]
Generated Node #0,4,4: 84:[96, 84] Operation: 93-9=84
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 84:[9, 3], Operations: ['63/7=9', '96-93=3']
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 84:[93, 87], Operations: ['63/7=9', '96-9=87']
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,84 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,84 unequal: No Solution
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 84:[96, 84], Operations: ['63/7=9', '93-9=84']
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 96*84=8064, Resulting Numbers: [8064]
8064,84 unequal: No Solution
Exploring Operation: 96+84=180, Resulting Numbers: [180]
180,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 84:[93, 105], Operations: ['63/7=9', '96+9=105']
Exploring Operation: 93+105=198, Resulting Numbers: [198]
198,84 unequal: No Solution
Exploring Operation: 105-93=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 93*105=9765, Resulting Numbers: [9765]
9765,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[96, 102], Operations: ['63/7=9', '93+9=102']
Exploring Operation: 96+102=198, Resulting Numbers: [198]
198,84 unequal: No Solution
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 96*102=9792, Resulting Numbers: [9792]
9792,84 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: 84:[63, 96, 86], Operations: ['93-7=86']
Exploring Operation: 63+86=149, Resulting Numbers: [96, 149]
Generated Node #0,1,0: 84:[96, 149] Operation: 63+86=149
Exploring Operation: 96-63=33, Resulting Numbers: [86, 33]
Generated Node #0,1,1: 84:[86, 33] Operation: 96-63=33
Exploring Operation: 96-86=10, Resulting Numbers: [63, 10]
Generated Node #0,1,2: 84:[63, 10] Operation: 96-86=10
Exploring Operation: 86-63=23, Resulting Numbers: [96, 23]
Generated Node #0,1,3: 84:[96, 23] Operation: 86-63=23
Exploring Operation: 63+96=159, Resulting Numbers: [86, 159]
Generated Node #0,1,4: 84:[86, 159] Operation: 63+96=159
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[86, 33], Operations: ['93-7=86', '96-63=33']
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,84 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 84:[96, 23], Operations: ['93-7=86', '86-63=23']
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,84 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 84:[63, 10], Operations: ['93-7=86', '96-86=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 63*10=630, Resulting Numbers: [630]
630,84 unequal: No Solution
Exploring Operation: 63+10=73, Resulting Numbers: [73]
73,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[96, 149], Operations: ['93-7=86', '63+86=149']
Exploring Operation: 149-96=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 96*149=14304, Resulting Numbers: [14304]
14304,84 unequal: No Solution
Exploring Operation: 96+149=245, Resulting Numbers: [245]
245,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 84:[86, 159], Operations: ['93-7=86', '63+96=159']
Exploring Operation: 86*159=13674, Resulting Numbers: [13674]
13674,84 unequal: No Solution
Exploring Operation: 159-86=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 86+159=245, Resulting Numbers: [245]
245,84 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 |
[
97,
45,
33,
38
] | 88 | [
"38-33=5",
"45/5=9",
"97-9=88"
] | Current State: 88:[97, 45, 33, 38], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [97, 45, 5]
Generated Node #2: [97, 45, 5] from Operation: 38-33=5
Current State: 88:[97, 45, 5], Operations: ['38-33=5']
Exploring Operation: 45/5=9, Resulting Numbers: [97, 9]
Generated Node #3: [97, 9] from Operation: 45/5=9
Current State: 88:[97, 9], Operations: ['38-33=5', '45/5=9']
Exploring Operation: 97-9=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[97, 45, 33, 38], Operations: []
Exploring Operation: 45-33=12, Resulting Numbers: [97, 38, 12]
Generated Node #0,0: 88:[97, 38, 12] Operation: 45-33=12
Exploring Operation: 38-33=5, Resulting Numbers: [97, 45, 5]
Generated Node #0,1: 88:[97, 45, 5] Operation: 38-33=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[97, 45, 5], Operations: ['38-33=5']
Exploring Operation: 97-5=92, Resulting Numbers: [45, 92]
Generated Node #0,1,0: 88:[45, 92] Operation: 97-5=92
Exploring Operation: 97-45=52, Resulting Numbers: [5, 52]
Generated Node #0,1,1: 88:[5, 52] Operation: 97-45=52
Moving to Node #0,1,0
Current State: 88:[45, 92], Operations: ['38-33=5', '97-5=92']
Exploring Operation: 92-45=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 45+92=137, Resulting Numbers: [137]
137,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[5, 52], Operations: ['38-33=5', '97-45=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,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
Current State: 88:[97, 38, 12], Operations: ['45-33=12']
Exploring Operation: 38-12=26, Resulting Numbers: [97, 26]
Generated Node #0,0,0: 88:[97, 26] Operation: 38-12=26
Exploring Operation: 97-12=85, Resulting Numbers: [38, 85]
Generated Node #0,0,1: 88:[38, 85] Operation: 97-12=85
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 88:[38, 85], Operations: ['45-33=12', '97-12=85']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 38+85=123, Resulting Numbers: [123]
123,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:[97, 26], Operations: ['45-33=12', '38-12=26']
Exploring Operation: 97+26=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,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_2 | sum_heuristic |
[
48,
7,
3,
2
] | 13 | [
"48-7=41",
"41-2=39",
"39/3=13"
] | Current State: 13:[48, 7, 3, 2], Operations: []
Exploring Operation: 48-7=41, Resulting Numbers: [3, 2, 41]
Generated Node #2: [3, 2, 41] from Operation: 48-7=41
Current State: 13:[3, 2, 41], Operations: ['48-7=41']
Exploring Operation: 41-2=39, Resulting Numbers: [3, 39]
Generated Node #3: [3, 39] from Operation: 41-2=39
Current State: 13:[3, 39], Operations: ['48-7=41', '41-2=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[48, 7, 3, 2], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [7, 2, 16]
Generated Node #0,0: 13:[7, 2, 16] Operation: 48/3=16
Exploring Operation: 48/2=24, Resulting Numbers: [7, 3, 24]
Generated Node #0,1: 13:[7, 3, 24] Operation: 48/2=24
Exploring Operation: 7*2=14, Resulting Numbers: [48, 3, 14]
Generated Node #0,2: 13:[48, 3, 14] Operation: 7*2=14
Moving to Node #0,0
Current State: 13:[7, 2, 16], Operations: ['48/3=16']
Exploring Operation: 7+2=9, Resulting Numbers: [16, 9]
Generated Node #0,0,0: 13:[16, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [16, 14]
Generated Node #0,0,1: 13:[16, 14] Operation: 7*2=14
Exploring Operation: 16-2=14, Resulting Numbers: [7, 14]
Generated Node #0,0,2: 13:[7, 14] Operation: 16-2=14
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[16, 14], Operations: ['48/3=16', '7*2=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 16*14=224, Resulting Numbers: [224]
224,13 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,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,0
Current State: 13:[16, 9], Operations: ['48/3=16', '7+2=9']
Exploring Operation: 16*9=144, Resulting Numbers: [144]
144,13 unequal: No Solution
Exploring Operation: 16-9=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 16+9=25, Resulting Numbers: [25]
25,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,2
Current State: 13:[7, 14], Operations: ['48/3=16', '16-2=14']
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,13 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: 13:[7, 3, 24], Operations: ['48/2=24']
Exploring Operation: 24/3=8, Resulting Numbers: [7, 8]
Generated Node #0,1,0: 13:[7, 8] Operation: 24/3=8
Exploring Operation: 24-7=17, Resulting Numbers: [3, 17]
Generated Node #0,1,1: 13:[3, 17] Operation: 24-7=17
Exploring Operation: 7+3=10, Resulting Numbers: [24, 10]
Generated Node #0,1,2: 13:[24, 10] Operation: 7+3=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[7, 8], Operations: ['48/2=24', '24/3=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[3, 17], Operations: ['48/2=24', '24-7=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[24, 10], Operations: ['48/2=24', '7+3=10']
Exploring Operation: 24*10=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 24+10=34, Resulting Numbers: [34]
34,13 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: 13:[48, 3, 14], Operations: ['7*2=14']
Exploring Operation: 48/3=16, Resulting Numbers: [14, 16]
Generated Node #0,2,0: 13:[14, 16] Operation: 48/3=16
Exploring Operation: 48-3=45, Resulting Numbers: [14, 45]
Generated Node #0,2,1: 13:[14, 45] Operation: 48-3=45
Exploring Operation: 48-14=34, Resulting Numbers: [3, 34]
Generated Node #0,2,2: 13:[3, 34] Operation: 48-14=34
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[14, 16], Operations: ['7*2=14', '48/3=16']
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,13 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,13 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 13:[3, 34], Operations: ['7*2=14', '48-14=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 13:[14, 45], Operations: ['7*2=14', '48-3=45']
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,13 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,13 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 |
[
29,
83,
69,
36
] | 98 | [
"36-29=7",
"83-69=14",
"7*14=98"
] | Current State: 98:[29, 83, 69, 36], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [83, 69, 7]
Generated Node #2: [83, 69, 7] from Operation: 36-29=7
Current State: 98:[83, 69, 7], Operations: ['36-29=7']
Exploring Operation: 83-69=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 83-69=14
Current State: 98:[7, 14], Operations: ['36-29=7', '83-69=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[29, 83, 69, 36], Operations: []
Exploring Operation: 29+69=98, Resulting Numbers: [83, 36, 98]
Generated Node #0,0: 98:[83, 36, 98] Operation: 29+69=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[83, 36, 98], Operations: ['29+69=98']
Exploring Operation: 83-36=47, Resulting Numbers: [98, 47]
Generated Node #0,0,0: 98:[98, 47] Operation: 83-36=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[98, 47], Operations: ['29+69=98', '83-36=47']
Exploring Operation: 98-47=51, Resulting Numbers: [51]
51,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
71,
67,
48
] | 45 | [
"71+67=138",
"138-48=90",
"90/2=45"
] | Current State: 45:[2, 71, 67, 48], Operations: []
Exploring Operation: 71+67=138, Resulting Numbers: [2, 48, 138]
Generated Node #2: [2, 48, 138] from Operation: 71+67=138
Current State: 45:[2, 48, 138], Operations: ['71+67=138']
Exploring Operation: 138-48=90, Resulting Numbers: [2, 90]
Generated Node #3: [2, 90] from Operation: 138-48=90
Current State: 45:[2, 90], Operations: ['71+67=138', '138-48=90']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[2, 71, 67, 48], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [2, 48, 4]
Generated Node #0,0: 45:[2, 48, 4] Operation: 71-67=4
Moving to Node #0,0
Current State: 45:[2, 48, 4], Operations: ['71-67=4']
Exploring Operation: 48-2=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 45:[4, 46] Operation: 48-2=46
Moving to Node #0,0,0
Current State: 45:[4, 46], Operations: ['71-67=4', '48-2=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,45 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
9,
28,
89
] | 79 | [
"2*9=18",
"89-28=61",
"18+61=79"
] | Current State: 79:[2, 9, 28, 89], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [28, 89, 18]
Generated Node #2: [28, 89, 18] from Operation: 2*9=18
Current State: 79:[28, 89, 18], Operations: ['2*9=18']
Exploring Operation: 89-28=61, Resulting Numbers: [18, 61]
Generated Node #3: [18, 61] from Operation: 89-28=61
Current State: 79:[18, 61], Operations: ['2*9=18', '89-28=61']
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[2, 9, 28, 89], Operations: []
Exploring Operation: 2*28=56, Resulting Numbers: [9, 89, 56]
Generated Node #0,0: 79:[9, 89, 56] Operation: 2*28=56
Exploring Operation: 2+9=11, Resulting Numbers: [28, 89, 11]
Generated Node #0,1: 79:[28, 89, 11] Operation: 2+9=11
Exploring Operation: 2*9=18, Resulting Numbers: [28, 89, 18]
Generated Node #0,2: 79:[28, 89, 18] Operation: 2*9=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[9, 89, 56], Operations: ['2*28=56']
Exploring Operation: 9+89=98, Resulting Numbers: [56, 98]
Generated Node #0,0,0: 79:[56, 98] Operation: 9+89=98
Exploring Operation: 9+56=65, Resulting Numbers: [89, 65]
Generated Node #0,0,1: 79:[89, 65] Operation: 9+56=65
Exploring Operation: 89-9=80, Resulting Numbers: [56, 80]
Generated Node #0,0,2: 79:[56, 80] Operation: 89-9=80
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[89, 65], Operations: ['2*28=56', '9+56=65']
Exploring Operation: 89-65=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 89+65=154, Resulting Numbers: [154]
154,79 unequal: No Solution
Exploring Operation: 89*65=5785, Resulting Numbers: [5785]
5785,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[56, 80], Operations: ['2*28=56', '89-9=80']
Exploring Operation: 56+80=136, Resulting Numbers: [136]
136,79 unequal: No Solution
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,79 unequal: No Solution
Exploring Operation: 56*80=4480, Resulting Numbers: [4480]
4480,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[56, 98], Operations: ['2*28=56', '9+89=98']
Exploring Operation: 56*98=5488, Resulting Numbers: [5488]
5488,79 unequal: No Solution
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 56+98=154, Resulting Numbers: [154]
154,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[28, 89, 18], Operations: ['2*9=18']
Exploring Operation: 28+18=46, Resulting Numbers: [89, 46]
Generated Node #0,2,0: 79:[89, 46] Operation: 28+18=46
Exploring Operation: 89-18=71, Resulting Numbers: [28, 71]
Generated Node #0,2,1: 79:[28, 71] Operation: 89-18=71
Exploring Operation: 89-28=61, Resulting Numbers: [18, 61]
Generated Node #0,2,2: 79:[18, 61] Operation: 89-28=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[89, 46], Operations: ['2*9=18', '28+18=46']
Exploring Operation: 89-46=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 89+46=135, Resulting Numbers: [135]
135,79 unequal: No Solution
Exploring Operation: 89*46=4094, Resulting Numbers: [4094]
4094,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[28, 71], Operations: ['2*9=18', '89-18=71']
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,79 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[18, 61], Operations: ['2*9=18', '89-28=61']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,79 unequal: No Solution
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[2, 9, 28, 89], Operations: []
Exploring Operation: 2*9=18, Resulting Numbers: [28, 89, 18]
Generated Node #0,2: 79:[28, 89, 18] Operation: 2*9=18
Moving to Node #0,2
Current State: 79:[28, 89, 18], Operations: ['2*9=18']
Exploring Operation: 89-28=61, Resulting Numbers: [18, 61]
Generated Node #0,2,2: 79:[18, 61] Operation: 89-28=61
Moving to Node #0,2,2
Current State: 79:[18, 61], Operations: ['2*9=18', '89-28=61']
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
78,
72,
26,
23
] | 47 | [
"78/26=3",
"72/3=24",
"23+24=47"
] | Current State: 47:[78, 72, 26, 23], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [72, 23, 3]
Generated Node #2: [72, 23, 3] from Operation: 78/26=3
Current State: 47:[72, 23, 3], Operations: ['78/26=3']
Exploring Operation: 72/3=24, Resulting Numbers: [23, 24]
Generated Node #3: [23, 24] from Operation: 72/3=24
Current State: 47:[23, 24], Operations: ['78/26=3', '72/3=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[78, 72, 26, 23], Operations: []
Exploring Operation: 78-26=52, Resulting Numbers: [72, 23, 52]
Generated Node #0,0: 47:[72, 23, 52] Operation: 78-26=52
Exploring Operation: 78-23=55, Resulting Numbers: [72, 26, 55]
Generated Node #0,1: 47:[72, 26, 55] Operation: 78-23=55
Exploring Operation: 72-23=49, Resulting Numbers: [78, 26, 49]
Generated Node #0,2: 47:[78, 26, 49] Operation: 72-23=49
Moving to Node #0,0
Current State: 47:[72, 23, 52], Operations: ['78-26=52']
Exploring Operation: 72-23=49, Resulting Numbers: [52, 49]
Generated Node #0,0,0: 47:[52, 49] Operation: 72-23=49
Exploring Operation: 72-52=20, Resulting Numbers: [23, 20]
Generated Node #0,0,1: 47:[23, 20] Operation: 72-52=20
Exploring Operation: 52-23=29, Resulting Numbers: [72, 29]
Generated Node #0,0,2: 47:[72, 29] Operation: 52-23=29
Moving to Node #0,1
Current State: 47:[72, 26, 55], Operations: ['78-23=55']
Exploring Operation: 72-55=17, Resulting Numbers: [26, 17]
Generated Node #0,1,0: 47:[26, 17] Operation: 72-55=17
Exploring Operation: 55-26=29, Resulting Numbers: [72, 29]
Generated Node #0,1,1: 47:[72, 29] Operation: 55-26=29
Exploring Operation: 72-26=46, Resulting Numbers: [55, 46]
Generated Node #0,1,2: 47:[55, 46] Operation: 72-26=46
Moving to Node #0,2
Current State: 47:[78, 26, 49], Operations: ['72-23=49']
Exploring Operation: 78-49=29, Resulting Numbers: [26, 29]
Generated Node #0,2,0: 47:[26, 29] Operation: 78-49=29
Exploring Operation: 78/26=3, Resulting Numbers: [49, 3]
Generated Node #0,2,1: 47:[49, 3] Operation: 78/26=3
Exploring Operation: 78-26=52, Resulting Numbers: [49, 52]
Generated Node #0,2,2: 47:[49, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[49, 52], Operations: ['72-23=49', '78-26=52']
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 47:[26, 29], Operations: ['72-23=49', '78-49=29']
Exploring Operation: 26*29=754, Resulting Numbers: [754]
754,47 unequal: No Solution
Exploring Operation: 26+29=55, Resulting Numbers: [55]
55,47 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[49, 3], Operations: ['72-23=49', '78/26=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,47 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,47 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 47:[52, 49], Operations: ['78-26=52', '72-23=49']
Exploring Operation: 52+49=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 52*49=2548, Resulting Numbers: [2548]
2548,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[55, 46], Operations: ['78-23=55', '72-26=46']
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[72, 29], Operations: ['78-23=55', '55-26=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[72, 29], Operations: ['78-26=52', '52-23=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,47 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[26, 17], Operations: ['78-23=55', '72-55=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,47 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[23, 20], Operations: ['78-26=52', '72-52=20']
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,47 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,47 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
43,
20,
23,
38
] | 78 | [
"43+20=63",
"38-23=15",
"63+15=78"
] | Current State: 78:[43, 20, 23, 38], Operations: []
Exploring Operation: 43+20=63, Resulting Numbers: [23, 38, 63]
Generated Node #2: [23, 38, 63] from Operation: 43+20=63
Current State: 78:[23, 38, 63], Operations: ['43+20=63']
Exploring Operation: 38-23=15, Resulting Numbers: [63, 15]
Generated Node #3: [63, 15] from Operation: 38-23=15
Current State: 78:[63, 15], Operations: ['43+20=63', '38-23=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[43, 20, 23, 38], Operations: []
Exploring Operation: 23-20=3, Resulting Numbers: [43, 38, 3]
Generated Node #0,0: 78:[43, 38, 3] Operation: 23-20=3
Moving to Node #0,0
Current State: 78:[43, 38, 3], Operations: ['23-20=3']
Exploring Operation: 43-38=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 78:[3, 5] Operation: 43-38=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[3, 5], Operations: ['23-20=3', '43-38=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,78 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 |
[
12,
34,
14,
21
] | 50 | [
"21-14=7",
"12*7=84",
"84-34=50"
] | Current State: 50:[12, 34, 14, 21], Operations: []
Exploring Operation: 21-14=7, Resulting Numbers: [12, 34, 7]
Generated Node #2: [12, 34, 7] from Operation: 21-14=7
Current State: 50:[12, 34, 7], Operations: ['21-14=7']
Exploring Operation: 12*7=84, Resulting Numbers: [34, 84]
Generated Node #3: [34, 84] from Operation: 12*7=84
Current State: 50:[34, 84], Operations: ['21-14=7', '12*7=84']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[12, 34, 14, 21], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [14, 21, 22]
Generated Node #0,0: 50:[14, 21, 22] Operation: 34-12=22
Exploring Operation: 34-14=20, Resulting Numbers: [12, 21, 20]
Generated Node #0,1: 50:[12, 21, 20] Operation: 34-14=20
Exploring Operation: 34+21=55, Resulting Numbers: [12, 14, 55]
Generated Node #0,2: 50:[12, 14, 55] Operation: 34+21=55
Exploring Operation: 34+14=48, Resulting Numbers: [12, 21, 48]
Generated Node #0,3: 50:[12, 21, 48] Operation: 34+14=48
Exploring Operation: 34-21=13, Resulting Numbers: [12, 14, 13]
Generated Node #0,4: 50:[12, 14, 13] Operation: 34-21=13
Moving to Node #0,3
Current State: 50:[12, 21, 48], Operations: ['34+14=48']
Exploring Operation: 48-21=27, Resulting Numbers: [12, 27]
Generated Node #0,3,0: 50:[12, 27] Operation: 48-21=27
Exploring Operation: 12+21=33, Resulting Numbers: [48, 33]
Generated Node #0,3,1: 50:[48, 33] Operation: 12+21=33
Exploring Operation: 12+48=60, Resulting Numbers: [21, 60]
Generated Node #0,3,2: 50:[21, 60] Operation: 12+48=60
Exploring Operation: 21-12=9, Resulting Numbers: [48, 9]
Generated Node #0,3,3: 50:[48, 9] Operation: 21-12=9
Exploring Operation: 48/12=4, Resulting Numbers: [21, 4]
Generated Node #0,3,4: 50:[21, 4] Operation: 48/12=4
Moving to Node #0,4
Current State: 50:[12, 14, 13], Operations: ['34-21=13']
Exploring Operation: 14-13=1, Resulting Numbers: [12, 1]
Generated Node #0,4,0: 50:[12, 1] Operation: 14-13=1
Exploring Operation: 14-12=2, Resulting Numbers: [13, 2]
Generated Node #0,4,1: 50:[13, 2] Operation: 14-12=2
Exploring Operation: 12+13=25, Resulting Numbers: [14, 25]
Generated Node #0,4,2: 50:[14, 25] Operation: 12+13=25
Exploring Operation: 12+14=26, Resulting Numbers: [13, 26]
Generated Node #0,4,3: 50:[13, 26] Operation: 12+14=26
Exploring Operation: 14+13=27, Resulting Numbers: [12, 27]
Generated Node #0,4,4: 50:[12, 27] Operation: 14+13=27
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 50:[12, 1], Operations: ['34-21=13', '14-13=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 50:[13, 2], Operations: ['34-21=13', '14-12=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 50:[14, 25], Operations: ['34-21=13', '12+13=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,50 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 50:[13, 26], Operations: ['34-21=13', '12+14=26']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,50 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 50:[12, 27], Operations: ['34-21=13', '14+13=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 50:[14, 21, 22], Operations: ['34-12=22']
Exploring Operation: 21+22=43, Resulting Numbers: [14, 43]
Generated Node #0,0,0: 50:[14, 43] Operation: 21+22=43
Exploring Operation: 14+21=35, Resulting Numbers: [22, 35]
Generated Node #0,0,1: 50:[22, 35] Operation: 14+21=35
Exploring Operation: 22-21=1, Resulting Numbers: [14, 1]
Generated Node #0,0,2: 50:[14, 1] Operation: 22-21=1
Exploring Operation: 21-14=7, Resulting Numbers: [22, 7]
Generated Node #0,0,3: 50:[22, 7] Operation: 21-14=7
Exploring Operation: 22-14=8, Resulting Numbers: [21, 8]
Generated Node #0,0,4: 50:[21, 8] Operation: 22-14=8
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[14, 1], Operations: ['34-12=22', '22-21=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[22, 7], Operations: ['34-12=22', '21-14=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,50 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 50:[21, 8], Operations: ['34-12=22', '22-14=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,50 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[14, 43], Operations: ['34-12=22', '21+22=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[22, 35], Operations: ['34-12=22', '14+21=35']
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,50 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 50:[12, 21, 20], Operations: ['34-14=20']
Exploring Operation: 21-20=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 50:[12, 1] Operation: 21-20=1
Exploring Operation: 20-12=8, Resulting Numbers: [21, 8]
Generated Node #0,1,1: 50:[21, 8] Operation: 20-12=8
Exploring Operation: 21+20=41, Resulting Numbers: [12, 41]
Generated Node #0,1,2: 50:[12, 41] Operation: 21+20=41
Exploring Operation: 21-12=9, Resulting Numbers: [20, 9]
Generated Node #0,1,3: 50:[20, 9] Operation: 21-12=9
Exploring Operation: 12+20=32, Resulting Numbers: [21, 32]
Generated Node #0,1,4: 50:[21, 32] Operation: 12+20=32
Moving to Node #0,2
Current State: 50:[12, 14, 55], Operations: ['34+21=55']
Exploring Operation: 12+55=67, Resulting Numbers: [14, 67]
Generated Node #0,2,0: 50:[14, 67] Operation: 12+55=67
Exploring Operation: 14-12=2, Resulting Numbers: [55, 2]
Generated Node #0,2,1: 50:[55, 2] Operation: 14-12=2
Exploring Operation: 12+14=26, Resulting Numbers: [55, 26]
Generated Node #0,2,2: 50:[55, 26] Operation: 12+14=26
Exploring Operation: 55-14=41, Resulting Numbers: [12, 41]
Generated Node #0,2,3: 50:[12, 41] Operation: 55-14=41
Exploring Operation: 55-12=43, Resulting Numbers: [14, 43]
Generated Node #0,2,4: 50:[14, 43] Operation: 55-12=43
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[55, 2], Operations: ['34+21=55', '14-12=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,50 unequal: No Solution
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[55, 26], Operations: ['34+21=55', '12+14=26']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,50 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[12, 41], Operations: ['34+21=55', '55-14=41']
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,50 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 50:[14, 43], Operations: ['34+21=55', '55-12=43']
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,50 unequal: No Solution
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[14, 67], Operations: ['34+21=55', '12+55=67']
Exploring Operation: 14*67=938, Resulting Numbers: [938]
938,50 unequal: No Solution
Exploring Operation: 14+67=81, Resulting Numbers: [81]
81,50 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 50:[48, 9], Operations: ['34+14=48', '21-12=9']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[12, 1], Operations: ['34-14=20', '21-20=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[12, 27], Operations: ['34+14=48', '48-21=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,50 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[21, 4], Operations: ['34+14=48', '48/12=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,50 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[21, 8], Operations: ['34-14=20', '20-12=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,50 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[20, 9], Operations: ['34-14=20', '21-12=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,50 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[48, 33], Operations: ['34+14=48', '12+21=33']
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,50 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,50 unequal: No Solution
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[12, 41], Operations: ['34-14=20', '21+20=41']
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,50 unequal: No Solution
Exploring Operation: 12*41=492, Resulting Numbers: [492]
492,50 unequal: No Solution
Exploring Operation: 12+41=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Moving to Node #0,1,4
Current State: 50:[21, 32], Operations: ['34-14=20', '12+20=32']
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,50 unequal: No Solution
Moving to Node #0,3,2
Current State: 50:[21, 60], Operations: ['34+14=48', '12+48=60']
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,50 unequal: No Solution
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,50 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,50 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
55,
42,
74,
76
] | 53 | [
"55+42=97",
"74+76=150",
"150-97=53"
] | Current State: 53:[55, 42, 74, 76], Operations: []
Exploring Operation: 55+42=97, Resulting Numbers: [74, 76, 97]
Generated Node #2: [74, 76, 97] from Operation: 55+42=97
Current State: 53:[74, 76, 97], Operations: ['55+42=97']
Exploring Operation: 74+76=150, Resulting Numbers: [97, 150]
Generated Node #3: [97, 150] from Operation: 74+76=150
Current State: 53:[97, 150], Operations: ['55+42=97', '74+76=150']
Exploring Operation: 150-97=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[55, 42, 74, 76], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [55, 76, 32]
Generated Node #0,0: 53:[55, 76, 32] Operation: 74-42=32
Exploring Operation: 76-42=34, Resulting Numbers: [55, 74, 34]
Generated Node #0,1: 53:[55, 74, 34] Operation: 76-42=34
Moving to Node #0,1
Current State: 53:[55, 74, 34], Operations: ['76-42=34']
Exploring Operation: 74-55=19, Resulting Numbers: [34, 19]
Generated Node #0,1,0: 53:[34, 19] Operation: 74-55=19
Exploring Operation: 74-34=40, Resulting Numbers: [55, 40]
Generated Node #0,1,1: 53:[55, 40] Operation: 74-34=40
Moving to Node #0,0
Current State: 53:[55, 76, 32], Operations: ['74-42=32']
Exploring Operation: 76-55=21, Resulting Numbers: [32, 21]
Generated Node #0,0,0: 53:[32, 21] Operation: 76-55=21
Exploring Operation: 76-32=44, Resulting Numbers: [55, 44]
Generated Node #0,0,1: 53:[55, 44] Operation: 76-32=44
Moving to Node #0,0,1
Current State: 53:[55, 44], Operations: ['74-42=32', '76-32=44']
Exploring Operation: 55+44=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[55, 40], Operations: ['76-42=34', '74-34=40']
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[34, 19], Operations: ['76-42=34', '74-55=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[55, 42, 74, 76], Operations: []
Exploring Operation: 76-42=34, Resulting Numbers: [55, 74, 34]
Generated Node #0,1: 53:[55, 74, 34] Operation: 76-42=34
Moving to Node #0,1
Current State: 53:[55, 74, 34], Operations: ['76-42=34']
Exploring Operation: 74-55=19, Resulting Numbers: [34, 19]
Generated Node #0,1,0: 53:[34, 19] Operation: 74-55=19
Moving to Node #0,1,0
Current State: 53:[34, 19], Operations: ['76-42=34', '74-55=19']
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
88,
77,
53,
31
] | 11 | [
"88-77=11",
"53-31=22",
"22-11=11"
] | Current State: 11:[88, 77, 53, 31], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [53, 31, 11]
Generated Node #2: [53, 31, 11] from Operation: 88-77=11
Current State: 11:[53, 31, 11], Operations: ['88-77=11']
Exploring Operation: 53-31=22, Resulting Numbers: [11, 22]
Generated Node #3: [11, 22] from Operation: 53-31=22
Current State: 11:[11, 22], Operations: ['88-77=11', '53-31=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[88, 77, 53, 31], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [53, 31, 11]
Generated Node #0,0: 11:[53, 31, 11] Operation: 88-77=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[53, 31, 11], Operations: ['88-77=11']
Exploring Operation: 53-31=22, Resulting Numbers: [11, 22]
Generated Node #0,0,0: 11:[11, 22] Operation: 53-31=22
Moving to Node #0,0,0
Current State: 11:[11, 22], Operations: ['88-77=11', '53-31=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[88, 77, 53, 31], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [53, 31, 11]
Generated Node #0,0: 11:[53, 31, 11] Operation: 88-77=11
Moving to Node #0,0
Current State: 11:[53, 31, 11], Operations: ['88-77=11']
Exploring Operation: 53-31=22, Resulting Numbers: [11, 22]
Generated Node #0,0,0: 11:[11, 22] Operation: 53-31=22
Moving to Node #0,0,0
Current State: 11:[11, 22], Operations: ['88-77=11', '53-31=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
18,
84,
63,
91
] | 74 | [
"18+84=102",
"91-63=28",
"102-28=74"
] | Current State: 74:[18, 84, 63, 91], Operations: []
Exploring Operation: 18+84=102, Resulting Numbers: [63, 91, 102]
Generated Node #2: [63, 91, 102] from Operation: 18+84=102
Current State: 74:[63, 91, 102], Operations: ['18+84=102']
Exploring Operation: 91-63=28, Resulting Numbers: [102, 28]
Generated Node #3: [102, 28] from Operation: 91-63=28
Current State: 74:[102, 28], Operations: ['18+84=102', '91-63=28']
Exploring Operation: 102-28=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[18, 84, 63, 91], Operations: []
Exploring Operation: 91-84=7, Resulting Numbers: [18, 63, 7]
Generated Node #0,0: 74:[18, 63, 7] Operation: 91-84=7
Exploring Operation: 18+63=81, Resulting Numbers: [84, 91, 81]
Generated Node #0,1: 74:[84, 91, 81] Operation: 18+63=81
Exploring Operation: 63-18=45, Resulting Numbers: [84, 91, 45]
Generated Node #0,2: 74:[84, 91, 45] Operation: 63-18=45
Exploring Operation: 91-18=73, Resulting Numbers: [84, 63, 73]
Generated Node #0,3: 74:[84, 63, 73] Operation: 91-18=73
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[84, 63, 73], Operations: ['91-18=73']
Exploring Operation: 84-73=11, Resulting Numbers: [63, 11]
Generated Node #0,3,0: 74:[63, 11] Operation: 84-73=11
Exploring Operation: 73-63=10, Resulting Numbers: [84, 10]
Generated Node #0,3,1: 74:[84, 10] Operation: 73-63=10
Exploring Operation: 84-63=21, Resulting Numbers: [73, 21]
Generated Node #0,3,2: 74:[73, 21] Operation: 84-63=21
Exploring Operation: 63+73=136, Resulting Numbers: [84, 136]
Generated Node #0,3,3: 74:[84, 136] Operation: 63+73=136
Moving to Node #0,3,2
Current State: 74:[73, 21], Operations: ['91-18=73', '84-63=21']
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,74 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[84, 10], Operations: ['91-18=73', '73-63=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[18, 84, 63, 91], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [84, 63, 73]
Generated Node #0,3: 74:[84, 63, 73] Operation: 91-18=73
Moving to Node #0,3
Current State: 74:[84, 63, 73], Operations: ['91-18=73']
Exploring Operation: 73-63=10, Resulting Numbers: [84, 10]
Generated Node #0,3,1: 74:[84, 10] Operation: 73-63=10
Moving to Node #0,3,1
Current State: 74:[84, 10], Operations: ['91-18=73', '73-63=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
47,
50,
17,
15
] | 95 | [
"47+50=97",
"17-15=2",
"97-2=95"
] | Current State: 95:[47, 50, 17, 15], Operations: []
Exploring Operation: 47+50=97, Resulting Numbers: [17, 15, 97]
Generated Node #2: [17, 15, 97] from Operation: 47+50=97
Current State: 95:[17, 15, 97], Operations: ['47+50=97']
Exploring Operation: 17-15=2, Resulting Numbers: [97, 2]
Generated Node #3: [97, 2] from Operation: 17-15=2
Current State: 95:[97, 2], Operations: ['47+50=97', '17-15=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[47, 50, 17, 15], Operations: []
Exploring Operation: 47+50=97, Resulting Numbers: [17, 15, 97]
Generated Node #0,0: 95:[17, 15, 97] Operation: 47+50=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[17, 15, 97], Operations: ['47+50=97']
Exploring Operation: 17-15=2, Resulting Numbers: [97, 2]
Generated Node #0,0,0: 95:[97, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 95:[97, 2], Operations: ['47+50=97', '17-15=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[47, 50, 17, 15], Operations: []
Exploring Operation: 47+50=97, Resulting Numbers: [17, 15, 97]
Generated Node #0,0: 95:[17, 15, 97] Operation: 47+50=97
Moving to Node #0,0
Current State: 95:[17, 15, 97], Operations: ['47+50=97']
Exploring Operation: 17-15=2, Resulting Numbers: [97, 2]
Generated Node #0,0,0: 95:[97, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 95:[97, 2], Operations: ['47+50=97', '17-15=2']
Exploring Operation: 97-2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
19,
99,
42,
68
] | 92 | [
"19+99=118",
"68-42=26",
"118-26=92"
] | Current State: 92:[19, 99, 42, 68], Operations: []
Exploring Operation: 19+99=118, Resulting Numbers: [42, 68, 118]
Generated Node #2: [42, 68, 118] from Operation: 19+99=118
Current State: 92:[42, 68, 118], Operations: ['19+99=118']
Exploring Operation: 68-42=26, Resulting Numbers: [118, 26]
Generated Node #3: [118, 26] from Operation: 68-42=26
Current State: 92:[118, 26], Operations: ['19+99=118', '68-42=26']
Exploring Operation: 118-26=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[19, 99, 42, 68], Operations: []
Exploring Operation: 68-19=49, Resulting Numbers: [99, 42, 49]
Generated Node #0,0: 92:[99, 42, 49] Operation: 68-19=49
Exploring Operation: 99-68=31, Resulting Numbers: [19, 42, 31]
Generated Node #0,1: 92:[19, 42, 31] Operation: 99-68=31
Exploring Operation: 19+68=87, Resulting Numbers: [99, 42, 87]
Generated Node #0,2: 92:[99, 42, 87] Operation: 19+68=87
Exploring Operation: 68-42=26, Resulting Numbers: [19, 99, 26]
Generated Node #0,3: 92:[19, 99, 26] Operation: 68-42=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[99, 42, 49], Operations: ['68-19=49']
Exploring Operation: 49-42=7, Resulting Numbers: [99, 7]
Generated Node #0,0,0: 92:[99, 7] Operation: 49-42=7
Exploring Operation: 99-42=57, Resulting Numbers: [49, 57]
Generated Node #0,0,1: 92:[49, 57] Operation: 99-42=57
Exploring Operation: 42+49=91, Resulting Numbers: [99, 91]
Generated Node #0,0,2: 92:[99, 91] Operation: 42+49=91
Exploring Operation: 99-49=50, Resulting Numbers: [42, 50]
Generated Node #0,0,3: 92:[42, 50] Operation: 99-49=50
Moving to Node #0,0,2
Current State: 92:[99, 91], Operations: ['68-19=49', '42+49=91']
Exploring Operation: 99+91=190, Resulting Numbers: [190]
190,92 unequal: No Solution
Exploring Operation: 99*91=9009, Resulting Numbers: [9009]
9009,92 unequal: No Solution
Exploring Operation: 99-91=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[42, 50], Operations: ['68-19=49', '99-49=50']
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[19, 99, 42, 68], Operations: []
Exploring Operation: 68-19=49, Resulting Numbers: [99, 42, 49]
Generated Node #0,0: 92:[99, 42, 49] Operation: 68-19=49
Moving to Node #0,0
Current State: 92:[99, 42, 49], Operations: ['68-19=49']
Exploring Operation: 99-49=50, Resulting Numbers: [42, 50]
Generated Node #0,0,3: 92:[42, 50] Operation: 99-49=50
Moving to Node #0,0,3
Current State: 92:[42, 50], Operations: ['68-19=49', '99-49=50']
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
67,
4,
27,
59
] | 49 | [
"67-27=40",
"40/4=10",
"59-10=49"
] | Current State: 49:[67, 4, 27, 59], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [4, 59, 40]
Generated Node #2: [4, 59, 40] from Operation: 67-27=40
Current State: 49:[4, 59, 40], Operations: ['67-27=40']
Exploring Operation: 40/4=10, Resulting Numbers: [59, 10]
Generated Node #3: [59, 10] from Operation: 40/4=10
Current State: 49:[59, 10], Operations: ['67-27=40', '40/4=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[67, 4, 27, 59], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [4, 59, 40]
Generated Node #0,0: 49:[4, 59, 40] Operation: 67-27=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[4, 59, 40], Operations: ['67-27=40']
Exploring Operation: 40/4=10, Resulting Numbers: [59, 10]
Generated Node #0,0,0: 49:[59, 10] Operation: 40/4=10
Moving to Node #0,0,0
Current State: 49:[59, 10], Operations: ['67-27=40', '40/4=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[67, 4, 27, 59], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [4, 59, 40]
Generated Node #0,0: 49:[4, 59, 40] Operation: 67-27=40
Moving to Node #0,0
Current State: 49:[4, 59, 40], Operations: ['67-27=40']
Exploring Operation: 40/4=10, Resulting Numbers: [59, 10]
Generated Node #0,0,0: 49:[59, 10] Operation: 40/4=10
Moving to Node #0,0,0
Current State: 49:[59, 10], Operations: ['67-27=40', '40/4=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
13,
79,
16,
35
] | 82 | [
"13+35=48",
"48/16=3",
"79+3=82"
] | Current State: 82:[13, 79, 16, 35], Operations: []
Exploring Operation: 13+35=48, Resulting Numbers: [79, 16, 48]
Generated Node #2: [79, 16, 48] from Operation: 13+35=48
Current State: 82:[79, 16, 48], Operations: ['13+35=48']
Exploring Operation: 48/16=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 48/16=3
Current State: 82:[79, 3], Operations: ['13+35=48', '48/16=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[13, 79, 16, 35], Operations: []
Exploring Operation: 16-13=3, Resulting Numbers: [79, 35, 3]
Generated Node #0,0: 82:[79, 35, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [79, 35, 29]
Generated Node #0,1: 82:[79, 35, 29] Operation: 13+16=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[79, 35, 3], Operations: ['16-13=3']
Exploring Operation: 79+3=82, Resulting Numbers: [35, 82]
Generated Node #0,0,0: 82:[35, 82] Operation: 79+3=82
Exploring Operation: 79-35=44, Resulting Numbers: [3, 44]
Generated Node #0,0,1: 82:[3, 44] Operation: 79-35=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 82:[3, 44], Operations: ['16-13=3', '79-35=44']
Exploring Operation: 3+44=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[35, 82], Operations: ['16-13=3', '79+3=82']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,82 unequal: No Solution
Exploring Operation: 35+82=117, Resulting Numbers: [117]
117,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[79, 35, 29], Operations: ['13+16=29']
Exploring Operation: 35-29=6, Resulting Numbers: [79, 6]
Generated Node #0,1,0: 82:[79, 6] Operation: 35-29=6
Exploring Operation: 79-35=44, Resulting Numbers: [29, 44]
Generated Node #0,1,1: 82:[29, 44] Operation: 79-35=44
Moving to Node #0,1,0
Current State: 82:[79, 6], Operations: ['13+16=29', '35-29=6']
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,82 unequal: No Solution
Moving to Node #0,1,1
Current State: 82:[29, 44], Operations: ['13+16=29', '79-35=44']
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,82 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
66,
35,
21,
43
] | 70 | [
"66-21=45",
"45-43=2",
"35*2=70"
] | Current State: 70:[66, 35, 21, 43], Operations: []
Exploring Operation: 66-21=45, Resulting Numbers: [35, 43, 45]
Generated Node #2: [35, 43, 45] from Operation: 66-21=45
Current State: 70:[35, 43, 45], Operations: ['66-21=45']
Exploring Operation: 45-43=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 45-43=2
Current State: 70:[35, 2], Operations: ['66-21=45', '45-43=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[66, 35, 21, 43], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [66, 43, 14]
Generated Node #0,0: 70:[66, 43, 14] Operation: 35-21=14
Exploring Operation: 21+43=64, Resulting Numbers: [66, 35, 64]
Generated Node #0,1: 70:[66, 35, 64] Operation: 21+43=64
Exploring Operation: 43-35=8, Resulting Numbers: [66, 21, 8]
Generated Node #0,2: 70:[66, 21, 8] Operation: 43-35=8
Exploring Operation: 43-21=22, Resulting Numbers: [66, 35, 22]
Generated Node #0,3: 70:[66, 35, 22] Operation: 43-21=22
Moving to Node #0,1
Current State: 70:[66, 35, 64], Operations: ['21+43=64']
Exploring Operation: 35+64=99, Resulting Numbers: [66, 99]
Generated Node #0,1,0: 70:[66, 99] Operation: 35+64=99
Exploring Operation: 66-64=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 70:[35, 2] Operation: 66-64=2
Exploring Operation: 64-35=29, Resulting Numbers: [66, 29]
Generated Node #0,1,2: 70:[66, 29] Operation: 64-35=29
Exploring Operation: 66-35=31, Resulting Numbers: [64, 31]
Generated Node #0,1,3: 70:[64, 31] Operation: 66-35=31
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[35, 2], Operations: ['21+43=64', '66-64=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[66, 35, 21, 43], Operations: []
Exploring Operation: 21+43=64, Resulting Numbers: [66, 35, 64]
Generated Node #0,1: 70:[66, 35, 64] Operation: 21+43=64
Moving to Node #0,1
Current State: 70:[66, 35, 64], Operations: ['21+43=64']
Exploring Operation: 66-64=2, Resulting Numbers: [35, 2]
Generated Node #0,1,1: 70:[35, 2] Operation: 66-64=2
Moving to Node #0,1,1
Current State: 70:[35, 2], Operations: ['21+43=64', '66-64=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
52,
26,
37,
38
] | 27 | [
"52-26=26",
"38-37=1",
"26+1=27"
] | Current State: 27:[52, 26, 37, 38], Operations: []
Exploring Operation: 52-26=26, Resulting Numbers: [37, 38, 26]
Generated Node #2: [37, 38, 26] from Operation: 52-26=26
Current State: 27:[37, 38, 26], Operations: ['52-26=26']
Exploring Operation: 38-37=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 38-37=1
Current State: 27:[26, 1], Operations: ['52-26=26', '38-37=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[52, 26, 37, 38], Operations: []
Exploring Operation: 52-26=26, Resulting Numbers: [37, 38, 26]
Generated Node #0,0: 27:[37, 38, 26] Operation: 52-26=26
Exploring Operation: 52-38=14, Resulting Numbers: [26, 37, 14]
Generated Node #0,1: 27:[26, 37, 14] Operation: 52-38=14
Exploring Operation: 52-37=15, Resulting Numbers: [26, 38, 15]
Generated Node #0,2: 27:[26, 38, 15] Operation: 52-37=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[26, 37, 14], Operations: ['52-38=14']
Exploring Operation: 37-26=11, Resulting Numbers: [14, 11]
Generated Node #0,1,0: 27:[14, 11] Operation: 37-26=11
Exploring Operation: 37-14=23, Resulting Numbers: [26, 23]
Generated Node #0,1,1: 27:[26, 23] Operation: 37-14=23
Exploring Operation: 26-14=12, Resulting Numbers: [37, 12]
Generated Node #0,1,2: 27:[37, 12] Operation: 26-14=12
Moving to Node #0,1,1
Current State: 27:[26, 23], Operations: ['52-38=14', '37-14=23']
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,27 unequal: No Solution
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[14, 11], Operations: ['52-38=14', '37-26=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,27 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[37, 12], Operations: ['52-38=14', '26-14=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,27 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[26, 38, 15], Operations: ['52-37=15']
Exploring Operation: 38-26=12, Resulting Numbers: [15, 12]
Generated Node #0,2,0: 27:[15, 12] Operation: 38-26=12
Exploring Operation: 38-15=23, Resulting Numbers: [26, 23]
Generated Node #0,2,1: 27:[26, 23] Operation: 38-15=23
Exploring Operation: 26-15=11, Resulting Numbers: [38, 11]
Generated Node #0,2,2: 27:[38, 11] Operation: 26-15=11
Moving to Node #0,2,1
Current State: 27:[26, 23], Operations: ['52-37=15', '38-15=23']
Exploring Operation: 26+23=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 26*23=598, Resulting Numbers: [598]
598,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[15, 12], Operations: ['52-37=15', '38-26=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[52, 26, 37, 38], Operations: []
Exploring Operation: 52-37=15, Resulting Numbers: [26, 38, 15]
Generated Node #0,2: 27:[26, 38, 15] Operation: 52-37=15
Moving to Node #0,2
Current State: 27:[26, 38, 15], Operations: ['52-37=15']
Exploring Operation: 38-26=12, Resulting Numbers: [15, 12]
Generated Node #0,2,0: 27:[15, 12] Operation: 38-26=12
Moving to Node #0,2,0
Current State: 27:[15, 12], Operations: ['52-37=15', '38-26=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
87,
22,
27,
83
] | 45 | [
"87-22=65",
"27+83=110",
"110-65=45"
] | Current State: 45:[87, 22, 27, 83], Operations: []
Exploring Operation: 87-22=65, Resulting Numbers: [27, 83, 65]
Generated Node #2: [27, 83, 65] from Operation: 87-22=65
Current State: 45:[27, 83, 65], Operations: ['87-22=65']
Exploring Operation: 27+83=110, Resulting Numbers: [65, 110]
Generated Node #3: [65, 110] from Operation: 27+83=110
Current State: 45:[65, 110], Operations: ['87-22=65', '27+83=110']
Exploring Operation: 110-65=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[87, 22, 27, 83], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [87, 22, 56]
Generated Node #0,0: 45:[87, 22, 56] Operation: 83-27=56
Exploring Operation: 87-83=4, Resulting Numbers: [22, 27, 4]
Generated Node #0,1: 45:[22, 27, 4] Operation: 87-83=4
Exploring Operation: 87-27=60, Resulting Numbers: [22, 83, 60]
Generated Node #0,2: 45:[22, 83, 60] Operation: 87-27=60
Moving to Node #0,1
Current State: 45:[22, 27, 4], Operations: ['87-83=4']
Exploring Operation: 22+27=49, Resulting Numbers: [4, 49]
Generated Node #0,1,0: 45:[4, 49] Operation: 22+27=49
Exploring Operation: 27-22=5, Resulting Numbers: [4, 5]
Generated Node #0,1,1: 45:[4, 5] Operation: 27-22=5
Exploring Operation: 22-4=18, Resulting Numbers: [27, 18]
Generated Node #0,1,2: 45:[27, 18] Operation: 22-4=18
Moving to Node #0,0
Current State: 45:[87, 22, 56], Operations: ['83-27=56']
Exploring Operation: 56-22=34, Resulting Numbers: [87, 34]
Generated Node #0,0,0: 45:[87, 34] Operation: 56-22=34
Exploring Operation: 87-22=65, Resulting Numbers: [56, 65]
Generated Node #0,0,1: 45:[56, 65] Operation: 87-22=65
Exploring Operation: 87-56=31, Resulting Numbers: [22, 31]
Generated Node #0,0,2: 45:[22, 31] Operation: 87-56=31
Moving to Node #0,2
Current State: 45:[22, 83, 60], Operations: ['87-27=60']
Exploring Operation: 83-60=23, Resulting Numbers: [22, 23]
Generated Node #0,2,0: 45:[22, 23] Operation: 83-60=23
Exploring Operation: 60-22=38, Resulting Numbers: [83, 38]
Generated Node #0,2,1: 45:[83, 38] Operation: 60-22=38
Exploring Operation: 83-22=61, Resulting Numbers: [60, 61]
Generated Node #0,2,2: 45:[60, 61] Operation: 83-22=61
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[22, 23], Operations: ['87-27=60', '83-60=23']
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,45 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[87, 22, 27, 83], Operations: []
Exploring Operation: 87-27=60, Resulting Numbers: [22, 83, 60]
Generated Node #0,2: 45:[22, 83, 60] Operation: 87-27=60
Moving to Node #0,2
Current State: 45:[22, 83, 60], Operations: ['87-27=60']
Exploring Operation: 83-60=23, Resulting Numbers: [22, 23]
Generated Node #0,2,0: 45:[22, 23] Operation: 83-60=23
Moving to Node #0,2,0
Current State: 45:[22, 23], Operations: ['87-27=60', '83-60=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
73,
57,
47,
18
] | 94 | [
"73-57=16",
"18-16=2",
"47*2=94"
] | Current State: 94:[73, 57, 47, 18], Operations: []
Exploring Operation: 73-57=16, Resulting Numbers: [47, 18, 16]
Generated Node #2: [47, 18, 16] from Operation: 73-57=16
Current State: 94:[47, 18, 16], Operations: ['73-57=16']
Exploring Operation: 18-16=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 18-16=2
Current State: 94:[47, 2], Operations: ['73-57=16', '18-16=2']
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[73, 57, 47, 18], Operations: []
Exploring Operation: 73+18=91, Resulting Numbers: [57, 47, 91]
Generated Node #0,0: 94:[57, 47, 91] Operation: 73+18=91
Moving to Node #0,0
Current State: 94:[57, 47, 91], Operations: ['73+18=91']
Exploring Operation: 57-47=10, Resulting Numbers: [91, 10]
Generated Node #0,0,0: 94:[91, 10] Operation: 57-47=10
Moving to Node #0,0,0
Current State: 94:[91, 10], Operations: ['73+18=91', '57-47=10']
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,94 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
33,
62,
75
] | 34 | [
"75/15=5",
"62-33=29",
"5+29=34"
] | Current State: 34:[15, 33, 62, 75], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [33, 62, 5]
Generated Node #2: [33, 62, 5] from Operation: 75/15=5
Current State: 34:[33, 62, 5], Operations: ['75/15=5']
Exploring Operation: 62-33=29, Resulting Numbers: [5, 29]
Generated Node #3: [5, 29] from Operation: 62-33=29
Current State: 34:[5, 29], Operations: ['75/15=5', '62-33=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 33, 62, 75], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [33, 62, 5]
Generated Node #0,0: 34:[33, 62, 5] Operation: 75/15=5
Exploring Operation: 62-15=47, Resulting Numbers: [33, 75, 47]
Generated Node #0,1: 34:[33, 75, 47] Operation: 62-15=47
Exploring Operation: 75-62=13, Resulting Numbers: [15, 33, 13]
Generated Node #0,2: 34:[15, 33, 13] Operation: 75-62=13
Exploring Operation: 75-33=42, Resulting Numbers: [15, 62, 42]
Generated Node #0,3: 34:[15, 62, 42] Operation: 75-33=42
Exploring Operation: 62-33=29, Resulting Numbers: [15, 75, 29]
Generated Node #0,4: 34:[15, 75, 29] Operation: 62-33=29
Moving to Node #0,2
Current State: 34:[15, 33, 13], Operations: ['75-62=13']
Exploring Operation: 33-13=20, Resulting Numbers: [15, 20]
Generated Node #0,2,0: 34:[15, 20] Operation: 33-13=20
Exploring Operation: 33-15=18, Resulting Numbers: [13, 18]
Generated Node #0,2,1: 34:[13, 18] Operation: 33-15=18
Exploring Operation: 15+13=28, Resulting Numbers: [33, 28]
Generated Node #0,2,2: 34:[33, 28] Operation: 15+13=28
Exploring Operation: 33+13=46, Resulting Numbers: [15, 46]
Generated Node #0,2,3: 34:[15, 46] Operation: 33+13=46
Exploring Operation: 15-13=2, Resulting Numbers: [33, 2]
Generated Node #0,2,4: 34:[33, 2] Operation: 15-13=2
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 34:[33, 2], Operations: ['75-62=13', '15-13=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[15, 20], Operations: ['75-62=13', '33-13=20']
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,34 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[13, 18], Operations: ['75-62=13', '33-15=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 13*18=234, Resulting Numbers: [234]
234,34 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[33, 28], Operations: ['75-62=13', '15+13=28']
Exploring Operation: 33*28=924, Resulting Numbers: [924]
924,34 unequal: No Solution
Exploring Operation: 33-28=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 33+28=61, Resulting Numbers: [61]
61,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[15, 46], Operations: ['75-62=13', '33+13=46']
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,34 unequal: No Solution
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,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:[33, 62, 5], Operations: ['75/15=5']
Exploring Operation: 62-5=57, Resulting Numbers: [33, 57]
Generated Node #0,0,0: 34:[33, 57] Operation: 62-5=57
Exploring Operation: 62+5=67, Resulting Numbers: [33, 67]
Generated Node #0,0,1: 34:[33, 67] Operation: 62+5=67
Exploring Operation: 33+5=38, Resulting Numbers: [62, 38]
Generated Node #0,0,2: 34:[62, 38] Operation: 33+5=38
Exploring Operation: 62-33=29, Resulting Numbers: [5, 29]
Generated Node #0,0,3: 34:[5, 29] Operation: 62-33=29
Exploring Operation: 33-5=28, Resulting Numbers: [62, 28]
Generated Node #0,0,4: 34:[62, 28] Operation: 33-5=28
Moving to Node #0,3
Current State: 34:[15, 62, 42], Operations: ['75-33=42']
Exploring Operation: 42-15=27, Resulting Numbers: [62, 27]
Generated Node #0,3,0: 34:[62, 27] Operation: 42-15=27
Exploring Operation: 62-15=47, Resulting Numbers: [42, 47]
Generated Node #0,3,1: 34:[42, 47] Operation: 62-15=47
Exploring Operation: 62-42=20, Resulting Numbers: [15, 20]
Generated Node #0,3,2: 34:[15, 20] Operation: 62-42=20
Exploring Operation: 15+62=77, Resulting Numbers: [42, 77]
Generated Node #0,3,3: 34:[42, 77] Operation: 15+62=77
Exploring Operation: 15+42=57, Resulting Numbers: [62, 57]
Generated Node #0,3,4: 34:[62, 57] Operation: 15+42=57
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[15, 20], Operations: ['75-33=42', '62-42=20']
Exploring Operation: 15+20=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 15*20=300, Resulting Numbers: [300]
300,34 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,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,3,1
Current State: 34:[42, 47], Operations: ['75-33=42', '62-15=47']
Exploring Operation: 42+47=89, Resulting Numbers: [89]
89,34 unequal: No Solution
Exploring Operation: 42*47=1974, Resulting Numbers: [1974]
1974,34 unequal: No Solution
Exploring Operation: 47-42=5, Resulting Numbers: [5]
5,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,3,0
Current State: 34:[62, 27], Operations: ['75-33=42', '42-15=27']
Exploring Operation: 62*27=1674, Resulting Numbers: [1674]
1674,34 unequal: No Solution
Exploring Operation: 62+27=89, Resulting Numbers: [89]
89,34 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,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,3,3
Current State: 34:[42, 77], Operations: ['75-33=42', '15+62=77']
Exploring Operation: 42+77=119, Resulting Numbers: [119]
119,34 unequal: No Solution
Exploring Operation: 42*77=3234, Resulting Numbers: [3234]
3234,34 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,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,3,4
Current State: 34:[62, 57], Operations: ['75-33=42', '15+42=57']
Exploring Operation: 62-57=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 62+57=119, Resulting Numbers: [119]
119,34 unequal: No Solution
Exploring Operation: 62*57=3534, Resulting Numbers: [3534]
3534,34 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: 34:[15, 75, 29], Operations: ['62-33=29']
Exploring Operation: 15+29=44, Resulting Numbers: [75, 44]
Generated Node #0,4,0: 34:[75, 44] Operation: 15+29=44
Exploring Operation: 75/15=5, Resulting Numbers: [29, 5]
Generated Node #0,4,1: 34:[29, 5] Operation: 75/15=5
Exploring Operation: 29-15=14, Resulting Numbers: [75, 14]
Generated Node #0,4,2: 34:[75, 14] Operation: 29-15=14
Exploring Operation: 75-15=60, Resulting Numbers: [29, 60]
Generated Node #0,4,3: 34:[29, 60] Operation: 75-15=60
Exploring Operation: 75-29=46, Resulting Numbers: [15, 46]
Generated Node #0,4,4: 34:[15, 46] Operation: 75-29=46
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 34:[29, 5], Operations: ['62-33=29', '75/15=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,34 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[15, 33, 62, 75], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [15, 75, 29]
Generated Node #0,4: 34:[15, 75, 29] Operation: 62-33=29
Moving to Node #0,4
Current State: 34:[15, 75, 29], Operations: ['62-33=29']
Exploring Operation: 75/15=5, Resulting Numbers: [29, 5]
Generated Node #0,4,1: 34:[29, 5] Operation: 75/15=5
Moving to Node #0,4,1
Current State: 34:[29, 5], Operations: ['62-33=29', '75/15=5']
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
13,
14,
3,
29
] | 88 | [
"14-13=1",
"3*29=87",
"1+87=88"
] | Current State: 88:[13, 14, 3, 29], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [3, 29, 1]
Generated Node #2: [3, 29, 1] from Operation: 14-13=1
Current State: 88:[3, 29, 1], Operations: ['14-13=1']
Exploring Operation: 3*29=87, Resulting Numbers: [1, 87]
Generated Node #3: [1, 87] from Operation: 3*29=87
Current State: 88:[1, 87], Operations: ['14-13=1', '3*29=87']
Exploring Operation: 1+87=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[13, 14, 3, 29], Operations: []
Exploring Operation: 13+29=42, Resulting Numbers: [14, 3, 42]
Generated Node #0,0: 88:[14, 3, 42] Operation: 13+29=42
Exploring Operation: 14+29=43, Resulting Numbers: [13, 3, 43]
Generated Node #0,1: 88:[13, 3, 43] Operation: 14+29=43
Moving to Node #0,1
Current State: 88:[13, 3, 43], Operations: ['14+29=43']
Exploring Operation: 3+43=46, Resulting Numbers: [13, 46]
Generated Node #0,1,0: 88:[13, 46] Operation: 3+43=46
Exploring Operation: 13-3=10, Resulting Numbers: [43, 10]
Generated Node #0,1,1: 88:[43, 10] Operation: 13-3=10
Moving to Node #0,0
Current State: 88:[14, 3, 42], Operations: ['13+29=42']
Exploring Operation: 14-3=11, Resulting Numbers: [42, 11]
Generated Node #0,0,0: 88:[42, 11] Operation: 14-3=11
Exploring Operation: 42/14=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 88:[3, 3] Operation: 42/14=3
Moving to Node #0,1,1
Current State: 88:[43, 10], Operations: ['14+29=43', '13-3=10']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[42, 11], Operations: ['13+29=42', '14-3=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[3, 3], Operations: ['13+29=42', '42/14=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[13, 46], Operations: ['14+29=43', '3+43=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,88 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,88 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
15,
63,
85,
78
] | 85 | [
"15+63=78",
"85+78=163",
"163-78=85"
] | Current State: 85:[15, 63, 85, 78], Operations: []
Exploring Operation: 15+63=78, Resulting Numbers: [85, 78, 78]
Generated Node #2: [85, 78, 78] from Operation: 15+63=78
Current State: 85:[85, 78, 78], Operations: ['15+63=78']
Exploring Operation: 85+78=163, Resulting Numbers: [163]
163,85 equal: Goal Reached
Exploring Operation: 163-78=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[15, 63, 85, 78], Operations: []
Exploring Operation: 15+63=78, Resulting Numbers: [85, 78, 78]
Generated Node #0,0: 85:[85, 78, 78] Operation: 15+63=78
Exploring Operation: 85-63=22, Resulting Numbers: [15, 78, 22]
Generated Node #0,1: 85:[15, 78, 22] Operation: 85-63=22
Exploring Operation: 78-63=15, Resulting Numbers: [15, 85, 15]
Generated Node #0,2: 85:[15, 85, 15] Operation: 78-63=15
Moving to Node #0,2
Current State: 85:[15, 85, 15], Operations: ['78-63=15']
Exploring Operation: 15/15=1, Resulting Numbers: [85, 1]
Generated Node #0,2,0: 85:[85, 1] Operation: 15/15=1
Exploring Operation: 15+15=30, Resulting Numbers: [85, 30]
Generated Node #0,2,1: 85:[85, 30] Operation: 15+15=30
Exploring Operation: 15-15=0, Resulting Numbers: [85, 0]
Generated Node #0,2,2: 85:[85, 0] Operation: 15-15=0
Moving to Node #0,0
Current State: 85:[85, 78, 78], Operations: ['15+63=78']
Exploring Operation: 85-78=7, Resulting Numbers: [78, 7]
Generated Node #0,0,0: 85:[78, 7] Operation: 85-78=7
Exploring Operation: 78-78=0, Resulting Numbers: [85, 0]
Generated Node #0,0,1: 85:[85, 0] Operation: 78-78=0
Exploring Operation: 78/78=1, Resulting Numbers: [85, 1]
Generated Node #0,0,2: 85:[85, 1] Operation: 78/78=1
Moving to Node #0,1
Current State: 85:[15, 78, 22], Operations: ['85-63=22']
Exploring Operation: 78+22=100, Resulting Numbers: [15, 100]
Generated Node #0,1,0: 85:[15, 100] Operation: 78+22=100
Exploring Operation: 15+78=93, Resulting Numbers: [22, 93]
Generated Node #0,1,1: 85:[22, 93] Operation: 15+78=93
Exploring Operation: 22-15=7, Resulting Numbers: [78, 7]
Generated Node #0,1,2: 85:[78, 7] Operation: 22-15=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[78, 7], Operations: ['85-63=22', '22-15=7']
Exploring Operation: 78*7=546, Resulting Numbers: [546]
546,85 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[15, 63, 85, 78], Operations: []
Exploring Operation: 85-63=22, Resulting Numbers: [15, 78, 22]
Generated Node #0,1: 85:[15, 78, 22] Operation: 85-63=22
Moving to Node #0,1
Current State: 85:[15, 78, 22], Operations: ['85-63=22']
Exploring Operation: 22-15=7, Resulting Numbers: [78, 7]
Generated Node #0,1,2: 85:[78, 7] Operation: 22-15=7
Moving to Node #0,1,2
Current State: 85:[78, 7], Operations: ['85-63=22', '22-15=7']
Exploring Operation: 78+7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
25,
97,
15,
32
] | 75 | [
"25+97=122",
"15+32=47",
"122-47=75"
] | Current State: 75:[25, 97, 15, 32], Operations: []
Exploring Operation: 25+97=122, Resulting Numbers: [15, 32, 122]
Generated Node #2: [15, 32, 122] from Operation: 25+97=122
Current State: 75:[15, 32, 122], Operations: ['25+97=122']
Exploring Operation: 15+32=47, Resulting Numbers: [122, 47]
Generated Node #3: [122, 47] from Operation: 15+32=47
Current State: 75:[122, 47], Operations: ['25+97=122', '15+32=47']
Exploring Operation: 122-47=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[25, 97, 15, 32], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [25, 32, 82]
Generated Node #0,0: 75:[25, 32, 82] Operation: 97-15=82
Exploring Operation: 32-25=7, Resulting Numbers: [97, 15, 7]
Generated Node #0,1: 75:[97, 15, 7] Operation: 32-25=7
Exploring Operation: 97-32=65, Resulting Numbers: [25, 15, 65]
Generated Node #0,2: 75:[25, 15, 65] Operation: 97-32=65
Exploring Operation: 97-25=72, Resulting Numbers: [15, 32, 72]
Generated Node #0,3: 75:[15, 32, 72] Operation: 97-25=72
Moving to Node #0,2
Current State: 75:[25, 15, 65], Operations: ['97-32=65']
Exploring Operation: 25-15=10, Resulting Numbers: [65, 10]
Generated Node #0,2,0: 75:[65, 10] Operation: 25-15=10
Exploring Operation: 15+65=80, Resulting Numbers: [25, 80]
Generated Node #0,2,1: 75:[25, 80] Operation: 15+65=80
Exploring Operation: 25+65=90, Resulting Numbers: [15, 90]
Generated Node #0,2,2: 75:[15, 90] Operation: 25+65=90
Exploring Operation: 65-25=40, Resulting Numbers: [15, 40]
Generated Node #0,2,3: 75:[15, 40] Operation: 65-25=40
Moving to Node #0,3
Current State: 75:[15, 32, 72], Operations: ['97-25=72']
Exploring Operation: 15+72=87, Resulting Numbers: [32, 87]
Generated Node #0,3,0: 75:[32, 87] Operation: 15+72=87
Exploring Operation: 32-15=17, Resulting Numbers: [72, 17]
Generated Node #0,3,1: 75:[72, 17] Operation: 32-15=17
Exploring Operation: 72-32=40, Resulting Numbers: [15, 40]
Generated Node #0,3,2: 75:[15, 40] Operation: 72-32=40
Exploring Operation: 15+32=47, Resulting Numbers: [72, 47]
Generated Node #0,3,3: 75:[72, 47] Operation: 15+32=47
Moving to Node #0,0
Current State: 75:[25, 32, 82], Operations: ['97-15=82']
Exploring Operation: 82-25=57, Resulting Numbers: [32, 57]
Generated Node #0,0,0: 75:[32, 57] Operation: 82-25=57
Exploring Operation: 32-25=7, Resulting Numbers: [82, 7]
Generated Node #0,0,1: 75:[82, 7] Operation: 32-25=7
Exploring Operation: 82-32=50, Resulting Numbers: [25, 50]
Generated Node #0,0,2: 75:[25, 50] Operation: 82-32=50
Exploring Operation: 25+32=57, Resulting Numbers: [82, 57]
Generated Node #0,0,3: 75:[82, 57] Operation: 25+32=57
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[82, 7], Operations: ['97-15=82', '32-25=7']
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,75 unequal: No Solution
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[25, 97, 15, 32], Operations: []
Exploring Operation: 97-15=82, Resulting Numbers: [25, 32, 82]
Generated Node #0,0: 75:[25, 32, 82] Operation: 97-15=82
Moving to Node #0,0
Current State: 75:[25, 32, 82], Operations: ['97-15=82']
Exploring Operation: 32-25=7, Resulting Numbers: [82, 7]
Generated Node #0,0,1: 75:[82, 7] Operation: 32-25=7
Moving to Node #0,0,1
Current State: 75:[82, 7], Operations: ['97-15=82', '32-25=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
65,
98,
47,
9
] | 100 | [
"65-47=18",
"18/9=2",
"98+2=100"
] | Current State: 100:[65, 98, 47, 9], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [98, 9, 18]
Generated Node #2: [98, 9, 18] from Operation: 65-47=18
Current State: 100:[98, 9, 18], Operations: ['65-47=18']
Exploring Operation: 18/9=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 18/9=2
Current State: 100:[98, 2], Operations: ['65-47=18', '18/9=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[65, 98, 47, 9], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [98, 9, 18]
Generated Node #0,0: 100:[98, 9, 18] Operation: 65-47=18
Exploring Operation: 65-9=56, Resulting Numbers: [98, 47, 56]
Generated Node #0,1: 100:[98, 47, 56] Operation: 65-9=56
Moving to Node #0,0
Current State: 100:[98, 9, 18], Operations: ['65-47=18']
Exploring Operation: 18-9=9, Resulting Numbers: [98, 9]
Generated Node #0,0,0: 100:[98, 9] Operation: 18-9=9
Exploring Operation: 18/9=2, Resulting Numbers: [98, 2]
Generated Node #0,0,1: 100:[98, 2] Operation: 18/9=2
Moving to Node #0,1
Current State: 100:[98, 47, 56], Operations: ['65-9=56']
Exploring Operation: 47+56=103, Resulting Numbers: [98, 103]
Generated Node #0,1,0: 100:[98, 103] Operation: 47+56=103
Exploring Operation: 56-47=9, Resulting Numbers: [98, 9]
Generated Node #0,1,1: 100:[98, 9] Operation: 56-47=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[98, 9], Operations: ['65-9=56', '56-47=9']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,100 unequal: No Solution
Exploring Operation: 98+9=107, Resulting Numbers: [107]
107,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[98, 103], Operations: ['65-9=56', '47+56=103']
Exploring Operation: 103-98=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 98+103=201, Resulting Numbers: [201]
201,100 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: 100:[98, 2], Operations: ['65-47=18', '18/9=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,100 unequal: No Solution
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[65, 98, 47, 9], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [98, 9, 18]
Generated Node #0,0: 100:[98, 9, 18] Operation: 65-47=18
Moving to Node #0,0
Current State: 100:[98, 9, 18], Operations: ['65-47=18']
Exploring Operation: 18/9=2, Resulting Numbers: [98, 2]
Generated Node #0,0,1: 100:[98, 2] Operation: 18/9=2
Moving to Node #0,0,1
Current State: 100:[98, 2], Operations: ['65-47=18', '18/9=2']
Exploring Operation: 98+2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
31,
86,
4,
7
] | 52 | [
"86-31=55",
"7-4=3",
"55-3=52"
] | Current State: 52:[31, 86, 4, 7], Operations: []
Exploring Operation: 86-31=55, Resulting Numbers: [4, 7, 55]
Generated Node #2: [4, 7, 55] from Operation: 86-31=55
Current State: 52:[4, 7, 55], Operations: ['86-31=55']
Exploring Operation: 7-4=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 7-4=3
Current State: 52:[55, 3], Operations: ['86-31=55', '7-4=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[31, 86, 4, 7], Operations: []
Exploring Operation: 86-31=55, Resulting Numbers: [4, 7, 55]
Generated Node #0,0: 52:[4, 7, 55] Operation: 86-31=55
Moving to Node #0,0
Current State: 52:[4, 7, 55], Operations: ['86-31=55']
Exploring Operation: 7-4=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 52:[55, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 52:[55, 3], Operations: ['86-31=55', '7-4=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[31, 86, 4, 7], Operations: []
Exploring Operation: 86-31=55, Resulting Numbers: [4, 7, 55]
Generated Node #0,0: 52:[4, 7, 55] Operation: 86-31=55
Moving to Node #0,0
Current State: 52:[4, 7, 55], Operations: ['86-31=55']
Exploring Operation: 7-4=3, Resulting Numbers: [55, 3]
Generated Node #0,0,0: 52:[55, 3] Operation: 7-4=3
Moving to Node #0,0,0
Current State: 52:[55, 3], Operations: ['86-31=55', '7-4=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
1,
74,
67,
55
] | 86 | [
"1*74=74",
"67-55=12",
"74+12=86"
] | Current State: 86:[1, 74, 67, 55], Operations: []
Exploring Operation: 1*74=74, Resulting Numbers: [67, 55, 74]
Generated Node #2: [67, 55, 74] from Operation: 1*74=74
Current State: 86:[67, 55, 74], Operations: ['1*74=74']
Exploring Operation: 67-55=12, Resulting Numbers: [74, 12]
Generated Node #3: [74, 12] from Operation: 67-55=12
Current State: 86:[74, 12], Operations: ['1*74=74', '67-55=12']
Exploring Operation: 74+12=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[1, 74, 67, 55], Operations: []
Exploring Operation: 74-67=7, Resulting Numbers: [1, 55, 7]
Generated Node #0,0: 86:[1, 55, 7] Operation: 74-67=7
Exploring Operation: 74-55=19, Resulting Numbers: [1, 67, 19]
Generated Node #0,1: 86:[1, 67, 19] Operation: 74-55=19
Exploring Operation: 67-55=12, Resulting Numbers: [1, 74, 12]
Generated Node #0,2: 86:[1, 74, 12] Operation: 67-55=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[1, 55, 7], Operations: ['74-67=7']
Exploring Operation: 55-7=48, Resulting Numbers: [1, 48]
Generated Node #0,0,0: 86:[1, 48] Operation: 55-7=48
Exploring Operation: 55-1=54, Resulting Numbers: [7, 54]
Generated Node #0,0,1: 86:[7, 54] Operation: 55-1=54
Exploring Operation: 7-1=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 86:[55, 6] Operation: 7-1=6
Moving to Node #0,0,0
Current State: 86:[1, 48], Operations: ['74-67=7', '55-7=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[7, 54], Operations: ['74-67=7', '55-1=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,86 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[55, 6], Operations: ['74-67=7', '7-1=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,86 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[1, 74, 12], Operations: ['67-55=12']
Exploring Operation: 1+74=75, Resulting Numbers: [12, 75]
Generated Node #0,2,0: 86:[12, 75] Operation: 1+74=75
Exploring Operation: 74-12=62, Resulting Numbers: [1, 62]
Generated Node #0,2,1: 86:[1, 62] Operation: 74-12=62
Exploring Operation: 74+12=86, Resulting Numbers: [1, 86]
Generated Node #0,2,2: 86:[1, 86] Operation: 74+12=86
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[1, 86], Operations: ['67-55=12', '74+12=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[1, 74, 67, 55], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [1, 74, 12]
Generated Node #0,2: 86:[1, 74, 12] Operation: 67-55=12
Moving to Node #0,2
Current State: 86:[1, 74, 12], Operations: ['67-55=12']
Exploring Operation: 74+12=86, Resulting Numbers: [1, 86]
Generated Node #0,2,2: 86:[1, 86] Operation: 74+12=86
Moving to Node #0,2,2
Current State: 86:[1, 86], Operations: ['67-55=12', '74+12=86']
Exploring Operation: 1*86=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
44,
88,
99,
81
] | 20 | [
"88/44=2",
"99-81=18",
"2+18=20"
] | Current State: 20:[44, 88, 99, 81], Operations: []
Exploring Operation: 88/44=2, Resulting Numbers: [99, 81, 2]
Generated Node #2: [99, 81, 2] from Operation: 88/44=2
Current State: 20:[99, 81, 2], Operations: ['88/44=2']
Exploring Operation: 99-81=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 99-81=18
Current State: 20:[2, 18], Operations: ['88/44=2', '99-81=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[44, 88, 99, 81], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [44, 81, 11]
Generated Node #0,0: 20:[44, 81, 11] Operation: 99-88=11
Exploring Operation: 88-81=7, Resulting Numbers: [44, 99, 7]
Generated Node #0,1: 20:[44, 99, 7] Operation: 88-81=7
Exploring Operation: 88/44=2, Resulting Numbers: [99, 81, 2]
Generated Node #0,2: 20:[99, 81, 2] Operation: 88/44=2
Exploring Operation: 99-81=18, Resulting Numbers: [44, 88, 18]
Generated Node #0,3: 20:[44, 88, 18] Operation: 99-81=18
Moving to Node #0,0
Current State: 20:[44, 81, 11], Operations: ['99-88=11']
Exploring Operation: 44-11=33, Resulting Numbers: [81, 33]
Generated Node #0,0,0: 20:[81, 33] Operation: 44-11=33
Exploring Operation: 81-11=70, Resulting Numbers: [44, 70]
Generated Node #0,0,1: 20:[44, 70] Operation: 81-11=70
Exploring Operation: 44/11=4, Resulting Numbers: [81, 4]
Generated Node #0,0,2: 20:[81, 4] Operation: 44/11=4
Exploring Operation: 81-44=37, Resulting Numbers: [11, 37]
Generated Node #0,0,3: 20:[11, 37] Operation: 81-44=37
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 20:[11, 37], Operations: ['99-88=11', '81-44=37']
Exploring Operation: 11+37=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 11*37=407, Resulting Numbers: [407]
407,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[81, 4], Operations: ['99-88=11', '44/11=4']
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,20 unequal: No Solution
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,20 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[81, 33], Operations: ['99-88=11', '44-11=33']
Exploring Operation: 81+33=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,20 unequal: No Solution
Exploring Operation: 81*33=2673, Resulting Numbers: [2673]
2673,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[44, 70], Operations: ['99-88=11', '81-11=70']
Exploring Operation: 44*70=3080, Resulting Numbers: [3080]
3080,20 unequal: No Solution
Exploring Operation: 44+70=114, Resulting Numbers: [114]
114,20 unequal: No Solution
Exploring Operation: 70-44=26, Resulting Numbers: [26]
26,20 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: 20:[44, 88, 18], Operations: ['99-81=18']
Exploring Operation: 88/44=2, Resulting Numbers: [18, 2]
Generated Node #0,3,0: 20:[18, 2] Operation: 88/44=2
Exploring Operation: 88-18=70, Resulting Numbers: [44, 70]
Generated Node #0,3,1: 20:[44, 70] Operation: 88-18=70
Exploring Operation: 88-44=44, Resulting Numbers: [18, 44]
Generated Node #0,3,2: 20:[18, 44] Operation: 88-44=44
Exploring Operation: 44-18=26, Resulting Numbers: [88, 26]
Generated Node #0,3,3: 20:[88, 26] Operation: 44-18=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 20:[18, 2], Operations: ['99-81=18', '88/44=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[44, 88, 99, 81], Operations: []
Exploring Operation: 99-81=18, Resulting Numbers: [44, 88, 18]
Generated Node #0,3: 20:[44, 88, 18] Operation: 99-81=18
Moving to Node #0,3
Current State: 20:[44, 88, 18], Operations: ['99-81=18']
Exploring Operation: 88/44=2, Resulting Numbers: [18, 2]
Generated Node #0,3,0: 20:[18, 2] Operation: 88/44=2
Moving to Node #0,3,0
Current State: 20:[18, 2], Operations: ['99-81=18', '88/44=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
87,
46,
83,
86
] | 58 | [
"87*86=7482",
"46+83=129",
"7482/129=58"
] | Current State: 58:[87, 46, 83, 86], Operations: []
Exploring Operation: 87*86=7482, Resulting Numbers: [46, 83, 7482]
Generated Node #2: [46, 83, 7482] from Operation: 87*86=7482
Current State: 58:[46, 83, 7482], Operations: ['87*86=7482']
Exploring Operation: 46+83=129, Resulting Numbers: [7482, 129]
Generated Node #3: [7482, 129] from Operation: 46+83=129
Current State: 58:[7482, 129], Operations: ['87*86=7482', '46+83=129']
Exploring Operation: 7482/129=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[87, 46, 83, 86], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [46, 86, 4]
Generated Node #0,0: 58:[46, 86, 4] Operation: 87-83=4
Exploring Operation: 87-86=1, Resulting Numbers: [46, 83, 1]
Generated Node #0,1: 58:[46, 83, 1] Operation: 87-86=1
Exploring Operation: 86-83=3, Resulting Numbers: [87, 46, 3]
Generated Node #0,2: 58:[87, 46, 3] Operation: 86-83=3
Moving to Node #0,1
Current State: 58:[46, 83, 1], Operations: ['87-86=1']
Exploring Operation: 46+1=47, Resulting Numbers: [83, 47]
Generated Node #0,1,0: 58:[83, 47] Operation: 46+1=47
Exploring Operation: 83-46=37, Resulting Numbers: [1, 37]
Generated Node #0,1,1: 58:[1, 37] Operation: 83-46=37
Exploring Operation: 83-1=82, Resulting Numbers: [46, 82]
Generated Node #0,1,2: 58:[46, 82] Operation: 83-1=82
Moving to Node #0,0
Current State: 58:[46, 86, 4], Operations: ['87-83=4']
Exploring Operation: 46+4=50, Resulting Numbers: [86, 50]
Generated Node #0,0,0: 58:[86, 50] Operation: 46+4=50
Exploring Operation: 86-4=82, Resulting Numbers: [46, 82]
Generated Node #0,0,1: 58:[46, 82] Operation: 86-4=82
Exploring Operation: 86-46=40, Resulting Numbers: [4, 40]
Generated Node #0,0,2: 58:[4, 40] Operation: 86-46=40
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[4, 40], Operations: ['87-83=4', '86-46=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,58 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[86, 50], Operations: ['87-83=4', '46+4=50']
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,58 unequal: No Solution
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[46, 82], Operations: ['87-83=4', '86-4=82']
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,58 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 58:[87, 46, 3], Operations: ['86-83=3']
Exploring Operation: 87/3=29, Resulting Numbers: [46, 29]
Generated Node #0,2,0: 58:[46, 29] Operation: 87/3=29
Exploring Operation: 87-46=41, Resulting Numbers: [3, 41]
Generated Node #0,2,1: 58:[3, 41] Operation: 87-46=41
Exploring Operation: 87-3=84, Resulting Numbers: [46, 84]
Generated Node #0,2,2: 58:[46, 84] Operation: 87-3=84
Moving to Node #0,1,1
Current State: 58:[1, 37], Operations: ['87-86=1', '83-46=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,58 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[46, 29], Operations: ['86-83=3', '87/3=29']
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,58 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,58 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[3, 41], Operations: ['86-83=3', '87-46=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[46, 82], Operations: ['87-86=1', '83-1=82']
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,58 unequal: No Solution
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[83, 47], Operations: ['87-86=1', '46+1=47']
Exploring Operation: 83*47=3901, Resulting Numbers: [3901]
3901,58 unequal: No Solution
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 83+47=130, Resulting Numbers: [130]
130,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[46, 84], Operations: ['86-83=3', '87-3=84']
Exploring Operation: 46*84=3864, Resulting Numbers: [3864]
3864,58 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 46+84=130, Resulting Numbers: [130]
130,58 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
94,
27,
70
] | 89 | [
"27-13=14",
"70/14=5",
"94-5=89"
] | Current State: 89:[13, 94, 27, 70], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [94, 70, 14]
Generated Node #2: [94, 70, 14] from Operation: 27-13=14
Current State: 89:[94, 70, 14], Operations: ['27-13=14']
Exploring Operation: 70/14=5, Resulting Numbers: [94, 5]
Generated Node #3: [94, 5] from Operation: 70/14=5
Current State: 89:[94, 5], Operations: ['27-13=14', '70/14=5']
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[13, 94, 27, 70], Operations: []
Exploring Operation: 13+70=83, Resulting Numbers: [94, 27, 83]
Generated Node #0,0: 89:[94, 27, 83] Operation: 13+70=83
Exploring Operation: 13+27=40, Resulting Numbers: [94, 70, 40]
Generated Node #0,1: 89:[94, 70, 40] Operation: 13+27=40
Exploring Operation: 27+70=97, Resulting Numbers: [13, 94, 97]
Generated Node #0,2: 89:[13, 94, 97] Operation: 27+70=97
Exploring Operation: 94-13=81, Resulting Numbers: [27, 70, 81]
Generated Node #0,3: 89:[27, 70, 81] Operation: 94-13=81
Exploring Operation: 13+94=107, Resulting Numbers: [27, 70, 107]
Generated Node #0,4: 89:[27, 70, 107] Operation: 13+94=107
Moving to Node #0,0
Current State: 89:[94, 27, 83], Operations: ['13+70=83']
Exploring Operation: 83-27=56, Resulting Numbers: [94, 56]
Generated Node #0,0,0: 89:[94, 56] Operation: 83-27=56
Exploring Operation: 94-83=11, Resulting Numbers: [27, 11]
Generated Node #0,0,1: 89:[27, 11] Operation: 94-83=11
Exploring Operation: 94+27=121, Resulting Numbers: [83, 121]
Generated Node #0,0,2: 89:[83, 121] Operation: 94+27=121
Exploring Operation: 27+83=110, Resulting Numbers: [94, 110]
Generated Node #0,0,3: 89:[94, 110] Operation: 27+83=110
Exploring Operation: 94-27=67, Resulting Numbers: [83, 67]
Generated Node #0,0,4: 89:[83, 67] Operation: 94-27=67
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 89:[94, 110], Operations: ['13+70=83', '27+83=110']
Exploring Operation: 94+110=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 94*110=10340, Resulting Numbers: [10340]
10340,89 unequal: No Solution
Exploring Operation: 110-94=16, Resulting Numbers: [16]
16,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,0,4
Current State: 89:[83, 67], Operations: ['13+70=83', '94-27=67']
Exploring Operation: 83-67=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 83+67=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 83*67=5561, Resulting Numbers: [5561]
5561,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,0,0
Current State: 89:[94, 56], Operations: ['13+70=83', '83-27=56']
Exploring Operation: 94-56=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 94+56=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 94*56=5264, Resulting Numbers: [5264]
5264,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,0,2
Current State: 89:[83, 121], Operations: ['13+70=83', '94+27=121']
Exploring Operation: 83+121=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 121-83=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 83*121=10043, Resulting Numbers: [10043]
10043,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,0,1
Current State: 89:[27, 11], Operations: ['13+70=83', '94-83=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,89 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,89 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: 89:[94, 70, 40], Operations: ['13+27=40']
Exploring Operation: 94-70=24, Resulting Numbers: [40, 24]
Generated Node #0,1,0: 89:[40, 24] Operation: 94-70=24
Exploring Operation: 70+40=110, Resulting Numbers: [94, 110]
Generated Node #0,1,1: 89:[94, 110] Operation: 70+40=110
Exploring Operation: 94-40=54, Resulting Numbers: [70, 54]
Generated Node #0,1,2: 89:[70, 54] Operation: 94-40=54
Exploring Operation: 70-40=30, Resulting Numbers: [94, 30]
Generated Node #0,1,3: 89:[94, 30] Operation: 70-40=30
Exploring Operation: 94+40=134, Resulting Numbers: [70, 134]
Generated Node #0,1,4: 89:[70, 134] Operation: 94+40=134
Moving to Node #0,2
Current State: 89:[13, 94, 97], Operations: ['27+70=97']
Exploring Operation: 13+97=110, Resulting Numbers: [94, 110]
Generated Node #0,2,0: 89:[94, 110] Operation: 13+97=110
Exploring Operation: 97-94=3, Resulting Numbers: [13, 3]
Generated Node #0,2,1: 89:[13, 3] Operation: 97-94=3
Exploring Operation: 94-13=81, Resulting Numbers: [97, 81]
Generated Node #0,2,2: 89:[97, 81] Operation: 94-13=81
Exploring Operation: 97-13=84, Resulting Numbers: [94, 84]
Generated Node #0,2,3: 89:[94, 84] Operation: 97-13=84
Exploring Operation: 13+94=107, Resulting Numbers: [97, 107]
Generated Node #0,2,4: 89:[97, 107] Operation: 13+94=107
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 89:[94, 84], Operations: ['27+70=97', '97-13=84']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 94*84=7896, Resulting Numbers: [7896]
7896,89 unequal: No Solution
Exploring Operation: 94+84=178, Resulting Numbers: [178]
178,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,2,2
Current State: 89:[97, 81], Operations: ['27+70=97', '94-13=81']
Exploring Operation: 97+81=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 97*81=7857, Resulting Numbers: [7857]
7857,89 unequal: No Solution
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,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,2,0
Current State: 89:[94, 110], Operations: ['27+70=97', '13+97=110']
Exploring Operation: 110-94=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 94*110=10340, Resulting Numbers: [10340]
10340,89 unequal: No Solution
Exploring Operation: 94+110=204, Resulting Numbers: [204]
204,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,2,4
Current State: 89:[97, 107], Operations: ['27+70=97', '13+94=107']
Exploring Operation: 97*107=10379, Resulting Numbers: [10379]
10379,89 unequal: No Solution
Exploring Operation: 107-97=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 97+107=204, Resulting Numbers: [204]
204,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,2,1
Current State: 89:[13, 3], Operations: ['27+70=97', '97-94=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,89 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: 89:[27, 70, 81], Operations: ['94-13=81']
Exploring Operation: 27+81=108, Resulting Numbers: [70, 108]
Generated Node #0,3,0: 89:[70, 108] Operation: 27+81=108
Exploring Operation: 81-27=54, Resulting Numbers: [70, 54]
Generated Node #0,3,1: 89:[70, 54] Operation: 81-27=54
Exploring Operation: 70-27=43, Resulting Numbers: [81, 43]
Generated Node #0,3,2: 89:[81, 43] Operation: 70-27=43
Exploring Operation: 27+70=97, Resulting Numbers: [81, 97]
Generated Node #0,3,3: 89:[81, 97] Operation: 27+70=97
Exploring Operation: 81/27=3, Resulting Numbers: [70, 3]
Generated Node #0,3,4: 89:[70, 3] Operation: 81/27=3
Moving to Node #0,4
Current State: 89:[27, 70, 107], Operations: ['13+94=107']
Exploring Operation: 107-70=37, Resulting Numbers: [27, 37]
Generated Node #0,4,0: 89:[27, 37] Operation: 107-70=37
Exploring Operation: 27+107=134, Resulting Numbers: [70, 134]
Generated Node #0,4,1: 89:[70, 134] Operation: 27+107=134
Exploring Operation: 107-27=80, Resulting Numbers: [70, 80]
Generated Node #0,4,2: 89:[70, 80] Operation: 107-27=80
Exploring Operation: 27+70=97, Resulting Numbers: [107, 97]
Generated Node #0,4,3: 89:[107, 97] Operation: 27+70=97
Exploring Operation: 70-27=43, Resulting Numbers: [107, 43]
Generated Node #0,4,4: 89:[107, 43] Operation: 70-27=43
Moving to Node #0,3,3
Current State: 89:[81, 97], Operations: ['94-13=81', '27+70=97']
Exploring Operation: 81+97=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Exploring Operation: 81*97=7857, Resulting Numbers: [7857]
7857,89 unequal: No Solution
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[94, 110], Operations: ['13+27=40', '70+40=110']
Exploring Operation: 94+110=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 94*110=10340, Resulting Numbers: [10340]
10340,89 unequal: No Solution
Exploring Operation: 110-94=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[107, 97], Operations: ['13+94=107', '27+70=97']
Exploring Operation: 107*97=10379, Resulting Numbers: [10379]
10379,89 unequal: No Solution
Exploring Operation: 107+97=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 107-97=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[70, 80], Operations: ['13+94=107', '107-27=80']
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[70, 108], Operations: ['94-13=81', '27+81=108']
Exploring Operation: 70*108=7560, Resulting Numbers: [7560]
7560,89 unequal: No Solution
Exploring Operation: 108-70=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 70+108=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[70, 54], Operations: ['13+27=40', '94-40=54']
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,89 unequal: No Solution
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[70, 54], Operations: ['94-13=81', '81-27=54']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[81, 43], Operations: ['94-13=81', '70-27=43']
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,89 unequal: No Solution
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[70, 134], Operations: ['13+94=107', '27+107=134']
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,89 unequal: No Solution
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[94, 30], Operations: ['13+27=40', '70-40=30']
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,89 unequal: No Solution
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[107, 43], Operations: ['13+94=107', '70-27=43']
Exploring Operation: 107*43=4601, Resulting Numbers: [4601]
4601,89 unequal: No Solution
Exploring Operation: 107+43=150, Resulting Numbers: [150]
150,89 unequal: No Solution
Exploring Operation: 107-43=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[70, 134], Operations: ['13+27=40', '94+40=134']
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[70, 3], Operations: ['94-13=81', '81/27=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,89 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[27, 37], Operations: ['13+94=107', '107-70=37']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,89 unequal: No Solution
Exploring Operation: 27*37=999, Resulting Numbers: [999]
999,89 unequal: No Solution
Exploring Operation: 27+37=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[40, 24], Operations: ['13+27=40', '94-70=24']
Exploring Operation: 40+24=64, Resulting Numbers: [64]
64,89 unequal: No Solution
Exploring Operation: 40*24=960, Resulting Numbers: [960]
960,89 unequal: No Solution
Exploring Operation: 40-24=16, Resulting Numbers: [16]
16,89 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
16,
7,
10
] | 95 | [
"16-7=9",
"10+9=19",
"5*19=95"
] | Current State: 95:[5, 16, 7, 10], Operations: []
Exploring Operation: 16-7=9, Resulting Numbers: [5, 10, 9]
Generated Node #2: [5, 10, 9] from Operation: 16-7=9
Current State: 95:[5, 10, 9], Operations: ['16-7=9']
Exploring Operation: 10+9=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 10+9=19
Current State: 95:[5, 19], Operations: ['16-7=9', '10+9=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[5, 16, 7, 10], Operations: []
Exploring Operation: 16-10=6, Resulting Numbers: [5, 7, 6]
Generated Node #0,0: 95:[5, 7, 6] Operation: 16-10=6
Exploring Operation: 10-5=5, Resulting Numbers: [16, 7, 5]
Generated Node #0,1: 95:[16, 7, 5] Operation: 10-5=5
Moving to Node #0,0
Current State: 95:[5, 7, 6], Operations: ['16-10=6']
Exploring Operation: 7-6=1, Resulting Numbers: [5, 1]
Generated Node #0,0,0: 95:[5, 1] Operation: 7-6=1
Exploring Operation: 7-5=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 95:[6, 2] Operation: 7-5=2
Moving to Node #0,1
Current State: 95:[16, 7, 5], Operations: ['10-5=5']
Exploring Operation: 16+7=23, Resulting Numbers: [5, 23]
Generated Node #0,1,0: 95:[5, 23] Operation: 16+7=23
Exploring Operation: 16-7=9, Resulting Numbers: [5, 9]
Generated Node #0,1,1: 95:[5, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[5, 23], Operations: ['10-5=5', '16+7=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,95 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,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, 9], Operations: ['10-5=5', '16-7=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,95 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: 95:[5, 1], Operations: ['16-10=6', '7-6=1']
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[6, 2], Operations: ['16-10=6', '7-5=2']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,95 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
6,
3,
32,
91
] | 41 | [
"6*3=18",
"91-32=59",
"59-18=41"
] | Current State: 41:[6, 3, 32, 91], Operations: []
Exploring Operation: 6*3=18, Resulting Numbers: [32, 91, 18]
Generated Node #2: [32, 91, 18] from Operation: 6*3=18
Current State: 41:[32, 91, 18], Operations: ['6*3=18']
Exploring Operation: 91-32=59, Resulting Numbers: [18, 59]
Generated Node #3: [18, 59] from Operation: 91-32=59
Current State: 41:[18, 59], Operations: ['6*3=18', '91-32=59']
Exploring Operation: 59-18=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[6, 3, 32, 91], Operations: []
Exploring Operation: 6+3=9, Resulting Numbers: [32, 91, 9]
Generated Node #0,0: 41:[32, 91, 9] Operation: 6+3=9
Exploring Operation: 6*3=18, Resulting Numbers: [32, 91, 18]
Generated Node #0,1: 41:[32, 91, 18] Operation: 6*3=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[32, 91, 18], Operations: ['6*3=18']
Exploring Operation: 91-18=73, Resulting Numbers: [32, 73]
Generated Node #0,1,0: 41:[32, 73] Operation: 91-18=73
Exploring Operation: 91-32=59, Resulting Numbers: [18, 59]
Generated Node #0,1,1: 41:[18, 59] Operation: 91-32=59
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[32, 73], Operations: ['6*3=18', '91-18=73']
Exploring Operation: 32+73=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[6, 3, 32, 91], Operations: []
Exploring Operation: 6*3=18, Resulting Numbers: [32, 91, 18]
Generated Node #0,1: 41:[32, 91, 18] Operation: 6*3=18
Moving to Node #0,1
Current State: 41:[32, 91, 18], Operations: ['6*3=18']
Exploring Operation: 91-18=73, Resulting Numbers: [32, 73]
Generated Node #0,1,0: 41:[32, 73] Operation: 91-18=73
Moving to Node #0,1,0
Current State: 41:[32, 73], Operations: ['6*3=18', '91-18=73']
Exploring Operation: 73-32=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
62,
44,
66,
64
] | 27 | [
"66-62=4",
"44+64=108",
"108/4=27"
] | Current State: 27:[62, 44, 66, 64], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [44, 64, 4]
Generated Node #2: [44, 64, 4] from Operation: 66-62=4
Current State: 27:[44, 64, 4], Operations: ['66-62=4']
Exploring Operation: 44+64=108, Resulting Numbers: [4, 108]
Generated Node #3: [4, 108] from Operation: 44+64=108
Current State: 27:[4, 108], Operations: ['66-62=4', '44+64=108']
Exploring Operation: 108/4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[62, 44, 66, 64], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [44, 64, 4]
Generated Node #0,0: 27:[44, 64, 4] Operation: 66-62=4
Exploring Operation: 66-44=22, Resulting Numbers: [62, 64, 22]
Generated Node #0,1: 27:[62, 64, 22] Operation: 66-44=22
Exploring Operation: 64-44=20, Resulting Numbers: [62, 66, 20]
Generated Node #0,2: 27:[62, 66, 20] Operation: 64-44=20
Exploring Operation: 64-62=2, Resulting Numbers: [44, 66, 2]
Generated Node #0,3: 27:[44, 66, 2] Operation: 64-62=2
Exploring Operation: 66-64=2, Resulting Numbers: [62, 44, 2]
Generated Node #0,4: 27:[62, 44, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[62, 44, 2], Operations: ['66-64=2']
Exploring Operation: 44/2=22, Resulting Numbers: [62, 22]
Generated Node #0,4,0: 27:[62, 22] Operation: 44/2=22
Exploring Operation: 44-2=42, Resulting Numbers: [62, 42]
Generated Node #0,4,1: 27:[62, 42] Operation: 44-2=42
Exploring Operation: 62-2=60, Resulting Numbers: [44, 60]
Generated Node #0,4,2: 27:[44, 60] Operation: 62-2=60
Exploring Operation: 62-44=18, Resulting Numbers: [2, 18]
Generated Node #0,4,3: 27:[2, 18] Operation: 62-44=18
Exploring Operation: 62/2=31, Resulting Numbers: [44, 31]
Generated Node #0,4,4: 27:[44, 31] Operation: 62/2=31
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[2, 18], Operations: ['66-64=2', '62-44=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,27 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,27 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 27:[44, 31], Operations: ['66-64=2', '62/2=31']
Exploring Operation: 44*31=1364, Resulting Numbers: [1364]
1364,27 unequal: No Solution
Exploring Operation: 44+31=75, Resulting Numbers: [75]
75,27 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 27:[62, 22], Operations: ['66-64=2', '44/2=22']
Exploring Operation: 62-22=40, Resulting Numbers: [40]
40,27 unequal: No Solution
Exploring Operation: 62*22=1364, Resulting Numbers: [1364]
1364,27 unequal: No Solution
Exploring Operation: 62+22=84, Resulting Numbers: [84]
84,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 27:[62, 42], Operations: ['66-64=2', '44-2=42']
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,27 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 27:[44, 60], Operations: ['66-64=2', '62-2=60']
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,27 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[44, 64, 4], Operations: ['66-62=4']
Exploring Operation: 64-44=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 27:[4, 20] Operation: 64-44=20
Exploring Operation: 64/4=16, Resulting Numbers: [44, 16]
Generated Node #0,0,1: 27:[44, 16] Operation: 64/4=16
Exploring Operation: 44/4=11, Resulting Numbers: [64, 11]
Generated Node #0,0,2: 27:[64, 11] Operation: 44/4=11
Exploring Operation: 64-4=60, Resulting Numbers: [44, 60]
Generated Node #0,0,3: 27:[44, 60] Operation: 64-4=60
Exploring Operation: 44-4=40, Resulting Numbers: [64, 40]
Generated Node #0,0,4: 27:[64, 40] Operation: 44-4=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[4, 20], Operations: ['66-62=4', '64-44=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[44, 16], Operations: ['66-62=4', '64/4=16']
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,27 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[64, 11], Operations: ['66-62=4', '44/4=11']
Exploring Operation: 64*11=704, Resulting Numbers: [704]
704,27 unequal: No Solution
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,27 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[44, 60], Operations: ['66-62=4', '64-4=60']
Exploring Operation: 44*60=2640, Resulting Numbers: [2640]
2640,27 unequal: No Solution
Exploring Operation: 44+60=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 27:[64, 40], Operations: ['66-62=4', '44-4=40']
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,27 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[44, 66, 2], Operations: ['64-62=2']
Exploring Operation: 44/2=22, Resulting Numbers: [66, 22]
Generated Node #0,3,0: 27:[66, 22] Operation: 44/2=22
Exploring Operation: 66-44=22, Resulting Numbers: [2, 22]
Generated Node #0,3,1: 27:[2, 22] Operation: 66-44=22
Exploring Operation: 66/2=33, Resulting Numbers: [44, 33]
Generated Node #0,3,2: 27:[44, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [44, 64]
Generated Node #0,3,3: 27:[44, 64] Operation: 66-2=64
Exploring Operation: 44-2=42, Resulting Numbers: [66, 42]
Generated Node #0,3,4: 27:[66, 42] Operation: 44-2=42
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 27:[2, 22], Operations: ['64-62=2', '66-44=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 2*22=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 27:[44, 33], Operations: ['64-62=2', '66/2=33']
Exploring Operation: 44*33=1452, Resulting Numbers: [1452]
1452,27 unequal: No Solution
Exploring Operation: 44+33=77, Resulting Numbers: [77]
77,27 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[66, 22], Operations: ['64-62=2', '44/2=22']
Exploring Operation: 66*22=1452, Resulting Numbers: [1452]
1452,27 unequal: No Solution
Exploring Operation: 66+22=88, Resulting Numbers: [88]
88,27 unequal: No Solution
Exploring Operation: 66-22=44, Resulting Numbers: [44]
44,27 unequal: No Solution
Exploring Operation: 66/22=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 27:[44, 64], Operations: ['64-62=2', '66-2=64']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,27 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 27:[66, 42], Operations: ['64-62=2', '44-2=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,27 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[62, 64, 22], Operations: ['66-44=22']
Exploring Operation: 64-62=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 27:[22, 2] Operation: 64-62=2
Exploring Operation: 62-22=40, Resulting Numbers: [64, 40]
Generated Node #0,1,1: 27:[64, 40] Operation: 62-22=40
Exploring Operation: 64+22=86, Resulting Numbers: [62, 86]
Generated Node #0,1,2: 27:[62, 86] Operation: 64+22=86
Exploring Operation: 62+22=84, Resulting Numbers: [64, 84]
Generated Node #0,1,3: 27:[64, 84] Operation: 62+22=84
Exploring Operation: 64-22=42, Resulting Numbers: [62, 42]
Generated Node #0,1,4: 27:[62, 42] Operation: 64-22=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[22, 2], Operations: ['66-44=22', '64-62=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,27 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[64, 40], Operations: ['66-44=22', '62-22=40']
Exploring Operation: 64+40=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 64-40=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 64*40=2560, Resulting Numbers: [2560]
2560,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 27:[62, 42], Operations: ['66-44=22', '64-22=42']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 62+42=104, Resulting Numbers: [104]
104,27 unequal: No Solution
Exploring Operation: 62*42=2604, Resulting Numbers: [2604]
2604,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[62, 86], Operations: ['66-44=22', '64+22=86']
Exploring Operation: 62*86=5332, Resulting Numbers: [5332]
5332,27 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 62+86=148, Resulting Numbers: [148]
148,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 27:[64, 84], Operations: ['66-44=22', '62+22=84']
Exploring Operation: 64*84=5376, Resulting Numbers: [5376]
5376,27 unequal: No Solution
Exploring Operation: 64+84=148, Resulting Numbers: [148]
148,27 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[62, 66, 20], Operations: ['64-44=20']
Exploring Operation: 66-20=46, Resulting Numbers: [62, 46]
Generated Node #0,2,0: 27:[62, 46] Operation: 66-20=46
Exploring Operation: 66+20=86, Resulting Numbers: [62, 86]
Generated Node #0,2,1: 27:[62, 86] Operation: 66+20=86
Exploring Operation: 62+20=82, Resulting Numbers: [66, 82]
Generated Node #0,2,2: 27:[66, 82] Operation: 62+20=82
Exploring Operation: 66-62=4, Resulting Numbers: [20, 4]
Generated Node #0,2,3: 27:[20, 4] Operation: 66-62=4
Exploring Operation: 62-20=42, Resulting Numbers: [66, 42]
Generated Node #0,2,4: 27:[66, 42] Operation: 62-20=42
Moving to Node #0,2,3
Current State: 27:[20, 4], Operations: ['64-44=20', '66-62=4']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 20*4=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 20+4=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Moving to Node #0,2,4
Current State: 27:[66, 42], Operations: ['64-44=20', '62-20=42']
Exploring Operation: 66*42=2772, Resulting Numbers: [2772]
2772,27 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Exploring Operation: 66+42=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Moving to Node #0,2,0
Current State: 27:[62, 46], Operations: ['64-44=20', '66-20=46']
Exploring Operation: 62+46=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 62-46=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 62*46=2852, Resulting Numbers: [2852]
2852,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[62, 86], Operations: ['64-44=20', '66+20=86']
Exploring Operation: 62*86=5332, Resulting Numbers: [5332]
5332,27 unequal: No Solution
Exploring Operation: 62+86=148, Resulting Numbers: [148]
148,27 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[66, 82], Operations: ['64-44=20', '62+20=82']
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,27 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,27 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 |
[
6,
14,
21,
59
] | 88 | [
"14-6=8",
"21+59=80",
"8+80=88"
] | Current State: 88:[6, 14, 21, 59], Operations: []
Exploring Operation: 14-6=8, Resulting Numbers: [21, 59, 8]
Generated Node #2: [21, 59, 8] from Operation: 14-6=8
Current State: 88:[21, 59, 8], Operations: ['14-6=8']
Exploring Operation: 21+59=80, Resulting Numbers: [8, 80]
Generated Node #3: [8, 80] from Operation: 21+59=80
Current State: 88:[8, 80], Operations: ['14-6=8', '21+59=80']
Exploring Operation: 8+80=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[6, 14, 21, 59], Operations: []
Exploring Operation: 59-14=45, Resulting Numbers: [6, 21, 45]
Generated Node #0,0: 88:[6, 21, 45] Operation: 59-14=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[6, 21, 45], Operations: ['59-14=45']
Exploring Operation: 45-21=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 88:[6, 24] Operation: 45-21=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[6, 24], Operations: ['59-14=45', '45-21=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,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_1 | mult_heuristic |
[
39,
42,
47,
9
] | 25 | [
"39+42=81",
"47+9=56",
"81-56=25"
] | Current State: 25:[39, 42, 47, 9], Operations: []
Exploring Operation: 39+42=81, Resulting Numbers: [47, 9, 81]
Generated Node #2: [47, 9, 81] from Operation: 39+42=81
Current State: 25:[47, 9, 81], Operations: ['39+42=81']
Exploring Operation: 47+9=56, Resulting Numbers: [81, 56]
Generated Node #3: [81, 56] from Operation: 47+9=56
Current State: 25:[81, 56], Operations: ['39+42=81', '47+9=56']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[39, 42, 47, 9], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [42, 9, 8]
Generated Node #0,0: 25:[42, 9, 8] Operation: 47-39=8
Exploring Operation: 42-39=3, Resulting Numbers: [47, 9, 3]
Generated Node #0,1: 25:[47, 9, 3] Operation: 42-39=3
Exploring Operation: 39-9=30, Resulting Numbers: [42, 47, 30]
Generated Node #0,2: 25:[42, 47, 30] Operation: 39-9=30
Exploring Operation: 47-42=5, Resulting Numbers: [39, 9, 5]
Generated Node #0,3: 25:[39, 9, 5] Operation: 47-42=5
Moving to Node #0,3
Current State: 25:[39, 9, 5], Operations: ['47-42=5']
Exploring Operation: 39+9=48, Resulting Numbers: [5, 48]
Generated Node #0,3,0: 25:[5, 48] Operation: 39+9=48
Exploring Operation: 39-9=30, Resulting Numbers: [5, 30]
Generated Node #0,3,1: 25:[5, 30] Operation: 39-9=30
Exploring Operation: 39-5=34, Resulting Numbers: [9, 34]
Generated Node #0,3,2: 25:[9, 34] Operation: 39-5=34
Exploring Operation: 9-5=4, Resulting Numbers: [39, 4]
Generated Node #0,3,3: 25:[39, 4] Operation: 9-5=4
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[5, 30], Operations: ['47-42=5', '39-9=30']
Exploring Operation: 5*30=150, Resulting Numbers: [150]
150,25 unequal: No Solution
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[39, 42, 47, 9], Operations: []
Exploring Operation: 47-42=5, Resulting Numbers: [39, 9, 5]
Generated Node #0,3: 25:[39, 9, 5] Operation: 47-42=5
Moving to Node #0,3
Current State: 25:[39, 9, 5], Operations: ['47-42=5']
Exploring Operation: 39-9=30, Resulting Numbers: [5, 30]
Generated Node #0,3,1: 25:[5, 30] Operation: 39-9=30
Moving to Node #0,3,1
Current State: 25:[5, 30], Operations: ['47-42=5', '39-9=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
38,
33,
66,
21
] | 44 | [
"66-38=28",
"33*28=924",
"924/21=44"
] | Current State: 44:[38, 33, 66, 21], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [33, 21, 28]
Generated Node #2: [33, 21, 28] from Operation: 66-38=28
Current State: 44:[33, 21, 28], Operations: ['66-38=28']
Exploring Operation: 33*28=924, Resulting Numbers: [21, 924]
Generated Node #3: [21, 924] from Operation: 33*28=924
Current State: 44:[21, 924], Operations: ['66-38=28', '33*28=924']
Exploring Operation: 924/21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[38, 33, 66, 21], Operations: []
Exploring Operation: 66/33=2, Resulting Numbers: [38, 21, 2]
Generated Node #0,0: 44:[38, 21, 2] Operation: 66/33=2
Exploring Operation: 66-38=28, Resulting Numbers: [33, 21, 28]
Generated Node #0,1: 44:[33, 21, 28] Operation: 66-38=28
Exploring Operation: 66-33=33, Resulting Numbers: [38, 21, 33]
Generated Node #0,2: 44:[38, 21, 33] Operation: 66-33=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[38, 21, 2], Operations: ['66/33=2']
Exploring Operation: 38/2=19, Resulting Numbers: [21, 19]
Generated Node #0,0,0: 44:[21, 19] Operation: 38/2=19
Exploring Operation: 38+2=40, Resulting Numbers: [21, 40]
Generated Node #0,0,1: 44:[21, 40] Operation: 38+2=40
Exploring Operation: 38-21=17, Resulting Numbers: [2, 17]
Generated Node #0,0,2: 44:[2, 17] Operation: 38-21=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 44:[21, 19], Operations: ['66/33=2', '38/2=19']
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 21*19=399, Resulting Numbers: [399]
399,44 unequal: No Solution
Exploring Operation: 21+19=40, Resulting Numbers: [40]
40,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[21, 40], Operations: ['66/33=2', '38+2=40']
Exploring Operation: 21*40=840, Resulting Numbers: [840]
840,44 unequal: No Solution
Exploring Operation: 21+40=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 44:[2, 17], Operations: ['66/33=2', '38-21=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,44 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,44 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[33, 21, 28], Operations: ['66-38=28']
Exploring Operation: 33-21=12, Resulting Numbers: [28, 12]
Generated Node #0,1,0: 44:[28, 12] Operation: 33-21=12
Exploring Operation: 33-28=5, Resulting Numbers: [21, 5]
Generated Node #0,1,1: 44:[21, 5] Operation: 33-28=5
Exploring Operation: 28-21=7, Resulting Numbers: [33, 7]
Generated Node #0,1,2: 44:[33, 7] Operation: 28-21=7
Moving to Node #0,1,1
Current State: 44:[21, 5], Operations: ['66-38=28', '33-28=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[28, 12], Operations: ['66-38=28', '33-21=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,44 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[33, 7], Operations: ['66-38=28', '28-21=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,44 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[38, 21, 33], Operations: ['66-33=33']
Exploring Operation: 33-21=12, Resulting Numbers: [38, 12]
Generated Node #0,2,0: 44:[38, 12] Operation: 33-21=12
Exploring Operation: 38-33=5, Resulting Numbers: [21, 5]
Generated Node #0,2,1: 44:[21, 5] Operation: 38-33=5
Exploring Operation: 38-21=17, Resulting Numbers: [33, 17]
Generated Node #0,2,2: 44:[33, 17] Operation: 38-21=17
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 44:[21, 5], Operations: ['66-33=33', '38-33=5']
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,44 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,44 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[38, 12], Operations: ['66-33=33', '33-21=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,44 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 44:[33, 17], Operations: ['66-33=33', '38-21=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
26,
90,
32,
30
] | 82 | [
"30-26=4",
"32/4=8",
"90-8=82"
] | Current State: 82:[26, 90, 32, 30], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [90, 32, 4]
Generated Node #2: [90, 32, 4] from Operation: 30-26=4
Current State: 82:[90, 32, 4], Operations: ['30-26=4']
Exploring Operation: 32/4=8, Resulting Numbers: [90, 8]
Generated Node #3: [90, 8] from Operation: 32/4=8
Current State: 82:[90, 8], Operations: ['30-26=4', '32/4=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[26, 90, 32, 30], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [90, 32, 4]
Generated Node #0,0: 82:[90, 32, 4] Operation: 30-26=4
Exploring Operation: 32-30=2, Resulting Numbers: [26, 90, 2]
Generated Node #0,1: 82:[26, 90, 2] Operation: 32-30=2
Exploring Operation: 32-26=6, Resulting Numbers: [90, 30, 6]
Generated Node #0,2: 82:[90, 30, 6] Operation: 32-26=6
Moving to Node #0,0
Current State: 82:[90, 32, 4], Operations: ['30-26=4']
Exploring Operation: 90-4=86, Resulting Numbers: [32, 86]
Generated Node #0,0,0: 82:[32, 86] Operation: 90-4=86
Exploring Operation: 32+4=36, Resulting Numbers: [90, 36]
Generated Node #0,0,1: 82:[90, 36] Operation: 32+4=36
Exploring Operation: 32/4=8, Resulting Numbers: [90, 8]
Generated Node #0,0,2: 82:[90, 8] Operation: 32/4=8
Moving to Node #0,1
Current State: 82:[26, 90, 2], Operations: ['32-30=2']
Exploring Operation: 26*2=52, Resulting Numbers: [90, 52]
Generated Node #0,1,0: 82:[90, 52] Operation: 26*2=52
Exploring Operation: 90-26=64, Resulting Numbers: [2, 64]
Generated Node #0,1,1: 82:[2, 64] Operation: 90-26=64
Exploring Operation: 26/2=13, Resulting Numbers: [90, 13]
Generated Node #0,1,2: 82:[90, 13] Operation: 26/2=13
Moving to Node #0,2
Current State: 82:[90, 30, 6], Operations: ['32-26=6']
Exploring Operation: 30/6=5, Resulting Numbers: [90, 5]
Generated Node #0,2,0: 82:[90, 5] Operation: 30/6=5
Exploring Operation: 90-6=84, Resulting Numbers: [30, 84]
Generated Node #0,2,1: 82:[30, 84] Operation: 90-6=84
Exploring Operation: 90/30=3, Resulting Numbers: [6, 3]
Generated Node #0,2,2: 82:[6, 3] Operation: 90/30=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[6, 3], Operations: ['32-26=6', '90/30=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,82 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,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,0
Current State: 82:[90, 5], Operations: ['32-26=6', '30/6=5']
Exploring Operation: 90/5=18, Resulting Numbers: [18]
18,82 unequal: No Solution
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,82 unequal: No Solution
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,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,1
Current State: 82:[30, 84], Operations: ['32-26=6', '90-6=84']
Exploring Operation: 30*84=2520, Resulting Numbers: [2520]
2520,82 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 30+84=114, Resulting Numbers: [114]
114,82 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: 82:[32, 86], Operations: ['30-26=4', '90-4=86']
Exploring Operation: 32+86=118, Resulting Numbers: [118]
118,82 unequal: No Solution
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 32*86=2752, Resulting Numbers: [2752]
2752,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[90, 36], Operations: ['30-26=4', '32+4=36']
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,82 unequal: No Solution
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,82 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[90, 8], Operations: ['30-26=4', '32/4=8']
Exploring Operation: 90+8=98, Resulting Numbers: [98]
98,82 unequal: No Solution
Exploring Operation: 90*8=720, Resulting Numbers: [720]
720,82 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[26, 90, 32, 30], Operations: []
Exploring Operation: 30-26=4, Resulting Numbers: [90, 32, 4]
Generated Node #0,0: 82:[90, 32, 4] Operation: 30-26=4
Moving to Node #0,0
Current State: 82:[90, 32, 4], Operations: ['30-26=4']
Exploring Operation: 32/4=8, Resulting Numbers: [90, 8]
Generated Node #0,0,2: 82:[90, 8] Operation: 32/4=8
Moving to Node #0,0,2
Current State: 82:[90, 8], Operations: ['30-26=4', '32/4=8']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.970486 | hs_3 | sum_heuristic |
[
29,
2,
9,
40
] | 18 | [
"29+2=31",
"9+40=49",
"49-31=18"
] | Current State: 18:[29, 2, 9, 40], Operations: []
Exploring Operation: 29+2=31, Resulting Numbers: [9, 40, 31]
Generated Node #2: [9, 40, 31] from Operation: 29+2=31
Current State: 18:[9, 40, 31], Operations: ['29+2=31']
Exploring Operation: 9+40=49, Resulting Numbers: [31, 49]
Generated Node #3: [31, 49] from Operation: 9+40=49
Current State: 18:[31, 49], Operations: ['29+2=31', '9+40=49']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[29, 2, 9, 40], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [2, 9, 11]
Generated Node #0,0: 18:[2, 9, 11] Operation: 40-29=11
Exploring Operation: 40/2=20, Resulting Numbers: [29, 9, 20]
Generated Node #0,1: 18:[29, 9, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[2, 9, 11], Operations: ['40-29=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 18:[9, 9] Operation: 11-2=9
Exploring Operation: 11-9=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 18:[2, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 18:[9, 9], Operations: ['40-29=11', '11-2=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[29, 2, 9, 40], Operations: []
Exploring Operation: 40-29=11, Resulting Numbers: [2, 9, 11]
Generated Node #0,0: 18:[2, 9, 11] Operation: 40-29=11
Moving to Node #0,0
Current State: 18:[2, 9, 11], Operations: ['40-29=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 18:[9, 9] Operation: 11-2=9
Moving to Node #0,0,0
Current State: 18:[9, 9], Operations: ['40-29=11', '11-2=9']
Exploring Operation: 9+9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
96,
56,
2,
30
] | 20 | [
"96-56=40",
"2*30=60",
"60-40=20"
] | Current State: 20:[96, 56, 2, 30], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [2, 30, 40]
Generated Node #2: [2, 30, 40] from Operation: 96-56=40
Current State: 20:[2, 30, 40], Operations: ['96-56=40']
Exploring Operation: 2*30=60, Resulting Numbers: [40, 60]
Generated Node #3: [40, 60] from Operation: 2*30=60
Current State: 20:[40, 60], Operations: ['96-56=40', '2*30=60']
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[96, 56, 2, 30], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [2, 30, 40]
Generated Node #0,0: 20:[2, 30, 40] Operation: 96-56=40
Exploring Operation: 96-30=66, Resulting Numbers: [56, 2, 66]
Generated Node #0,1: 20:[56, 2, 66] Operation: 96-30=66
Exploring Operation: 96/2=48, Resulting Numbers: [56, 30, 48]
Generated Node #0,2: 20:[56, 30, 48] Operation: 96/2=48
Exploring Operation: 56-30=26, Resulting Numbers: [96, 2, 26]
Generated Node #0,3: 20:[96, 2, 26] Operation: 56-30=26
Moving to Node #0,0
Current State: 20:[2, 30, 40], Operations: ['96-56=40']
Exploring Operation: 40-30=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 20:[2, 10] Operation: 40-30=10
Exploring Operation: 30/2=15, Resulting Numbers: [40, 15]
Generated Node #0,0,1: 20:[40, 15] Operation: 30/2=15
Exploring Operation: 40/2=20, Resulting Numbers: [30, 20]
Generated Node #0,0,2: 20:[30, 20] Operation: 40/2=20
Exploring Operation: 30-2=28, Resulting Numbers: [40, 28]
Generated Node #0,0,3: 20:[40, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[2, 10], Operations: ['96-56=40', '40-30=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,20 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,20 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[96, 56, 2, 30], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [2, 30, 40]
Generated Node #0,0: 20:[2, 30, 40] Operation: 96-56=40
Moving to Node #0,0
Current State: 20:[2, 30, 40], Operations: ['96-56=40']
Exploring Operation: 40-30=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 20:[2, 10] Operation: 40-30=10
Moving to Node #0,0,0
Current State: 20:[2, 10], Operations: ['96-56=40', '40-30=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
35,
55,
54,
26
] | 44 | [
"54-26=28",
"55*28=1540",
"1540/35=44"
] | Current State: 44:[35, 55, 54, 26], Operations: []
Exploring Operation: 54-26=28, Resulting Numbers: [35, 55, 28]
Generated Node #2: [35, 55, 28] from Operation: 54-26=28
Current State: 44:[35, 55, 28], Operations: ['54-26=28']
Exploring Operation: 55*28=1540, Resulting Numbers: [35, 1540]
Generated Node #3: [35, 1540] from Operation: 55*28=1540
Current State: 44:[35, 1540], Operations: ['54-26=28', '55*28=1540']
Exploring Operation: 1540/35=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[35, 55, 54, 26], Operations: []
Exploring Operation: 55-26=29, Resulting Numbers: [35, 54, 29]
Generated Node #0,0: 44:[35, 54, 29] Operation: 55-26=29
Exploring Operation: 35-26=9, Resulting Numbers: [55, 54, 9]
Generated Node #0,1: 44:[55, 54, 9] Operation: 35-26=9
Exploring Operation: 55-35=20, Resulting Numbers: [54, 26, 20]
Generated Node #0,2: 44:[54, 26, 20] Operation: 55-35=20
Exploring Operation: 54-35=19, Resulting Numbers: [55, 26, 19]
Generated Node #0,3: 44:[55, 26, 19] Operation: 54-35=19
Exploring Operation: 55-54=1, Resulting Numbers: [35, 26, 1]
Generated Node #0,4: 44:[35, 26, 1] Operation: 55-54=1
Moving to Node #0,4
Current State: 44:[35, 26, 1], Operations: ['55-54=1']
Exploring Operation: 35+1=36, Resulting Numbers: [26, 36]
Generated Node #0,4,0: 44:[26, 36] Operation: 35+1=36
Exploring Operation: 35*1=35, Resulting Numbers: [26, 35]
Generated Node #0,4,1: 44:[26, 35] Operation: 35*1=35
Exploring Operation: 35-26=9, Resulting Numbers: [1, 9]
Generated Node #0,4,2: 44:[1, 9] Operation: 35-26=9
Exploring Operation: 26-1=25, Resulting Numbers: [35, 25]
Generated Node #0,4,3: 44:[35, 25] Operation: 26-1=25
Exploring Operation: 35/1=35, Resulting Numbers: [26, 35]
Generated Node #0,4,4: 44:[26, 35] Operation: 35/1=35
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 44:[1, 9], Operations: ['55-54=1', '35-26=9']
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 44:[26, 36], Operations: ['55-54=1', '35+1=36']
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,44 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 44:[35, 25], Operations: ['55-54=1', '26-1=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 44:[26, 35], Operations: ['55-54=1', '35*1=35']
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,44 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 44:[26, 35], Operations: ['55-54=1', '35/1=35']
Exploring Operation: 26*35=910, Resulting Numbers: [910]
910,44 unequal: No Solution
Exploring Operation: 26+35=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,44 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: 44:[54, 26, 20], Operations: ['55-35=20']
Exploring Operation: 54-20=34, Resulting Numbers: [26, 34]
Generated Node #0,2,0: 44:[26, 34] Operation: 54-20=34
Exploring Operation: 54+20=74, Resulting Numbers: [26, 74]
Generated Node #0,2,1: 44:[26, 74] Operation: 54+20=74
Exploring Operation: 26+20=46, Resulting Numbers: [54, 46]
Generated Node #0,2,2: 44:[54, 46] Operation: 26+20=46
Exploring Operation: 54-26=28, Resulting Numbers: [20, 28]
Generated Node #0,2,3: 44:[20, 28] Operation: 54-26=28
Exploring Operation: 26-20=6, Resulting Numbers: [54, 6]
Generated Node #0,2,4: 44:[54, 6] Operation: 26-20=6
Moving to Node #0,3
Current State: 44:[55, 26, 19], Operations: ['54-35=19']
Exploring Operation: 55+19=74, Resulting Numbers: [26, 74]
Generated Node #0,3,0: 44:[26, 74] Operation: 55+19=74
Exploring Operation: 26-19=7, Resulting Numbers: [55, 7]
Generated Node #0,3,1: 44:[55, 7] Operation: 26-19=7
Exploring Operation: 55-19=36, Resulting Numbers: [26, 36]
Generated Node #0,3,2: 44:[26, 36] Operation: 55-19=36
Exploring Operation: 55-26=29, Resulting Numbers: [19, 29]
Generated Node #0,3,3: 44:[19, 29] Operation: 55-26=29
Exploring Operation: 26+19=45, Resulting Numbers: [55, 45]
Generated Node #0,3,4: 44:[55, 45] Operation: 26+19=45
Moving to Node #0,1
Current State: 44:[55, 54, 9], Operations: ['35-26=9']
Exploring Operation: 54-9=45, Resulting Numbers: [55, 45]
Generated Node #0,1,0: 44:[55, 45] Operation: 54-9=45
Exploring Operation: 55-54=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 44:[9, 1] Operation: 55-54=1
Exploring Operation: 55-9=46, Resulting Numbers: [54, 46]
Generated Node #0,1,2: 44:[54, 46] Operation: 55-9=46
Exploring Operation: 55+9=64, Resulting Numbers: [54, 64]
Generated Node #0,1,3: 44:[54, 64] Operation: 55+9=64
Exploring Operation: 54/9=6, Resulting Numbers: [55, 6]
Generated Node #0,1,4: 44:[55, 6] Operation: 54/9=6
Moving to Node #0,0
Current State: 44:[35, 54, 29], Operations: ['55-26=29']
Exploring Operation: 54-29=25, Resulting Numbers: [35, 25]
Generated Node #0,0,0: 44:[35, 25] Operation: 54-29=25
Exploring Operation: 54-35=19, Resulting Numbers: [29, 19]
Generated Node #0,0,1: 44:[29, 19] Operation: 54-35=19
Exploring Operation: 35+29=64, Resulting Numbers: [54, 64]
Generated Node #0,0,2: 44:[54, 64] Operation: 35+29=64
Exploring Operation: 35-29=6, Resulting Numbers: [54, 6]
Generated Node #0,0,3: 44:[54, 6] Operation: 35-29=6
Exploring Operation: 54+29=83, Resulting Numbers: [35, 83]
Generated Node #0,0,4: 44:[35, 83] Operation: 54+29=83
Moving to Node #0,1,1
Current State: 44:[9, 1], Operations: ['35-26=9', '55-54=1']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[20, 28], Operations: ['55-35=20', '54-26=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,44 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,3,3
Current State: 44:[19, 29], Operations: ['54-35=19', '55-26=29']
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,44 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[29, 19], Operations: ['55-26=29', '54-35=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,44 unequal: No Solution
Moving to Node #0,3,2
Current State: 44:[26, 36], Operations: ['54-35=19', '55-19=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,44 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Moving to Node #0,2,4
Current State: 44:[54, 6], Operations: ['55-35=20', '26-20=6']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,44 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[54, 46], Operations: ['35-26=9', '55-9=46']
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,44 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[35, 25], Operations: ['55-26=29', '54-29=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,44 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[55, 45], Operations: ['35-26=9', '54-9=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[54, 46], Operations: ['55-35=20', '26+20=46']
Exploring Operation: 54-46=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Exploring Operation: 54*46=2484, Resulting Numbers: [2484]
2484,44 unequal: No Solution
Exploring Operation: 54+46=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Moving to Node #0,0,3
Current State: 44:[54, 6], Operations: ['55-26=29', '35-29=6']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 54*6=324, Resulting Numbers: [324]
324,44 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,3,4
Current State: 44:[55, 45], Operations: ['54-35=19', '26+19=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,44 unequal: No Solution
Moving to Node #0,1,4
Current State: 44:[55, 6], Operations: ['35-26=9', '54/9=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,44 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[26, 34], Operations: ['55-35=20', '54-20=34']
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,44 unequal: No Solution
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,44 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[55, 7], Operations: ['54-35=19', '26-19=7']
Exploring Operation: 55*7=385, Resulting Numbers: [385]
385,44 unequal: No Solution
Exploring Operation: 55+7=62, Resulting Numbers: [62]
62,44 unequal: No Solution
Exploring Operation: 55-7=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[54, 64], Operations: ['55-26=29', '35+29=64']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,44 unequal: No Solution
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Moving to Node #0,1,3
Current State: 44:[54, 64], Operations: ['35-26=9', '55+9=64']
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[26, 74], Operations: ['54-35=19', '55+19=74']
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[26, 74], Operations: ['55-35=20', '54+20=74']
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,44 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,44 unequal: No Solution
Moving to Node #0,0,4
Current State: 44:[35, 83], Operations: ['55-26=29', '54+29=83']
Exploring Operation: 35+83=118, Resulting Numbers: [118]
118,44 unequal: No Solution
Exploring Operation: 35*83=2905, Resulting Numbers: [2905]
2905,44 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,44 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
17,
67,
44
] | 35 | [
"17-5=12",
"67-44=23",
"12+23=35"
] | Current State: 35:[5, 17, 67, 44], Operations: []
Exploring Operation: 17-5=12, Resulting Numbers: [67, 44, 12]
Generated Node #2: [67, 44, 12] from Operation: 17-5=12
Current State: 35:[67, 44, 12], Operations: ['17-5=12']
Exploring Operation: 67-44=23, Resulting Numbers: [12, 23]
Generated Node #3: [12, 23] from Operation: 67-44=23
Current State: 35:[12, 23], Operations: ['17-5=12', '67-44=23']
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[5, 17, 67, 44], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [5, 17, 23]
Generated Node #0,0: 35:[5, 17, 23] Operation: 67-44=23
Exploring Operation: 67-17=50, Resulting Numbers: [5, 44, 50]
Generated Node #0,1: 35:[5, 44, 50] Operation: 67-17=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[5, 17, 23], Operations: ['67-44=23']
Exploring Operation: 23-17=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 35:[5, 6] Operation: 23-17=6
Exploring Operation: 17+23=40, Resulting Numbers: [5, 40]
Generated Node #0,0,1: 35:[5, 40] Operation: 17+23=40
Moving to Node #0,0,0
Current State: 35:[5, 6], Operations: ['67-44=23', '23-17=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[5, 40], Operations: ['67-44=23', '17+23=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,35 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[5, 17, 67, 44], Operations: []
Exploring Operation: 67-44=23, Resulting Numbers: [5, 17, 23]
Generated Node #0,0: 35:[5, 17, 23] Operation: 67-44=23
Moving to Node #0,0
Current State: 35:[5, 17, 23], Operations: ['67-44=23']
Exploring Operation: 17+23=40, Resulting Numbers: [5, 40]
Generated Node #0,0,1: 35:[5, 40] Operation: 17+23=40
Moving to Node #0,0,1
Current State: 35:[5, 40], Operations: ['67-44=23', '17+23=40']
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
75,
73,
32,
46
] | 76 | [
"75-73=2",
"32+46=78",
"78-2=76"
] | Current State: 76:[75, 73, 32, 46], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [32, 46, 2]
Generated Node #2: [32, 46, 2] from Operation: 75-73=2
Current State: 76:[32, 46, 2], Operations: ['75-73=2']
Exploring Operation: 32+46=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 32+46=78
Current State: 76:[2, 78], Operations: ['75-73=2', '32+46=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[75, 73, 32, 46], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [75, 73, 14]
Generated Node #0,0: 76:[75, 73, 14] Operation: 46-32=14
Exploring Operation: 32+46=78, Resulting Numbers: [75, 73, 78]
Generated Node #0,1: 76:[75, 73, 78] Operation: 32+46=78
Exploring Operation: 73-32=41, Resulting Numbers: [75, 46, 41]
Generated Node #0,2: 76:[75, 46, 41] Operation: 73-32=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[75, 73, 78], Operations: ['32+46=78']
Exploring Operation: 78-75=3, Resulting Numbers: [73, 3]
Generated Node #0,1,0: 76:[73, 3] Operation: 78-75=3
Exploring Operation: 78-73=5, Resulting Numbers: [75, 5]
Generated Node #0,1,1: 76:[75, 5] Operation: 78-73=5
Exploring Operation: 75-73=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 76:[78, 2] Operation: 75-73=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[75, 5], Operations: ['32+46=78', '78-73=5']
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[78, 2], Operations: ['32+46=78', '75-73=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[75, 73, 32, 46], Operations: []
Exploring Operation: 32+46=78, Resulting Numbers: [75, 73, 78]
Generated Node #0,1: 76:[75, 73, 78] Operation: 32+46=78
Moving to Node #0,1
Current State: 76:[75, 73, 78], Operations: ['32+46=78']
Exploring Operation: 75-73=2, Resulting Numbers: [78, 2]
Generated Node #0,1,2: 76:[78, 2] Operation: 75-73=2
Moving to Node #0,1,2
Current State: 76:[78, 2], Operations: ['32+46=78', '75-73=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
17,
87,
56,
56
] | 87 | [
"56-56=0",
"17*0=0",
"87+0=87"
] | Current State: 87:[17, 87, 56, 56], Operations: []
Exploring Operation: 56-56=0, Resulting Numbers: [17, 87, 0]
Generated Node #2: [17, 87, 0] from Operation: 56-56=0
Current State: 87:[17, 87, 0], Operations: ['56-56=0']
Exploring Operation: 17*0=0, Resulting Numbers: [87, 0]
Generated Node #3: [87, 0] from Operation: 17*0=0
Current State: 87:[87, 0], Operations: ['56-56=0', '17*0=0']
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[17, 87, 56, 56], Operations: []
Exploring Operation: 56-17=39, Resulting Numbers: [87, 56, 39]
Generated Node #0,0: 87:[87, 56, 39] Operation: 56-17=39
Exploring Operation: 56-56=0, Resulting Numbers: [17, 87, 0]
Generated Node #0,1: 87:[17, 87, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [17, 87, 1]
Generated Node #0,2: 87:[17, 87, 1] Operation: 56/56=1
Moving to Node #0,2
Current State: 87:[17, 87, 1], Operations: ['56/56=1']
Exploring Operation: 17/1=17, Resulting Numbers: [87, 17]
Generated Node #0,2,0: 87:[87, 17] Operation: 17/1=17
Exploring Operation: 17+1=18, Resulting Numbers: [87, 18]
Generated Node #0,2,1: 87:[87, 18] Operation: 17+1=18
Exploring Operation: 17*1=17, Resulting Numbers: [87, 17]
Generated Node #0,2,2: 87:[87, 17] Operation: 17*1=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[87, 18], Operations: ['56/56=1', '17+1=18']
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,87 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,87 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[87, 17], Operations: ['56/56=1', '17/1=17']
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,87 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[87, 17], Operations: ['56/56=1', '17*1=17']
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,87 unequal: No Solution
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[17, 87, 0], Operations: ['56-56=0']
Exploring Operation: 17-0=17, Resulting Numbers: [87, 17]
Generated Node #0,1,0: 87:[87, 17] Operation: 17-0=17
Exploring Operation: 17+0=17, Resulting Numbers: [87, 17]
Generated Node #0,1,1: 87:[87, 17] Operation: 17+0=17
Exploring Operation: 17*0=0, Resulting Numbers: [87, 0]
Generated Node #0,1,2: 87:[87, 0] Operation: 17*0=0
Moving to Node #0,0
Current State: 87:[87, 56, 39], Operations: ['56-17=39']
Exploring Operation: 56+39=95, Resulting Numbers: [87, 95]
Generated Node #0,0,0: 87:[87, 95] Operation: 56+39=95
Exploring Operation: 56-39=17, Resulting Numbers: [87, 17]
Generated Node #0,0,1: 87:[87, 17] Operation: 56-39=17
Exploring Operation: 87-56=31, Resulting Numbers: [39, 31]
Generated Node #0,0,2: 87:[39, 31] Operation: 87-56=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[87, 95], Operations: ['56-17=39', '56+39=95']
Exploring Operation: 87+95=182, Resulting Numbers: [182]
182,87 unequal: No Solution
Exploring Operation: 95-87=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 87*95=8265, Resulting Numbers: [8265]
8265,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[87, 17], Operations: ['56-17=39', '56-39=17']
Exploring Operation: 87+17=104, Resulting Numbers: [104]
104,87 unequal: No Solution
Exploring Operation: 87-17=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 87*17=1479, Resulting Numbers: [1479]
1479,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[39, 31], Operations: ['56-17=39', '87-56=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,87 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 87:[87, 0], Operations: ['56-56=0', '17*0=0']
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[17, 87, 56, 56], Operations: []
Exploring Operation: 56-56=0, Resulting Numbers: [17, 87, 0]
Generated Node #0,1: 87:[17, 87, 0] Operation: 56-56=0
Moving to Node #0,1
Current State: 87:[17, 87, 0], Operations: ['56-56=0']
Exploring Operation: 17*0=0, Resulting Numbers: [87, 0]
Generated Node #0,1,2: 87:[87, 0] Operation: 17*0=0
Moving to Node #0,1,2
Current State: 87:[87, 0], Operations: ['56-56=0', '17*0=0']
Exploring Operation: 87+0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.969618 | hs_3 | sum_heuristic |
[
60,
7,
30,
14
] | 97 | [
"60-7=53",
"30+14=44",
"53+44=97"
] | Current State: 97:[60, 7, 30, 14], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [30, 14, 53]
Generated Node #2: [30, 14, 53] from Operation: 60-7=53
Current State: 97:[30, 14, 53], Operations: ['60-7=53']
Exploring Operation: 30+14=44, Resulting Numbers: [53, 44]
Generated Node #3: [53, 44] from Operation: 30+14=44
Current State: 97:[53, 44], Operations: ['60-7=53', '30+14=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[60, 7, 30, 14], Operations: []
Exploring Operation: 60+30=90, Resulting Numbers: [7, 14, 90]
Generated Node #0,0: 97:[7, 14, 90] Operation: 60+30=90
Exploring Operation: 60+14=74, Resulting Numbers: [7, 30, 74]
Generated Node #0,1: 97:[7, 30, 74] Operation: 60+14=74
Exploring Operation: 7*14=98, Resulting Numbers: [60, 30, 98]
Generated Node #0,2: 97:[60, 30, 98] Operation: 7*14=98
Exploring Operation: 60+7=67, Resulting Numbers: [30, 14, 67]
Generated Node #0,3: 97:[30, 14, 67] Operation: 60+7=67
Moving to Node #0,2
Current State: 97:[60, 30, 98], Operations: ['7*14=98']
Exploring Operation: 98-30=68, Resulting Numbers: [60, 68]
Generated Node #0,2,0: 97:[60, 68] Operation: 98-30=68
Exploring Operation: 60-30=30, Resulting Numbers: [98, 30]
Generated Node #0,2,1: 97:[98, 30] Operation: 60-30=30
Exploring Operation: 30+98=128, Resulting Numbers: [60, 128]
Generated Node #0,2,2: 97:[60, 128] Operation: 30+98=128
Exploring Operation: 60+30=90, Resulting Numbers: [98, 90]
Generated Node #0,2,3: 97:[98, 90] Operation: 60+30=90
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[98, 90], Operations: ['7*14=98', '60+30=90']
Exploring Operation: 98+90=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 98*90=8820, Resulting Numbers: [8820]
8820,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[60, 68], Operations: ['7*14=98', '98-30=68']
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,97 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,97 unequal: No Solution
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[98, 30], Operations: ['7*14=98', '60-30=30']
Exploring Operation: 98-30=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 98*30=2940, Resulting Numbers: [2940]
2940,97 unequal: No Solution
Exploring Operation: 98+30=128, Resulting Numbers: [128]
128,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[60, 128], Operations: ['7*14=98', '30+98=128']
Exploring Operation: 128-60=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 60*128=7680, Resulting Numbers: [7680]
7680,97 unequal: No Solution
Exploring Operation: 60+128=188, Resulting Numbers: [188]
188,97 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: 97:[7, 30, 74], Operations: ['60+14=74']
Exploring Operation: 7+30=37, Resulting Numbers: [74, 37]
Generated Node #0,1,0: 97:[74, 37] Operation: 7+30=37
Exploring Operation: 7+74=81, Resulting Numbers: [30, 81]
Generated Node #0,1,1: 97:[30, 81] Operation: 7+74=81
Exploring Operation: 30-7=23, Resulting Numbers: [74, 23]
Generated Node #0,1,2: 97:[74, 23] Operation: 30-7=23
Exploring Operation: 74-7=67, Resulting Numbers: [30, 67]
Generated Node #0,1,3: 97:[30, 67] Operation: 74-7=67
Moving to Node #0,0
Current State: 97:[7, 14, 90], Operations: ['60+30=90']
Exploring Operation: 14-7=7, Resulting Numbers: [90, 7]
Generated Node #0,0,0: 97:[90, 7] Operation: 14-7=7
Exploring Operation: 7*14=98, Resulting Numbers: [90, 98]
Generated Node #0,0,1: 97:[90, 98] Operation: 7*14=98
Exploring Operation: 7+90=97, Resulting Numbers: [14, 97]
Generated Node #0,0,2: 97:[14, 97] Operation: 7+90=97
Exploring Operation: 7+14=21, Resulting Numbers: [90, 21]
Generated Node #0,0,3: 97:[90, 21] Operation: 7+14=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[90, 98], Operations: ['60+30=90', '7*14=98']
Exploring Operation: 90+98=188, Resulting Numbers: [188]
188,97 unequal: No Solution
Exploring Operation: 90*98=8820, Resulting Numbers: [8820]
8820,97 unequal: No Solution
Exploring Operation: 98-90=8, Resulting Numbers: [8]
8,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[14, 97], Operations: ['60+30=90', '7+90=97']
Exploring Operation: 14+97=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,97 unequal: No Solution
Exploring Operation: 14*97=1358, Resulting Numbers: [1358]
1358,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[90, 21], Operations: ['60+30=90', '7+14=21']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,97 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[90, 7], Operations: ['60+30=90', '14-7=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[60, 7, 30, 14], Operations: []
Exploring Operation: 60+30=90, Resulting Numbers: [7, 14, 90]
Generated Node #0,0: 97:[7, 14, 90] Operation: 60+30=90
Moving to Node #0,0
Current State: 97:[7, 14, 90], Operations: ['60+30=90']
Exploring Operation: 14-7=7, Resulting Numbers: [90, 7]
Generated Node #0,0,0: 97:[90, 7] Operation: 14-7=7
Moving to Node #0,0,0
Current State: 97:[90, 7], Operations: ['60+30=90', '14-7=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_4 | mult_heuristic |
[
2,
37,
3,
31
] | 49 | [
"2*31=62",
"37*3=111",
"111-62=49"
] | Current State: 49:[2, 37, 3, 31], Operations: []
Exploring Operation: 2*31=62, Resulting Numbers: [37, 3, 62]
Generated Node #2: [37, 3, 62] from Operation: 2*31=62
Current State: 49:[37, 3, 62], Operations: ['2*31=62']
Exploring Operation: 37*3=111, Resulting Numbers: [62, 111]
Generated Node #3: [62, 111] from Operation: 37*3=111
Current State: 49:[62, 111], Operations: ['2*31=62', '37*3=111']
Exploring Operation: 111-62=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[2, 37, 3, 31], Operations: []
Exploring Operation: 37-31=6, Resulting Numbers: [2, 3, 6]
Generated Node #0,0: 49:[2, 3, 6] Operation: 37-31=6
Exploring Operation: 37+31=68, Resulting Numbers: [2, 3, 68]
Generated Node #0,1: 49:[2, 3, 68] Operation: 37+31=68
Exploring Operation: 2*3=6, Resulting Numbers: [37, 31, 6]
Generated Node #0,2: 49:[37, 31, 6] Operation: 2*3=6
Exploring Operation: 2*31=62, Resulting Numbers: [37, 3, 62]
Generated Node #0,3: 49:[37, 3, 62] Operation: 2*31=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[2, 3, 6], Operations: ['37-31=6']
Exploring Operation: 2+3=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 49:[6, 5] Operation: 2+3=5
Exploring Operation: 2+6=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 49:[3, 8] Operation: 2+6=8
Exploring Operation: 3-2=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 49:[6, 1] Operation: 3-2=1
Exploring Operation: 2*3=6, Resulting Numbers: [6, 6]
Generated Node #0,0,3: 49:[6, 6] Operation: 2*3=6
Moving to Node #0,0,3
Current State: 49:[6, 6], Operations: ['37-31=6', '2*3=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,49 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[6, 5], Operations: ['37-31=6', '2+3=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[3, 8], Operations: ['37-31=6', '2+6=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,49 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[6, 1], Operations: ['37-31=6', '3-2=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[2, 3, 68], Operations: ['37+31=68']
Exploring Operation: 68-2=66, Resulting Numbers: [3, 66]
Generated Node #0,1,0: 49:[3, 66] Operation: 68-2=66
Exploring Operation: 68/2=34, Resulting Numbers: [3, 34]
Generated Node #0,1,1: 49:[3, 34] Operation: 68/2=34
Exploring Operation: 2*3=6, Resulting Numbers: [68, 6]
Generated Node #0,1,2: 49:[68, 6] Operation: 2*3=6
Exploring Operation: 2+3=5, Resulting Numbers: [68, 5]
Generated Node #0,1,3: 49:[68, 5] Operation: 2+3=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[3, 34], Operations: ['37+31=68', '68/2=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 3*34=102, Resulting Numbers: [102]
102,49 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,49 unequal: No Solution
No 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: 49:[68, 6], Operations: ['37+31=68', '2*3=6']
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,49 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,49 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,49 unequal: No Solution
No 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: 49:[3, 66], Operations: ['37+31=68', '68-2=66']
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,49 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,49 unequal: No Solution
No 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: 49:[68, 5], Operations: ['37+31=68', '2+3=5']
Exploring Operation: 68*5=340, Resulting Numbers: [340]
340,49 unequal: No Solution
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 68+5=73, Resulting Numbers: [73]
73,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 49:[37, 3, 62], Operations: ['2*31=62']
Exploring Operation: 62-37=25, Resulting Numbers: [3, 25]
Generated Node #0,3,0: 49:[3, 25] Operation: 62-37=25
Exploring Operation: 37+3=40, Resulting Numbers: [62, 40]
Generated Node #0,3,1: 49:[62, 40] Operation: 37+3=40
Exploring Operation: 62-3=59, Resulting Numbers: [37, 59]
Generated Node #0,3,2: 49:[37, 59] Operation: 62-3=59
Exploring Operation: 37-3=34, Resulting Numbers: [62, 34]
Generated Node #0,3,3: 49:[62, 34] Operation: 37-3=34
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 49:[3, 25], Operations: ['2*31=62', '62-37=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,49 unequal: No Solution
No 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: 49:[62, 40], Operations: ['2*31=62', '37+3=40']
Exploring Operation: 62-40=22, Resulting Numbers: [22]
22,49 unequal: No Solution
Exploring Operation: 62*40=2480, Resulting Numbers: [2480]
2480,49 unequal: No Solution
Exploring Operation: 62+40=102, Resulting Numbers: [102]
102,49 unequal: No Solution
No 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: 49:[37, 59], Operations: ['2*31=62', '62-3=59']
Exploring Operation: 37+59=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 37*59=2183, Resulting Numbers: [2183]
2183,49 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,49 unequal: No Solution
No 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: 49:[62, 34], Operations: ['2*31=62', '37-3=34']
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,49 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[37, 31, 6], Operations: ['2*3=6']
Exploring Operation: 37+6=43, Resulting Numbers: [31, 43]
Generated Node #0,2,0: 49:[31, 43] Operation: 37+6=43
Exploring Operation: 37-31=6, Resulting Numbers: [6, 6]
Generated Node #0,2,1: 49:[6, 6] Operation: 37-31=6
Exploring Operation: 37+31=68, Resulting Numbers: [6, 68]
Generated Node #0,2,2: 49:[6, 68] Operation: 37+31=68
Exploring Operation: 31+6=37, Resulting Numbers: [37, 37]
Generated Node #0,2,3: 49:[37, 37] Operation: 31+6=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[6, 6], Operations: ['2*3=6', '37-31=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,49 unequal: No Solution
No 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: 49:[6, 68], Operations: ['2*3=6', '37+31=68']
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,49 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,49 unequal: No Solution
No 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: 49:[31, 43], Operations: ['2*3=6', '37+6=43']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,49 unequal: No Solution
Exploring Operation: 31*43=1333, Resulting Numbers: [1333]
1333,49 unequal: No Solution
No 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: 49:[37, 37], Operations: ['2*3=6', '31+6=37']
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,49 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,49 unequal: No Solution
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
46,
33,
54
] | 18 | [
"46-7=39",
"54-33=21",
"39-21=18"
] | Current State: 18:[7, 46, 33, 54], Operations: []
Exploring Operation: 46-7=39, Resulting Numbers: [33, 54, 39]
Generated Node #2: [33, 54, 39] from Operation: 46-7=39
Current State: 18:[33, 54, 39], Operations: ['46-7=39']
Exploring Operation: 54-33=21, Resulting Numbers: [39, 21]
Generated Node #3: [39, 21] from Operation: 54-33=21
Current State: 18:[39, 21], Operations: ['46-7=39', '54-33=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[7, 46, 33, 54], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [7, 33, 8]
Generated Node #0,0: 18:[7, 33, 8] Operation: 54-46=8
Moving to Node #0,0
Current State: 18:[7, 33, 8], Operations: ['54-46=8']
Exploring Operation: 33-8=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 18:[7, 25] Operation: 33-8=25
Moving to Node #0,0,0
Current State: 18:[7, 25], Operations: ['54-46=8', '33-8=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[7, 46, 33, 54], Operations: []
Exploring Operation: 54-46=8, Resulting Numbers: [7, 33, 8]
Generated Node #0,0: 18:[7, 33, 8] Operation: 54-46=8
Moving to Node #0,0
Current State: 18:[7, 33, 8], Operations: ['54-46=8']
Exploring Operation: 33-8=25, Resulting Numbers: [7, 25]
Generated Node #0,0,0: 18:[7, 25] Operation: 33-8=25
Moving to Node #0,0,0
Current State: 18:[7, 25], Operations: ['54-46=8', '33-8=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
68,
62,
75,
83
] | 14 | [
"68-62=6",
"83-75=8",
"6+8=14"
] | Current State: 14:[68, 62, 75, 83], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [75, 83, 6]
Generated Node #2: [75, 83, 6] from Operation: 68-62=6
Current State: 14:[75, 83, 6], Operations: ['68-62=6']
Exploring Operation: 83-75=8, Resulting Numbers: [6, 8]
Generated Node #3: [6, 8] from Operation: 83-75=8
Current State: 14:[6, 8], Operations: ['68-62=6', '83-75=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[68, 62, 75, 83], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [68, 62, 8]
Generated Node #0,0: 14:[68, 62, 8] Operation: 83-75=8
Exploring Operation: 83-68=15, Resulting Numbers: [62, 75, 15]
Generated Node #0,1: 14:[62, 75, 15] Operation: 83-68=15
Exploring Operation: 75-68=7, Resulting Numbers: [62, 83, 7]
Generated Node #0,2: 14:[62, 83, 7] Operation: 75-68=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[68, 62, 8], Operations: ['83-75=8']
Exploring Operation: 68-62=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 68-62=6
Exploring Operation: 62-8=54, Resulting Numbers: [68, 54]
Generated Node #0,0,1: 14:[68, 54] Operation: 62-8=54
Exploring Operation: 68-8=60, Resulting Numbers: [62, 60]
Generated Node #0,0,2: 14:[62, 60] Operation: 68-8=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[8, 6], Operations: ['83-75=8', '68-62=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[68, 62, 75, 83], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [68, 62, 8]
Generated Node #0,0: 14:[68, 62, 8] Operation: 83-75=8
Moving to Node #0,0
Current State: 14:[68, 62, 8], Operations: ['83-75=8']
Exploring Operation: 68-62=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 14:[8, 6] Operation: 68-62=6
Moving to Node #0,0,0
Current State: 14:[8, 6], Operations: ['83-75=8', '68-62=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
92,
12,
90,
29
] | 53 | [
"92-90=2",
"12*2=24",
"29+24=53"
] | Current State: 53:[92, 12, 90, 29], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [12, 29, 2]
Generated Node #2: [12, 29, 2] from Operation: 92-90=2
Current State: 53:[12, 29, 2], Operations: ['92-90=2']
Exploring Operation: 12*2=24, Resulting Numbers: [29, 24]
Generated Node #3: [29, 24] from Operation: 12*2=24
Current State: 53:[29, 24], Operations: ['92-90=2', '12*2=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[92, 12, 90, 29], Operations: []
Exploring Operation: 92-12=80, Resulting Numbers: [90, 29, 80]
Generated Node #0,0: 53:[90, 29, 80] Operation: 92-12=80
Exploring Operation: 92-29=63, Resulting Numbers: [12, 90, 63]
Generated Node #0,1: 53:[12, 90, 63] Operation: 92-29=63
Moving to Node #0,0
Current State: 53:[90, 29, 80], Operations: ['92-12=80']
Exploring Operation: 90-29=61, Resulting Numbers: [80, 61]
Generated Node #0,0,0: 53:[80, 61] Operation: 90-29=61
Exploring Operation: 80-29=51, Resulting Numbers: [90, 51]
Generated Node #0,0,1: 53:[90, 51] Operation: 80-29=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[80, 61], Operations: ['92-12=80', '90-29=61']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,53 unequal: No Solution
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,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,0,1
Current State: 53:[90, 51], Operations: ['92-12=80', '80-29=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,53 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: 53:[12, 90, 63], Operations: ['92-29=63']
Exploring Operation: 90-12=78, Resulting Numbers: [63, 78]
Generated Node #0,1,0: 53:[63, 78] Operation: 90-12=78
Exploring Operation: 63-12=51, Resulting Numbers: [90, 51]
Generated Node #0,1,1: 53:[90, 51] Operation: 63-12=51
Moving to Node #0,1,0
Current State: 53:[63, 78], Operations: ['92-29=63', '90-12=78']
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,53 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[90, 51], Operations: ['92-29=63', '63-12=51']
Exploring Operation: 90-51=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 90+51=141, Resulting Numbers: [141]
141,53 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
25,
74,
44,
11
] | 55 | [
"74-25=49",
"49-44=5",
"11*5=55"
] | Current State: 55:[25, 74, 44, 11], Operations: []
Exploring Operation: 74-25=49, Resulting Numbers: [44, 11, 49]
Generated Node #2: [44, 11, 49] from Operation: 74-25=49
Current State: 55:[44, 11, 49], Operations: ['74-25=49']
Exploring Operation: 49-44=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 49-44=5
Current State: 55:[11, 5], Operations: ['74-25=49', '49-44=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[25, 74, 44, 11], Operations: []
Exploring Operation: 74-25=49, Resulting Numbers: [44, 11, 49]
Generated Node #0,0: 55:[44, 11, 49] Operation: 74-25=49
Exploring Operation: 44-25=19, Resulting Numbers: [74, 11, 19]
Generated Node #0,1: 55:[74, 11, 19] Operation: 44-25=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[44, 11, 49], Operations: ['74-25=49']
Exploring Operation: 49-44=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 49-44=5
Exploring Operation: 44+11=55, Resulting Numbers: [49, 55]
Generated Node #0,0,1: 55:[49, 55] Operation: 44+11=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['74-25=49', '49-44=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[25, 74, 44, 11], Operations: []
Exploring Operation: 74-25=49, Resulting Numbers: [44, 11, 49]
Generated Node #0,0: 55:[44, 11, 49] Operation: 74-25=49
Moving to Node #0,0
Current State: 55:[44, 11, 49], Operations: ['74-25=49']
Exploring Operation: 49-44=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 55:[11, 5] Operation: 49-44=5
Moving to Node #0,0,0
Current State: 55:[11, 5], Operations: ['74-25=49', '49-44=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
8,
81,
81,
21
] | 21 | [
"81-81=0",
"8*0=0",
"21+0=21"
] | Current State: 21:[8, 81, 81, 21], Operations: []
Exploring Operation: 81-81=0, Resulting Numbers: [8, 21, 0]
Generated Node #2: [8, 21, 0] from Operation: 81-81=0
Current State: 21:[8, 21, 0], Operations: ['81-81=0']
Exploring Operation: 8*0=0, Resulting Numbers: [21, 0]
Generated Node #3: [21, 0] from Operation: 8*0=0
Current State: 21:[21, 0], Operations: ['81-81=0', '8*0=0']
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[8, 81, 81, 21], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [8, 21, 1]
Generated Node #0,0: 21:[8, 21, 1] Operation: 81/81=1
Exploring Operation: 81-21=60, Resulting Numbers: [8, 81, 60]
Generated Node #0,1: 21:[8, 81, 60] Operation: 81-21=60
Exploring Operation: 81-21=60, Resulting Numbers: [8, 81, 60]
Generated Node #0,2: 21:[8, 81, 60] Operation: 81-21=60
Exploring Operation: 81-81=0, Resulting Numbers: [8, 21, 0]
Generated Node #0,3: 21:[8, 21, 0] Operation: 81-81=0
Moving to Node #0,0
Current State: 21:[8, 21, 1], Operations: ['81/81=1']
Exploring Operation: 8*1=8, Resulting Numbers: [21, 8]
Generated Node #0,0,0: 21:[21, 8] Operation: 8*1=8
Exploring Operation: 21*1=21, Resulting Numbers: [8, 21]
Generated Node #0,0,1: 21:[8, 21] Operation: 21*1=21
Exploring Operation: 8/1=8, Resulting Numbers: [21, 8]
Generated Node #0,0,2: 21:[21, 8] Operation: 8/1=8
Exploring Operation: 8-1=7, Resulting Numbers: [21, 7]
Generated Node #0,0,3: 21:[21, 7] Operation: 8-1=7
Moving to Node #0,3
Current State: 21:[8, 21, 0], Operations: ['81-81=0']
Exploring Operation: 21-0=21, Resulting Numbers: [8, 21]
Generated Node #0,3,0: 21:[8, 21] Operation: 21-0=21
Exploring Operation: 8+0=8, Resulting Numbers: [21, 8]
Generated Node #0,3,1: 21:[21, 8] Operation: 8+0=8
Exploring Operation: 21+0=21, Resulting Numbers: [8, 21]
Generated Node #0,3,2: 21:[8, 21] Operation: 21+0=21
Exploring Operation: 8-0=8, Resulting Numbers: [21, 8]
Generated Node #0,3,3: 21:[21, 8] Operation: 8-0=8
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[8, 21], Operations: ['81-81=0', '21-0=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[21, 8], Operations: ['81-81=0', '8+0=8']
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[8, 21], Operations: ['81-81=0', '21+0=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[21, 8], Operations: ['81-81=0', '8-0=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,21 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: 21:[8, 81, 60], Operations: ['81-21=60']
Exploring Operation: 81-8=73, Resulting Numbers: [60, 73]
Generated Node #0,2,0: 21:[60, 73] Operation: 81-8=73
Exploring Operation: 8+81=89, Resulting Numbers: [60, 89]
Generated Node #0,2,1: 21:[60, 89] Operation: 8+81=89
Exploring Operation: 60-8=52, Resulting Numbers: [81, 52]
Generated Node #0,2,2: 21:[81, 52] Operation: 60-8=52
Exploring Operation: 81-60=21, Resulting Numbers: [8, 21]
Generated Node #0,2,3: 21:[8, 21] Operation: 81-60=21
Moving to Node #0,1
Current State: 21:[8, 81, 60], Operations: ['81-21=60']
Exploring Operation: 81-8=73, Resulting Numbers: [60, 73]
Generated Node #0,1,0: 21:[60, 73] Operation: 81-8=73
Exploring Operation: 8+81=89, Resulting Numbers: [60, 89]
Generated Node #0,1,1: 21:[60, 89] Operation: 8+81=89
Exploring Operation: 81-60=21, Resulting Numbers: [8, 21]
Generated Node #0,1,2: 21:[8, 21] Operation: 81-60=21
Exploring Operation: 60-8=52, Resulting Numbers: [81, 52]
Generated Node #0,1,3: 21:[81, 52] Operation: 60-8=52
Moving to Node #0,0,3
Current State: 21:[21, 7], Operations: ['81/81=1', '8-1=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[8, 21], Operations: ['81/81=1', '21*1=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[21, 8], Operations: ['81/81=1', '8*1=8']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[8, 21], Operations: ['81-21=60', '81-60=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[21, 8], Operations: ['81/81=1', '8/1=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[8, 21], Operations: ['81-21=60', '81-60=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,21 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[81, 52], Operations: ['81-21=60', '60-8=52']
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,21 unequal: No Solution
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,21 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[60, 73], Operations: ['81-21=60', '81-8=73']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,21 unequal: No Solution
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[60, 73], Operations: ['81-21=60', '81-8=73']
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,21 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,21 unequal: No Solution
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[81, 52], Operations: ['81-21=60', '60-8=52']
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,21 unequal: No Solution
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[60, 89], Operations: ['81-21=60', '8+81=89']
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,21 unequal: No Solution
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,21 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[60, 89], Operations: ['81-21=60', '8+81=89']
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,21 unequal: No Solution
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,21 unequal: No Solution
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,21 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
71,
75,
71,
13
] | 87 | [
"71/71=1",
"75+13=88",
"88-1=87"
] | Current State: 87:[71, 75, 71, 13], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [75, 13, 1]
Generated Node #2: [75, 13, 1] from Operation: 71/71=1
Current State: 87:[75, 13, 1], Operations: ['71/71=1']
Exploring Operation: 75+13=88, Resulting Numbers: [1, 88]
Generated Node #3: [1, 88] from Operation: 75+13=88
Current State: 87:[1, 88], Operations: ['71/71=1', '75+13=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[71, 75, 71, 13], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [71, 13, 4]
Generated Node #0,0: 87:[71, 13, 4] Operation: 75-71=4
Exploring Operation: 75-71=4, Resulting Numbers: [71, 13, 4]
Generated Node #0,1: 87:[71, 13, 4] Operation: 75-71=4
Exploring Operation: 71-71=0, Resulting Numbers: [75, 13, 0]
Generated Node #0,2: 87:[75, 13, 0] Operation: 71-71=0
Exploring Operation: 71+13=84, Resulting Numbers: [75, 71, 84]
Generated Node #0,3: 87:[75, 71, 84] Operation: 71+13=84
Exploring Operation: 71/71=1, Resulting Numbers: [75, 13, 1]
Generated Node #0,4: 87:[75, 13, 1] Operation: 71/71=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[75, 13, 1], Operations: ['71/71=1']
Exploring Operation: 75/1=75, Resulting Numbers: [13, 75]
Generated Node #0,4,0: 87:[13, 75] Operation: 75/1=75
Exploring Operation: 75+13=88, Resulting Numbers: [1, 88]
Generated Node #0,4,1: 87:[1, 88] Operation: 75+13=88
Exploring Operation: 75*1=75, Resulting Numbers: [13, 75]
Generated Node #0,4,2: 87:[13, 75] Operation: 75*1=75
Exploring Operation: 75+1=76, Resulting Numbers: [13, 76]
Generated Node #0,4,3: 87:[13, 76] Operation: 75+1=76
Exploring Operation: 13-1=12, Resulting Numbers: [75, 12]
Generated Node #0,4,4: 87:[75, 12] Operation: 13-1=12
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 87:[1, 88], Operations: ['71/71=1', '75+13=88']
Exploring Operation: 1*88=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88/1=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[71, 75, 71, 13], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [75, 13, 1]
Generated Node #0,4: 87:[75, 13, 1] Operation: 71/71=1
Moving to Node #0,4
Current State: 87:[75, 13, 1], Operations: ['71/71=1']
Exploring Operation: 75+13=88, Resulting Numbers: [1, 88]
Generated Node #0,4,1: 87:[1, 88] Operation: 75+13=88
Moving to Node #0,4,1
Current State: 87:[1, 88], Operations: ['71/71=1', '75+13=88']
Exploring Operation: 88-1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
6,
80,
67,
65
] | 11 | [
"80-67=13",
"65/13=5",
"6+5=11"
] | Current State: 11:[6, 80, 67, 65], Operations: []
Exploring Operation: 80-67=13, Resulting Numbers: [6, 65, 13]
Generated Node #2: [6, 65, 13] from Operation: 80-67=13
Current State: 11:[6, 65, 13], Operations: ['80-67=13']
Exploring Operation: 65/13=5, Resulting Numbers: [6, 5]
Generated Node #3: [6, 5] from Operation: 65/13=5
Current State: 11:[6, 5], Operations: ['80-67=13', '65/13=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[6, 80, 67, 65], Operations: []
Exploring Operation: 80-67=13, Resulting Numbers: [6, 65, 13]
Generated Node #0,0: 11:[6, 65, 13] Operation: 80-67=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[6, 65, 13], Operations: ['80-67=13']
Exploring Operation: 65/13=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 11:[6, 5] Operation: 65/13=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[6, 5], Operations: ['80-67=13', '65/13=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[6, 80, 67, 65], Operations: []
Exploring Operation: 80-67=13, Resulting Numbers: [6, 65, 13]
Generated Node #0,0: 11:[6, 65, 13] Operation: 80-67=13
Moving to Node #0,0
Current State: 11:[6, 65, 13], Operations: ['80-67=13']
Exploring Operation: 65/13=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 11:[6, 5] Operation: 65/13=5
Moving to Node #0,0,0
Current State: 11:[6, 5], Operations: ['80-67=13', '65/13=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
46,
13,
2,
32
] | 67 | [
"46-13=33",
"2+32=34",
"33+34=67"
] | Current State: 67:[46, 13, 2, 32], Operations: []
Exploring Operation: 46-13=33, Resulting Numbers: [2, 32, 33]
Generated Node #2: [2, 32, 33] from Operation: 46-13=33
Current State: 67:[2, 32, 33], Operations: ['46-13=33']
Exploring Operation: 2+32=34, Resulting Numbers: [33, 34]
Generated Node #3: [33, 34] from Operation: 2+32=34
Current State: 67:[33, 34], Operations: ['46-13=33', '2+32=34']
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[46, 13, 2, 32], Operations: []
Exploring Operation: 46+2=48, Resulting Numbers: [13, 32, 48]
Generated Node #0,0: 67:[13, 32, 48] Operation: 46+2=48
Exploring Operation: 13*2=26, Resulting Numbers: [46, 32, 26]
Generated Node #0,1: 67:[46, 32, 26] Operation: 13*2=26
Exploring Operation: 46+13=59, Resulting Numbers: [2, 32, 59]
Generated Node #0,2: 67:[2, 32, 59] Operation: 46+13=59
Exploring Operation: 2*32=64, Resulting Numbers: [46, 13, 64]
Generated Node #0,3: 67:[46, 13, 64] Operation: 2*32=64
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[46, 13, 64], Operations: ['2*32=64']
Exploring Operation: 13+64=77, Resulting Numbers: [46, 77]
Generated Node #0,3,0: 67:[46, 77] Operation: 13+64=77
Exploring Operation: 64-13=51, Resulting Numbers: [46, 51]
Generated Node #0,3,1: 67:[46, 51] Operation: 64-13=51
Exploring Operation: 46+13=59, Resulting Numbers: [64, 59]
Generated Node #0,3,2: 67:[64, 59] Operation: 46+13=59
Exploring Operation: 46-13=33, Resulting Numbers: [64, 33]
Generated Node #0,3,3: 67:[64, 33] Operation: 46-13=33
Moving to Node #0,3,2
Current State: 67:[64, 59], Operations: ['2*32=64', '46+13=59']
Exploring Operation: 64*59=3776, Resulting Numbers: [3776]
3776,67 unequal: No Solution
Exploring Operation: 64+59=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 64-59=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[46, 77], Operations: ['2*32=64', '13+64=77']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,67 unequal: No Solution
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[64, 33], Operations: ['2*32=64', '46-13=33']
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,67 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[46, 51], Operations: ['2*32=64', '64-13=51']
Exploring Operation: 46+51=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 46*51=2346, Resulting Numbers: [2346]
2346,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:[46, 32, 26], Operations: ['13*2=26']
Exploring Operation: 46-26=20, Resulting Numbers: [32, 20]
Generated Node #0,1,0: 67:[32, 20] Operation: 46-26=20
Exploring Operation: 32+26=58, Resulting Numbers: [46, 58]
Generated Node #0,1,1: 67:[46, 58] Operation: 32+26=58
Exploring Operation: 46+32=78, Resulting Numbers: [26, 78]
Generated Node #0,1,2: 67:[26, 78] Operation: 46+32=78
Exploring Operation: 46+26=72, Resulting Numbers: [32, 72]
Generated Node #0,1,3: 67:[32, 72] Operation: 46+26=72
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[46, 58], Operations: ['13*2=26', '32+26=58']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,67 unequal: No Solution
Exploring Operation: 46*58=2668, Resulting Numbers: [2668]
2668,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:[32, 72], Operations: ['13*2=26', '46+26=72']
Exploring Operation: 32+72=104, Resulting Numbers: [104]
104,67 unequal: No Solution
Exploring Operation: 32*72=2304, Resulting Numbers: [2304]
2304,67 unequal: No Solution
Exploring Operation: 72-32=40, Resulting Numbers: [40]
40,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:[26, 78], Operations: ['13*2=26', '46+32=78']
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,67 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 26*78=2028, Resulting Numbers: [2028]
2028,67 unequal: No Solution
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,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:[32, 20], Operations: ['13*2=26', '46-26=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,67 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,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:[13, 32, 48], Operations: ['46+2=48']
Exploring Operation: 32-13=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 67:[48, 19] Operation: 32-13=19
Exploring Operation: 13+48=61, Resulting Numbers: [32, 61]
Generated Node #0,0,1: 67:[32, 61] Operation: 13+48=61
Exploring Operation: 48-13=35, Resulting Numbers: [32, 35]
Generated Node #0,0,2: 67:[32, 35] Operation: 48-13=35
Exploring Operation: 13+32=45, Resulting Numbers: [48, 45]
Generated Node #0,0,3: 67:[48, 45] Operation: 13+32=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[32, 61], Operations: ['46+2=48', '13+48=61']
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,67 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,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,3
Current State: 67:[48, 45], Operations: ['46+2=48', '13+32=45']
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,67 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,67 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,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:[48, 19], Operations: ['46+2=48', '32-13=19']
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[46, 13, 2, 32], Operations: []
Exploring Operation: 46+2=48, Resulting Numbers: [13, 32, 48]
Generated Node #0,0: 67:[13, 32, 48] Operation: 46+2=48
Moving to Node #0,0
Current State: 67:[13, 32, 48], Operations: ['46+2=48']
Exploring Operation: 32-13=19, Resulting Numbers: [48, 19]
Generated Node #0,0,0: 67:[48, 19] Operation: 32-13=19
Moving to Node #0,0,0
Current State: 67:[48, 19], Operations: ['46+2=48', '32-13=19']
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.953993 | hs_4 | sum_heuristic |
[
45,
92,
50,
72
] | 69 | [
"92-45=47",
"72-50=22",
"47+22=69"
] | Current State: 69:[45, 92, 50, 72], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [50, 72, 47]
Generated Node #2: [50, 72, 47] from Operation: 92-45=47
Current State: 69:[50, 72, 47], Operations: ['92-45=47']
Exploring Operation: 72-50=22, Resulting Numbers: [47, 22]
Generated Node #3: [47, 22] from Operation: 72-50=22
Current State: 69:[47, 22], Operations: ['92-45=47', '72-50=22']
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[45, 92, 50, 72], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [92, 72, 5]
Generated Node #0,0: 69:[92, 72, 5] Operation: 50-45=5
Exploring Operation: 92-45=47, Resulting Numbers: [50, 72, 47]
Generated Node #0,1: 69:[50, 72, 47] Operation: 92-45=47
Exploring Operation: 92-50=42, Resulting Numbers: [45, 72, 42]
Generated Node #0,2: 69:[45, 72, 42] Operation: 92-50=42
Exploring Operation: 92-72=20, Resulting Numbers: [45, 50, 20]
Generated Node #0,3: 69:[45, 50, 20] Operation: 92-72=20
Moving to Node #0,0
Current State: 69:[92, 72, 5], Operations: ['50-45=5']
Exploring Operation: 72-5=67, Resulting Numbers: [92, 67]
Generated Node #0,0,0: 69:[92, 67] Operation: 72-5=67
Exploring Operation: 92-72=20, Resulting Numbers: [5, 20]
Generated Node #0,0,1: 69:[5, 20] Operation: 92-72=20
Exploring Operation: 92+5=97, Resulting Numbers: [72, 97]
Generated Node #0,0,2: 69:[72, 97] Operation: 92+5=97
Exploring Operation: 92-5=87, Resulting Numbers: [72, 87]
Generated Node #0,0,3: 69:[72, 87] Operation: 92-5=87
Moving to Node #0,2
Current State: 69:[45, 72, 42], Operations: ['92-50=42']
Exploring Operation: 72-42=30, Resulting Numbers: [45, 30]
Generated Node #0,2,0: 69:[45, 30] Operation: 72-42=30
Exploring Operation: 45-42=3, Resulting Numbers: [72, 3]
Generated Node #0,2,1: 69:[72, 3] Operation: 45-42=3
Exploring Operation: 45+42=87, Resulting Numbers: [72, 87]
Generated Node #0,2,2: 69:[72, 87] Operation: 45+42=87
Exploring Operation: 72-45=27, Resulting Numbers: [42, 27]
Generated Node #0,2,3: 69:[42, 27] Operation: 72-45=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[72, 3], Operations: ['92-50=42', '45-42=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,69 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[45, 92, 50, 72], Operations: []
Exploring Operation: 92-50=42, Resulting Numbers: [45, 72, 42]
Generated Node #0,2: 69:[45, 72, 42] Operation: 92-50=42
Moving to Node #0,2
Current State: 69:[45, 72, 42], Operations: ['92-50=42']
Exploring Operation: 45-42=3, Resulting Numbers: [72, 3]
Generated Node #0,2,1: 69:[72, 3] Operation: 45-42=3
Moving to Node #0,2,1
Current State: 69:[72, 3], Operations: ['92-50=42', '45-42=3']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
70,
93,
64,
60
] | 83 | [
"70-64=6",
"60/6=10",
"93-10=83"
] | Current State: 83:[70, 93, 64, 60], Operations: []
Exploring Operation: 70-64=6, Resulting Numbers: [93, 60, 6]
Generated Node #2: [93, 60, 6] from Operation: 70-64=6
Current State: 83:[93, 60, 6], Operations: ['70-64=6']
Exploring Operation: 60/6=10, Resulting Numbers: [93, 10]
Generated Node #3: [93, 10] from Operation: 60/6=10
Current State: 83:[93, 10], Operations: ['70-64=6', '60/6=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[70, 93, 64, 60], Operations: []
Exploring Operation: 64+60=124, Resulting Numbers: [70, 93, 124]
Generated Node #0,0: 83:[70, 93, 124] Operation: 64+60=124
Exploring Operation: 93-64=29, Resulting Numbers: [70, 60, 29]
Generated Node #0,1: 83:[70, 60, 29] Operation: 93-64=29
Exploring Operation: 93-60=33, Resulting Numbers: [70, 64, 33]
Generated Node #0,2: 83:[70, 64, 33] Operation: 93-60=33
Exploring Operation: 70+64=134, Resulting Numbers: [93, 60, 134]
Generated Node #0,3: 83:[93, 60, 134] Operation: 70+64=134
Exploring Operation: 70+60=130, Resulting Numbers: [93, 64, 130]
Generated Node #0,4: 83:[93, 64, 130] Operation: 70+60=130
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[70, 93, 124], Operations: ['64+60=124']
Exploring Operation: 124-93=31, Resulting Numbers: [70, 31]
Generated Node #0,0,0: 83:[70, 31] Operation: 124-93=31
Exploring Operation: 70+124=194, Resulting Numbers: [93, 194]
Generated Node #0,0,1: 83:[93, 194] Operation: 70+124=194
Exploring Operation: 93-70=23, Resulting Numbers: [124, 23]
Generated Node #0,0,2: 83:[124, 23] Operation: 93-70=23
Exploring Operation: 124-70=54, Resulting Numbers: [93, 54]
Generated Node #0,0,3: 83:[93, 54] Operation: 124-70=54
Exploring Operation: 70+93=163, Resulting Numbers: [124, 163]
Generated Node #0,0,4: 83:[124, 163] Operation: 70+93=163
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 83:[93, 54], Operations: ['64+60=124', '124-70=54']
Exploring Operation: 93-54=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 93*54=5022, Resulting Numbers: [5022]
5022,83 unequal: No Solution
Exploring Operation: 93+54=147, Resulting Numbers: [147]
147,83 unequal: No Solution
No 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: 83:[70, 31], Operations: ['64+60=124', '124-93=31']
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,83 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,83 unequal: No Solution
No 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: 83:[124, 23], Operations: ['64+60=124', '93-70=23']
Exploring Operation: 124+23=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 124*23=2852, Resulting Numbers: [2852]
2852,83 unequal: No Solution
Exploring Operation: 124-23=101, Resulting Numbers: [101]
101,83 unequal: No Solution
No 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: 83:[93, 194], Operations: ['64+60=124', '70+124=194']
Exploring Operation: 93+194=287, Resulting Numbers: [287]
287,83 unequal: No Solution
Exploring Operation: 93*194=18042, Resulting Numbers: [18042]
18042,83 unequal: No Solution
Exploring Operation: 194-93=101, Resulting Numbers: [101]
101,83 unequal: No Solution
No 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: 83:[124, 163], Operations: ['64+60=124', '70+93=163']
Exploring Operation: 124*163=20212, Resulting Numbers: [20212]
20212,83 unequal: No Solution
Exploring Operation: 163-124=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 124+163=287, Resulting Numbers: [287]
287,83 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: 83:[93, 64, 130], Operations: ['70+60=130']
Exploring Operation: 93-64=29, Resulting Numbers: [130, 29]
Generated Node #0,4,0: 83:[130, 29] Operation: 93-64=29
Exploring Operation: 130-64=66, Resulting Numbers: [93, 66]
Generated Node #0,4,1: 83:[93, 66] Operation: 130-64=66
Exploring Operation: 130-93=37, Resulting Numbers: [64, 37]
Generated Node #0,4,2: 83:[64, 37] Operation: 130-93=37
Exploring Operation: 93+64=157, Resulting Numbers: [130, 157]
Generated Node #0,4,3: 83:[130, 157] Operation: 93+64=157
Exploring Operation: 64+130=194, Resulting Numbers: [93, 194]
Generated Node #0,4,4: 83:[93, 194] Operation: 64+130=194
Moving to Node #0,4,1
Current State: 83:[93, 66], Operations: ['70+60=130', '130-64=66']
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,83 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Moving to Node #0,4,2
Current State: 83:[64, 37], Operations: ['70+60=130', '130-93=37']
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,83 unequal: No Solution
Moving to Node #0,4,0
Current State: 83:[130, 29], Operations: ['70+60=130', '93-64=29']
Exploring Operation: 130*29=3770, Resulting Numbers: [3770]
3770,83 unequal: No Solution
Exploring Operation: 130+29=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 130-29=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,4,3
Current State: 83:[130, 157], Operations: ['70+60=130', '93+64=157']
Exploring Operation: 130+157=287, Resulting Numbers: [287]
287,83 unequal: No Solution
Exploring Operation: 130*157=20410, Resulting Numbers: [20410]
20410,83 unequal: No Solution
Exploring Operation: 157-130=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,4,4
Current State: 83:[93, 194], Operations: ['70+60=130', '64+130=194']
Exploring Operation: 93*194=18042, Resulting Numbers: [18042]
18042,83 unequal: No Solution
Exploring Operation: 93+194=287, Resulting Numbers: [287]
287,83 unequal: No Solution
Exploring Operation: 194-93=101, Resulting Numbers: [101]
101,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[70, 64, 33], Operations: ['93-60=33']
Exploring Operation: 70+64=134, Resulting Numbers: [33, 134]
Generated Node #0,2,0: 83:[33, 134] Operation: 70+64=134
Exploring Operation: 70+33=103, Resulting Numbers: [64, 103]
Generated Node #0,2,1: 83:[64, 103] Operation: 70+33=103
Exploring Operation: 70-33=37, Resulting Numbers: [64, 37]
Generated Node #0,2,2: 83:[64, 37] Operation: 70-33=37
Exploring Operation: 64+33=97, Resulting Numbers: [70, 97]
Generated Node #0,2,3: 83:[70, 97] Operation: 64+33=97
Exploring Operation: 64-33=31, Resulting Numbers: [70, 31]
Generated Node #0,2,4: 83:[70, 31] Operation: 64-33=31
Moving to Node #0,2,3
Current State: 83:[70, 97], Operations: ['93-60=33', '64+33=97']
Exploring Operation: 70*97=6790, Resulting Numbers: [6790]
6790,83 unequal: No Solution
Exploring Operation: 97-70=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 70+97=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[64, 103], Operations: ['93-60=33', '70+33=103']
Exploring Operation: 64+103=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 64*103=6592, Resulting Numbers: [6592]
6592,83 unequal: No Solution
Exploring Operation: 103-64=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[64, 37], Operations: ['93-60=33', '70-33=37']
Exploring Operation: 64+37=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 64*37=2368, Resulting Numbers: [2368]
2368,83 unequal: No Solution
Moving to Node #0,2,4
Current State: 83:[70, 31], Operations: ['93-60=33', '64-33=31']
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,83 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[33, 134], Operations: ['93-60=33', '70+64=134']
Exploring Operation: 33*134=4422, Resulting Numbers: [4422]
4422,83 unequal: No Solution
Exploring Operation: 134-33=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 33+134=167, Resulting Numbers: [167]
167,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 83:[93, 60, 134], Operations: ['70+64=134']
Exploring Operation: 93+60=153, Resulting Numbers: [134, 153]
Generated Node #0,3,0: 83:[134, 153] Operation: 93+60=153
Exploring Operation: 60+134=194, Resulting Numbers: [93, 194]
Generated Node #0,3,1: 83:[93, 194] Operation: 60+134=194
Exploring Operation: 134-93=41, Resulting Numbers: [60, 41]
Generated Node #0,3,2: 83:[60, 41] Operation: 134-93=41
Exploring Operation: 134-60=74, Resulting Numbers: [93, 74]
Generated Node #0,3,3: 83:[93, 74] Operation: 134-60=74
Exploring Operation: 93-60=33, Resulting Numbers: [134, 33]
Generated Node #0,3,4: 83:[134, 33] Operation: 93-60=33
Moving to Node #0,3,3
Current State: 83:[93, 74], Operations: ['70+64=134', '134-60=74']
Exploring Operation: 93+74=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 93*74=6882, Resulting Numbers: [6882]
6882,83 unequal: No Solution
Exploring Operation: 93-74=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[60, 41], Operations: ['70+64=134', '134-93=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[134, 33], Operations: ['70+64=134', '93-60=33']
Exploring Operation: 134-33=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 134+33=167, Resulting Numbers: [167]
167,83 unequal: No Solution
Exploring Operation: 134*33=4422, Resulting Numbers: [4422]
4422,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[134, 153], Operations: ['70+64=134', '93+60=153']
Exploring Operation: 134*153=20502, Resulting Numbers: [20502]
20502,83 unequal: No Solution
Exploring Operation: 134+153=287, Resulting Numbers: [287]
287,83 unequal: No Solution
Exploring Operation: 153-134=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[93, 194], Operations: ['70+64=134', '60+134=194']
Exploring Operation: 93+194=287, Resulting Numbers: [287]
287,83 unequal: No Solution
Exploring Operation: 194-93=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 93*194=18042, Resulting Numbers: [18042]
18042,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[70, 60, 29], Operations: ['93-64=29']
Exploring Operation: 60+29=89, Resulting Numbers: [70, 89]
Generated Node #0,1,0: 83:[70, 89] Operation: 60+29=89
Exploring Operation: 70-29=41, Resulting Numbers: [60, 41]
Generated Node #0,1,1: 83:[60, 41] Operation: 70-29=41
Exploring Operation: 70+60=130, Resulting Numbers: [29, 130]
Generated Node #0,1,2: 83:[29, 130] Operation: 70+60=130
Exploring Operation: 60-29=31, Resulting Numbers: [70, 31]
Generated Node #0,1,3: 83:[70, 31] Operation: 60-29=31
Exploring Operation: 70+29=99, Resulting Numbers: [60, 99]
Generated Node #0,1,4: 83:[60, 99] Operation: 70+29=99
Moving to Node #0,1,0
Current State: 83:[70, 89], Operations: ['93-64=29', '60+29=89']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[60, 99], Operations: ['93-64=29', '70+29=99']
Exploring Operation: 60*99=5940, Resulting Numbers: [5940]
5940,83 unequal: No Solution
Exploring Operation: 60+99=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 99-60=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[60, 41], Operations: ['93-64=29', '70-29=41']
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,83 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[70, 31], Operations: ['93-64=29', '60-29=31']
Exploring Operation: 70*31=2170, Resulting Numbers: [2170]
2170,83 unequal: No Solution
Exploring Operation: 70-31=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 70+31=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[29, 130], Operations: ['93-64=29', '70+60=130']
Exploring Operation: 130-29=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 29*130=3770, Resulting Numbers: [3770]
3770,83 unequal: No Solution
Exploring Operation: 29+130=159, Resulting Numbers: [159]
159,83 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 |
[
83,
27,
12,
24
] | 20 | [
"83-27=56",
"12+24=36",
"56-36=20"
] | Current State: 20:[83, 27, 12, 24], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [12, 24, 56]
Generated Node #2: [12, 24, 56] from Operation: 83-27=56
Current State: 20:[12, 24, 56], Operations: ['83-27=56']
Exploring Operation: 12+24=36, Resulting Numbers: [56, 36]
Generated Node #3: [56, 36] from Operation: 12+24=36
Current State: 20:[56, 36], Operations: ['83-27=56', '12+24=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[83, 27, 12, 24], Operations: []
Exploring Operation: 83-24=59, Resulting Numbers: [27, 12, 59]
Generated Node #0,0: 20:[27, 12, 59] Operation: 83-24=59
Exploring Operation: 83-27=56, Resulting Numbers: [12, 24, 56]
Generated Node #0,1: 20:[12, 24, 56] Operation: 83-27=56
Exploring Operation: 83-12=71, Resulting Numbers: [27, 24, 71]
Generated Node #0,2: 20:[27, 24, 71] Operation: 83-12=71
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[12, 24, 56], Operations: ['83-27=56']
Exploring Operation: 24/12=2, Resulting Numbers: [56, 2]
Generated Node #0,1,0: 20:[56, 2] Operation: 24/12=2
Exploring Operation: 56-24=32, Resulting Numbers: [12, 32]
Generated Node #0,1,1: 20:[12, 32] Operation: 56-24=32
Exploring Operation: 56-12=44, Resulting Numbers: [24, 44]
Generated Node #0,1,2: 20:[24, 44] Operation: 56-12=44
Moving to Node #0,1,1
Current State: 20:[12, 32], Operations: ['83-27=56', '56-24=32']
Exploring Operation: 12+32=44, Resulting Numbers: [44]
44,20 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[83, 27, 12, 24], Operations: []
Exploring Operation: 83-27=56, Resulting Numbers: [12, 24, 56]
Generated Node #0,1: 20:[12, 24, 56] Operation: 83-27=56
Moving to Node #0,1
Current State: 20:[12, 24, 56], Operations: ['83-27=56']
Exploring Operation: 56-24=32, Resulting Numbers: [12, 32]
Generated Node #0,1,1: 20:[12, 32] Operation: 56-24=32
Moving to Node #0,1,1
Current State: 20:[12, 32], Operations: ['83-27=56', '56-24=32']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
58,
40,
50,
6
] | 20 | [
"58-50=8",
"8-6=2",
"40/2=20"
] | Current State: 20:[58, 40, 50, 6], Operations: []
Exploring Operation: 58-50=8, Resulting Numbers: [40, 6, 8]
Generated Node #2: [40, 6, 8] from Operation: 58-50=8
Current State: 20:[40, 6, 8], Operations: ['58-50=8']
Exploring Operation: 8-6=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 8-6=2
Current State: 20:[40, 2], Operations: ['58-50=8', '8-6=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[58, 40, 50, 6], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [40, 50, 52]
Generated Node #0,0: 20:[40, 50, 52] Operation: 58-6=52
Exploring Operation: 58-40=18, Resulting Numbers: [50, 6, 18]
Generated Node #0,1: 20:[50, 6, 18] Operation: 58-40=18
Exploring Operation: 58-50=8, Resulting Numbers: [40, 6, 8]
Generated Node #0,2: 20:[40, 6, 8] Operation: 58-50=8
Exploring Operation: 50-40=10, Resulting Numbers: [58, 6, 10]
Generated Node #0,3: 20:[58, 6, 10] Operation: 50-40=10
Moving to Node #0,2
Current State: 20:[40, 6, 8], Operations: ['58-50=8']
Exploring Operation: 8-6=2, Resulting Numbers: [40, 2]
Generated Node #0,2,0: 20:[40, 2] Operation: 8-6=2
Exploring Operation: 40-8=32, Resulting Numbers: [6, 32]
Generated Node #0,2,1: 20:[6, 32] Operation: 40-8=32
Exploring Operation: 40-6=34, Resulting Numbers: [8, 34]
Generated Node #0,2,2: 20:[8, 34] Operation: 40-6=34
Exploring Operation: 40/8=5, Resulting Numbers: [6, 5]
Generated Node #0,2,3: 20:[6, 5] Operation: 40/8=5
Moving to Node #0,1
Current State: 20:[50, 6, 18], Operations: ['58-40=18']
Exploring Operation: 50-18=32, Resulting Numbers: [6, 32]
Generated Node #0,1,0: 20:[6, 32] Operation: 50-18=32
Exploring Operation: 18/6=3, Resulting Numbers: [50, 3]
Generated Node #0,1,1: 20:[50, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [50, 12]
Generated Node #0,1,2: 20:[50, 12] Operation: 18-6=12
Exploring Operation: 50-6=44, Resulting Numbers: [18, 44]
Generated Node #0,1,3: 20:[18, 44] Operation: 50-6=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[6, 32], Operations: ['58-40=18', '50-18=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,20 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 20:[18, 44], Operations: ['58-40=18', '50-6=44']
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,20 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[50, 3], Operations: ['58-40=18', '18/6=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,20 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,20 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[50, 12], Operations: ['58-40=18', '18-6=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,20 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,20 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: 20:[58, 6, 10], Operations: ['50-40=10']
Exploring Operation: 58-6=52, Resulting Numbers: [10, 52]
Generated Node #0,3,0: 20:[10, 52] Operation: 58-6=52
Exploring Operation: 6+10=16, Resulting Numbers: [58, 16]
Generated Node #0,3,1: 20:[58, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [58, 4]
Generated Node #0,3,2: 20:[58, 4] Operation: 10-6=4
Exploring Operation: 58-10=48, Resulting Numbers: [6, 48]
Generated Node #0,3,3: 20:[6, 48] Operation: 58-10=48
Moving to Node #0,0
Current State: 20:[40, 50, 52], Operations: ['58-6=52']
Exploring Operation: 52-40=12, Resulting Numbers: [50, 12]
Generated Node #0,0,0: 20:[50, 12] Operation: 52-40=12
Exploring Operation: 50-40=10, Resulting Numbers: [52, 10]
Generated Node #0,0,1: 20:[52, 10] Operation: 50-40=10
Exploring Operation: 52-50=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 20:[40, 2] Operation: 52-50=2
Exploring Operation: 40+50=90, Resulting Numbers: [52, 90]
Generated Node #0,0,3: 20:[52, 90] Operation: 40+50=90
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[40, 2], Operations: ['58-6=52', '52-50=2']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,20 unequal: No Solution
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,20 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[58, 40, 50, 6], Operations: []
Exploring Operation: 58-6=52, Resulting Numbers: [40, 50, 52]
Generated Node #0,0: 20:[40, 50, 52] Operation: 58-6=52
Moving to Node #0,0
Current State: 20:[40, 50, 52], Operations: ['58-6=52']
Exploring Operation: 52-50=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 20:[40, 2] Operation: 52-50=2
Moving to Node #0,0,2
Current State: 20:[40, 2], Operations: ['58-6=52', '52-50=2']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
93,
76,
81,
15
] | 90 | [
"81-76=5",
"15/5=3",
"93-3=90"
] | Current State: 90:[93, 76, 81, 15], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [93, 15, 5]
Generated Node #2: [93, 15, 5] from Operation: 81-76=5
Current State: 90:[93, 15, 5], Operations: ['81-76=5']
Exploring Operation: 15/5=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 15/5=3
Current State: 90:[93, 3], Operations: ['81-76=5', '15/5=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[93, 76, 81, 15], Operations: []
Exploring Operation: 76+15=91, Resulting Numbers: [93, 81, 91]
Generated Node #0,0: 90:[93, 81, 91] Operation: 76+15=91
Exploring Operation: 93-81=12, Resulting Numbers: [76, 15, 12]
Generated Node #0,1: 90:[76, 15, 12] Operation: 93-81=12
Exploring Operation: 93-76=17, Resulting Numbers: [81, 15, 17]
Generated Node #0,2: 90:[81, 15, 17] Operation: 93-76=17
Exploring Operation: 81-76=5, Resulting Numbers: [93, 15, 5]
Generated Node #0,3: 90:[93, 15, 5] Operation: 81-76=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[93, 15, 5], Operations: ['81-76=5']
Exploring Operation: 15+5=20, Resulting Numbers: [93, 20]
Generated Node #0,3,0: 90:[93, 20] Operation: 15+5=20
Exploring Operation: 15-5=10, Resulting Numbers: [93, 10]
Generated Node #0,3,1: 90:[93, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [93, 3]
Generated Node #0,3,2: 90:[93, 3] Operation: 15/5=3
Exploring Operation: 93-5=88, Resulting Numbers: [15, 88]
Generated Node #0,3,3: 90:[15, 88] Operation: 93-5=88
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[15, 88], Operations: ['81-76=5', '93-5=88']
Exploring Operation: 15+88=103, Resulting Numbers: [103]
103,90 unequal: No Solution
Exploring Operation: 15*88=1320, Resulting Numbers: [1320]
1320,90 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,90 unequal: No Solution
No 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: 90:[93, 10], Operations: ['81-76=5', '15-5=10']
Exploring Operation: 93-10=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Exploring Operation: 93+10=103, Resulting Numbers: [103]
103,90 unequal: No Solution
Exploring Operation: 93*10=930, Resulting Numbers: [930]
930,90 unequal: No Solution
No 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: 90:[93, 3], Operations: ['81-76=5', '15/5=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[93, 76, 81, 15], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [93, 15, 5]
Generated Node #0,3: 90:[93, 15, 5] Operation: 81-76=5
Moving to Node #0,3
Current State: 90:[93, 15, 5], Operations: ['81-76=5']
Exploring Operation: 15/5=3, Resulting Numbers: [93, 3]
Generated Node #0,3,2: 90:[93, 3] Operation: 15/5=3
Moving to Node #0,3,2
Current State: 90:[93, 3], Operations: ['81-76=5', '15/5=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
22,
90,
42,
89
] | 21 | [
"90-22=68",
"89-42=47",
"68-47=21"
] | Current State: 21:[22, 90, 42, 89], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [42, 89, 68]
Generated Node #2: [42, 89, 68] from Operation: 90-22=68
Current State: 21:[42, 89, 68], Operations: ['90-22=68']
Exploring Operation: 89-42=47, Resulting Numbers: [68, 47]
Generated Node #3: [68, 47] from Operation: 89-42=47
Current State: 21:[68, 47], Operations: ['90-22=68', '89-42=47']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[22, 90, 42, 89], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [42, 89, 68]
Generated Node #0,0: 21:[42, 89, 68] Operation: 90-22=68
Exploring Operation: 89-42=47, Resulting Numbers: [22, 90, 47]
Generated Node #0,1: 21:[22, 90, 47] Operation: 89-42=47
Exploring Operation: 90-89=1, Resulting Numbers: [22, 42, 1]
Generated Node #0,2: 21:[22, 42, 1] Operation: 90-89=1
Exploring Operation: 90-42=48, Resulting Numbers: [22, 89, 48]
Generated Node #0,3: 21:[22, 89, 48] Operation: 90-42=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[22, 42, 1], Operations: ['90-89=1']
Exploring Operation: 42-22=20, Resulting Numbers: [1, 20]
Generated Node #0,2,0: 21:[1, 20] Operation: 42-22=20
Exploring Operation: 22-1=21, Resulting Numbers: [42, 21]
Generated Node #0,2,1: 21:[42, 21] Operation: 22-1=21
Exploring Operation: 22*1=22, Resulting Numbers: [42, 22]
Generated Node #0,2,2: 21:[42, 22] Operation: 22*1=22
Exploring Operation: 42-1=41, Resulting Numbers: [22, 41]
Generated Node #0,2,3: 21:[22, 41] Operation: 42-1=41
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[1, 20], Operations: ['90-89=1', '42-22=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[22, 90, 42, 89], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [22, 42, 1]
Generated Node #0,2: 21:[22, 42, 1] Operation: 90-89=1
Moving to Node #0,2
Current State: 21:[22, 42, 1], Operations: ['90-89=1']
Exploring Operation: 42-22=20, Resulting Numbers: [1, 20]
Generated Node #0,2,0: 21:[1, 20] Operation: 42-22=20
Moving to Node #0,2,0
Current State: 21:[1, 20], Operations: ['90-89=1', '42-22=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
64,
35,
11,
8
] | 53 | [
"64*11=704",
"704/8=88",
"88-35=53"
] | Current State: 53:[64, 35, 11, 8], Operations: []
Exploring Operation: 64*11=704, Resulting Numbers: [35, 8, 704]
Generated Node #2: [35, 8, 704] from Operation: 64*11=704
Current State: 53:[35, 8, 704], Operations: ['64*11=704']
Exploring Operation: 704/8=88, Resulting Numbers: [35, 88]
Generated Node #3: [35, 88] from Operation: 704/8=88
Current State: 53:[35, 88], Operations: ['64*11=704', '704/8=88']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[64, 35, 11, 8], Operations: []
Exploring Operation: 64-11=53, Resulting Numbers: [35, 8, 53]
Generated Node #0,0: 53:[35, 8, 53] Operation: 64-11=53
Exploring Operation: 35+8=43, Resulting Numbers: [64, 11, 43]
Generated Node #0,1: 53:[64, 11, 43] Operation: 35+8=43
Exploring Operation: 64-8=56, Resulting Numbers: [35, 11, 56]
Generated Node #0,2: 53:[35, 11, 56] Operation: 64-8=56
Exploring Operation: 35+11=46, Resulting Numbers: [64, 8, 46]
Generated Node #0,3: 53:[64, 8, 46] Operation: 35+11=46
Moving to Node #0,0
Current State: 53:[35, 8, 53], Operations: ['64-11=53']
Exploring Operation: 35-8=27, Resulting Numbers: [53, 27]
Generated Node #0,0,0: 53:[53, 27] Operation: 35-8=27
Exploring Operation: 53-8=45, Resulting Numbers: [35, 45]
Generated Node #0,0,1: 53:[35, 45] Operation: 53-8=45
Exploring Operation: 35+8=43, Resulting Numbers: [53, 43]
Generated Node #0,0,2: 53:[53, 43] Operation: 35+8=43
Exploring Operation: 8+53=61, Resulting Numbers: [35, 61]
Generated Node #0,0,3: 53:[35, 61] Operation: 8+53=61
Moving to Node #0,2
Current State: 53:[35, 11, 56], Operations: ['64-8=56']
Exploring Operation: 35+11=46, Resulting Numbers: [56, 46]
Generated Node #0,2,0: 53:[56, 46] Operation: 35+11=46
Exploring Operation: 11+56=67, Resulting Numbers: [35, 67]
Generated Node #0,2,1: 53:[35, 67] Operation: 11+56=67
Exploring Operation: 35-11=24, Resulting Numbers: [56, 24]
Generated Node #0,2,2: 53:[56, 24] Operation: 35-11=24
Exploring Operation: 56-11=45, Resulting Numbers: [35, 45]
Generated Node #0,2,3: 53:[35, 45] Operation: 56-11=45
Moving to Node #0,1
Current State: 53:[64, 11, 43], Operations: ['35+8=43']
Exploring Operation: 64+11=75, Resulting Numbers: [43, 75]
Generated Node #0,1,0: 53:[43, 75] Operation: 64+11=75
Exploring Operation: 43-11=32, Resulting Numbers: [64, 32]
Generated Node #0,1,1: 53:[64, 32] Operation: 43-11=32
Exploring Operation: 64-11=53, Resulting Numbers: [43, 53]
Generated Node #0,1,2: 53:[43, 53] Operation: 64-11=53
Exploring Operation: 11+43=54, Resulting Numbers: [64, 54]
Generated Node #0,1,3: 53:[64, 54] Operation: 11+43=54
Moving to Node #0,3
Current State: 53:[64, 8, 46], Operations: ['35+11=46']
Exploring Operation: 64+8=72, Resulting Numbers: [46, 72]
Generated Node #0,3,0: 53:[46, 72] Operation: 64+8=72
Exploring Operation: 8+46=54, Resulting Numbers: [64, 54]
Generated Node #0,3,1: 53:[64, 54] Operation: 8+46=54
Exploring Operation: 46-8=38, Resulting Numbers: [64, 38]
Generated Node #0,3,2: 53:[64, 38] Operation: 46-8=38
Exploring Operation: 64-8=56, Resulting Numbers: [46, 56]
Generated Node #0,3,3: 53:[46, 56] Operation: 64-8=56
Moving to Node #0,0,2
Current State: 53:[53, 43], Operations: ['64-11=53', '35+8=43']
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 53+43=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 53*43=2279, Resulting Numbers: [2279]
2279,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[46, 56], Operations: ['35+11=46', '64-8=56']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 46*56=2576, Resulting Numbers: [2576]
2576,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[56, 46], Operations: ['64-8=56', '35+11=46']
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[43, 53], Operations: ['35+8=43', '64-11=53']
Exploring Operation: 43*53=2279, Resulting Numbers: [2279]
2279,53 unequal: No Solution
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 53-43=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[64, 54], Operations: ['35+11=46', '8+46=54']
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[64, 54], Operations: ['35+8=43', '11+43=54']
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,53 unequal: No Solution
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[46, 72], Operations: ['35+11=46', '64+8=72']
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,53 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[35, 45], Operations: ['64-8=56', '56-11=45']
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,53 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[35, 45], Operations: ['64-11=53', '53-8=45']
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[53, 27], Operations: ['64-11=53', '35-8=27']
Exploring Operation: 53*27=1431, Resulting Numbers: [1431]
1431,53 unequal: No Solution
Exploring Operation: 53+27=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[35, 61], Operations: ['64-11=53', '8+53=61']
Exploring Operation: 35*61=2135, Resulting Numbers: [2135]
2135,53 unequal: No Solution
Exploring Operation: 61-35=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 35+61=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[64, 38], Operations: ['35+11=46', '46-8=38']
Exploring Operation: 64+38=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Exploring Operation: 64*38=2432, Resulting Numbers: [2432]
2432,53 unequal: No Solution
Exploring Operation: 64-38=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[64, 32], Operations: ['35+8=43', '43-11=32']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,53 unequal: No Solution
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,53 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[35, 67], Operations: ['64-8=56', '11+56=67']
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,53 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[43, 75], Operations: ['35+8=43', '64+11=75']
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 43*75=3225, Resulting Numbers: [3225]
3225,53 unequal: No Solution
Exploring Operation: 43+75=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[56, 24], Operations: ['64-8=56', '35-11=24']
Exploring Operation: 56+24=80, Resulting Numbers: [80]
80,53 unequal: No Solution
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,53 unequal: No Solution
Exploring Operation: 56*24=1344, Resulting Numbers: [1344]
1344,53 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
76,
2,
5,
36
] | 16 | [
"76+36=112",
"2+5=7",
"112/7=16"
] | Current State: 16:[76, 2, 5, 36], Operations: []
Exploring Operation: 76+36=112, Resulting Numbers: [2, 5, 112]
Generated Node #2: [2, 5, 112] from Operation: 76+36=112
Current State: 16:[2, 5, 112], Operations: ['76+36=112']
Exploring Operation: 2+5=7, Resulting Numbers: [112, 7]
Generated Node #3: [112, 7] from Operation: 2+5=7
Current State: 16:[112, 7], Operations: ['76+36=112', '2+5=7']
Exploring Operation: 112/7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[76, 2, 5, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [2, 5, 40]
Generated Node #0,0: 16:[2, 5, 40] Operation: 76-36=40
Exploring Operation: 76/2=38, Resulting Numbers: [5, 36, 38]
Generated Node #0,1: 16:[5, 36, 38] Operation: 76/2=38
Exploring Operation: 76-5=71, Resulting Numbers: [2, 36, 71]
Generated Node #0,2: 16:[2, 36, 71] Operation: 76-5=71
Exploring Operation: 36/2=18, Resulting Numbers: [76, 5, 18]
Generated Node #0,3: 16:[76, 5, 18] Operation: 36/2=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[2, 5, 40], Operations: ['76-36=40']
Exploring Operation: 40-2=38, Resulting Numbers: [5, 38]
Generated Node #0,0,0: 16:[5, 38] Operation: 40-2=38
Exploring Operation: 40/5=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 16:[2, 8] Operation: 40/5=8
Exploring Operation: 40/2=20, Resulting Numbers: [5, 20]
Generated Node #0,0,2: 16:[5, 20] Operation: 40/2=20
Exploring Operation: 40-5=35, Resulting Numbers: [2, 35]
Generated Node #0,0,3: 16:[2, 35] Operation: 40-5=35
Moving to Node #0,0,1
Current State: 16:[2, 8], Operations: ['76-36=40', '40/5=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[76, 2, 5, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [2, 5, 40]
Generated Node #0,0: 16:[2, 5, 40] Operation: 76-36=40
Moving to Node #0,0
Current State: 16:[2, 5, 40], Operations: ['76-36=40']
Exploring Operation: 40/5=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 16:[2, 8] Operation: 40/5=8
Moving to Node #0,0,1
Current State: 16:[2, 8], Operations: ['76-36=40', '40/5=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
76,
30,
8,
61
] | 90 | [
"76-61=15",
"8*15=120",
"120-30=90"
] | Current State: 90:[76, 30, 8, 61], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [30, 8, 15]
Generated Node #2: [30, 8, 15] from Operation: 76-61=15
Current State: 90:[30, 8, 15], Operations: ['76-61=15']
Exploring Operation: 8*15=120, Resulting Numbers: [30, 120]
Generated Node #3: [30, 120] from Operation: 8*15=120
Current State: 90:[30, 120], Operations: ['76-61=15', '8*15=120']
Exploring Operation: 120-30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[76, 30, 8, 61], Operations: []
Exploring Operation: 76-61=15, Resulting Numbers: [30, 8, 15]
Generated Node #0,0: 90:[30, 8, 15] Operation: 76-61=15
Exploring Operation: 30+61=91, Resulting Numbers: [76, 8, 91]
Generated Node #0,1: 90:[76, 8, 91] Operation: 30+61=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[30, 8, 15], Operations: ['76-61=15']
Exploring Operation: 30+15=45, Resulting Numbers: [8, 45]
Generated Node #0,0,0: 90:[8, 45] Operation: 30+15=45
Exploring Operation: 30-15=15, Resulting Numbers: [8, 15]
Generated Node #0,0,1: 90:[8, 15] Operation: 30-15=15
Moving to Node #0,0,0
Current State: 90:[8, 45], Operations: ['76-61=15', '30+15=45']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[8, 15], Operations: ['76-61=15', '30-15=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No solution 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: 90:[76, 8, 91], Operations: ['30+61=91']
Exploring Operation: 76+8=84, Resulting Numbers: [91, 84]
Generated Node #0,1,0: 90:[91, 84] Operation: 76+8=84
Exploring Operation: 91-76=15, Resulting Numbers: [8, 15]
Generated Node #0,1,1: 90:[8, 15] Operation: 91-76=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[8, 15], Operations: ['30+61=91', '91-76=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,90 unequal: No Solution
No 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: 90:[91, 84], Operations: ['30+61=91', '76+8=84']
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 91+84=175, Resulting Numbers: [175]
175,90 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 |
[
69,
25,
70,
45
] | 21 | [
"69+25=94",
"70+45=115",
"115-94=21"
] | Current State: 21:[69, 25, 70, 45], Operations: []
Exploring Operation: 69+25=94, Resulting Numbers: [70, 45, 94]
Generated Node #2: [70, 45, 94] from Operation: 69+25=94
Current State: 21:[70, 45, 94], Operations: ['69+25=94']
Exploring Operation: 70+45=115, Resulting Numbers: [94, 115]
Generated Node #3: [94, 115] from Operation: 70+45=115
Current State: 21:[94, 115], Operations: ['69+25=94', '70+45=115']
Exploring Operation: 115-94=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[69, 25, 70, 45], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [25, 45, 1]
Generated Node #0,0: 21:[25, 45, 1] Operation: 70-69=1
Exploring Operation: 69-45=24, Resulting Numbers: [25, 70, 24]
Generated Node #0,1: 21:[25, 70, 24] Operation: 69-45=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[25, 45, 1], Operations: ['70-69=1']
Exploring Operation: 45-25=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 21:[1, 20] Operation: 45-25=20
Exploring Operation: 25-1=24, Resulting Numbers: [45, 24]
Generated Node #0,0,1: 21:[45, 24] Operation: 25-1=24
Moving to Node #0,0,0
Current State: 21:[1, 20], Operations: ['70-69=1', '45-25=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[69, 25, 70, 45], Operations: []
Exploring Operation: 70-69=1, Resulting Numbers: [25, 45, 1]
Generated Node #0,0: 21:[25, 45, 1] Operation: 70-69=1
Moving to Node #0,0
Current State: 21:[25, 45, 1], Operations: ['70-69=1']
Exploring Operation: 45-25=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 21:[1, 20] Operation: 45-25=20
Moving to Node #0,0,0
Current State: 21:[1, 20], Operations: ['70-69=1', '45-25=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
52,
4,
55,
85
] | 88 | [
"52+55=107",
"107-85=22",
"4*22=88"
] | Current State: 88:[52, 4, 55, 85], Operations: []
Exploring Operation: 52+55=107, Resulting Numbers: [4, 85, 107]
Generated Node #2: [4, 85, 107] from Operation: 52+55=107
Current State: 88:[4, 85, 107], Operations: ['52+55=107']
Exploring Operation: 107-85=22, Resulting Numbers: [4, 22]
Generated Node #3: [4, 22] from Operation: 107-85=22
Current State: 88:[4, 22], Operations: ['52+55=107', '107-85=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[52, 4, 55, 85], Operations: []
Exploring Operation: 55-52=3, Resulting Numbers: [4, 85, 3]
Generated Node #0,0: 88:[4, 85, 3] Operation: 55-52=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[4, 85, 3], Operations: ['55-52=3']
Exploring Operation: 85+3=88, Resulting Numbers: [4, 88]
Generated Node #0,0,0: 88:[4, 88] Operation: 85+3=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[4, 88], Operations: ['55-52=3', '85+3=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,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_1 | mult_heuristic |
[
69,
51,
97,
1
] | 22 | [
"69+51=120",
"97+1=98",
"120-98=22"
] | Current State: 22:[69, 51, 97, 1], Operations: []
Exploring Operation: 69+51=120, Resulting Numbers: [97, 1, 120]
Generated Node #2: [97, 1, 120] from Operation: 69+51=120
Current State: 22:[97, 1, 120], Operations: ['69+51=120']
Exploring Operation: 97+1=98, Resulting Numbers: [120, 98]
Generated Node #3: [120, 98] from Operation: 97+1=98
Current State: 22:[120, 98], Operations: ['69+51=120', '97+1=98']
Exploring Operation: 120-98=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[69, 51, 97, 1], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [51, 1, 28]
Generated Node #0,0: 22:[51, 1, 28] Operation: 97-69=28
Exploring Operation: 69-51=18, Resulting Numbers: [97, 1, 18]
Generated Node #0,1: 22:[97, 1, 18] Operation: 69-51=18
Exploring Operation: 97-51=46, Resulting Numbers: [69, 1, 46]
Generated Node #0,2: 22:[69, 1, 46] Operation: 97-51=46
Moving to Node #0,0
Current State: 22:[51, 1, 28], Operations: ['97-69=28']
Exploring Operation: 51-1=50, Resulting Numbers: [28, 50]
Generated Node #0,0,0: 22:[28, 50] Operation: 51-1=50
Exploring Operation: 28-1=27, Resulting Numbers: [51, 27]
Generated Node #0,0,1: 22:[51, 27] Operation: 28-1=27
Exploring Operation: 51-28=23, Resulting Numbers: [1, 23]
Generated Node #0,0,2: 22:[1, 23] Operation: 51-28=23
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 22:[1, 23], Operations: ['97-69=28', '51-28=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[69, 51, 97, 1], Operations: []
Exploring Operation: 97-69=28, Resulting Numbers: [51, 1, 28]
Generated Node #0,0: 22:[51, 1, 28] Operation: 97-69=28
Moving to Node #0,0
Current State: 22:[51, 1, 28], Operations: ['97-69=28']
Exploring Operation: 51-28=23, Resulting Numbers: [1, 23]
Generated Node #0,0,2: 22:[1, 23] Operation: 51-28=23
Moving to Node #0,0,2
Current State: 22:[1, 23], Operations: ['97-69=28', '51-28=23']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
44,
38,
49,
58
] | 54 | [
"44-38=6",
"58-49=9",
"6*9=54"
] | Current State: 54:[44, 38, 49, 58], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [49, 58, 6]
Generated Node #2: [49, 58, 6] from Operation: 44-38=6
Current State: 54:[49, 58, 6], Operations: ['44-38=6']
Exploring Operation: 58-49=9, Resulting Numbers: [6, 9]
Generated Node #3: [6, 9] from Operation: 58-49=9
Current State: 54:[6, 9], Operations: ['44-38=6', '58-49=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[44, 38, 49, 58], Operations: []
Exploring Operation: 49-38=11, Resulting Numbers: [44, 58, 11]
Generated Node #0,0: 54:[44, 58, 11] Operation: 49-38=11
Exploring Operation: 44-38=6, Resulting Numbers: [49, 58, 6]
Generated Node #0,1: 54:[49, 58, 6] Operation: 44-38=6
Exploring Operation: 49-44=5, Resulting Numbers: [38, 58, 5]
Generated Node #0,2: 54:[38, 58, 5] Operation: 49-44=5
Moving to Node #0,1
Current State: 54:[49, 58, 6], Operations: ['44-38=6']
Exploring Operation: 58-49=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 54:[6, 9] Operation: 58-49=9
Exploring Operation: 58-6=52, Resulting Numbers: [49, 52]
Generated Node #0,1,1: 54:[49, 52] Operation: 58-6=52
Exploring Operation: 49+6=55, Resulting Numbers: [58, 55]
Generated Node #0,1,2: 54:[58, 55] Operation: 49+6=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 54:[6, 9], Operations: ['44-38=6', '58-49=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[44, 38, 49, 58], Operations: []
Exploring Operation: 44-38=6, Resulting Numbers: [49, 58, 6]
Generated Node #0,1: 54:[49, 58, 6] Operation: 44-38=6
Moving to Node #0,1
Current State: 54:[49, 58, 6], Operations: ['44-38=6']
Exploring Operation: 58-49=9, Resulting Numbers: [6, 9]
Generated Node #0,1,0: 54:[6, 9] Operation: 58-49=9
Moving to Node #0,1,0
Current State: 54:[6, 9], Operations: ['44-38=6', '58-49=9']
Exploring Operation: 6*9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
10,
70,
26,
61
] | 27 | [
"70-10=60",
"26+61=87",
"87-60=27"
] | Current State: 27:[10, 70, 26, 61], Operations: []
Exploring Operation: 70-10=60, Resulting Numbers: [26, 61, 60]
Generated Node #2: [26, 61, 60] from Operation: 70-10=60
Current State: 27:[26, 61, 60], Operations: ['70-10=60']
Exploring Operation: 26+61=87, Resulting Numbers: [60, 87]
Generated Node #3: [60, 87] from Operation: 26+61=87
Current State: 27:[60, 87], Operations: ['70-10=60', '26+61=87']
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[10, 70, 26, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [10, 26, 9]
Generated Node #0,0: 27:[10, 26, 9] Operation: 70-61=9
Exploring Operation: 70/10=7, Resulting Numbers: [26, 61, 7]
Generated Node #0,1: 27:[26, 61, 7] Operation: 70/10=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[10, 26, 9], Operations: ['70-61=9']
Exploring Operation: 26-10=16, Resulting Numbers: [9, 16]
Generated Node #0,0,0: 27:[9, 16] Operation: 26-10=16
Exploring Operation: 10-9=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 27:[26, 1] Operation: 10-9=1
Moving to Node #0,0,1
Current State: 27:[26, 1], Operations: ['70-61=9', '10-9=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,27 unequal: No Solution
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[10, 70, 26, 61], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [10, 26, 9]
Generated Node #0,0: 27:[10, 26, 9] Operation: 70-61=9
Moving to Node #0,0
Current State: 27:[10, 26, 9], Operations: ['70-61=9']
Exploring Operation: 10-9=1, Resulting Numbers: [26, 1]
Generated Node #0,0,1: 27:[26, 1] Operation: 10-9=1
Moving to Node #0,0,1
Current State: 27:[26, 1], Operations: ['70-61=9', '10-9=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
98,
25,
21,
27
] | 28 | [
"27-25=2",
"98/2=49",
"49-21=28"
] | Current State: 28:[98, 25, 21, 27], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [98, 21, 2]
Generated Node #2: [98, 21, 2] from Operation: 27-25=2
Current State: 28:[98, 21, 2], Operations: ['27-25=2']
Exploring Operation: 98/2=49, Resulting Numbers: [21, 49]
Generated Node #3: [21, 49] from Operation: 98/2=49
Current State: 28:[21, 49], Operations: ['27-25=2', '98/2=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[98, 25, 21, 27], Operations: []
Exploring Operation: 98-21=77, Resulting Numbers: [25, 27, 77]
Generated Node #0,0: 28:[25, 27, 77] Operation: 98-21=77
Exploring Operation: 98-25=73, Resulting Numbers: [21, 27, 73]
Generated Node #0,1: 28:[21, 27, 73] Operation: 98-25=73
Exploring Operation: 98-27=71, Resulting Numbers: [25, 21, 71]
Generated Node #0,2: 28:[25, 21, 71] Operation: 98-27=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[25, 27, 77], Operations: ['98-21=77']
Exploring Operation: 27-25=2, Resulting Numbers: [77, 2]
Generated Node #0,0,0: 28:[77, 2] Operation: 27-25=2
Exploring Operation: 77-25=52, Resulting Numbers: [27, 52]
Generated Node #0,0,1: 28:[27, 52] Operation: 77-25=52
Exploring Operation: 77-27=50, Resulting Numbers: [25, 50]
Generated Node #0,0,2: 28:[25, 50] Operation: 77-27=50
Moving to Node #0,0,1
Current State: 28:[27, 52], Operations: ['98-21=77', '77-25=52']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,28 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[25, 50], Operations: ['98-21=77', '77-27=50']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[77, 2], Operations: ['98-21=77', '27-25=2']
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,28 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[21, 27, 73], Operations: ['98-25=73']
Exploring Operation: 73-21=52, Resulting Numbers: [27, 52]
Generated Node #0,1,0: 28:[27, 52] Operation: 73-21=52
Exploring Operation: 27-21=6, Resulting Numbers: [73, 6]
Generated Node #0,1,1: 28:[73, 6] Operation: 27-21=6
Exploring Operation: 73-27=46, Resulting Numbers: [21, 46]
Generated Node #0,1,2: 28:[21, 46] Operation: 73-27=46
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 28:[27, 52], Operations: ['98-25=73', '73-21=52']
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,28 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,28 unequal: No Solution
No 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: 28:[21, 46], Operations: ['98-25=73', '73-27=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,28 unequal: No Solution
No 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: 28:[73, 6], Operations: ['98-25=73', '27-21=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,28 unequal: No Solution
Exploring Operation: 73*6=438, Resulting Numbers: [438]
438,28 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: 28:[25, 21, 71], Operations: ['98-27=71']
Exploring Operation: 71-25=46, Resulting Numbers: [21, 46]
Generated Node #0,2,0: 28:[21, 46] Operation: 71-25=46
Exploring Operation: 71-21=50, Resulting Numbers: [25, 50]
Generated Node #0,2,1: 28:[25, 50] Operation: 71-21=50
Exploring Operation: 25-21=4, Resulting Numbers: [71, 4]
Generated Node #0,2,2: 28:[71, 4] Operation: 25-21=4
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 28:[21, 46], Operations: ['98-27=71', '71-25=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,28 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,28 unequal: No Solution
No 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: 28:[25, 50], Operations: ['98-27=71', '71-21=50']
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 25+50=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,28 unequal: No Solution
No 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: 28:[71, 4], Operations: ['98-27=71', '25-21=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,28 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,28 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,28 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 |
[
12,
80,
50,
7
] | 49 | [
"12+80=92",
"50-7=43",
"92-43=49"
] | Current State: 49:[12, 80, 50, 7], Operations: []
Exploring Operation: 12+80=92, Resulting Numbers: [50, 7, 92]
Generated Node #2: [50, 7, 92] from Operation: 12+80=92
Current State: 49:[50, 7, 92], Operations: ['12+80=92']
Exploring Operation: 50-7=43, Resulting Numbers: [92, 43]
Generated Node #3: [92, 43] from Operation: 50-7=43
Current State: 49:[92, 43], Operations: ['12+80=92', '50-7=43']
Exploring Operation: 92-43=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[12, 80, 50, 7], Operations: []
Exploring Operation: 50-12=38, Resulting Numbers: [80, 7, 38]
Generated Node #0,0: 49:[80, 7, 38] Operation: 50-12=38
Exploring Operation: 80-50=30, Resulting Numbers: [12, 7, 30]
Generated Node #0,1: 49:[12, 7, 30] Operation: 80-50=30
Exploring Operation: 80-12=68, Resulting Numbers: [50, 7, 68]
Generated Node #0,2: 49:[50, 7, 68] Operation: 80-12=68
Exploring Operation: 12-7=5, Resulting Numbers: [80, 50, 5]
Generated Node #0,3: 49:[80, 50, 5] Operation: 12-7=5
Exploring Operation: 80-7=73, Resulting Numbers: [12, 50, 73]
Generated Node #0,4: 49:[12, 50, 73] Operation: 80-7=73
Moving to Node #0,2
Current State: 49:[50, 7, 68], Operations: ['80-12=68']
Exploring Operation: 50-7=43, Resulting Numbers: [68, 43]
Generated Node #0,2,0: 49:[68, 43] Operation: 50-7=43
Exploring Operation: 50+7=57, Resulting Numbers: [68, 57]
Generated Node #0,2,1: 49:[68, 57] Operation: 50+7=57
Exploring Operation: 7+68=75, Resulting Numbers: [50, 75]
Generated Node #0,2,2: 49:[50, 75] Operation: 7+68=75
Exploring Operation: 68-50=18, Resulting Numbers: [7, 18]
Generated Node #0,2,3: 49:[7, 18] Operation: 68-50=18
Exploring Operation: 68-7=61, Resulting Numbers: [50, 61]
Generated Node #0,2,4: 49:[50, 61] Operation: 68-7=61
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[7, 18], Operations: ['80-12=68', '68-50=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,49 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 49:[50, 61], Operations: ['80-12=68', '68-7=61']
Exploring Operation: 50*61=3050, Resulting Numbers: [3050]
3050,49 unequal: No Solution
Exploring Operation: 50+61=111, Resulting Numbers: [111]
111,49 unequal: No Solution
Exploring Operation: 61-50=11, Resulting Numbers: [11]
11,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[68, 43], Operations: ['80-12=68', '50-7=43']
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,49 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[68, 57], Operations: ['80-12=68', '50+7=57']
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,49 unequal: No Solution
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[50, 75], Operations: ['80-12=68', '7+68=75']
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,49 unequal: No Solution
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,49 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: 49:[12, 7, 30], Operations: ['80-50=30']
Exploring Operation: 12+30=42, Resulting Numbers: [7, 42]
Generated Node #0,1,0: 49:[7, 42] Operation: 12+30=42
Exploring Operation: 7+30=37, Resulting Numbers: [12, 37]
Generated Node #0,1,1: 49:[12, 37] Operation: 7+30=37
Exploring Operation: 30-12=18, Resulting Numbers: [7, 18]
Generated Node #0,1,2: 49:[7, 18] Operation: 30-12=18
Exploring Operation: 12-7=5, Resulting Numbers: [30, 5]
Generated Node #0,1,3: 49:[30, 5] Operation: 12-7=5
Exploring Operation: 30-7=23, Resulting Numbers: [12, 23]
Generated Node #0,1,4: 49:[12, 23] Operation: 30-7=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[7, 42], Operations: ['80-50=30', '12+30=42']
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,49 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,49 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[12, 80, 50, 7], Operations: []
Exploring Operation: 80-50=30, Resulting Numbers: [12, 7, 30]
Generated Node #0,1: 49:[12, 7, 30] Operation: 80-50=30
Moving to Node #0,1
Current State: 49:[12, 7, 30], Operations: ['80-50=30']
Exploring Operation: 12+30=42, Resulting Numbers: [7, 42]
Generated Node #0,1,0: 49:[7, 42] Operation: 12+30=42
Moving to Node #0,1,0
Current State: 49:[7, 42], Operations: ['80-50=30', '12+30=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
30,
64,
65,
54
] | 84 | [
"30+54=84",
"65-64=1",
"84*1=84"
] | Current State: 84:[30, 64, 65, 54], Operations: []
Exploring Operation: 30+54=84, Resulting Numbers: [64, 65, 84]
Generated Node #2: [64, 65, 84] from Operation: 30+54=84
Current State: 84:[64, 65, 84], Operations: ['30+54=84']
Exploring Operation: 65-64=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 65-64=1
Current State: 84:[84, 1], Operations: ['30+54=84', '65-64=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[30, 64, 65, 54], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [30, 54, 1]
Generated Node #0,0: 84:[30, 54, 1] Operation: 65-64=1
Exploring Operation: 64-54=10, Resulting Numbers: [30, 65, 10]
Generated Node #0,1: 84:[30, 65, 10] Operation: 64-54=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[30, 54, 1], Operations: ['65-64=1']
Exploring Operation: 54-30=24, Resulting Numbers: [1, 24]
Generated Node #0,0,0: 84:[1, 24] Operation: 54-30=24
Exploring Operation: 30+54=84, Resulting Numbers: [1, 84]
Generated Node #0,0,1: 84:[1, 84] Operation: 30+54=84
Moving to Node #0,0,1
Current State: 84:[1, 84], Operations: ['65-64=1', '30+54=84']
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[30, 64, 65, 54], Operations: []
Exploring Operation: 65-64=1, Resulting Numbers: [30, 54, 1]
Generated Node #0,0: 84:[30, 54, 1] Operation: 65-64=1
Moving to Node #0,0
Current State: 84:[30, 54, 1], Operations: ['65-64=1']
Exploring Operation: 30+54=84, Resulting Numbers: [1, 84]
Generated Node #0,0,1: 84:[1, 84] Operation: 30+54=84
Moving to Node #0,0,1
Current State: 84:[1, 84], Operations: ['65-64=1', '30+54=84']
Exploring Operation: 84/1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
14,
3,
44,
64
] | 91 | [
"14+3=17",
"44+64=108",
"108-17=91"
] | Current State: 91:[14, 3, 44, 64], Operations: []
Exploring Operation: 14+3=17, Resulting Numbers: [44, 64, 17]
Generated Node #2: [44, 64, 17] from Operation: 14+3=17
Current State: 91:[44, 64, 17], Operations: ['14+3=17']
Exploring Operation: 44+64=108, Resulting Numbers: [17, 108]
Generated Node #3: [17, 108] from Operation: 44+64=108
Current State: 91:[17, 108], Operations: ['14+3=17', '44+64=108']
Exploring Operation: 108-17=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[14, 3, 44, 64], Operations: []
Exploring Operation: 64-44=20, Resulting Numbers: [14, 3, 20]
Generated Node #0,0: 91:[14, 3, 20] Operation: 64-44=20
Exploring Operation: 44+64=108, Resulting Numbers: [14, 3, 108]
Generated Node #0,1: 91:[14, 3, 108] Operation: 44+64=108
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[14, 3, 20], Operations: ['64-44=20']
Exploring Operation: 20-14=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 91:[3, 6] Operation: 20-14=6
Exploring Operation: 20-3=17, Resulting Numbers: [14, 17]
Generated Node #0,0,1: 91:[14, 17] Operation: 20-3=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[3, 6], Operations: ['64-44=20', '20-14=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,91 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 91:[14, 17], Operations: ['64-44=20', '20-3=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,91 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[14, 3, 108], Operations: ['44+64=108']
Exploring Operation: 108-3=105, Resulting Numbers: [14, 105]
Generated Node #0,1,0: 91:[14, 105] Operation: 108-3=105
Exploring Operation: 108-14=94, Resulting Numbers: [3, 94]
Generated Node #0,1,1: 91:[3, 94] Operation: 108-14=94
Moving to Node #0,1,1
Current State: 91:[3, 94], Operations: ['44+64=108', '108-14=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[14, 3, 44, 64], Operations: []
Exploring Operation: 44+64=108, Resulting Numbers: [14, 3, 108]
Generated Node #0,1: 91:[14, 3, 108] Operation: 44+64=108
Moving to Node #0,1
Current State: 91:[14, 3, 108], Operations: ['44+64=108']
Exploring Operation: 108-14=94, Resulting Numbers: [3, 94]
Generated Node #0,1,1: 91:[3, 94] Operation: 108-14=94
Moving to Node #0,1,1
Current State: 91:[3, 94], Operations: ['44+64=108', '108-14=94']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
60,
68,
57,
2
] | 51 | [
"68-60=8",
"57+2=59",
"59-8=51"
] | Current State: 51:[60, 68, 57, 2], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [57, 2, 8]
Generated Node #2: [57, 2, 8] from Operation: 68-60=8
Current State: 51:[57, 2, 8], Operations: ['68-60=8']
Exploring Operation: 57+2=59, Resulting Numbers: [8, 59]
Generated Node #3: [8, 59] from Operation: 57+2=59
Current State: 51:[8, 59], Operations: ['68-60=8', '57+2=59']
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[60, 68, 57, 2], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [57, 2, 8]
Generated Node #0,0: 51:[57, 2, 8] Operation: 68-60=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[57, 2, 8], Operations: ['68-60=8']
Exploring Operation: 57-8=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 51:[2, 49] Operation: 57-8=49
Moving to Node #0,0,0
Current State: 51:[2, 49], Operations: ['68-60=8', '57-8=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[60, 68, 57, 2], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [57, 2, 8]
Generated Node #0,0: 51:[57, 2, 8] Operation: 68-60=8
Moving to Node #0,0
Current State: 51:[57, 2, 8], Operations: ['68-60=8']
Exploring Operation: 57-8=49, Resulting Numbers: [2, 49]
Generated Node #0,0,0: 51:[2, 49] Operation: 57-8=49
Moving to Node #0,0,0
Current State: 51:[2, 49], Operations: ['68-60=8', '57-8=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.